1 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3 * intl/tst-gettext2.sh: Check every lang file for creation.
5 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7 * sysdeps/aarch64/fpu/math_private.h
8 (libc_feholdsetround_noex_aarch64_ctx): New function.
10 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12 * sysdeps/arm/armv6/strcpy.S (strcpy):
13 Fix performance issue in misaligned cases.
15 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
18 Move definition from termios.h.
19 (struct termio): Likewise.
20 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26 Move definition to ioctl-types.h
27 (struct termio): Likewise.
28 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
34 2014-08-05 Richard Henderson <rth@redhat.com>
36 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
42 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43 Protect libm symbols with IS_IN_libm.
45 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
47 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
49 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
51 2014-08-04 Will Newton <will.newton@linaro.org>
53 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
56 2014-08-04 Mike Frysinger <vapier@gentoo.org>
58 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
59 variants for each function.
61 2014-08-04 Roland McGrath <roland@hack.frob.com>
63 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
65 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
66 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
68 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
69 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
70 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
71 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
72 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
73 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
74 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
75 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
76 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
77 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
78 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
79 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
80 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
81 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
83 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
84 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
85 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
87 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
89 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
91 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
93 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
95 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
97 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
99 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
101 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
102 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
103 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
104 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
105 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
106 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
107 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
108 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
110 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
112 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
114 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
115 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
116 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
117 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
118 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
119 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
120 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
122 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
123 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
125 2014-08-04 Roland McGrath <roland@hack.frob.com>
127 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
128 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
129 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
130 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
131 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
132 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
134 2014-08-04 Roland McGrath <roland@hack.frob.com>
136 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
137 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
138 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
139 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
141 2014-08-04 Roland McGrath <roland@hack.frob.com>
143 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
144 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
145 (__libc_vfork): Define function under this name.
146 (__vfork): Define as an alias.
147 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
148 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
150 2014-08-04 Roland McGrath <roland@hack.frob.com>
152 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
153 that was previously under [RESET_PID].
154 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
156 2014-08-04 Andreas Schwab <schwab@suse.de>
158 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
160 2014-08-03 Mike Frysinger <vapier@gentoo.org>
162 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
165 2014-08-01 Roland McGrath <roland@hack.frob.com>
167 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
169 2014-08-01 Richard Henderon <rth@redhat.com>
171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
172 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
173 typo in exact zero test.
174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
175 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
178 2014-08-01 Roland McGrath <roland@hack.frob.com>
180 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
181 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
182 * sysdeps/arm/sysdep.h: ... here.
183 [!__ASSEMBLER__]: Include <stdint.h>.
185 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
187 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
188 (HAVE_WCTYPE_H): Likewise.
189 (HAVE_ISWCTYPE): Likewise.
190 (ENABLE_NLS): Likewise.
191 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
192 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
194 * posix/regex_internal.c: Check if DEBUG is defined and is
197 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
198 (HAVE_MBSRTOWCS): Likewise.
199 * posix/fnmatch.c: Include string.h unconditionally.
201 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
203 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
206 2014-07-31 Roland McGrath <roland@hack.frob.com>
208 * sysdeps/generic/safe-fatal.h: New file.
209 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
210 * nptl/forward.c: Include it.
211 (__pthread_unwind): Use __safe_fatal as default action, rather
212 than a bogus use of INTERNAL_SYSCALL that could never work.
214 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
215 * configure.ac (libc_cv_builtin_trap): New test.
216 * configure: Regenerated.
217 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
218 (ABORT_INSTRUCTION): Define using __builtin_trap.
220 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
221 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
222 * sysdeps/nptl/nptl-signals.h: New file.
223 * nptl/pthreadP.h: Include <nptl-signals.h>.
225 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
227 * sysdeps/s390/s390-64/utf16-utf32-z9.c
228 (ONE_DIRECTION): Define.
229 * sysdeps/s390/s390-64/utf8-utf16-z9.c
230 (ONE_DIRECTION): Define.
231 * sysdeps/s390/s390-64/utf8-utf32-z9.c
232 (ONE_DIRECTION): Define.
234 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
236 * sysdeps/s390/Makefile: Delete file.
237 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
238 * sysdeps/s390/__longjmp.c: Delete file.
239 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
240 Remove fields __flags and __reserved.
241 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
243 * sysdeps/s390/rtld-__longjmp.c: Delete file.
244 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
245 * sysdeps/s390/rtld-setjmp.S: Likewise.
246 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
247 * sysdeps/s390/s390-32/__longjmp.c: ... here.
248 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
249 * sysdeps/s390/s390-32/setjmp.S: ... here.
251 (__sigsetjmp): Remove setting __flags field.
252 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
253 * sysdeps/s390/s390-64/__longjmp.c: ... here.
254 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
255 * sysdeps/s390/s390-64/setjmp.S: ... here.
257 (__sigsetjmp): Remove setting __flags field.
258 * sysdeps/s390/setjmp.S: Delete file.
259 * sysdeps/s390/sigjmp.c: Likewise.
260 * sysdeps/s390/v1-longjmp.c: Likewise.
261 * sysdeps/s390/v1-setjmp.h: Likewise.
262 * sysdeps/s390/v1-sigjmp.c: Likewise.
263 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
264 Remove v1-longjmp_chk.
265 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
266 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
267 Include debug/longjmp_chk.c and add versioning.
268 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
269 Include nptl/pt-longjmp.c and add versioning.
270 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
271 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
273 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
275 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
276 (__getcontext): Remove setting __flags field.
278 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
279 Don't restore upper high grps.
280 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
282 (__swapcontext): Remove setting uc_flags field.
283 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
285 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
287 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
289 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
290 (__getcontext): Remove setting __flags field.
292 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
293 (__swapcontext): Remove setting uc_flags field.
294 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
295 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
296 Remove fields uc_high_gprs and __reserved.
297 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
298 New file with reverted content.
299 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
300 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
302 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
305 2014-07-31 Andreas Schwab <schwab@suse.de>
307 * config.h.in (HAVE_IFUNC): Define to 0.
308 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
311 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
314 memmove-avx-unaligned, memcpy-avx-unaligned and
315 mempcpy-avx-unaligned.
316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
317 Add tests for AVX memcpy functions.
318 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
319 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
321 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
322 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
324 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
325 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
327 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
328 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
329 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
331 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
334 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
337 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
340 * manual/llio.texi: Add section about open file description locks.
341 * manual/examples/ofdlocks.c: Example of open file description
343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
344 F_OFD_SETLK, and F_OFD_SETLKW.
346 2014-07-23 Allan McRae <allan@archlinux.org>
348 * po/es.po: Update Spanish translation from translation project.
350 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
352 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
354 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
357 * sysdeps/arm/dl-machine.h (elf_machine_rela)
358 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
359 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
361 2014-07-17 Joseph Myers <joseph@codesourcery.com>
364 * math/fesetenv.c (__fesetenv)
365 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
366 * math/feupdateenv.c (__feupdateenv)
367 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
369 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
370 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
371 (__ASSUME_SOCKETCALL): Do not define.
373 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
374 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
375 (__ASSUME_SOCKETCALL): Do not define.
376 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
377 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
378 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
379 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
380 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
381 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
382 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
383 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
385 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
386 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
387 (__ASSUME_SOCKETCALL): Do not define.
388 (__ASSUME_IPC64): Define unconditionally.
389 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
390 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
391 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
392 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
393 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
394 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
395 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
398 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
399 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
400 (__ASSUME_SOCKETCALL): Do not define.
401 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
402 (__ASSUME_FUTEX_LOCK_PI): Likewise.
403 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
404 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
405 (__ASSUME_REQUEUE_PI): Define unconditionally.
406 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
407 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
408 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
409 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
410 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
411 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
413 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
414 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
415 (__ASSUME_SOCKETCALL): Do not define.
416 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
417 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
418 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
419 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
420 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
421 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
423 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
424 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
425 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
426 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
427 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
428 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
429 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
430 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
431 (__ASSUME_GETCPU_SYSCALL): Likewise.
433 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
434 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
435 cases for individual architectures.
436 * sysdeps/gnu/configure: Regenerated.
437 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
438 LIBC_SLIBDIR_RTLDDIR.
439 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
440 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
441 LIBC_SLIBDIR_RTLDDIR.
442 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
444 LIBC_SLIBDIR_RTLDDIR.
445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
447 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
448 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
450 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
451 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
453 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
454 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
455 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
456 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
458 * sysdeps/aarch64/shlib-versions: Move to ...
459 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
460 * sysdeps/alpha/shlib-versions: Move to ...
461 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
462 * sysdeps/arm/shlib-versions: Move to ...
463 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
464 * sysdeps/hppa/shlib-versions: Move all contents except for
465 libgcc_s entry to ...
466 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
468 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
469 * sysdeps/ia64/shlib-versions: Move to ...
470 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
472 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
473 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
474 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
475 * sysdeps/microblaze/shlib-versions: Move to ...
476 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
477 * sysdeps/mips/shlib-versions: Move to ...
478 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
480 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
481 * sysdeps/tile/shlib-versions: Move to ...
482 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
483 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
485 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
486 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
488 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
490 2014-07-17 Will Newton <will.newton@linaro.org>
492 * sysdeps/arm/bits/atomic.h
493 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
494 (__arch_compare_and_exchange_bool_16_int): Likewise.
495 (__arch_compare_and_exchange_bool_64_int): Likewise.
497 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
500 2014-07-16 Roland McGrath <roland@hack.frob.com>
502 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
503 just Linux configurations. Test empirically that the compiler sets
504 __ARM_EABI__, rather than using the tuple to decide.
505 * sysdeps/arm/preconfigure: Regenerated.
506 * sysdeps/unix/sysv/linux/arm/configure: File removed.
507 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
508 contents appended ...
509 * sysdeps/arm/configure.ac: ... here.
510 * sysdeps/arm/configure: Regenerated.
512 2014-07-15 Roland McGrath <roland@hack.frob.com>
514 * nptl/pthread_kill.c: New file.
515 * nptl/pthread_sigmask.c: New file.
516 * nptl/pthread_sigqueue.c: New file.
518 * sysdeps/nptl/lowlevellock.h: New file.
519 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
520 * sysdeps/nptl/lowlevellock-futex.h: New file.
522 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
523 Remove dead declarations.
525 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
527 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
528 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
530 * sysdeps/x86_64/configure.ac: Likewise.
531 * sysdeps/i386/configure: Regenerated.
532 * sysdeps/x86_64/configure: Likewise.
533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
534 memset-avx2 only if config-cflags-avx2 is yes.
535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
536 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
538 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
539 only if HAVE_AVX2_SUPPORT is defined.
540 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
542 2014-07-14 Alan Modra <amodra@gmail.com>
545 * elf/elf.h (DT_PPC64_NUM): Correct value.
546 * NEWS: Add to fixed bug list.
548 2014-07-13 Jim Meyering <meyering@fb.com>
551 regex: don't deref NULL upon heap allocation failure
552 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
553 failure in one more place.
554 To trigger the segfault, configure grep -with-included-regex,
555 build it, and run these commands:
556 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
558 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
560 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
562 2014-07-11 Richard Henderson <rth@redhat.com>
564 * sysdeps/aarch64/libm-test-ulps: Update.
566 2014-07-10 Florian Weimer <fweimer@redhat.com>
569 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
570 * nptl/allocatestack.c (__nptl_setxid_error): New function.
571 (__nptl_setxid): Initialize error member. Call
573 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
574 * nptl/descr.h (struct xid_command): Add error member.
575 * nptl/tst-setuid3.c: New file.
576 * nptl/Makefile (tests): Add it.
578 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
580 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
582 (__lll_trylock): Use __lll_base_trylock.
583 (__lll_cond_trylock): Likewise.
585 2014-07-10 Roland McGrath <roland@hack.frob.com>
587 * nptl/pthread_create.c (start_thread): Use atomic_or and
588 lll_futex_wake directly rather than lll_robust_dead.
589 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
590 (lll_robust_dead): Macro removed.
591 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
592 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
593 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
596 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
597 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
599 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
600 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
601 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
603 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
607 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
608 Use atomic_compare_and_exchange_val_acq directly rather than
610 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
611 (__lll_robust_trylock, lll_robust_trylock): Removed.
612 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
613 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
614 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
615 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
616 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
617 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
618 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
619 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
620 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
621 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
622 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
623 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
624 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
625 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
627 2014-07-02 Florian Weimer <fweimer@redhat.com>
629 * manual/locale.texi (Locale Names): New section documenting
630 locale name syntax. Adjust menu and node chaining accordingly.
631 (Choosing Locale): Reference Locale Names, Locale Categories.
632 Mention setting LC_ALL=C. Reflect that name syntax is now
634 (Locale Categories): New section title. Reference Locale Names.
635 LC_ALL is an environment variable, but not a category.
636 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
637 description, now in Locale Name. Reference that section. Locale
638 name syntax is now documented.
640 2014-07-02 Florian Weimer <fweimer@redhat.com>
643 * locale/findlocale.c (name_present, valid_locale_name): New
645 (_nl_find_locale): Use the loc_name variable to store name
646 candidates. Call name_present and valid_locale_name to check and
647 validate locale names. Return an error if the locale is invalid.
649 2014-07-02 Florian Weimer <fweimer@redhat.com>
651 * locale/setlocale.c (setlocale): Use strdup for allocating
654 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
657 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
658 [!_LIBC && ENABLE_NLS]: Include gettext.h.
659 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
661 [USE_UNLOCKED_IO]: Include unlocked-io.h.
662 [!_LIBC]: Include code for Windows and Cygwin.
663 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
664 Include prototype for int strerror_r.
665 [!_LIBC] (is_open): New function.
666 (flush_stdout): New function.
667 (print_errno_message): Use it.
669 (error_at_line): Likewise.
670 (error_tail) Add function attribute macros. Use
673 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
675 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
677 * io/ftw.c: Include sys/param.h unconditionally.
679 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
682 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
684 (freecache): New function to free CACHE on exit.
686 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
689 2014-07-09 David S. Miller <davem@davemloft.net>
691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
693 * sysdeps/sparc/nptl/internaltypes.h: Delete.
694 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
695 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
696 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
697 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
698 * sysdeps/sparc/nptl/sem_init.c: Likewise.
699 * sysdeps/sparc/nptl/sem_post.c: Likewise.
700 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
701 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
702 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
703 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
704 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
705 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
707 2014-07-09 Andreas Schwab <schwab@suse.de>
709 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
711 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
714 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
716 2014-07-09 Will Newton <will.newton@linaro.org>
718 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
719 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
720 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
721 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
722 * sysdeps/hppa/start.S (_start): Likewise.
724 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
726 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
728 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
731 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
733 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
734 after checking that it is non-NULL.
736 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
738 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
740 * sysdeps/powerpc/memmove.c: Remove file.
741 * sysdeps/powerpc/powerpc32/power4/memcopy.h
742 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
743 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
744 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
745 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
746 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
747 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
748 string memmove instead of removed powerpc one.
750 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
751 [weak_alias]: Fix compiler warning due trailing data.
752 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
753 [weak_alias]: Likewise.
754 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
755 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
758 (__libc_ifunc_impl_list): Add memmove functions.
760 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
762 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
764 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
766 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
768 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
770 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
772 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
774 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
776 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
778 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
780 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
782 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
784 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
786 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
788 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
790 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
792 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
794 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
797 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
800 to avoid alignment traps in non-cacheable memory.
801 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
805 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
806 file: multiarch power7 memmove.
807 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
808 multiarch default memmove.
809 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
810 multiarch memove for powerpc32/power4.
812 * string/bcopy.c: Use full path to include memmove.c.
813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
815 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
817 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
820 and memmove implementations.
821 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
822 optimized multiarch memmove for POWER7/powerpc64.
823 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
824 default multiarch memmove for powerpc64.
825 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
826 multiarch for powerpc64.
827 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
828 for POWER7/powerpc64.
829 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
830 memmove for POWER7/powerpc64.
832 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
835 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
836 __ELF_NATIVE_CLASS equal to 64.
838 2014-07-07 Roland McGrath <roland@hack.frob.com>
840 * sysdeps/nptl/lowlevellock.h: File removed.
842 * NEWS: NPTL is no longer an add-on!
843 * nptl/internaltypes.h: Moved ...
844 * sysdeps/nptl/internaltypes.h: ... here.
845 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
846 * sysdeps/nptl/fork.c: Likewise.
847 * sysdeps/nptl/gai_misc.h: Likewise.
848 * sysdeps/nptl/librt-cancellation.c: Likewise.
849 * sysdeps/nptl/jmp-unwind.c: Likewise.
850 * sysdeps/nptl/setxid.h: Likewise.
851 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
852 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
853 * sysdeps/unix/sysv/linux/arm/Implies: New file.
854 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
855 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
856 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
857 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
858 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
859 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
860 * sysdeps/unix/sysv/linux/mips/Implies: New file.
861 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
862 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
863 * sysdeps/unix/sysv/linux/sh/Implies: New file.
864 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
865 * sysdeps/unix/sysv/linux/tile/Implies: New file.
866 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
867 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
868 * nptl/Makeconfig: Moved ...
869 * sysdeps/nptl/Makeconfig: ... here.
870 * nptl/configure: File removed.
871 * nptl/ANNOUNCE: File removed.
872 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
873 * sysdeps/unix/sysv/linux/configure: Regenerated.
875 * nptl/Makefile (routines): Add libc_pthread_init,
876 libc_multiple_threads, register-atfork and unregister-atfork.
877 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
878 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
879 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
880 pthread-pi-defines.sym, structsem.sym.
881 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
882 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
883 [$(subdir) = nptl] (tests): Add tst-setgetname.
884 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
885 * sysdeps/unix/sysv/linux/sigaction.c: Just include
886 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
887 [!LIBC_SIGACTION]: Remove aliases.
888 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
889 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
890 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
891 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
892 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
893 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
894 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
896 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
897 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
898 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
899 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
900 __libc_allocate_rtsig_private.
901 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
902 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
903 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
904 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
905 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
906 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
907 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
908 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
909 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
910 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
911 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
912 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
913 * nptl/internaltypes.h: ... here.
914 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
915 * sysdeps/nptl/jmp-unwind.c: ... here.
916 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
917 * nptl/libc-lowlevellock.c: ... here.
918 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
919 * nptl/libc_multiple_threads.c: ... here.
920 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
921 * nptl/libc_pthread_init.c: ... here.
922 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
923 * nptl/lowlevelbarrier.sym: ... here.
924 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
925 * nptl/lowlevelcond.sym: ... here.
926 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
927 * nptl/lowlevellock.c: ... here.
928 * nptl/lowlevellock.h: Moved ...
929 * sysdeps/nptl/lowlevellock.h: ... here.
930 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
931 * nptl/lowlevelrobustlock.c: ... here.
932 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
933 * nptl/lowlevelrobustlock.sym: ... here.
934 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
935 * nptl/lowlevelrwlock.sym: ... here.
936 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
937 * nptl/pt-fork.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
939 * nptl/pthread-pi-defines.sym: ... here.
940 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
941 * nptl/pthread_attr_getaffinity.c: ... here.
942 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
943 * nptl/pthread_attr_setaffinity.c: ... here.
944 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
945 * nptl/pthread_mutex_cond_lock.c: ... here.
946 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
948 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
949 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
950 * nptl/pthread_once.c: ... here, replacing old file.
951 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
952 * nptl/pthread_yield.c: ... here.
953 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
954 * nptl/register-atfork.c: ... here.
955 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
956 * nptl/sem_post.c: ... here.
957 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
958 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
959 * nptl/sem_timedwait.c: ... here.
960 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
961 * nptl/sem_trywait.c: ... here.
962 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
963 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
964 * nptl/sem_wait.c: ... here.
965 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
966 * nptl/structsem.sym: ... here.
967 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
968 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
969 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
970 * nptl/unregister-atfork.c: ... here.
971 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
972 * nptl/unwindbuf.sym: ... here.
973 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
974 * sysdeps/nptl/fork.c: ... here.
975 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
976 * sysdeps/nptl/fork.h: ... here.
977 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
978 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
979 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
980 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
981 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
982 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
983 * sysdeps/unix/sysv/linux/getpid.c: ... here.
984 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
985 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
986 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
987 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
988 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
989 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
990 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
991 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
992 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
993 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
994 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
995 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
996 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
997 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
998 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
999 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1000 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1001 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1002 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1003 * sysdeps/unix/sysv/linux/raise.c: ... here.
1004 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1005 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1006 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1007 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1008 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1009 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1011 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1012 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1013 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1014 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1015 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1016 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1017 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1018 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1020 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1022 * sysdeps/generic/memcopy.h: Add comment for
1023 MEMCPY_OK_FOR_FWD_MEMMOVE.
1025 2014-07-04 Will Newton <will.newton@linaro.org>
1027 * string/memchr.c: Merge from gnulib.
1028 [_LIBC]: Remove conditionals.
1029 (__ptr_t): Remove define.
1030 (LONG_MAX_32_BITS): Likewise.
1031 (LONG_MAX): Likewise.
1032 (MEMCHR): Use ANSI prototype and optimize algorithm.
1034 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1036 2014-07-03 Roland McGrath <roland@hack.frob.com>
1038 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1039 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1041 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1042 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1043 in a bare environment with no <stdlib.h> installed.
1044 * sysdeps/nptl/configure: Regenerated.
1046 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1048 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1049 AC_EGREP_CPP for kernel header checks, so they only succeed if
1050 including <linux/version.h> actually works right.
1051 * sysdeps/unix/sysv/linux/configure: Regenerated.
1053 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1054 value so it's not diagnosed as unused.
1056 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1057 thing) with "ifeq ($(subdir),rt)".
1059 2014-07-03 Richard Henderson <rth@redhat.com>
1061 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1062 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1063 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1065 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1066 (math_force_eval): New.
1068 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1069 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1071 * sysdeps/alpha/fpu/s_round.c: Remove file.
1072 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1074 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1075 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1076 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1077 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1078 (_dl_start, print_statistics): Likewise.
1079 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1080 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1082 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1083 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1084 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1085 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1086 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1087 (HP_SMALL_TIMING_AVAIL): Define.
1088 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1089 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1090 (HP_SMALL_TIMING_AVAIL): Define.
1091 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1092 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1094 * sysdeps/aarch64/hp-timing.h: New file.
1096 * sysdeps/generic/hp-timing.h: Remove dead comment.
1097 * sysdeps/generic/hp-timing-common.h: New file.
1098 * sysdeps/alpha/hp-timing.h: Include it.
1099 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1100 * sysdeps/i386/i686/hp-timing.h: Likewise.
1101 * sysdeps/ia64/hp-timing.h: Likewise.
1102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1103 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1104 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1105 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1106 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1107 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1110 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1111 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1112 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1113 * elf/rtld.c (_dl_start_final): Likewise.
1114 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1115 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1116 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1117 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1118 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1119 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1120 (HP_TIMING_DIFF_INIT): Remove.
1121 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1123 (HP_TIMING_DIFF_INIT): Remove.
1124 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1125 * sysdeps/i386/i686/hp-timing.c: Remove file.
1126 * sysdeps/x86_64/hp-timing.c: Remove file.
1127 * sysdeps/ia64/hp-timing.c: Remove file.
1128 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1129 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1131 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1133 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1134 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1135 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1136 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1138 (HP_TIMING_ACCUM): Remove.
1139 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1141 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1143 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1144 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1145 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1146 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1147 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1148 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1149 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1150 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1152 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1154 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1156 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1158 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1160 Sync up with gettext.
1161 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1162 [_MSC_VER]: Include malloc.h
1163 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1164 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1165 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1166 TEMP_FAILURE_RETRY. Cast return of alloca.
1167 [!_LIBC] Call gl_rwlock_init.
1168 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1170 2014-07-02 Roland McGrath <roland@hack.frob.com>
1172 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1173 before checking its value.
1175 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1177 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1179 * debug/memcpy_chk.c: Don't include pagecopy.h.
1180 * debug/mempcpy_chk.c: Likewise.
1181 * string/memcpy.c: Likewise.
1182 * string/memmove.c: Likewise.
1183 * sysdeps/powerpc/memmove.c: Likewise.
1184 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1185 definition of PAGE_COPY_FWD_MAYBE here...
1186 * sysdeps/generic/pagecopy.h: ... from here.
1187 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1189 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1190 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1196 (__libc_ifunc_impl_list): Likewise.
1197 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1198 multiarch strcat for PPC64.
1199 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1200 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1202 2014-07-02 Roland McGrath <roland@hack.frob.com>
1204 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1206 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1208 * intl/loadmsgcat.c: Remove declaration of
1209 get_sysdep_segment_value.
1210 (get_sysdep_segment_value): Use ISO C style.
1211 (_nl_load_domain): Use ISO C style. Get rid of redundant
1212 semicolon. Fix typo and formatting in comment.
1213 (_nl_unload_domain): Use ISO C style.
1215 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1217 2014-07-02 Will Newton <will.newton@linaro.org>
1219 * malloc/obstack.c: Merge from gnulib master.
1220 [HAVE_CONFIG_H]: Remove conditional code.
1221 [!_LIBC]: Include config.h.
1222 [!ELIDE_CODE]: Don't include inttypes.h, include
1223 stdint.h unconditionally.
1224 (print_and_abort): Mark as _Noreturn.
1225 (_obstack_allocated_p): Mark as __attribute_pure__.
1226 (obstack_free): Rename to __obstack_free.
1227 [!__attribute__]: Remove conditional code.
1228 * malloc/obstack.h: Merge from gnulib master.
1229 [__cplusplus]: Move conditional down.
1230 [!__attribute_pure__]: Define __attribute_pure__ here
1231 if it is not already defined.
1232 (_obstack_memory_used): Mark as __attribute_pure__.
1233 [!__obstack_free]: Define as obstack_free.
1234 [__GNUC__]: Remove check for ancient NeXT gcc.
1236 2014-07-02 Will Newton <will.newton@linaro.org>
1237 Paul Eggert <eggert@cs.ucla.edu>
1239 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1241 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1243 * resolv/gethnamaddr.c: Add comment warning that the file is
1246 2014-07-01 Carlos O'Donell <carlos@redhat.com>
1248 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1251 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1252 entry for aio_cancel and aio_cancel64.
1253 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1254 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1255 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1256 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1257 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1258 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1259 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1260 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1261 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1262 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1263 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1264 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1265 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1267 2014-07-01 Roland McGrath <roland@hack.frob.com>
1269 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1270 * nptl/pthread_mutex_lock.c: Likewise.
1271 * nptl/pthread_mutex_timedlock.c: Likewise.
1272 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1274 2014-07-01 Richard henderson <rth@redhat.com>
1276 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1277 (__isnan, __isnanl): Remove.
1278 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1280 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1282 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1286 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1288 * resolv/nss_dns/dns-host.c (getanswer_r)
1289 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1291 2014-07-01 Joseph Myers <joseph@codesourcery.com>
1293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1294 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1296 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1297 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1299 2014-07-01 Roland McGrath <roland@hack.frob.com>
1301 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1302 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1304 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1305 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1307 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1308 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1310 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1311 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1313 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1314 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1315 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1316 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1318 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1319 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1320 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1321 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1322 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1324 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1326 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1327 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1329 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1333 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1334 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1335 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1336 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1337 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1338 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1339 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1340 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1341 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1342 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1343 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1344 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1345 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1347 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1348 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1349 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1350 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1351 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1352 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1353 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1354 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1356 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1358 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1359 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1360 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1363 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1367 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1369 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1370 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1372 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1374 * sysdeps/arm/libm-test-ulps: Regenerated.
1376 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1377 Roland McGrath <roland@hack.frob.com>
1379 * test-skeleton.c (signal_handler): Kill the whole process group
1380 before killing the child individually.
1381 (main): Report any failure on `setpgid'.
1383 2014-06-30 Roland McGrath <roland@hack.frob.com>
1385 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1386 from _TLS_H to _ARM_NPTL_TLS_H.
1387 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1388 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1390 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1393 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1394 (__expm1l): Return argument unchanged when small but not
1397 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1399 (_FP_UNPACK_RAW_1_P): Likewise.
1400 (_FP_PACK_RAW_1): Likewise.
1401 (_FP_PACK_RAW_1_P): Likewise.
1402 (_FP_MUL_MEAT_1_wide): Likewise.
1403 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1404 (_FP_MUL_MEAT_1_hard): Likewise.
1405 (_FP_DIV_MEAT_1_imm): Likewise.
1406 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1407 (_FP_DIV_MEAT_1_udiv): Likewise.
1408 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1409 (_FP_UNPACK_RAW_2): Likewise.
1410 (_FP_UNPACK_RAW_2_P): Likewise.
1411 (_FP_PACK_RAW_2): Likewise.
1412 (_FP_PACK_RAW_2_P): Likewise.
1413 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1414 (_FP_MUL_MEAT_2_wide): Likewise.
1415 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1416 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1417 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1418 (_FP_MUL_MEAT_2_gmp): Likewise.
1419 (_FP_DIV_MEAT_2_udiv): Likewise.
1420 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1421 (_FP_FRAC_SRL_4): Likewise.
1422 (_FP_FRAC_SRST_4): Likewise.
1423 (_FP_FRAC_SRS_4): Likewise.
1424 (_FP_UNPACK_RAW_4): Likewise.
1425 (_FP_UNPACK_RAW_4_P): Likewise.
1426 (_FP_PACK_RAW_4): Likewise.
1427 (_FP_PACK_RAW_4_P): Likewise.
1428 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1429 (_FP_MUL_MEAT_4_wide): Likewise.
1430 (_FP_MUL_MEAT_4_gmp): Likewise.
1431 (umul_ppppmnnn): Likewise.
1432 (_FP_DIV_MEAT_4_udiv): Likewise.
1433 (__FP_FRAC_ADD_4): Likewise.
1434 (__FP_FRAC_SUB_3): Likewise.
1435 (__FP_FRAC_SUB_4): Likewise.
1436 (__FP_FRAC_DEC_3): Likewise.
1437 (__FP_FRAC_DEC_4): Likewise.
1438 (__FP_FRAC_ADDI_4): Likewise.
1439 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1440 (_FP_FRAC_SRL_8): Likewise.
1441 (_FP_FRAC_SRS_8): Likewise.
1443 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1445 (FP_UNPACK_RAW_EP): Likewise.
1446 (FP_PACK_RAW_E): Likewise.
1447 (FP_PACK_RAW_EP): Likewise.
1448 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1449 (_FP_ISSIGNAN): Likewise.
1450 (_FP_ADD_INTERNAL): Likewise.
1451 (_FP_FMA): Likewise.
1452 (_FP_CMP): Likewise.
1453 (_FP_SQRT): Likewise.
1454 (_FP_TO_INT): Likewise.
1455 (_FP_FROM_INT): Likewise.
1456 (FP_EXTEND): Likewise.
1457 (_FP_DIV_MEAT_N_loop): Likewise.
1459 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1461 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1464 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1467 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1468 result with correct sign in case of exponents that produce
1469 overflow except for X very close to 1.
1471 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1473 mktime: merge #if/#ifdef usage from glibc
1474 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1475 as that works with both Glibc's and Gnulib's style.
1476 See thread starting at Siddhesh Poyarekar's bug report at:
1477 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1479 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1481 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1482 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1483 * sysdeps/tile/tilegx/memmove.c: Remove file.
1485 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1487 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1488 abi-name definition.
1489 * scripts/soversions.awk: Do not handle or generate ABI lines.
1490 * shlib-versions: Remove ABI entries.
1491 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1492 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1494 2014-06-27 Roland McGrath <roland@hack.frob.com>
1496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1497 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1498 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1499 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1501 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1504 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1507 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1509 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1511 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1513 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1515 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1522 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1523 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1524 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1527 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1530 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1535 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1537 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1539 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1541 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1544 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1546 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1547 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1549 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1552 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1553 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1554 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1557 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1560 Identical file removed.
1561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1563 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1565 Identical file removed.
1566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1567 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1570 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1572 Identical file removed.
1573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1574 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1576 Identical file removed.
1577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1578 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1580 Identical file removed.
1581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1584 Identical file removed.
1585 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1587 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1589 Identical file removed.
1590 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1592 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1594 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1596 Identical file removed.
1597 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1599 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1601 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1602 Identical file removed.
1603 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1605 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1607 Identical file removed.
1608 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1610 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1613 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1617 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1619 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1621 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1622 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1623 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1624 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1625 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1627 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1630 * nscd/nscd.c (monitor_child): Return exit status of child
1631 instead of return value from wait syscall.
1633 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1635 * configure.ac (libc_commonpagesize): Remove variable.
1636 (libc_relro_required): Likewise.
1637 (libc_cv_z_relro): Remove configure test.
1638 * configure: Regenerated.
1639 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1641 (libc_relro_required): Likewise.
1642 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1643 (libc_relro_required): Likewise.
1644 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1645 (libc_relro_required): Likewise.
1646 * sysdeps/arm/preconfigure: Regenerated.
1647 * sysdeps/ia64/preconfigure: Remove file.
1648 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1650 (libc_relro_required): Likewise.
1654 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1655 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1656 recompute overflowing results in original rounding mode.
1657 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1658 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1659 recompute overflowing results in original rounding mode.
1660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1661 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1662 recompute overflowing results in original rounding mode.
1663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1664 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1665 recompute overflowing results in original rounding mode.
1666 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1667 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1668 recompute overflowing results in original rounding mode.
1669 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1670 (libc_feholdsetround_ctx): New macro.
1671 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1672 * sysdeps/i386/fpu/libm-test-ulps: Update.
1673 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1675 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1677 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1678 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1679 corresponding .cpsetup call.
1681 2014-06-26 Roland McGrath <roland@hack.frob.com>
1683 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1684 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1685 * sysdeps/arm/Makefile [$(subdir) = csu]
1686 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1687 (static-only-routines): Add aeabi_read_tp here.
1688 (shared-only-routines): Add libc-aeabi_read_tp here.
1689 (CFLAGS-libc-start.c): Add -fexceptions here.
1690 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1691 (sysdep_routines, static-only-routines, shared-only-routines):
1692 Don't add to these here.
1693 (CFLAGS-libc-start.c): Likewise.
1695 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1696 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1697 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1698 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1699 * sysdeps/arm/Makefile [$(subdir) = rt]
1700 (librt-sysdep_routines, librt-shared-only-routines):
1701 Append rt-aeabi_unwind_cpp_pr1 here.
1702 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1703 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1704 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1705 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1706 Append nptl-aeabi_unwind_cpp_pr1 here.
1707 (tests): Filter out tst-cleanupx4 here.
1708 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1709 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1710 Don't do those here.
1712 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1714 * scripts/list-sources.sh: Do not handle ports specially.
1716 2014-06-26 Roland McGrath <roland@hack.frob.com>
1718 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1719 * sysdeps/arm/feupdateenv.c: Likewise.
1721 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1723 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1725 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1726 trailing whitespace removed.
1727 * scripts/config.guess: Update to version 2014-03-23.
1728 * scripts/config.sub: Update to version 2014-05-01
1729 * scripts/install-sh: Update to version 2013-12-25.23.
1730 * scripts/move-if-change: Update from gnulib.
1732 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1734 * debug/memmove_chk.c: Remove pagecopy.h include.
1736 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1738 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1739 identical to gnulib mktime.
1741 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1743 * configure.ac: Do not test for machine being rs6000. Do not test
1745 * configure: Regenerated.
1747 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1749 * configure: Regenerated.
1750 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1751 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1752 Remove configure test.
1753 * sysdeps/arm/configure: Regenerated.
1754 * sysdeps/nptl/configure.ac: Do not check
1755 libc_cv_asm_cfi_directives.
1756 * sysdeps/nptl/configure: Regenerated.
1757 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1758 * sysdeps/x86_64/nptl/configure: Remove generated file.
1759 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1761 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1763 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1765 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1766 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1767 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1770 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1771 instead of whether it is defined.
1772 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1773 * sysdeps/hppa/dl-machine.h: Likewise.
1774 * sysdeps/ia64/dl-machine.h: Likewise.
1775 * sysdeps/m68k/dl-machine.h: Likewise.
1776 * sysdeps/microblaze/dl-machine.h: Likewise.
1777 * sysdeps/mips/dl-machine.: Likewise.
1778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1782 * sysdeps/sh/dl-machine.h: Likewise.
1783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1785 * sysdeps/tile/dl-machine.h: Likewise.
1786 * sysdeps/x86_64/dl-machine.h: Likewise.
1788 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1790 (verify_persistent_db): Likewise.
1792 2014-06-26 Roland McGrath <roland@hack.frob.com>
1794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1795 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1800 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1805 Identical file removed.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1807 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1809 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1813 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1815 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1818 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1820 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1822 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1825 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1829 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1831 Identical file removed.
1832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1833 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1838 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1852 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1855 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1860 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1862 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1864 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1866 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1867 * sysdeps/unix/sysv/linux/s390/Versions
1868 (libpthread: GLIBC_2.19): New version set.
1869 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1870 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1871 (librt: GLIBC_2.3.3): New version set.
1872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1873 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1874 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1875 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1876 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1878 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1880 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1881 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1882 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1884 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1886 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1888 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1890 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1892 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1894 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1896 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1898 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1900 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1902 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1908 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1910 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1912 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1914 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1916 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1919 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1920 (__libc_vfork): Define the function under this name.
1921 [!NOT_IN_libc] (__vfork): Make this an alias.
1922 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1924 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1925 (__libc_vfork): Define the function under this name.
1926 [!NOT_IN_libc] (__vfork): Make this an alias.
1927 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1928 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1929 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1930 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1932 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1934 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1935 code that was previously under [RESET_PID].
1936 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1937 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1940 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1941 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1942 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1943 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1944 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1945 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1946 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1947 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1948 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1949 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1952 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1953 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1954 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1955 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1957 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1958 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1959 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1960 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1961 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1962 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1964 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1965 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1966 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1967 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1968 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1969 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1970 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1974 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1975 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1976 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1977 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1978 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1979 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1980 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1982 2014-06-25 Roland McGrath <roland@hack.frob.com>
1984 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1985 that was previously under [RESET_PID].
1986 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1988 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1990 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1991 not undefine and redefine.
1992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1993 [O_CLOEXEC]: Make code unconditional.
1994 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1995 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1996 <kernel-features.h>.
1997 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1998 conditional variable definition.
1999 (shm_open) [O_CLOEXEC]: Make code unconditional.
2000 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2003 * configure.ac (USE_REGPARMS): Don't define here.
2004 * configure: Regenerated.
2005 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2006 * sysdeps/i386/configure: Regenerated.
2008 * nptl/createthread.c: Don't include kernel-features.h.
2009 * nptl/pthread_cancel.c: Likewise.
2010 * nptl/pthread_condattr_setclock.c: Likewise.
2011 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2012 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2013 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2014 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2015 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2016 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2017 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2020 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2021 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2022 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2023 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2024 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2025 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2026 * nscd/gai.c: Likewise.
2027 * nss/nss_db/db-open.c: Likewise.
2028 * sysdeps/generic/ldsodefs.h: Likewise.
2029 * sysdeps/sh/nptl/tls.h: Likewise.
2030 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2031 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2032 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2033 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2034 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2035 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2036 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2037 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2038 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2039 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2040 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2041 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2042 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2043 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2044 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2045 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2046 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2047 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2048 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2049 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2050 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2051 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2052 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2053 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2054 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2055 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2056 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2057 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2058 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2059 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2060 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2061 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2062 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2063 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2064 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2065 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2066 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2067 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2068 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2069 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2070 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2071 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2072 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2073 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2074 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2075 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2076 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2077 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2078 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2079 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2080 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2081 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2082 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2083 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2084 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2085 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2086 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2087 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2110 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2111 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2112 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2113 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2114 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2115 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2118 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2119 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2120 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2121 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2122 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2123 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2124 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2125 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2127 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2128 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2129 * sysdeps/unix/sysv/linux/system.c: Likewise.
2130 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2131 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2132 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2133 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2134 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2135 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2136 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2138 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2139 * configure: Regenerated.
2140 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2142 * configure.ac (base_machine): Do not set specially for particular
2144 * configure: Regenerated.
2145 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2146 settings from configure.ac.
2147 * sysdeps/i386/preconfigure: New file.
2148 * sysdeps/s390/preconfigure: Likewise.
2149 * sysdeps/sh/preconfigure: Likewise.
2150 * sysdeps/sparc/preconfigure: Likewise.
2152 2014-06-25 Roland McGrath <roland@hack.frob.com>
2154 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2155 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2156 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2157 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2158 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2159 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2160 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2161 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2162 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2163 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2164 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2165 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2166 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2167 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2168 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2169 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2171 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2172 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2174 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2175 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2176 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2177 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2178 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2179 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2180 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2181 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2182 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2183 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2184 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2185 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2186 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2187 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2188 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2189 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2190 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2191 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2192 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2193 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2194 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2195 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2197 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2199 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2200 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2201 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2203 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2204 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2205 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2206 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2207 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2208 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2209 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2210 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2211 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2214 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2219 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2224 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2229 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2231 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2236 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2239 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2244 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2248 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2250 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2252 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2255 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2258 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2260 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2263 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2265 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2275 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2280 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2282 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2284 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2286 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2288 * timezone/checktab.awk: Update from tzcode 2014e.
2289 * timezone/private.h: Likewise.
2290 * timezone/tzfile.h: Likewise.
2291 * timezone/zdump.c: Likewise.
2292 * timezone/zic.c: Likewise.
2294 * sysdeps/unix/sysv/linux/kernel-features.h
2295 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2297 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2298 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2299 Remove conditional code.
2301 2014-06-25 Will Newton <will.newton@linaro.org>
2303 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2304 (_dl_arm_cap_flags): Add HWCAP2 values.
2305 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2306 (_DL_HWCAP_COUNT): Increase to 37.
2307 (_DL_HWCAP_LAST): New define.
2308 (_DL_HWCAP2_LAST): New define.
2309 (_dl_procinfo): Add support for printing
2311 (_dl_string_hwcap): Use _dl_hwcap_string.
2313 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2317 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2319 * README: Do not mention ports directory.
2321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2323 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2324 <kernel-features.h>.
2325 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2326 conditional variable definition.
2327 (__futimes): Update comment.
2328 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2329 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2332 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2333 arguments close to 0.
2334 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2336 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2338 * math/auto-libm-test-in: Add more tests of exp10.
2339 * math/auto-libm-test-out: Regenerated.
2340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2342 * sysdeps/unix/sysv/linux/kernel-features.h
2343 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2344 * sysdeps/unix/sysv/linux/readv.c: Do not include
2345 <kernel-features.h>.
2346 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2347 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2348 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2350 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2352 * sysdeps/unix/sysv/linux/writev.c: Do not include
2353 <kernel-features.h>.
2354 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2355 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2356 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2358 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2361 2014-06-25 Will Newton <will.newton@linaro.org>
2363 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2364 comment changes throughout the file. Remove checks
2365 for HAVE_*_H definitions that are not required.
2366 (__gen_tempname): Call abort if an unknown kind value is
2369 2014-06-25 Andreas Schwab <schwab@suse.de>
2372 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2373 scalbln, scalblnf, scalblnl in libc.
2375 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2378 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2379 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2380 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2382 2014-06-24 Roland McGrath <roland@hack.frob.com>
2384 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2385 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2386 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2387 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2389 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2390 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2392 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2393 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2394 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2396 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2397 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2398 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2399 * sysdeps/x86/bits/semaphore.h: ... here.
2400 * sysdeps/x86/nptl/elide.h: Moved ...
2401 * sysdeps/x86/elide.h: ... here.
2402 * sysdeps/x86_64/nptl/Implies: File removed.
2403 * sysdeps/i386/nptl/Implies: File removed.
2405 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2409 return the argument for normal arguments with exponent below -64.
2410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2412 * math/auto-libm-test-in: Add another test of expm1.
2413 * math/auto-libm-test-out: Regenerated.
2416 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2417 calling __erfcl for arguments at least 16.
2418 * math/auto-libm-test-in: Add more tests of erf.
2419 * math/auto-libm-test-out: Regenerated.
2421 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2422 individual architectures.
2423 * sysdeps/unix/sysv/linux/configure: Regenerated.
2424 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2425 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2426 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2427 (ldd_rewrite_script): Define variable.
2428 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2433 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2434 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2435 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2436 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2437 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2438 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2439 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2440 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2442 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2445 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2446 Rename member __data.d to __data.__elision_data.
2448 2014-06-24 Wilco <wdijkstr@arm.com>
2450 * NEWS: Add 16918 to fixed bug list.
2452 2014-06-24 Wilco <wdijkstr@arm.com>
2454 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2456 2014-06-24 Wilco <wdijkstr@arm.com>
2458 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2459 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2460 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2461 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2462 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2463 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2464 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2467 2014-06-24 Wilco <wdijkstr@arm.com>
2469 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2471 2014-06-24 Wilco <wdijkstr@arm.com>
2473 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2474 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2475 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2476 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2478 2014-06-24 Wilco <wdijkstr@arm.com>
2481 * sysdeps/arm/feupdateenv.c (feupdateenv):
2482 Rewrite to reduce FPSCR accesses and fix return value.
2484 2014-06-24 Wilco <wdijkstr@arm.com>
2486 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2487 Optimize to avoid unnecessary FPSCR writes.
2488 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2489 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2490 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2491 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2493 2014-06-24 Wilco <wdijkstr@arm.com>
2495 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2496 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2497 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2498 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2499 Call libc_fetestexcept_vfp.
2500 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2501 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2502 __SOFTFP__ ifdef so that they can be built for softfp.
2504 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2506 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2507 argument type signed char.
2509 * Makerules (check-abi): Dump diff of symlist if the test
2512 2014-06-23 Roland McGrath <roland@hack.frob.com>
2514 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2517 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2518 Remove unused variable ST.
2520 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2524 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2525 small arguments before calling __expm1.
2526 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2527 small arguments before calling __expm1f.
2528 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2529 small arguments before calling __expm1l.
2530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2532 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2533 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2534 spurious underflow for some cosh tests.
2535 * math/auto-libm-test-out: Regenerated.
2536 * sysdeps/i386/fpu/libm-test-ulps: Update.
2539 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2540 (__ieee754_y1): Set errno if return value overflows.
2541 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2542 (__ieee754_y1f): Set errno if return value overflows.
2543 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2544 (__ieee754_y1l): Set errno if return value overflows.
2545 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2546 (__ieee754_y1l): Set errno if return value overflows.
2547 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2548 * math/auto-libm-test-out: Regenerated.
2550 * math/gen-auto-libm-tests.c: Document use of
2551 ignore-zero-inf-sign.
2552 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2553 (input_flags): Add ignore-zero-inf-sign.
2554 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2555 * math/gen-libm-test.pl (generate_testfile): Handle
2556 ignore-zero-inf-sign.
2557 * math/auto-libm-test-in: Mark some cpow tests with
2558 ignore-zero-inf-sign and some with xfail-rounding.
2559 * math/auto-libm-test-out: Regenerated.
2560 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2561 * sysdeps/i386/fpu/libm-test-ulps: Update.
2562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2565 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2566 overflowing or underflowing operations take place with sign of
2568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2570 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2571 (__ieee754_pow): Recompute overflowing and underflowing results in
2572 original rounding mode.
2573 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2574 (__powl_helper): Allow negative argument X and scale negated value
2575 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2576 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2577 overflowing or underflowing operations take place with sign of
2579 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2581 * math/auto-libm-test-in: Add more tests of pow.
2582 * math/auto-libm-test-out: Regenerated.
2583 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2584 (pow_tonearest_test_data): Remove.
2585 (pow_test_tonearest): Likewise.
2586 (pow_towardzero_test_data): Likewise.
2587 (pow_test_towardzero): Likewise.
2588 (pow_downward_test_data): Likewise.
2589 (pow_test_downward): Likewise.
2590 (pow_upward_test_data): Likewise.
2591 (pow_test_upward): Likewise.
2592 (main): Don't call removed functions.
2593 * sysdeps/i386/fpu/libm-test-ulps: Update.
2594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2596 2014-06-23 Roland McGrath <roland@hack.frob.com>
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2772 2014-06-23 Will Newton <will.newton@linaro.org>
2773 Wilco <wdijkstr@arm.com>
2775 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2776 implementation. Include get-rounding-mode.h.
2777 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2778 [!libc_feholdsetround_noex_ctx]: Define
2779 libc_feholdsetround_noex_ctx.
2780 [!libc_feholdsetround_noexf_ctx]: Define
2781 libc_feholdsetround_noexf_ctx.
2782 [!libc_feholdsetround_noexl_ctx]: Define
2783 libc_feholdsetround_noexl_ctx.
2784 (libc_feholdsetround_ctx): New function.
2785 (libc_feresetround_ctx): New function.
2786 (libc_feholdsetround_noex_ctx): New function.
2787 (libc_feresetround_noex_ctx): New function.
2789 2014-06-23 Roland McGrath <roland@hack.frob.com>
2791 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2792 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2793 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2794 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2795 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2796 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2798 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2799 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2800 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2801 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2802 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2803 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2804 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2805 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2806 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2810 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2813 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2815 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2818 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2827 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2828 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2830 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2835 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2836 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2837 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2838 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2839 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2840 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2841 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2843 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2846 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2849 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2851 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2853 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2855 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2859 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2862 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2864 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2865 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2866 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2867 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2869 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2871 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2872 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2873 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2875 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2876 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2877 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2878 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2879 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2880 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2881 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2882 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2884 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2885 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2886 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2887 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2888 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2889 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2890 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2891 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2892 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2893 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2894 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2896 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2898 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2899 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2900 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2902 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2904 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2907 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2908 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2909 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2910 (IPV6_PMTUDISC_INTERFACE): Likewise.
2911 (IPV6_PMTUDISC_OMIT): Likewise.
2913 2014-06-23 Andreas Schwab <schwab@suse.de>
2915 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2916 Remove unused errout label.
2918 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2920 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2921 macro: hardware supports Vector Crypto instructions.
2923 2014-06-23 Will Newton <will.newton@linaro.org>
2925 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2926 rather than __builtin_expect.
2928 * elf/dl-lookup.c (undefined_msg): Remove variable.
2929 (_dl_lookup_symbol_x): Replace undefined_msg with string
2932 * elf/dl-lookup.c (do_lookup_unique): New function.
2933 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2934 to a separate function.
2936 2014-06-23 Andreas Schwab <schwab@suse.de>
2939 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2940 before reading the next line.
2942 2014-06-23 Will Newton <will.newton@linaro.org>
2944 * test-skeleton.c (signal_handler): Use printf and %m
2945 rather than perror. Use printf rather than fprintf to
2946 stderr. Use puts rather than fputs to stderr.
2949 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2951 * nscd/nscd.c (thread_info_t): Remove typedef.
2952 (thread_info): Remove variable.
2954 2014-06-21 Allan McRae <allan@archlinux.org>
2956 * NEWS: Mention CVE-2014-4043.
2958 2014-06-20 Roland McGrath <roland@hack.frob.com>
2960 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2961 * nptl/smp.h: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2965 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2966 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2967 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2968 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2970 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2971 * nptl/stack-aliasing.h: New file.
2972 * sysdeps/i386/i686/stack-aliasing.h: New file.
2973 * sysdeps/i386/i686/nptl/Makefile: File removed.
2974 * sysdeps/x86_64/stack-aliasing.h: New file.
2975 * sysdeps/x86_64/nptl/Makefile
2976 (CFLAGS-pthread_create.c): Variable removed.
2978 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2979 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2981 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2982 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2985 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2988 (__ASSUME_SIGFRAME_V2): Remove macro.
2989 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2990 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2991 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2992 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2993 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2994 Declare as function. Remove conditional macro definitions.
2995 (__default_rt_sa_restorer): Likewise.
2996 (__default_sa_restorer_v1): Remove declaration.
2997 (__default_sa_restorer_v2): Likewise.
2998 (__default_rt_sa_restorer_v1): Likewise.
2999 (__default_rt_sa_restorer_v2): Likewise.
3000 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3001 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3002 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3004 2014-06-20 Roland McGrath <roland@hack.frob.com>
3006 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3007 (libpthread-routines): Add sysdep.
3008 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3009 * sysdeps/unix/sysv/linux/sparc/Versions
3010 (libpthread: GLIBC_2.3.3): New version set.
3011 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3012 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3013 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3014 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3015 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3016 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3018 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3019 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3020 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3022 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3024 * sysdeps/sparc/nptl/sem_init.c: ... here.
3025 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3026 * sysdeps/sparc/nptl/sem_post.c: ... here.
3027 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3028 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3030 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3032 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3033 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3034 (libpthread-routines): Add cpu_relax.
3035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3038 (librt: GLIBC_2.3.3): New version set.
3039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3040 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3041 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3042 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3045 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3048 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3050 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3052 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3054 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3056 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3059 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3063 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3067 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3071 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3079 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3082 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3093 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3097 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3099 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3101 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3102 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3103 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3104 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3105 * nscd/nscd.c: Likewise.
3106 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3107 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3108 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3109 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3111 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3112 <kernel-features.h>.
3113 (init_mq_netlink): Remove conditional have_sock_cloexec
3114 definitions. Remove code conditional on have_sock_cloexec < 0.
3115 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3116 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3117 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3118 <kernel-features.h>.
3119 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3120 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3122 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3125 Add tests for memset_chk and memset.
3127 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3130 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3133 * elf/tst-dl-iter-static.c: New file.
3134 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3136 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3139 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3141 * sysdeps/unix/sysv/linux/kernel-features.h
3142 (__ASSUME_F_GETOWN_EX): Remove macro.
3143 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3144 <kernel-features.h>.
3145 (miss_F_GETOWN_EX): Remove variable or macro.
3146 (do_fcntl): Do not check miss_F_GETOWN_EX.
3147 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3152 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3153 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3155 * sysdeps/unix/sysv/linux/kernel-features.h
3156 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3157 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3158 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3159 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3161 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3164 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3165 Fix calculation of the symbol's value.
3166 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3167 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3168 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3169 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3170 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3171 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3172 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3173 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3174 (modules-names): Add `tst-armtlsdescmod',
3175 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3176 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3177 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3178 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3179 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3180 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3181 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3182 ($(objpfx)tst-armtlsdescloc): New dependency.
3183 ($(objpfx)tst-armtlsdescextnow): Likewise.
3184 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3185 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3187 * sysdeps/arm/configure: Regenerate.
3189 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3191 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3192 (__atfct_seterrno_2): Likewise.
3193 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3194 <kernel-features.h>.
3195 (__ASSUME_ATFCTS): Do not undefine and redefine.
3196 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3197 (__have_atfcts): Remove conditional definition.
3198 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3199 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3200 unreachable if [__ASSUME_ATFCTS].
3201 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3202 not undefine and redefine.
3203 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3204 <kernel-features.h>.
3205 (faccessat) [__NR_faccessat]: Make code unconditional.
3206 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3207 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3208 <kernel-features.h>.
3209 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3210 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3211 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3212 <kernel-features.h>.
3213 (fchownat) [__NR_fchownat]: Make code unconditional.
3214 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3215 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3216 <kernel-features.h>.
3217 (futimesat) [__NR_futimesat]: Make code unconditional.
3218 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3219 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3220 <kernel-features.h>.
3221 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3223 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3224 <kernel-features.h>.
3225 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3226 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3227 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3228 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3229 <kernel-features.h>.
3230 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3231 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3232 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3233 <kernel-features.h>.
3234 (linkat) [__NR_linkat]: Make code unconditional.
3235 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3236 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3237 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3238 <kernel-features.h>.
3239 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3240 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3241 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3242 <kernel-features.h>.
3243 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3244 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3245 * sysdeps/unix/sysv/linux/openat.c: Do not include
3246 <kernel-features.h>.
3247 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3248 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3249 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3250 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3251 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3252 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3253 <kernel-features.h>.
3254 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3255 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3256 result of INLINE_SYSCALL directly, not via int variable.
3257 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3258 <kernel-features.h>.
3259 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3260 (renameat) [__NR_renameat]: Make code unconditional.
3261 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3262 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3263 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3264 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3265 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3266 (__ASSUME_ATFCTS): Do not undefine and redefine.
3267 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3268 <kernel-features.h>.
3269 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3270 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3271 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3272 <kernel-features.h>.
3273 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3274 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3275 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3276 (__ASSUME_ATFCTS): Do not undefine and redefine.
3277 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3278 <kernel-features.h>.
3279 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3280 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3281 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3282 <kernel-features.h>.
3283 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3284 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3286 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3288 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3290 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3293 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3294 constructed tree before returning error.
3295 * posix/bug-regexp36.c: Expand test case.
3297 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3300 * math/libm-test.inc (scalbln_test_date):
3301 Add errno expectations.
3302 * math/w_scalblnf.c: New File.
3303 Add wrapper which checks for setting errno to ERANGE.
3304 Add weak_alias for corresponding scalbln function.
3305 * math/w_scalbln.c: Likewise.
3306 * math/w_scalblnl.c: Likewise.
3307 * math/Makefile (libm-calls): Add w_scalbln.
3308 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3309 Remove weak_alias for corresponding scalbln function.
3310 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3314 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3315 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3316 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3317 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3318 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3319 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3320 Remove long_double_symbol for scalblnl function in libm, libc.
3321 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3322 Add wrapper which checks for setting errno to ERANGE.
3323 Add long_double_symbol for scalblnl function in libm, libc.
3324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3325 Remove long_double_symbol for scalblnl in libm.
3326 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3327 Add wrapper which checks for setting errno to ERANGE.
3328 Add long_double_symbol for scalblnl function in libm.
3329 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3330 Do not use wrapper because of own implementation.
3332 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3334 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3335 3 bytes for __pad1 for x32.
3336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3338 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3339 H.J. Lu <hongjiu.lu@intel.com>
3341 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3342 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3343 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3344 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3345 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3347 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3350 * posix/regcomp.c (parse_expression): Deallocate partially
3351 constructed tree before returning error.
3352 * posix/Makefile.c (tests): Add bug-regex36.
3353 (generated): Add bug-regex36.mtrace.
3354 (tests-special): Add $(objpfx)bug-regex36-mem.out
3355 (bug-regex36-ENV): New variable.
3356 ($(objpfx)bug-regex36-mem.out): New rule.
3357 * posix/bug-regex36.c: New file.
3359 2014-06-19 Will Newton <will.newton@linaro.org>
3361 * malloc/malloc.c (systrim): If extra is zero then return
3364 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3366 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3368 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3370 * sysdeps/aarch64/strchr.S: New file.
3372 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3375 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3376 from arguments -2 or below.
3377 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3378 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3380 2014-06-18 Andreas Schwab <schwab@suse.de>
3383 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3384 of a bracket expr not to run off the end of the string.
3385 * posix/Makefile (tests): Add tst-fnmatch3.
3386 * posix/tst-fnmatch3.c: New file.
3388 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3390 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3391 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3392 [$(cross-compiling) = no]: Likewise.
3393 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3394 [$(cross-compiling) = no]: Likewise.
3396 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3399 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3400 double, adjusted for any remainder from the high double.
3401 * math/libm-test.inc (nearbyint): Add tests.
3404 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3406 * nptl/sysdeps/powerpc/Makefile: Moved ...
3407 * sysdeps/powerpc/nptl/Makefile: ... here.
3408 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3409 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3410 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3411 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3412 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3413 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3414 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3415 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3416 * nptl/sysdeps/powerpc/tls.h: Moved ...
3417 * sysdeps/powerpc/nptl/tls.h: ... here.
3419 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3422 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3423 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3424 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3425 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3426 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3427 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3428 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3429 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3430 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3432 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3434 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3436 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3438 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3441 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3444 2014-06-16 Florian Weimer <fweimer@redhat.com>
3447 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3448 non-executed part of the test.
3450 2014-06-16 Andreas Schwab <schwab@suse.de>
3452 * string/bits/string2.h (strdup, strndup): Update feature guard.
3454 2014-06-14 David S. Miller <davem@davemloft.net>
3456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3458 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3460 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3461 that was previously under [RESET_PID].
3462 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3464 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3465 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3466 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3467 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3468 (__libc_vfork): New strong alias.
3469 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3471 2014-06-14 Andi Kleen <ak@linux.intel.com>
3473 * sysdeps/generic/elide.h: New file.
3475 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3477 * Makefile (installed-headers): Adjust path of pthread.h header.
3479 2014-06-13 Roland McGrath <roland@hack.frob.com>
3481 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3482 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3484 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3486 * nptl/sysdeps/s390/Makefile: Moved ...
3487 * sysdeps/s390/nptl/Makefile: ... here.
3488 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3489 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3490 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3491 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3492 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3493 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3494 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3495 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3496 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3497 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3498 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3499 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3500 * nptl/sysdeps/s390/tls.h: Moved ...
3501 * sysdeps/s390/nptl/tls.h: ... here.
3503 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3504 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3506 2014-06-13 David S. Miller <davem@davemloft.net>
3508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3511 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3515 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3516 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3517 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3518 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3519 Remove RESET_PID cpp guards.
3520 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3521 Remove RESET_PID cpp guards.
3522 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3524 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3526 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3529 2014-06-13 Andi Kleen <ak@linux.intel.com>
3531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3534 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3535 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3537 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3538 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3539 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3540 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3542 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3543 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3544 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3545 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3548 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3550 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3552 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3553 (pthread_rwlock_rdlock): Add elision.
3554 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3555 (pthread_rwlock_wrlock): Add elision.
3556 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3557 (pthread_rwlock_trywrlock): Add elision.
3558 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3559 (pthread_rwlock_tryrdlock): Add elision.
3560 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3561 (pthread_rwlock_tryrdlock): Add elision unlock.
3562 * nptl/sysdeps/pthread/pthread.h:
3563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3564 (PTHREAD_RWLOCK_INITIALIZER,
3565 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3566 Handle new elision field.
3567 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3568 * sysdeps/arm/nptl/bits/pthreadtypes.h
3569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3570 * sysdeps/sh/nptl/bits/pthreadtypes.h
3571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3572 * sysdeps/tile/nptl/bits/pthreadtypes.h
3573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3574 * sysdeps/a/nptl/bits/pthreadtypes.h
3575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3576 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3578 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3580 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3582 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3584 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3586 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3588 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3590 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3592 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3593 (elision_init): Set try_xbegin to zero when no RTM.
3594 * sysdeps/x86/nptl/bits/pthreadtypes.h
3595 (pthread_rwlock_t): Change __pad1 to __rwelision.
3596 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3598 2014-06-13 Andi Kleen <ak@linux.intel.com>
3600 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3601 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3602 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3603 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3605 2014-06-13 Meador Inge <meadori@codesourcery.com>
3608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3609 that the cached result has been set before returning it.
3611 2014-06-12 Roland McGrath <roland@hack.frob.com>
3613 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3614 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3615 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3616 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3617 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3618 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3620 * nptl/sysdeps/sparc/Makefile: Moved ...
3621 * sysdeps/sparc/nptl/Makefile: ... here.
3622 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3623 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3624 * nptl/sysdeps/sparc/tls.h: Moved ...
3625 * sysdeps/sparc/nptl/tls.h: ... here.
3626 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3627 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3628 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3629 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3630 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3631 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3632 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3633 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3634 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3635 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3636 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3637 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3638 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3639 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3640 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3641 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3645 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3646 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3648 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3649 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3651 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3652 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3655 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3657 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3658 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3660 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3661 (struct list_links): Type removed.
3662 (struct thread_node, struct timer_node): Replace struct list_links
3663 with struct list_head.
3664 (list_unlink_ip): Likewise.
3665 * sysdeps/pthread/timer_routines.c
3666 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3667 (list_append, list_insbefore): Likewise.
3668 (list_init): Function removed.
3669 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3670 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3671 * sysdeps/pthread/Makefile: ... here, new file.
3673 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3674 * sysdeps/nptl/Implies: ... here.
3675 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3676 * nptl/sysdeps/pthread/list.h: Moved ...
3677 * include/list.h: ... here.
3678 * nptl/sysdeps/pthread/createthread.c: Moved ...
3679 * nptl/createthread.c: ... here.
3680 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3681 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3682 * nptl/pt-longjmp.c: ... here.
3683 * nptl/sysdeps/pthread/Makefile: Moved ...
3684 * sysdeps/nptl/Makefile: ... here.
3685 * nptl/sysdeps/pthread/Subdirs: Moved ...
3686 * sysdeps/nptl/Subdirs: ... here.
3687 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3688 * sysdeps/nptl/aio_misc.h: ... here.
3689 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3690 * sysdeps/nptl/bits/libc-lock.h: ... here.
3691 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3692 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3693 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3694 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3695 * nptl/sysdeps/pthread/configure: Moved ...
3696 * sysdeps/nptl/configure: ... here.
3697 * nptl/sysdeps/pthread/configure.ac: Moved ...
3698 * sysdeps/nptl/configure.ac: ... here.
3699 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3700 * sysdeps/nptl/gai_misc.h: ... here.
3701 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3702 * sysdeps/nptl/librt-cancellation.c: ... here.
3703 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3704 * sysdeps/nptl/malloc-machine.h: ... here.
3705 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3706 * sysdeps/nptl/pthread-functions.h: ... here.
3707 * nptl/sysdeps/pthread/pthread.h: Moved ...
3708 * sysdeps/nptl/pthread.h: ... here.
3709 * nptl/sysdeps/pthread/setxid.h: Moved ...
3710 * sysdeps/nptl/setxid.h: ... here.
3711 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3712 * sysdeps/nptl/sigfillset.c: ... here.
3713 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3714 * sysdeps/nptl/tcb-offsets.h: ... here.
3715 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3716 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3717 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3718 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3719 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3720 * sysdeps/pthread/allocalim.h: ... here.
3721 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3722 * sysdeps/pthread/bits/sigthread.h: ... here.
3723 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3724 * sysdeps/pthread/flockfile.c: ... here.
3725 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3726 * sysdeps/pthread/ftrylockfile.c: ... here.
3727 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3728 * sysdeps/pthread/funlockfile.c: ... here.
3729 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3730 * sysdeps/pthread/posix-timer.h: ... here.
3731 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3732 * sysdeps/pthread/timer_create.c: ... here.
3733 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3734 * sysdeps/pthread/timer_delete.c: ... here.
3735 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3736 * sysdeps/pthread/timer_getoverr.c: ... here.
3737 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3738 * sysdeps/pthread/timer_gettime.c: ... here.
3739 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3740 * sysdeps/pthread/timer_routines.c: ... here.
3741 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3742 * sysdeps/pthread/timer_settime.c: ... here.
3743 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3744 * sysdeps/pthread/tst-timer.c: ... here.
3745 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3746 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3748 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3749 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3751 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3752 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3753 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3754 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3755 Update #include target.
3756 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3757 * sysdeps/i386/i686/nptl/Makefile: ... here.
3758 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3759 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3760 Update #include target.
3761 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3762 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3763 * nptl/sysdeps/i386/Makefile: Moved ...
3764 * sysdeps/i386/nptl/Makefile: ... here.
3765 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3766 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3767 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3768 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3769 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3770 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3771 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3772 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3773 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3774 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3775 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3776 * nptl/sysdeps/i386/tls.h: Moved ...
3777 * sysdeps/i386/nptl/tls.h: ... here.
3779 * sysdeps/sh/Makefile [$(subdir) = csu]
3780 (gen-as-const-headers): Add tcb-offsets.sym.
3781 * nptl/sysdeps/sh/Makefile: File removed.
3782 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3783 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3784 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3785 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3786 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3787 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3788 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3789 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3790 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3791 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3792 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3793 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3794 * nptl/sysdeps/sh/tls.h: Moved ...
3795 * sysdeps/sh/nptl/tls.h: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3797 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3799 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3801 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3803 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3805 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3807 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3809 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3811 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3813 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3815 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3817 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3819 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3822 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3829 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3830 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3831 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3832 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3833 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3835 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3837 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3839 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3841 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3843 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3845 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3847 * posix/spawn_faction_addopen.c: Include string.h.
3849 2014-06-11 Roland McGrath <roland@hack.frob.com>
3851 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3852 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3853 * nptl/sysdeps/x86_64/Makefile: Moved ...
3854 * sysdeps/x86_64/nptl/Makefile: ... here.
3855 * nptl/sysdeps/x86_64/configure: Moved ...
3856 * sysdeps/x86_64/nptl/configure: ... here.
3857 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3858 * sysdeps/x86_64/nptl/configure.ac: ... here.
3859 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3860 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3861 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3862 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3863 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3864 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3865 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3866 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3867 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3868 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3869 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3870 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3871 * nptl/sysdeps/x86_64/tls.h: Moved ...
3872 * sysdeps/x86_64/nptl/tls.h: ... here.
3873 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3874 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3875 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3876 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3878 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3880 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3884 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3886 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3888 [POSIX] (off_t): Likewise.
3889 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3890 [POSIX] (S_ISBLK): Require macro.
3891 [POSIX] (S_ISCHR): Likewise.
3892 [POSIX] (S_ISDIR): Likewise.
3893 [POSIX] (S_ISFIFO): Likewise.
3894 [POSIX] (S_ISREG): Likewise.
3895 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3897 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3899 [POSIX] (time_t): Likewise.
3900 [POSIX] (timer_t): Likewise.
3902 2014-06-11 Florian Weimer <fweimer@redhat.com>
3905 * posix/spawn_int.h (struct __spawn_action): Make the path string
3906 non-const to support deallocation.
3907 * posix/spawn_faction_addopen.c
3908 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3909 * posix/spawn_faction_destroy.c
3910 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3911 path in all spawn_do_open actions.
3912 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3913 posix_spawn_file_actions_addopen.
3915 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3917 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3918 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3919 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3920 conditional code always true.
3921 (__libc_vfork): New alias.
3923 2014-06-11 Roland McGrath <roland@hack.frob.com>
3925 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3926 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3928 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3930 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3931 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3933 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3934 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3936 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3937 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3939 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3941 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3942 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3943 multiarch strcmp for PPC64.
3944 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3945 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3947 multiarch optimizations.
3948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3949 (__libc_ifunc_impl_list): Likewise.
3951 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3953 * benchtests/scripts/validate_benchout.py: New script.
3954 * benchtests/Makefile (bench-func): Call it.
3955 * benchtests/scripts/benchout.schema.json: New file.
3957 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3959 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3960 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3961 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3962 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3963 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3964 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3965 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3966 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3967 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3968 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3969 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3970 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3971 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3972 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3973 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3974 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4079 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4080 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4084 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4091 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4100 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4103 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4108 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4112 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4113 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4114 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4116 2014-06-10 Wilco <wdijkstr@arm.com>
4118 * math/test-fenv-return.c: New file.
4119 * math/Makefile: Add new test test-fenv-return.
4121 2014-06-10 Joseph Myers <joseph@codesourcery.com>
4124 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4126 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4127 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4128 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4129 0.0L for an argument of 1.0L.
4130 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4132 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4133 value when x - 1 is zero.
4134 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4135 * sysdeps/i386/fpu/libm-test-ulps: Update.
4136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4138 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4141 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4143 2014-06-09 Roland McGrath <roland@hack.frob.com>
4145 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4146 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4148 2014-06-09 Roland McGrath <roland@hack.frob.com>
4150 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4151 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4153 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4154 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4156 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4157 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4159 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4160 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4162 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4163 if not already defined.
4164 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4165 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4166 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4167 (TLS_INIT_TP): Use it.
4168 (TLS_DEFINE_INIT_TP): New macro.
4169 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4171 2014-06-09 Joseph Myers <joseph@codesourcery.com>
4173 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4175 [POSIX] (IXANY): Likewise.
4176 [POSIX] (OLCUC): Likewise.
4177 [POSIX || POSIX2008] (CBAUD): Do not allow.
4178 [POSIX || POSIX2008] (DEFECHO): Likewise.
4179 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4180 [POSIX || POSIX2008] (ECHOKE): Likewise.
4181 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4182 [POSIX || POSIX2008] (EXTA): Likewise.
4183 [POSIX || POSIX2008] (EXTB): Likewise.
4184 [POSIX || POSIX2008] (FLUSHO): Likewise.
4185 [POSIX || POSIX2008] (LOBLK): Likewise.
4186 [POSIX || POSIX2008] (PENDIN): Likewise.
4187 [POSIX || POSIX2008] (SWTCH): Likewise.
4188 [POSIX || POSIX2008] (VDISCARD): Likewise.
4189 [POSIX || POSIX2008] (VDSUSP): Likewise.
4190 [POSIX || POSIX2008] (VLNEXT): Likewise.
4191 [POSIX || POSIX2008] (VREPRINT): Likewise.
4192 [POSIX || POSIX2008] (VSTATUS): Likewise.
4193 [POSIX || POSIX2008] (VWERASE): Likewise.
4194 (B*): Change to B[0123456789]*.
4195 * conform/data/time.h-data [POSIX || UNIX98]
4196 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4197 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4198 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4199 [POSIX] (tm_*): Do not allow.
4201 2014-06-07 Joseph Myers <joseph@codesourcery.com>
4203 * Makefile (install): Don't set LANGUAGE.
4204 * Makefile.in (install): Likewise.
4205 * assert/Makefile (test-assert-ENV): Remove variable.
4206 (test-assert-perr-ENV): Likewise.
4207 * elf/Makefile (neededtest4-ENV): Likewise.
4208 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4209 [$(cross-compiling) = no]: Don't set LANGUAGE.
4210 * io/ftwtest-sh (LANG): Remove variable.
4211 * libio/Makefile (tst-widetext-ENV): Likewise.
4212 * manual/install.texi (Running make install): Don't refer to
4213 environment settings for make install.
4214 * INSTALL: Regenerated.
4215 * nptl/tst-tls6.sh: Don't set LANG.
4216 * posix/globtest.sh (LANG): Remove variable.
4217 * string/Makefile (tester-ENV): Likewise.
4218 (inl-tester-ENV): Likewise.
4219 (noinl-tester-ENV): Likewise.
4220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4221 [$(cross-compiling) = no]: Don't set LANGUAGE.
4222 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4223 without explicit environment settings.
4225 2014-06-06 Roland McGrath <roland@hack.frob.com>
4227 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4228 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4229 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4230 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4232 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4234 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4235 other files in the crypt directory.
4236 * crypt/crypt.c: Remove duplicate includes.
4237 * crypt/crypt-entry.c: Likewise.
4238 * crypt/crypt_util.c: Likewise.
4240 2014-06-06 Joseph Myers <joseph@codesourcery.com>
4242 * Makeconfig (run-program-env): New variable.
4243 (run-program-prefix-before-env): Likewise.
4244 (run-program-prefix-after-env): Likewise.
4245 (run-program-prefix): Define in terms of new variables.
4246 (built-program-cmd-before-env): New variable.
4247 (built-program-cmd-after-env): Likewise.
4248 (built-program-cmd): Define in terms of new variables.
4249 (test-program-prefix-before-env): New variable.
4250 (test-program-prefix-after-env): Likewise.
4251 (test-program-prefix): Define in terms of new variables.
4252 (test-program-cmd-before-env): New variable.
4253 (test-program-cmd-after-env): Likewise.
4254 (test-program-cmd): Define in terms of new variables.
4255 * Rules (make-test-out): Use $(run-program-env).
4256 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4257 (help): Do not mention environment variables. Mention
4258 --timeoutfactor option.
4259 (timeoutfactor): New variable.
4260 (blacklist_exports): Remove function.
4261 (exports): Remove variable.
4262 (command): Do not include ${exports}.
4263 * manual/install.texi (Configuring and compiling): Do not mention
4264 test wrappers preserving environment variables. Mention that last
4265 assignment to a variable must take precedence.
4266 * INSTALL: Regenerated.
4267 * benchtests/Makefile (run-bench): Use $(run-program-env).
4268 * catgets/Makefile ($(objpfx)test1.cat): Use
4269 $(built-program-cmd-before-env), $(run-program-env) and
4270 $(built-program-cmd-after-env).
4271 ($(objpfx)test2.cat): Do not specify environment variables
4273 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4274 $(run-program-env) and $(built-program-cmd-after-env).
4275 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4276 $(run-program-env) and $(test-program-cmd-after-env).
4277 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4279 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4280 run_program_env and test_program_cmd_after_env arguments.
4281 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4282 * elf/tst-pathopt.sh: Use run_program_env argument.
4283 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4284 $(test-wrapper-env) and $(run-program-env).
4285 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4286 run_program_env arguments.
4287 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4288 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4289 $(test-program-prefix-before-env), $(run-program-env) and
4290 $(test-program-prefix-after-env).
4291 ($(objpfx)tst-gettext2.out): Likewise.
4292 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4293 run_program_env and test_program_prefix_after_env arguments.
4294 * intl/tst-gettext2.sh: Likewise.
4295 * intl/tst-gettext4.sh: Do not set environment variables
4297 * intl/tst-gettext6.sh: Likewise.
4298 * intl/tst-translit.sh: Likewise.
4299 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4300 $(test-program-prefix-before-env), $(run-program-env) and
4301 $(test-program-prefix-after-env).
4302 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4303 run_program_env and test_program_prefix_after_env arguments.
4304 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4305 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4306 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4307 explicitly with each use of ${test_wrapper_env}.
4308 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4309 $(test-program-prefix-before-env), $(run-program-env) and
4310 $(test-program-prefix-after-env).
4311 * posix/tst-getconf.sh: Do not set environment variables
4313 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4314 run_program_env and test_program_prefix_after_env arguments.
4315 * stdio-common/tst-printf.sh: Do not set environment variables
4317 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4318 $(test-program-prefix-before-env), $(run-program-env) and
4319 $(test-program-prefix-after-env).
4320 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4321 run_program_env and test_program_prefix_after_env arguments.
4322 Split $test calls into $test_pre and $test.
4323 * timezone/Makefile (build-testdata): Use
4324 $(built-program-cmd-before-env), $(run-program-env) and
4325 $(built-program-cmd-after-env).
4327 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4329 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4330 strlen for non SHARED builds.
4332 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4334 * nptl/allocatestack.c (check_list): Inlined function...
4335 (__reclaim_stacks): ... here.
4337 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4340 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4343 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4345 * Rules (make-test-out): Include
4346 LOCPATH=$(common-objpfx)localedata in default environment.
4347 * debug/Makefile (tst-chk1-ENV): Remove variable.
4348 (tst-chk2-ENV): Likewise.
4349 (tst-chk3-ENV): Likewise.
4350 (tst-chk4-ENV): Likewise.
4351 (tst-chk5-ENV): Likewise.
4352 (tst-chk6-ENV): Likewise.
4353 (tst-lfschk1-ENV): Likewise.
4354 (tst-lfschk2-ENV): Likewise.
4355 (tst-lfschk3-ENV): Likewise.
4356 (tst-lfschk4-ENV): Likewise.
4357 (tst-lfschk5-ENV): Likewise.
4358 (tst-lfschk6-ENV): Likewise.
4359 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4360 (tst-iconv7-ENV): Likewise.
4361 * intl/Makefile (LOCPATH-ENV): Likewise.
4362 (tst-codeset-ENV): Likewise.
4363 (tst-gettext3-ENV): Likewise.
4364 (tst-gettext5-ENV): Likewise.
4365 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4366 (tst-fopenloc-ENV): Likewise.
4367 (tst-fgetws-ENV): Remove variable.
4368 (tst-ungetwc1-ENV): Likewise.
4369 (tst-ungetwc2-ENV): Likewise.
4370 (bug-ungetwc2-ENV): Likewise.
4371 (tst-swscanf-ENV): Likewise.
4372 (bug-ftell-ENV): Likewise.
4373 (tst-fgetwc-ENV): Likewise.
4374 (tst-fseek-ENV): Likewise.
4375 (tst-ftell-partial-wide-ENV): Likewise.
4376 (tst-ftell-active-handler-ENV): Likewise.
4377 (tst-ftell-append-ENV): Likewise.
4378 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4379 (tst-regexloc-ENV): Likewise.
4380 (bug-regex1-ENV): Likewise.
4381 (tst-regex-ENV): Likewise.
4382 (tst-regex2-ENV): Likewise.
4383 (bug-regex5-ENV): Likewise.
4384 (bug-regex6-ENV): Likewise.
4385 (bug-regex17-ENV): Likewise.
4386 (bug-regex18-ENV): Likewise.
4387 (bug-regex19-ENV): Likewise.
4388 (bug-regex20-ENV): Likewise.
4389 (bug-regex22-ENV): Likewise.
4390 (bug-regex23-ENV): Likewise.
4391 (bug-regex25-ENV): Likewise.
4392 (bug-regex26-ENV): Likewise.
4393 (bug-regex30-ENV): Likewise.
4394 (bug-regex32-ENV): Likewise.
4395 (bug-regex33-ENV): Likewise.
4396 (bug-regex34-ENV): Likewise.
4397 (bug-regex35-ENV): Likewise.
4398 (tst-rxspencer-ENV): Likewise.
4399 (tst-rxspencer-no-utf8-ENV): Likewise.
4400 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4401 (tst-sscanf-ENV): Likewise.
4402 (tst-swprintf-ENV): Likewise.
4403 (tst-swscanf-ENV): Likewise.
4404 (test-vfprintf-ENV): Likewise.
4405 (scanf13-ENV): Likewise.
4406 (bug14-ENV): Likewise.
4407 (tst-grouping-ENV): Likewise.
4408 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4409 (tst-strtod3-ENV): Likewise.
4410 (tst-strtod4-ENV): Likewise.
4411 (tst-strtod5-ENV): Likewise.
4412 (testmb2-ENV): Likewise./
4413 * string/Makefile (tst-strxfrm-ENV): Likewise.
4414 (tst-strxfrm2-ENV): Likewise.
4415 (bug-strcoll1-ENV): Likewise.
4416 (test-strcasecmp-ENV): Likewise.
4417 (test-strncasecmp-ENV): Likewise.
4418 * time/Makefile (tst-strptime-ENV): Likewise.
4419 (tst-ftime_l-ENV): Likewise.
4420 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4421 (tst-mbrtowc-ENV): Likewise.
4422 (tst-wcrtomb-ENV): Likewise.
4423 (tst-mbrtowc2-ENV): Likewise.
4424 (tst-c16c32-1-ENV): Likewise.
4425 (tst-mbsnrtowcs-ENV): Likewise.
4427 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4429 * manual/resource.texi (How to get information about the memory
4430 subsystem?): Fix typo.
4431 Reported by Peon de la Parra Ivan <peon@keba.com>
4433 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4436 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4437 (pthread_spin_lock): Branch out of spin loop to proper location.
4438 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4439 (pthread_spin_lock): Likewise.
4441 * nptl/tst-spin4.c: New test.
4442 * nptl/Makefile (tests): Add tst-spin4.
4444 2014-06-03 Andreas Schwab <schwab@suse.de>
4447 * resolv/res_send.c (send_dg): Reload file descriptor after
4450 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4452 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4454 2014-06-03 Richard Henderson <rth@redhat.com>
4456 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4457 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4458 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4459 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4460 in the SAVE_PID block.
4461 (__libc_vfork): New alias.
4462 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4464 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4465 child in registers, not on the stack. Remove RESET_PID conditionals.
4466 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4468 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4470 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4472 2014-06-03 Wilco <wdijkstr@arm.com>
4474 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4475 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4476 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4477 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4478 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4481 2014-06-03 Wilco <wdijkstr@arm.com>
4483 * sysdeps/aarch64/fpu/math_private.h
4484 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4485 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4486 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4487 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4490 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4492 * crypt/crypt-private.h: Include ufc-crypt.h.
4493 (__b64_from_24bit): Declare extern.
4494 * crypt/crypt_util.c(__b64_from_24bit): New function.
4495 (b64t): New static const variable.
4496 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4497 (b64t): Remove variable.
4498 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4499 * crypt/sha256-crypt.c: Include crypt-private.h.
4500 (b64t): Remove variable.
4501 (__sha256_crypt_r): Remove b64_from_24bit and replace
4502 with __b64_from_24bit.
4503 * crypt/sha512-crypt.c: Likewise.
4505 2014-06-02 Roland McGrath <roland@hack.frob.com>
4507 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4508 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4509 Label the code __libc_vfork rather than __vfork.
4510 [!NOT_IN_libc] (vfork): Define as weak alias.
4511 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4512 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4513 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4515 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4517 * malloc/malloc.c (malloc_info): Fix format specifier for
4520 2014-06-02 Wilco <wdijkstr@arm.com>
4522 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4525 2014-06-02 Wilco <wdijkstr@arm.com>
4528 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4529 Rewrite to reduce FPCR/FPSR accesses.
4531 2014-06-01 David S. Miller <davem@davemloft.net>
4533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4535 2014-05-31 David S. Miller <davem@davemloft.net>
4537 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4538 to occur in round to nearest mode when |x| >= 2.0
4540 2014-05-30 Richard Henderson <rth@twiddle.net>
4542 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4543 (PSEUDO_RET_NOERRNO): Remove.
4544 (ret): Don't redefine.
4545 (ret_NOERRNO): Define in terms of ret.
4546 (ret_ERRVAL): Likewise.
4548 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4549 use of PSEUDO_RET; perform the error check directly.
4551 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4553 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4556 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4558 * malloc/malloc (malloc_info): Fix formatting.
4560 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4561 Roland McGrath <roland@hack.frob.com>
4563 * malloc/malloc (malloc_info): Also print mmapped statistics.
4565 2014-05-30 Roland McGrath <roland@hack.frob.com>
4567 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4568 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4570 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4572 * malloc/malloc.c (malloc_info): Inline mi_arena.
4574 2014-05-29 Richard Henderson <rth@twiddle.net>
4576 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4577 Remove comma before expanding ASM_ARGS_##nr.
4578 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4579 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4581 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4582 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4583 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4584 (ASM_ARGS_1): Add leading comma.
4586 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4587 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4588 to __errno_location.
4589 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4590 Remove the expected plt for __errno_location.
4592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4593 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4596 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4597 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4598 it and break it down.
4599 (DOCARGS_0, DOCARGS_1): Do nothing.
4600 (DOCARGS_2): Update to store into the new stack frame.
4601 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4602 (UNDOCARGS_1): Update to restore from the new stack frame.
4603 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4604 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4607 (SINGLE_THREAD_P): New parameter for result regno.
4608 (PSEUDO): Update to match; use cbz instead of beq.
4610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4611 Use ENTRY to define the _nocancel entry point. Share the syscall
4612 and syscall error check paths with the cancel path.
4615 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4616 whitespace; tabs before and after asm mnemonics.
4618 2014-05-29 Eric Wong <normalperson@yhbt.net>
4621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4622 Call fstat64 or stat64 internally, depending on arguments passed.
4623 Replace stat buffer argument with file descriptor argument.
4624 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4625 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4626 Pass fd to __internal_statvfs instead of calling fstat64.
4627 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4628 Pass fd to __internal_statvfs64 instead of calling fstat64.
4629 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4630 Pass -1 to __internal_statvfs instead of calling stat64.
4631 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4632 Pass -1 to __internal_statvfs64 instead of calling stat64.
4634 2014-05-28 Roland McGrath <roland@hack.frob.com>
4636 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4637 that was previously under [RESET_PID].
4638 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4640 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4641 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4643 2014-05-27 Roland McGrath <roland@hack.frob.com>
4645 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4647 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4648 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4650 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4652 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4654 2014-05-27 Andreas Schwab <schwab@suse.de>
4656 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4658 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4659 * elf/rtld.c (init_tls, dl_main): Likewise.
4660 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4661 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4662 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4663 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4664 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4665 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4666 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4667 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4668 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4669 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4670 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4671 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4672 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4673 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4674 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4675 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4676 * sysdeps/generic/tls.h: Update description.
4678 2014-05-27 Will Newton <will.newton@linaro.org>
4681 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4682 and restore r2 rather than just restoring.
4684 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4687 * libio/tst-ftell-append.c: New test case.
4688 * libio/Makefile (tests): Add test case.
4689 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4691 * libio/wfileops.c (do_ftell_wide): Likewise.
4693 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4697 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4701 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4702 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4703 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4704 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4706 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4713 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4714 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4715 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4716 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4717 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4719 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4722 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4724 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4726 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4727 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4728 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4730 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4731 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4732 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4733 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4756 conditional [RESET_PID].
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4765 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4766 (__libc_vfork): New strong alias.
4767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4774 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4775 (__libc_vfork): New strong alias.
4776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4781 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4783 * malloc/malloc.c (mi_arena): New function.
4784 (malloc_info): Remove nested function mi_arena. Call non-nosted
4787 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4789 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4791 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4792 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4793 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4794 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4795 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4796 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4797 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4799 2014-05-26 Andreas Schwab <schwab@suse.de>
4802 * locale/programs/repertoire.c (repertoire_read): Add slash
4803 between I18NPATH element and file name.
4804 * locale/programs/locfile.c (locfile_read): Likewise.
4806 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4808 * nptl/pthread_mutexattr_settype.c
4809 (__pthread_mutexattr_settype):
4810 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4812 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4814 * nptl/tst-mutex5 (do_test):
4815 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4817 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4819 * benchtests/README: Document 'init' directive.
4820 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4822 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4823 (parse_file): Recognize 'init' directive.
4825 2014-05-26 Kyle McMartin <kyle@redhat.com>
4828 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4829 alignment of struct pthread.
4831 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4834 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4835 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4836 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4837 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4839 2014-05-25 Richard Henderson <rth@twiddle.net>
4841 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4842 (SINGLE_THREAD_P_PIC): Remove.
4843 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4844 (SINGLE_THREAD_P_PIC): Remove.
4846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4847 branch to syscall error ...
4849 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4850 from __local_syscall_error to .Lsyscall_error.
4851 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4852 (SYSCALL_ERROR): Update label name.
4854 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4855 Do not use DOARGS/UNDOARGS.
4856 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4857 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4858 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4859 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4860 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4865 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4866 define if !NOT_IN_libc.
4867 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4868 define with non-default symbol versions.
4870 2014-05-23 Richard Henderson <rth@twiddle.net>
4872 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4873 (vfork, __vfork): Define via compat_symbol.
4875 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4876 [!HAVE_IFUNC] (vfork_compat): Remove.
4877 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4879 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4882 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4883 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4886 2014-05-23 Richard Henderson <rth@twiddle.net>
4888 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4889 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4890 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4891 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4893 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4894 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4896 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4897 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4898 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4899 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4900 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4901 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4902 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4903 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4904 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4905 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4906 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4908 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4909 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4910 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4911 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4912 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4914 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4920 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4922 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4923 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4924 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4925 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4926 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4927 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4928 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4929 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4930 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4932 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4933 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4934 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4935 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4936 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4937 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4938 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4939 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4940 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4942 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4944 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4945 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4946 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4947 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4948 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4950 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4951 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4952 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4953 before exiting on error.
4954 (__libc_vfork): New strong alias.
4955 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4956 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4958 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4959 that was previously under [RESET_PID].
4960 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4962 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4964 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4967 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4968 value when x - 1 is zero.
4969 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4970 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4971 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4972 0.0L for an argument of 1.0L.
4973 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4975 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4976 value when x - 1 is zero.
4977 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4978 * sysdeps/i386/fpu/libm-test-ulps: Update.
4979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4981 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4983 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4984 alphasort and versionsort.
4986 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4988 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4990 [copysignf]: Likewise.
4992 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4994 * crypt/md5-crypt.c: Fix formatting.
4996 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4998 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4999 (b64_from_24bit): New function.
5001 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5003 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5004 libc_hidden_builtin_def to ifunc.
5005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5006 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5008 2014-05-21 Roland McGrath <roland@hack.frob.com>
5010 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5011 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5013 2014-05-21 Joseph Myers <joseph@codesourcery.com>
5015 * nscd/Depend (linuxthreads): Remove.
5017 * resolv/Depend (linuxthreads): Remove.
5018 * rt/Depend (linuxthreads): Remove.
5020 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5021 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5022 $(common-objpfx)elf/.
5023 (link-libc-before-gnulib): Likewise.
5024 (elfobjdir): Remove variable.
5025 * Makefile (install): Use $(elf-objpfx) instead of
5026 $(common-objpfx)elf/.
5027 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5029 (link-libc-deps): Likewise.
5030 ($(common-objpfx)libc.so): Likewise.
5031 ($(common-objpfx)linkobj/libc.so): Likewise.
5032 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5033 instead of $(common-objpfx)elf/.
5034 (symbolic-link-list): Likewise.
5035 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5036 [$(cross-compiling) = no]: Likewise.
5037 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5039 (static-gnulib-arch): Likewise.
5040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5041 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5042 $(common-objpfx)elf/.
5044 2014-05-21 Richard Henderson <rth@redhat.com>
5046 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5047 (SINGLE_THREAD_P): Use the correct width load. Fold
5048 into the ldr offset.
5050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5051 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5053 2014-05-20 Joseph Myers <joseph@codesourcery.com>
5055 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5056 (libgcc_s_resume): Use __attribute_used__.
5057 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5060 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5062 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5063 optimization when used with float constants.
5065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5067 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5070 * locale/nl_langinfo_l.c: Make direct reference to every
5071 _nl_current_CATEGORY symbol.
5072 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5073 (tests-static): Add tst-langinfo-static.
5074 (tests-special): Add tst-langinfo-static.out.
5075 ($(objpfx)tst-langinfo.out): Redirect output.
5076 ($(objpfx)tst-langinfo-static.out): New.
5077 * localedata/tst-langinfo.sh: Send output to stdout.
5078 * localedata/tst-langinfo-static.c: New file.
5081 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5082 when the shift amount is modulo the limb size.
5084 2014-05-20 Richard Henderson <rth@redhat.com>
5087 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5088 Change type of sa_flags from unsigned int to int.
5091 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5093 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5095 2014-05-20 Will Newton <will.newton@linaro.org>
5097 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5098 Test the return value of the system call in the nocancel case.
5100 2014-05-20 Will Newton <will.newton@linaro.org>
5101 Yvan Roux <yvan.roux@linaro.org>
5103 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5104 #include of asm/ptrace.h.
5105 (PTRACE_GET_THREAD_AREA): Remove #undef.
5106 (PTRACE_GETHBPREGS): Likewise.
5107 (PTRACE_SETHBPREGS): Likewise.
5108 (struct user_regs_struct): New structure.
5109 (struct user_fpsimd_struct): New structure.
5110 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5111 #include of asm/ptrace.h and second #include of sys/user.h.
5112 (PTRACE_GET_THREAD_AREA): Remove #undef.
5113 (PTRACE_GETHBPREGS): Likewise.
5114 (PTRACE_SETHBPREGS): Likewise.
5115 (ELF_NGREG): Use new struct user_regs_struct.
5116 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5118 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5120 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5123 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5127 membar to avoid block loads/stores to overlap previous stores.
5129 2014-05-17 Richard Henderson <rth@redhat.com>
5131 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5132 Create the __##syscall_name##_nocancel entry point.
5133 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5134 Remove; let the sysdep-cancel.h code create it.
5136 2014-05-17 David S. Miller <davem@davemloft.net>
5138 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5139 Protect with __USE_GNU.
5140 (TIOCSET_TEMPT): Likewise.
5141 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5142 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5143 these are already provided in bits/ioctl-types.h
5145 2014-05-16 Roland McGrath <roland@hack.frob.com>
5147 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5148 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5150 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5151 Use wait4 regardless of [__NR_waitpid].
5153 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5156 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5157 (_FP_NANSIGN_Q): Set the quiet bit.
5159 2014-05-16 Joseph Myers <joseph@codesourcery.com>
5161 * benchtests/Makefile
5162 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5163 not $(common-objpfx)math/libm.so.
5164 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5165 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5166 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5167 $(common-objpfx)dlfcn/libdl.so.
5168 ($(objpfx)tst-audit8): Depend on $(libm), not
5169 $(common-objpfx)math/libm.so.
5170 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5171 not $(common-objpfx)dlfcn/libdl.so.
5173 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5174 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5175 [$(build-shared) = yes].
5176 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5177 $(common-objpfx)nptl/libpthread.so.
5178 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5179 $(common-objpfx)math/libm.so$(libm.so-version) or
5180 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5181 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5182 $(common-objpfx)dlfcn/libdl.so.
5183 * setjmp/Makefile (link-libm): Remove variable.
5184 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5185 * stdio-common/Makefile (link-libm): Remove variable.
5186 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5187 * stdlib/Makefile (link-libm): Remove variable.
5188 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5189 ($(objpfx)tst-strtod-round): Likewise.
5190 ($(objpfx)tst-tininess): Likewise.
5191 ($(objpfx)tst-strtod-underflow): Likewise.
5192 ($(objpfx)tst-strtod6): Likewise.
5193 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5194 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5195 $(common-objpfx)dlfcn/libdl.so.
5197 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5200 BSD terminal modes definitions.
5202 2014-05-16 Roland McGrath <roland@hack.frob.com>
5204 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5205 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5207 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5208 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5209 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5210 Don't do #include_next.
5211 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5212 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5213 Don't do #include_next.
5214 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5215 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5216 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5217 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5219 2014-05-16 Allan McRae <allan@archlinux.org>
5221 * po/sv.po: Update Swedish translation from translation project.
5223 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5226 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5229 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5230 errno if the TIOCGPTN ioctl fails with an error different than
5232 * login/tst-ptsname.c: New file.
5233 * login/Makefile (tests): Add tst-ptsname.
5236 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5239 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5243 herrno to return EAI_AGAIN.
5245 2014-05-14 Roland McGrath <roland@hack.frob.com>
5247 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5248 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5249 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5250 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5251 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5252 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5253 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5254 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5256 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5262 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5266 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5274 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5276 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5278 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5283 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5285 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5287 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5289 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5291 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5297 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5299 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5301 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5303 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5305 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5307 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5309 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5312 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5316 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5318 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5320 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5324 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5326 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5328 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5330 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5333 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5335 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5337 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5338 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5339 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5340 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5341 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5343 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5345 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5346 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5347 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5349 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5351 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5353 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5355 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5357 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5359 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5360 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5361 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5362 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5364 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5365 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5366 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5367 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5369 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5370 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5372 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5373 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5374 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5375 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5376 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5385 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5386 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5390 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5394 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5395 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5397 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5399 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5400 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5402 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5403 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5407 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5408 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5409 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5410 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5415 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5417 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5418 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5419 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5420 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5421 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5430 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5431 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5435 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5440 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5442 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5444 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5447 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5448 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5450 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5452 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5453 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5454 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5455 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5460 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5462 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5464 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5466 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5467 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5468 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5469 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5470 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5476 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5477 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5479 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5484 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5485 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5486 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5491 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5493 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5495 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5498 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5499 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5503 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5504 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5506 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5511 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5513 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5514 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5515 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5516 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5517 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5518 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5519 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5520 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5521 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5523 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5525 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5526 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5528 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5529 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5531 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5532 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5533 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5535 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5537 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5539 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5541 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5543 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5545 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5547 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5550 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5552 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5555 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5557 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5559 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5561 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5569 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5570 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5571 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5572 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5573 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5575 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5577 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5579 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5581 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5583 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5586 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5587 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5588 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5589 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5591 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5592 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5593 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5594 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5595 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5596 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5597 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5598 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5599 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5600 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5602 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5605 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5606 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5608 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5610 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5611 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5612 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5613 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5614 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5615 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5616 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5617 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5618 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5641 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5642 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5643 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5645 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5646 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5647 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5648 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5650 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5651 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5652 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5653 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5656 that was previously under [RESET_PID].
5657 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5658 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5659 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5661 * sysdeps/i386/nptl/Implies: New file.
5662 * sysdeps/x86_64/nptl/Implies: New file.
5663 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5664 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5666 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5668 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5669 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5670 (__libc_vfork): New strong alias.
5671 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5672 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5674 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5675 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5676 (__libc_vfork): New strong alias.
5677 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5678 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5680 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5681 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5682 (__libc_vfork): New strong alias.
5683 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5684 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5685 * nptl/pt-vfork.c: New file.
5686 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5687 (libpthread: GLIBC_2.20): New version set (empty).
5689 2014-05-14 Will Newton <will.newton@linaro.org>
5691 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5694 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5697 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5698 arguments with exponent 65 or above.
5699 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5700 arguments 0x1p113L or above.
5701 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5702 to arguments 0x1p107L or above.
5703 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5704 positive arguments with exponent 65 or above.
5705 * math/auto-libm-test-in: Add more tests of log1p.
5706 * math/auto-libm-test-out: Regenerated.
5709 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5710 non-finite arguments is +0.
5711 * math/s_cacosf.c (__cacosf): Likewise.
5712 * math/s_cacosl.c (__cacosl): Likewise.
5713 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5714 * sysdeps/i386/fpu/libm-test-ulps: Update.
5715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5718 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5720 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5721 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5722 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5723 for explicit high bit of mantissa when testing for argument equal
5725 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5726 * sysdeps/i386/fpu/libm-test-ulps: Update.
5727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5730 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5731 (__erf): Scale by 16 instead of 8 in potentially underflowing
5732 case. Ensure exception if result actually underflows.
5733 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5734 (__erff): Scale by 16 instead of 8 in potentially underflowing
5735 case. Ensure exception if result actually underflows.
5736 * sysdeps/ieee754/ldbl-128/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-128ibm/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 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5745 (efx8): Remove variable.
5746 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5747 case. Ensure exception if result actually underflows.
5748 * math/auto-libm-test-in: Add more tests of erf.
5749 * math/auto-libm-test-out: Regenerated.
5751 2014-05-14 Andreas Schwab <schwab@suse.de>
5753 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5754 Remove code conditionalized on USE___THREAD.
5756 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5757 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5760 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5763 Define unconditionally.
5764 (__ASSUME_O_CLOEXEC): Likewise.
5765 (__ASSUME_SOCK_CLOEXEC): Likewise.
5766 (__ASSUME_IN_NONBLOCK): Likewise.
5767 (__ASSUME_PIPE2): Likewise.
5768 (__ASSUME_EVENTFD2): Likewise.
5769 (__ASSUME_SIGNALFD4): Likewise.
5770 (__ASSUME_DUP3): Likewise.
5771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5772 (__ASSUME_DUP3): Do not define.
5773 (__ASSUME_EVENTFD2): Likewise.
5774 (__ASSUME_IN_NONBLOCK): Likewise.
5775 (__ASSUME_O_CLOEXEC): Likewise.
5776 (__ASSUME_PIPE2): Likewise.
5777 (__ASSUME_SIGNALFD4): Likewise.
5778 (__ASSUME_SOCK_CLOEXEC): Likewise.
5779 (__ASSUME_UTIMES): Undefine.
5780 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5781 (__ASSUME_UTIMES): Do not define.
5782 (__ASSUME_O_CLOEXEC): Likewise.
5783 (__ASSUME_SOCK_CLOEXEC): Likewise.
5784 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5785 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5787 (__ASSUME_PIPE2): Likewise.
5788 (__ASSUME_EVENTFD2): Likewise.
5789 (__ASSUME_SIGNALFD4): Likewise.
5790 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5791 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5793 (__ASSUME_EVENTFD2): Likewise.
5794 (__ASSUME_SIGNALFD4): Likewise.
5795 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5796 (__ASSUME_32BITUIDS): Likewise.
5797 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5798 (__ASSUME_IPC64): Likewise.
5799 (__ASSUME_ST_INO_64_BIT): Likewise.
5800 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5801 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5802 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5803 (__ASSUME_UTIMES): Do not define.
5804 (__ASSUME_PSELECT): Likewise.
5805 (__ASSUME_PPOLL): Likewise.
5806 (__ASSUME_O_CLOEXEC): Likewise.
5807 (__ASSUME_SOCK_CLOEXEC): Likewise.
5808 (__ASSUME_IN_NONBLOCK): Likewise.
5809 (__ASSUME_PIPE2): Likewise.
5810 (__ASSUME_EVENTFD2): Likewise.
5811 (__ASSUME_SIGNALFD4): Likewise.
5812 (__ASSUME_DUP3): Likewise.
5813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5814 (__ASSUME_UTIMES): Likewise.
5815 (__ASSUME_O_CLOEXEC): Likewise.
5816 (__ASSUME_SOCK_CLOEXEC): Likewise.
5817 (__ASSUME_IN_NONBLOCK): Likewise.
5818 (__ASSUME_PIPE2): Likewise.
5819 (__ASSUME_EVENTFD2): Likewise.
5820 (__ASSUME_SIGNALFD4): Likewise.
5821 (__ASSUME_DUP3): Likewise.
5822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5823 (__ASSUME_UTIMES): Likewise.
5824 (__ASSUME_O_CLOEXEC): Likewise.
5825 (__ASSUME_SOCK_CLOEXEC): Likewise.
5826 (__ASSUME_IN_NONBLOCK): Likewise.
5827 (__ASSUME_PIPE2): Likewise.
5828 (__ASSUME_EVENTFD2): Likewise.
5829 (__ASSUME_SIGNALFD4): Likewise.
5830 (__ASSUME_DUP3): Likewise.
5831 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5833 (__ASSUME_UTIMES): Likewise.
5834 (__ASSUME_EVENTFD2): Likewise.
5835 (__ASSUME_SIGNALFD4): Likewise.
5836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5837 (__ASSUME_O_CLOEXEC): Likewise.
5838 (__ASSUME_SOCK_CLOEXEC): Likewise.
5839 (__ASSUME_IN_NONBLOCK): Likewise.
5840 (__ASSUME_PIPE2): Likewise.
5841 (__ASSUME_EVENTFD2): Likewise.
5842 (__ASSUME_SIGNALFD4): Likewise.
5843 (__ASSUME_DUP3): Likewise.
5844 (__ASSUME_UTIMES): Undefine.
5846 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5847 feclearexcept. Remove symbol versioning code.
5848 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5849 symbol versioning code.
5850 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5851 symbol versioning code.
5852 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5853 feupdateenv. Remove symbol versioning code.
5854 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5855 fegetexceptflag. Remove symbol versioning code.
5856 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5857 fesetexceptflag. Remove symbol versioning code.
5858 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5859 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5860 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5861 (__posix_fadvise64_l32): Remove prototype.
5862 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5865 2014-05-13 Roland McGrath <roland@hack.frob.com>
5867 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5868 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5869 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5870 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5872 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5874 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5875 current working directory
5877 2014-05-13 Roland McGrath <roland@hack.frob.com>
5879 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5880 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5881 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5882 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5883 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5884 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5885 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5886 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5887 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5888 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5889 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5890 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5891 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5892 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5912 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5913 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5914 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5915 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5916 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5917 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5918 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5919 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5920 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5922 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5923 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5925 * sysdeps/unix/sysv/linux/arm/Makefile
5926 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5927 Add rt-aeabi_unwind_cpp_pr1.
5928 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5929 Add nptl-aeabi_unwind_cpp_pr1.
5930 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5931 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5932 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5933 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5934 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5935 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5937 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5938 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5939 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5940 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5942 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5943 Deconditionalize the code that was previously under [RESET_PID].
5944 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5946 * sysdeps/generic/exit-thread.h: New file.
5947 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5948 * include/unistd.h (__exit_thread): Remove declaration.
5949 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5950 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5951 * csu/libc-start.c: Include <exit-thread.h>.
5952 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5953 * nptl/pthread_create.c: Include <exit-thread.h>.
5954 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5955 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5956 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5957 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5958 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5959 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5960 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5961 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5962 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5963 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5964 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5965 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5966 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5967 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5968 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5969 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5970 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5972 2014-05-13 Andreas Schwab <schwab@suse.de>
5974 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5976 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5978 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5979 (__ASSUME_UTIMES): Do not condition on kernel version.
5980 (__ASSUME_PSELECT): Define unconditionally.
5981 (__ASSUME_PPOLL): Likewise.
5982 (__ASSUME_ATFCTS): Likewise.
5983 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5984 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5985 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5986 (__ASSUME_UTIMENSAT): Define unconditionally.
5987 (__ASSUME_PRIVATE_FUTEX): Likewise.
5988 (__ASSUME_FALLOCATE): Likewise.
5989 (__ASSUME_O_CLOEXEC): Likewise.
5990 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5991 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5992 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5993 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5994 (__ASSUME_IN_NONBLOCK): Likewise.
5995 (__ASSUME_PIPE2): Likewise.
5996 (__ASSUME_EVENTFD2): Likewise.
5997 (__ASSUME_SIGNALFD4): Likewise.
5998 (__ASSUME_DUP3): Likewise.
5999 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6000 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6001 (__ASSUME_AT_RANDOM): Likewise.
6002 (__ASSUME_PREADV): Likewise.
6003 (__ASSUME_PWRITEV): Likewise.
6004 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6005 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6006 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6008 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6009 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6010 (__ASSUME_O_CLOEXEC): Define unconditionally.
6011 (__ASSUME_PSELECT): Do not undefine conditionally.
6012 (__ASSUME_PPOLL): Likewise.
6013 (__ASSUME_ATFCTS): Likewise.
6014 (__ASSUME_SET_ROBUST_LIST): Likewise.
6015 (__ASSUME_UTIMENSAT): Likewise.
6016 (__ASSUME_FDATASYNC): Define unconditionally.
6017 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6018 (__ASSUME_SIGFRAME_V2): Likewise.
6019 )__ASSUME_EVENTFD2): Likewise.
6020 (__ASSUME_SIGNALFD4): Likewise.
6021 (__ASSUME_PSELECT): Do not undefine conditionally.
6022 (__ASSUME_PPOLL): Likewise.
6023 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6024 (__ASSUME_PSELECT): Define unconditionally.
6025 (__ASSUME_PPOLL): Likewise.
6026 (__ASSUME_O_CLOEXEC): Likewise.
6027 (__ASSUME_SOCK_CLOEXEC): Likewise.
6028 (__ASSUME_IN_NONBLOCK): Likewise.
6029 (__ASSUME_PIPE2): Likewise.
6030 (__ASSUME_EVENTFD2): Likewise.
6031 (__ASSUME_SIGNALFD4): Likewise.
6032 (__ASSUME_DUP3): Likewise.
6033 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6034 (__ASSUME_O_CLOEXEC): Likewise.
6035 (__ASSUME_SOCK_CLOEXEC): Likewise.
6036 (__ASSUME_IN_NONBLOCK): Likewise.
6037 (__ASSUME_PIPE2): Likewise.
6038 (__ASSUME_EVENTFD2): Likewise.
6039 (__ASSUME_SIGNALFD4): Likewise.
6040 (__ASSUME_DUP3): Likewise.
6041 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6042 (__ASSUME_EVENTFD2): Likewise.
6043 (__ASSUME_SIGNALFD4): Likewise.
6044 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6046 2014-05-12 Andreas Schwab <schwab@suse.de>
6049 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6050 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6051 than maximum RPC packet size.
6052 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6053 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6054 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6055 (_nss_nis_getservbyport_r): Likewise.
6057 2014-05-12 Will Newton <will.newton@linaro.org>
6059 * malloc/Makefile (tests): Add tst-mallopt.
6060 * malloc/tst-mallopt.c: New file.
6062 2014-05-09 Roland McGrath <roland@hack.frob.com>
6064 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6065 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6067 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6069 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6070 (tst-tlsmod6.so): Likewise.
6072 2014-05-09 Roland McGrath <roland@hack.frob.com>
6074 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6076 2014-05-09 Joseph Myers <joseph@codesourcery.com>
6079 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6080 and <dl-procinfo.h>.
6081 (__fegetenv): Save SSE state in envp->__eip if supported.
6082 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6083 envp->__eip if supported.
6084 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6085 and <dl-procinfo.h>.
6086 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6087 __data_offset and __data_selector in environment to 0. Set SSE
6089 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6091 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6093 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6095 2014-05-09 Will Newton <will.newton@linaro.org>
6097 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6098 and libc_relro_required for ARM.
6099 * sysdeps/arm/preconfigure: Regenerate.
6101 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6102 Stefan Liebler <stli@linux.vnet.ibm.com>
6104 * config.make.in (enable-lock-elision): New Makefile variable.
6105 * configure.ac: Likewise.
6106 * configure: Regenerate.
6107 * sysdeps/s390/configure.ac:
6108 Add check for gcc transactions support.
6109 * sysdeps/s390/configure: Regenerate.
6110 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6111 Build elision files if enabled.
6112 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6113 Add lock elision support for s390.
6114 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6115 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6116 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6117 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6118 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6119 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6120 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6122 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6124 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6126 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6128 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6129 (__lll_timedlock_elision, __lll_lock_elision)
6130 (__lll_unlock_elision, __lll_trylock_elision)
6131 (lll_timedlock_elision, lll_lock_elision)
6132 (lll_unlock_elision, lll_trylock_elision): Add.
6133 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6134 (pthread_mutex_t): Add lock elision support for s390.
6136 2014-05-14 Wilco <wdijkstr@arm.com>
6138 * sysdeps/arm/fclrexcpt.c: Cleanup.
6139 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6140 * sysdeps/arm/feenablxcpt.c: Cleanup.
6141 * sysdeps/arm/fegetenv.c: Cleanup.
6142 * sysdeps/arm/fegetexcept.c: Cleanup.
6143 * sysdeps/arm/fegetround.c: Cleanup.
6144 * sysdeps/arm/feholdexcpt.c: Cleanup.
6145 * sysdeps/arm/fesetenv.c: Cleanup.
6146 * sysdeps/arm/fesetround.c: Cleanup.
6147 * sysdeps/arm/feupdateenv.c: Cleanup.
6148 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6149 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6150 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6151 * sysdeps/arm/ftestexcept.c: Cleanup.
6152 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6153 * sysdeps/arm/setfpucw.c: Cleanup.
6155 2014-05-09 Will Newton <will.newton@linaro.org>
6157 * sysdeps/arm/armv7/strcmp.S: New file.
6158 * NEWS: Mention addition of ARMv7 optimized strcmp.
6160 2014-05-08 Roland McGrath <roland@hack.frob.com>
6162 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6163 look for %.ac rather than %.in.
6165 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6166 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6167 * sysdeps/mach/hurd/configure: Regenerated.
6168 * sysdeps/unix/sysv/linux/configure: Regenerated.
6170 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6172 2014-05-07 Steve Ellcey <sellcey@mips.com>
6175 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6179 2014-05-07 Andreas Schwab <schwab@suse.de>
6181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6182 when skipping over non-matching result from nscd.
6184 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
6187 * nptl/sockperf.c (client): Check socket return value.
6190 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6191 nscd security class.
6193 2014-05-06 Roland McGrath <roland@hack.frob.com>
6195 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6196 * sysdeps/arm/unwind.h: ... here.
6198 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6201 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6204 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6206 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6207 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6208 multiarch strncpy for PPC64.
6209 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6210 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6212 multiarch optimizations.
6213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6214 (__libc_ifunc_impl_list): Likewise.
6215 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6216 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6217 multiarch stpncpy for PPC64.
6218 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6219 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6221 2014-05-06 Andreas Schwab <schwab@suse.de>
6224 * gmon/mcount.c (_MCOUNT_DECL): Use
6225 atomic_compare_and_exchange_bool_acq instead of
6226 catomic_compare_and_exchange_bool_acq.
6228 2014-05-05 Roland McGrath <roland@hack.frob.com>
6230 * elf/Makefile (others, install-bin): Remove pldd.
6231 (pldd-modules): Variable removed.
6232 ($(objpfx)pldd): Target removed.
6233 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6234 (others, install-bin): Append pldd here.
6235 ($(objpfx)pldd): New target.
6237 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6238 to 0, so the first #if test emitted later doesn't see it undefined.
6239 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6240 * sysdeps/gnu/errlist.c: Regenerated.
6242 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6245 [libc_hidden_builtin_def]: Define to empty value.
6246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6247 [libc_hidden_builtin_def]: Likewise.
6248 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6249 [libc_hidden_builtin_def]: Likewise.
6250 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6251 [libc_hidden_builtin_def]: Likewise.
6252 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6253 __redirect_memcpy and define ifunc as default hidden symbol.
6254 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6255 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6257 2014-05-04 Adam Conrad <adconrad@0c3.net>
6259 * locale/iso-4217.def: Reintroduce XDR currency.
6261 2014-05-04 Allan McRae <allan@archlinux.org>
6263 * po/eo.po: Update Esperanto translation from translation project.
6265 2014-05-02 Carlos O'Donell <carlos@redhat.com>
6267 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6268 and FEATURE_INDEX_MAX to 1.
6269 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6271 2014-05-01 Steve Ellcey <sellcey@mips.com>
6273 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6274 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6275 * iconvdata/big5.c (ONE_DIRECTION): Define.
6276 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6277 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6278 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6279 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6280 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6281 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6282 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6283 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6284 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6285 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6286 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6287 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6288 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6289 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6290 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6291 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6292 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6293 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6294 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6295 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6296 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6297 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6298 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6299 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6300 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6301 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6302 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6303 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6304 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6305 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6306 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6307 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6308 * iconvdata/johab.c (ONE_DIRECTION): Define.
6309 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6310 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6311 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6312 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6313 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6314 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6315 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6316 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6317 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6318 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6320 2014-05-01 Roland McGrath <roland@hack.frob.com>
6322 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6323 (_IO_JUMPS_OFFSET): Define to 0.
6325 * nptl/sysdeps/pthread/bits/libc-lock.h
6326 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6327 (__libc_lock_define_initialized_recursive): Always define using
6328 initializer. Modern compilers treat uninitialized (implicit zero) and
6329 explicit zero initializers the same (i.e. put the datum in bss).
6331 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6333 * nscd/nscd-client.h: Include <string.h>.
6335 2014-05-01 David S. Miller <davem@davemloft.net>
6338 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6339 multiple zero bytes exist at the end of a string.
6340 Reported by Aurelien Jarno <aurelien@aurel32.net>
6342 * string/test-strcmp.c (check): Add explicit test for situations where
6343 there are multiple zero bytes after the first.
6345 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6348 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6349 when compiling wprintf.
6350 * stdio-common/tstdiomisc.c (t3): New function.
6353 2014-05-01 Steve Ellcey <sellcey@mips.com>
6355 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6356 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6357 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6358 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6360 2014-05-01 Steve Ellcey <sellcey@mips.com>
6362 * stdlib/longlong.h: Updated from GCC.
6364 2014-05-01 Will Newton <will.newton@linaro.org>
6365 Bernard Ogden <bernie.ogden@linaro.org>
6367 * NEWS: Update fixed bug list.
6370 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6372 2014-04-30 David S. Miller <davem@davemloft.net>
6374 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6375 (libc_feholdexcept_setround_sparc_ctx): New function.
6376 (libc_fesetenv_sparc_ctx): Likewise.
6377 (libc_feupdateenv_sparc_ctx): Likewise.
6378 (libc_feholdsetround_sparc_ctx): Likewise.
6379 (libc_feholdexcept_setround_ctx): Define.
6380 (libc_feholdexcept_setroundf_ctx): Likewise.
6381 (libc_feholdexcept_setroundl_ctx): Likewise.
6382 (libc_fesetenv_ctx): Likewise.
6383 (libc_fesetenvf_ctx): Likewise.
6384 (libc_fesetenvl_ctx): Likewise.
6385 (libc_feupdateenv_ctx): Likewise.
6386 (libc_feupdateenvf_ctx): Likewise.
6387 (libc_feupdateenvl_ctx): Likewise.
6388 (libc_feresetround_ctx): Likewise.
6389 (libc_feresetroundf_ctx): Likewise.
6390 (libc_feresetroundl_ctx): Likewise.
6391 (libc_feholdsetround_ctx): Likewise.
6392 (libc_feholdsetroundf_ctx): Likewise.
6393 (libc_feholdsetroundl_ctx): Likewise.
6395 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6396 with __USE_GNU instead of XOPEN cpp guards.
6398 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6401 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6402 with XOPEN cpp guards.
6404 2014-04-30 Julian Brown <julian@codesourcery.com>
6407 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6410 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6413 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6415 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6416 * sysdeps/unix/sysv/linux/configure: Regenerated.
6417 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6418 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6419 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6420 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6421 * README: Update reference to required Linux kernel version.
6422 * manual/install.texi (Linux): Update reference to required Linux
6423 kernel headers version.
6424 * INSTALL: Regenerated.
6426 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6428 [POSIX] (limits.h): Likewise.
6429 [POSIX] (math.h): Likewise.
6430 [POSIX] (sys/wait.h): Likewise.
6431 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6433 [POSIX] (stddef.h): Do not allow header inclusion.
6435 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6439 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6441 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6442 Return immediately after lll_futex_wake.
6444 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6447 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6449 (datahead_init_pos): Call datahead_init_common early.
6450 (datahead_init_neg): Likewise.
6452 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6453 datahead_init_neg): New functions.
6454 * nscd/aicache.c (addhstaiX): Use them.
6455 * nscd/grpcache.c (cache_addgr): Likewise.
6456 * nscd/hstcache.c (cache_addhst): Likewise.
6457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6458 * nscd/netgroupcache.c (do_notfound): Likewise.
6459 (addgetnetgrentX): Likewise.
6460 (addinnetgrX): Likewise.
6461 * nscd/pwdcache.c (cache_addpw): Likewise.
6462 * nscd/servicescache.c (cache_addserv): Likewise.
6464 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6465 Atsushi Onoe <atsushi@onoe.org>
6470 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6471 one response is valid.
6472 * resolv/res_send.c (send_dg): Check for validity of other
6473 response if the current response is a referral.
6475 2014-04-29 Steve Ellcey <sellcey@mips.com>
6477 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6479 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6482 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6483 Always divide by positive zero when computing -Inf result.
6484 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6485 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6487 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6489 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6490 FPSCR if value do not change.
6491 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6492 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6493 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6494 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6495 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6496 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6499 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6501 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6502 * sysdeps/unix/sysv/linux/hppa: Move directory from
6503 ports/systeps/unix/sysv/linux/hppa.
6504 * README: Update listing for hppa-*-linux-gnu.
6506 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6509 * manual/stdio.texi (Hook functions): Fix types of stream hook
6512 * socket/sys/socket.h: Fix typo in comment.
6514 2014-04-28 Wilco <wdijkstr@arm.com>
6516 * sysdeps/arm/fenv_private.h: New file.
6517 * sysdeps/arm/math_private.h: New file.
6518 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6520 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6522 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6524 (La_x86_64_retval): Likewise.
6526 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6528 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6529 fpsr if value didn't change.
6530 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6531 to fpcr if value didn't change.
6532 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6533 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6534 fpsr or fpcr if value didn't change.
6535 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6536 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6537 fpcr if value didn't change.
6538 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6539 to fpsr if value didn't change.
6541 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6543 * nptl/tst-sem3.c: Use test-skeleton.c
6544 (main): Rename to do_test. Use return instead of
6546 * nptl/tst-sem4.c: Use test-skeleton.c
6547 (main): Rename to do_test.
6549 2014-04-22 David S. Miller <davem@davemloft.net>
6551 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6552 (struct sigaction): New struct member __glibc_reserved0, change
6553 type of sa_flags to int.
6555 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6557 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6558 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6560 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6562 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6563 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6565 2014-04-22 Will Newton <will.newton@linaro.org>
6566 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6568 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6569 (__longjmp): Add longjmp and longjmp_target SystemTap
6571 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6572 (__sigsetjmp): Add setjmp SystemTap probe.
6574 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6576 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6579 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6583 * sysdeps/powerpc/fpu/fenv_private.h
6584 (libc_feholdexcept_setroundl_ctx): Define to
6585 libc_feholdexcept_setround_ppc_ctx.
6586 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6587 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6588 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6589 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6591 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6593 * sysdeps/aarch64/math-tests.h: New file.
6595 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6597 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6600 Check and set bit_AVX2_Usable.
6601 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6603 (bit_AVX2): Likewise.
6604 (index_AVX2_Usable): Likewise.
6605 (CPUID_AVX2): Likewise.
6606 (HAS_AVX2): Likewise.
6608 2014-04-17 Will Newton <will.newton@linaro.org>
6610 * manual/setjmp.texi (System V contexts): Add note that
6611 calling setcontext on a context created by a call to a
6612 signal handler is undefined. Update text to note that
6613 setcontext from a signal handler is possible but not
6617 * stdlib/tst-setcontext.c: Include signal.h.
6618 (main): Check that the signal stack before and
6619 after swapcontext is the same.
6621 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6622 Re-implement to restore registers in user code and avoid
6623 rt_sigreturn system call.
6625 2014-04-17 Wilco <wdijkstr@arm.com>
6627 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6628 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6629 * math/test-fenv.c: Skip exception trap tests on targets which only
6630 support non-stop mode.
6632 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6633 Wilco Dijkstra <wilco.dijkstra@arm.com>
6635 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6636 (libc_feholdsetround_aarch64_ctx)
6637 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6638 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6639 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6640 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6641 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6642 (libc_feresetround_noexl_ctx): Define.
6644 2014-04-16 Richard Henderson <rth@redhat.com>
6646 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6648 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6651 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6652 const from the non-libc, non-ldso copy.
6654 * sysdeps/alpha/libm-test-ulps: Regenerate.
6656 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6657 Wilco Dijkstra <wilco.dijkstra@arm.com>
6659 * sysdeps/aarch64/fpu/math_private.h: New file.
6661 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6663 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6665 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6667 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6668 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6670 Intel MPX bound registers before _dl_profile_fixup.
6671 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6672 registers after _dl_profile_fixup. Save and restore bound
6673 registers bnd0/bnd1 when calling _dl_call_pltexit.
6674 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6675 (LR_BND_OFFSET): Likewise.
6676 (LRV_BND0_OFFSET): Likewise.
6677 (LRV_BND1_OFFSET): Likewise.
6679 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6681 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6683 * sysdeps/mach/hurd/i386/tls.h: ... here.
6684 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6685 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6688 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6690 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6692 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6694 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6696 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6699 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6700 * sysdeps/s390/configure: Regenerate.
6703 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6704 Set round-to-nearest internally to reduce error accumulation.
6706 2014-04-16 Alan Modra <amodra@gmail.com>
6710 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6711 * math/libm-test.inc (frexp_test_data): Add tests.
6712 * NEWS: Update fixed bug list.
6714 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6716 * benchtests/Makefile: Depend on libraries in build directory.
6717 (bench-math): Separate out math tests.
6718 (bench-pthread): Separate out pthread tests.
6719 (bench): Include math and pthread tests.
6721 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6724 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6725 _dl_debug_initialize.
6727 * configure.ac: Remove SELinux header check.
6728 * configure: Regenerate.
6729 * nscd/selinux.c (perms): Array of const char* to permission names.
6730 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6731 default policy. Call string_to_security_class and string_to_av_perm to
6732 translate strings. Enforce default policy and call avs_has_perm with
6733 results of translated strings.
6735 2014-04-13 David S. Miller <davem@davemloft.net>
6737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6739 2014-04-12 Allan McRae <allan@archlinux.org>
6742 * manual/string.texi (Collation Functions): Fix qsort argument
6744 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6746 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6748 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6749 Make the test a no-op if there are no exceptions defined.
6751 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6753 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6754 enable-hardcoded-path-in-tests
6756 2014-04-11 Will Newton <will.newton@linaro.org>
6758 * benchtests/Makefile (extra-objs): Add json-lib.o.
6759 (bench-func): Tidy up JSON output.
6760 * benchtests/bench-skeleton.c: Include json-lib.h.
6761 (main): Use JSON library functions to do output of
6763 * benchtests/bench-timing-type.c (main): Output the
6764 timing type simply, leaving formatting to the user.
6765 * benchtests/json-lib.c: New file.
6766 * benchtests/json-lib.h: Likewise.
6768 2014-04-11 Torvald Riegel <triegel@redhat.com>
6771 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6772 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6773 memory barriers. Add comments.
6774 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6775 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6776 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6777 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6778 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6779 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6781 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6783 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6784 * sysdeps/s390/s390-64/configure.ac: ... this ...
6785 * sysdeps/s390/configure.ac: ... to here.
6786 * sysdeps/s390/s390-32/configure: Delete file.
6787 * sysdeps/s390/s390-64/configure: Delete file.
6788 * sysdeps/s390/configure: Regenerate.
6790 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6792 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6794 2014-04-11 Will Newton <will.newton@linaro.org>
6796 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6797 to zero if it is not defined elsewhere. (mtrim): Test
6798 the value of MALLOC_DEBUG with #if rather than #ifdef.
6800 2014-04-10 Torvald Riegel <triegel@redhat.com>
6802 * benchtests/pthread_once-inputs: New file.
6803 * benchtests/pthread_once-source.c: New file.
6804 * benchtests/README: Update documentation.
6806 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6807 H.J. Lu <hongjiu.lu@intel.com>
6809 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6810 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6811 * sysdeps/x86_64/configure: Regenerated.
6812 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6814 (REGISTER_SAVE_RAX): Likewise.
6815 (REGISTER_SAVE_RCX): Likewise.
6816 (REGISTER_SAVE_RDX): Likewise.
6817 (REGISTER_SAVE_RSI): Likewise.
6818 (REGISTER_SAVE_RDI): Likewise.
6819 (REGISTER_SAVE_R8): Likewise.
6820 (REGISTER_SAVE_R9): Likewise.
6821 (REGISTER_SAVE_BND0): Likewise.
6822 (REGISTER_SAVE_BND1): Likewise.
6823 (REGISTER_SAVE_BND2): Likewise.
6824 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6825 bound registers when calling _dl_fixup.
6827 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6830 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6832 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6833 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6834 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6835 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6836 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6837 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6838 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6840 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6843 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6844 pathconf(_PC_NAME_MAX).
6846 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6850 (__PTHREAD_SPINS): Move definition to ...
6851 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6852 (__PTHREAD_SPINS): ... here.
6853 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6854 (__PTHREAD_SPIN): Likewise.
6855 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6856 (__PTHREAD_SPIN): Likewise.
6857 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6858 (__PTHREAD_SPIN): Likewise.
6859 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6860 (__PTHREAD_SPIN): Likewise.
6861 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6862 (__PTHREAD_SPIN): Likewise.
6863 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6864 (__PTHREAD_SPIN): Likewise.
6865 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6866 (__PTHREAD_SPIN): Likewise.
6867 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6868 (__PTHREAD_SPIN): Likewise.
6869 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6870 (__PTHREAD_SPIN): Likewise.
6871 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6872 (__PTHREAD_SPIN): Likewise.
6873 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6874 (__PTHREAD_SPIN): Likewise.
6875 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6876 (__PTHREAD_SPIN): Likewise.
6878 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6879 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6880 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6881 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6883 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6884 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6885 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6886 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6888 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6889 strlen symbol for non multi-arch builds.
6890 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6891 missing hidden_def and weak_alias.
6893 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6895 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6897 2014-04-07 Will Newton <will.newton@linaro.org>
6899 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6900 and contents. [!_LIBC] Remove #ifndef and contents.
6901 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6902 * string/memccpy.c (__memccpy): Use ANSI prototype.
6903 * string/memfrob.c (memfrob): Likewise.
6904 * string/strcoll.c (STRCOLL): Likewise.
6905 * string/strlen.c (strlen): Likewise.
6906 * string/strtok.c (STRTOK): Likewise.
6907 * string/strcat.c: Remove unused #include of memcopy.h.
6908 (strcat): Use ANSI prototype.
6909 * string/strchr.c: Remove unused #include of memcopy.h.
6910 (strchr): Use ANSI prototype.
6911 * string/strcmp.c: Remove unused #include of memcopy.h.
6912 (strcmp): Use ANSI prototype.
6913 * string/strcpy.c: Remove unused #include of memcopy.h.
6914 (strcpy): Use ANSI prototype.
6916 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6918 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6919 * config.make.in (config-extra-cppflags): Set it from
6920 libc_extra_cppflags.
6921 * configure.ac (libc_extra_cflags): Make it accumulate over
6922 configure fragments.
6923 (libc_extra_cppflags): New flag.
6924 * configure. Regenerate.
6925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6926 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6927 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6931 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6932 result for FE_DOWNWARD rounding mode.
6933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6937 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6939 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6940 in function argument name.
6942 2014-04-03 David Svoboda <svoboda@cert.org>
6945 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6948 2014-04-03 Roland McGrath <roland@hack.frob.com>
6950 * elf/dl-unmap-segments.h: New file.
6951 * sysdeps/generic/ldsodefs.h
6952 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6953 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6954 * elf/dl-fptr.c: Likewise.
6955 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6956 * sysdeps/aarch64/tlsdesc.c: Likewise.
6957 * sysdeps/arm/tlsdesc.c: Likewise.
6958 * sysdeps/i386/tlsdesc.c: Likewise.
6959 * sysdeps/tile/dl-runtime.c: Likewise.
6960 * sysdeps/x86_64/tlsdesc.c: Likewise.
6961 * elf/dl-load.h: New file.
6962 * elf/dl-load.c: Include it.
6963 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6964 Macros moved to dl-load.h.
6965 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6966 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6967 Use _dl_unmap_segments in place of __munmap.
6968 Break out segment-mapping loop into ...
6969 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6971 2014-04-03 Will Newton <will.newton@linaro.org>
6973 * elf/dl-lookup.c (do_lookup_x): Remove comment
6974 referring to nested function and move variable
6975 declarations down to before first use.
6977 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6981 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6983 * math/s_catanf.c (__catanf): Likewise.
6984 * math/s_catanh.c (__catanh): Likewise.
6985 * math/s_catanhf.c (__catanhf): Likewise.
6986 * math/s_catanhl.c (__catanhl): Likewise.
6987 * math/s_catanl.c (__catanl): Likewise.
6988 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6989 by positive zero when computing -Inf result.
6990 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6991 (catanh_test): Likewise.
6992 * sysdeps/i386/fpu/libm-test-ulps: Update.
6993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6996 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6997 instead of using underflowing value in computing result.
6998 * math/s_clog10.c (__clog10): Likewise.
6999 * math/s_clog10f.c (__clog10f): Likewise.
7000 * math/s_clog10l.c (__clog10l): Likewise.
7001 * math/s_clogf.c (__clogf): Likewise.
7002 * math/s_clogl.c (__clogl): Likewise.
7003 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7004 (clog10_test): Likewise.
7005 * sysdeps/i386/fpu/libm-test-ulps: Update.
7006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7008 2014-04-02 Alan Modra <amodra@gmail.com>
7011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7012 output when value is near a power of two. Use int64_t for lx and
7013 remove casts. Use decimal rather than hex exponent constants.
7014 Don't use long double multiplication when double will suffice.
7015 * math/libm-test.inc (nextafter_test_data): Add tests.
7016 * NEWS: Add 16739 and 16786 to bug list.
7018 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7020 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7022 2014-04-01 Will Newton <will.newton@linaro.org>
7024 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7025 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7027 2014-04-01 Florian Weimer <fweimer@redhat.com>
7030 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7031 * nptl/tst-setuid2.c: New file.
7032 * nptl/Makefile (xtests): Add tst-setuid2.
7034 2014-04-01 Alan Modra <amodra@gmail.com>
7037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7039 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7043 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7044 set errno as appropriate.
7045 * math/w_scalbf.c (__scalbf): Likewise.
7046 * math/w_scalbl.c (__scalbl): Likewise.
7047 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7048 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7049 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7053 * math/w_atan2.c: Include <errno.h>.
7054 (__atan2): Set errno for result underflowing to zero.
7055 * math/w_atan2f.c: Include <errno.h>.
7056 (__atan2f): Set errno for result underflowing to zero.
7057 * math/w_atan2l.c: Include <errno.h>.
7058 (__atan2l): Set errno for result underflowing to zero.
7059 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7061 * math/auto-libm-test-out: Regenerated.
7063 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7065 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7066 Encode instruction correctly in little endian.
7067 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7069 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7071 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7073 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7076 2014-03-31 Joseph Myers <joseph@codesourcery.com>
7079 * sysdeps/unix/sysv/linux/kernel-features.h
7080 [__sparc__ && !__arch64__ && !__sparc_v9__]
7081 (__ASSUME_SET_ROBUST_LIST): Do not define.
7082 [__sparc__ && !__arch64__ && !__sparc_v9__]
7083 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7084 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7086 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7087 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7088 (__ASSUME_REQUEUE_PI): Likewise.
7089 (__ASSUME_SET_ROBUST_LIST): Likewise.
7090 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7091 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7093 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7094 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7096 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7098 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7100 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7101 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7103 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7104 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7108 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7109 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7110 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7112 2014-03-31 Will Newton <will.newton@linaro.org>
7114 * benchtests/Makefile (bench): Add ffs and ffsll to list
7116 * benchtests/ffs-inputs: New file.
7117 * benchtests/ffsll-inputs: Likewise.
7119 2014-03-29 Joseph Myers <joseph@codesourcery.com>
7122 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7123 too large before casting to int.
7124 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7125 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7126 * math/libm-test.inc (scalb_test_data): Add more tests.
7128 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7130 * benchtests/Makefile (DETAILED_OPT): New make option.
7131 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7133 * benchtests/bench-skeleton.c: Include stdbool.h.
7134 (main): Store and print timings per input.
7135 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7136 member to each argument value.
7137 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7138 (_print_arg_data): Initialize per-input timing to 0.
7140 * benchtests/Makefile (timing-type): New binary.
7141 (bench-clean): Also remove bench-timing-type.
7142 (bench): New target for timing-type.
7143 (bench-func): Print output in JSON format.
7144 * benchtests/bench-skeleton.c (main): Print output in JSON
7146 * benchtests/bench-timing-type.c: New file.
7147 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7148 (TIMING_PRINT_STATS): Remove.
7149 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7152 * benchtests/bench-modf.c: Remove.
7153 * benchtests/modf-inputs: New inputs file.
7155 2014-03-28 Joseph Myers <joseph@codesourcery.com>
7158 * math/s_clog10.c (M_PI_LOG10E): New macro.
7159 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7160 imaginary parts are 0.
7161 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7162 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7163 imaginary parts are 0.
7164 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7165 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7166 imaginary parts are 0.
7167 * math/libm-test.inc (clog10_test_data): Update expected results
7168 for when real and imaginary parts are 0.
7170 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7172 * elf/dl-load.c: Finish conversion of __builtin_expect into
7175 2014-03-27 Joseph Myers <joseph@codesourcery.com>
7178 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7179 1+x for argument with exponent below -67.
7180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7182 * math/auto-libm-test-in: Add more tests of exp.
7183 * math/auto-libm-test-out: Regenerated.
7185 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7188 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7189 (nscd_getnetgrent): Use it.
7192 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7195 2014-03-27 Andi Kleen <ak@linux.intel.com>
7197 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7198 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7199 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7200 (lll_robust_unlock): Remove out of line section. Use cfi
7202 (LLL_STUB_UNWIND_INFO*): Remove.
7203 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7204 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7205 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7206 (lll_robust_unlock): Remove out of line section. Use cfi
7208 (LLL_STUB_UNWIND_INFO*): Remove.
7210 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7213 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7216 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7218 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7220 2014-03-26 Joseph Myers <joseph@codesourcery.com>
7223 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7225 * math/test-fenv-preserve.c: New file.
7226 * math/Makefile (tests): Add test-fenv-preserve.
7228 2014-03-26 Will Newton <will.newton@linaro.org>
7230 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7232 2014-03-25 Roland McGrath <roland@hack.frob.com>
7234 * scripts/versionlist.awk: Partition the version sets and emit all
7235 GLIBC_* (sorted) before all others (sorted).
7237 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7239 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7240 GLIBC_2.2.5 version.
7242 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7244 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7247 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7252 2014-03-25 Andreas Schwab <schwab@suse.de>
7254 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7255 label to be used after in6ailist is initialized.
7257 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7259 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7260 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7262 2014-03-25 Joseph Myers <joseph@codesourcery.com>
7266 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7268 (fp_formats): Update initializers.
7269 (init_fp_formats): Initialize new field.
7270 (output_for_one_input_case): Allow underflow for results up to
7272 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7273 * math/auto-libm-test-in: Don't mark some underflows from asin and
7275 * math/auto-libm-test-out: Regenerated.
7276 * sysdeps/i386/fpu/libm-test-ulps: Update.
7277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7279 2014-03-25 Andreas Schwab <schwab@suse.de>
7281 * libio/Makefile (tst-ftell-partial-wide-ENV)
7282 (tst-ftell-active-handler-ENV): Define.
7284 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7286 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7288 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7290 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7292 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7294 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7295 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7296 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7298 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7301 * elf/dl-load.c (open_verify): Add mode parameter.
7302 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7303 (open_path): Change from boolean 'secure' to complete flag 'mode'
7304 (_dl_map_object): Adjust.
7305 * elf/Makefile (tests): Add tst-dlopen-aout.
7306 * elf/tst-dlopen-aout.c: New test.
7308 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7311 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7312 (struct stat): Rename member pad0 to __glibc_reserved0.
7315 * sysdeps/s390/s390-32/bits/wordsize.h
7316 (__WORDSIZE32_SIZE_ULONG): New define.
7317 * sysdeps/s390/s390-64/bits/wordsize.h
7318 (__WORDSIZE32_SIZE_ULONG): Likewise.
7319 * sysdeps/generic/stdint.h (SIZE_MAX):
7320 Define as UL if __WORDSIZE32_SIZE_ULONG.
7323 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7324 (__glibc_reserved0): New variable.
7325 (sa_flags): Change type to int.
7327 * posix/Makefile (before-compile): Use += before-compile instead
7330 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7331 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7333 2014-03-20 Andreas Schwab <schwab@suse.de>
7336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7337 non-matching result from nscd.
7339 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7341 * scripts/bench.py: Moved to ...
7342 * benchtests/scripts/bench.py: ... here.
7343 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7345 2014-03-24 Andreas Schwab <schwab@suse.de>
7348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7349 alloca_account and account alloca use for struct in6ailist.
7351 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7354 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7355 rounding mode to recompute results that overflow to infinity or
7357 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7359 * math/auto-libm-test-out: Regenerated.
7360 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7361 (ccosh_test): Likewise.
7362 (csin_test_data): Use plus_oflow.
7363 (csin_test): Use ALL_RM_TEST.
7364 (csinh_test_data): Use plus_oflow.
7365 (csinh_test): Use ALL_RM_TEST.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7369 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7371 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7372 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7373 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7376 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7378 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7379 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7380 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7381 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7383 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7384 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7386 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7387 * sysdeps/i386/fpu/libm-test-ulps: Update.
7388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7390 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7392 * scripts/bench.pl: Remove file.
7393 * scripts/bench.py: New benchmark script.
7394 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7395 * benchtests/README: Mention python dependency.
7396 * scripts/pylintrc: New file.
7397 * scripts/pylint: New file.
7399 * bits/mathdef.h: Use #ifdef instead of #if.
7400 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7401 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7402 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7403 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7404 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7405 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7407 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7408 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7410 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7412 and strpbrk-ppc64 objects.
7413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7414 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7415 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7416 multiarch strpbrk for POWER7.
7417 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7418 multiarch strpbrk for PPC64.
7419 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7421 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7424 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7426 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7427 (atan_test): Likewise.
7428 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7429 (atanh_test): Use ALL_RM_TEST.
7430 (atan2_test_data): Likewise.
7431 (cabs_test): Likewise.
7432 (cacosh_test): Likewise.
7433 (carg_test): Likewise.
7434 (casin_test): Likewise.
7435 (casinh_test): Likewise.
7436 (cbrt_test): Likewise.
7437 (csqrt_test): Likewise.
7438 (erf_test): Likewise.
7439 (erfc_test): Likewise.
7440 (pow10_test): Likewise.
7441 (exp2_test): Likewise.
7442 (hypot_test): Likewise.
7443 (j0_test): Likewise.
7444 (j1_test): Likewise.
7445 (lgamma_test): Likewise.
7446 (gamma_test): Likewise.
7447 (sincos_test): Likewise.
7448 (tanh_test): Likewise.
7449 (y0_test): Likewise.
7450 (y1_test): Likewise.
7451 * sysdeps/i386/fpu/libm-test-ulps: Update.
7452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7454 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7456 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7458 and strcspn-ppc64 objects.
7459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7460 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7461 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7462 multiarch strcspn for POWER7.
7463 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7464 multiarch strcspn for PPC64.
7465 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7467 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7470 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7472 * math/gen-libm-test.pl (generate_testfile): Expect only function
7473 name as argument to AUTO_TESTS_* and pass results for all rounding
7474 modes to parse_args.
7475 (parse_auto_input): Separate inputs of automatic tests from
7476 outputs before storing in %auto_tests.
7477 * math/libm-test.inc (acos_test_data): Update call to
7479 (acos_test): Use ALL_RM_TEST.
7480 (acos_tonearest_test_data): Remove.
7481 (acos_test_tonearest): Likewise.
7482 (acos_towardzero_test_data): Likewise.
7483 (acos_test_towardzero): Likewise.
7484 (acos_downward_test_data): Likewise.
7485 (acos_test_downward): Likewise.
7486 (acos_upward_test_data): Likewise.
7487 (acos_test_upward): Likewise.
7488 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7489 (asin_test_data): Likewise.
7490 (asin_test): Use ALL_RM_TEST.
7491 (asin_tonearest_test_data): Remove.
7492 (asin_test_tonearest): Likewise.
7493 (asin_towardzero_test_data): Likewise.
7494 (asin_test_towardzero): Likewise.
7495 (asin_downward_test_data): Likewise.
7496 (asin_test_downward): Likewise.
7497 (asin_upward_test_data): Likewise.
7498 (asin_test_upward): Likewise.
7499 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7500 (atan_test_data): Likewise.
7501 (atanh_test_data): Likewise.
7502 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7503 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7504 (carg_test_data): Likewise.
7505 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7506 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7507 (ccosh_test_data): Likewise.
7508 (cexp_test_data): Likewise.
7509 (clog_test_data): Likewise.
7510 (clog10_test_data): Likewise.
7511 (cos_test_data): Update call to AUTO_TESTS_f_f.
7512 (cos_test): Use ALL_RM_TEST.
7513 (cos_tonearest_test_data): Remove.
7514 (cos_test_tonearest): Likewise.
7515 (cos_towardzero_test_data): Likewise.
7516 (cos_test_towardzero): Likewise.
7517 (cos_downward_test_data): Likewise.
7518 (cos_test_downward): Likewise.
7519 (cos_upward_test_data): Likewise.
7520 (cos_test_upward): Likewise.
7521 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7522 (cosh_test): Use ALL_RM_TEST.
7523 (cosh_tonearest_test_data): Remove.
7524 (cosh_test_tonearest): Likewise.
7525 (cosh_towardzero_test_data): Likewise.
7526 (cosh_test_towardzero): Likewise.
7527 (cosh_downward_test_data): Likewise.
7528 (cosh_test_downward): Likewise.
7529 (cosh_upward_test_data): Likewise.
7530 (cosh_test_upward): Likewise.
7531 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7532 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7533 (ctan_test_data): Likewise.
7534 (ctan_test): Use ALL_RM_TEST.
7535 (ctan_tonearest_test_data): Remove.
7536 (ctan_test_tonearest): Likewise.
7537 (ctan_towardzero_test_data): Likewise.
7538 (ctan_test_towardzero): Likewise.
7539 (ctan_downward_test_data): Likewise.
7540 (ctan_test_downward): Likewise.
7541 (ctan_upward_test_data): Likewise.
7542 (ctan_test_upward): Likewise.
7543 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7544 (ctanh_test): Use ALL_RM_TEST.
7545 (ctanh_tonearest_test_data): Remove.
7546 (ctanh_test_tonearest): Likewise.
7547 (ctanh_towardzero_test_data): Likewise.
7548 (ctanh_test_towardzero): Likewise.
7549 (ctanh_downward_test_data): Likewise.
7550 (ctanh_test_downward): Likewise.
7551 (ctanh_upward_test_data): Likewise.
7552 (ctanh_test_upward): Likewise.
7553 (erf_test_data): Update call to AUTO_TESTS_f_f.
7554 (erfc_test_data): Likewise.
7555 (exp_test_data): Likewise.
7556 (exp_test): Use ALL_RM_TEST.
7557 (exp_tonearest_test_data): Remove.
7558 (exp_test_tonearest): Likewise.
7559 (exp_towardzero_test_data): Likewise.
7560 (exp_test_towardzero): Likewise.
7561 (exp_downward_test_data): Likewise.
7562 (exp_test_downward): Likewise.
7563 (exp_upward_test_data): Likewise.
7564 (exp_test_upward): Likewise.
7565 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7566 (exp10_test): Use ALL_RM_TEST.
7567 (exp10_tonearest_test_data): Remove.
7568 (exp10_test_tonearest): Likewise.
7569 (exp10_towardzero_test_data): Likewise.
7570 (exp10_test_towardzero): Likewise.
7571 (exp10_downward_test_data): Likewise.
7572 (exp10_test_downward): Likewise.
7573 (exp10_upward_test_data): Likewise.
7574 (exp10_test_upward): Likewise.
7575 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7576 (expm1_test_data): Likewise.
7577 (expm1_test): Use ALL_RM_TEST.
7578 (expm1_tonearest_test_data): Remove.
7579 (expm1_test_tonearest): Likewise.
7580 (expm1_towardzero_test_data): Likewise.
7581 (expm1_test_towardzero): Likewise.
7582 (expm1_downward_test_data): Likewise.
7583 (expm1_test_downward): Likewise.
7584 (expm1_upward_test_data): Likewise.
7585 (expm1_test_upward): Likewise.
7586 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7587 (fma_test): Use ALL_RM_TEST.
7588 (fma_towardzero_test_data): Remove.
7589 (fma_test_towardzero): Likewise.
7590 (fma_downward_test_data): Likewise.
7591 (fma_test_downward): Likewise.
7592 (fma_upward_test_data): Likewise.
7593 (fma_test_upward): Likewise.
7594 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7595 (j0_test_data): Update call to AUTO_TESTS_f_f.
7596 (j1_test_data): Likewise.
7597 (jn_test_data): Update call to AUTO_TESTS_if_f.
7598 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7599 (log_test_data): Update call to AUTO_TESTS_f_f.
7600 (log10_test_data): Likewise.
7601 (log1p_test_data): Likewise.
7602 (log2_test_data): Likewise.
7603 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7604 (pow_tonearest_test_data): Likewise.
7605 (sin_test_data): Update call to AUTO_TESTS_f_f.
7606 (sin_test): Use ALL_RM_TEST.
7607 (sin_tonearest_test_data): Remove.
7608 (sin_test_tonearest): Likewise.
7609 (sin_towardzero_test_data): Likewise.
7610 (sin_test_towardzero): Likewise.
7611 (sin_downward_test_data): Likewise.
7612 (sin_test_downward): Likewise.
7613 (sin_upward_test_data): Likewise.
7614 (sin_test_upward): Likewise.
7615 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7616 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7617 (sinh_test): Use ALL_RM_TEST.
7618 (sinh_tonearest_test_data): Remove.
7619 (sinh_test_tonearest): Likewise.
7620 (sinh_towardzero_test_data): Likewise.
7621 (sinh_test_towardzero): Likewise.
7622 (sinh_downward_test_data): Likewise.
7623 (sinh_test_downward): Likewise.
7624 (sinh_upward_test_data): Likewise.
7625 (sinh_test_upward): Likewise.
7626 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7627 (sqrt_test): Use ALL_RM_TEST.
7628 (sqrt_tonearest_test_data): Remove.
7629 (sqrt_test_tonearest): Likewise.
7630 (sqrt_towardzero_test_data): Likewise.
7631 (sqrt_test_towardzero): Likewise.
7632 (sqrt_downward_test_data): Likewise.
7633 (sqrt_test_downward): Likewise.
7634 (sqrt_upward_test_data): Likewise.
7635 (sqrt_test_upward): Likewise.
7636 (tan_test_data): Update call to AUTO_TESTS_f_f.
7637 (tan_test): Use ALL_RM_TEST.
7638 (tan_tonearest_test_data): Remove.
7639 (tan_test_tonearest): Likewise.
7640 (tan_towardzero_test_data): Likewise.
7641 (tan_test_towardzero): Likewise.
7642 (tan_downward_test_data): Likewise.
7643 (tan_test_downward): Likewise.
7644 (tan_upward_test_data): Likewise.
7645 (tan_test_upward): Likewise.
7646 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7647 (tgamma_test_data): Likewise.
7648 (y0_test_data): Likewise.
7649 (y1_test_data): Likewise.
7650 (yn_test_data): Update call to AUTO_TESTS_if_f.
7651 (main): Do not call removed functions.
7653 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7655 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7656 (ldexp_test_data): Remove.
7657 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7659 (scalb_test): Use ALL_RM_TEST.
7661 2014-03-19 Andreas Schwab <schwab@suse.de>
7663 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7665 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7669 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7670 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7672 (__ASSUME_PREADV): Undefine.
7673 (__ASSUME_PWRITEV): Likewise.
7675 2014-03-18 Roland McGrath <roland@hack.frob.com>
7677 * bits/mman-linux.h: Add comment about non-Linux use.
7678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7679 bits/mman-linux.h resting place.
7681 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7682 * bits/mman-linux.h: ... here.
7684 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7686 * conform/conformtest.pl: Add standard definition when calling C
7687 preprocessor on data files.
7688 (checknamespace): Remove unused variable.
7690 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7692 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7693 minus_oflow, plus_uflow and minus_uflow in expected results.
7694 * math/libm-test.inc (scalbn_test_data): Add more tests of
7695 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7697 (scalbn_test): Use ALL_RM_TEST.
7698 (scalbln_test_data): Add more tests of negative arguments. Use
7699 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7700 (scalbln_test): Use ALL_RM_TEST.
7702 2014-03-18 Roland McGrath <roland@hack.frob.com>
7704 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7706 2014-03-18 Will Newton <will.newton@linaro.org>
7708 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7711 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7713 * Makerules [!subdir] (check-abi): Exit with error status if a
7716 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7718 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7719 for rint. Include results for all rounding modes.
7720 (nearbyint_test): Use ALL_RM_TEST.
7721 (rint_test_data): Include all tests used for nearbyint.
7723 2014-03-17 Will Newton <will.newton@linaro.org>
7725 * nptl/sysdeps/pthread/pthread.h: Revert previous
7728 * sysdeps/generic/ldsodefs.h: Revert previous
7731 * libio/genops.c: Revert previous change.
7732 * libio/libioP.h: Likewise.
7733 * stdio-common/vfprintf.c: Likewise.
7735 * sysdeps/generic/math_private.h: Revert previous
7738 * sysdeps/generic/math_private.h: Check whether
7739 HAVE_RM_CTX is defined with #ifdef rather
7742 * argp/argp-fmtstream.h: Check whether
7743 __STRICT_ANSI__ is defined with #ifdef rather
7745 * argp/argp.h: Likewise.
7747 * libio/genops.c: Check whether
7748 _IO_JUMPS_OFFSET is defined with #ifdef rather
7750 * libio/libioP.h: Likewise.
7751 * stdio-common/vfprintf.c: Likewise.
7753 * sysdeps/generic/ldsodefs.h: Check whether
7754 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7757 * nptl/sysdeps/pthread/pthread.h: Check
7758 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7761 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7763 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7765 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7769 * libio/fileops.c (_IO_file_open): Seek to end of file but
7770 don't cache the offset.
7771 (get_file_offset): Remove function.
7772 (do_ftell): Use cached offset when available.
7773 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7774 don't cache the offset.
7775 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7777 (do_one_test): Call it.
7778 (do_ftell_test): Fix up expected old offset for a+ mode.
7779 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7782 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7783 up test status with function return status.
7784 (do_write_test): Likewise.
7785 (do_append_test): Likewise.
7787 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7788 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7791 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7793 * math/gen-libm-test.pl (parse_args): Handle results specified for
7794 each rounding mode separately.
7795 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7796 tests and results from lrint_tonearest_test_data,
7797 lrint_towardzero_test_data, lrint_downward_test_data and
7798 lrint_upward_test_data.
7799 (lrint_test): Use ALL_RM_TEST.
7800 (lrint_tonearest_test_data): Remove.
7801 (lrint_test_tonearest): Likewise.
7802 (lrint_towardzero_test_data): Likewise.
7803 (lrint_test_towardzero): Likewise.
7804 (lrint_downward_test_data): Likewise.
7805 (lrint_test_downward): Likewise.
7806 (lrint_upward_test_data): Likewise.
7807 (lrint_test_upward): Likewise.
7808 (llrint_test_data): Merge in per-rounding-mode tests and results
7809 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7810 llrint_downward_test_data and llrint_upward_test_data.
7811 (llrint_test): Use ALL_RM_TEST.
7812 (llrint_tonearest_test_data): Remove.
7813 (llrint_test_tonearest): Likewise.
7814 (llrint_towardzero_test_data): Likewise.
7815 (llrint_test_towardzero): Likewise.
7816 (llrint_downward_test_data): Likewise.
7817 (llrint_test_downward): Likewise.
7818 (llrint_upward_test_data): Likewise.
7819 (llrint_test_upward): Likewise.
7820 (rint_test_data): Merge in per-rounding-mode tests and results
7821 from rint_tonearest_test_data, rint_towardzero_test_data,
7822 rint_downward_test_data and rint_upward_test_data. Add
7823 per-rounding-mode results for tests not in those arrays.
7824 (rint_test): Use ALL_RM_TEST.
7825 (rint_tonearest_test_data): Remove.
7826 (rint_test_tonearest): Likewise.
7827 (rint_towardzero_test_data): Likewise.
7828 (rint_test_towardzero): Likewise.
7829 (rint_downward_test_data): Likewise.
7830 (rint_test_downward): Likewise.
7831 (rint_upward_test_data): Likewise.
7832 (rint_test_upward): Likewise.
7833 (main): Don't call removed functions.
7835 2014-03-14 Roland McGrath <roland@hack.frob.com>
7837 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7838 "Compiled on ..." crapola. It is anti-useful.
7840 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7842 * scripts/evaluate-test.sh: Handle fourth argument to determine
7843 whether test run should stop on failure.
7844 * Makeconfig (stop-on-test-failure): New variable.
7845 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7846 $(stop-on-test-failure).
7847 * Makefile (tests): Give a summary of results from testing and
7848 exit with failure status if they include an ERROR or FAIL.
7850 * manual/install.texi (Configuring and compiling): Mention
7851 stop-on-test-failure=y.
7852 * INSTALL: Regenerated.
7854 2014-03-14 Roland McGrath <roland@hack.frob.com>
7856 * scripts/versionlist.awk: New file.
7857 * Makerules [$(build-shared) = yes]
7858 (postclean-generated): Add Versions.def, not Versions.def.v and
7860 ($(common-objpfx)Versions.def.v.i): Target removed.
7861 ($(common-objpfx)Versions.def): New target.
7862 ($(common-objpfx)Versions.all): Depend on that rather that
7863 $(common-objpfx)Versions.def.v.
7864 * Versions.def: File removed.
7866 * Makeconfig (+gccwarn): Add -Wundef.
7867 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7868 a dl-sysdep.h breaking its contract.
7869 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7870 * include/stackinfo.h: New file.
7871 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7872 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7873 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7874 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7875 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7876 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7877 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7878 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7879 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7880 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7881 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7882 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7883 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7884 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7885 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7887 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7890 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7892 * math/libm-test.inc (round_test_data): Add more tests.
7895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7897 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7900 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7902 * math/libm-test.inc (ceil_test_data): Add more tests.
7904 * math/libm-test.inc (trunc_test_data): Add more tests related to
7907 2014-03-14 Roland McGrath <roland@hack.frob.com>
7909 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7910 with #if rather than #ifdef.
7911 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7913 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7915 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7916 first. Disable AVX-512 GCC support if assembler doesn't support
7918 * sysdeps/x86_64/configure: Regenerated.
7920 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7922 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7923 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7924 (__old_pthread_attr_setstack): Likewise.
7925 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7926 [!_STACK_GROWS_DOWN]: Likewise.
7928 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7930 * config.make.in (have-bash2): Delete.
7931 * configure.ac (libc_cv_have_bash2): Delete.
7932 * configure: Regenerate.
7933 * elf/Makefile (common-ldd-rewrite): Rename to ...
7934 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7935 (sh-ldd-rewrite): Delete.
7936 (bash-ldd-rewrite): Delete.
7937 (have-bash2): Delete checks.
7938 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7941 * config.make.in (have-ksh): Delete.
7943 * configure.ac (libc_cv_have_ksh): Delete.
7944 * configure: Regenerate.
7946 * elf/Makefile: Delete $(have-ksh) check.
7947 ($(objpfx)sotruss): Change KSH to BASH.
7948 * elf/sotruss.ksh: Rename to ...
7949 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7950 function style to match POSIX. Drop ksh vim mode setting.
7952 * manual/time.texi (Specifying the Time Zone with TZ): Change
7953 Tuesday to Thursday.
7955 * debug/tst-longjmp_chk2.c: Update header comment.
7956 (stackoverflow_handler): Add comment. Call assert on pass value.
7958 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7960 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7961 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7962 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7963 (La_x86_64_vector): Add zmm.
7964 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7965 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7966 ($(objpfx)tst-audit10): New target.
7967 ($(objpfx)tst-audit10.out): Likewise.
7968 (tst-audit10-ENV): New.
7969 (AVX512-CFLAGS): Likewise.
7970 (CFLAGS-tst-audit10.c): Likewise.
7971 (CFLAGS-tst-auditmod10a.c): Likewise.
7972 (CFLAGS-tst-auditmod10b.c): Likewise.
7973 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7974 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7975 * sysdeps/x86_64/configure: Regenerated.
7976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7977 AVX-512 zmm register support.
7978 (_dl_x86_64_save_sse): Likewise.
7979 (_dl_x86_64_restore_sse): Likewise.
7980 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7981 size vector registers.
7982 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7983 (ZMM_SIZE): Likewise.
7984 * sysdeps/x86_64/tst-audit10.c: New file.
7985 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7986 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7988 2014-03-13 Roland McGrath <roland@hack.frob.com>
7990 * configure.ac (HAVE_EHDR_START): New check.
7991 * configure: Regenerated.
7992 * config.h.in (HAVE_EHDR_START): New #undef.
7993 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7994 assuming the lowest-addressed segment maps the start of the file.
7996 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7998 * INSTALL: Regenerated.
8000 2014-03-13 Will Newton <will.newton@linaro.org>
8002 * manual/setjmp.texi (System V contexts): Improve
8003 clarity and grammar of documentation.
8005 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8008 * elf/Makefile (tests): Add tst-pie2.
8009 (tests-pie): Add tst-pie2.
8010 * elf/tst-pie2.c: New file.
8011 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8013 * elf/rtld.c (map_doit): Load executable as lt_executable.
8014 (dl_main): Likewise.
8016 2014-03-12 Joseph Myers <joseph@codesourcery.com>
8019 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8020 (__ASSUME_PSELECT): Undefine.
8022 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8026 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8029 selector for static builds.
8031 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8034 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8037 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8039 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8040 IFUNC selector for static builds.
8042 2014-03-11 Joseph Myers <joseph@codesourcery.com>
8044 * sysdeps/mips/math_private.h [__mips_hard_float]
8045 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8046 libc_feresetround_mips_ctx.
8047 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8048 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8049 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8052 * math/s_nextafter.c (__nextafter): Do not return value from
8053 overflowing computation.
8054 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8055 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8056 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8058 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8060 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8061 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8063 2014-03-11 Roland McGrath <roland@hack.frob.com>
8065 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8066 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8067 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8068 the new mov targetting sp.
8070 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8073 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8074 Define it for static builds as well.
8075 (NO_BZERO_IMPL): Likewise.
8077 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8079 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8080 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8081 multiarch strspn for PPC64.
8082 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8083 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8085 (__libc_ifunc_impl_list): Likewise.
8086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8087 multiarch optimizations
8088 * string/strspn.c (strspn): Using macro to redefine symbol name.
8090 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8091 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8093 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8094 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8095 multiarch strncat for PPC64.
8096 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8097 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8099 (__libc_ifunc_impl_list): Likewise.
8100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8101 multiarch optimizations
8103 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8106 * nscd/nscd.service: Make service type forking.
8108 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8111 sign in non default rounding modes.
8112 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8114 2014-03-08 Joseph Myers <joseph@codesourcery.com>
8116 * math/libm-test.inc (ALL_RM_TEST): New macro.
8117 (ceil_test): Use ALL_RM_TEST.
8118 (cimag_test): Likewise.
8119 (conj_test): Likewise.
8120 (copysign_test): Likewise.
8121 (cproj_test): Likewise.
8122 (creal_test): Likewise.
8123 (fabs_test): Likewise.
8124 (floor_test): Likewise.
8125 (fmax_test): Likewise.
8126 (fmin_test): Likewise.
8127 (fmod_test): Likewise.
8128 (fpclassify_test): Likewise.
8129 (frexp_test): Likewise.
8130 (ilogb_test): Likewise.
8131 (isfinite_test): Likewise.
8132 (finite_test): Likewise.
8133 (isgreater_test): Likewise.
8134 (isgreaterequal_test): Likewise.
8135 (isinf_test): Likewise.
8136 (isless_test): Likewise.
8137 (islessequal_test): Likewise.
8138 (islessgreater_test): Likewise.
8139 (isnan_test): Likewise.
8140 (isnormal_test): Likewise.
8141 (issignaling_test): Likewise.
8142 (isunordered_test): Likewise.
8143 (logb_test): Likewise.
8144 (logb_downward_test_data): Remove.
8145 (logb_test_downward): Likewise.
8146 (lround_test): Use ALL_RM_TEST.
8147 (llround_test): Likewise.
8148 (modf_test): Likewise.
8149 (nexttoward_test): Likewise.
8150 (remainder_test): Likewise.
8151 (drem_test): Likewise.
8152 (remainder_tonearest_test_data): Likewise.
8153 (remainder_test_tonearest): Likewise.
8154 (drem_test_tonearest): Likewise.
8155 (remainder_towardzero_test_data): Likewise.
8156 (remainder_test_towardzero): Likewise.
8157 (drem_test_towardzero): Likewise.
8158 (remainder_downward_test_data): Likewise.
8159 (remainder_test_downward): Likewise.
8160 (drem_test_downward): Likewise.
8161 (remainder_upward_test_data): Likewise.
8162 (remainder_test_upward): Likewise.
8163 (drem_test_upward): Likewise.
8164 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8165 (round_test): Use ALL_RM_TEST.
8166 (signbit_test): Likewise.
8167 (trunc_test): Likewise.
8168 (significand_test): Likewise.
8169 (main): Don't call removed functions.
8171 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8174 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8176 (ILL_ILLOPN): Likewise.
8177 (ILL_ILLADR): Likewise.
8178 (ILL_ILLTRP): Likewise.
8179 (ILL_PRVOPC): Likewise.
8180 (ILL_PRVREG): Likewise.
8181 (ILL_COPROC): Likewise.
8182 (ILL_BADSTK): Likewise.
8183 (FPE_INTDIV): Likewise.
8184 (FPE_INTOVF): Likewise.
8185 (FPE_FLTDIV): Likewise.
8186 (FPE_FLTOVF): Likewise.
8187 (FPE_FLTUND): Likewise.
8188 (FPE_FLTRES): Likewise.
8189 (FPE_FLTINV): Likewise.
8190 (FPE_FLTSUB): Likewise.
8191 (SEGV_MAPERR): Likewise.
8192 (SEGV_ACCERR): Likewise.
8193 (BUS_ADRALN): Likewise.
8194 (BUS_ADRERR): Likewise.
8195 (BUS_OBJERR): Likewise.
8196 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8197 (TRAP_TRACE): Likewise.
8198 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8200 (CLD_KILLED): Likewise.
8201 (CLD_DUMPED): Likewise.
8202 (CLD_TRAPPED): Likewise.
8203 (CLD_STOPPED): Likewise.
8204 (CLD_CONTINUED): Likewise.
8205 (POLL_IN): Likewise.
8206 (POLL_OUT): Likewise.
8207 (POLL_MSG): Likewise.
8208 (POLL_ERR): Likewise.
8209 (POLL_PRI): Likewise.
8210 (POLL_HUP): Likewise.
8211 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8213 (ILL_ILLOPN): Likewise.
8214 (ILL_ILLADR): Likewise.
8215 (ILL_ILLTRP): Likewise.
8216 (ILL_PRVOPC): Likewise.
8217 (ILL_PRVREG): Likewise.
8218 (ILL_COPROC): Likewise.
8219 (ILL_BADSTK): Likewise.
8220 (FPE_INTDIV): Likewise.
8221 (FPE_INTOVF): Likewise.
8222 (FPE_FLTDIV): Likewise.
8223 (FPE_FLTOVF): Likewise.
8224 (FPE_FLTUND): Likewise.
8225 (FPE_FLTRES): Likewise.
8226 (FPE_FLTINV): Likewise.
8227 (FPE_FLTSUB): Likewise.
8228 (SEGV_MAPERR): Likewise.
8229 (SEGV_ACCERR): Likewise.
8230 (BUS_ADRALN): Likewise.
8231 (BUS_ADRERR): Likewise.
8232 (BUS_OBJERR): Likewise.
8233 (BUS_MCEERR_AR): Likewise.
8234 (BUS_MCEERR_AO): Likewise.
8235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8236 (TRAP_TRACE): Likewise.
8237 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8239 (CLD_KILLED): Likewise.
8240 (CLD_DUMPED): Likewise.
8241 (CLD_TRAPPED): Likewise.
8242 (CLD_STOPPED): Likewise.
8243 (CLD_CONTINUED): Likewise.
8244 (POLL_IN): Likewise.
8245 (POLL_OUT): Likewise.
8246 (POLL_MSG): Likewise.
8247 (POLL_ERR): Likewise.
8248 (POLL_PRI): Likewise.
8249 (POLL_HUP): Likewise.
8250 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8251 (ILL_ILLOPN): Likewise.
8252 (ILL_ILLADR): Likewise.
8253 (ILL_ILLTRP): Likewise.
8254 (ILL_PRVOPC): Likewise.
8255 (ILL_PRVREG): Likewise.
8256 (ILL_COPROC): Likewise.
8257 (ILL_BADSTK): Likewise.
8258 (FPE_INTDIV): Likewise.
8259 (FPE_INTOVF): Likewise.
8260 (FPE_FLTDIV): Likewise.
8261 (FPE_FLTOVF): Likewise.
8262 (FPE_FLTUND): Likewise.
8263 (FPE_FLTRES): Likewise.
8264 (FPE_FLTINV): Likewise.
8265 (FPE_FLTSUB): Likewise.
8266 (SEGV_MAPERR): Likewise.
8267 (SEGV_ACCERR): Likewise.
8268 (BUS_ADRALN): Likewise.
8269 (BUS_ADRERR): Likewise.
8270 (BUS_OBJERR): Likewise.
8271 (BUS_MCEERR_AR): Likewise.
8272 (BUS_MCEERR_AO): Likewise.
8273 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8274 (TRAP_TRACE): Likewise.
8275 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8277 (CLD_KILLED): Likewise.
8278 (CLD_DUMPED): Likewise.
8279 (CLD_TRAPPED): Likewise.
8280 (CLD_STOPPED): Likewise.
8281 (CLD_CONTINUED): Likewise.
8282 (POLL_IN): Likewise.
8283 (POLL_OUT): Likewise.
8284 (POLL_MSG): Likewise.
8285 (POLL_ERR): Likewise.
8286 (POLL_PRI): Likewise.
8287 (POLL_HUP): Likewise.
8288 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8290 (ILL_ILLOPN): Likewise.
8291 (ILL_ILLADR): Likewise.
8292 (ILL_ILLTRP): Likewise.
8293 (ILL_PRVOPC): Likewise.
8294 (ILL_PRVREG): Likewise.
8295 (ILL_COPROC): Likewise.
8296 (ILL_BADSTK): Likewise.
8297 (ILL_BADIADDR): Likewise.
8298 (ILL_BREAK): Likewise.
8299 (FPE_INTDIV): Likewise.
8300 (FPE_INTOVF): Likewise.
8301 (FPE_FLTDIV): Likewise.
8302 (FPE_FLTOVF): Likewise.
8303 (FPE_FLTUND): Likewise.
8304 (FPE_FLTRES): Likewise.
8305 (FPE_FLTINV): Likewise.
8306 (FPE_FLTSUB): Likewise.
8307 (FPE_DECOVF): Likewise.
8308 (FPE_DECDIV): Likewise.
8309 (FPE_DECERR): Likewise.
8310 (FPE_INVASC): Likewise.
8311 (FPE_INVDEC): Likewise.
8312 (SEGV_MAPERR): Likewise.
8313 (SEGV_ACCERR): Likewise.
8314 (SEGV_PSTKOVF): Likewise.
8315 (BUS_ADRALN): Likewise.
8316 (BUS_ADRERR): Likewise.
8317 (BUS_OBJERR): Likewise.
8318 (BUS_MCEERR_AR): Likewise.
8319 (BUS_MCEERR_AO): Likewise.
8320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8321 (TRAP_TRACE): Likewise.
8322 (TRAP_BRANCH): Likewise.
8323 (TRAP_HWBKPT): Likewise.
8324 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8326 (CLD_KILLED): Likewise.
8327 (CLD_DUMPED): Likewise.
8328 (CLD_TRAPPED): Likewise.
8329 (CLD_STOPPED): Likewise.
8330 (CLD_CONTINUED): Likewise.
8331 (POLL_IN): Likewise.
8332 (POLL_OUT): Likewise.
8333 (POLL_MSG): Likewise.
8334 (POLL_ERR): Likewise.
8335 (POLL_PRI): Likewise.
8336 (POLL_HUP): Likewise.
8337 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8338 (ILL_ILLOPN): Likewise.
8339 (ILL_ILLADR): Likewise.
8340 (ILL_ILLTRP): Likewise.
8341 (ILL_PRVOPC): Likewise.
8342 (ILL_PRVREG): Likewise.
8343 (ILL_COPROC): Likewise.
8344 (ILL_BADSTK): Likewise.
8345 (FPE_INTDIV): Likewise.
8346 (FPE_INTOVF): Likewise.
8347 (FPE_FLTDIV): Likewise.
8348 (FPE_FLTOVF): Likewise.
8349 (FPE_FLTUND): Likewise.
8350 (FPE_FLTRES): Likewise.
8351 (FPE_FLTINV): Likewise.
8352 (FPE_FLTSUB): Likewise.
8353 (SEGV_MAPERR): Likewise.
8354 (SEGV_ACCERR): Likewise.
8355 (BUS_ADRALN): Likewise.
8356 (BUS_ADRERR): Likewise.
8357 (BUS_OBJERR): Likewise.
8358 (BUS_MCEERR_AR): Likewise.
8359 (BUS_MCEERR_AO): Likewise.
8360 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8361 (TRAP_TRACE): Likewise.
8362 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8364 (CLD_KILLED): Likewise.
8365 (CLD_DUMPED): Likewise.
8366 (CLD_TRAPPED): Likewise.
8367 (CLD_STOPPED): Likewise.
8368 (CLD_CONTINUED): Likewise.
8369 (POLL_IN): Likewise.
8370 (POLL_OUT): Likewise.
8371 (POLL_MSG): Likewise.
8372 (POLL_ERR): Likewise.
8373 (POLL_PRI): Likewise.
8374 (POLL_HUP): Likewise.
8375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8376 (ILL_ILLOPN): Likewise.
8377 (ILL_ILLADR): Likewise.
8378 (ILL_ILLTRP): Likewise.
8379 (ILL_PRVOPC): Likewise.
8380 (ILL_PRVREG): Likewise.
8381 (ILL_COPROC): Likewise.
8382 (ILL_BADSTK): Likewise.
8383 (FPE_INTDIV): Likewise.
8384 (FPE_INTOVF): Likewise.
8385 (FPE_FLTDIV): Likewise.
8386 (FPE_FLTOVF): Likewise.
8387 (FPE_FLTUND): Likewise.
8388 (FPE_FLTRES): Likewise.
8389 (FPE_FLTINV): Likewise.
8390 (FPE_FLTSUB): Likewise.
8391 (SEGV_MAPERR): Likewise.
8392 (SEGV_ACCERR): Likewise.
8393 (BUS_ADRALN): Likewise.
8394 (BUS_ADRERR): Likewise.
8395 (BUS_OBJERR): Likewise.
8396 (BUS_MCEERR_AR): Likewise.
8397 (BUS_MCEERR_AO): Likewise.
8398 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8399 (TRAP_TRACE): Likewise.
8400 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8402 (CLD_KILLED): Likewise.
8403 (CLD_DUMPED): Likewise.
8404 (CLD_TRAPPED): Likewise.
8405 (CLD_STOPPED): Likewise.
8406 (CLD_CONTINUED): Likewise.
8407 (POLL_IN): Likewise.
8408 (POLL_OUT): Likewise.
8409 (POLL_MSG): Likewise.
8410 (POLL_ERR): Likewise.
8411 (POLL_PRI): Likewise.
8412 (POLL_HUP): Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8414 (ILL_ILLOPN): Likewise.
8415 (ILL_ILLADR): Likewise.
8416 (ILL_ILLTRP): Likewise.
8417 (ILL_PRVOPC): Likewise.
8418 (ILL_PRVREG): Likewise.
8419 (ILL_COPROC): Likewise.
8420 (ILL_BADSTK): Likewise.
8421 (FPE_INTDIV): Likewise.
8422 (FPE_INTOVF): Likewise.
8423 (FPE_FLTDIV): Likewise.
8424 (FPE_FLTOVF): Likewise.
8425 (FPE_FLTUND): Likewise.
8426 (FPE_FLTRES): Likewise.
8427 (FPE_FLTINV): Likewise.
8428 (FPE_FLTSUB): Likewise.
8429 (SEGV_MAPERR): Likewise.
8430 (SEGV_ACCERR): Likewise.
8431 (BUS_ADRALN): Likewise.
8432 (BUS_ADRERR): Likewise.
8433 (BUS_OBJERR): Likewise.
8434 (BUS_MCEERR_AR): Likewise.
8435 (BUS_MCEERR_AO): Likewise.
8436 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8437 (TRAP_TRACE): Likewise.
8438 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8440 (CLD_KILLED): Likewise.
8441 (CLD_DUMPED): Likewise.
8442 (CLD_TRAPPED): Likewise.
8443 (CLD_STOPPED): Likewise.
8444 (CLD_CONTINUED): Likewise.
8445 (POLL_IN): Likewise.
8446 (POLL_OUT): Likewise.
8447 (POLL_MSG): Likewise.
8448 (POLL_ERR): Likewise.
8449 (POLL_PRI): Likewise.
8450 (POLL_HUP): Likewise.
8451 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8452 (ILL_ILLOPN): Likewise.
8453 (ILL_ILLADR): Likewise.
8454 (ILL_ILLTRP): Likewise.
8455 (ILL_PRVOPC): Likewise.
8456 (ILL_PRVREG): Likewise.
8457 (ILL_COPROC): Likewise.
8458 (ILL_BADSTK): Likewise.
8459 (ILL_DBLFLT): Likewise.
8460 (ILL_HARDWALL): Likewise.
8461 (FPE_INTDIV): Likewise.
8462 (FPE_INTOVF): Likewise.
8463 (FPE_FLTDIV): Likewise.
8464 (FPE_FLTOVF): Likewise.
8465 (FPE_FLTUND): Likewise.
8466 (FPE_FLTRES): Likewise.
8467 (FPE_FLTINV): Likewise.
8468 (FPE_FLTSUB): Likewise.
8469 (SEGV_MAPERR): Likewise.
8470 (SEGV_ACCERR): Likewise.
8471 (BUS_ADRALN): Likewise.
8472 (BUS_ADRERR): Likewise.
8473 (BUS_OBJERR): Likewise.
8474 (BUS_MCEERR_AR): Likewise.
8475 (BUS_MCEERR_AO): Likewise.
8476 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8477 (TRAP_TRACE): Likewise.
8478 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8480 (CLD_KILLED): Likewise.
8481 (CLD_DUMPED): Likewise.
8482 (CLD_TRAPPED): Likewise.
8483 (CLD_STOPPED): Likewise.
8484 (CLD_CONTINUED): Likewise.
8485 (POLL_IN): Likewise.
8486 (POLL_OUT): Likewise.
8487 (POLL_MSG): Likewise.
8488 (POLL_ERR): Likewise.
8489 (POLL_PRI): Likewise.
8490 (POLL_HUP): Likewise.
8491 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8492 (ILL_ILLOPN): Likewise.
8493 (ILL_ILLADR): Likewise.
8494 (ILL_ILLTRP): Likewise.
8495 (ILL_PRVOPC): Likewise.
8496 (ILL_PRVREG): Likewise.
8497 (ILL_COPROC): Likewise.
8498 (ILL_BADSTK): Likewise.
8499 (FPE_INTDIV): Likewise.
8500 (FPE_INTOVF): Likewise.
8501 (FPE_FLTDIV): Likewise.
8502 (FPE_FLTOVF): Likewise.
8503 (FPE_FLTUND): Likewise.
8504 (FPE_FLTRES): Likewise.
8505 (FPE_FLTINV): Likewise.
8506 (FPE_FLTSUB): Likewise.
8507 (SEGV_MAPERR): Likewise.
8508 (SEGV_ACCERR): Likewise.
8509 (BUS_ADRALN): Likewise.
8510 (BUS_ADRERR): Likewise.
8511 (BUS_OBJERR): Likewise.
8512 (BUS_MCEERR_AR): Likewise.
8513 (BUS_MCEERR_AO): Likewise.
8514 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8515 (TRAP_TRACE): Likewise.
8516 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8518 (CLD_KILLED): Likewise.
8519 (CLD_DUMPED): Likewise.
8520 (CLD_TRAPPED): Likewise.
8521 (CLD_STOPPED): Likewise.
8522 (CLD_CONTINUED): Likewise.
8523 (POLL_IN): Likewise.
8524 (POLL_OUT): Likewise.
8525 (POLL_MSG): Likewise.
8526 (POLL_ERR): Likewise.
8527 (POLL_PRI): Likewise.
8528 (POLL_HUP): Likewise.
8529 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8530 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8533 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8534 before #include of <time.h>.
8535 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8536 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8537 (test-xfail-UNIX98/sched.h/conform): Likewise.
8539 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8541 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8542 error absence of trapping exception support.
8543 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8545 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8547 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8548 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8549 * timezone/Makefile (testdata): Move definition above include of
8551 (test-zones): New variable.
8552 (tests-special): Add zone files.
8553 (build-testdata): Use $(evaluate-test).
8555 * elf/Makefile (tests-special): Rename tests to end with .out.
8556 ($(objpfx)noload-mem): Likewise.
8557 ($(objpfx)tst-leaks1-mem): Likewise.
8558 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8559 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8560 $(objpfx)test-iconvconfig.out.
8561 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8562 set -e inside subshell and redirect output to file.
8563 * iconvdata/Makefile (generated): Rename tests to end with .out.
8565 (tests-special): Rename tests to end with .out.
8566 ($(objpfx)mtrace-tst-loading): Likewise.
8567 * intl/Makefile (generated): Likewise.
8568 (tests-special): Likewise.
8569 ($(objpfx)mtrace-tst-gettext): Likewise.
8570 * misc/Makefile (generated): Likewise.
8571 (tests-special): Likewise.
8572 ($(objpfx)tst-error1-mem): Likewise.
8573 * nptl/Makefile (tests-special): Likewise.
8574 ($(objpfx)tst-stack3-mem): Likewise.
8575 (generated): Likewise.
8576 * posix/Makefile (generated): Likewise.
8577 (tests-special): Likewise.
8578 (xtests-special): Likewise.
8579 ($(objpfx)tst-fnmatch-mem): Likewise.
8580 ($(objpfx)bug-regex2-mem): Likewise.
8581 ($(objpfx)bug-regex14-mem): Likewise.
8582 ($(objpfx)bug-regex21-mem): Likewise.
8583 ($(objpfx)bug-regex31-mem): Likewise.
8584 ($(objpfx)tst-vfork3-mem): Likewise.
8585 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8586 ($(objpfx)tst-pcre-mem): Likewise.
8587 ($(objpfx)tst-boost-mem): Likewise.
8588 ($(objpfx)bug-ga2-mem): Likewise.
8589 ($(objpfx)bug-glob2-mem): Likewise.
8590 * resolv/Makefile (generate): Likewise.
8591 (tests-special): Likewise.
8592 (xtests-special): Likewise.
8593 (generated): Likewise.
8594 ($(objpfx)mtrace-tst-leaks): Likewise.
8595 ($(objpfx)mtrace-tst-leaks2): Likewise.
8597 * scripts/merge-test-results.sh: New file.
8598 * Makefile (tests-special-notdir): New variable.
8599 (tests): Run merge-test-results.sh.
8601 * Rules (tests-special-notdir): New variable.
8602 (xtests-special-notdir): Likewise.
8603 (tests): Run merge-test-results.sh
8606 * Makeconfig (test-xfail-name): New variable.
8607 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8608 compute variable name for expected failures.
8609 * conform/Makefile (conformtest-headers-data): New variable.
8610 (conformtest-standards): Likewise.
8611 (conformtest-headers-ISO): Likewise.
8612 (conformtest-headers-ISO99): Likewise.
8613 (conformtest-headers-ISO11): Likewise.
8614 (conformtest-headers-POSIX): Likewise.
8615 (conformtest-headers-XPG3): Likewise.
8616 (conformtest-headers-XPG4): Likewise.
8617 (conformtest-headers-UNIX98): Likewise.
8618 (conformtest-headers-XOPEN2K): Likewise.
8619 (conformtest-headers-POSIX2008): Likewise.
8620 (conformtest-headers-XOPEN2K8): Likewise.
8621 (conformtest-header-list-base): Likewise.
8622 (conformtest-header-list-tests): Likewise.
8623 (conformtest-header-base): Likewise.
8624 (conformtest-header-tests): Likewise.
8625 (tests-special): Add $(conformtest-header-list-tests). If
8626 [$(fast-check) && !$(cross-compiling)], add
8627 $(conformtest-header-tests) instead of
8628 $(objpfx)run-conformtest.out.
8629 (generated): Add $(conformtest-header-list-base). If
8630 [$(fast-check) && !$(cross-compiling)], add
8631 $(conformtest-header-base). Remove previous setting.
8632 ($(conformtest-header-list-tests)): New target.
8633 (test-xfail-run-conformtest): Remove variable.
8634 ($(objpfx)run-conformtest.out): Remove target.
8635 (test-xfail-ISO11/complex.h/conform): New variable.
8636 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8637 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8638 (test-xfail-XPG3/varargs.h/conform): Likewise.
8639 (test-xfail-XPG4/varargs.h/conform): Likewise.
8640 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8641 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8642 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8643 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8644 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8645 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8646 (test-xfail-XPG3/ftw.h/conform): Likewise.
8647 (test-xfail-XPG3/grp.h/conform): Likewise.
8648 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8649 (test-xfail-XPG3/limits.h/conform): Likewise.
8650 (test-xfail-XPG3/pwd.h/conform): Likewise.
8651 (test-xfail-XPG3/search.h/conform): Likewise.
8652 (test-xfail-XPG3/signal.h/conform): Likewise.
8653 (test-xfail-XPG3/stdio.h/conform): Likewise.
8654 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8655 (test-xfail-XPG3/string.h/conform): Likewise.
8656 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8657 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8658 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8659 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8660 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8661 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8662 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8663 (test-xfail-XPG3/termios.h/conform): Likewise.
8664 (test-xfail-XPG3/time.h/conform): Likewise.
8665 (test-xfail-XPG3/unistd.h/conform): Likewise.
8666 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8667 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8668 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8669 (test-xfail-XPG4/netdb.h/conform): Likewise.
8670 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8671 (test-xfail-XPG4/signal.h/conform): Likewise.
8672 (test-xfail-XPG4/stdio.h/conform): Likewise.
8673 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8674 (test-xfail-XPG4/stropts.h/conform): Likewise.
8675 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8676 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8677 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8678 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8679 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8680 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8681 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8682 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8683 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8684 (test-xfail-XPG4/termios.h/conform): Likewise.
8685 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8686 (test-xfail-XPG4/unistd.h/conform): Likewise.
8687 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8688 (test-xfail-POSIX/sched.h/conform): Likewise.
8689 (test-xfail-POSIX/signal.h/conform): Likewise.
8690 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8691 (test-xfail-POSIX/tar.h/conform): Likewise.
8692 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8693 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8694 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8695 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8696 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8697 (test-xfail-UNIX98/sched.h/conform): Likewise.
8698 (test-xfail-UNIX98/signal.h/conform): Likewise.
8699 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8700 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8701 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8702 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8703 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8704 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8705 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8706 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8707 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8708 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8709 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8710 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8711 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8712 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8713 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8714 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8715 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8716 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8717 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8718 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8719 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8720 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8721 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8722 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8723 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8724 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8725 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8726 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8727 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8728 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8729 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8730 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8731 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8732 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8733 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8734 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8735 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8736 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8737 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8738 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8739 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8740 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8741 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8742 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8743 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8744 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8745 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8746 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8747 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8748 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8749 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8750 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8751 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8752 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8753 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8754 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8755 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8756 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8757 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8758 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8759 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8760 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8761 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8762 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8763 (conformtest-cc-flags): Likewise.
8764 ($(conformtest-header-tests): New target.
8765 * conform/check-header-lists.sh: New file.
8766 * conform/run-conformtest.sh: Remove.
8768 * conform/conformtest.pl: Allow ' and \ in values given for
8770 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8772 [POSIX] (sys/types.h): Likewise.
8773 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8775 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8777 * conform/data/signal.h-data (SIGIO): Remove expectation.
8778 [XPG3] (SIGBUS): Do not expect.
8779 [POSIX || XPG3] (SIGPOLL): Likewise.
8780 [POSIX || XPG3] (SIGPROF): Likewise.
8781 [POSIX || XPG3] (SIGSYS): Likewise.
8782 [XPG3] (SIGTRAP): Likewise.
8783 [POSIX || XPG3] (SIGURG): Likewise.
8784 [POSIX || XPG3] (SIGVTALRM): Likewise.
8785 [POSIX || XPG3] (SIGXCPU): Likewise.
8786 [POSIX || XPG3] (SIGXFSZ): Likewise.
8787 [POSIX] (SA_SIGINFO): Expect.
8788 [XPG3] (siginfo_t): Do not expect type or contents.
8789 [POSIX] (si_pid): Do not expect element.
8790 [POSIX] (si_uid): Likewise.
8791 [POSIX] (si_addr): Likewise.
8792 [POSIX] (si_status): Likewise.
8793 [POSIX] (si_band): Likewise.
8794 [XPG4] (si_value): Likewise.
8795 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8796 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8797 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8798 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8799 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8800 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8801 [POSIX || XPG3] (ILL_COPROC): Likewise.
8802 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8803 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8804 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8805 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8806 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8807 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8808 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8809 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8810 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8811 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8812 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8813 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8814 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8815 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8816 [POSIX || XPG3] (CLD_EXITED): Likewise.
8817 [POSIX || XPG3] (CLD_KILLED): Likewise.
8818 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8819 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8820 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8821 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8822 [POSIX || XPG3] (POLL_IN): Likewise.
8823 [POSIX || XPG3] (POLL_OUT): Likewise.
8824 [POSIX || XPG3] (POLL_MSG): Likewise.
8825 [POSIX || XPG3] (POLL_ERR): Likewise.
8826 [POSIX || XPG3] (POLL_PRI): Likewise.
8827 [POSIX || XPG3] (POLL_HUP): Likewise.
8828 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8829 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8830 (SIG*): Do not allow.
8831 [XPG3] (si_*): Likewise.
8832 [XPG3] (SI_*): Likewise.
8833 [XPG3 || XPG4] (sigev_*): Likewise.
8834 [XPG3 || XPG4] (SIGEV_*): Likewise.
8835 [XPG3 || XPG4] (sival_*): Likewise.
8836 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8837 [POSIX || XPG3] (BUS_*): Likewise.
8838 [POSIX || XPG3] (CLD_*): Likewise.
8839 [POSIX || XPG3] (FPE_*): Likewise.
8840 [POSIX || XPG3] (ILL_*): Likewise.
8841 [POSIX || XPG3] (POLL_*): Likewise.
8842 [POSIX || XPG3] (SEGV_*): Likewise.
8843 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8844 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8845 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8846 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8847 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8848 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8849 Specify type and value.
8850 (TVERSLEN): Likewise.
8851 (REGTYPE): Likewise.
8852 (AREGTYPE): Likewise.
8853 (LNKTYPE): Likewise.
8854 (SYMTYPE): Likewise.
8855 (CHRTYPE): Likewise.
8856 (BLKTYPE): Likewise.
8857 (DIRTYPE): Likewise.
8858 (FIFOTYPE): Likewise.
8859 (CONTTYPE): Likewise.
8864 (TUWRITE): Likewise.
8867 (TGWRITE): Likewise.
8870 (TOWRITE): Likewise.
8872 [POSIX] (TSVTX): Expect constant.
8874 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8876 * Makefile (tests): Change dependencies to ....
8877 (tests-special): ... additions to this variable.
8878 (tests): Depend on $(tests-special).
8879 * Makerules (check-abi-list): New variable.
8880 (check-abi): Depend on $(check-abi-list).
8881 [$(subdir) = elf] (tests-special): Add
8882 $(objpfx)check-abi-libc.out.
8883 [$(build-shared) = yes && subdir] (tests-special): Add
8885 [$(build-shared) = yes && subdir] (tests): Do not depend on
8887 * Rules (tests): Depend on $(tests-special).
8888 (xtests): Depend on $(xtests-special).
8889 * catgets/Makefile (tests): Change dependencies to ....
8890 (tests-special): ... additions to this variable.
8891 * conform/Makefile (tests): Change dependencies to ....
8892 (tests-special): ... additions to this variable.
8893 * elf/Makefile (tests): Change dependencies to ....
8894 (tests-special): ... additions to this variable.
8895 * grp/Makefile (tests): Change dependencies to ....
8896 (tests-special): ... additions to this variable.
8897 * iconv/Makefile (xtests): Change dependencies to ....
8898 (xtests-special): ... additions to this variable.
8899 * iconvdata/Makefile (tests): Change dependencies to ....
8900 (tests-special): ... additions to this variable.
8901 * intl/Makefile (tests): Change dependencies to ....
8902 (tests-special): ... additions to this variable. Also add
8903 $(objpfx)tst-gettext.out.
8904 * io/Makefile (tests): Change dependencies to ....
8905 (tests-special): ... additions to this variable.
8906 * libio/Makefile (tests): Change dependencies to ....
8907 (tests-special): ... additions to this variable.
8908 * malloc/Makefile (tests): Change dependencies to ....
8909 (tests-special): ... additions to this variable.
8910 * misc/Makefile (tests): Change dependencies to ....
8911 (tests-special): ... additions to this variable.
8912 * nptl/Makefile (tests): Change dependencies to ....
8913 (tests-special): ... additions to this variable.
8914 * nptl_db/Makefile (tests): Change dependencies to ....
8915 (tests-special): ... additions to this variable.
8916 * posix/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 * resolv/Makefile (tests): Change dependencies to ....
8921 (tests-special): ... additions to this variable.
8922 (xtests): Change dependencies to ....
8923 (xtests-special): ... additions to this variable.
8924 * stdio-common/Makefile (tests): Change dependencies to ....
8925 (tests-special): ... additions to this variable.
8926 (do-tst-unbputc): Remove target.
8927 (do-tst-printf): Likewise.
8928 * stdlib/Makefile (tests): Change dependencies to ....
8929 (tests-special): ... additions to this variable.
8930 * string/Makefile (tests): Change dependencies to ....
8931 (tests-special): ... additions to this variable.
8932 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8933 (tests-special): ... additions to this variable.
8935 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8937 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8939 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8940 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8942 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8943 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8944 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8945 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8946 * conform/data/libgen.h-data [XPG3]: Likewise.
8947 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8948 * conform/data/ndbm.h-data [XPG3]: Likewise.
8949 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8950 * conform/data/netdb.h-data [XPG3]: Likewise.
8951 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8952 * conform/data/poll.h-data [XPG3]: Likewise.
8953 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8954 * conform/data/strings.h-data [XPG3]: Likewise.
8955 * conform/data/stropts.h-data [XPG3]: Likewise.
8956 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8957 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8958 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8960 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8961 * conform/data/sys/time.h-data [XPG3]: Likewise.
8962 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8963 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8964 * conform/data/sys/un.h-data [XPG3]: Likewise.
8965 * conform/data/syslog.h-data [XPG3]: Likewise.
8966 * conform/data/ucontext.h-data [XPG3]: Likewise.
8967 * conform/data/utmpx.h-data [XPG3]: Likewise.
8968 * conform/data/varargs.h-data [UNIX98]: Enable file.
8970 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8972 * math/libm-test.inc (struct test_f_f_data): Move expected results
8973 into structure for each rounding mode.
8974 (struct test_ff_f_data): Likewise.
8975 (struct test_ff_f_data_nexttoward): Likewise.
8976 (struct test_fi_f_data): Likewise.
8977 (struct test_fl_f_data): Likewise.
8978 (struct test_if_f_data): Likewise.
8979 (struct test_fff_f_data): Likewise.
8980 (struct test_c_f_data): Likewise.
8981 (struct test_f_f1_data): Likewise.
8982 (struct test_fF_f1_data): Likewise.
8983 (struct test_ffI_f1_data): Likewise.
8984 (struct test_c_c_data): Likewise.
8985 (struct test_cc_c_data): Likewise.
8986 (struct test_f_i_data): Likewise.
8987 (struct test_ff_i_data): Likewise.
8988 (struct test_f_l_data): Likewise.
8989 (struct test_f_L_data): Likewise.
8990 (struct test_fFF_11_data): Likewise.
8992 (RM_FE_DOWNWARD): Likewise.
8993 (RM_FE_TONEAREST): Likewise.
8994 (RM_FE_TOWARDZERO): Likewise.
8995 (RM_FE_UPWARD): Likewise.
8996 (RUN_TEST_LOOP_f_f): Update references to expected results.
8997 (RUN_TEST_LOOP_2_f): Likewise.
8998 (RUN_TEST_LOOP_fff_f): Likewise.
8999 (RUN_TEST_LOOP_c_f): Likewise.
9000 (RUN_TEST_LOOP_f_f1): Likewise.
9001 (RUN_TEST_LOOP_fF_f1): Likewise.
9002 (RUN_TEST_LOOP_fI_f1): Likewise.
9003 (RUN_TEST_LOOP_ffI_f1): Likewise.
9004 (RUN_TEST_LOOP_c_c): Likewise.
9005 (RUN_TEST_LOOP_cc_c): Likewise.
9006 (RUN_TEST_LOOP_f_i): Likewise.
9007 (RUN_TEST_LOOP_f_i_tg): Likewise.
9008 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9009 (RUN_TEST_LOOP_f_b): Likewise.
9010 (RUN_TEST_LOOP_f_b_tg): Likewise.
9011 (RUN_TEST_LOOP_f_l): Likewise.
9012 (RUN_TEST_LOOP_f_L): Likewise.
9013 (RUN_TEST_LOOP_fFF_11): Likewise.
9014 * math/gen-libm-test.pl (parse_args): Output four copies of
9015 expected results for each test.
9017 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9018 (__ASSUME_UTIMES): Remove.
9019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9020 (__ASSUME_UTIMES): Likewise.
9022 * math/gen-auto-libm-tests.c: Update comment on output format.
9023 (output_for_one_input_case): Generate before-rounding and
9024 after-rounding information as conditions on output flags not
9025 floating-point format.
9026 * math/auto-libm-test-out: Regenerated.
9027 * math/gen-libm-test.pl (cond_value): New function.
9028 (or_cond_value): Use cond_value.
9029 (generate_testfile): Handle conditional exceptions.
9031 2014-03-05 Joseph Myers <joseph@codesourcery.com>
9033 * math/libm-test.inc (max_valid_error): New variable.
9034 (init_max_error): Take new argument specifying whether function
9035 results are exactly determined. Set max_valid_error and bound
9036 other variables for errors based on this argument.
9037 (set_max_error): Do not record results above max_valid_error.
9038 (check_float_internal): Only accept errors of up to 0.5ulps if
9039 also at most max_valid_error.
9040 (START): Take new argument EXACT and pass it to init_max_error.
9041 (acos_test): Update call to START.
9042 (acos_test_tonearest): Likewise.
9043 (acos_test_towardzero): Likewise.
9044 (acos_test_downward): Likewise.
9045 (acos_test_upward): Likewise.
9046 (acosh_test): Likewise.
9047 (asin_test): Likewise.
9048 (asin_test_tonearest): Likewise.
9049 (asin_test_towardzero): Likewise.
9050 (asin_test_downward): Likewise.
9051 (asin_test_upward): Likewise.
9052 (asinh_test): Likewise.
9053 (atan_test): Likewise.
9054 (atanh_test): Likewise.
9055 (atan2_test): Likewise.
9056 (cabs_test): Likewise.
9057 (cacos_test): Likewise.
9058 (cacosh_test): Likewise.
9059 (carg_test): Likewise.
9060 (casin_test): Likewise.
9061 (casinh_test): Likewise.
9062 (catan_test): Likewise.
9063 (catanh_test): Likewise.
9064 (cbrt_test): Likewise.
9065 (ccos_test): Likewise.
9066 (ccosh_test): Likewise.
9067 (ceil_test): Likewise.
9068 (cexp_test): Likewise.
9069 (cimag_test): Likewise.
9070 (clog_test): Likewise.
9071 (clog10_test): Likewise.
9072 (conj_test): Likewise.
9073 (copysign_test): Likewise.
9074 (cos_test): Likewise.
9075 (cos_test_tonearest): Likewise.
9076 (cos_test_towardzero): Likewise.
9077 (cos_test_downward): Likewise.
9078 (cos_test_upward): Likewise.
9079 (cosh_test): Likewise.
9080 (cosh_test_tonearest): Likewise.
9081 (cosh_test_towardzero): Likewise.
9082 (cosh_test_downward): Likewise.
9083 (cosh_test_upward): Likewise.
9084 (cpow_test): Likewise.
9085 (cproj_test): Likewise.
9086 (creal_test): Likewise.
9087 (csin_test): Likewise.
9088 (csinh_test): Likewise.
9089 (csqrt_test): Likewise.
9090 (ctan_test): Likewise.
9091 (ctan_test_tonearest): Likewise.
9092 (ctan_test_towardzero): Likewise.
9093 (ctan_test_downward): Likewise.
9094 (ctan_test_upward): Likewise.
9095 (ctanh_test): Likewise.
9096 (ctanh_test_tonearest): Likewise.
9097 (ctanh_test_towardzero): Likewise.
9098 (ctanh_test_downward): Likewise.
9099 (ctanh_test_upward): Likewise.
9100 (erf_test): Likewise.
9101 (erfc_test): Likewise.
9102 (exp_test): Likewise.
9103 (exp_test_tonearest): Likewise.
9104 (exp_test_towardzero): Likewise.
9105 (exp_test_downward): Likewise.
9106 (exp_test_upward): Likewise.
9107 (exp10_test): Likewise.
9108 (exp10_test_tonearest): Likewise.
9109 (exp10_test_towardzero): Likewise.
9110 (exp10_test_downward): Likewise.
9111 (exp10_test_upward): Likewise.
9112 (pow10_test): Likewise.
9113 (exp2_test): Likewise.
9114 (expm1_test): Likewise.
9115 (expm1_test_tonearest): Likewise.
9116 (expm1_test_towardzero): Likewise.
9117 (expm1_test_downward): Likewise.
9118 (expm1_test_upward): Likewise.
9119 (fabs_test): Likewise.
9120 (fdim_test): Likewise.
9121 (floor_test): Likewise.
9122 (fma_test): Likewise.
9123 (fma_test_towardzero): Likewise.
9124 (fma_test_downward): Likewise.
9125 (fma_test_upward): Likewise.
9126 (fmax_test): Likewise.
9127 (fmin_test): Likewise.
9128 (fmod_test): Likewise.
9129 (fpclassify_test): Likewise.
9130 (frexp_test): Likewise.
9131 (hypot_test): Likewise.
9132 (ilogb_test): Likewise.
9133 (isfinite_test): Likewise.
9134 (finite_test): Likewise.
9135 (isgreater_test): Likewise.
9136 (isgreaterequal_test): Likewise.
9137 (isinf_test): Likewise.
9138 (isless_test): Likewise.
9139 (islessequal_test): Likewise.
9140 (islessgreater_test): Likewise.
9141 (isnan_test): Likewise.
9142 (isnormal_test): Likewise.
9143 (issignaling_test): Likewise.
9144 (isunordered_test): Likewise.
9145 (j0_test): Likewise.
9146 (j1_test): Likewise.
9147 (jn_test): Likewise.
9148 (ldexp_test): Likewise.
9149 (lgamma_test): Likewise.
9150 (gamma_test): Likewise.
9151 (lrint_test): Likewise.
9152 (lrint_test_tonearest): Likewise.
9153 (lrint_test_towardzero): Likewise.
9154 (lrint_test_downward): Likewise.
9155 (lrint_test_upward): Likewise.
9156 (llrint_test): Likewise.
9157 (llrint_test_tonearest): Likewise.
9158 (llrint_test_towardzero): Likewise.
9159 (llrint_test_downward): Likewise.
9160 (llrint_test_upward): Likewise.
9161 (log_test): Likewise.
9162 (log10_test): Likewise.
9163 (log1p_test): Likewise.
9164 (log2_test): Likewise.
9165 (logb_test): Likewise.
9166 (logb_test_downward): Likewise.
9167 (lround_test): Likewise.
9168 (llround_test): Likewise.
9169 (modf_test): Likewise.
9170 (nearbyint_test): Likewise.
9171 (nextafter_test): Likewise.
9172 (nexttoward_test): Likewise.
9173 (pow_test): Likewise.
9174 (pow_test_tonearest): Likewise.
9175 (pow_test_towardzero): Likewise.
9176 (pow_test_downward): Likewise.
9177 (pow_test_upward): Likewise.
9178 (remainder_test): Likewise.
9179 (drem_test): Likewise.
9180 (remainder_test_tonearest): Likewise.
9181 (drem_test_tonearest): Likewise.
9182 (remainder_test_towardzero): Likewise.
9183 (drem_test_towardzero): Likewise.
9184 (remainder_test_downward): Likewise.
9185 (drem_test_downward): Likewise.
9186 (remainder_test_upward): Likewise.
9187 (drem_test_upward): Likewise.
9188 (remquo_test): Likewise.
9189 (rint_test): Likewise.
9190 (rint_test_tonearest): Likewise.
9191 (rint_test_towardzero): Likewise.
9192 (rint_test_downward): Likewise.
9193 (rint_test_upward): Likewise.
9194 (round_test): Likewise.
9195 (scalb_test): Likewise.
9196 (scalbn_test): Likewise.
9197 (scalbln_test): Likewise.
9198 (signbit_test): Likewise.
9199 (sin_test): Likewise.
9200 (sin_test_tonearest): Likewise.
9201 (sin_test_towardzero): Likewise.
9202 (sin_test_downward): Likewise.
9203 (sin_test_upward): Likewise.
9204 (sincos_test): Likewise.
9205 (sinh_test): Likewise.
9206 (sinh_test_tonearest): Likewise.
9207 (sinh_test_towardzero): Likewise.
9208 (sinh_test_downward): Likewise.
9209 (sinh_test_upward): Likewise.
9210 (sqrt_test): Likewise.
9211 (sqrt_test_tonearest): Likewise.
9212 (sqrt_test_towardzero): Likewise.
9213 (sqrt_test_downward): Likewise.
9214 (sqrt_test_upward): Likewise.
9215 (tan_test): Likewise.
9216 (tan_test_tonearest): Likewise.
9217 (tan_test_towardzero): Likewise.
9218 (tan_test_downward): Likewise.
9219 (tan_test_upward): Likewise.
9220 (tanh_test): Likewise.
9221 (tgamma_test): Likewise.
9222 (trunc_test): Likewise.
9223 (y0_test): Likewise.
9224 (y1_test): Likewise.
9225 (yn_test): Likewise.
9226 (significand_test): Likewise.
9228 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9229 individual tests in comment.
9230 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9231 (prev_max_error): New variable.
9232 (prev_real_max_error): Likewise.
9233 (prev_imag_max_error): Likewise.
9234 (compare_ulp_data): Don't refer to test names in comment.
9235 (find_test_ulps): Remove function.
9236 (find_function_ulps): Likewise.
9237 (find_complex_function_ulps): Likewise.
9238 (init_max_error): Take function name as argument. Look up ulps
9240 (print_ulps): Remove function.
9241 (print_max_error): Use prev_max_error instead of calling
9243 (print_complex_max_error): Use prev_real_max_error and
9244 prev_imag_max_error instead of calling find_complex_function_ulps.
9245 (check_float_internal): Take max_ulp parameter instead of calling
9246 find_test_ulps. Don't call print_ulps.
9247 (check_float): Update call to check_float_internal.
9248 (check_complex): Update calls to check_float_internal.
9249 (START): Pass argument to init_max_error.
9250 * math/gen-libm-test.pl (%results): Don't include "kind"
9252 (parse_ulps): Don't handle ulps of individual tests.
9253 (print_ulps_file): Likewise.
9254 (output_ulps): Likewise.
9255 * math/README.libm-test: Update.
9256 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9258 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9259 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9260 * sysdeps/arm/libm-test-ulps: Likewise.
9261 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9262 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9263 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9264 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9265 * sysdeps/microblaze/libm-test-ulps: Likewise.
9266 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9267 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9269 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9270 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9271 * sysdeps/sh/libm-test-ulps: Likewise.
9272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9273 * sysdeps/tile/libm-test-ulps: Likewise.
9274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9276 2014-03-04 Joseph Myers <joseph@codesourcery.com>
9278 * math/libm-test.inc (print_complex_max_error): Check separately
9279 whether real and imaginary errors are within allowed range and
9280 pass 0 to print_complex_function_ulps instead of value within
9283 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9285 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9287 (get_handles_fopen): Likewise.
9288 (do_write_test): Likewise.
9290 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9292 * libio/fileops.c (do_ftell): Use cached offset when
9294 * libio/iofwide.c (do_ftell_wide): Likewise.
9295 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9297 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9300 * libio/libioP.h (get_file_offset): New function.
9301 * libio/fileops.c (get_file_offset): Likewise.
9302 (do_ftell): Likewise.
9303 (_IO_new_file_seekoff): Split out ftell logic.
9304 * libio/wfileops.c (do_ftell_wide): Likewise.
9305 (_IO_wfile_seekoff): Split out ftell logic.
9306 * libio/tst-ftell-active-handler.c: New test case.
9307 * libio/Makefile (tests): Add it.
9309 2014-03-03 Roland McGrath <roland@hack.frob.com>
9311 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9312 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9314 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9317 * nscd/connections.c (nscd_init): Call do_exit.
9318 (start_threads): Call do_exit and notify_parent.
9319 (begin_drop_privileges): Call do_exit.
9320 (finish_drop_privileges): Likewise.
9321 * nscd/selinux.c (preserve_capabilities): Likewise.
9322 (install_real_capabilities): Likewise.
9323 (nscd_selinux_enabled): Likewise.
9324 (avc_create_thread): Likewise.
9325 (avc_alloc_lock): Likewise.
9326 (nscd_avc_init): Likewise.
9327 * nscd/nscd.c (parent_fd): New static variable.
9328 (main): Create a pipe between parent and child processes.
9329 Skip closing parent_fd.
9330 (monitor_child): New function.
9331 (do_exit): Likewise.
9332 (notify_parent): Likewise.
9333 * nscd/nscd.h (notify_parent): Likewise.
9334 (do_exit): Likewise.
9336 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9338 * malloc/malloc.c (__libc_calloc): Revert last change.
9340 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9344 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9346 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9350 (__libc_ifunc_impl_list): Likewise.
9351 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9352 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9353 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9354 * string/strrchr.c: Define STRRCHR.
9356 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9358 * benchtest/bench-strtok.c (simple_strtok): Delete.
9359 (strtok_string): Use as benchmark.
9360 * string/strtok (STRTOK): New macro.
9362 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9364 * manual/threads.texi: Add header and standard comments to all
9367 * elf/dl-lookup.c (check_match): New function.
9368 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9369 (do_lookup_x): Remove nested function check_match. Use non-nested
9370 function check_match.
9372 2014-02-28 Roland McGrath <roland@hack.frob.com>
9374 * csu/Makefile (generated, before-compile): Use += rather than =.
9375 * catgets/Makefile (generated, generated-dirs): Likewise.
9376 * debug/Makefile (generated): Likewise.
9377 * dlfcn/Makefile (generated): Likewise.
9378 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9379 * iconvdata/Makefile (before-compile, generated): Likewise.
9380 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9381 * libio/Makefile (generated): Likewise.
9382 * malloc/Makefile (generated): Likewise.
9383 * manual/Makefile (generated, generated-dirs): Likewise.
9384 * misc/Makefile (generated): Likewise.
9385 * posix/Makefile (generated): Likewise.
9386 * resolv/Makefile (generated): Likewise.
9387 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9388 * timezone/Makefile (generated, generated-dirs): Likewise.
9390 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9392 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9395 power8 implementation.
9396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9397 file: POWER8 llround ifunc implementation.
9398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9399 (__lllround): Add POWER8 implementation.
9400 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9401 POWER8 llround implementation.
9403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9404 power8 implementation.
9405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9406 file: POWER8 llrint ifunc implementation.
9407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9408 Add POWER8 implementation.
9409 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9410 POWER8 llrint implementation.
9412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9413 power8 implementation.
9414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9415 file: POWER8 finite ifunc implementation.
9416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9417 Add POWER8 implementation.
9418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9420 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9421 POWER8 finite implementation.
9422 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9425 power8 implementation.
9426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9427 file: POWER8 isinf ifunc implementation.
9428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9429 POWER8 implementation.
9430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9432 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9433 isinf implementation.
9434 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9436 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9437 (INIT_ARCH): Add hwcap2 initialization.
9438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9439 power8 implementation.
9440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9441 file: POWER8 isnan ifunc implementation.
9442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9443 POWER8 implementation.
9444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9446 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9447 isnan implementation.
9448 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9450 2014-02-27 Joey Ye <joey.ye@arm.com>
9452 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9453 (_FP_NANFRAC_Q): Set to zero.
9455 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9458 * math/auto-libm-test-in: New test inputs.
9459 * math/auto-libm-test-out: Regenerate.
9460 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9463 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9465 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9467 * scripts/evaluate-test.sh: Take new argument indicating whether
9468 failure is expected.
9469 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9470 indicating whether failure is expected.
9471 * conform/Makefile (test-xfail-run-conformtest): New variable.
9472 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9474 * posix/Makefile (test-xfail-annexc): New variable.
9475 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9477 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9479 * argp/Makefile: Include Makeconfig immediately after defining
9481 * assert/Makefile: Likewise.
9482 * benchtests/Makefile: Likewise.
9483 * catgets/Makefile: Likewise.
9484 * conform/Makefile: Likewise.
9485 * crypt/Makefile: Likewise.
9486 * csu/Makefile: Likewise.
9487 (all): Remove target.
9488 * ctype/Makefile: Include Makeconfig immediately after defining
9490 * debug/Makefile: Likewise.
9491 * dirent/Makefile: Likewise.
9492 * dlfcn/Makefile: Likewise.
9493 * gmon/Makefile: Likewise.
9494 * gnulib/Makefile: Likewise.
9495 * grp/Makefile: Likewise.
9496 * gshadow/Makefile: Likewise.
9497 * hesiod/Makefile: Likewise.
9498 * hurd/Makefile: Likewise.
9499 (all): Remove target.
9500 * iconvdata/Makefile: Include Makeconfig immediately after
9502 * inet/Makefile: Likewise.
9503 * intl/Makefile: Likewise.
9504 * io/Makefile: Likewise.
9505 * libio/Makefile: Likewise.
9506 (all): Remove target.
9507 * locale/Makefile: Include Makeconfig immediately after defining
9509 * login/Makefile: Likewise.
9510 * mach/Makefile: Likewise.
9511 (all): Remove target.
9512 * malloc/Makefile: Include Makeconfig immediately after defining
9514 (all): Remove target.
9515 * manual/Makefile: Include Makeconfig immediately after defining
9517 * math/Makefile: Likewise.
9518 * misc/Makefile: Likewise.
9519 * nis/Makefile: Likewise.
9520 * nss/Makefile: Likewise.
9521 * po/Makefile: Likewise.
9522 (all): Remove target.
9523 * posix/Makefile: Include Makeconfig immediately after defining
9525 * pwd/Makefile: Likewise.
9526 * resolv/Makefile: Likewise.
9527 * resource/Makefile: Likewise.
9528 * rt/Makefile: Likewise.
9529 * setjmp/Makefile: Likewise.
9530 * shadow/Makefile: Likewise.
9531 * signal/Makefile: Likewise.
9532 * socket/Makefile: Likewise.
9533 * soft-fp/Makefile: Likewise.
9534 * stdio-common/Makefile: Likewise.
9535 * stdlib/Makefile: Likewise.
9536 * streams/Makefile: Likewise.
9537 * string/Makefile: Likewise.
9538 * sunrpc/Makefile: Likewise.
9539 (all): Remove target.
9540 * sysvipc/Makefile: Include Makeconfig immediately after defining
9542 * termios/Makefile: Likewise.
9543 * time/Makefile: Likewise.
9544 * timezone/Makefile: Likewise.
9545 (all): Remove target.
9546 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9548 * wctype/Makefile: Likewise.
9550 2014-02-26 Steve Ellcey <sellcey@mips.com>
9552 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9553 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9554 (libc_feholdexcept_setround_mips): Ditto.
9555 (libc_feholdsetround): New.
9556 (libc_feholdsetroundf): New.
9557 (libc_feholdsetroundl): New.
9558 (libc_feupdateenv_test_mips): New.
9559 (libc_feupdateenv_test): New.
9560 (libc_feupdateenv_testf): New.
9561 (libc_feupdateenv_testl): New.
9562 (libc_feresetround): New.
9563 (libc_feresetroundf): New.
9564 (libc_feresetroundl): New.
9565 (libc_fetestexcept_mips): New.
9566 (libc_fetestexcept): New.
9567 (libc_fetestexceptf): New.
9568 (libc_fetestexceptl): New.
9570 (libc_feholdexcept_setround_mips_ctx): New.
9571 (libc_feholdexcept_setround_ctx): New.
9572 (libc_feholdexcept_setroundf_ctx): New.
9573 (libc_feholdexcept_setroundl_ctx): New.
9574 (libc_fesetenv_mips_ctx): New.
9575 (libc_fesetenv_ctx): New.
9576 (libc_fesetenv_ctxf): New.
9577 (libc_fesetenv_ctxl): New.
9578 (libc_feupdateenv_mips_ctx): New.
9579 (libc_feupdateenv_ctx): New.
9580 (libc_feupdateenvf_ctx): New.
9581 (libc_feupdateenvl_ctx): New.
9582 (libc_feholdsetround_mips_ctx): New.
9583 (libc_feholdsetround_ctx): New.
9584 (libc_feholdsetroundf_ctx): New.
9585 (libc_feholdsetroundl_ctx): New.
9586 (libc_feresetround_mips_ctx): New.
9587 (libc_feresetround_ctx): New.
9588 (libc_feresetroundf_ctx): New.
9589 (libc_feresetroundl_ctx): New.
9591 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9593 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9595 * manual/ipc.texi: New file.
9596 * manual/Makefile (chapters): Add ipc.
9597 * manual/job.texi: Add "Inter-Process Communication" to next.
9598 * manual/process.texi: Add "Inter-Process Communication" to prev.
9600 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9604 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9606 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9608 * manual/arith.texi: Fix spaces after sentences.
9609 * manual/charset.texi: Likewise.
9610 * manual/errno.texi: Likewise.
9611 * manual/install.texi: Likewise.
9612 * manual/llio.texi: Likewise.
9613 * manual/locale.texi: Likewise.
9614 * manual/maint.texi: Likewise.
9615 * manual/math.texi: Likewise.
9616 * manual/memory.texi: Likewise.
9617 * manual/message.texi: Likewise.
9618 * manual/probes.texi: Likewise.
9619 * manual/resource.texi: Likewise.
9620 * manual/signal.texi: Likewise.
9621 * manual/socket.texi: Likewise.
9622 * manual/stdio.texi: Likewise.
9623 * manual/string.texi: Likewise.
9624 * manual/time.texi: Likewise.
9625 * manual/users.texi: Likewise.
9627 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9630 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9631 _DEFAULT_SOURCE is defined.
9633 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9634 Carlos O'Donell <carlos@redhat.com>
9637 * elf/dl-tls.c (_dl_count_modids): New function.
9638 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9639 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9640 audit library and increment generation counter.
9641 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9642 * elf/tst-audit9.c: New file.
9643 * elf/tst-auditmod9a.c: New file.
9644 * elf/tst-auditmod9b.c: New file.
9645 * elf/Makefile: Add rules to build and run tst-audit9.
9647 2014-02-25 Florian Weimer <fweimer@redhat.com>
9650 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9652 2014-02-25 Will Newton <will.newton@linaro.org>
9654 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9655 (__longjmp): Restore sp and lr before restoring callee
9656 saved registers. Add longjmp and longjmp_target
9657 SystemTap probe point.
9658 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9659 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9660 Define to zero to match jmpbuf layout.
9661 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9662 (__sigsetjmp): Save sp and lr before saving callee
9663 saved registers. Add setjmp SystemTap probe point.
9665 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9667 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9669 2014-02-24 Andreas Schwab <schwab@suse.de>
9672 * elf/pldd.c (wait_for_ptrace_stop): New function.
9673 (main): Call it after attaching.
9675 2014-02-22 Roland McGrath <roland@hack.frob.com>
9677 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9678 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9679 Versions files is now verboten.
9680 * hurd/Versions (libc: GLIBC_2.0):
9681 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9682 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9683 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9684 * mach/Versions: Likewise.
9686 * csu/Versions: Remove unused %include.
9687 * resolv/Versions: Likewise.
9689 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9691 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9692 ($(objpfx)check-local-headers.out): Likewise.
9693 ($(objpfx)begin-end-check.out): Likewise.
9694 * Makerules (check-abi-%.out): Likewise.
9695 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9696 ($(objpfx)test2.cat): Likewise.
9697 ($(objpfx)de/libc.cat): Likewise.
9698 ($(objpfx)test-gencat.out): Likewise.
9699 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9700 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9701 ($(objpfx)noload-mem): Likewise.
9702 ($(objpfx)tst-pathopt.out): Likewise.
9703 ($(objpfx)tst-rtld-load-self.out): Likewise.
9704 ($(objpfx)tst-array1-cmp.out): Likewise.
9705 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9706 ($(objpfx)tst-array2-cmp.out): Likewise.
9707 ($(objpfx)tst-array3-cmp.out): Likewise.
9708 ($(objpfx)tst-array4-cmp.out): Likewise.
9709 ($(objpfx)tst-array5-cmp.out): Likewise.
9710 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9711 ($(objpfx)check-textrel.out): Likewise.
9712 ($(objpfx)check-execstack.out): Likewise.
9713 ($(objpfx)check-localplt.out): Likewise.
9714 ($(objpfx)order2-cmp.out): Likewise.
9715 ($(objpfx)tst-leaks1-mem): Likewise.
9716 ($(objpfx)tst-leaks1-static-mem): Likewise.
9717 ($(objpfx)tst-initorder-cmp.out): Likewise.
9718 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9719 ($(objpfx)tst-unused-dep.out): Likewise.
9720 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9721 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9722 * iconv/Makefile (test-iconvconfig): Likewise.
9723 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9724 ($(objpfx)iconv-test.out): Likewise.
9725 ($(objpfx)tst-tables.out): Likewise.
9726 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9727 ($(objpfx)tst-gettext.out): Likewise.
9728 ($(objpfx)tst-translit.out): Likewise.
9729 ($(objpfx)tst-gettext2.out): Likewise.
9730 ($(objpfx)tst-gettext4.out): Likewise.
9731 ($(objpfx)tst-gettext6.out): Likewise.
9732 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9733 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9734 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9735 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9736 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9737 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9738 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9739 ($(objpfx)wordexp-tst.out): Likewise.
9740 ($(objpfx)annexc.out): Likewise.
9741 ($(objpfx)tst-fnmatch-mem): Likewise.
9742 ($(objpfx)bug-regex2-mem): Likewise.
9743 ($(objpfx)bug-regex14-mem): Likewise.
9744 ($(objpfx)bug-regex21-mem): Likewise.
9745 ($(objpfx)bug-regex31-mem): Likewise.
9746 ($(objpfx)tst-vfork3-mem): Likewise.
9747 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9748 ($(objpfx)tst-pcre-mem): Likewise.
9749 ($(objpfx)tst-boost-mem): Likewise.
9750 ($(objpfx)tst-getconf.out): Likewise.
9751 ($(objpfx)bug-ga2-mem): Likewise.
9752 ($(objpfx)bug-glob2-mem): Likewise.
9753 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9754 ($(objpfx)mtrace-tst-leaks2): Likewise.
9755 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9756 ($(objpfx)tst-printf.out): Likewise.
9757 ($(objpfx)tst-setvbuf1.out): Likewise.
9758 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9759 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9760 ($(objpfx)tst-fmtmsg.out): Likewise.
9761 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9762 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9764 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9765 * bits/sigaction.h [__USE_MISC]: Likewise.
9766 * bits/waitstatus.h: Update #endif comments.
9767 * ctype/ctype.h: Likewise.
9768 * dirent/dirent.h: Likewise.
9769 [__USE_MISC]: Remove redundant conditionals.
9770 * grp/grp.h: Update #endif comments.
9771 [__USE_GNU]: Remove redundant conditionals.
9772 [__USE_MISC]: Likewise.
9773 * inet/netinet/in.h [__USE_GNU]: Likewise.
9774 * io/sys/stat.h [__USE_MISC]: Likewise.
9775 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9776 * libio/bits/stdio.h: Update #endif comments.
9777 [__USE_MISC]: Remove redundant conditionals.
9778 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9779 * libio/stdio.h: Update #endif comments.
9780 [__USE_MISC]: Remove redundant conditionals.
9781 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9782 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9783 * math/math.h: Update #else and #endif comments.
9784 [__USE_MISC]: Remove redundant conditionals.
9785 * misc/sys/uio.h: Update #endif comments.
9786 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9787 * posix/glob.h [__USE_MISC]: Likewise.
9788 * posix/sys/types.h: Update #endif comments.
9789 [__USE_MISC]: Remove redundant conditionals.
9790 * posix/sys/wait.h: Update #endif comments.
9791 [__USE_MISC]: Remove redundant conditionals.
9792 * posix/unistd.h: Update #endif comments.
9793 [__USE_MISC]: Remove redundant conditionals.
9794 * pwd/pwd.h [__USE_GNU]: Likewise.
9795 [__USE_MISC]: Likewise.
9796 * resolv/netdb.h [__USE_GNU]: Likewise.
9797 * signal/signal.h: Update #endif comments.
9798 [__USE_MISC]: Remove redundant conditionals.
9799 * stdlib/stdlib.h: Update #else and #endif comments.
9800 [__USE_MISC]: Remove redundant conditionals.
9801 [__USE_GNU]: Likewise.
9802 * string/bits/string2.h [__USE_MISC]: Likewise.
9803 * string/string.h: Update #endif comments.
9804 [__USE_MISC]: Remove redundant conditionals.
9805 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9807 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9808 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9809 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9811 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9815 [__USE_MISC]: Remove redundant conditionals.
9816 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9817 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9818 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9819 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9820 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9822 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9823 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9825 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9826 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9828 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9830 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9831 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9833 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9835 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9836 * sysdeps/x86/bits/string.h: Update #endif comments.
9837 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9839 * time/sys/time.h: Update #endif comments.
9840 * time/time.h: Likewise.
9841 [__USE_MISC]: Remove redundant conditionals.
9843 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9846 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9848 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9850 * Versions.def (librt): Add GLIBC_2.17.
9852 2014-02-21 Adam Conrad <adconrad@0c3.net>
9854 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9855 synonym for _SYS_AUXV_H to allow direct inclusion.
9856 * sysdeps/sparc/bits/hwcap.h: Likewise.
9857 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9858 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9859 * sysdeps/sparc/sysdep.h: Likewise.
9861 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9863 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9865 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9867 * benchtests/bench-strrchr.c: Print length instead of position.
9869 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9872 * sysdeps/unix/sysv/linux/kernel-features.h
9873 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9874 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9875 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9876 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9878 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9879 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9880 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9881 (__ASSUME_SENDMMSG): Define instead of using previous
9882 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9883 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9884 (__ASSUME_SENDMMSG_SYSCALL): Define.
9885 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9886 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9888 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9889 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9891 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9892 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9894 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9895 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9896 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9897 [__ASSUME_SENDMMSG]: Change conditionals to
9898 [__ASSUME_SENDMMSG_SOCKETCALL].
9899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9900 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9902 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9903 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9905 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9906 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9907 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9908 [!__ASSUME_SENDMMSG]: Change conditional to
9909 [!__ASSUME_SENDMMSG_SOCKETCALL].
9910 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9911 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9915 * sysdeps/unix/sysv/linux/kernel-features.h
9916 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9917 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9918 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9919 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9920 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9921 [__i386__ || __sparc__]
9922 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9923 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9924 (__ASSUME_RECVMMSG): Define instead of using previous
9925 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9927 (__ASSUME_RECVMMSG_SYSCALL): Define.
9928 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9932 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9934 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9935 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9937 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9938 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9939 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9940 [__ASSUME_RECVMMSG]: Change condition to
9941 [__ASSUME_RECVMMSG_SOCKETCALL].
9942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9943 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9945 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9946 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9947 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9949 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9950 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9951 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9952 [!__ASSUME_RECVMMSG]: Change condition to
9953 [!__ASSUME_RECVMMSG_SOCKETCALL].
9954 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9955 (__ASSUME_RECVMMSG_SYSCALL): Define.
9958 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9959 __powerpc__ || __s390__ || __sh__ || __sparc__]
9960 (__ASSUME_SOCKETCALL): Define.
9961 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9962 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9963 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9964 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9965 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9966 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9967 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9968 (__ASSUME_ACCEPT4): Define instead of using previous
9969 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9970 __powerpc__ || __sparc__ || __s390__)] condition.
9971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9972 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9973 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9974 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9975 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9976 [!__ASSUME_ACCEPT4]: Change condition to
9977 [!__ASSUME_ACCEPT4_SOCKETCALL].
9978 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9979 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9980 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9981 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9982 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9983 __ASSUME_ACCEPT4_SYSCALL.
9984 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9985 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9986 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9987 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9988 __ASSUME_ACCEPT4_SYSCALL.
9989 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9990 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9991 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9992 [__ASSUME_ACCEPT4]: Change condition to
9993 [__ASSUME_ACCEPT4_SOCKETCALL].
9994 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9995 (__ASSUME_SOCKETCALL): Define.
9996 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9998 (__ASSUME_SOCKETCALL): Define.
9999 (__ASSUME_ACCEPT4): Remove.
10000 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10002 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10003 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10005 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10006 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10008 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10010 (HWCAP_ARM_LPAE): Likewise.
10011 (HWCAP_ARM_EVTSTRM): Likewise.
10012 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10013 Add vpfd32, lpae and evtstrm.
10014 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10017 2014-02-19 Joseph Myers <joseph@codesourcery.com>
10019 * math/auto-libm-test-in: Add tests of clog10.
10020 * math/auto-libm-test-out: Regenerated.
10021 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10022 * sysdeps/i386/fpu/libm-test-ulps: Update.
10023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10025 2014-02-18 Andreas Schwab <schwab@suse.de>
10028 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10029 Store non-zero if the second buffer was newly allocated.
10030 (send_dg): Likewise.
10031 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10032 to send_vc and send_dg.
10033 (res_nsend): Pass NULL for ansp2_malloced.
10034 * resolv/res_query.c (__libc_res_nquery): Add parameter
10035 answerp2_malloced and pass it down to __libc_res_nsend.
10036 (res_nquery): Pass additional NULL to __libc_res_nquery.
10037 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10038 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10039 second answer buffer if answerp2_malloced was set.
10040 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10041 (__libc_res_nquerydomain): Add parameter
10042 answerp2_malloced and pass it down to __libc_res_nquery.
10043 (res_nquerydomain): Pass additional NULL to
10044 __libc_res_nquerydomain.
10045 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10046 additional NULL to __libc_res_nsend and __libc_res_nquery.
10047 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10048 additional NULL to __libc_res_nsearch.
10049 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10050 parameter of __libc_res_nsearch to check for separately allocated
10052 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10054 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10055 additional NULL to __libc_res_nquery.
10056 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10057 __libc_res_nsearch.
10058 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10059 * include/resolv.h: Update prototypes of __libc_res_nquery,
10060 __libc_res_nsearch, __libc_res_nsend.
10062 2014-02-18 Joseph Myers <joseph@codesourcery.com>
10064 * math/auto-libm-test-in: Add tests of fma.
10065 * math/auto-libm-test-out: Regenerated.
10066 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10067 (fma_towardzero_test_data): Likewise.
10068 (fma_downward_test_data): Likewise.
10069 (fma_upward_test_data): Likewise.
10070 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10072 (rounding_modes): Add values for new field.
10073 (func_calc_method): Add value mpfr_fff_f.
10074 (func_calc_desc): Add mpfr_fff_f union field.
10075 (test_function): Add field exact_args.
10076 (FUNC): Add macro argument EXACT_ARGS.
10077 (FUNC_mpfr_f_f): Update call to FUNC.
10078 (FUNC_mpfr_f_f): Likewise.
10079 (FUNC_mpfr_ff_f): Likewise.
10080 (FUNC_mpfr_if_f): Likewise.
10081 (FUNC_mpc_c_f): Likewise.
10082 (FUNC_mpc_c_c): Likewise.
10083 (test_functions): Add fma. Update calls to FUNC.
10084 (handle_input_arg): Add argument exact_args.
10085 (add_test): Update call to handle_input_arg.
10086 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10087 (output_for_one_input_case): Update call to calc_generic_results.
10088 Recalculate exact zero results in each rounding mode.
10090 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10091 non-negative before setting low bit.
10092 * math/auto-libm-test-in: Mark one asin test possibly having
10093 spurious underflow.
10094 * math/auto-libm-test-out: Regenerated.
10095 * sysdeps/i386/fpu/libm-test-ulps: Update.
10096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10098 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10100 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10101 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10102 ports/sysdeps/unix/sysv/linux/microblaze.
10103 * README: Add missing listing for microblaze*-*-linux-gnu.
10105 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
10107 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10110 2014-02-16 Mike Frysinger <vapier@gentoo.org>
10112 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10113 * sysdeps/unix/sysv/linux/ia64: Move directory from
10114 ports/sysdeps/unix/sysv/linux/ia64.
10115 * README: Update listing for ia64-*-linux-gnu.
10117 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10118 Joseph Myers <joseph@codesourcery.com>
10120 * Makeconfig (test-name): New variable.
10121 (evaluate-test): Likewise.
10122 * Makerules (do-test-clean): Remove .test-result files.
10123 (common-mostlyclean): Likewise.
10124 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10125 * scripts/evaluate-test.sh: New file.
10127 2014-02-14 Joseph Myers <joseph@codesourcery.com>
10129 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10130 separate $(objpfx)tst-fopenloc-cmp.out and
10131 $(objpfx)tst-fopenloc-mem.out targets.
10132 (tests): Update dependencies.
10133 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10134 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10135 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10136 (tst-rxspencer-no-utf8-ARGS): New variable.
10137 (tst-rxspencer-no-utf8-ENV): Likewise.
10138 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10139 instead of $(objpfx)tst-rxspencer-mem.
10140 ($(objpfx)tst-rxspencer-mem): Change target to
10141 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10142 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10143 * posix/tst-rxspencer-no-utf8.c: New file.
10145 * elf/Makefile ($(objpfx)order.out): Remove rule.
10146 [$(run-built-tests) = yes] (tests): Depend on
10147 $(objpfx)order-cmp.out.
10148 ($(objpfx)order-cmp.out): New rule.
10149 [$(run-built-tests) = yes] (tests): Depend on
10150 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10151 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10152 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10153 $(objpfx)tst-array5-static-cmp.out.
10154 ($(objpfx)tst-array1.out): Remove rule.
10155 ($(objpfx)tst-array1-cmp.out): New rule.
10156 ($(objpfx)tst-array1-static.out): Remove rule.
10157 ($(objpfx)tst-array1-static-cmp.out): New rule.
10158 ($(objpfx)tst-array2.out): Remove rule.
10159 ($(objpfx)tst-array2-cmp.out): New rule.
10160 ($(objpfx)tst-array3.out): Remove rule.
10161 ($(objpfx)tst-array3-cmp.out): New rule.
10162 ($(objpfx)tst-array4.out): Remove rule.
10163 ($(objpfx)tst-array4-cmp.out): New rule.
10164 ($(objpfx)tst-array5.out): Remove rule.
10165 ($(objpfx)tst-array5-cmp.out): New rule.
10166 ($(objpfx)tst-array5-static.out): Remove rule.
10167 ($(objpfx)tst-array5-static-cmp.out): New rule.
10168 [$(run-built-tests) = yes] (tests): Depend on
10169 $(objpfx)order2-cmp.out.
10170 ($(objpfx)order2.out): Remove rule.
10171 ($(objpfx)order2-cmp.out): New rule.
10172 ($(objpfx)tst-initorder.out): Remove rule.
10173 [$(run-built-tests) = yes] (tests): Depend on
10174 $(objpfx)tst-initorder-cmp.out.
10175 ($(objpfx)tst-initorder-cmp.out): New rule.
10176 ($(objpfx)tst-initorder2.out): Remove rule.
10177 [$(run-built-tests) = yes] (tests): Depend on
10178 $(objpfx)tst-initorder2-cmp.out.
10179 ($(objpfx)tst-initorder2-cmp.out): New rule.
10180 [$(run-built-tests) = yes] (tests): Depend on
10181 $(objpfx)tst-unused-dep-cmp.out.
10182 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10183 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10184 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10185 on $(objpfx)tst-setvbuf1-cmp.out.
10186 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10187 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10188 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10189 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10190 ($(objpfx)tst-svc.out): Remove rule.
10191 ($(objpfx)tst-svc-cmp.out): New rule.
10193 2014-02-13 Joseph Myers <joseph@codesourcery.com>
10195 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10196 * ctype/ctype.h [__USE_MISC]: Likewise.
10197 * dirent/dirent.h [__USE_MISC]: Likewise.
10198 * grp/grp.h [__USE_MISC]: Likewise.
10199 * io/fcntl.h [__USE_MISC]: Likewise.
10200 * io/sys/stat.h [__USE_MISC]: Likewise.
10201 * libio/stdio.h [__USE_MISC]: Likewise.
10202 * posix/unistd.h [__USE_MISC]: Likewise.
10203 * pwd/pwd.h [__USE_MISC]: Likewise.
10204 * stdlib.h [__USE_MISC]: Likewise.
10205 * string/bits/string2.h [__USE_MISC]: Likewise.
10206 * string/string.h [__USE_MISC]: Likewise.
10207 * time/time.h [__USE_MISC]: Likewise.
10209 2014-02-13 Andreas Schwab <schwab@suse.de>
10212 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10213 second answer buffer if it was separately allocated.
10215 2014-02-12 Joseph Myers <joseph@codesourcery.com>
10217 * sysdeps/mips/math-tests.h: Include <features.h>.
10218 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10219 (ROUNDING_TESTS_long_double): Do not define.
10220 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10221 (EXCEPTION_TESTS_long_double): Likewise.
10222 * sysdeps/mips/mips64/libm-test-ulps: Update.
10224 * include/features.h (__USE_BSD): Remove macro definitions.
10225 (__USE_SVID): Likewise.
10226 (_BSD_SOURCE): Likewise.
10227 (_SVID_SOURCE): Likewise.
10228 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10229 from definition of _DEFAULT_SOURCE.
10230 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10232 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10233 * bits/mman.h [__USE_BSD]: Likewise.
10234 * bits/termios.h [__USE_BSD]: Likewise.
10235 * bits/waitstatus.h [__USE_BSD]: Likewise.
10236 * ctype/ctype.h [__USE_SVID]: Likewise.
10237 * dirent/dirent.h [__USE_BSD]: Likewise.
10238 * grp/grp.h [__USE_SVID]: Likewise.
10239 [__USE_BSD]: Likewise.
10240 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10241 * io/fcntl.h [__USE_BSD]: Likewise.
10242 * io/ftw.h [__USE_BSD]: Likewise.
10243 * io/sys/stat.h [__USE_BSD]: Likewise.
10244 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10245 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10246 * libio/stdio.h [__USE_SVID]: Likewise.
10247 [__USE_BSD]: Likewise.
10248 * math/math.h [__USE_SVID]: Likewise.
10249 [__USE_BSD]: Likewise.
10250 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10251 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10252 * misc/search.h [__USE_SVID]: Likewise.
10253 * misc/sys/mman.h [__USE_BSD]: Likewise.
10254 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10255 * misc/sys/uio.h [__USE_BSD]: Likewise.
10256 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10257 * posix/glob.h [__USE_BSD]: Likewise.
10258 * posix/regex.h [__USE_BSD]: Likewise.
10259 * posix/sys/types.h [__USE_BSD]: Likewise.
10260 [__USE_SVID]: Likewise.
10261 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10262 * posix/sys/wait.h [__USE_BSD]: Likewise.
10263 [__USE_SVID]: Likewise.
10264 * posix/unistd.h [__USE_BSD]: Likewise.
10265 [__USE_SVID]: Likewise.
10266 * pwd/pwd.h [__USE_SVID]: Likewise.
10267 * resolv/netdb.h [__USE_BSD]: Likewise.
10268 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10269 * signal/signal.h [__USE_BSD]: Likewise.
10270 [__USE_SVID]: Likewise.
10271 * socket/sys/socket.h [__USE_BSD]: Likewise.
10272 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10273 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10274 [__USE_SVID]: Likewise.
10275 * string/bits/string2.h [__USE_BSD]: Likewise.
10276 [__USE_SVID]: Likewise.
10277 * string/bits/string3.h [__USE_BSD]: Likewise.
10278 * string/endian.h [__USE_BSD]: Likewise.
10279 * string/string.h [__USE_SVID]: Likewise.
10280 [__USE_BSD]: Likewise.
10281 * string/strings.h [__USE_BSD]: Likewise.
10282 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10283 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10284 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10285 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10286 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10287 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10291 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10292 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10294 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10295 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10297 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10299 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10300 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10301 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10303 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10305 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10306 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10307 * termios/termios.h [__USE_BSD]: Likewise.
10308 * time/sys/time.h [__USE_BSD]: Likewise.
10309 * time/time.h [__USE_BSD]: Likewise.
10310 [__USE_SVID]: Likewise.
10312 * Makefile (subdir_targets): Remove subdir_lint.out.
10314 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10315 (do-tst-printf): Likewise.
10316 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10317 $(objpfx)tst-printf.out.
10319 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10321 * Makerules (check-abi-%): Change target to
10322 $(objpfx)check-abi-%.out.
10323 (check-abi target): Update dependencies.
10324 (check-abi-pattern variable): Redirect output of diff to $@.
10325 (check-abi variable): Likewise.
10326 * elf/Makefile (check-abi): Update dependencies.
10328 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10330 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10331 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10333 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10334 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10335 value has largest subnormal exponent.
10336 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10337 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10338 * sysdeps/aarch64/soft-fp/sfp-machine.h
10339 (_FP_TININESS_AFTER_ROUNDING): New macro.
10340 * sysdeps/alpha/soft-fp/sfp-machine.h
10341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10342 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10344 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10346 * sysdeps/mips/soft-fp/sfp-machine.h
10347 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10348 * sysdeps/powerpc/soft-fp/sfp-machine.h
10349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10350 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10352 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10353 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10355 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10356 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10359 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10362 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10365 2014-02-12 Richard Henderson <rth@redhat.com>
10367 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10368 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10369 * sysdeps/unix/sysv/linux/alpha: Move directory from
10370 ports/sysdeps/unix/sysv/linux/alpha.
10371 * README: Update listing for alpha-*-linux-gnu.
10373 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10375 * include/features.h: Update comment documenting feature test
10377 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10379 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10380 (_SVID_SOURCE): Likewise.
10381 (_DEFAULT_SOURCE): Update description of default features.
10382 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10384 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10385 (S_ISVTX): Likewise.
10386 * manual/math.texi (Mathematical Constants): Likewise.
10387 * manual/signal.texi (Interrupted Primitives): Likewise.
10388 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10389 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10390 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10391 Don't refer to _SVID_SOURCE in warning text.
10393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10395 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10397 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10398 * sysdeps/mips/dl-lookup.c: Remove.
10399 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10401 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10404 * math/auto-libm-test-in: Add testcase for expl.
10405 * math/auto-libm-test-out: Regenerate.
10406 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10407 calculation of unsafe.
10408 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10410 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10412 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10413 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10414 ports/sysdeps/unix/sysv/linux/aarch64.
10415 * README: Update listing for aarch64*-*-linux-gnu.
10417 2014-02-11 Will Newton <will.newton@linaro.org>
10419 * manual/probes.texi (Mathematical Function Probes): Use
10420 "triggered" instead of "hit".
10422 * manual/probes.texi (Internal Probes): Add documentation
10423 of setjmp, longjmp and longjmp_target probes.
10425 * include/stap-probe.h: Add comment about probe argument
10428 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10429 definition. (tr_where, tr_freehook, tr_mallochook,
10430 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10432 2014-02-11 David S. Miller <davem@davemloft.net>
10434 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10435 processing int_tests.
10437 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10439 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10440 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10441 * sysdeps/unix/sysv/linux/mips: Move directory from
10442 ports/sysdeps/unix/sysv/linux/mips.
10443 * README: Update listing for mips-*-linux-gnu and
10444 mips64-*-linux-gnu.
10446 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10448 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10449 * sysdeps/unix/sysv/linux/m68k: Move directory from
10450 ports/sysdeps/unix/sysv/linux/m68k.
10451 * README: Update listing for m68k-*-linux-gnu.
10453 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10455 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10456 * sysdeps/unix/sysv/linux/generic: Move directory from
10457 ports/sysdeps/unix/sysv/linux/generic.
10458 * sysdeps/unix/sysv/linux/tile: Move directory from
10459 ports/sysdeps/unix/sysv/linux/tile.
10460 * README: Update listing for tile*-*-linux-gnu.
10462 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10464 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10466 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10467 * catgets/open_catalog.c (__open_catalog): Likewise.
10468 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10469 * debug/confstr_chk.c: Likewise.
10470 * debug/fread_chk.c (__fread_chk): Likewise.
10471 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10472 * debug/getgroups_chk.c: Likewise.
10473 * debug/mbsnrtowcs_chk.c: Likewise.
10474 * debug/mbsrtowcs_chk.c: Likewise.
10475 * debug/mbstowcs_chk.c: Likewise.
10476 * debug/memcpy_chk.c: Likewise.
10477 * debug/memmove_chk.c: Likewise.
10478 * debug/mempcpy_chk.c: Likewise.
10479 * debug/memset_chk.c: Likewise.
10480 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10481 * debug/strcat_chk.c (__strcat_chk): Likewise.
10482 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10483 * debug/strncat_chk.c (__strncat_chk): Likewise.
10484 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10485 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10486 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10487 * debug/wcpncpy_chk.c: Likewise.
10488 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10489 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10490 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10491 * debug/wcsncpy_chk.c: Likewise.
10492 * debug/wcsnrtombs_chk.c: Likewise.
10493 * debug/wcsrtombs_chk.c: Likewise.
10494 * debug/wcstombs_chk.c: Likewise.
10495 * debug/wmemcpy_chk.c: Likewise.
10496 * debug/wmemmove_chk.c: Likewise.
10497 * debug/wmempcpy_chk.c: Likewise.
10498 * debug/wmemset_chk.c: Likewise.
10499 * dirent/scandirat.c (SCANDIRAT): Likewise.
10500 * dlfcn/dladdr1.c (dladdr1): Likewise.
10501 * dlfcn/dladdr.c (dladdr): Likewise.
10502 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10503 * dlfcn/dlerror.c (__dlerror): Likewise.
10504 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10505 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10506 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10507 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10508 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10509 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10510 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10511 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10513 * elf/dl-conflict.c: Likewise.
10514 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10515 * elf/dl-dst.h: Likewise.
10516 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10517 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10518 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10519 * elf/dl-init.c (call_init, _dl_init): Likewise.
10520 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10521 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10522 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10524 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10526 * elf/dl-minimal.c (__libc_memalign): Likewise.
10527 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10528 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10529 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10530 * elf/dl-sym.c (do_sym): Likewise.
10531 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10532 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10533 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10534 * elf/dl-writev.h (_dl_writev): Likewise.
10535 * elf/ldconfig.c (search_dir): Likewise.
10536 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10537 (dl_main): Likewise.
10538 * elf/setup-vdso.h (setup_vdso): Likewise.
10539 * grp/compat-initgroups.c (compat_call): Likewise.
10540 * grp/fgetgrent.c (fgetgrent): Likewise.
10541 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10542 * grp/putgrent.c (putgrent): Likewise.
10543 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10545 * hurd/hurdinit.c: Likewise.
10546 * iconvdata/8bit-gap.c (struct): Likewise.
10547 * iconvdata/ansi_x3.110.c : Likewise.
10548 * iconvdata/big5.c : Likewise.
10549 * iconvdata/big5hkscs.c : Likewise.
10550 * iconvdata/cp1255.c: Likewise.
10551 * iconvdata/cp1258.c : Likewise.
10552 * iconvdata/cp932.c : Likewise.
10553 * iconvdata/euc-cn.c: Likewise.
10554 * iconvdata/euc-jisx0213.c : Likewise.
10555 * iconvdata/euc-jp.c: Likewise.
10556 * iconvdata/euc-jp-ms.c : Likewise.
10557 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10558 * iconvdata/gb18030.c : Likewise.
10559 * iconvdata/gbbig5.c (const): Likewise.
10560 * iconvdata/gbgbk.c: Likewise.
10561 * iconvdata/gbk.c : Likewise.
10562 * iconvdata/ibm1364.c : Likewise.
10563 * iconvdata/ibm930.c : Likewise.
10564 * iconvdata/ibm932.c: Likewise.
10565 * iconvdata/ibm933.c : Likewise.
10566 * iconvdata/ibm935.c : Likewise.
10567 * iconvdata/ibm937.c : Likewise.
10568 * iconvdata/ibm939.c : Likewise.
10569 * iconvdata/ibm943.c: Likewise.
10570 * iconvdata/iso_11548-1.c: Likewise.
10571 * iconvdata/iso-2022-cn.c : Likewise.
10572 * iconvdata/iso-2022-cn-ext.c : Likewise.
10573 * iconvdata/iso-2022-jp-3.c: Likewise.
10574 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10575 * iconvdata/iso-2022-kr.c : Likewise.
10576 * iconvdata/iso646.c (gconv_end): Likewise.
10577 * iconvdata/iso_6937-2.c : Likewise.
10578 * iconvdata/iso_6937.c : Likewise.
10579 * iconvdata/iso8859-1.c: Likewise.
10580 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10581 * iconvdata/shift_jisx0213.c : Likewise.
10582 * iconvdata/sjis.c : Likewise.
10583 * iconvdata/t.61.c : Likewise.
10584 * iconvdata/tcvn5712-1.c : Likewise.
10585 * iconvdata/tscii.c: Likewise.
10586 * iconvdata/uhc.c : Likewise.
10587 * iconvdata/unicode.c (gconv_end): Likewise.
10588 * iconvdata/utf-16.c (gconv_end): Likewise.
10589 * iconvdata/utf-32.c (gconv_end): Likewise.
10590 * iconvdata/utf-7.c (base64): Likewise.
10591 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10592 * iconv/gconv_close.c (__gconv_close): Likewise.
10593 * iconv/gconv_open.c (__gconv_open): Likewise.
10594 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10595 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10596 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10597 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10598 (ucs4le_internal_loop_single): Likewise.
10599 * iconv/iconv.c (iconv): Likewise.
10600 * iconv/iconv_close.c: Likewise.
10601 * iconv/loop.c (SINGLE): Likewise.
10602 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10603 * include/atomic.h: Likewise.
10604 * inet/inet6_option.c (option_alloc): Likewise.
10605 * intl/bindtextdom.c (set_binding_values): Likewise.
10606 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10607 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10608 * intl/localealias.c (read_alias_file): Likewise.
10609 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10610 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10611 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10612 * libio/fmemopen.c (fmemopen): Likewise.
10613 * libio/iofgets.c (_IO_fgets): Likewise.
10614 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10615 * libio/iofgetws.c (fgetws): Likewise.
10616 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10617 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10618 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10619 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10620 * locale/findlocale.c (_nl_find_locale): Likewise.
10621 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10622 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10624 * locale/setlocale.c (setlocale): Likewise.
10625 * login/programs/pt_chown.c (main): Likewise.
10626 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10627 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10628 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10629 (mmap, mmap64, mremap, munmap): Likewise.
10630 * math/e_exp2l.c: Likewise.
10631 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10632 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10633 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10634 * math/s_catan.c (__catan): Likewise.
10635 * math/s_catanf.c (__catanf): Likewise.
10636 * math/s_catanh.c (__catanh): Likewise.
10637 * math/s_catanhf.c (__catanhf): Likewise.
10638 * math/s_catanhl.c (__catanhl): Likewise.
10639 * math/s_catanl.c (__catanl): Likewise.
10640 * math/s_ccosh.c (__ccosh): Likewise.
10641 * math/s_ccoshf.c (__ccoshf): Likewise.
10642 * math/s_ccoshl.c (__ccoshl): Likewise.
10643 * math/s_cexp.c (__cexp): Likewise.
10644 * math/s_cexpf.c (__cexpf): Likewise.
10645 * math/s_cexpl.c (__cexpl): Likewise.
10646 * math/s_clog10.c (__clog10): Likewise.
10647 * math/s_clog10f.c (__clog10f): Likewise.
10648 * math/s_clog10l.c (__clog10l): Likewise.
10649 * math/s_clog.c (__clog): Likewise.
10650 * math/s_clogf.c (__clogf): Likewise.
10651 * math/s_clogl.c (__clogl): Likewise.
10652 * math/s_csin.c (__csin): Likewise.
10653 * math/s_csinf.c (__csinf): Likewise.
10654 * math/s_csinh.c (__csinh): Likewise.
10655 * math/s_csinhf.c (__csinhf): Likewise.
10656 * math/s_csinhl.c (__csinhl): Likewise.
10657 * math/s_csinl.c (__csinl): Likewise.
10658 * math/s_csqrt.c (__csqrt): Likewise.
10659 * math/s_csqrtf.c (__csqrtf): Likewise.
10660 * math/s_csqrtl.c (__csqrtl): Likewise.
10661 * math/s_ctan.c (__ctan): Likewise.
10662 * math/s_ctanf.c (__ctanf): Likewise.
10663 * math/s_ctanh.c (__ctanh): Likewise.
10664 * math/s_ctanhf.c (__ctanhf): Likewise.
10665 * math/s_ctanhl.c (__ctanhl): Likewise.
10666 * math/s_ctanl.c (__ctanl): Likewise.
10667 * math/w_pow.c: Likewise.
10668 * math/w_powf.c: Likewise.
10669 * math/w_powl.c: Likewise.
10670 * math/w_scalb.c (sysv_scalb): Likewise.
10671 * math/w_scalbf.c (sysv_scalbf): Likewise.
10672 * math/w_scalbl.c (sysv_scalbl): Likewise.
10673 * misc/error.c (error_tail): Likewise.
10674 * misc/pselect.c (__pselect): Likewise.
10675 * nis/nis_callback.c (__nis_create_callback): Likewise.
10676 * nis/nis_call.c (__nisfind_server): Likewise.
10677 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10678 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10679 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10680 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10681 * nis/nis_lookup.c (nis_lookup): Likewise.
10682 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10683 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10684 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10685 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10686 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10687 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10688 * nis/nss_compat/compat-initgroups.c (add_group)
10689 (internal_getgrent_r): Likewise.
10690 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10691 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10692 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10693 (internal_getspnam_r): Likewise.
10694 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10695 (_nss_nis_getaliasbyname_r): Likewise.
10696 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10697 (_nss_nis_getntohost_r): Likewise.
10698 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10699 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10700 (_nss_nis_getgrgid_r): Likewise.
10701 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10702 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10703 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10704 (_nss_nis_gethostbyname4_r): Likewise.
10705 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10706 (initgroups_netid): Likewise.
10707 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10708 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10709 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10710 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10711 (_nss_nis_getprotobynumber_r): Likewise.
10712 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10713 (_nss_nis_getsecretkey): Likewise.
10714 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10715 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10716 (_nss_nis_getpwuid_r): Likewise.
10717 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10718 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10719 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10720 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10721 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10722 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10723 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10725 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10726 (_nss_nisplus_getntohost_r): Likewise.
10727 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10728 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10729 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10730 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10732 * nis/nss_nisplus/nisplus-initgroups.c
10733 (_nss_nisplus_initgroups_dyn): Likewise.
10734 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10735 (_nss_nisplus_getnetbyaddr_r): Likewise.
10736 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10737 (_nss_nisplus_getprotobynumber_r): Likewise.
10738 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10739 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10740 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10742 * nis/nss_nisplus/nisplus-service.c
10743 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10744 (_nss_nisplus_getservbyport_r): Likewise.
10745 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10746 (_nss_nisplus_getspnam_r): Likewise.
10747 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10749 * nscd/aicache.c (addhstaiX): Likewise.
10750 * nscd/cache.c (cache_search, prune_cache): Likewise.
10751 * nscd/connections.c (register_traced_file, send_ro_fd)
10752 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10753 (main_loop_epoll): Likewise.
10754 * nscd/grpcache.c (addgrbyX): Likewise.
10755 * nscd/hstcache.c (addhstbyX): Likewise.
10756 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10757 * nscd/mem.c (gc, mempool_alloc): Likewise.
10758 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10759 (addinnetgrX): Likewise.
10760 * nscd/nscd-client.h (__nscd_acquire_maplock)
10761 (__nscd_drop_map_ref): Likewise.
10762 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10763 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10764 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10766 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10767 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10768 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10769 (__nscd_get_map_ref): Likewise.
10770 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10771 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10773 * nscd/pwdcache.c (addpwbyX): Likewise.
10774 * nscd/selinux.c (preserve_capabilities): Likewise.
10775 * nscd/servicescache.c (addservbyX): Likewise.
10776 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10777 * posix/fnmatch.c (fnmatch): Likewise.
10778 * posix/getopt.c (_getopt_internal_r): Likewise.
10779 * posix/glob.c (glob, glob_in_dir): Likewise.
10780 * posix/wordexp.c (exec_comm_child): Likewise.
10781 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10782 (getanswer_r, gaih_getanswer_slice): Likewise.
10783 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10784 * resolv/res_init.c: Likewise.
10785 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10786 * resolv/res_query.c (__libc_res_nquery): Likewise.
10787 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10789 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10790 * stdio-common/perror.c (perror): Likewise.
10791 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10792 * stdio-common/tmpnam.c (tmpnam): Likewise.
10793 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10794 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10795 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10797 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10798 * stdlib/putenv.c (putenv): Likewise.
10799 * stdlib/setenv.c (__add_to_environ): Likewise.
10800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10801 * stdlib/strtol_l.c (INTERNAL): Likewise.
10802 * string/memmem.c (memmem): Likewise.
10803 * string/strerror.c (strerror): Likewise.
10804 * string/strnlen.c (__strnlen): Likewise.
10805 * string/test-memmem.c (simple_memmem): Likewise.
10806 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10807 * sunrpc/pm_getport.c (__get_socket): Likewise.
10808 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10809 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10810 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10811 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10813 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10814 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10815 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10816 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10817 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10818 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10820 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10822 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10823 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10824 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10825 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10826 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10828 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10829 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10830 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10831 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10832 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10833 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10835 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10839 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10840 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10841 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10842 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10843 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10844 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10845 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10849 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10851 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10854 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10856 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10858 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10860 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10862 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10864 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10866 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10867 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10868 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10869 * sysdeps/posix/sleep.c: Likewise.
10870 * sysdeps/posix/tempname.c: Likewise.
10871 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10872 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10874 * sysdeps/powerpc/powerpc32/dl-machine.h
10875 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10876 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10878 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10879 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10881 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10882 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10883 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10884 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10885 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10886 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10887 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10888 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10889 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10890 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10892 (elf_machine_lazy_rel): Likewise.
10893 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10895 (elf_machine_lazy_rel): Likewise.
10896 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10897 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10898 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10899 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10900 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10901 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10902 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10905 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10906 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10907 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10908 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10909 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10910 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10911 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10912 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10913 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10914 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10915 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10917 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10918 (__posix_fallocate64_l64): Likewise.
10919 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10920 (posix_fallocate): Likewise.
10921 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10923 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10924 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10925 (getifaddrs_internal): Likewise.
10926 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10927 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10928 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10929 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10930 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10931 (__posix_fallocate64_l64): Likewise.
10932 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10934 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10935 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10936 (__get_clockfreq): Likewise.
10937 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10938 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10939 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10941 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10942 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10943 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10944 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10946 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10947 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10948 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10949 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10950 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10951 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10952 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10954 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10955 (posix_fallocate): Likewise.
10956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10957 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10958 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10959 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10960 (elf_machine_rela, elf_machine_rela_relative)
10961 (elf_machine_lazy_rel): Likewise.
10962 * time/asctime.c (asctime_internal): Likewise.
10963 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10964 * time/tzset.c (__tzset_parse_tz): Likewise.
10965 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10966 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10967 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10968 * wcsmbs/wcsmbsload.h: Likewise.
10971 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10973 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10974 (arena_get2): Remove THREAD_STATS conditionals.
10975 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10976 (__malloc_stats, int): Likewise.
10978 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10980 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10981 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10983 * manual/setjmp.texi: Fix typos/grammar errors.
10985 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10986 Only return early when n is <= 0. Delete unused return statement.
10988 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10989 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10990 * debug/tst-longjmp_chk3.c: New file.
10992 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10993 (test_main): Replace code with set_fortify_handler call.
10994 * debug/test-strcpy_chk.c: Likewise.
10995 * debug/tst-chk1.c: Likewise.
10996 * debug/tst-longjmp_chk.c: Likewise.
10997 * test-skeleton.c: Include fcntl.h & paths.h
10998 (set_fortify_handler): Define.
11000 * debug/tst-longjmp_chk.c: Add header comment and include
11001 ../test-skeleton.c.
11002 (do_test): Mark static.
11003 (TEST_FUNCTION): Define.
11005 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11006 (IP_PMTUDISC_INTERFACE): Likewise.
11007 (IP_MULTICAST_IF): Likewise.
11008 (IP_MULTICAST_TTL): Likewise.
11009 (IP_MULTICAST_LOOP): Likewise.
11010 (IP_ADD_MEMBERSHIP): Likewise.
11011 (IP_DROP_MEMBERSHIP): Likewise.
11012 (IP_UNBLOCK_SOURCE): Likewise.
11013 (IP_BLOCK_SOURCE): Likewise.
11014 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11015 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11016 (IP_MSFILTER): Likewise.
11017 (MCAST_JOIN_GROUP): Likewise.
11018 (MCAST_BLOCK_SOURCE): Likewise.
11019 (MCAST_UNBLOCK_SOURCE): Likewise.
11020 (MCAST_LEAVE_GROUP): Likewise.
11021 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11022 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11023 (MCAST_MSFILTER): Likewise.
11024 (IP_MULTICAST_ALL): Likewise.
11025 (IP_UNICAST_IF): Likewise.
11027 * timezone/Makefile: Delete $(have-ksh) check.
11028 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11029 * timezone/tzselect.ksh: Add +x mode bits.
11031 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11032 (ANON_INODE_FS_MAGIC): Likewise.
11033 (BDEVFS_MAGIC): Likewise.
11034 (BINFMTFS_MAGIC): Likewise.
11035 (BTRFS_TEST_MAGIC): Likewise.
11036 (CRAMFS_MAGIC_WEND): Likewise.
11037 (DEBUGFS_MAGIC): Likewise.
11038 (ECRYPTFS_SUPER_MAGIC): Likewise.
11039 (EXT3_SUPER_MAGIC): Likewise.
11040 (EXT4_SUPER_MAGIC): Likewise.
11041 (FUTEXFS_SUPER_MAGIC): Likewise.
11042 (HOSTFS_SUPER_MAGIC): Likewise.
11043 (HUGETLBFS_MAGIC): Likewise.
11044 (MINIX3_SUPER_MAGIC): Likewise.
11045 (MTD_INODE_FS_MAGIC): Likewise.
11046 (NILFS_SUPER_MAGIC): Likewise.
11047 (OPENPROM_SUPER_MAGIC): Likewise.
11048 (PIPEFS_MAGIC): Likewise.
11049 (PSTOREFS_MAGIC): Likewise.
11050 (QNX6_SUPER_MAGIC): Likewise.
11051 (RAMFS_MAGIC): Likewise.
11052 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11053 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11054 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11055 (SECURITYFS_MAGIC): Likewise.
11056 (SELINUX_MAGIC): Likewise.
11057 (SMACK_MAGIC): Likewise.
11058 (SOCKFS_MAGIC): Likewise.
11059 (SQUASHFS_MAGIC): Likewise.
11060 (STACK_END_MAGIC): Likewise.
11061 (TMPFS_MAGIC): Likewise.
11062 (USBDEVICE_SUPER_MAGIC): Likewise.
11063 (V9FS_MAGIC): Likewise.
11064 (XENFS_SUPER_MAGIC): Likewise.
11065 (CRAMFS_MAGIC): Fix typo in comment.
11066 (EXT2_SUPER_MAGIC): Update comment.
11067 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11069 2014-02-08 Joseph Myers <joseph@codesourcery.com>
11071 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11072 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11073 * sysdeps/unix/sysv/linux/arm: Move directory from
11074 ports/sysdeps/unix/sysv/linux/arm.
11075 * README: Update listing for arm-*-linux-gnueabi.
11077 * README: Remove mention of am33.
11079 2014-02-07 Roland McGrath <roland@hack.frob.com>
11081 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11082 than the comma operator, to avoid "rhs of comma has no effect"
11084 (__sigfillset, __sigandset, __sigorset): Likewise.
11085 * include/signal.h (__sigemptyset): Likewise.
11086 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11088 2014-02-07 Allan McRae <allan@archlinux.org>
11090 * version.h (RELEASE): Set to "development".
11091 (VERSION): Set to "2.19.90"
11092 * NEWS: Add 2.20 section.
11094 2014-02-06 Carlos O'Donell <carlos@redhat.com>
11097 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11099 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11101 * manual/contrib.texi: Update entry for Carlos O'Donell,
11102 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11104 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
11106 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11108 * sysdeps/unix/sysv/linux/kernel-features.h
11109 [__LINUX_KERNEL_VERSION >= 0x020621]
11110 (__ASSUME_PROC_PID_TASK_COMM): Define.
11112 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11115 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11116 conversion when destination buffer does not have enough space.
11117 * libio/tst-ftell-partial-wide.c: New test case.
11118 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11120 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11121 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11122 Leonard and Allan McRae.
11124 2014-02-04 David S. Miller <davem@davemloft.net>
11126 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11129 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11158 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11160 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11161 * shlib-versions: Likewise.
11163 2014-02-04 Roland McGrath <roland@hack.frob.com>
11164 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11166 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11167 (abilist-pattern): New variable, set to %-le.abilist.
11169 * Makerules (abilist-pattern): New variable.
11170 (vpath): Use $(abilist-pattern) in place of %.abilist.
11171 (check-abi-% pattern rule): Likewise.
11172 (check-abi, update-abi): Likewise.
11174 2014-02-04 Eric Wong <normalperson@yhbt.net>
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11178 2014-02-03 Carlos O'Donell <carlos@redhat.com>
11180 * manual/startup.texi: Add next, previous, and top entries for
11181 the `Program Arguments' and `Environment Variables' nodes.
11183 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
11185 * manual/macros.texi: Add comments before MTASC-safety macros.
11187 * manual/users.texi: Document MTASC-safety properties.
11189 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11190 (pthread_getspecific, pthread_setspecific): Format with
11191 @deftypefun, and add @safety note.
11192 * manual/signal.texi: Move comments that analyze the above
11193 functions to their home place.
11195 2014-02-03 Allan McRae <allan@archlinux.org>
11197 * po/sl.po: Update Slovenian translation from translation project.
11199 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
11201 * manual/time.texi (timegm): Add missing blank after @c.
11202 Reported by Joseph Myers <joseph@codesourcery.com>.
11204 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
11206 * manual/check-safety.sh: New.
11207 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11209 * manual/terminal.texi: Document MTASC-safety properties.
11211 * manual/filesys.texi: Document MTASC-safety properties.
11213 * manual/errno.texi: Document MTASC-safety properties.
11215 * manual/intro.texi: Document safety identifiers and
11218 * manual/string.texi (wcstok): Fix prototype.
11219 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11221 * manual/time.texi: Document MTASC-safety properties.
11223 * manual/string.texi: Document MTASC-safety properties.
11225 * manual/threads.texi: Document MTASC-safety properties.
11227 * manual/stdio.texi: Document MTASC-safety properties.
11229 * manual/syslog.texi: Document MTASC-safety properties.
11231 * manual/sysinfo.texi: Document MTASC-safety properties.
11233 * manual/startup.texi: Document MTASC-safety properties.
11235 * manual/socket.texi: Document MTASC-safety properties.
11237 * manual/signal.texi: Document MTASC-safety properties.
11239 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
11241 * manual/setjmp.texi: Document MTASC-safety properties.
11243 * manual/search.texi: Document MTASC-safety properties.
11245 * manual/resource.texi: Document MTASC-safety properties.
11247 * manual/process.texi: Document MTASC-safety properties.
11249 * manual/platform.texi: Document MTASC-safety properties.
11251 * manual/pipe.texi: Document MTASC-safety properties.
11253 * manual/pattern.texi: Document MTASC-safety properties.
11255 * manual/message.texi: Document MTASC-safety properties.
11258 * manual/memory.texi: Document MTASC-safety properties.
11260 * manual/math.texi: Document MTASC-safety properties.
11262 * manual/locale.texi: Document MTASC-safety properties.
11264 * manual/llio.texi: Document MTASC-safety properties.
11266 * manual/libdl.texi: New.
11268 * manual/lang.texi: Document MTASC-safety properties.
11270 * manual/job.texi: Document MTASC-safety properties.
11272 * manual/getopt.texi: Document MTASC-safety properties.
11274 * manual/ctype.texi: Document MTASC-safety properties.
11276 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11279 * csu/libc-tls.c (static_map): Remove variable.
11280 (__libc_setup_tls): Use main executable's link map for TLS data.
11281 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11282 casing for LM_ID_BASE and GL(dl_nns).
11283 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11284 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11285 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11286 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11287 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11289 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11292 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
11294 * manual/debug.texi: Document MTASC-safety properties.
11296 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11299 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11300 of __x86_64__ when disabling x87 inline functions.
11302 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
11304 * manual/charset.texi: Document MTASC-safety properties.
11306 * manual/crypt.texi: Document MTASC-safety properties.
11308 * manual/conf.texi: Document MTASC-safety properties.
11310 * manual/arith.texi: Document MTASC-safety properties.
11312 * manual/argp.texi: Document MTASC-safety properties.
11314 * manual/macros.texi: Introduce macros to document multi
11315 thread, asynchronous signal and asynchronous cancellation
11317 * manual/intro.texi: Introduce the properties themselves.
11319 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11321 * sysdeps/sh/sh4/Makefile: New file.
11323 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11325 * math/gen-libm-test.pl ($srcdir): New variable.
11326 ($auto_input): Use it.
11328 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11331 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11332 access beyond array bounds when parsing netgroups file.
11334 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11335 the old buffer before realloc.
11337 2014-01-27 Allan McRae <allan@archlinux.org>
11339 * po/fr.po: Update French translation from translation project.
11341 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11343 * sysdeps/sh/libm-test-ulps: Regenerate.
11345 2014-01-24 David S. Miller <davem@davemloft.net>
11347 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11349 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11351 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11352 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11354 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11357 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11358 string pointers after reallocation.
11360 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11362 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11363 __SH4A__ instead of __SH_FPU_ANY__.
11365 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11367 * sysdeps/sh/fpu_control.h: New file.
11368 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11369 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11370 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11371 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11372 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11373 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11374 * sysdeps/sh/sys/ucontext.h: Remove.
11375 * sysdeps/sh/sys: Remove directory.
11377 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11379 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11380 s390/sys/ucontext.h.
11381 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11382 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11384 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11387 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11389 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11392 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11393 Adjust the vDSO correctly for internal calls.
11394 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11396 2014-01-20 Allan McRae <allan@archlinux.org>
11398 * po/ca.po: Update Catalan translation from translation project.
11400 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11402 * sysdeps/s390/sotruss-lib.c: New file.
11404 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11407 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11408 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11409 local calls issues by not having a PLT stub required for IFUNC calls.
11410 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11412 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11414 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11415 * math/test-fpucw-static.c: Likewise.
11417 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11420 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11422 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11424 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11425 implementation for powerpc.
11427 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11430 * sysdeps/posix/system.c (__libc_system): Do not enable
11431 asynchronous cancellation.
11433 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11436 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11437 handling only for numbers special also in the IEEE case.
11439 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11441 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11443 2014-01-11 Allan McRae <allan@archlinux.org>
11445 * po/bg.po: Update Bulgarian translation from translation project.
11447 * po/de.po: Update German translation from translation project.
11449 2014-01-10 Roland McGrath <roland@hack.frob.com>
11451 * sysdeps/generic/gcc-compat.h: New file.
11453 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11455 * benchtests/asin-inputs: Correct slow inputs.
11456 * benchtests/acos-inputs: Likewise.
11458 2014-01-10 Allan McRae <allan@archlinux.org>
11460 * po:sv.po: Update Swedish translation from translation project.
11462 * po/vi.po: Update Vietnamese translation from translation project.
11464 * po/eo.po: Update Esperanto translation from translation project.
11466 * po/cs.po: Update Czech translation from translation project.
11468 * po/nl.po: Update Dutch translation from translation project.
11470 * po/pl.po: Update Polish translation from translation project.
11472 * po/ru.po: Update Russian translation from translation project.
11474 * po/uk.po: Update Ukrainian translation from translation project.
11476 2014-01-08 Brooks Moses <bmoses@google.com>
11478 * elf/dl-load.c: Fix comment typo.
11480 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11482 * po/header.pot: Rename to...
11483 * po/pot.header: ... this.
11484 * po/Makefile: Use pot.header.
11486 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11487 Maxim Kuvyrkov <maxim@kugelworks.com>
11490 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11491 SRC and DEST against LEN.
11493 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11496 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11498 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11500 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11504 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11507 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11508 for large positive arguments.
11510 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11512 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11514 * math/auto-libm-test-in: Mark various tests with
11515 xfail-rounding:ldbl-128ibm.
11516 * math/auto-libm-test-out: Regenerated.
11519 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11520 Increase overflow threshold.
11522 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11525 * stdio-common/vfprintf.c: Check for integer overflow.
11527 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11529 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11530 the first argument and return value of __tls_get_addr_internal.
11532 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11534 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11535 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11537 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11539 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11540 * sysdeps/s390/rtld-global-offsets.sym: New file.
11541 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11543 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11544 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11545 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11547 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11548 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11554 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11555 halfs of GPRs for high_gprs contexts.
11556 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11557 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11559 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11561 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11563 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11564 for high GPRs (uc_high_gprs) and for future extensions
11566 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11567 for future extensions (__reserved).
11568 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11570 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11571 SC_HIGHGPRS offset definition.
11572 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11573 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11575 * Versions.def: Add GLIBC_2.19 for libpthread.
11576 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11577 siglongjmp for libpthread with GLIBC_2.19 symver.
11578 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11579 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11580 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11581 * sysdeps/s390/__longjmp.c: New file.
11582 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11583 * sysdeps/s390/longjmp.c: New file.
11584 * sysdeps/s390/setjmp.S: New file.
11585 * sysdeps/s390/sigjmp.S: New file.
11586 * sysdeps/s390/v1-longjmp.c: New file.
11587 * sysdeps/s390/v1-setjmp.h: New file.
11588 * sysdeps/s390/v1-sigjmp.c: New file.
11589 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11590 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11591 GLIBC_2.19 version.
11592 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11593 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11594 versioned symbols for ____longjmp_chk.
11595 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11605 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11606 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11607 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11608 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11609 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11610 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11611 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11612 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11613 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11614 * sysdeps/s390/rtld-__longjmp.c: New file.
11615 * sysdeps/s390/rtld-setjmp.S: New file.
11617 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11620 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11621 Return -__logl (x) for small positive arguments without evaluating
11624 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11626 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11628 (__ptrace_peeksiginfo_args): ... this.
11629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11633 2014-01-06 Allan McRae <allan@archlinux.org>
11635 * inet/netinet/in.h: Fix typo in comment.
11637 2014-01-05 Andreas Jaeger <aj@suse.de>
11639 * sysdeps/i386/fpu/libm-test-ulps: Update.
11641 2014-01-05 Allan McRae <allan@archlinux.org>
11643 * po/libc.pot: Regenerated.
11645 * malloc/memusagestat.c: Fix gettext call formatting.
11647 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11649 * nscd/nscd.c: Improve usage() output.
11651 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11653 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11654 * sysdeps/unix/sysv/linux/configure: Regenerated.
11655 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11656 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11658 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11661 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11662 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11664 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11666 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11667 extra tokens at end of #undef directive.
11668 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11669 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11670 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11672 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11674 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11676 * math/auto-libm-test-in: Mark various tests with
11677 xfail-rounding:ldbl-128ibm.
11678 * math/auto-libm-test-out: Regenerated.
11680 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11684 numbers with subnormal high part when calculating exponent.
11687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11693 (__ieee754_acoshl): Use __log1pl not __log1p.
11695 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11697 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11698 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11699 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11700 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11701 (reused_arena, arena_get2): Convert to GNU style.
11702 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11703 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11704 (memalign_check, __malloc_set_state): Likewise.
11705 * malloc/mallocbug.c (main): Likewise.
11706 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11707 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11708 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11709 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11710 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11711 (__posix_memalign, malloc_info): Likewise.
11712 * malloc/malloc.h: Likewise.
11713 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11714 (mallochook, memalignhook, reallochook, mabort): Likewise.
11715 * malloc/mcheck.h: Likewise.
11716 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11717 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11718 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11719 * malloc/morecore.c (__default_morecore): Likewise.
11720 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11721 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11722 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11723 (print_and_abort): Likewise.
11724 * malloc/obstack.h: Likewise.
11725 * malloc/set-freeres.c (__libc_freeres): Likewise.
11726 * malloc/tst-mallocstate.c (main): Likewise.
11727 * malloc/tst-mtrace.c (main): Likewise.
11728 * malloc/tst-realloc.c (do_test): Likewise.
11730 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11733 * nscd/netgroupcache.c (do_notfound): New function.
11734 (addgetnetgrentX): Use it.
11737 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11738 NSS_STATUS_NOTFOUND.
11740 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11745 2014-01-01 Allan McRae <allan@archlinux.org>
11747 * scripts/update-copyrights: Update configure input file suffix.
11749 * NEWS: Update copyright year.
11750 * catgets/gencat.c: Likewise.
11751 * csu/version.c: Likewise.
11752 * debug/catchsegv.sh: Likewise.
11753 * debug/pcprofiledump.c: Likewise.
11754 * debug/xtrace.sh: Likewise.
11755 * elf/ldconfig.c: Likewise.
11756 * elf/ldd.bash.in: Likewise.
11757 * elf/pldd.c: Likewise.
11758 * elf/sotruss.ksh: Likewise.
11759 * elf/sprof.c: Likewise.
11760 * iconv/iconv_prog.c: Likewise.
11761 * iconv/iconvconfig.c: Likewise.
11762 * locale/programs/locale.c: Likewise.
11763 * locale/programs/localedef.c: Likewise.
11764 * login/programs/pt_chown.c: Likewise.
11765 * malloc/memusage.sh: Likewise.
11766 * malloc/memusagestat.c: Likewise.
11767 * malloc/mtrace.pl: Likewise.
11768 * manual/libc.texinfo: Likewise.
11769 * nscd/nscd.c: Likewise.
11770 * nss/getent.c: Likewise.
11771 * nss/makedb.c: Likewise.
11772 * posix/getconf.c: Likewise.
11773 * scripts/test-installation.pl: Likewise.
11775 * All files with FSF copyright notices: Update copyright dates
11776 using scripts/update-copyrights.
11777 * intl/plural.c: Regenerated.
11778 * locale/programs/charmap-kw.h: Likewise.
11779 * locale/programs/locfile-kw.h: Likewise.
11781 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11783 * sysdeps/unix/sysv/linux/configure: Regenerated.
11784 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11785 the linux/fanotify.h header.
11786 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11787 HAVE_LINUX_FANOTIFY_H is defined.
11789 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11791 * benchtests/cos-inputs: New inputs.
11792 * benchtests/sin-inputs: Likewise.
11794 * benchtests/atan-inputs: New inputs. Fix name of multiple
11795 precision fallback inputs.
11797 * benchtests/atanh-inputs: New inputs.
11798 * benchtests/tanh-inputs: Likewise.
11800 * benchtests/acosh-inputs: New inputs.
11801 * benchtests/asinh-inputs: Likewise.
11803 * benchtests/cosh-inputs: New inputs.
11804 * benchtests/sinh-inputs: Likewise.
11806 * benchtests/acos-inputs: Add more inputs.
11807 * benchtests/asin-inputs: Likewise.
11809 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11812 * manual/arith.texi: Fix spelling.
11813 * manual/charset.texi: Likewise.
11814 * manual/errno.texi: Likewise.
11815 * manual/filesys.texi: Likewise.
11816 * manual/lang.texi: Likewise.
11817 * manual/llio.texi: Likewise.
11818 * manual/locale.texi: Likewise.
11819 * manual/message.texi: Likewise.
11820 * manual/resource.texi: Likewise.
11821 * manual/search.texi: Likewise.
11822 * manual/setjmp.texi: Likewise.
11823 * manual/stdio.texi: Likewise.
11824 * manual/string.texi: Likewise.
11825 * manual/sysinfo.texi: Likewise.
11826 * manual/time.texi: Likewise.
11828 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11830 * po/sl.po: New file.
11832 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11834 * .gitignore: Add core/.gdbinit/.gdb_history.
11836 2013-12-27 Allan McRae <allan@archlinux.org>
11839 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11840 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11842 2013-12-24 Brooks Moses <bmoses@google.com>
11844 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11845 all compilers that claim C++98 compliance, not just GCC.
11846 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11849 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11851 * NEWS: Restore accidentally deleted bug-fix entries.
11853 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11854 Ondřej Bílka <neleai@seznam.cz>
11857 * malloc/malloc.c (_int_free): Perform sanity check only if we
11860 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11863 * manual/stdio.texi (String Input Conversions): Clarify that character
11864 classes are not supported.
11866 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11870 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11873 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11874 Calculate results for small negative arguments directly rather
11875 than using reflection formula with special underflow handling.
11877 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11878 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11879 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11880 (fchflags): Likewise.
11881 (revoke): Likewise.
11882 (setlogin): Likewise.
11883 (sigaltstack): Likewise.
11885 (sigblock): Remove.
11886 (sigsetmask): Likewise.
11888 (waitpid): Likewise.
11889 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11890 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11892 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11893 * sysdeps/unix/bsd/Makefile: ... here.
11894 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11895 * sysdeps/unix/bsd/Versions: ... here.
11896 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11897 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11898 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11899 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11900 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11901 * sysdeps/unix/bsd/sigblock.c: ... here.
11902 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11903 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11904 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11905 * sysdeps/unix/bsd/sigvec.c: ... here.
11906 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11907 * sysdeps/unix/bsd/tcdrain.c: ... here.
11908 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11909 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11910 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11911 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11912 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11913 * sysdeps/unix/bsd/wait.c: ... here.
11914 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11915 * sysdeps/unix/bsd/wait3.c: ... here.
11916 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11917 * sysdeps/unix/bsd/waitpid.c: ... here.
11919 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11922 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11923 round-to-nearest for [!USE_AS_EXPM1L].
11924 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11925 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11926 more tests of exp and exp10. Expect some exp10 tests to miss
11927 exceptions or fail in directed rounding modes.
11928 * math/auto-libm-test-out: Regenerated.
11929 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11930 (exp10_test_tonearest): New function.
11931 (exp10_towardzero_test_data): New array.
11932 (exp10_test_towardzero): New function.
11933 (exp10_downward_test_data): New array.
11934 (exp10_test_downward): New function.
11935 (exp10_upward_test_data): New array.
11936 (exp10_test_upward): New function.
11937 (main): Call the new functions.
11938 * sysdeps/i386/fpu/libm-test-ulps: Update.
11939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11941 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11943 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11944 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11945 * math/auto-libm-test-out: Regenerated.
11946 * math/libm-test.inc (acosh_test_data): Add more tests.
11947 (atanh_test_data): Likewise.
11948 (ceil_test_data): Likewise.
11949 (copysign_test_data): Likewise.
11950 * sysdeps/i386/fpu/libm-test-ulps: Update.
11951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11953 * timezone/checktab.awk: Update from tzcode 2013i.
11954 * timezone/private.h: Likewise.
11955 * timezone/scheck.c: Likewise.
11956 * timezone/tzfile.h: Likewise.
11957 * timezone/tzselect.ksh: Likewise.
11958 * timezone/zdump.c: Likewise.
11959 * timezone/zic.c: Likewise.
11961 * math/auto-libm-test-in: Add tests of cpow.
11962 * math/auto-libm-test-out: Regenerated.
11963 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11964 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11966 (func_calc_desc): Add mpc_cc_c union field.
11967 (test_functions): Add cpow.
11968 (special_fill_2pi): New function.
11969 (special_real_inputs): Add 2pi.
11970 (calc_generic_results): Handle mpc_cc_c.
11971 * sysdeps/i386/fpu/libm-test-ulps: Update.
11972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11974 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11975 csqrt, ctan and ctanh.
11976 * math/auto-libm-test-out: Regenerated.
11977 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11978 (TEST_COND_x86): Likewise.
11979 (ccos_test_data): Use AUTO_TESTS_c_c.
11980 (ccosh_test_data): Likewise.
11981 (cexp_test_data): Likewise.
11982 (clog_test_data): Likewise.
11983 (csqrt_test_data): Likewise.
11984 (ctan_test_data): Likewise.
11985 (ctan_tonearest_test_data): Likewise.
11986 (ctan_towardzero_test_data): Likewise.
11987 (ctan_downward_test_data): Likewise.
11988 (ctan_upward_test_data): Likewise.
11989 (ctanh_test_data): Likewise.
11990 (ctanh_tonearest_test_data): Likewise.
11991 (ctanh_towardzero_test_data): Likewise.
11992 (ctanh_downward_test_data): Likewise.
11993 (ctanh_upward_test_data): Likewise.
11994 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11996 (func_calc_desc): Add mpc_c_c union field.
11997 (FUNC_mpc_c_c): New macro.
11998 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11999 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12001 (special_fill_min_subnorm_p120): New function.
12002 (special_real_inputs): Add min_subnorm_p120.
12003 (calc_generic_results): Handle mpc_c_c.
12004 * sysdeps/i386/fpu/libm-test-ulps: Update.
12005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12007 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12009 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12010 (do_sin_slow): New functions.
12011 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12012 (cslow2, csloww1, csloww2): Use the new functions.
12014 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12015 Use M to change sign of result instead of X. Assume X is
12017 (csloww1): Likewise.
12021 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12022 arguments A and DA.
12026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12028 (sloww1): Don't adjust sign of DX.
12029 (csloww1): Likewise.
12030 (sloww2): Use X directly and don't adjust sign of DX.
12031 (csloww2): Likewise.
12033 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12035 * math/auto-libm-test-in: Add tests of cabs and carg.
12036 * math/auto-libm-test-out: Regenerated.
12037 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12038 (carg_test_data): Likewise.
12039 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12041 (func_calc_desc): Add mpc_c_f union field.
12042 (test_functions): Add cabs and carg.
12043 (calc_generic_results): Handle mpc_c_f.
12045 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12046 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12047 as a macro and a compat symbol.
12048 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12049 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12050 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12051 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12052 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12055 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12057 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12059 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12061 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12063 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12065 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12066 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12069 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12073 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12075 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12076 trailing whitespace removed.
12077 * scripts/config.guess: Update to version 2013-11-29.
12078 * scripts/config.sub: Update to version 2013-10-01.
12080 * math/auto-libm-test-in: Add tests of sincos.
12081 * math/auto-libm-test-out: Regenerated.
12082 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12083 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12085 (func_calc_desc): Add mpfr_f_11 union field.
12086 (test_functions): Add sincos.
12087 (calc_generic_results): Handle mpfr_f_11.
12088 * sysdeps/i386/fpu/libm-test-ulps: Update.
12089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12091 2013-12-19 Andreas Schwab <schwab@suse.de>
12093 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12095 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12096 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12097 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12099 2013-12-19 Joseph Myers <joseph@codesourcery.com>
12101 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12102 * sysdeps/i386/fpu/libm-test-ulps: Update.
12103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12106 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12107 round-to-nearest mode when using frndint.
12108 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12109 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12110 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12112 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12114 * math/auto-libm-test-out: Regenerated.
12115 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12116 (TEST_COND_x86): Likewise.
12117 (expm1_tonearest_test_data): New array.
12118 (expm1_test_tonearest): New function.
12119 (expm1_towardzero_test_data): New array.
12120 (expm1_test_towardzero): New function.
12121 (expm1_downward_test_data): New array.
12122 (expm1_test_downward): New function.
12123 (expm1_upward_test_data): New array.
12124 (expm1_test_upward): New function.
12125 (main): Run the new test functions.
12126 * sysdeps/i386/fpu/libm-test-ulps: Update.
12127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12129 * include/features.h: Update comment documenting feature test
12130 macros. Mention _DEFAULT_SOURCE in comment.
12131 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12132 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12133 _BSD_SOURCE and _SVID_SOURCE.
12134 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12135 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12136 !_SVID_SOURCE]: Likewise.
12137 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12138 (__USE_POSIX_IMPLICITLY): Define.
12139 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12140 (_POSIX_SOURCE): Undefine and redefine.
12141 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12142 (_POSIX_C_SOURCE): Likewise.
12143 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12144 (Feature Test Macros): Update documentation of default features.
12146 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12148 * benchtests/Makefile: Add bench-strtok.
12149 * benchtests/bench-strtok.c: New file: strtok benchtest.
12151 2013-12-19 Allan McRae <allan@archlinux.org>
12153 * manual/install.texi: Suppress menu for plain text output.
12154 * INSTALL: Regenerated.
12156 2013-12-18 Brooks Moses <bmoses@google.com>
12159 * misc/getauxval.c: Include errno.h.
12160 (__getauxval): Set errno to ENOENT if the requested type is not
12162 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12163 don't declare with __attribute_const__.
12164 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12165 * manual/startup.texi: Document that getauxval sets errno.
12167 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12169 * math/auto-libm-test-in: Add tests of jn and yn.
12170 * math/auto-libm-test-out: Regenerated.
12171 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12172 (yn_test_data): Likewise.
12173 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12175 (func_calc_desc): Add mpfr_if_f union field.
12176 (FUNC_mpfr_if_f): New macro.
12177 (test_functions): Add jn and yn.
12178 (calc_generic_results): Assert type of second input for
12179 mpfr_ff_f. Handle mpfr_if_f.
12180 (output_for_one_input_case): Disable all checking for arguments
12181 fitting floating-point types in case of an integer argument.
12182 * sysdeps/i386/fpu/libm-test-ulps: Update.
12183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12186 Don't expect fegetround reference in libm.so.
12188 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12190 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12191 $(config-cflags-nofma).
12193 2013-12-18 Joseph Myers <joseph@codesourcery.com>
12195 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12196 * math/auto-libm-test-out: Regenerated.
12199 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12200 to determine exponent and adjust argument to have exponent of -1.
12201 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12203 * math/auto-libm-test-out: Regenerated.
12204 * sysdeps/i386/fpu/libm-test-ulps: Update.
12205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12207 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
12209 * manual/probes.texi: Remove cases when per-thread arenas are
12212 2013-12-18 Andreas Schwab <schwab@suse.de>
12214 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12215 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12216 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12217 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12218 * sysdeps/i386/i686/multiarch/Makefile: Update.
12219 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12221 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12223 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12224 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12226 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12229 Support TZ transition times < 00:00:00.
12230 This is needed for version-3 tz-format files; it supports time
12231 stamps past 2037 for America/Godthab (the only entry in the tz
12232 database for which this change is relevant).
12233 * manual/time.texi (TZ Variable): Document transition times
12234 from -167:59:59 through -00:00:01.
12235 * time/tzset.c (tz_rule): Time of day is now signed.
12236 (__tzset_parse_tz): Parse negative time of day.
12238 Document TZ transition times >= 25:00:00.
12239 * manual/time.texi (TZ Variable): Document transition times from
12240 25:00:00 through 167:59:59. These are already supported, and this
12241 support will help with version-3 tz-format files.
12243 * manual/time.texi (TZ Variable): Modernize North America example
12244 to reflect current (i.e., 2007-and-later) daylight saving rules.
12246 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12248 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12250 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12251 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12254 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12255 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12256 * sysdeps/unix/bsd/clock.c: Likewise.
12257 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12258 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12259 * sysdeps/unix/bsd/init-posix.c: Likewise.
12260 * sysdeps/unix/bsd/poll.c: Likewise.
12261 * sysdeps/unix/bsd/ptsname.c: Likewise.
12262 * sysdeps/unix/bsd/seekdir.c: Likewise.
12263 * sysdeps/unix/bsd/setegid.c: Likewise.
12264 * sysdeps/unix/bsd/seteuid.c: Likewise.
12265 * sysdeps/unix/bsd/setgid.c: Likewise.
12266 * sysdeps/unix/bsd/setrgid.c: Likewise.
12267 * sysdeps/unix/bsd/setruid.c: Likewise.
12268 * sysdeps/unix/bsd/setsid.c: Likewise.
12269 * sysdeps/unix/bsd/setuid.c: Likewise.
12270 * sysdeps/unix/bsd/sigaction.c: Likewise.
12271 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12272 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12273 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12274 * sysdeps/unix/bsd/telldir.c: Likewise.
12275 * sysdeps/unix/bsd/times.c: Likewise.
12276 * sysdeps/unix/bsd/usleep.c: Likewise.
12278 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12279 ($(objpfx)libbsd-compat.a): Remove rule.
12281 * include/features.h (__FAVOR_BSD): Do not define.
12282 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12283 features conflicting with POSIX.
12284 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12285 (_BSD_SOURCE): Remove description of not being a subset of other
12286 feature test macros.
12287 * manual/job.texi (getpgrp): Do not document BSD version.
12288 (getpgid): Do not document by reference to BSD getpgrp.
12289 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12290 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12291 * signal/signal.h [__FAVOR_BSD]: Likewise.
12292 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12293 instead of making contents conditional on [__FAVOR_BSD].
12294 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12296 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12300 2013-12-17 Joseph Myers <joseph@codesourcery.com>
12303 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12304 values below 2**-450, not 2**-500.
12305 * math/auto-libm-test-in: Don't allow spurious underflow from
12307 * math/auto-libm-test-out: Regenerated.
12311 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12312 values of ha and hb and sort them after adjusting subnormal
12314 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12316 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12317 values of ea and eb and sort them after adjusting subnormal
12319 * math/auto-libm-test-in: Do not expect some hypot tests of
12320 subnormals to fail. Add more hypot tests.
12321 * math/auto-libm-test-out: Regenerated.
12323 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12326 * sysdeps/sh/s_fma.c: New file.
12327 * sysdeps/sh/s_fmaf.c: New file.
12328 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12330 * sysdeps/sh/Implies: Add sh/soft-fp.
12332 2013-12-16 Roland McGrath <roland@hack.frob.com>
12334 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12335 level of indirection to members `objname', `errstring', `malloced'.
12336 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12337 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12338 it as the __longjmp argument (just pass 1 instead).
12339 (_dl_catch_error): Initialize C with argument pointers and address of
12340 volatile local ERRCODE rather than copying values out of C at return.
12342 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12344 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12345 * math/auto-libm-test-out: Regenerated.
12346 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12347 (hypot_test_data): Likewise.
12348 (pow_test_data): Likewise.
12349 (pow_tonearest_test_data): Likewise.
12350 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12352 (func_calc_desc): Add mpfr_ff_f union field.
12353 (FUNC_mpfr_ff_f): New macro.
12354 (test_functions): Add atan2, hypot and pow.
12355 (special_fill_min): New function.
12356 (special_fill_minus_min): Likewise.
12357 (special_fill_min_subnorm): Likewise.
12358 (special_fill_minus_min_subnorm): Likewise.
12359 (special_real_inputs): Add min, -min, min_subnorm and
12361 (calc_generic_results): Handle mpfr_ff_f.
12362 * sysdeps/i386/fpu/libm-test-ulps: Update.
12363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12365 2013-12-16 Will Newton <will.newton@linaro.org>
12367 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12368 (Aligned Memory Blocks): Add documentation for aligned_alloc
12369 and suggest it as an alternative to posix_memalign.
12370 (Hooks for Malloc): Document __memalign_hook is also called
12371 for aligned_alloc. (Summary of Malloc): Add summary for
12372 aligned alloc. Document __memalign_hook is also called
12375 2013-12-16 Will Newton <will.newton@linaro.org>
12377 * manual/memory.texi (Malloc Examples): Clarify default
12378 alignment documentation. Suggest posix_memalign rather
12379 than memalign or valloc.
12380 (Aligned Memory Blocks): Remove suggestion to use memalign
12381 or valloc. Remove obsolete comment about BSD.
12382 Document memalign errno values and mark the function obsolete.
12383 Document posix_memalign returned error codes. Mark valloc
12384 as obsolete. (Hooks for Malloc): __memalign_hook is also
12385 called for posix_memalign and valloc.
12386 (Summary of Malloc): Add posix_memalign to function summary.
12387 __memalign_hook is also called for posix_memalign and valloc.
12389 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12391 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12395 (sloww): Use mynumber union. Expand ternary operator into
12396 if-else statements.
12397 (cslow): use mynumber union.
12399 2013-12-16 Allan McRae <allan@archlinux.org>
12401 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12402 * configure: Regenerated.
12404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12407 * configure.ac: Added --enable-maintainer-mode. Check for
12408 autoconf when enabled.
12409 * configure: Regenerated.
12411 * nscd/nscd.service: New file.
12412 * nscd/nscd.tmpfiles: New file.
12414 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12417 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12418 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12419 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12420 (strstr): Add __strstr_sse2_unaligned ifunc.
12421 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12422 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12423 (strcasestr): Remove __strcasestr_sse42 ifunc.
12424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12428 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12430 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12431 * sysdeps/sh/bits/fenv.h: ... here.
12432 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12434 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12436 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12438 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12439 hypotf multiarch implementations.
12440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12441 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12442 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12443 multiarch hypot for PPC64.
12444 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12447 multiarch hypotf for PPC64.
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12450 modff multiarch implementations.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12454 multiarch modf for PPC64.
12455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12458 multiarch modff for PPC64.
12460 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12461 and logl multiarch implementations.
12462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12465 multiarch logb for PPC64.
12466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12469 multiarch logb for PPC64.
12470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12473 multiarch logb for PPC64.
12475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12476 isinff multiarch implementation.
12477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12481 multiarch isinf for PPC64.
12482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12485 multiarch isinff for PPC64.
12487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12488 finitef multiarch implementation.
12489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12493 multiarch finite for PPC64.
12494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12497 multiarch finitef for PPC64.
12499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12500 lrint multiarch implementation.
12501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12505 multiarch llrint for PPC64.
12506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12507 multiarch lrint for PPC64.
12509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12510 copysignf multiarch implementation.
12511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12516 multiarch copysign for PPC64.
12517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12518 multiarch copysignf for PPC64.
12520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12521 multiarch implementation.
12522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12530 multiarch llround for PPC64.
12531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12532 multiarch trunc for PPC64.
12533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12534 multiarch truncf for PPC64.
12536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12537 multiarch implementation.
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12546 multiarch llround for PPC64.
12547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12548 multiarch round for PPC64.
12549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12550 multiarch roundf for PPC64.
12552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12553 multiarch implementation.
12554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12562 multiarch llround for PPC64.
12563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12564 multiarch floor for PPC64.
12565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12566 multiarch floorf for PPC64.
12568 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12569 multiarch implementation.
12570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12578 multiarch llround for PPC64.
12579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12580 multiarch ceil for PPC64.
12581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12582 multiarch ceilf for PPC64.
12584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12585 multiarch implementation.
12586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12593 multiarch llround for PPC64.
12594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12595 multiarch lround for PPC64.
12597 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12598 multiarch implementation.
12599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12606 multiarch isnan for PPC64.
12607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12608 multiarch isnanf for PPC64.
12610 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12611 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12612 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12613 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12614 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12617 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12618 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12619 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12620 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12623 multiarch implementations.
12624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12625 (__libc_ifunc_impl_list): Likewise.
12626 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12627 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12628 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12629 multiarch stpcpy for PPC64.
12631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12632 multiarch implementations.
12633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12634 (__libc_ifunc_impl_list): Likewise.
12635 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12636 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12637 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12638 multiarch strcpy for PPC64.
12640 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12641 redefine function name.
12642 (_wordcopy_fwd_dest_aligned): Likewise.
12643 (_wordcopy_bwd_aligned): Likewise.
12644 (_wordcopy_bwd_dest_aligned): Likewise.
12645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12646 multiarch implementations.
12647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12648 (__libc_ifunc_impl_list): Likewise.
12649 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12650 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12651 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12652 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12653 multiarch wcscpy for PPC64.
12655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12656 multiarch implementations.
12657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12658 (__libc_ifunc_impl_list): Likewise.
12659 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12660 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12661 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12662 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12663 multiarch wcscpy for PPC64.
12665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12666 multiarch implementations.
12667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12668 (__libc_ifunc_impl_list): Likewise.
12669 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12670 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12671 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12672 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12673 multiarch wcsrchr for PPC64.
12675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12676 multiarch implementations.
12677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12678 (__libc_ifunc_impl_list): Likewise.
12679 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12680 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12681 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12682 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12683 multiarch wcschr for PPC64.
12685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12686 multiarch implementations.
12687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12688 (__libc_ifunc_impl_list): Likewise.
12689 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12690 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12691 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12692 multiarch strchrnul for PPC64.
12694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12697 (__libc_ifunc_impl_list): Likewise.
12698 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12699 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12700 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12701 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12707 (__libc_ifunc_impl_list): Likewise.
12708 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12709 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12710 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12711 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12715 multiarch implementations.
12716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12717 (__libc_ifunc_impl_list): Likewise.
12718 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12719 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12720 strncasecmp for PPC64.
12721 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12722 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12723 multiarch strncasecmp_l for PPC64.
12725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12726 multiarch implementations.
12727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12728 (__libc_ifunc_impl_list): Likewise.
12729 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12730 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12731 multiarch strcasecmp for PPC64.
12732 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12735 multiarch strcasecmp_l for PPC64.
12737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12740 (__libc_ifunc_impl_list): Likewise.
12741 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12742 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12743 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12749 (__libc_ifunc_impl_list): Likewise.
12750 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12751 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12752 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12758 (__libc_ifunc_impl_list): Likewise.
12759 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12760 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12761 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12762 rawmemrchr for PPC64.
12764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12767 (__libc_ifunc_impl_list): Likewise.
12768 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12769 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12770 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12776 (__libc_ifunc_impl_list): Likewise.
12777 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12779 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12785 (__libc_ifunc_impl_list): Likewise.
12786 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12787 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12788 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12791 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12792 avoid cretion of __bzero symbol.
12793 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12795 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12797 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12800 multiarch implementations.
12801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12802 (__libc_ifunc_impl_list): Likewise.
12803 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12804 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12805 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12806 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12808 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12809 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12810 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12811 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12812 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12814 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12816 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12820 (__libc_ifunc_impl_list): Likewise.
12821 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12822 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12823 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12824 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12828 multiarch for POWER/PPC64.
12829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12830 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12831 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12832 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12837 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12840 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12841 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12842 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12843 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12844 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12845 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12846 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12847 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12848 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12849 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12850 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12851 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12852 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12853 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12854 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12863 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12865 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12867 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12869 * benchtests/Makefile (bench): Add exp2 and log2.
12870 (LDLIBS-bench-exp2): Add -lm.
12871 (LDLIBS-bench-log2): Likewise.
12872 * benchtests/exp2-inputs: New inputs file.
12873 * benchtests/log2-inputs: New inputs file.
12874 * benchtests/log-inputs: Add new inputs.
12875 * benchtests/tan-inputs: Likewise.
12877 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12879 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12881 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12882 (csloww2): ... from here.
12884 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12885 instead of structures.
12886 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12887 (POLYNOMIAL): Likewise.
12888 (TAYLOR_SLOW): Likewise.
12894 (sloww1); Likewise.
12895 (sloww2): Likewise.
12896 (bsloww1): Likewise.
12897 (bsloww2): Likewise.
12898 (cslow2): Likewise.
12899 (csloww): Likewise.
12900 (csloww1): Likewise.
12901 (csloww2): Likewise.
12903 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12905 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12906 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12907 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12908 * malloc/hooks.c (realloc_check): Likewise.
12910 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12911 * malloc/arena.c: Remove PER_THREAD conditional.
12912 [!PER_THREAD]: Remove code.
12913 (ptmalloc_unlock_all2): Likewise.
12914 (ptmalloc_init): Likewise.
12915 (_int_new_arena): Likewise.
12916 (arena_get2): Likewise.
12917 * malloc/hooks.c (__malloc_get_state): Likewise.
12918 (__malloc_set_state): Likewise.
12919 * malloc/malloc.c: Likewise.
12920 (struct malloc_state): Likewise.
12921 (struct malloc_par): Likewise.
12922 (__libc_realloc): Likewise.
12923 (__libc_mallopt): Likewise.
12925 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12927 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12929 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12931 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12932 macro to a function. Check for zero perturb_byte.
12933 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12935 * malloc/malloc.c: (force_reg): Remove.
12936 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12937 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12938 force_reg by atomic_forced_read.
12939 * malloc/arena.c (ptmalloc_init): Likewise.
12940 * malloc/hooks.c (top_check): Likewise.
12942 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12946 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12950 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12952 * math/auto-libm-test-in: Add tests of lgamma.
12953 * math/auto-libm-test-out: Regenerated.
12954 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12955 (M_LOG_2_SQRT_PIl): Likewise.
12956 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12957 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12959 (func_calc_desc): Add mpfr_f_f1 union field.
12960 (ARGS1): New macro.
12968 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12969 (test_functions): Add lgamma.
12970 (calc_generic_results): Handle mpfr_f_f1.
12971 * sysdeps/i386/fpu/libm-test-ulps: Update.
12972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12974 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12976 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12977 __mpn_add_n for PowerPC64/POWER7.
12978 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12979 __mpn_sub_n for PowerPC64/POWER7.
12981 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12982 __mpn_addmul_1 for PowerPC64.
12983 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12984 __mpn_submul_1 for PowerPC64.
12985 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12987 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12990 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12993 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12995 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12997 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12999 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13000 add multiarch folders.
13001 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13002 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13003 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13004 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13005 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13006 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13007 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13008 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13009 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13010 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13011 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13020 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13026 multiarch __ieee754_hypot for PowerPC32.
13027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13032 multiarch __ieee754_hypotf for PowerPC32.
13034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13035 long_double_symbol only if __logbl is defined.
13036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13037 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13039 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13041 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13043 path for implementation.
13044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13047 logb, and logbl multiarch implementations for PowerPC32.
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13053 multiarch logb for PowerPC32.
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13059 multiarch logbf for PowerPC32.
13060 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13064 multiarch logbl implementation for PowerPC32.
13066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13067 and modff multiarch implementations.
13068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13073 multiarch modf for PowerPC32.
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13079 multiarch modff for PowerPC32.
13081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13082 and lrintf multiarch implementations.
13083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13088 multiarch lrint for PowerPC32.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13090 file: multiarch lrintf for PowerPC32.
13092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13093 and lroundf multiarch implementations.
13094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13101 multiarch lround for PowerPC32.
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13103 file: multiarch lroundf for PowerPC32.
13105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13106 copysign and copysignf multiarch implementations.
13107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13112 file: multiarch copysign for PowerPC32.
13113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13114 file: multiarch copysignf for PowerPC32.
13116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13117 and truncf multiarch implementations.
13118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13123 multiarch trunc for PowerPC32.
13124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13129 multiarch truncf for PowerPC32.
13131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13132 and roundf multiarch implementations.
13133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13138 multiarch round for PowerPC32.
13139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13144 multiarch roundf for PowerPC32.
13146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13147 and floorf multiarch implementations.
13148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13153 multiarch floor for PowerPC32.
13154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13159 multiarch floorf for PowerPC32.
13161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13162 and ceilf multiarch implementations.
13163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13168 multiarch ceil for PowerPC32.
13169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13174 multiarch ceilf for PowerPC32.
13176 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13178 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13179 FINITEF is defined.
13180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13181 and finitef multiarch implementations.
13182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13187 multiarch finite for PowerPC32.
13188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13191 file: multiarch finitef for PowerPC32.
13193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13194 and isinff multiarch implementations.
13195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13200 multiarch isinf for PowerPC32.
13201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13204 multiarch isinff for PowerPC32.
13206 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13207 alias when __isnan is defined.
13208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13209 and isnanf multiarch implementations.
13210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13219 multiarch isnan for PowerPC32.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13225 multiarch isnanf for PowerPC32.
13227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13228 and sqrtf multiarch implementations.
13229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13234 multiarch sqrt for PowerPC32.
13235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13240 multiarch sqrtf for PowerPC32.
13242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13243 and llroundf multiarch implementations.
13244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13251 file: multiarch llround for PowerPC32.
13252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13253 file: multiarch llroundf for PowerPC32.
13255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13256 multiarch PowerPC32 fpu implementations.
13257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13262 multiarch llrint for PowerPC32.
13263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13272 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13274 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13276 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13278 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13279 multiarch wordcopy for PPC32.
13280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13283 (__libc_ifunc_impl_list): Likewise.
13284 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13285 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13286 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13287 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13288 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13289 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13291 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13299 multiarch wcscpy for PPC32.
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13303 (__libc_ifunc_impl_list): Likewise.
13304 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13305 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13306 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13307 sysdeps/powerpc/power6/wcscpy.c.
13309 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13317 multiarch wcsrchr for PPC32.
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13321 (__libc_ifunc_impl_list): Likewise.
13322 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13323 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13324 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13325 sysdeps/powerpc/power6/wcsrchr.c.
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13329 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13333 multiarch wcschr for PPc32.
13334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13337 (__libc_ifunc_impl_list): Likewise.
13338 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13339 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13340 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13341 sysdeps/powerpc/power6/wcschr.c.
13343 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13344 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13346 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13347 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13348 file: multiarch strchr for PPC32.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13352 (__libc_ifunc_impl_list): Likewise.
13354 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13356 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13358 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13360 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13361 multiarch strchrnul for PPC32.
13362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13365 (__libc_ifunc_impl_list): Likewise.
13367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13369 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13370 multiarch strncasecmp for PPC32.
13371 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13373 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13374 multiarch strncasecmp_l for PPC32.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13376 strncasecmp multiarch objects.
13377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13378 (__libc_ifunc_impl_list): Likewise.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13383 multiarch strncasecmp for PPC32.
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13387 multiarch strcasecmp_l for PPC32.
13388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13391 (__libc_ifunc_impl_list): Likewise.
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13398 multiarch strncmp for PPC32.
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13402 (__libc_ifunc_impl_list): Likewise.
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13405 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13407 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13412 (__libc_ifunc_impl_list): Likewise.
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13418 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13422 (__libc_ifunc_impl_list): Likewise.
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13429 multiarch rawmemchr for PPC32.
13430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13433 (__libc_ifunc_impl_list): Likewise.
13435 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13437 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13439 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13440 file: memrchr multiarch for PPC32.
13441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13444 (__libc_ifunc_impl_list): Likewise.
13446 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13450 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13451 multiarch memchr for PPC32.
13452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13455 (__libc_ifunc_impl_list): Likewise.
13457 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13458 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13463 file: multiarch mempcpy for PPC32.
13464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13467 (__libc_ifunc_impl_list): Likewise.
13469 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13470 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13471 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13472 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13473 multiarch bzero for PPC32.
13474 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13476 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13478 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13479 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13480 file: multiarch memset for PPC32.
13481 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13483 memset multiarch objects.
13484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13485 (__libc_ifunc_impl_list): Likewise.
13487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13492 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13496 (__libc_ifunc_impl_list): Likewise.
13498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13500 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13502 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13504 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13506 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13507 multiarch memcpy for PPC32.
13508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13511 (__libc_ifunc_impl_list): Likewise.
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13514 support multiarch for POWER/PPC32.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13519 Implies file to make multiarch folder appers before the fpu and
13520 default folder for power4 configuration.
13522 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13524 * scripts/bench.pl: Append volatile keyword to type.
13526 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13528 * sysdeps/sh/sotruss-lib.c: New file.
13529 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13531 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13535 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13538 * math/w_tgamma.c: Include <errno.h>.
13539 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13540 * math/w_tgammaf.c: Include <errno.h>.
13541 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13542 * math/w_tgammal.c: Include <errno.h>.
13543 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13544 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13545 underflow. Add more tgamma tests.
13546 * math/auto-libm-test-out: Regenerated.
13547 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13550 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13551 sin, sinh, tan, tanh, tgamma, y0 and y1.
13552 * math/auto-libm-test-out: Regenerated.
13553 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13554 (TEST_COND_x86): Likewise.
13555 (M_E2l): Remove macro.
13557 (M_2_SQRT_PIl): Likewise.
13558 (M_SQRT_PIl): Likewise.
13559 (M_1_DIV_El): Likewise.
13560 (log_test_data): Use AUTO_TESTS_f_f.
13561 (log10_test_data): Likewise.
13562 (log1p_test_data): Likewise.
13563 (log2_test_data): Likewise.
13564 (sin_test_data): Likewise.
13565 (sin_tonearest_test_data): Likewise.
13566 (sin_towardzero_test_data): Likewise.
13567 (sin_downward_test_data): Likewise.
13568 (sin_upward_test_data): Likewise.
13569 (sinh_test_data): Likewise.
13570 (sinh_tonearest_test_data): Likewise.
13571 (sinh_towardzero_test_data): Likewise.
13572 (sinh_downward_test_data): Likewise.
13573 (sinh_upward_test_data): Likewise.
13574 (tan_test_data): Likewise.
13575 (tan_tonearest_test_data): Likewise.
13576 (tan_towardzero_test_data): Likewise.
13577 (tan_downward_test_data): Likewise.
13578 (tan_upward_test_data): Likewise.
13579 (tanh_test_data): Likewise.
13580 (tgamma_test_data): Likewise.
13581 (y0_test_data): Likewise.
13582 (y1_test_data): Likewise.
13583 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13584 (special_real_inputs): Add pi/4.
13585 * sysdeps/i386/fpu/libm-test-ulps: Update.
13586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13588 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13590 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13591 "longjmp_target" static probes.
13592 (__longjmp): Rename to __longjmp_symbol.
13593 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13594 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13595 on which longjmp to generate.
13596 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13597 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13599 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13600 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13601 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13602 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13603 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13604 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13606 __longjmp_symbol based on which __longjmp to generate.
13607 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13609 (setjmp): Rename to setjmp_symbol.
13610 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13611 (_setjmp): Rename to _setjmp_symbol.
13612 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13613 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13614 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13615 which setjmp to generate.
13616 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13617 "longjmp_target" static probes.
13619 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13621 * benchtests/README: Add note about output arguments.
13622 * benchtests/bench-sincos.c: Remove file.
13623 * benchtests/sincos-inputs: New file.
13624 * scripts/bench.pl: Identify output arguments and define
13625 static variables for them.
13627 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13630 * Makefile (INSTALL): Add install-plain.texi as the primary
13632 * manual/install-plain.texi: New file.
13633 * manual/install.texi: Include node directive only for
13634 non-plaintext output.
13636 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13638 * stdlib/longlong.h: Update from GCC.
13642 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13643 * math/w_j0f.c (y0f): Likewise.
13644 * math/w_j0l.c (__y0l): Likewise.
13645 * math/w_j1.c (y1): Likewise.
13646 * math/w_j1f.c (y1f): Likewise.
13647 * math/w_j1l.c (__y1l): Likewise
13648 * math/w_jn.c (yn): Likewise.
13649 * math/w_jnf.c (ynf): Likewise.
13650 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13651 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13652 value for Bessel function domain errors outside _SVID_ mode.
13653 Adjust sign of return value for yn (negative integer, 0).
13654 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13655 by zero in return for negative x and set sign appropriately for
13657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13658 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13659 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13660 expectations in error cases.
13661 (y1_test_data): Likewise.
13662 (yn_test_data): Likewise.
13663 * sysdeps/i386/fpu/libm-test-ulps: Update.
13664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13666 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13668 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13669 "64" to "64-v1". Add "64-v2".
13670 (abi-64-options): Rename to ...
13671 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13672 (abi-64-condition): Rename to ...
13673 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13674 (abi-64-ld-soname): Rename to ...
13675 (abi-64-v1-ld-soname): ... this.
13676 (abi-64-v2-options): Define.
13677 (abi-64-v2-condition): Likewise.
13678 (abi-64-v2-ld-soname): Likewise.
13679 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13680 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13685 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13686 Alan Modra <amodra@gmail.com>
13688 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13689 New versions for use with the ELFv2 ABI.
13690 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13691 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13693 (struct La_ppc64v2_retval): Likewise.
13694 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13695 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13696 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13697 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13698 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13699 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13700 Do not save or restore CR.
13701 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13702 (_dl_profile_resolve): Do no save or restore CR. Support extended
13703 return values for ELFv2 ABI. Fix location of FPR return registers.
13704 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13705 updated values for _CALL_ELF == 2.
13706 (La_regs, La_retval, int_retval): Likewise.
13708 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13710 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13711 (FRAME_MIN_SIZE_PARM): Likewise.
13712 (FRAME_BACKCHAIN): Likewise.
13713 (FRAME_CR_SAVE): Likewise.
13714 (FRAME_LR_SAVE): Likewise.
13715 (FRAME_TOC_SAVE): Likewise.
13716 (FRAME_PARM_SAVE): Likewise.
13717 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13718 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13719 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13720 (call_mcount_parm_offset): New macro.
13721 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13722 (PROF): Use symbolic stack frame offsets.
13723 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13724 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13725 Redefine in terms of FRAME_MIN_SIZE.
13726 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13727 (_dl_profile_resolve): Likewise. Update comment.
13728 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13729 symbols stack frame offsets.
13730 (__sigsetjmp): Likewise.
13731 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13732 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13733 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13734 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13737 (FRAME_BACKCHAIN): Remove.
13738 (FRAME_CR_SAVE): Likewise.
13739 (FRAME_LR_SAVE): Likewise.
13740 (FRAME_COMPILER_DW): Likewise.
13741 (FRAME_LINKER_DW): Likewise.
13742 (FRAME_TOC_SAVE): Likewise.
13743 (FRAME_PARM_SAVE): Likewise.
13744 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13745 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13746 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13748 (CHECK_SP): Use symbolic stack frame offsets.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13750 zone" instead of caller's parameter save area for temp storage.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13752 Likewise. Also, use symbolic stack frame offsets.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13754 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13755 our own stack frame instead of the caller's.
13756 (__socket): Use symbolic stack frame offsets.
13758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13759 Alan Modra <amodra@gmail.com>
13761 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13763 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13764 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13765 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13767 (elf_machine_fixup_plt): Call it.
13768 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13770 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13771 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13772 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13773 r2 before calling target.
13775 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13776 Alan Modra <amodra@gmail.com>
13778 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13779 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13780 versions of macros to support ELFv2 ABI.
13781 (LOCALENTRY): New macro.
13782 (ENTRY, EALIGN): Use it.
13783 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13784 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13785 fall through into ENTRY entry point.
13786 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13787 Only define if _CALL_ELF != 2.
13789 (elf_machine_matches_host): Verify ABI version matches.
13790 (RTLD_START): Use LOCALENTRY.
13791 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13792 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13793 (PLT_ENTRY_WORDS): New macro.
13794 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13795 (elf_machine_runtime_setup): Support ELFv2 ABI.
13796 (elf_machine_fixup_plt): Likewise.
13797 (elf_machine_plt_conflict): Likewise.
13798 (resolve_ifunc): Likewise.
13799 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13800 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13803 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13805 (makecontext): Support ELFv2 ABI.
13806 * elf/elf.h (EF_PPC64_ABI): Define.
13808 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13810 * sysdeps/powerpc/powerpc64/sysdep.h
13811 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13812 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13813 (ENTRY) [ASSEMBLER]: ... but instead here ...
13814 (EALIGN) [ASSEMBLER]: ... and here.
13815 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13816 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13817 (ENTRY_2) [!ASSEMBLER]: Use it.
13818 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13819 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13820 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13821 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13822 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13824 Use PPC64_LOAD_FUNCPTR.
13826 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13828 2013-12-04 Alan Modra <amodra@gmail.com>
13830 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13831 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13832 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13833 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13835 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13836 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13837 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13838 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13839 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13840 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13842 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13845 (__makecontext): Fix incorrect CFI when backtracing out of
13846 context created via makecontext.
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13848 (__setcontext): Fix incorrect CFI during switch to new context.
13849 (__novec_setcontext): Likewise.
13851 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13854 * time/strptime_l.c (__strptime_internal): Allow modifiers
13856 * time/tst-strptime.c (day_tests): Add testcase.
13858 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13860 * scripts/bench.pl: Skip over blank lines.
13862 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13865 * manual/time.texi (Calendar Time): Clarify what timezone functions
13868 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13872 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13874 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13876 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13877 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13878 * debug/memset_chk.c (__memset_chk): Likewise.
13879 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13880 * debug/strncpy_chk.c: Likewise.
13882 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13886 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13887 (__ieee754_exp): For possibly underflowing results, check size of
13888 result and force underflow exception if required.
13889 * math/auto-libm-test-in: Add more tests of exp.
13890 * math/auto-libm-test-out: Regenerated.
13891 * sysdeps/i386/fpu/libm-test-ulps: Update.
13892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13895 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13896 * math/w_exp2f.c (__exp2f): Likewise.
13897 * math/w_exp2l.c (__exp2l): Likewise.
13898 * math/auto-libm-test-in: Do not allow missing errno on exp2
13900 * math/auto-libm-test-out: Regenerated.
13902 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13905 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13906 handle filename validation.
13907 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13910 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13913 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13914 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13915 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13917 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13918 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13919 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13921 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13922 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13923 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13924 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13925 Add more erfc tests.
13926 * math/auto-libm-test-out: Regenerated.
13927 * sysdeps/i386/fpu/libm-test-ulps: Update.
13928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13930 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13931 exp2, expm1, j0 and j1.
13932 * math/auto-libm-test-out: Regenerated.
13933 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13934 (erfc_test_data): Likewise.
13935 (exp_test_data): Likewise.
13936 (exp_tonearest_test_data): Likewise.
13937 (exp_towardzero_test_data): Likewise.
13938 (exp_downward_test_data): Likewise.
13939 (exp_upward_test_data): Likewise.
13940 (exp10_test_data): Likewise.
13941 (exp2_test_data): Likewise.
13942 (expm1_test_data): Likewise.
13943 (j0_test_data): Likewise.
13944 (j1_test_data): Likewise.
13945 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13946 (input_flag_type): Add flag_xfail_rounding.
13947 (input_flags): Add xfail-rounding.
13948 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13949 (output_for_one_input_case): Handle flag_xfail_rounding.
13950 * sysdeps/i386/fpu/libm-test-ulps: Update.
13951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13953 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13956 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13959 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13962 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13963 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13964 (STAP_PROBE0): New macro.
13965 (STAP_PROBE1): Likewise.
13966 (STAP_PROBE2): Likewise.
13967 (STAP_PROBE3): Likewise.
13968 (STAP_PROBE4): Likewise.
13970 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13972 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13974 2013-12-02 Steve Ellcey <sellcey@mips.com>
13976 * benchtests/Makefile (bench): Add sqrt.
13977 (LDLIBS-bench-sqrt): New.
13978 * benchtests/sqrt-input: New.
13980 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13982 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13983 (GAIH_EAI): Likewise.
13984 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13985 (gaih_inet): Likewise.
13986 (getaddrinfo): Don't use GAIH_EAI.
13988 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13989 (struct gaih): Remove definition.
13991 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13993 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13994 Use HERRNOP directly.
13996 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14000 2013-11-30 Joseph Myers <joseph@codesourcery.com>
14002 * math/gen-auto-libm-tests.c (test_functions): Add more
14003 single-argument functions.
14004 (special_fill_pi_2): New function.
14005 (special_fill_minus_pi_2): Likewise.
14006 (special_fill_pi_6): Likewise.
14007 (special_fill_minus_pi_6): Likewise.
14008 (special_fill_pi_3): Likewise.
14009 (special_fill_2pi_3): Likewise.
14010 (special_fill_e): Likewise.
14011 (special_fill_1_e): Likewise.
14012 (special_fill_e_minus_1): Likewise.
14013 (special_real_inputs): Add more special inputs.
14014 (output_for_one_input_case): Do not require ERANGE on underflow to
14015 zero if round-to-nearest result does not underflow to zero, unless
14016 exact results required.
14017 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14018 atan, atanh, cbrt, cos and cosh.
14019 * math/auto-libm-test-out: Regenerated.
14020 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14021 (acos_tonearest_test_data): Likewise.
14022 (acos_towardzero_test_data): Likewise.
14023 (acos_downward_test_data): Likewise.
14024 (acos_upward_test_data): Likewise.
14025 (acosh_test_data): Likewise.
14026 (asin_test_data): Likewise.
14027 (asin_tonearest_test_data): Likewise.
14028 (asin_towardzero_test_data): Likewise.
14029 (asin_upward_test_data): Likewise.
14030 (asinh_test_data): Likewise.
14031 (atan_test_data): Likewise.
14032 (atanh_test_data): Likewise.
14033 (cbrt_test_data): Likewise.
14034 (cos_test_data): Likewise.
14035 (cos_tonearest_test_data): Likewise.
14036 (cos_towardzero_test_data): Likewise.
14037 (cos_downward_test_data): Likewise.
14038 (cos_upward_test_data): Likewise.
14039 (cosh_test_data): Likewise.
14040 (cosh_tonearest_test_data): Likewise.
14041 (cosh_towardzero_test_data): Likewise.
14042 (cosh_downward_test_data): Likewise.
14043 (cosh_upward_test_data): Likewise.
14044 * sysdeps/i386/fpu/libm-test-ulps: Update.
14045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047 2013-11-29 Joseph Myers <joseph@codesourcery.com>
14050 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14051 * math/w_exp10f.c (__exp10f): Likewise.
14052 * math/w_exp10l.c (__exp10l): Likewise.
14053 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14054 errno settings in existing tests.
14057 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14058 precision control set to double precision.
14059 * sysdeps/i386/fpu/w_sqrt.c: New file.
14060 * math/auto-libm-test-in: Add more tests.
14061 * math/auto-libm-test-out: Update.
14063 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14064 (sqrt_test_tonearest): New function.
14065 (sqrt_towardzero_test_data): New variable.
14066 (sqrt_test_towardzero): New function.
14067 (sqrt_downward_test_data): New variable.
14068 (sqrt_test_downward): New function.
14069 (sqrt_upward_test_data): New variable.
14070 (sqrt_test_upward): New function.
14071 (main): Call the new functions.
14073 * math/gen-auto-libm-tests.c: New file.
14074 * math/auto-libm-test-in: Likewise.
14075 * math/auto-libm-test-out: New generated file.
14076 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14078 (%beautify): Add generated representations of zero.
14079 (top level): Set $auto_input and call parse_auto_input.
14080 (beautify): Remove trailing "f" from hex float constants.
14081 (parse_args): Handle XFAIL_TEST.
14082 (convert_condition): New function.
14083 (or_value): Likewise.
14084 (or_cond_value): Likewise.
14085 (generate_testfile): Handle AUTO_TESTS_* lines.
14086 (parse_auto_input): New function.
14087 * math/libm-test.inc (XFAIL_TEST): New macro.
14088 (ERRNO_UNCHANGED): Update value.
14089 (ERRNO_EDOM): Likewise.
14090 (ERRNO_ERANGE): Likewise.
14091 (IGNORE_RESULT): Likewise.
14092 (TEST_COND_flt_32): New macro.
14093 (TEST_COND_dbl_64): Likewise.
14094 (TEST_COND_ldbl_96_intel): Likewise.
14095 (TEST_COND_ldbl_96_m68k): Likewise.
14096 (TEST_COND_ldbl_128): Likewise.
14097 (TEST_COND_ldbl_128ibm): Likewise.
14098 (TEST_COND_long32): Likewise.
14099 (TEST_COND_long64): Likewise.
14100 (TEST_COND_before_rounding): Likewise.
14101 (TEST_COND_after_rounding): Likewise.
14102 (enable_test): Handle XFAIL_TEST flag.
14103 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14104 with finite results.
14105 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14106 auto-libm-test-out.
14108 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14109 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14112 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14113 __tls_get_addr_internal instead of __tls_get_offset in order to
14114 avoid GOT pointer dependency. Make rtld export
14115 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14116 __tls_get_addr since we are a __tls_get_offset platform.
14117 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14118 GOT pointer being set up before.
14119 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14121 2013-11-28 Joseph Myers <joseph@codesourcery.com>
14123 * manual/math.texi (Errors in Math Functions): Document accuracy
14127 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14128 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14129 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14131 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14133 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14142 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14144 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14145 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14146 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14147 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14148 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14150 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14152 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14154 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14155 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14156 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14157 atomic-feupdateenv and flt-rounds.
14158 * sysdeps/powerpc/nofpu/Versions (libc): Add
14159 __atomic_feholdexcept, __atomic_feclearexcept,
14160 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14161 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14162 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14163 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14164 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14169 * manual/arith.texi (FP Exceptions): Document that exceptions may
14170 not be raised when matherr is used.
14171 (Math Error Reporting): Document overflow in directed rounding
14172 modes. Document that errno may not be set when finite values are
14173 returned on overflow. Document intent to set errno on underflow
14174 only for underflow to zero.
14177 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14178 round-to-nearest then adjust result for other rounding modes.
14179 * include/fenv.h (fegetround): Use libm_hidden_proto.
14180 * math/fegetround.c (fegetround): Use libm_hidden_def.
14181 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14182 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14183 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14184 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14186 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14187 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14188 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14189 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14191 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14194 * nss/Versions (libnss_files): Add
14195 _nss_files_gethostbyname3_r.
14196 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14198 (HOST_DB_LOOKUP): Remove macro.
14199 (_nss_files_gethostbyname_r): Implement function without the
14200 HOST_DB_LOOKUP macro.
14201 (_nss_files_gethostbyname2_r): Likewise.
14203 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
14205 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14207 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
14209 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14210 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14213 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14215 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14216 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14217 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14218 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14219 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14220 __fe_nomask_env_priv and attribute_hidden.
14221 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14222 (libc_feupdateenv_test_ppc): Likewise.
14223 (libc_feresetround_ppc): Likewise.
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14225 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14226 compat_symbol macro.
14227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14228 (__fe_nomask_env): Likewise.
14229 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14231 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14233 * string/Makefile: Remove ifunc tests.
14234 * string/test-string.h: Define TEST_IFUNC.
14235 * string/test-bcopy-ifunc.c: Remove.
14236 * string/test-bzero-ifunc.c: Likewise.
14237 * string/test-memccpy-ifunc.c: Likewise.
14238 * string/test-memchr-ifunc.c: Likewise.
14239 * string/test-memcmp-ifunc.c: Likewise.
14240 * string/test-memcpy-ifunc.c: Likewise.
14241 * string/test-memmem-ifunc.c: Likewise.
14242 * string/test-memmove-ifunc.c: Likewise.
14243 * string/test-mempcpy-ifunc.c: Likewise.
14244 * string/test-memrchr-ifunc.c: Likewise.
14245 * string/test-memset-ifunc.c: Likewise.
14246 * string/test-rawmemchr-ifunc.c: Likewise.
14247 * string/test-stpcpy-ifunc.c: Likewise.
14248 * string/test-stpncpy-ifunc.c: Likewise.
14249 * string/test-strcasecmp-ifunc.c: Likewise.
14250 * string/test-strcasestr-ifunc.c: Likewise.
14251 * string/test-strcat-ifunc.c: Likewise.
14252 * string/test-strchr-ifunc.c: Likewise.
14253 * string/test-strchrnul-ifunc.c: Likewise.
14254 * string/test-strcmp-ifunc.c: Likewise.
14255 * string/test-strcpy-ifunc.c: Likewise.
14256 * string/test-strcspn-ifunc.c: Likewise.
14257 * string/test-strlen-ifunc.c: Likewise.
14258 * string/test-strncasecmp-ifunc.c: Likewise.
14259 * string/test-strncat-ifunc.c: Likewise.
14260 * string/test-strncmp-ifunc.c: Likewise.
14261 * string/test-strncpy-ifunc.c: Likewise.
14262 * string/test-strnlen-ifunc.c: Likewise.
14263 * string/test-strpbrk-ifunc.c: Likewise.
14264 * string/test-strrchr-ifunc.c: Likewise.
14265 * string/test-strspn-ifunc.c: Likewise.
14266 * string/test-strstr-ifunc.c: Likewise.
14268 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14270 * benchtests/Makefile: Remove ifunc tests.
14271 * benchtests/bench-string.h: Define TEST_IFUNC.
14272 * benchtests/bench-bcopy-ifunc.c: Remove.
14273 * benchtests/bench-bzero-ifunc.c: Likewise.
14274 * benchtests/bench-memccpy-ifunc.c: Likewise.
14275 * benchtests/bench-memchr-ifunc.c: Likewise.
14276 * benchtests/bench-memcmp-ifunc.c: Likewise.
14277 * benchtests/bench-memcpy-ifunc.c: Likewise.
14278 * benchtests/bench-memmem-ifunc.c: Likewise.
14279 * benchtests/bench-memmove-ifunc.c: Likewise.
14280 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14281 * benchtests/bench-memrchr-ifunc.c: Likewise.
14282 * benchtests/bench-memset-ifunc.c: Likewise.
14283 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14284 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14285 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14286 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14287 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14288 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14289 * benchtests/bench-strcat-ifunc.c: Likewise.
14290 * benchtests/bench-strchr-ifunc.c: Likewise.
14291 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14292 * benchtests/bench-strcmp-ifunc.c: Likewise.
14293 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14294 * benchtests/bench-strcpy-ifunc.c: Likewise.
14295 * benchtests/bench-strcspn-ifunc.c: Likewise.
14296 * benchtests/bench-strlen-ifunc.c: Likewise.
14297 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14298 * benchtests/bench-strncat-ifunc.c: Likewise.
14299 * benchtests/bench-strncmp-ifunc.c: Likewise.
14300 * benchtests/bench-strncpy-ifunc.c: Likewise.
14301 * benchtests/bench-strnlen-ifunc.c: Likewise.
14302 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14303 * benchtests/bench-strrchr-ifunc.c: Likewise.
14304 * benchtests/bench-strsep-ifunc.c: Likewise.
14305 * benchtests/bench-strspn-ifunc.c: Likewise.
14306 * benchtests/bench-strstr-ifunc.c: Likewise.
14308 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14310 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14312 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14314 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14315 * rt/aio.h: Likewise.
14316 * sysdeps/gnu/bits/utmp.h: Likewise.
14317 * sysdeps/gnu/bits/utmpx.h: Likewise.
14318 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14319 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14320 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14321 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14322 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14323 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14324 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14325 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14327 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14328 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14329 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14330 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14333 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14334 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14335 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14336 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14337 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14338 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14339 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14340 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14341 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14342 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14344 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14345 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14346 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14347 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14348 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14349 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14350 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14351 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14353 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14354 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14355 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14356 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14357 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14358 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14359 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14361 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14364 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14365 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14367 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14369 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14370 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14373 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14375 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14376 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14377 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14378 (__fesetround): Remove define.
14379 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14380 rounding and exceptions handling.
14381 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14382 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14383 (__fe_nomask_env): Likewise.
14384 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14385 __fegetround instead of fegetround.
14386 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14387 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14389 2013-11-21 Roland McGrath <roland@hack.frob.com>
14391 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14394 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14396 2013-11-21 Meador Inge <meadori@codesourcery.com>
14399 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14400 (encrypt_r): Likewise.
14401 * malloc/obstack.h (obstack_free): Likewise.
14402 * posix/unistd.h (encrypt): Likewise.
14404 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14406 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14407 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14408 DL_CALL_DT_FINI() that call the functions directly.
14409 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14410 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14411 * elf/dl-fini.c: Likewise.
14413 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14415 * malloc/hooks.c (memalign_check): Add alignment rounding.
14416 * malloc/malloc.c (_mid_memalign): New function.
14417 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14418 Implement by calling _mid_memalign.
14419 * manual/probes.texi (Memory Allocation Probes): Remove
14420 memory_valloc_retry and memory_pvalloc_retry.
14422 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14424 * locale/programs/locarchive.c (open_archive): Add const
14425 qualifier to ARCHIVEFNAME and copy default fname to
14429 * libio/tst-widetext.input: Rename Oriya to Odia.
14430 * locale/iso-639.def: Likewise.
14432 * manual/probes.texi (Mathematical Function Probes): Add
14433 documentation for sin, cos, asin and acos probes.
14434 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14435 (__sin32): Add slowasin probe.
14436 (__cos32): Add slowacos probe.
14437 (__mpsin): Add slowsin probe.
14438 (__mpcos): Add slowcos probe.
14440 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14443 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14444 thread-local __sim_exceptions_thread and global
14445 __sim_exceptions_global.
14446 (__sim_disabled_exceptions): Change to thread-local
14447 __sim_disabled_exceptions_thread and global
14448 __sim_disabled_exceptions_global.
14449 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14450 and global __sim_round_mode_global.
14451 (__simulate_exceptions): Use thread-local floating-point state and
14452 set global state from it as needed.
14453 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14454 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14455 __sim_round_mode_thread.
14456 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14457 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14458 and global __sim_exceptions_global.
14459 (__sim_disabled_exceptions): Change to thread-local
14460 __sim_disabled_exceptions_thread and global
14461 __sim_disabled_exceptions_global.
14462 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14463 and global __sim_round_mode_global.
14464 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14465 (SIM_SET_GLOBAL): Likewise.
14466 * sysdeps/powerpc/soft-fp/sfp-machine.h
14467 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14468 __sim_round_mode_thread.
14469 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14470 __sim_disabled_exceptions_thread.
14471 (__sim_exceptions): Change to __sim_exceptions_thread.
14472 (__sim_disabled_exceptions): Change to
14473 __sim_disabled_exceptions_thread.
14474 (__sim_round_mode): Change to __sim_round_mode_thread.
14475 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14476 thread-local floating-point state and set global state from it as
14478 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14479 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14480 (__sim_disabled_exceptions): Remove extern declaration.
14481 (feenableexcept): Use thread-local floating-point state and set
14482 global state from it as needed.
14483 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14484 extern declaration.
14485 (__sim_disabled_exceptions): Likewise.
14486 (__sim_round_mode): Likewise.
14487 (__fegetenv): Use thread-local floating-point state.
14488 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14489 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14490 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14491 floating-point state and set global state from it as needed.
14492 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14493 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14494 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14496 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14497 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14499 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14500 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14501 Use __sim_round_mode_thread.
14502 * math/test-fenv-tls.c: New file.
14503 * math/Makefile (tests): Add test-fenv-tls.
14504 ($(objpfx)test-fenv-tls): Depend on
14505 $(common-objpfx)nptl/libpthread.so.
14507 2013-11-19 Andreas Schwab <schwab@suse.de>
14509 * locale/programs/locale.c (show_info): Decode wordarray elements.
14510 * locale/categories.def (LC_MONETARY): Add element for
14511 _NL_MONETARY_CRNCYSTR.
14512 * locale/C-monetary.c (conversion_rate): New variable.
14513 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14516 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14518 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14519 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14521 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14523 * elf/Makefile (tst-auxv): New test.
14524 * elf/tst-auxv.c: New
14525 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14527 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14529 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14530 (hidden_proto): Caller changed.
14531 (hidden_tls_proto): New macro.
14532 (libc_hidden_tls_proto): Likewise.
14533 (rtld_hidden_tls_proto): Likewise.
14534 (libm_hidden_tls_proto): Likewise.
14535 (libresolv_hidden_tls_proto): Likewise.
14536 (librt_hidden_tls_proto): Likewise.
14537 (libdl_hidden_tls_proto): Likewise.
14538 (libnss_files_hidden_tls_proto): Likewise.
14539 (libnsl_hidden_tls_proto): Likewise.
14540 (libnss_nisplus_hidden_tls_proto): Likewise.
14541 (libutil_hidden_tls_proto): Likewise.
14543 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14546 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14547 (decompose_rpath): Defer expansion to fillin_rpath.
14548 (_dl_init_paths): Pass linkmap to fillin_rpath.
14550 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14552 * benchtests/Makefile: Add strsep.
14553 * benchtests/bench-strsep.c: New file: strsep benchtest.
14554 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14556 2013-11-18 Andreas Schwab <schwab@suse.de>
14558 * locale/programs/locale.c (show_info) [case byte]: Check for
14559 '\377' instead of '\177'.
14560 * locale/C-monetary.c (not_available): Always use "\377".
14561 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14562 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14563 detect unavailable sign_posn locale elements.
14564 * locale/localeconv.c (__localeconv): For grouping and
14565 mon_grouping handle "\177" and "\377" like no grouping.
14566 (INT_ELEM): New macro. Use it to set all numeric members.
14567 * locale/programs/ld-monetary.c (monetary_read)
14568 <tok_mon_grouping>: Normalize single -1 to the empty string.
14569 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14572 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14575 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14576 when we match (nil).
14577 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14579 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14581 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14582 (NO_TEST_INLINE): Update value.
14583 (ERRNO_UNCHANGED): Likewise.
14584 (ERRNO_EDOM): Likewise.
14585 (ERRNO_ERANGE): Likewise.
14586 (IGNORE_RESULT): Likewise.
14587 (check_float_internal): Check signs of NaN results if
14588 TEST_NAN_SIGN used.
14589 (check_complex): Pass TEST_NAN_SIGN flag through to second
14590 check_float_internal call.
14591 (copysign_test_data): Add tests with quiet NaNs as second
14592 argument. Use TEST_NAN_SIGN.
14593 (fabs_test_data): Add test of negative quiet NaN argument. Use
14595 (signbit_test_data): Add tests of quiet NaN argument.
14596 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14598 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14600 (parse_args): Handle function results specified as IGNORE.
14601 * math/libm-test.inc (IGNORE_RESULT): New macro.
14602 (check_float_internal): Do not check numerical result if flag
14604 (check_complex): Pass through IGNORE_RESULT to second
14605 check_float_internal call.
14606 (check_int): Do not check numerical result if flag IGNORE_RESULT
14608 (check_long): Likewise.
14609 (check_bool): Likewise.
14610 (check_longlong): Likewise.
14611 (lrint_test_data): Add tests of infinite and NaN arguments.
14612 (lrint_tonearest_test_data): Likewise.
14613 (lrint_towardzero_test_data): Likewise.
14614 (lrint_downward_test_data): Likewise.
14615 (lrint_upward_test_data): Likewise.
14616 (llrint_test_data): Likewise.
14617 (llrint_tonearest_test_data): Likewise.
14618 (llrint_towardzero_test_data): Likewise.
14619 (llrint_downward_test_data): Likewise.
14620 (llrint_upward_test_data): Likewise.
14621 (lround_test_data): Likewise.
14622 (llround_test_data): Likewise.
14624 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14625 (ERRNO_UNCHANGED): Update value.
14626 (ERRNO_EDOM): Likewise.
14627 (ERRNO_ERANGE): Likewise.
14628 (NO_TEST_INLINE_FLOAT): New macro.
14629 (NO_TEST_INLINE_DOUBLE): Likewise.
14630 (enable_test): New function.
14631 (RUN_TEST_f_f): Check enable_test before running test.
14632 (RUN_TEST_2_f): Likewise.
14633 (RUN_TEST_fff_f): Likewise.
14634 (RUN_TEST_c_f): Likewise.
14635 (RUN_TEST_f_f1): Likewise.
14636 (RUN_TEST_fF_f1): Likewise.
14637 (RUN_TEST_fI_f1): Likewise.
14638 (RUN_TEST_ffI_f1): Likewise.
14639 (RUN_TEST_c_c): Likewise.
14640 (RUN_TEST_cc_c): Likewise.
14641 (RUN_TEST_f_i): Likewise.
14642 (RUN_TEST_f_i_tg): Likewise.
14643 (RUN_TEST_ff_i_tg): Likewise.
14644 (RUN_TEST_f_b): Likewise.
14645 (RUN_TEST_f_b_tg): Likewise.
14646 (RUN_TEST_f_l): Likewise.
14647 (RUN_TEST_f_L): Likewise.
14648 (RUN_TEST_fFF_11): Likewise.
14649 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14651 (cosh_test_data): Likewise.
14652 (exp_test_data): Likewise.
14653 (expm1_test_data): Likewise.
14654 (hypot_test_data): Likewise.
14655 (pow_test_data): Likewise.
14656 (sinh_test_data): Likewise.
14657 (tanh_test_data): Likewise.
14658 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14661 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14662 tests with quiet NaN input and output.
14663 (acosh_test_data): Likewise.
14664 (asin_test_data): Likewise.
14665 (asinh_test_data): Likewise.
14666 (atan_test_data): Likewise.
14667 (atanh_test_data): Likewise.
14668 (atan2_test_data): Likewise.
14669 (cbrt_test_data): Likewise.
14670 (cos_test_data): Likewise.
14671 (cosh_test_data): Likewise.
14672 (erf_test_data): Likewise.
14673 (erfc_test_data): Likewise.
14674 (exp_test_data): Likewise.
14675 (exp10_test_data): Likewise.
14676 (exp2_test_data): Likewise.
14677 (expm1_test_data): Likewise.
14678 (hypot_test_data): Likewise.
14679 (j0_test_data): Likewise.
14680 (j1_test_data): Likewise.
14681 (jn_test_data): Likewise.
14682 (lgamma_test_data): Likewise.
14683 (log_test_data): Likewise.
14684 (log10_test_data): Likewise.
14685 (log1p_test_data): Likewise.
14686 (log2_test_data): Likewise.
14687 (pow_test_data): Likewise.
14688 (scalb_test_data): Likewise.
14689 (sin_test_data): Likewise.
14690 (sincos_test_data): Likewise.
14691 (sinh_test_data): Likewise.
14692 (tan_test_data): Likewise.
14693 (tanh_test_data): Likewise.
14694 (tgamma_test_data): Likewise.
14695 (y0_test_data): Likewise.
14696 (y1_test_data): Likewise.
14697 (yn_test_data): Likewise.
14700 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14701 argument being NaN and avoid computations with second argument in
14703 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14704 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14705 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14707 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14709 * locale/iso-639.def: Add Chitwani Tharu (the).
14711 2013-11-14 Andreas Schwab <schwab@suse.de>
14713 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14714 word instead of empty string.
14716 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14719 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14721 (__fe_nomask_env): Likewise.
14723 2013-11-13 Steve Ellcey <sellcey@mips.com>
14725 * benchtests/bench-timing.h: Include time.h.
14727 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14730 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14732 * sysdeps/unix/sysv/linux/configure: Regenerated.
14734 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14737 * stdlib/strtod_l.c (round_and_return): Do not consider
14738 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14739 exponent one less than half the least subnormal exponent.
14740 * stdlib/test-strtod-round-data: Add more tests.
14741 * stdlib/tst-strtod-round.c (tests): Regenerated.
14743 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14746 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14747 (__fe_mask_env): Likewise.
14748 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14749 libm_hidden_proto and add function prototype.
14750 (__fe_mask_env): Add function prototype.
14751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14752 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14754 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14756 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14758 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14760 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14761 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14763 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14765 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14766 of htab_find_slot().
14768 2013-11-11 David S. Miller <davem@davemloft.net>
14771 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14772 symbol in the non-vis3 case in static builds.
14773 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14774 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14775 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14776 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14778 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14781 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14784 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14786 * benchtests/Makefile: Add bench-strtod.
14787 * benchtests/bench-strtod.c: New file: strtod benchtest
14789 2013-11-11 Andreas Schwab <schwab@suse.de>
14792 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14793 terminating NUL in key length.
14795 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14797 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14798 Add artificial ODP entry for vDSO symbol for PPC64.
14799 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14800 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14802 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14805 * nss/getent.c (services_keys): Recognize services starting with digit.
14807 2013-11-06 David S. Miller <davem@davemloft.net>
14810 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14811 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14813 2013-11-06 Will Newton <will.newton@linaro.org>
14815 * manual/memory.texi (Malloc Examples): Remove register
14816 keyword from examples.
14818 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14820 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14822 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14825 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14826 depending on [__GCC_IEC_559 > 0].
14827 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14828 depending on [__GCC_IEC_559_COMPLEX > 0].
14830 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14832 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14835 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14837 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14839 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14842 * malloc/malloc (malloc_info): Do not handle first bin as
14845 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14847 * locale/iso-639.def: Add Central Nahuatl (nhn).
14849 2013-11-01 Bruno Haible <bruno@clisp.org>
14852 * manual/math.texi (BSD Random): Specify range upper bound as
14855 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14857 * locale/iso-639.def: Add Meadow Mari (mhr).
14859 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14861 [BZ #14752], [BZ #15763]
14862 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14864 * rt/tst_shm.c: Add test for escaping directory.
14866 2013-10-31 Andreas Schwab <schwab@suse.de>
14869 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14870 followed by 'x' as part of digit sequence.
14871 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14873 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14876 * configure.ac: allow GNU Make 4.0 and greater.
14877 * configure: Regenerated.
14879 2013-10-30 Will Newton <will.newton@linaro.org>
14882 * malloc/hooks.c (memalign_check): Limit alignment to the
14883 maximum representable power of two.
14884 * malloc/malloc.c (__libc_memalign): Likewise.
14885 * malloc/tst-memalign.c (do_test): Add test for very
14886 large alignment values.
14887 * malloc/tst-posix_memalign.c (do_test): Likewise.
14889 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14892 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14893 (munmap_chunk): Likewise.
14894 (mremap_chunk): Likewise.
14896 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14899 * stdlib/div.c (div): Remove obsolete code.
14900 * stdlib/ldiv.c (ldiv): Likewise.
14901 * stdlib/lldiv.c (lldiv): Likewise.
14903 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14906 * nss/nss_files/files-XXX.c (get_contents_ret): New
14908 (get_contents): New function.
14909 (internal_getent): Use it. Expand size of LINEBUFLEN.
14911 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14913 * configure.in: Moved to ...
14914 * configure.ac: ... here. Change reference to configure.in
14916 * sysdeps/arm/preconfigure.ac: ... here.
14917 configure.in to configure.ac.
14918 * sysdeps/gnu/configure.in: Moved to ...
14919 * sysdeps/gnu/configure.ac: ... here.
14920 * sysdeps/i386/configure.in: Moved to ...
14921 * sysdeps/i386/configure.ac: ... here.
14922 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14923 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14924 * sysdeps/mach/configure.in: Moved to ...
14925 * sysdeps/mach/configure.ac: ... here.
14926 * sysdeps/mach/hurd/configure.in: Moved to ...
14927 * sysdeps/mach/hurd/configure.ac: ... here.
14928 * sysdeps/powerpc/configure.in: Moved to ...
14929 * sysdeps/powerpc/configure.ac: ... here.
14930 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14931 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14932 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14933 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14934 * sysdeps/s390/s390-32/configure.in: Moved to ...
14935 * sysdeps/s390/s390-32/configure.ac: ... here.
14936 * sysdeps/s390/s390-64/configure.in: Moved to ...
14937 * sysdeps/s390/s390-64/configure.ac: ... here.
14938 * sysdeps/sh/configure.in: Moved to ...
14939 * sysdeps/sh/configure.ac: ... here.
14940 * sysdeps/sparc/configure.in: Moved to ...
14941 * sysdeps/sparc/configure.ac: ... here.
14942 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14943 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14944 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14945 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14946 * sysdeps/x86_64/configure.in: Moved to ...
14947 * sysdeps/x86_64/configure.ac: ... here.
14948 * sysdeps/x86_64/preconfigure.in: Moved to ...
14949 * sysdeps/x86_64/preconfigure.ac: ... here.
14950 * aclocal.m4: Change reference to configure.in to configure.ac.
14951 * config.h.in: Likewise.
14952 * manual/install.texi: Likewise.
14953 * manual/maint.texi: Likewise.
14954 * Makefile: Likewise.
14955 * malloc/Makefile: Likewise.
14956 * nscd/Makefile: Likewise.
14957 * Makeconfig: Change reference to configure.in and
14958 preconfigure.in to configure.ac and preconfigure.ac
14960 * INSTALL: Regenerated.
14961 * configure: Likewise.
14962 * sysdeps/gnu/configure: Likewise.
14963 * sysdeps/i386/configure: Likewise.
14964 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14965 * sysdeps/mach/configure: Likewise.
14966 * sysdeps/mach/hurd/configure: Likewise.
14967 * sysdeps/powerpc/configure: Likewise.
14968 * sysdeps/powerpc/powerpc32/configure: Likewise.
14969 * sysdeps/powerpc/powerpc64/configure: Likewise.
14970 * sysdeps/s390/s390-32/configure: Likewise.
14971 * sysdeps/s390/s390-64/configure: Likewise.
14972 * sysdeps/sh/configure: Likewise.
14973 * sysdeps/sparc/configure: Likewise.
14974 * sysdeps/unix/sysv/linux/configure: Likewise.
14975 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14976 * sysdeps/x86_64/configure: Likewise.
14977 * sysdeps/x86_64/preconfigure: Likewise.
14979 2013-10-29 Andreas Schwab <schwab@suse.de>
14981 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14983 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14985 * benchtests/pow-inputs: Add new inputs.
14987 * benchtests/exp-inputs: Add new inputs.
14989 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14990 conditional check for return value.
14991 (__cos32): Likewise.
14993 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14995 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14996 to provide a boost for large inputs with word alignment.
14997 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14998 implementation based on optimized PPC64 strcpy.
14999 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15000 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15001 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15002 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15004 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15007 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15009 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15012 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15013 * time/tst-strptime.c (day_tests): Add testcase.
15015 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
15018 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15020 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15023 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15024 MAP_FAILED on error.
15026 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15029 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15030 heap for large requests.
15032 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15035 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15036 result if the result has no associated interface.
15037 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15038 interface for all 127.X.Y.Z addresses.
15040 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
15042 * locale/iso-639.def: Add Ligurian (lij)
15044 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
15047 * sunrpc/rpc_main.c: Document rpcgen -5.
15049 2013-10-19 Michael Stahl <mstahl@redhat.com>
15051 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15053 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15056 * posix/glob.c: Match only directories when trailing slash is present.
15057 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15058 (main): Add testcase.
15060 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
15063 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15065 2013-10-18 Carlos O'Donell <carlos@redhat.com>
15067 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15068 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15069 AUTH_DES and cindex for FIPS 140-2.
15070 (DES Encryption): Add cindex FIPS 46-3.
15072 * locale/locarchive.h (struct locarhandle): Add fname.
15073 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15074 if an optional argument was specified to --list-archive,
15076 * locale/programs/locarchive.c (show_archive_content): Take new
15077 argument fname and pass it via ah.fname to open_archive.
15078 * locale/programs/localedef.h: Update decl.
15079 (open_archive): If AH->fname is non-null, open that file
15080 rather than the default file name, and don't ignore ENOENT.
15081 (create_archive): Set AH.fname to NULL.
15082 (delete_locales_from_archive): Likewise.
15083 (add_locales_to_archive): Likewise.
15084 * locale/programs/locfile.c (write_all_categories): Likewise.
15086 2013-10-18 Joseph Myers <joseph@codesourcery.com>
15087 Aldy Hernandez <aldyh@redhat.com>
15089 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15090 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15091 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15092 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15093 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15095 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15096 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15097 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15098 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15099 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15100 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15101 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15102 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15103 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15105 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15107 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15109 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15111 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15112 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15114 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15115 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15116 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15117 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15119 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15120 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15121 * sysdeps/powerpc/preconfigure: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15124 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15125 Replace contents of file by #include of <fenv_libc.h>.
15126 * sysdeps/powerpc/soft-fp/sfp-machine.h
15127 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15129 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15140 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15142 Allow copysignl PLT reference to be missing.
15144 2013-10-18 Richard Sandiford <richard@codesourcery.com>
15145 Joseph Myers <joseph@codesourcery.com
15148 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15150 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15152 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15154 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15155 * elf/tst-tls1.c: Likewise.
15156 * elf/tst-tls10.h: Likewise.
15157 * elf/tst-tls14.c: Likewise.
15158 * elf/tst-tls2.c: Likewise.
15159 * elf/tst-tls3.c: Likewise.
15160 * elf/tst-tls4.c: Likewise.
15161 * elf/tst-tls5.c: Likewise.
15162 * elf/tst-tls6.c: Likewise.
15163 * elf/tst-tls7.c: Likewise.
15164 * elf/tst-tls8.c: Likewise.
15165 * elf/tst-tls9.c: Likewise.
15166 * elf/tst-tlsmod1.c: Likewise.
15167 * elf/tst-tlsmod13.c: Likewise.
15168 * elf/tst-tlsmod13a.c: Likewise.
15169 * elf/tst-tlsmod14a.c: Likewise.
15170 * elf/tst-tlsmod16a.c: Likewise.
15171 * elf/tst-tlsmod16b.c: Likewise.
15172 * elf/tst-tlsmod2.c: Likewise.
15173 * elf/tst-tlsmod3.c: Likewise.
15174 * elf/tst-tlsmod4.c: Likewise.
15175 * elf/tst-tlsmod5.c: Likewise.
15176 * elf/tst-tlsmod6.c: Likewise.
15178 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
15181 * malloc/malloc.c: remove checks for statistics.
15183 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15186 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15187 * inet/tst-network.c: Add testcase.
15189 2013-10-17 Andreas Schwab <schwab@suse.de>
15192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15193 to determine canonical name.
15195 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
15197 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15198 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15221 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15222 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15223 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15224 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15225 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15226 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15227 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15229 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15230 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15232 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15233 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15234 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15235 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15236 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15237 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15238 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15248 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15249 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15252 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15254 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15256 2013-10-17 Joseph Myers <joseph@codesourcery.com>
15259 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15260 make result into a quiet NaN.
15262 2013-10-16 Joseph Myers <joseph@codesourcery.com>
15264 * soft-fp/adddf3.c: Fix horizontal whitespace.
15265 * soft-fp/addsf3.c: Likewise.
15266 * soft-fp/addtf3.c: Likewise.
15267 * soft-fp/divdf3.c: Likewise.
15268 * soft-fp/divsf3.c: Likewise.
15269 * soft-fp/divtf3.c: Likewise.
15270 * soft-fp/double.h: Likewise.
15271 * soft-fp/eqdf2.c: Likewise.
15272 * soft-fp/eqsf2.c: Likewise.
15273 * soft-fp/eqtf2.c: Likewise.
15274 * soft-fp/extenddftf2.c: Likewise.
15275 * soft-fp/extended.h: Likewise.
15276 * soft-fp/extendsfdf2.c: Likewise.
15277 * soft-fp/extendsftf2.c: Likewise.
15278 * soft-fp/extendxftf2.c: Likewise.
15279 * soft-fp/fixdfdi.c: Likewise.
15280 * soft-fp/fixdfsi.c: Likewise.
15281 * soft-fp/fixdfti.c: Likewise.
15282 * soft-fp/fixsfdi.c: Likewise.
15283 * soft-fp/fixsfsi.c: Likewise.
15284 * soft-fp/fixsfti.c: Likewise.
15285 * soft-fp/fixtfdi.c: Likewise.
15286 * soft-fp/fixtfsi.c: Likewise.
15287 * soft-fp/fixtfti.c: Likewise.
15288 * soft-fp/fixunsdfdi.c: Likewise.
15289 * soft-fp/fixunsdfsi.c: Likewise.
15290 * soft-fp/fixunsdfti.c: Likewise.
15291 * soft-fp/fixunssfdi.c: Likewise.
15292 * soft-fp/fixunssfsi.c: Likewise.
15293 * soft-fp/fixunssfti.c: Likewise.
15294 * soft-fp/fixunstfdi.c: Likewise.
15295 * soft-fp/fixunstfsi.c: Likewise.
15296 * soft-fp/fixunstfti.c: Likewise.
15297 * soft-fp/floatdidf.c: Likewise.
15298 * soft-fp/floatdisf.c: Likewise.
15299 * soft-fp/floatditf.c: Likewise.
15300 * soft-fp/floatsidf.c: Likewise.
15301 * soft-fp/floatsisf.c: Likewise.
15302 * soft-fp/floatsitf.c: Likewise.
15303 * soft-fp/floattidf.c: Likewise.
15304 * soft-fp/floattisf.c: Likewise.
15305 * soft-fp/floattitf.c: Likewise.
15306 * soft-fp/floatundidf.c: Likewise.
15307 * soft-fp/floatundisf.c: Likewise.
15308 * soft-fp/floatunditf.c: Likewise.
15309 * soft-fp/floatunsidf.c: Likewise.
15310 * soft-fp/floatunsisf.c: Likewise.
15311 * soft-fp/floatunsitf.c: Likewise.
15312 * soft-fp/floatuntidf.c: Likewise.
15313 * soft-fp/floatuntisf.c: Likewise.
15314 * soft-fp/floatuntitf.c: Likewise.
15315 * soft-fp/fmadf4.c: Likewise.
15316 * soft-fp/fmasf4.c: Likewise.
15317 * soft-fp/fmatf4.c: Likewise.
15318 * soft-fp/gedf2.c: Likewise.
15319 * soft-fp/gesf2.c: Likewise.
15320 * soft-fp/getf2.c: Likewise.
15321 * soft-fp/ledf2.c: Likewise.
15322 * soft-fp/lesf2.c: Likewise.
15323 * soft-fp/letf2.c: Likewise.
15324 * soft-fp/muldf3.c: Likewise.
15325 * soft-fp/mulsf3.c: Likewise.
15326 * soft-fp/multf3.c: Likewise.
15327 * soft-fp/negdf2.c: Likewise.
15328 * soft-fp/negsf2.c: Likewise.
15329 * soft-fp/negtf2.c: Likewise.
15330 * soft-fp/op-1.h: Likewise.
15331 * soft-fp/op-2.h: Likewise.
15332 * soft-fp/op-4.h: Likewise.
15333 * soft-fp/op-8.h: Likewise.
15334 * soft-fp/op-common.h: Likewise.
15335 * soft-fp/quad.h: Likewise.
15336 * soft-fp/single.h: Likewise.
15337 * soft-fp/soft-fp.h: Likewise.
15338 * soft-fp/sqrtdf2.c: Likewise.
15339 * soft-fp/sqrtsf2.c: Likewise.
15340 * soft-fp/sqrttf2.c: Likewise.
15341 * soft-fp/subdf3.c: Likewise.
15342 * soft-fp/subsf3.c: Likewise.
15343 * soft-fp/subtf3.c: Likewise.
15344 * soft-fp/truncdfsf2.c: Likewise.
15345 * soft-fp/trunctfdf2.c: Likewise.
15346 * soft-fp/trunctfsf2.c: Likewise.
15347 * soft-fp/trunctfxf2.c: Likewise.
15348 * soft-fp/unorddf2.c: Likewise.
15349 * soft-fp/unordsf2.c: Likewise.
15350 * soft-fp/unordtf2.c: Likewise.
15352 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15354 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15355 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15357 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15359 * elf/dl-libc.c: Clear initfini list after freeing.
15361 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15363 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15364 * soft-fp/addsf3.c: Likewise.
15365 * soft-fp/addtf3.c: Likewise.
15366 * soft-fp/divdf3.c: Likewise.
15367 * soft-fp/divsf3.c: Likewise.
15368 * soft-fp/divtf3.c: Likewise.
15369 * soft-fp/double.h: Likewise.
15370 * soft-fp/eqdf2.c: Likewise.
15371 * soft-fp/eqsf2.c: Likewise.
15372 * soft-fp/eqtf2.c: Likewise.
15373 * soft-fp/extenddftf2.c: Likewise.
15374 * soft-fp/extended.h: Likewise.
15375 * soft-fp/extendsfdf2.c: Likewise.
15376 * soft-fp/extendsftf2.c: Likewise.
15377 * soft-fp/extendxftf2.c: Likewise.
15378 * soft-fp/fixdfdi.c: Likewise.
15379 * soft-fp/fixdfsi.c: Likewise.
15380 * soft-fp/fixdfti.c: Likewise.
15381 * soft-fp/fixsfdi.c: Likewise.
15382 * soft-fp/fixsfsi.c: Likewise.
15383 * soft-fp/fixsfti.c: Likewise.
15384 * soft-fp/fixtfdi.c: Likewise.
15385 * soft-fp/fixtfsi.c: Likewise.
15386 * soft-fp/fixtfti.c: Likewise.
15387 * soft-fp/fixunsdfdi.c: Likewise.
15388 * soft-fp/fixunsdfsi.c: Likewise.
15389 * soft-fp/fixunsdfti.c: Likewise.
15390 * soft-fp/fixunssfdi.c: Likewise.
15391 * soft-fp/fixunssfsi.c: Likewise.
15392 * soft-fp/fixunssfti.c: Likewise.
15393 * soft-fp/fixunstfdi.c: Likewise.
15394 * soft-fp/fixunstfsi.c: Likewise.
15395 * soft-fp/fixunstfti.c: Likewise.
15396 * soft-fp/floatdidf.c: Likewise.
15397 * soft-fp/floatdisf.c: Likewise.
15398 * soft-fp/floatditf.c: Likewise.
15399 * soft-fp/floatsidf.c: Likewise.
15400 * soft-fp/floatsisf.c: Likewise.
15401 * soft-fp/floatsitf.c: Likewise.
15402 * soft-fp/floattidf.c: Likewise.
15403 * soft-fp/floattisf.c: Likewise.
15404 * soft-fp/floattitf.c: Likewise.
15405 * soft-fp/floatundidf.c: Likewise.
15406 * soft-fp/floatundisf.c: Likewise.
15407 * soft-fp/floatunsidf.c: Likewise.
15408 * soft-fp/floatunsisf.c: Likewise.
15409 * soft-fp/floatuntidf.c: Likewise.
15410 * soft-fp/floatuntisf.c: Likewise.
15411 * soft-fp/floatuntitf.c: Likewise.
15412 * soft-fp/fmadf4.c: Likewise.
15413 * soft-fp/fmasf4.c: Likewise.
15414 * soft-fp/fmatf4.c: Likewise.
15415 * soft-fp/gedf2.c: Likewise.
15416 * soft-fp/gesf2.c: Likewise.
15417 * soft-fp/getf2.c: Likewise.
15418 * soft-fp/ledf2.c: Likewise.
15419 * soft-fp/lesf2.c: Likewise.
15420 * soft-fp/letf2.c: Likewise.
15421 * soft-fp/muldf3.c: Likewise.
15422 * soft-fp/mulsf3.c: Likewise.
15423 * soft-fp/multf3.c: Likewise.
15424 * soft-fp/negdf2.c: Likewise.
15425 * soft-fp/negsf2.c: Likewise.
15426 * soft-fp/negtf2.c: Likewise.
15427 * soft-fp/op-1.h: Likewise.
15428 * soft-fp/op-2.h: Likewise.
15429 * soft-fp/op-4.h: Likewise.
15430 * soft-fp/op-8.h: Likewise.
15431 * soft-fp/op-common.h: Likewise.
15432 * soft-fp/quad.h: Likewise.
15433 * soft-fp/single.h: Likewise.
15434 * soft-fp/soft-fp.h: Likewise.
15435 * soft-fp/sqrtdf2.c: Likewise.
15436 * soft-fp/sqrtsf2.c: Likewise.
15437 * soft-fp/sqrttf2.c: Likewise.
15438 * soft-fp/subdf3.c: Likewise.
15439 * soft-fp/subsf3.c: Likewise.
15440 * soft-fp/subtf3.c: Likewise.
15441 * soft-fp/truncdfsf2.c: Likewise.
15442 * soft-fp/trunctfdf2.c: Likewise.
15443 * soft-fp/trunctfsf2.c: Likewise.
15444 * soft-fp/trunctfxf2.c: Likewise.
15445 * soft-fp/unorddf2.c: Likewise.
15446 * soft-fp/unordsf2.c: Likewise.
15447 * soft-fp/unordtf2.c: Likewise.
15449 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15452 * misc/error.c (error_tail): Fix possible buffer overflow.
15454 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15457 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15460 2013-10-14 P. J. McDermott <pj@pehjota.net>
15463 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15464 testing pipefail option.
15466 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15468 * soft-fp/double.h: Indent preprocessor directives inside #if.
15469 * soft-fp/extended.h: Likewise.
15470 * soft-fp/op-2.h: Likewise.
15471 * soft-fp/op-4.h: Likewise.
15472 * soft-fp/op-common.h: Likewise.
15473 * soft-fp/quad.h: Likewise.
15474 * soft-fp/single.h: Likewise.
15475 * soft-fp/soft-fp.h: Likewise.
15477 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15479 * iconv/iconv_prog.c: Fix typos.
15480 * stdio-common/psiginfo-data.h: Likewise.
15482 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15485 * locale/setlocale.c: Fix typo.
15487 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15490 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15491 signaling NaN arguments.
15492 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15493 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15496 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15497 unordered operands.
15498 * soft-fp/gesf2.c (__gesf2): Likewise.
15499 * soft-fp/getf2.c (__getf2): Likewise.
15500 * soft-fp/ledf2.c (__ledf2): Likewise.
15501 * soft-fp/lesf2.c (__lesf2): Likewise.
15502 * soft-fp/letf2.c (__letf2): Likewise.
15504 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15505 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15506 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15507 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15508 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15509 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15510 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15511 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15512 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15513 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15514 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15515 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15516 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15517 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15518 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15519 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15520 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15521 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15522 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15523 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15524 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15525 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15526 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15527 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15528 * soft-fp/floattidf.c (__floattidf): Likewise.
15529 * soft-fp/floattisf.c (__floattisf): Likewise.
15530 * soft-fp/floattitf.c (__floattitf): Likewise.
15531 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15532 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15533 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15534 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15535 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15536 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15537 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15538 * soft-fp/gesf2.c (__gesf2): Likewise.
15539 * soft-fp/getf2.c (__getf2): Likewise.
15540 * soft-fp/ledf2.c (__ledf2): Likewise.
15541 * soft-fp/lesf2.c (__lesf2): Likewise.
15542 * soft-fp/letf2.c (__letf2): Likewise.
15544 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15545 Undefine and redefine.
15546 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15547 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15548 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15549 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15550 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15551 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15552 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15553 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15554 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15555 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15556 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15557 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15558 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15559 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15560 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15563 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15564 without decrementing exponent if mantissa >= that for the
15565 denominator, not >.
15566 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15567 denominator, not >. Decrement exponent in < case instead of
15568 incrementing in >= case.
15569 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15570 without decrementing exponent if mantissa >= that for the
15571 denominator, not >.
15573 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15574 computing saturated result for unsigned overflow.
15576 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 Jeff Law <law@redhat.com>
15579 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15580 (atan2Mp): Add systemtap probe marker.
15581 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15582 (__ieee754_log): Add systemtap probe marker.
15583 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15584 (atanMp): Add systemtap probe marker.
15585 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15586 (tanMp): Add systemtap probe marker.
15587 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15588 (__slowexp): Add systemtap probe marker.
15589 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15590 (__slowpow): Add systemtap probe marker.
15591 * manual/probes.texi: Document probes.
15593 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15596 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15598 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15600 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15601 written to buffer but not flushed.
15602 * libio/iofwrite_u.c: Likewise.
15603 * libio/iopadn.c: Return bytes returned even if EOF was
15605 * libio/iowpadn.c: Likewise.
15606 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15607 if _IO_padn does not write the whole buffer.
15608 [!COMPILE_WPRINTF] (PAD): Likewise.
15610 2013-10-10 David S. Miller <davem@davemloft.net>
15612 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15615 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15617 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15618 instead of FSF address.
15619 * soft-fp/fixdfti.c: Likewise.
15620 * soft-fp/fixsfti.c: Likewise.
15621 * soft-fp/fixtfti.c: Likewise.
15622 * soft-fp/fixunsdfti.c: Likewise.
15623 * soft-fp/fixunssfti.c: Likewise.
15624 * soft-fp/fixunstfti.c: Likewise.
15625 * soft-fp/floattidf.c: Likewise.
15626 * soft-fp/floattisf.c: Likewise.
15627 * soft-fp/floattitf.c: Likewise.
15628 * soft-fp/floatuntidf.c: Likewise.
15629 * soft-fp/floatuntisf.c: Likewise.
15630 * soft-fp/floatuntitf.c: Likewise.
15631 * soft-fp/trunctfxf2.c: Likewise.
15633 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15634 * soft-fp/fixdfti.c: Likewise.
15635 * soft-fp/fixsfti.c: Likewise.
15636 * soft-fp/fixtfti.c: Likewise.
15637 * soft-fp/fixunsdfti.c: Likewise.
15638 * soft-fp/fixunssfti.c: Likewise.
15639 * soft-fp/fixunstfti.c: Likewise.
15640 * soft-fp/floattidf.c: Likewise.
15641 * soft-fp/floattisf.c: Likewise.
15642 * soft-fp/floattitf.c: Likewise.
15643 * soft-fp/floatuntidf.c: Likewise.
15644 * soft-fp/floatuntisf.c: Likewise.
15645 * soft-fp/floatuntitf.c: Likewise.
15646 * soft-fp/trunctfxf2.c: Likewise.
15648 2013-10-10 David S. Miller <davem@davemloft.net>
15650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15652 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15654 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15655 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15656 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15657 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15658 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15659 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15660 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15663 for NaNs before doing comparisons on argument.
15664 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15667 2013-10-10 Will Newton <will.newton@linaro.org>
15669 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15670 passed to _int_memalign does not overflow.
15672 2013-10-10 Torvald Riegel <triegel@redhat.com>
15674 * scripts/bench.pl: Add include-sources directive.
15675 * benchtests/README: Update documentation.
15677 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15679 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15680 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15681 instead of FP_INIT_ROUNDMODE.
15682 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15683 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15686 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15687 copy class of input value.
15688 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15689 not handle exceptions.
15690 * soft-fp/negsf2.c (__negsf2): Likewise.
15691 * soft-fp/negtf2.c (__negtf2): Likewise.
15692 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15694 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15696 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15697 semicolon. From Linux kernel.
15699 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15701 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15703 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15706 * manual/socket.texi: Added statement about buffer
15707 for gethostbyname2_r.
15709 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15711 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15712 Use .p2align directive instead, throughout.
15713 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15714 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15715 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15716 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15717 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15718 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15719 * sysdeps/x86_64/strchr.S: Likewise.
15720 * sysdeps/x86_64/strrchr.S: Likewise.
15722 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15724 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15726 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15728 * sysdeps/generic/math_private.h (__mpsin1): Remove
15730 (__mpcos1): Likewise.
15731 (__mpsin): New argument __range_reduce.
15732 (__mpcos): Likewise.
15733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15734 (slow): Use __mpsin and __mpcos.
15738 (sloww1): Likewise.
15739 (sloww2): Likewise.
15740 (bsloww): Likewise.
15741 (bsloww1): Likewise.
15742 (bsloww2): Likewise.
15743 (cslow2): Likewise.
15744 (csloww): Likewise.
15745 (csloww1): Likewise.
15746 (csloww2): Likewise.
15747 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15748 range_reduce. Merge in __mpsin1.
15749 (__mpcos): Likewise.
15750 (__mpsin1): Remove.
15751 (__mpcos1): Likewise.
15753 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15755 * locale/loadlocale.c (_nl_intern_locale_data): Use
15757 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15758 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15759 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15760 obstack data is appropriately aligned.
15761 (obstack_int32_grow_fast): Likewise.
15762 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15763 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15764 (add_locale_uint32_array): Likewise.
15766 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15768 * benchtests/Makefile: Remove ARGLIST and RET variables.
15769 ($(objpfx)bench-%.c): Pass only function name to the script.
15770 * benchtests/README: Update documentation.
15771 * benchtests/acos-inputs: Add new directives.
15772 * benchtests/acosh-inputs: Likewise.
15773 * benchtests/asin-inputs: Likewise.
15774 * benchtests/asinh-inputs: Likewise.
15775 * benchtests/atan-inputs: Likewise.
15776 * benchtests/atanh-inputs: Likewise.
15777 * benchtests/cos-inputs: Likewise.
15778 * benchtests/cosh-inputs: Likewise.
15779 * benchtests/exp-inputs: Likewise.
15780 * benchtests/log-inputs: Likewise.
15781 * benchtests/pow-inputs: Likewise.
15782 * benchtests/rint-inputs: Likewise.
15783 * benchtests/sin-inputs: Likewise.
15784 * benchtests/sinh-inputs: Likewise.
15785 * benchtests/tan-inputs: Likewise.
15786 * benchtests/tanh-inputs: Likewise.
15787 * scripts/bench.pl: Add support for new directives.
15789 2013-10-07 Alan Modra <amodra@gmail.com>
15791 * README: Fix careless merge.
15793 2013-10-05 Alan Modra <amodra@gmail.com>
15795 * NEWS: Mention powerpc64le support and bugs fixed.
15796 * README: Both big-endian and little-endian powerpc64 supported.
15798 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15800 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15801 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15802 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15803 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15805 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15807 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15810 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15812 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15813 Move -mhard-float appending from
15814 ports/sysdeps/powerpc/powerpc32/Makefile.
15815 [$(with-fp) = yes] (ASFLAGS): Likewise.
15816 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15817 * sysdeps/powerpc/nofpu: Move directory from
15818 ports/sysdeps/powerpc/nofpu.
15819 * sysdeps/powerpc/soft-fp: Move directory from
15820 ports/sysdeps/powerpc/soft-fp.
15821 * sysdeps/powerpc/powerpc32/405: Move directory from
15822 ports/sysdeps/powerpc/powerpc32/405.
15823 * sysdeps/powerpc/powerpc32/440: Move directory from
15824 ports/sysdeps/powerpc/powerpc32/440.
15825 * sysdeps/powerpc/powerpc32/464: Move directory from
15826 ports/sysdeps/powerpc/powerpc32/464.
15827 * sysdeps/powerpc/powerpc32/476: Move directory from
15828 ports/sysdeps/powerpc/powerpc32/476.
15829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15830 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15832 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15834 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15836 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15838 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15839 * README: Update for powerpc-*-linux-gnu software floating point
15842 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15843 case to powerpc/powerpc32*.
15844 * sysdeps/unix/sysv/linux/configure: Regenerated.
15846 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15847 (_FPU_MASK_OM): Define as 0x04.
15848 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15849 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15856 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15859 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15862 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15863 and setcontext_e500.
15865 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15867 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15869 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15871 * manual/threads.texi (Default Thread Attributes): Fix typo.
15873 2013-10-04 Will Newton <will.newton@linaro.org>
15875 * malloc/Makefile: Add tst-memalign.
15876 * malloc/tst-memalign.c: New file.
15878 * malloc/tst-posix_memalign.c: Add comments.
15879 (do_test): Add comments and call free on all potentially
15880 allocated pointers. Add space after cast.
15882 * malloc/tst-pvalloc.c: Add comments.
15883 (do_test): Add comments and call free on all potentially
15884 allocated pointers. Remove duplicate check for NULL pointer.
15885 Add space after cast.
15887 * malloc/tst-valloc.c: Add comments.
15888 (do_test): Add comments and call free on all potentially
15889 allocated pointers. Remove duplicate check for NULL pointer.
15890 Add space after cast.
15892 2013-10-04 Alan Modra <amodra@gmail.com>
15894 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15895 Use stdint types in rather than __attribute__((mode())).
15896 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15898 2013-10-04 Alan Modra <amodra@gmail.com>
15900 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15901 Correct handling of unaligned relocs for little-endian.
15902 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15904 2013-10-04 Alan Modra <amodra@gmail.com>
15906 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15907 * configure: Regenerate.
15908 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15909 * shlib-versions: Likewise.
15911 2013-10-04 Alan Modra <amodra@gmail.com>
15913 * string/tester.c (test_memrchr): Increment reported test cycle.
15915 2013-10-04 Alan Modra <amodra@gmail.com>
15917 * string/test-memcpy.c (do_one_test): When reporting errors, print
15918 string address and don't overrun end of string.
15920 2013-10-04 Alan Modra <amodra@gmail.com>
15922 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15923 insrdi. Make better use of reg selection to speed exit slightly.
15924 Schedule entry path a little better. Remove useless "are we done"
15925 checks on entry to main loop. Handle wrapping around zero address.
15926 Correct main loop count. Handle single left-over word from main
15927 loop inline rather than by using loop_small. Remove extra word
15928 case in loop_small caused by wrong loop count. Add little-endian
15930 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15933 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15934 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15935 support. Avoid rlwimi.
15936 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15938 2013-10-04 Alan Modra <amodra@gmail.com>
15940 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15941 insrdi. Formatting.
15942 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15943 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15944 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15945 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15946 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15947 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15949 2013-10-04 Alan Modra <amodra@gmail.com>
15951 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15952 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15953 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15954 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15955 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15956 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15957 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15958 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15959 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15960 use of regs. Use power7 mtocrf. Tidy function tails.
15962 2013-10-04 Alan Modra <amodra@gmail.com>
15964 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15965 Formatting. Consistently use rXXX register defines or rN defines.
15966 Use early exit labels that avoid restoring unused non-volatile regs.
15967 Make cr field use more consistent with rWORDn compares. Rename
15968 regs used as shift registers for unaligned loop, using rN defines
15969 for short lifetime/multiple use regs.
15970 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15971 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15972 addi 1,1,64 to pop stack frame. Simplify return value code.
15973 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15975 2013-10-04 Alan Modra <amodra@gmail.com>
15977 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15978 support. Correct typos, formatting. Optimize tail. Use insrdi
15979 rather than rlwimi.
15980 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15981 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15982 little-endian support. Correct typos.
15983 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15984 rather than rlwimi.
15985 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15986 in loop and entry code to keep "and." results.
15987 (strchr): Add little-endian support. Comment. Move cntlzd
15989 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15991 2013-10-04 Alan Modra <amodra@gmail.com>
15993 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15994 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15995 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15996 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15998 2013-10-04 Alan Modra <amodra@gmail.com>
16000 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16001 (rTMP): Define as r11.
16002 (strcmp): Add little-endian support. Optimise tail.
16003 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16004 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16005 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16006 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16007 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16011 2013-10-04 Alan Modra <amodra@gmail.com>
16013 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16014 little-endian support. Remove unnecessary "are we done" tests.
16015 Handle "s" wrapping around zero and extremely large "size".
16016 Correct main loop count. Handle single left-over word from main
16017 loop inline rather than by using small_loop. Correct comments.
16018 Delete "zero" tail, use "end_max" instead.
16019 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16021 2013-10-04 Alan Modra <amodra@gmail.com>
16023 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16024 support. Don't branch over align.
16025 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16027 support. Rearrange tmp reg use to suit. Comment.
16028 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16030 2013-10-04 Alan Modra <amodra@gmail.com>
16032 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16034 2013-10-04 Alan Modra <amodra@gmail.com>
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16037 conditional form of branch and link when obtaining pc.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16040 2013-10-04 Alan Modra <amodra@gmail.com>
16042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16047 2013-10-04 Alan Modra <amodra@gmail.com>
16049 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16050 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16051 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16052 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16053 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16054 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16055 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16056 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16057 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16058 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16060 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16061 Alistair Popple <alistair@ozlabs.au.ibm.com>
16062 Alan Modra <amodra@gmail.com>
16065 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16066 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16067 _dl_hwcap access for little-endian.
16068 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16069 destroy vmx regs when saving unaligned.
16070 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16071 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16072 destroy vmx regs when saving unaligned.
16074 2013-10-04 Alan Modra <amodra@gmail.com>
16076 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16077 Don't use a union to pack hi/low value.
16079 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16081 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16083 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16084 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16085 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16086 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16087 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16089 2013-10-04 Alan Modra <amodra@gmail.com>
16091 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16092 constants to usual value for .cst8 section, and remove redundant
16094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16095 constant for 0x1p52. Load little-endian words of double from
16096 correct stack offsets.
16098 2013-10-04 Alan Modra <amodra@gmail.com>
16100 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16101 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16102 words of double from correct stack offsets.
16103 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16104 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16105 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16106 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16107 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16110 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16111 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16114 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16115 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16116 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16117 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16118 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16119 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16121 2013-10-04 Alan Modra <amodra@gmail.com>
16123 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16124 64-bit int/double union.
16125 (_FPU_SETCW): Likewise.
16126 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16127 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16129 2013-10-04 Alan Modra <amodra@gmail.com>
16131 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16132 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16134 2013-10-04 Alan Modra <amodra@gmail.com>
16136 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16137 use vector int constants.
16138 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16140 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16142 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16143 array with long long.
16144 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16145 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16146 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16147 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16148 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16149 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16150 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16151 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16152 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16153 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16154 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16155 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16156 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16158 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
16160 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16161 (__signbit): Likewise. Correct for little-endian.
16162 (__signbitl): Call __signbit.
16163 (lrint): Correct for little-endian.
16164 (lrintf): Call lrint.
16166 2013-10-04 Alan Modra <amodra@gmail.com>
16168 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16169 union 32-bit int array member with 64-bit int array.
16170 (t515, tm256): Double rather than long double.
16171 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16173 2013-10-04 Alan Modra <amodra@gmail.com>
16175 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16177 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16179 version of math_ldbl.h.
16181 2013-10-04 Alan Modra <amodra@gmail.com>
16183 [BZ #15734], [BZ #15735]
16184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16185 all uses of ieee875 long double macros and unions. Simplify test
16186 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16187 ldbl_extract_mantissa value for ix,iy exponents. Properly
16188 normalize after ldbl_extract_mantissa, and don't add hidden bit
16189 already handled. Don't treat low word of ieee854 mantissa like
16190 low word of IBM long double and mask off bit when testing for
16192 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16193 all uses of ieee875 long double macros and unions. Simplify tests
16194 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16195 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16196 two1022, instead use their values. Recognise that tests for large
16197 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16198 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16199 Rewrite all uses of ieee875 long double macros and unions. Simplify
16200 test for 0.0L and nan. Correct negation.
16201 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16202 ieee875 long double macros and unions. Correct output for large
16203 magnitude x. Correct absolute value calculation.
16204 (__erfcl): Likewise.
16205 * math/libm-test.inc: Add tests for errors discovered in IBM long
16206 double versions of fmodl, remainderl, erfl and erfcl.
16208 2013-10-04 Alan Modra <amodra@gmail.com>
16210 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16211 all uses of ieee854 long double macros and unions. Simplify tests
16212 for long doubles that are fully specified by the high double.
16213 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16215 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16216 Remove dead code too.
16217 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16218 (__ieee754_ynl): Likewise.
16219 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16220 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16222 Remove dead code too.
16223 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16224 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16226 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16228 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16230 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16231 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16232 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16233 Comment on variable precision.
16234 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16235 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16237 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16240 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16241 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16243 2013-10-04 Alan Modra <amodra@gmail.com>
16245 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16247 all uses of ieee854 long double macros and unions.
16248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16250 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16251 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16252 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16253 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16256 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16257 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16258 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16259 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16260 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16261 Simplify sign and nan test too.
16262 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16263 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16264 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16265 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16267 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16268 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16270 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16271 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16272 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16274 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16277 2013-10-04 Alan Modra <amodra@gmail.com>
16279 * stdio-common/printf_size.c (__printf_size): Don't use
16280 union ieee854_long_double in fpnum union.
16281 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16282 signbit macro to retrieve sign from long double.
16283 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16284 retrieve sign from long double.
16285 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16286 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16287 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16288 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16289 * math/test-misc.c (main): Don't use union ieee854_long_double.
16291 2013-10-04 Alan Modra <amodra@gmail.com>
16294 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16295 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16296 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16297 calculation. Remove unnecessary test for denormal exponent.
16298 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16299 Correct handling of denormals. Avoid undefined shift behaviour.
16300 Correct normalisation of low mantissa when low double is denormal.
16301 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16302 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16303 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16304 Correct normalisation of low mantissa. Test for overflow of high
16305 mantissa and normalise.
16306 (ldbl_nearbyint): Use more readable constant for two52.
16307 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16308 (__mpn_construct_long_double): Fix test for overflow of high
16309 mantissa and correct normalisation. Avoid undefined shift.
16311 2013-10-04 Alan Modra <amodra@gmail.com>
16313 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16314 (union ibm_extended_long_double): Define as an array of ieee754_double.
16315 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16316 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16317 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16318 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16327 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16329 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16330 page size instead of calling getpagesize.
16332 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16333 (LOCFILE_ALIGN_MASK): Likewise.
16334 (LOCFILE_ALIGN_UP): Likewise.
16335 (LOCFILE_ALIGNED_P): Likewise.
16336 * locale/programs/ld-collate.c (collate_output): Use the new
16337 macros instead of __alignof__ (int32_t).
16338 * locale/weight.h (findidx): Likewise.
16340 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16343 * manual/string.texi: Fix strncat and wcsncat.
16345 2013-10-03 Brooks Moses <bmoses@google.com>
16348 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16349 * Makerules: ...here, and adjust associated comments.
16351 2013-10-02 Will Newton <will.newton@linaro.org>
16353 * malloc/Makefile: Add tst-pvalloc.
16354 * malloc/tst-pvalloc.c: New file.
16356 2013-10-02 Will Newton <will.newton@linaro.org>
16358 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16359 improve test coverage.
16361 2013-10-02 Will Newton <will.newton@linaro.org>
16363 * malloc/Makefile: Add tst-posix_memalign.
16364 * malloc/tst-posix_memalign.c: New file.
16366 2013-10-01 Eric Blake <eblake@redhat.com>
16368 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16369 Use __THROWNL rather than __THROW on static functions.
16371 2013-09-30 Petr Machata <pmachata@redhat.com>
16373 * elf/elf.h (R_AARCH64_ABS16): New macro.
16374 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16375 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16376 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16377 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16378 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16379 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16380 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16381 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16382 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16383 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16384 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16385 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16386 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16387 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16388 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16389 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16390 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16391 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16392 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16393 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16394 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16395 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16396 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16397 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16398 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16399 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16400 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16401 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16402 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16403 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16404 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16405 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16406 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16407 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16408 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16409 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16410 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16411 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16412 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16413 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16414 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16415 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16416 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16417 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16418 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16419 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16420 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16421 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16422 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16423 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16424 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16425 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16426 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16427 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16428 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16429 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16430 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16431 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16432 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16433 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16434 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16435 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16436 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16437 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16438 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16439 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16440 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16441 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16442 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16443 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16444 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16445 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16446 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16447 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16448 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16449 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16450 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16451 (R_AARCH64_TLSDESC_LDR): Likewise.
16452 (R_AARCH64_TLSDESC_ADD): Likewise.
16453 (R_AARCH64_TLSDESC_CALL): Likewise.
16455 2013-09-30 Andreas Schwab <schwab@suse.de>
16458 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16459 the nss database lookup.
16460 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16463 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16465 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16467 2013-09-28 P. J. McDermott <pj@pehjota.net>
16469 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16470 ${Bash-specific parameter/pattern/string} parameter expansion.
16471 * sysdeps/unix/make-syscalls.sh: Likewise.
16473 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16475 * sysdeps/sh/stackguard-macros.h: New file.
16477 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16481 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16482 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16483 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16484 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16486 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16488 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16489 Fix thread ID register.
16491 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16493 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16494 [POSIX || UNIX98]: Require rather than permitting all symbols from
16496 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16497 element of struct sched_param.
16498 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16499 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16500 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16501 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16504 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16506 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16507 argument calculation.
16509 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16511 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16513 [POSIX] (pthread_attr_t): Do not require type.
16514 [POSIX] (pthread_cond_t): Likewise.
16515 [POSIX] (pthread_condattr_t): Likewise.
16516 [POSIX] (pthread_key_t): Likewise.
16517 [POSIX] (pthread_mutex_t): Likewise.
16518 [POSIX] (pthread_mutexattr_t): Likewise.
16519 [POSIX] (pthread_once_t): Likewise.
16520 [POSIX] (pthread_t): Likewise.
16521 [POSIX-based standards] (pthread_atfork): Expect function.
16523 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16524 Richard Sandiford <richard@codesourcery.com>
16526 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16527 (swap_endianness_p): New extern variable.
16528 (set_big_endian): New inline function.
16529 (maybe_swap_uint32): Likewise.
16530 (maybe_swap_uint32_array): Likewise.
16531 (maybe_swap_uint32_obstack): Likewise.
16532 * locale/programs/locfile.c: Include <stdbool.h>.
16533 (swap_endianness_p): New variable.
16534 (add_locale_uint32): Call maybe_swap_uint32.
16535 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16536 (write_locale_data): Call maybe_swap_uint32_array.
16537 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16539 (obstack_int32_grow_fast): Likewise.
16540 (output_weightwc): Call maybe_swap_uint32_obstack.
16541 (collate_output): Likewise.
16542 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16543 (OPT_LITTLE_ENDIAN): Likewise.
16544 (options): Add --little-endian and --big-endian options.
16545 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16546 * locale/programs/locarchive.c: Include "locfile.h".
16550 (create_archive): Use the new macros to access fields of
16551 structures directly mapped from or written to locale archives.
16552 (oldlocrecentcmp): Likewise.
16553 (enlarge_archive): Likewise.
16554 (insert_name): Likewise.
16555 (add_alias): Likewise.
16556 (add_locale): Likewise.
16557 (delete_locales_from_archive): Likewise.
16558 (show_archive_content): Likewise.
16559 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16562 2013-09-24 Roland McGrath <roland@hack.frob.com>
16564 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16565 http://www.gnu.org/doc/freemanuals.texi.
16566 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16568 2013-09-24 Will Newton <will.newton@linaro.org>
16570 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16573 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16575 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16578 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16580 * manual/threads.texi (POSIX Threads): Fix a typo.
16582 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16585 * string/tst-strcoll-overflow.c: New test case.
16586 * string/Makefile (xtests): Add tst-strcoll-overflow.
16587 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16588 cache if string sizes may cause integer overflow.
16591 * string/strcoll_l.c (coll_seq): New members rule, idx,
16592 save_idx and back_us.
16593 (get_next_seq_nocache): New function.
16594 (do_compare_nocache): New function.
16595 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16598 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16601 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16602 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16603 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16606 * elf/Makefile (tests): Add tst-ptrguard1.
16607 (tests-static): Add tst-ptrguard1-static.
16608 (tst-ptrguard1-ARGS): Define.
16609 (tst-ptrguard1-static-ARGS): Define.
16610 * elf/tst-ptrguard1.c: New file.
16611 * elf/tst-ptrguard1-static.c: New file.
16612 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16613 * sysdeps/i386/stackguard-macros.h: Likewise.
16614 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16615 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16616 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16617 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16618 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16619 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16621 2013-09-23 Hector Marco <hecmargi@upv.es>
16622 Ismael Ripoll <iripoll@disca.upv.es>
16623 Carlos O'Donell <carlos@redhat.com>
16626 * sysdeps/generic/stackguard-macros.h: Define
16627 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16628 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16629 Define __pointer_chk_guard_local.
16630 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16631 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16633 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16636 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16638 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16640 * include/string.h (__ffs): Declare as hidden.
16641 * string/ffs.c (__ffs): Define as hidden.
16642 * sysdeps/i386/ffs.c (__ffs): Likewise.
16643 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16644 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16645 * sysdeps/s390/ffs.c (__ffs): Likewise.
16646 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16648 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16650 * NEWS: Mention malloc probes.
16652 * malloc/arena.c (new_heap): New memory_heap_new probe.
16653 (grow_heap): New memory_heap_more probe.
16654 (shrink_heap): New memory_heap_less probe.
16655 (heap_trim): New memory_heap_free probe.
16656 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16657 (systrim): New memory_sbrk_less probe.
16658 * manual/probes.texi: Document them.
16660 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16661 * manual/probes.texi: Document it.
16663 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16664 (__libc_realloc): Add memory_realloc_retry probe.
16665 (__libc_memalign): Add memory_memalign_retry probe.
16666 (__libc_valloc): Add memory_valloc_retry probe.
16667 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16668 (__libc_calloc): Add memory_calloc_retry probe.
16669 * manual/probes.texi: Document them.
16671 * malloc/arena.c (get_free_list): Add probe
16672 memory_arena_reuse_free_list.
16673 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16674 and memory_arena_reuse.
16675 (arena_get2) [!PER_THREAD]: Likewise.
16676 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16677 memory_arena_reuse_realloc.
16678 * manual/probes.texi: Document them.
16680 * malloc/malloc.c (__libc_free): Add
16681 memory_mallopt_free_dyn_thresholds probe.
16682 (__libc_mallopt): Add multiple memory_mallopt probes.
16683 * manual/probes.texi: Document them.
16685 * malloc/malloc.c: Include stap-probe.h.
16686 (__libc_mallopt): Add memory_mallopt probe.
16687 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16688 * manual/probes.texi: New.
16689 * manual/Makefile (chapters): Add probes.
16690 * manual/threads.texi: Set next node.
16692 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16694 [BZ #15963, #13985]
16695 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16696 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16697 Add `Chinese' to `nan' entry name.
16699 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16701 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16702 (POLYNOMIAL): Likewise.
16703 (TAYLOR_SINCOS): Likewise.
16704 (TAYLOR_SLOW): Likewise.
16705 (__sin): Use TAYLOR_SINCOS.
16707 (slow): Use TAYLOR_SLOW.
16709 (bsloww): Likewise.
16710 (csloww): Likewise.
16712 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16714 * stdlib/strtod_l.c: Fix buffer overrun.
16716 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16718 * benchtests/Makefile (bench): Add sincos.
16719 * benchtests/bench-sincos.c: New file.
16721 * math/libm-test.inc (cos_test_data): New test inputs.
16722 (sin_test_data): Likewise.
16724 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16730 (sloww1): Likewise.
16731 (sloww2): Likewise.
16732 (bsloww1): Likewise.
16733 (bsloww2): Likewise.
16734 (cslow2): Likewise.
16735 (csloww1): Likewise.
16736 (csloww2): Likewise.
16738 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16747 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16749 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16750 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16751 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16752 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16753 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16754 * elf/cache.c (print_entry): Handle the new cache flags.
16756 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16757 Aldy Hernandez <aldyh@redhat.com>
16759 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16760 Change condition to [_SOFT_FLOAT].
16761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16773 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16776 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16779 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16781 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16782 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16783 (__longjmp): Use LOAD_GP to load saved GPRs.
16784 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16785 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16786 (__sigsetjmp): Use SAVE_GP to save GPRs.
16788 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16789 Do not append -msoft-float.
16790 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16792 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16794 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16796 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16799 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16800 (_FPU_GETCW): Use initial "__" on variable and field names but not
16801 on macro parameter name.
16802 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16803 parentheses around reference to macro parameter.
16805 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16807 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16809 (ctype_startup): Use uint32_t in cast and sizeof for
16812 2013-09-11 Jia Liu <proljc@gmail.com>
16814 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16816 [__FreeBSD__]: Likewise.
16818 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16821 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16822 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16823 (strchr): Remove __strchr_sse42 ifunc selection.
16824 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16825 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16827 2013-09-11 Will Newton <will.newton@linaro.org>
16829 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16830 parameter to RES. Remove hardcoded 1000 value.
16831 * benchtests/bench-skeleton.c (main): Pass RES parameter
16832 to TIMING_INIT and multiply result by 1000.
16834 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16838 2013-09-11 Andreas Schwab <schwab@suse.de>
16840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16842 (O_TMPFILE) [__USE_GNU]: Define.
16843 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16846 2013-09-11 Will Newton <will.newton@linaro.org>
16849 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16852 2013-09-11 Will Newton <will.newton@linaro.org>
16855 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16858 2013-09-11 Will Newton <will.newton@linaro.org>
16861 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16864 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16866 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16867 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16868 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16869 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16870 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16872 2013-09-10 Allan McRae <allan@archlinux.org>
16875 * manual/arith.texi (Parsing of Floats): Clarify
16879 * manual/install.texi (Running make install): Mention
16881 * INSTALL: Regenerated.
16883 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16885 * csu/init-first.c (_init): Remove the !SHARED condition around
16886 FPU control word initialization.
16887 * elf/dl-support.c (_dl_fpu_control): New variable.
16888 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16889 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16890 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16891 * math/test-fpucw-static.c: New file.
16892 * math/test-fpucw-ieee.c: New file.
16893 * math/test-fpucw-ieee-static.c: New file.
16894 * math/Makefile (tests): Add `test-fpucw-ieee' and
16896 (tests-static): New variable.
16897 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16899 [($(build-shared),yes)]
16900 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16902 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16905 2013-09-09 Allan McRae <allan@archlinux.org>
16908 * manual/string.texi (Collation Functions): Fix typo in
16910 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16913 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16916 * libio/memstream.c (open_memstream): Fix memory leak.
16917 * libio/wmemstream.c (open_wmemstream): Likewise.
16920 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16922 2013-09-09 Will Newton <will.newton@linaro.org>
16924 * malloc/Makefile: Add tst-realloc to tests.
16925 * malloc/tst-realloc.c: New file.
16927 2013-09-09 Allan McRae <allan@archlinux.org>
16930 * COPYING: Update from GNU website to fix FSF address.
16931 * COPYING.LIB: Likewise.
16933 2013-09-06 David S. Miller <davem@davemloft.net>
16935 * po/zh_TW.po: Update Chinese (traditional) translation from
16936 translation project.
16938 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16939 Joseph Myers <joseph@codesourcery.com>
16941 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16943 (obstack_chunk_alloc): New macro.
16944 (obstack_chunk_free): Likewise.
16945 (record_offset): New function.
16946 (init_locale_data): Likewise.
16947 (align_locale_data): Likewise.
16948 (add_locale_empty): Likewise.
16949 (add_locale_raw_data): Likewise.
16950 (add_locale_raw_obstack): Likewise.
16951 (add_locale_string): Likewise.
16952 (add_locale_wstring): Likewise.
16953 (add_locale_uint32): Likewise.
16954 (add_locale_uint32_array): Likewise.
16955 (add_locale_char): Likewise.
16956 (start_locale_structure): Likewise.
16957 (end_locale_structure): Likewise.
16958 (start_locale_prelude): Likewise.
16959 (end_locale_prelude): Likewise.
16960 (write_locale_data): Take locale_file structure rather than an
16962 * locale/programs/locfile.h: Include "obstack.h".
16963 (struct locale_file): Change to store locale file contents instead
16965 (init_locale_data): New prototype.
16966 (align_locale_data): Likewise.
16967 (add_locale_empty): Likewise.
16968 (add_locale_raw_data): Likewise.
16969 (add_locale_raw_obstack): Likewise.
16970 (add_locale_string): Likewise.
16971 (add_locale_wstring): Likewise.
16972 (add_locale_uint32): Likewise.
16973 (add_locale_uint32_array): Likewise.
16974 (add_locale_char): Likewise.
16975 (start_locale_structure): Likewise.
16976 (end_locale_structure): Likewise.
16977 (start_locale_prelude): Likewise.
16978 (end_locale_prelude): Likewise.
16979 (write_locale_data): Update prototype.
16980 * locale/programs/3level.h (struct TABLE): Remove result field.
16981 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16982 Use new locale_file interface.
16983 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16984 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16985 * locale/programs/ld-address.c (address_output): Use new
16986 locale_file interface.
16987 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16989 (collate_finish): Don't call collseq_table_finalize.
16990 (collate_output): Use new locale_file interface.
16991 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16993 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16994 (TABLE): Move defines earlier in file.
16995 (ELEMENT): Likewise.
16996 (DEFAULT): Likewise.
16997 (wctrans_table_add): Move macro and inline function earlier in
16999 (struct wctype_table): Move type earlier in file.
17000 (add_locale_wctype_table): New static prototype.
17001 (struct locale_ctype_t): Use logical types instead of struct iovec
17002 pointers for members.
17003 (ctype_output): Use new locale_file interface.
17004 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17005 new locale_file interface.
17006 (allocate_arrays): Update for use of new locale_file interface.
17007 * locale/programs/ld-identification.c (identification_output): Use
17008 new locale_file interface.
17009 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17010 * locale/programs/ld-messages.c (messages_output): Likewise.
17011 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17012 * locale/programs/ld-name.c (name_output): Likewise.
17013 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17014 * locale/programs/ld-paper.c (paper_output): Likewise.
17015 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17016 * locale/programs/ld-time.c (time_output): Likewise.
17018 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17020 * benchtests/Makefile: Add memrchr benchmark.
17021 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17022 benchmark as memrchr.
17023 * benchtests/bench-memrchr-ifunc.c: New file.
17024 * benchtests/bench-memrchr.c: New file.
17026 2013-09-06 Will Newton <will.newton@linaro.org>
17028 * benchtests/Makefile (string-bench): Add memcpy.
17030 2013-09-05 Carlos O'Donell <carlos@redhat.com>
17031 Cong Wang <amwang@redhat.com>
17034 * sysdeps/unix/sysv/linux/bits/in.h
17035 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17036 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17037 before __USE_KERNEL_IPV6_DEFS uses.
17038 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17040 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17041 sockaddr_in6, or ipv6_mreq.
17043 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17045 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17046 memory access for final bytes in some large inputs.
17047 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17049 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17051 * string/test-memrchr.c: New file.
17052 * string/test-memrchr-ifunc.c: New file.
17053 * string/Makefile: Add new memrchr testcase.
17055 2013-09-05 Mike Frysinger <vapier@gentoo.org>
17057 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17058 fanotify_init returns EPERM.
17060 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17062 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17064 (top level): Treat second token from macro or constant entries for
17065 allowed headers as allowed.
17066 * include/complex.h: Condition internal declarations on
17068 * include/fenv.h: Condition include of <stdbool.h> and internal
17069 declarations on [!_ISOMAC].
17071 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17074 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17076 2013-09-04 Joseph Myers <joseph@codesourcery.com>
17078 * configure.in (--enable-versioning): Remove configure option.
17079 (libc_cv_asm_symver_directive): Remove configure test.
17080 (libc_cv_ld_version_script_option): Likewise.
17081 (VERSIONING): Remove variable and AC_SUBST.
17082 (DO_VERSIONING): Remove AC_DEFINE.
17083 * configure: Regenerated.
17084 * config.h.in (DO_VERSIONING): Remove macro.
17085 * Makerules [$(versioning) = yes]: Change conditionals to
17086 [$(build-shared) = yes].
17087 * config.make.in (versioning): Remove variable.
17088 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17089 [$(build-shared) = yes].
17090 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17091 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17092 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17093 [$(build-shared) = yes].
17094 * extra-lib.mk [$(versioning) = yes]: Likewise.
17095 * hurd/Makefile [$(versioning) = yes]: Likewise.
17096 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17098 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17100 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17101 [SHARED && !NO_HIDDEN].
17102 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17104 [SHARED && DO_VERSIONING]: Likewise..
17105 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17106 [$(build-shared) = yes].
17107 * manual/install.texi (--disable-versioning): Remove
17109 * INSTALL: Regenerated.
17110 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17112 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17113 [$(build-shared) = yes].
17114 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17115 * sysdeps/i386/i686/multiarch/strstr-c.c
17116 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17117 [SHARED && !NO_HIDDEN].
17118 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17119 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17120 * sysdeps/powerpc/powerpc32/dl-machine.c
17121 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17122 * sysdeps/powerpc/powerpc32/sysdep.h
17123 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17124 to [SHARED && PIC && !NO_HIDDEN].
17125 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17126 conditional to [SHARED].
17128 2013-09-04 Will Newton <will.newton@linaro.org>
17130 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17131 * benchtests/bench-string.h: Include bench-timing.h instead
17132 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17133 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17134 call to HP_TIMING_DIFF_INIT.
17135 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17136 instead of hp-timing.h macros.
17137 * benchtests/bench-memchr.c: Likewise.
17138 * benchtests/bench-memcmp.c: Likewise.
17139 * benchtests/bench-memcpy.c: Likewise.
17140 * benchtests/bench-memmem.c: Likewise.
17141 * benchtests/bench-memmove.c: Likewise.
17142 * benchtests/bench-memset.c: Likewise.
17143 * benchtests/bench-rawmemchr.c: Likewise.
17144 * benchtests/bench-strcasecmp.c: Likewise.
17145 * benchtests/bench-strcasestr.c: Likewise.
17146 * benchtests/bench-strcat.c: Likewise.
17147 * benchtests/bench-strchr.c: Likewise.
17148 * benchtests/bench-strcmp.c: Likewise.
17149 * benchtests/bench-strcpy.c: Likewise.
17150 * benchtests/bench-strcpy_chk.c: Likewise.
17151 * benchtests/bench-strlen.c: Likewise.
17152 * benchtests/bench-strncasecmp.c: Likewise.
17153 * benchtests/bench-strncat.c: Likewise.
17154 * benchtests/bench-strncmp.c: Likewise.
17155 * benchtests/bench-strncpy.c: Likewise.
17156 * benchtests/bench-strnlen.c: Likewise.
17157 * benchtests/bench-strpbrk.c: Likewise.
17158 * benchtests/bench-strrchr.c: Likewise.
17159 * benchtests/bench-strspn.c: Likewise.
17160 * benchtests/bench-strstr.c: Likewise.
17162 2013-09-04 Will Newton <will.newton@linaro.org>
17164 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17166 2013-09-03 Joseph Myers <joseph@codesourcery.com>
17169 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17170 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17171 * math/libm-test.inc (lgamma_test_data): Add more tests.
17172 * sysdeps/i386/fpu/libm-test-ulps: Update.
17173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17175 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
17177 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17181 Add strcmp-sse2-unaligned
17182 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17184 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17186 * Versions.def (libc): Add GLIBC_2.19.
17188 2013-09-02 Mike Frysinger <vapier@gentoo.org>
17190 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17191 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17193 2013-09-02 Joseph Myers <joseph@codesourcery.com>
17196 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17197 intermediate calculations in recurrence.
17198 (__ieee754_ynf): Likewise.
17199 * math/libm-test.inc (jn_test_data): Do not allow spurious
17200 underflow exception. Add more tests.
17201 (yn_test_data): Add more tests.
17202 * sysdeps/i386/fpu/libm-test-ulps: Update.
17203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17205 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
17207 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17209 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17211 * csu/init-first.c: Fix then/than typos.
17212 * locale/programs/ld-collate.c: Likewise.
17213 * locale/programs/linereader.h: Likewise.
17214 * manual/charset.texi: Likewise.
17215 * manual/filesys.texi: Likewise.
17216 * manual/stdio.texi: Likewise.
17217 * manual/string.texi: Likewise.
17218 * stdlib/fmtmsg.c: Likewise.
17219 * sysdeps/i386/stpncpy.S: Likewise.
17220 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17221 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17222 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17223 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17225 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17227 * elf/dl-open.c: Fix typos.
17228 * iconvdata/gbbig5.c: Likewise.
17229 * iconvdata/iso-2022-jp.c: Likewise.
17230 * iconv/gconv_int.h: Likewise.
17231 * iconv/loop.c: Likewise.
17232 * nis/rpcsvc/nis.h: Likewise.
17233 * resolv/ns_name.c: Likewise.
17234 * stdio-common/vfscanf.c: Likewise.
17235 * streams/stropts.h: Likewise.
17236 * sunrpc/rpc_thread.c: Likewise.
17237 * sysdeps/i386/strpbrk.S: Likewise.
17238 * sysdeps/ieee754/k_standard.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17241 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17242 * sysdeps/mach/hurd/profil.c: Likewise.
17243 * sysdeps/s390/dl-procinfo.h: Likewise.
17244 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17245 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17246 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17247 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17248 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17250 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
17252 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17255 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17257 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17258 aix specific files.
17259 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17260 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17261 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17262 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17263 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17264 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17265 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17266 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17268 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17269 Roland McGrath <roland@hack.frob.com>
17271 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17272 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17274 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17276 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17277 __executable_start symbol instead of _start.
17279 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17281 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17282 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17284 * sysdeps/gnu/ldsodefs.h: ... this new file.
17286 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17287 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17288 instead of ELFOSABI_LINUX.
17290 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17291 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17292 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17293 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17295 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17296 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17297 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17299 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17300 (ibm_extended_long_double): Add ieee_nan member.
17301 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17302 (do_test): New function.
17304 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17306 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17307 functions, renamed from truncdfsf_test, trunctfsf_test,
17309 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17311 (do_test): Run all these.
17313 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17315 * argp/argp-help.c: Fix typos.
17316 * argp/argp-parse.c: Likewise.
17317 * debug/backtracesyms.c: Likewise.
17318 * elf/elf.h: Likewise.
17319 * malloc/malloc.c: Likewise.
17320 * nis/nis_print.c: Likewise.
17321 * resolv/res_comp.c: Likewise.
17322 * stdlib/stdlib.h: Likewise.
17323 * sunrpc/clnt_tcp.c: Likewise.
17324 * sunrpc/clnt_udp.c: Likewise.
17325 * sunrpc/clnt_unix.c: Likewise.
17326 * sysdeps/unix/bsd/ptsname.c: Likewise.
17327 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17328 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17335 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17337 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17339 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17342 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17345 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17346 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17347 ($(objpfx)bug-dl-leaf): New rule.
17348 ($(objpfx)bug-dl-leaf.so): Likewise.
17349 ($(objpfx)bug-dl-leaf.out): Likewise.
17350 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17351 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17352 * dlfcn/bug-dl-leaf.c: New test.
17353 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17354 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17355 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17356 (dlclose): Likewise.
17357 (dlmopen): Likewise.
17359 2013-08-27 Roland McGrath <roland@hack.frob.com>
17361 * include/netdb.h [!_ISOMAC]:
17362 Don't include <tls.h>.
17363 (h_errno, __libc_h_errno): Move declaration and macros out of
17366 * include/resolv.h [_RESOLV_H_]:
17367 Don't include <tls.h>.
17368 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17369 * resolv/res_libc.c: Don't include <tls.h>.
17370 (_res): Use __attribute__ ((nocommon)) in place of
17371 __attribute__ ((section (".bss"))).
17373 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17374 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17376 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17378 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17379 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17381 * resolv/res_mkquery.c: Include <sys/time.h>.
17383 * inet/ifreq.c: Moved to ...
17384 * sysdeps/unix/ifreq.c: ... here.
17385 * inet/ifreq.c: New file, true stub version.
17387 * socket/sa_len.c: New file.
17388 * socket/Makefile (aux): Add it.
17389 * sysdeps/unix/sysv/linux/Makefile
17390 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17391 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17392 and #include <socket/sa_len.c>.
17393 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17394 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17396 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17397 * bits/socket.h: ... here.
17399 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17400 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17401 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17403 2013-08-27 Andreas Schwab <schwab@suse.de>
17406 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17407 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17408 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17409 * string/test-strcasecmp.c (test_main): Run tests in several
17411 * string/test-strncasecmp.c (test_main): Likewise.
17413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17414 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17415 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17417 (__strncasecmp_ssse3) [PIC]: Likewise.
17419 2013-08-26 Roland McGrath <roland@hack.frob.com>
17421 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17423 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17424 instead of explicitly declaring xdecrypt.
17425 * nis/nss_nis/nis-publickey.c: Likewise.
17427 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17430 * nscd/aicache.c: Include res_hconf.h.
17431 (addhstaiX): Initialize res_hconf.
17433 2013-08-26 Andreas Schwab <schwab@suse.de>
17435 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17436 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17438 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17440 * nscd/aicache.c (addhstaiX): Fix indentation.
17442 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17444 * configure.ac: Quote $build_pt_chown test.
17445 * configure: Regenerated.
17447 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17450 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17451 * math/s_cexpf.c (__cexpf): Likewise.
17452 * math/s_cexpl.c (__cexpl): Likewise.
17453 * math/libm-test.inc (cexp_test_data): Correct expected return
17454 value for NaN + i0. Add another test.
17456 2013-08-22 David S. Miller <davem@davemloft.net>
17458 * po/ca.po: Update Catalan translation from translation project.
17459 * po/uk.po: Add Ukrainian translations from translation project.
17461 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17464 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17465 is infinite, not alongside NaN test.
17466 * math/s_fdimf.c (__fdimf): Likewise.
17467 * math/s_fdiml.c (__fdiml): Likewise.
17468 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17469 errno is unchanged.
17471 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17473 * argp/argp-help.c: Fix typos.
17474 * crypt/speeds.c: Likewise.
17475 * csu/check_fds.c: Likewise.
17476 * elf/dl-load.c: Likewise.
17477 * elf/dl-open.c: Likewise.
17478 * elf/reldep3.c: Likewise.
17479 * elf/reldep.c: Likewise.
17480 * elf/sprof.c: Likewise.
17481 * iconv/iconv_charmap.c: Likewise.
17482 * iconv/skeleton.c: Likewise.
17483 * iconv/strtab.c: Likewise.
17484 * io/lockf64.c: Likewise.
17485 * libio/libioP.h: Likewise.
17486 * resolv/gai_notify.c: Likewise.
17487 * resolv/ns_name.c: Likewise.
17488 * resolv/ns_samedomain.c: Likewise.
17489 * resolv/res_send.c: Likewise.
17490 * stdlib/random.c: Likewise.
17491 * sunrpc/rpc/xdr.h: Likewise.
17492 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17493 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17494 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17495 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17496 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17497 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17499 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17500 * sysdeps/mach/hurd/check_fds.c: Likewise.
17501 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17502 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17503 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17504 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17505 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17506 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17507 * sysdeps/pthread/aio_notify.c: Likewise.
17508 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17509 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17510 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17511 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17512 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17514 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17516 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17517 version if bit_Slow_SSE4_2 is set.
17518 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17519 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17521 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17524 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17525 trampoline stack frame information.
17526 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17527 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17528 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17529 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17530 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17531 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17532 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17533 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17535 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17536 interrupting a syscall and set with option SA_SIGINFO.
17538 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17541 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17542 argument is infinite.
17543 * math/s_cprojf.c (__cprojf): Likewise.
17544 * math/s_cprojl.c (__cprojl): Likewise.
17545 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17546 * math/libm-test.inc (cproj_test_data): Add more tests.
17548 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17550 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17551 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17552 size. Use __ffs to determine corresponding shift.
17554 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17555 Roland McGrath <roland@hack.frob.com>
17557 * Makefile (INSTALL): Remove trailing blank lines from output of
17560 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17562 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17563 Align 32 bit compat elf_greg to 8 bytes.
17565 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17567 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17569 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17571 * string/strcoll_l.c (coll_seq): New structure.
17572 (get_next_seq_cached): New function.
17573 (get_next_seq): New function.
17574 (do_compare): New function.
17575 (STRCOLL): Use GNU style definition. Simplify implementation
17576 by using get_next_seq, get_next_seq_cached and do_compare.
17578 2013-08-16 Florian Weimer <fweimer@redhat.com>
17582 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17584 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17586 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17587 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17588 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17590 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17591 GETDENTS_64BIT_ALIGNED.
17592 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17593 * manual/filesys.texi (Reading/Closing Directory): Document
17594 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17596 * manual/conf.texi (Limits for Files): Add portability note to
17597 NAME_MAX, PATH_MAX.
17598 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17600 2013-08-13 Andreas Schwab <schwab@suse.de>
17603 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17605 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17606 LDBL_MAX_EXP >= 16384]: Add tests for it.
17608 2013-08-12 David S. Miller <davem@davemloft.net>
17610 * version.h (RELEASE): Set to "development".
17611 (VERSION): Set to "2.18.90".
17612 * NEWS: Add 2.19 section.
17614 2013-08-03 David S. Miller <davem@davemloft.net>
17616 * po/ko.po: Update Korean translation from translation project.
17618 2013-08-01 David S. Miller <davem@davemloft.net>
17620 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17621 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17624 2013-07-30 David S. Miller <davem@davemloft.net>
17626 * po/fr.po: Update French translation from translation project.
17628 2013-07-28 David S. Miller <davem@davemloft.net>
17630 * po/cs.po: Update Czech translation from translation project.
17632 * po/sv.po: Update Swedish translation from translation project.
17634 2013-07-27 David S. Miller <davem@davemloft.net>
17636 * po/eo.po: Update Esperanto translation from translation project.
17638 * po/vi.po: Update Vietnamese translation from translation project.
17640 * po/de.po: Update German translation from translation project.
17642 2013-07-26 David S. Miller <davem@davemloft.net>
17644 * po/bg.po: Update Bulgarian translation from translation project.
17646 * po/nl.po: Update Dutch translation from translation project.
17647 * po/pl.po: Update Polish translation from translation project.
17648 * po/ru.po: Update Russian translation from translation project.
17650 2013-07-24 David S. Miller <davem@davemloft.net>
17652 * po/libc.pot: Update.
17654 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17656 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17657 variable page size.
17658 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17660 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17662 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17664 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17666 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17667 Andreas Schwab <schwab@suse.de>
17668 Roland McGrath <roland@hack.frob.com>
17669 Joseph Myers <joseph@codesourcery.com>
17670 Carlos O'Donell <carlos@redhat.com>
17673 * config.h.in: Define HAVE_PT_CHOWN.
17674 * config.make.in (build-pt-chown): New variable.
17675 * configure.in (--enable-pt_chown): New configure option.
17676 * configure: Regenerate.
17677 * login/Makefile: Include Makeconfig. Build pt_chown only if
17678 build-pt-chown is enabled.
17679 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17680 pt_chown to fix pty ownership.
17681 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17683 * manual/install.texi (Configuring and compiling): Mention
17684 --enable-pt_chown. Add @findex for grantpt.
17685 * INSTALL: Regenerate.
17687 2013-07-20 David S. Miller <davem@davemloft.net>
17689 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17690 difference between 32-bit and 64-bit.
17692 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17695 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17696 Avoid system header dependency with -ffreestanding.
17697 ($(objpfx)bits/syscall%d): Likewise.
17699 2013-07-13 David S. Miller <davem@davemloft.net>
17701 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17702 underflows from atanl/atan2l due to bug 15319.
17703 (casinh_test_data): Likewise.
17705 2013-07-07 David S. Miller <davem@davemloft.net>
17707 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17709 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17711 * sysdeps/i386/fpu/libm-test-ulps: Update.
17712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17714 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17716 * configure.in (--enable-lock-elision): Fix message text.
17717 * INSTALL: Regenerate.
17718 * configure: Regenerate.
17720 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17724 2013-07-03 Andreas Jaeger <aj@suse.de>
17726 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17728 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17729 (ptrace_peeksiginfo_args): Add.
17730 (__ptrace_peeksiginfo_flags): Add.
17731 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17733 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17735 2013-07-03 Allan McRae <allan@archlinux.org>
17737 * sysdeps/i386/fpu/libm-test-ulps: Update.
17739 2013-07-02 David S. Miller <davem@davemloft.net>
17741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17743 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17747 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17749 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17752 2013-07-02 Andi Kleen <ak@linux.intel.com>
17754 * config.h.in (ENABLE_LOCK_ELISION): Add.
17755 * configure.in (--enable-lock-elision): Add option.
17756 * manual/install.texi: Document --enable lock elision.
17757 * configure: Regenerate
17758 * INSTALL: Regenerate.
17760 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17762 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17763 SSE4.2 strcasecmp for libc.a.
17764 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17766 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17769 * soft-fp/op-common.h (_FP_FMA): New macro.
17770 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17771 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17772 (_FP_MUL_MEAT_1_imm): ... here.
17773 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17774 (_FP_MUL_MEAT_1_wide): ... here.
17775 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17776 (_FP_MUL_MEAT_1_hard): ... here.
17777 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17778 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17779 (_FP_MUL_MEAT_2_wide): ... here.
17780 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17781 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17782 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17783 (_FP_MUL_MEAT_2_gmp): ... here.
17784 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17785 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17786 (_FP_MUL_MEAT_4_wide): ... here.
17787 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17788 (_FP_MUL_MEAT_4_gmp): ... here.
17789 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17790 (_FP_WFRACBITS_DW_S): Likewise.
17791 (_FP_WFRACXBITS_DW_S): Likewise.
17792 (_FP_HIGHBIT_DW_S): Likewise.
17793 (FP_FMA_S): Likewise.
17794 (_FP_FRAC_HIGH_DW_S): Likewise.
17795 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17796 (_FP_WFRACBITS_DW_D): Likewise.
17797 (_FP_WFRACXBITS_DW_D): Likewise.
17798 (_FP_HIGHBIT_DW_D): Likewise.
17799 (FP_FMA_D): Likewise.
17800 (_FP_FRAC_HIGH_DW_D): Likewise.
17801 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17802 (_FP_WFRACBITS_DW_E): Likewise.
17803 (_FP_WFRACXBITS_DW_E): Likewise.
17804 (_FP_HIGHBIT_DW_E): Likewise.
17805 (FP_FMA_E): Likewise.
17806 (_FP_FRAC_HIGH_DW_E): Likewise.
17807 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17808 (_FP_WFRACBITS_DW_Q): Likewise.
17809 (_FP_WFRACXBITS_DW_Q): Likewise.
17810 (_FP_HIGHBIT_DW_Q): Likewise.
17811 (FP_FMA_Q): Likewise.
17812 (_FP_FRAC_HIGH_DW_Q): Likewise.
17813 * soft-fp/fmasf4.c: New file.
17814 * soft-fp/fmadf4.c: Likewise.
17815 * soft-fp/fmatf4.c: Likewise.
17817 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17820 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17822 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17824 (index_Slow_SSE4_2): Likewise.
17825 (index_Prefer_PMINUB_for_stringop): Likewise.
17826 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17827 bit_Slow_SSE4_2 is set.
17828 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17829 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17831 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17833 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17834 rtld_global._dl_hwcap2.
17835 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17837 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17838 POWER8 feature descriptions defined in _dl_hwcap2.
17839 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17840 string handling for POWER8 feature bits.
17841 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17842 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17843 _dl_powerpc_cap_flags.
17844 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17845 * sysdeps/powerpc/rtld-global-offsets.sym
17846 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17847 _dl_hwcap2 in the rtld_global_ro structure.
17849 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17851 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17852 hardware capabilities in support of AT_HWCAP2.
17853 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17854 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17856 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17857 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17858 explicitly the unknown a_type display mechanism is used.
17859 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17860 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17862 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17863 to macro prototype for AT_HWCAP2 support.
17864 * sysdeps/i386/dl-procinfo.h: Likewise.
17865 * sysdeps/s390/dl-procinfo.h: Likewise.
17866 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17867 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17868 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17869 return -1 for unknown a_type display fallback.
17870 * sysdeps/sparc/dl-procinfo.h: Likewise.
17871 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17874 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17876 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17877 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17879 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17882 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17883 mprotect making __stack_prot writable.
17885 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17886 Joseph Myers <joseph@codesourcery.com>
17888 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17889 as being properly aligned.
17891 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17893 * dlfcn/modstatic5.c: New file.
17894 * dlfcn/tststatic5.c: New file.
17895 * dlfcn/Makefile (tests): Add tststatic5.
17896 (tests-static): Likewise.
17897 (modules-names): Add modstatic5.
17898 (tststatic5-ENV): New variable.
17899 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17902 * elf/dl-support.c (_dl_main_map): New variable.
17903 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17904 (_dl_nns, _dl_load_adds): Set to 1.
17905 (_dl_initial_searchlist): Refer to _dl_main_map.
17906 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17907 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17908 call to _dl_get_origin.
17909 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17911 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17912 * dlfcn/modstatic3.c: New file.
17913 * dlfcn/tststatic3.c: New file.
17914 * dlfcn/tststatic4.c: New file.
17915 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17916 (tests-static): Likewise.
17917 (modules-names): Add modstatic3.
17918 (tststatic3-ENV, tststatic4-ENV): New variables.
17919 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17920 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17922 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17924 * configure.in (CC): Require GCC version 4.4 or later.
17925 * configure: Regenerated.
17926 * manual/install.texi (Tools for Compilation): Update GCC version
17928 * INSTALL: Regenerated.
17930 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17933 * string/test-memcmp.c (check2): New.
17934 (main): Call check2.
17936 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17938 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17941 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17943 (dl_open_worker) [!SHARED]: ... here.
17945 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17947 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17949 2013-06-25 Richard Henderson <rth@redhat.com>
17951 * locale/programs/locarchive.c: Include <libc-internal.h>
17953 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17955 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17956 trailing whitespace removed.
17958 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17961 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17962 * locale/programs/locarchive.c: Include libc-mmap.h.
17963 (prepare_address_space): Take two new outputs (the mmap base and len).
17964 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17966 (create_archive): Declare new mmap base and len values for
17967 prepare_address_space, and store the result in ah.
17968 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17969 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17970 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17971 Declare new mmap base and len values for
17972 prepare_address_space, and store the result in new_ah.
17973 (open_archive): Declare new mmap base and len values for
17974 prepare_address_space, and store the result in ah.
17975 (close_archive): If ah->mmap_base is not NULL, use that and
17976 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17977 * sysdeps/generic/libc-mmap.h: New file.
17979 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17981 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17982 (ALIGN_UP): Likewise.
17983 (PTR_ALIGN_DOWN): Likewise.
17984 (PTR_ALIGN_UP): Likewise.
17986 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17988 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17989 entry mapped to PPC_PLATFORM_POWER8.
17990 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17992 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17993 (_dl_string_platform): Add case for exporting platform position for
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17996 search path to sysdeps/powerpc/powerpc32/power8 directory.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17998 search path to sysdeps/powerpc/powerpc64/power8 directory.
17999 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18000 power7 directories.
18001 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18002 power7 directories.
18004 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18006 * INSTALL: Regenerate.
18008 * nscd/connections.c (nscd_init): Fix comment.
18010 2013-06-22 Joseph Myers <joseph@codesourcery.com>
18012 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18015 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18016 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18018 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18020 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18022 (DL_DST_REQ_STATIC): Remove macro.
18024 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18027 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18028 with a shift of 0 bits.
18030 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18032 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18035 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18038 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18040 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18042 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18043 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18044 accepts -fno-tree-loop-distribute-patterns.
18045 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18046 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18048 * string/memset.c (memset): Likewise.
18049 * string/test-memmove.c (simple_memmove): Disable loop transformation
18051 * string/test-memset.c (simple_memset): Likewise.
18052 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18053 * benchtests/bench-memset.c (simple_memset): Likewise.
18054 * configure: Regenerated.
18056 2013-06-20 Joseph Myers <joseph@codesourcery.com>
18058 * math/test-misc.c (main): Ignore fesetround failure when failures
18059 of subsequent rounding tests would be ignored.
18062 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18063 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18064 * math/fegetenv.c (__fegetenv): Return 0.
18065 * math/fegetexcept.c (fegetexcept): Return 0.
18066 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18068 * math/feholdexcpt.c (feholdexcept): Return 0.
18069 * math/fesetenv.c (__fesetenv): Return 0.
18070 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18071 argument FE_TONEAREST.
18072 * math/feupdateenv.c (__feupdateenv): Return 0.
18073 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18075 2013-06-18 Roland McGrath <roland@hack.frob.com>
18077 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18078 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18079 ($(objpfx)rtld-%.os rules): Use them.
18081 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18083 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18086 2013-06-17 Roland McGrath <roland@hack.frob.com>
18088 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18089 length of target pattern, then descending length of dependency pattern.
18090 * configure.in (AWK): Require gawk 3.1.2 or newer.
18091 * manual/install.texi (Tools for Compilation): Say that we do.
18092 * configure: Regenerated.
18094 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18095 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18096 * scripts/sysd-rules.awk: ... this new script.
18097 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18098 than a glob-style pattern.
18100 2013-06-17 Joseph Myers <joseph@codesourcery.com>
18102 * math/test-misc.c (main): Do not treat incorrectly rounded
18103 conversions as failure unless ROUNDING_TESTS passes.
18105 2013-06-15 Joseph Myers <joseph@codesourcery.com>
18108 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18109 restore exception state around main square root computation, then
18110 check for inexactness explicitly.
18112 * math/libm-test.inc (fma_test_data): Add another test.
18114 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18116 * manual/threads.texi (Non-POSIX Extensions): New document
18117 node. Document pthread_getattr_default_np and
18118 pthread_setattr_default_np.
18120 * Versions.def (libpthread): Add GLIBC_2.18.
18121 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18130 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18141 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18144 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18146 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18147 H.J. Lu <hjl.tools@gmail.com>
18150 * sysdeps/x86_64/rtld-memset.c: Remove file.
18151 * sysdeps/x86_64/rtld-memset.S: New file.
18153 2013-06-14 Joseph Myers <joseph@codesourcery.com>
18155 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18156 (test_in_one_mode): Take arguments for whether the rounding mode
18157 is supported for each floating-point type.
18158 (do_test): Pass new arguments to test_in_one_mode using
18161 2013-06-13 Roland McGrath <roland@hack.frob.com>
18163 * posix/tst-waitid.c (do_test): Distinguish different instances of
18164 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18165 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18166 before entering the kernel for waitpid.
18168 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18170 * NEWS: Fix note on clock function precision. Text by Roland
18173 2013-06-13 Roland McGrath <roland@hack.frob.com>
18175 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18176 it into place only when and if the sanity check passes.
18178 2013-06-13 Joseph Myers <joseph@codesourcery.com>
18180 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18181 output for whether conversion result is exact. Take argument
18182 indicating whether type is IBM long double.
18183 (round_for_all): Change need_exact field to ibm_ld.
18184 * stdlib/tst-strtod-round.c (struct exactness): New type.
18185 (struct test): Change bool ld_ok field to struct exactness exact.
18186 (TEST): Update all definitions for change to field.
18187 (tests): Regenerate array contents.
18188 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18189 field value. Check for IBM long double here.
18190 (do_test): Update calls to test_in_one_mode.
18192 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18195 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18196 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18198 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18201 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18202 generated by the compiler on loop optimizations.
18203 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18204 general definitions.
18206 2013-06-12 Joseph Myers <joseph@codesourcery.com>
18208 * math/bug-nextafter.c: Include <math-tests.h>.
18209 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18211 * math/bug-nexttoward.c: Include <math-tests.h>.
18212 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18214 * math/test-misc.c: Include <math-tests.h>.
18215 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18218 2013-06-12 Andreas Jaeger <aj@suse.de>
18220 * po/ia.po: Update Interlingua translation from translation
18223 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18225 * include/fenv.h: Include stdbool.h.
18226 (struct rm_ctx): New structure.
18227 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18229 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18230 (SET_RESTORE_ROUNDF): Likewise.
18231 (SET_RESTORE_ROUNDL): Likewise.
18232 (SET_RESTORE_ROUND_NOEX): Likewise.
18233 (SET_RESTORE_ROUND_NOEXF): Likewise.
18234 (SET_RESTORE_ROUND_NOEXL): Likewise.
18235 (SET_RESTORE_ROUND_53BIT): Likewise.
18236 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18237 (libc_feresetround_noexf_ctx): Likewise.
18238 (libc_feresetround_noexl_ctx): Likewise.
18239 (libc_feholdsetround_53bit_ctx): Likewise.
18240 (libc_feresetround_53bit_ctx): Likewise.
18241 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18242 (libc_feholdexcept_setround_sse_ctx): New function.
18243 (libc_fesetenv_sse_ctx): Likewise.
18244 (libc_feupdateenv_sse_ctx): Likewise.
18245 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18246 (libc_feholdexcept_setround_387_ctx): Likewise.
18247 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18248 (libc_feholdsetround_387_prec_ctx): Likewise.
18249 (libc_feholdsetround_387_ctx): Likewise.
18250 (libc_feholdsetround_387_53bit_ctx): Likewise.
18251 (libc_feholdsetround_sse_ctx): Likewise.
18252 (libc_feresetround_sse_ctx): Likewise.
18253 (libc_feresetround_387_ctx): Likewise.
18254 (libc_feupdateenv_387_ctx): Likewise.
18255 (libc_feholdexcept_setroundf_ctx): Define macro.
18256 (libc_fesetenvf_ctx): Likewise.
18257 (libc_feupdateenvf_ctx): Likewise.
18258 (libc_feholdsetroundf_ctx): Likewise.
18259 (libc_feresetroundf_ctx): Likewise.
18260 (libc_feholdexcept_setround_ctx): Likewise.
18261 (libc_fesetenv_ctx): Likewise.
18262 (libc_feupdateenv_ctx): Likewise.
18263 (libc_feholdsetround_ctx): Likewise.
18264 (libc_feresetround_ctx): Likewise.
18265 (libc_feholdexcept_setroundl_ctx): Likewise.
18266 (libc_feupdateenvl_ctx): Likewise.
18267 (libc_feholdsetroundl_ctx): Likewise.
18268 (libc_feresetroundl_ctx): Likewise.
18269 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18270 (libc_feresetround_53bit_ctx): Likewise.
18272 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18274 * locale/iso-639.def: Convert to UTF-8.
18276 2013-06-11 Joseph Myers <joseph@codesourcery.com>
18278 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18279 (EXCEPTION_TESTS_double): Likewise.
18280 (EXCEPTION_TESTS_long_double): Likewise.
18281 (EXCEPTION_TESTS): Likewise.
18282 * math/libm-test.inc (test_exceptions): Only test exceptions if
18283 EXCEPTION_TESTS (FLOAT).
18285 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18287 * benchtests/Makefile (string-bench): Add strcpy_chk and
18289 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18290 * benchtests/bench-stpcpy_chk.c: New file.
18291 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18292 * benchtests/bench-strcpy_chk.c: New file.
18293 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18295 (do_test): Likewise.
18297 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18299 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18300 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18301 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18302 with tabs where appropriate.
18303 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18305 [PPC_PLATFORM_PPC440]: Likewise.
18306 [PPC_PLATFORM_PPC464]: Likewise.
18307 [PPC_PLATFORM_PPC476]: Likewise.
18308 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18309 ppc464, and ppc476 platform strings merging from ports/
18312 2013-06-11 Andreas Schwab <schwab@suse.de>
18315 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18316 (from_ucs4_idx): Regenerate.
18317 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18318 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18319 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18320 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18321 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18322 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18323 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18324 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18325 from FROM_LOOP and TO_LOOP specific macros.
18326 (BODY): Handle combining characters.
18327 * iconvdata/BIG5HKSCS.irreversible: Update.
18328 * iconvdata/BIG5HKSCS.precomposed: New file.
18329 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18331 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18333 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18335 * include/sys/time.h: Fix indentation and add copyright header.
18337 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18338 (do_test): Likewise.
18339 * string/test-memchr.c (do_one_test): Likewise.
18340 (do_test): Likewise.
18341 * string/test-memcmp.c (do_one_test): Likewise.
18342 (do_test): Likewise.
18343 * string/test-memcpy.c (do_one_test): Likewise.
18344 (do_test): Likewise.
18345 * string/test-memmem.c (do_one_test): Likewise.
18346 (do_test): Likewise.
18347 (do_random_tests): Likewise.
18348 * string/test-memmove.c (do_one_test): Likewise.
18349 (do_test): Likewise.
18350 * string/test-memset.c (do_one_test): Likewise.
18351 (do_test): Likewise.
18352 * string/test-rawmemchr.c (do_one_test): Likewise.
18353 (do_test): Likewise.
18354 * string/test-strcasecmp.c (do_one_test): Likewise.
18355 (do_test): Likewise.
18356 * string/test-strcasestr.c (do_one_test): Likewise.
18357 (do_test): Likewise.
18358 * string/test-strcat.c (do_one_test): Likewise.
18359 (do_test): Likewise.
18360 * string/test-strchr.c (do_one_test): Likewise.
18361 (do_test): Likewise.
18362 * string/test-strcmp.c (do_one_test): Likewise.
18363 (do_test): Likewise.
18364 * string/test-strcpy.c (do_one_test): Likewise.
18365 (do_test): Likewise.
18366 * string/test-string.h: Likewise.
18367 (test_init): Likewise.
18368 * string/test-strlen.c (do_one_test): Likewise.
18369 (do_test): Likewise.
18370 * string/test-strncasecmp.c (do_one_test): Likewise.
18371 (do_test): Likewise.
18372 * string/test-strncat.c (do_one_test): Likewise.
18373 (do_test): Likewise.
18374 * string/test-strncmp.c (do_one_test): Likewise.
18375 (do_test_limit): Likewise.
18376 (do_test): Likewise.
18377 * string/test-strncpy.c (do_one_test): Likewise.
18378 (do_test): Likewise.
18379 * string/test-strnlen.c (do_one_test): Likewise.
18380 (do_test): Likewise.
18381 * string/test-strpbrk.c (do_one_test): Likewise.
18382 (do_test): Likewise.
18383 * string/test-strrchr.c (do_one_test): Likewise.
18384 (do_test): Likewise.
18385 * string/test-strspn.c (do_one_test): Likewise.
18386 (do_test): Likewise.
18387 * string/test-strstr.c (do_one_test): Likewise.
18388 (do_test): Likewise.
18390 * benchtests/Makefile (string-bench): Add string benchmarks.
18391 * benchtests/bench-bcopy-ifunc.c: New file.
18392 * benchtests/bench-bcopy.c: New file.
18393 * benchtests/bench-bzero-ifunc.c: New file.
18394 * benchtests/bench-bzero.c: New file.
18395 * benchtests/bench-memccpy-ifunc.c: New file.
18396 * benchtests/bench-memccpy.c: New file.
18397 * benchtests/bench-memchr-ifunc.c: New file.
18398 * benchtests/bench-memchr.c: New file.
18399 * benchtests/bench-memcmp-ifunc.c: New file.
18400 * benchtests/bench-memcmp.c: New file.
18401 * benchtests/bench-memmem-ifunc.c: New file.
18402 * benchtests/bench-memmem.c: New file.
18403 * benchtests/bench-memmove-ifunc.c: New file.
18404 * benchtests/bench-memmove.c: New file.
18405 * benchtests/bench-mempcpy-ifunc.c: New file.
18406 * benchtests/bench-mempcpy.c: New file.
18407 * benchtests/bench-memset-ifunc.c: New file.
18408 * benchtests/bench-memset.c: New file.
18409 * benchtests/bench-rawmemchr-ifunc.c: New file.
18410 * benchtests/bench-rawmemchr.c: New file.
18411 * benchtests/bench-stpcpy-ifunc.c: New file.
18412 * benchtests/bench-stpcpy.c: New file.
18413 * benchtests/bench-stpncpy-ifunc.c: New file.
18414 * benchtests/bench-stpncpy.c: New file.
18415 * benchtests/bench-strcasecmp-ifunc.c: New file.
18416 * benchtests/bench-strcasecmp.c: New file.
18417 * benchtests/bench-strcasestr-ifunc.c: New file.
18418 * benchtests/bench-strcasestr.c: New file.
18419 * benchtests/bench-strcat-ifunc.c: New file.
18420 * benchtests/bench-strcat.c: New file.
18421 * benchtests/bench-strchr-ifunc.c: New file.
18422 * benchtests/bench-strchr.c: New file.
18423 * benchtests/bench-strchrnul-ifunc.c: New file.
18424 * benchtests/bench-strchrnul.c: New file.
18425 * benchtests/bench-strcmp-ifunc.c: New file.
18426 * benchtests/bench-strcmp.c: New file.
18427 * benchtests/bench-strcpy-ifunc.c: New file.
18428 * benchtests/bench-strcpy.c: New file.
18429 * benchtests/bench-strcspn-ifunc.c: New file.
18430 * benchtests/bench-strcspn.c: New file.
18431 * benchtests/bench-strlen-ifunc.c: New file.
18432 * benchtests/bench-strlen.c: New file.
18433 * benchtests/bench-strncasecmp-ifunc.c: New file.
18434 * benchtests/bench-strncasecmp.c: New file.
18435 * benchtests/bench-strncat-ifunc.c: New file.
18436 * benchtests/bench-strncat.c: New file.
18437 * benchtests/bench-strncmp-ifunc.c: New file.
18438 * benchtests/bench-strncmp.c: New file.
18439 * benchtests/bench-strncpy-ifunc.c: New file.
18440 * benchtests/bench-strncpy.c: New file.
18441 * benchtests/bench-strnlen-ifunc.c: New file.
18442 * benchtests/bench-strnlen.c: New file.
18443 * benchtests/bench-strpbrk-ifunc.c: New file.
18444 * benchtests/bench-strpbrk.c: New file.
18445 * benchtests/bench-strrchr-ifunc.c: New file.
18446 * benchtests/bench-strrchr.c: New file.
18447 * benchtests/bench-strspn-ifunc.c: New file.
18448 * benchtests/bench-strspn.c: New file.
18449 * benchtests/bench-strstr-ifunc.c: New file.
18450 * benchtests/bench-strstr.c: New file.
18452 * benchtests/Makefile: Disable parallel execution of targets.
18453 (string-bench): Add memcpy.
18454 (benchset): New variable to store a list of benchmark sets.
18455 (bench-func): Renamed from bench.
18456 (bench-set): New target.
18457 (bench): Depend on bench-func and bench-set.
18458 * benchtests/README: Add section on benchmark sets.
18459 * benchtests/bench-memcpy-ifunc.c: New file.
18460 * benchtests/bench-memcpy.c: New file.
18461 * benchtests/bench-string.h: New file.
18463 2013-06-11 Andreas Schwab <schwab@suse.de>
18466 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18467 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18468 values in the triple.
18469 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18470 terminator in the group key.
18472 2013-06-11 Andreas Jaeger <aj@suse.de>
18474 * po/zh_TW.po: Update Chinese (traditional) translation from
18475 translation project.
18477 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18479 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18480 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18481 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18482 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18483 (clock_getcpuclockid): Likewise.
18484 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18485 Add weak_alias and libc_hidden_def.
18486 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18487 * rt/clock_gettime.c (clock_gettime): Rename to
18488 __clock_gettime. Add weak_alias and libc_hidden_def.
18489 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18490 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18491 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18492 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18493 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18495 * rt/clock_settime.c (clock_settime): Rename to
18496 __clock_settime. Add weak_alias and libc_hidden_def.
18497 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18499 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18501 * mach/err_boot.sub: Remove trailing whitespace.
18502 * mach/err_ipc.sub: Likewise.
18503 * mach/err_mach.sub: Likewise.
18505 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18506 (ROUNDING_TESTS_double): Likewise.
18507 (ROUNDING_TESTS_long_double): Likewise.
18508 (ROUNDING_TESTS): Likewise.
18509 * math/libm-test.inc: Include <math-tests.h>.
18510 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18511 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18512 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18513 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18515 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18517 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18520 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18522 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18523 otherwise empty TRANS lines.
18524 * sysdeps/gnu/errlist.c: Regenerated.
18526 * catgets/gencat.c (error_print): Use (void) in function
18528 * crypt/crypt_util.c (__init_des): Likewise.
18529 * crypt/speeds.c (Stop): Likewise.
18531 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18532 * inet/ruserpass.c (token): Likewise.
18533 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18534 * intl/localealias.c (extend_alias_table): Likewise.
18535 * intl/plural-exp.c (init_germanic_plural): Likewise.
18536 * libio/fcloseall.c (__fcloseall): Likewise.
18537 * libio/genops.c (_IO_flush_all): Likewise.
18538 (_IO_flush_all_linebuffered): Likewise.
18539 (_IO_cleanup): Likewise.
18540 (_IO_iter_begin): Likewise.
18541 (_IO_iter_end): Likewise.
18542 (_IO_list_lock): Likewise.
18543 (_IO_list_unlock): Likewise.
18544 (_IO_list_resetlock): Likewise.
18545 * libio/getchar.c (getchar): Likewise.
18546 * libio/getchar_u.c (getchar_unlocked): Likewise.
18547 * libio/getwchar.c (getwchar): Likewise.
18548 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18549 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18550 * login/getpt.c (__getpt): Likewise.
18551 * login/tst-utmp.c (main): Likewise.
18552 * malloc/hooks.c (__malloc_check_init): Likewise.
18553 * malloc/malloc.c (__malloc_stats): Likewise.
18554 * malloc/mtrace.c (tr_break): Likewise.
18555 (mtrace): Likewise.
18556 (muntrace): Likewise.
18557 * misc/fstab.c (endfsent): Likewise.
18558 * misc/getclktck.c (__getclktck): Likewise.
18559 * misc/getdtsz.c (__getdtablesize): Likewise.
18560 * misc/gethostid.c (gethostid): Likewise.
18561 * misc/getpagesize.c (__getpagesize): Likewise.
18562 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18563 (__get_nprocs): Likewise.
18564 (__get_phys_pages): Likewise.
18565 (__get_avphys_pages): Likewise.
18566 * misc/getttyent.c (getttyent): Likewise.
18567 (setttyent): Likewise.
18568 (endttyent): Likewise.
18569 * misc/getusershell.c (getusershell): Likewise.
18570 (endusershell): Likewise.
18571 (setusershell): Likewise.
18572 (initshells): Likewise.
18573 * misc/hsearch.c (__hdestroy): Likewise.
18574 * misc/sync.c (sync): Likewise.
18575 * misc/syslog.c (closelog_internal): Likewise.
18576 (closelog): Likewise.
18577 * misc/ttyslot.c (ttyslot): Likewise.
18578 * misc/vhangup.c (vhangup): Likewise.
18579 * posix/fork.c (__fork): Likewise.
18580 * posix/getegid.c (__getegid): Likewise.
18581 * posix/geteuid.c (__geteuid): Likewise.
18582 * posix/getgid.c (__getgid): Likewise.
18583 * posix/getpid.c (__getpid): Likewise.
18584 * posix/getppid.c (__getppid): Likewise.
18585 * posix/getuid.c (__getuid): Likewise.
18586 * posix/pause.c (pause): Likewise.
18587 * posix/setpgrp.c (setpgrp): Likewise.
18588 * posix/setsid.c (__setsid): Likewise.
18589 * posix/test-vfork.c (noop): Likewise.
18590 * resolv/gethnamaddr.c (_endhtent): Likewise.
18591 (_gethtent): Likewise.
18592 (ht_endhostent): Likewise.
18593 (gethostent): Likewise.
18594 (dns_service): Likewise.
18595 * stdlib/drand48.c (drand48): Likewise.
18596 * stdlib/lrand48.c (lrand48): Likewise.
18597 * stdlib/mrand48.c (mrand48): Likewise.
18598 * stdlib/rand.c (rand): Likewise.
18599 * stdlib/random.c (__random): Likewise.
18600 * stdlib/setenv.c (clearenv): Likewise.
18601 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18602 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18603 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18604 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18605 (__get_nprocs): Likewise.
18606 (__get_phys_pages): Likewise.
18607 (__get_avphys_pages): Likewise.
18608 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18609 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18610 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18611 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18612 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18613 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18614 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18615 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18616 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18617 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18618 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18619 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18620 * sysdeps/posix/clock.c (clock): Likewise.
18621 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18622 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18623 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18624 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18625 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18627 (__get_nprocs_conf): Likewise.
18628 (__get_phys_pages): Likewise.
18629 (__get_avphys_pages): Likewise.
18630 * time/clock.c (clock): Likewise.
18631 * time/tzset.c (__tzname_max): Likewise.
18633 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18635 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18636 (__bswap_32): Do not use "register".
18637 * crypt/crypt.c (_ufc_doit_r): Likewise.
18638 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18639 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18640 * gmon/gmon.c (__monstartup): Likewise.
18641 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18642 * hurd/hurdmalloc.c (more_memory): Likewise.
18643 (malloc): Likewise.
18645 (realloc): Likewise.
18646 (malloc_fork_prepare): Likewise.
18647 (malloc_fork_parent): Likewise.
18648 (malloc_fork_child): Likewise.
18649 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18650 (_svcauth_des): Likewise.
18651 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18652 * inet/inet_net.c (inet_network): Likewise.
18653 * inet/inet_netof.c (inet_netof): Likewise.
18654 * inet/rcmd.c (__validuser2_sa): Likewise.
18655 * io/fts.c (fts_open): Likewise.
18656 (fts_load): Likewise.
18657 (fts_close): Likewise.
18658 (fts_read): Likewise.
18659 (fts_children): Likewise.
18660 (fts_build): Likewise.
18661 (fts_stat): Likewise.
18662 (fts_sort): Likewise.
18663 (fts_alloc): Likewise.
18664 (fts_lfree): Likewise.
18665 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18666 (_IO_file_xsgetn): Likewise.
18667 (_IO_file_xsgetn_mmap): Likewise.
18668 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18669 (_IO_cookie_write): Likewise.
18670 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18671 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18672 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18673 * malloc/obstack.c (_obstack_begin): Likewise.
18674 (_obstack_begin_1): Likewise.
18675 (_obstack_newchunk): Likewise.
18676 (_obstack_allocated_p): Likewise.
18677 (obstack_free): Likewise.
18678 (_obstack_memory_used): Likewise.
18679 * misc/getttyent.c (getttynam): Likewise.
18680 (getttyent): Likewise.
18683 * misc/getusershell.c (initshells): Likewise.
18684 * misc/syslog.c (__vsyslog_chk): Likewise.
18685 * misc/ttyslot.c (ttyslot): Likewise.
18686 * nis/nis_hash.c (__nis_hash): Likewise.
18687 * posix/fnmatch_loop.c (FCT): Likewise.
18688 * posix/getconf.c (print_all): Likewise.
18690 * posix/getopt.c (exchange): Likewise.
18691 * posix/glob.c (globfree): Likewise.
18692 (prefix_array): Likewise.
18693 (__glob_pattern_type): Likewise.
18694 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18695 (NS_GET32): Likewise.
18696 (NS_PUT16): Likewise.
18697 (NS_PUT32): Likewise.
18698 * resolv/gethnamaddr.c (getanswer): Likewise.
18699 (gethostbyname2): Likewise.
18700 (gethostbyaddr): Likewise.
18701 (_gethtent): Likewise.
18702 (_gethtbyname2): Likewise.
18703 (_gethtbyaddr): Likewise.
18704 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18705 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18706 * resolv/res_init.c (__res_vinit): Likewise.
18707 (net_mask): Likewise.
18708 * resolv/res_mkquery.c (outchar): Likewise.
18710 * stdio-common/printf_fp.c (outchar): Likewise.
18712 * stdio-common/printf_fphex.c (outchar): Likewise.
18714 * stdio-common/printf_size.c (outchar): Likewise.
18716 * stdio-common/test_rdwr.c (main): Likewise.
18717 * stdio-common/tfformat.c (matches): Likewise.
18718 * stdio-common/vfprintf.c (outchar): Likewise.
18719 (printf_unknown): Likewise.
18720 (buffered_vfprintf): Likewise.
18721 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18722 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18723 (ReadFile): Likewise.
18724 * stdlib/qsort.c (SWAP): Likewise.
18725 (_quicksort): Likewise.
18726 * stdlib/setenv.c (__add_to_environ): Likewise.
18727 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18728 * stdlib/strtol_l.c (__strtol_l): Likewise.
18729 * stdlib/tst-strtod.c (main): Likewise.
18730 * stdlib/tst-strtol.c (main): Likewise.
18731 * stdlib/tst-strtoll.c (main): Likewise.
18732 * string/bits/string2.h (__strcmp_cc): Likewise.
18733 (__strcmp_cg): Likewise.
18734 (__strcspn_c1): Likewise.
18735 (__strcspn_c2): Likewise.
18736 (__strcspn_c3): Likewise.
18737 (__strspn_c1): Likewise.
18738 (__strspn_c2): Likewise.
18739 (__strspn_c3): Likewise.
18740 (__strsep_1c): Likewise.
18741 (__strsep_2c): Likewise.
18742 (__strsep_3c): Likewise.
18743 * string/memccpy.c (__memccpy): Likewise.
18744 * string/stpcpy.c (__stpcpy): Likewise.
18745 * string/strcmp.c (strcmp): Likewise.
18746 * string/strrchr.c (strrchr): Likewise.
18747 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18749 * sysdeps/mach/hurd/getcwd.c
18750 (_hurd_canonicalize_directory_name_internal): Likewise.
18751 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18752 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18753 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18754 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18755 Likewise, in both definitions.
18756 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18758 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18759 64] (__bswap_64): Likewise.
18760 * time/test_time.c (main): Likewise.
18761 * time/tzfile.c (__tzfile_read): Likewise.
18762 (__tzfile_compute): Likewise.
18763 * time/tzset.c (__tzset_parse_tz): Likewise.
18764 (tzset_internal): Likewise.
18765 (compute_change): Likewise.
18766 * wcsmbs/wcscat.c (__wcscat): Likewise.
18767 * wcsmbs/wcschr.c (wcschr): Likewise.
18768 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18769 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18770 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18771 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18772 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18773 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18774 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18775 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18776 * wcsmbs/wmemset.c (wmemset): Likewise.
18778 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18780 * scripts/config.guess: Update to version 2013-05-16.
18781 * scripts/config.sub: Update to version 2013-04-24.
18782 * scripts/install-sh: Update to version 2011-11-20.07.
18783 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18784 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18786 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18788 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18789 * elf/sln.c: Likewise.
18790 * hurd/hurd/ioctl.h: Likewise.
18791 * hurd/hurdmalloc.c: Likewise.
18792 * hurd/xattr.c: Likewise.
18793 * include/shlib-compat.h: Likewise.
18794 * inet/ruserpass.c: Likewise.
18795 * libio/iofgets_u.c: Likewise.
18796 * libio/iofgetws_u.c: Likewise.
18797 * locale/programs/ld-identification.c: Likewise.
18798 * locale/programs/ld-time.c: Likewise.
18799 * mach/msg-destroy.c: Likewise.
18800 * nss/nss_files/files-netgrp.c: Likewise.
18801 * resolv/res_data.c: Likewise.
18802 * soft-fp/op-1.h: Likewise.
18803 * soft-fp/op-2.h: Likewise.
18804 * soft-fp/op-4.h: Likewise.
18805 * soft-fp/op-common.h: Likewise.
18806 * stdio-common/printf_fphex.c: Likewise.
18807 * stdlib/strtod_l.c: Likewise.
18808 * sunrpc/rpc/clnt.h: Likewise.
18809 * sysdeps/generic/framestate.c: Likewise.
18810 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18811 * sysdeps/i386/bsd-setjmp.S: Likewise.
18812 * sysdeps/i386/__longjmp.S: Likewise.
18813 * sysdeps/i386/setjmp.S: Likewise.
18814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18815 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18816 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18832 * sysdeps/ieee754/support.c: Likewise.
18833 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18834 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18835 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18836 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18837 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18838 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18839 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18840 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18841 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18842 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18843 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18844 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18845 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18846 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18847 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18848 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18849 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18852 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18854 * posix/transbug.c: Remove executable mode.
18856 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18858 * crypt/speeds.c: Remove trailing whitespace.
18859 * dlfcn/default.c: Likewise.
18860 * elf/ifuncdep2.c: Likewise.
18861 * elf/ifuncmain1.c: Likewise.
18862 * elf/ifuncmain1vis.c: Likewise.
18863 * elf/testobj.h: Likewise.
18864 * elf/tst-stackguard1.c: Likewise.
18865 * gmon/sys/gmon.h: Likewise.
18866 * hurd/hurdmsg.c: Likewise.
18867 * hurd/new-fd.c: Likewise.
18868 * hurd/ports-get.c: Likewise.
18869 * iconvdata/ibm1008_420.c: Likewise.
18870 * inet/tst-getni1.c: Likewise.
18871 * inet/tst-getni2.c: Likewise.
18872 * libio/ioungetc.c: Likewise.
18873 * libio/wfiledoalloc.c: Likewise.
18874 * manual/libm-err-tab.pl: Likewise.
18875 * math/w_dremf.c: Likewise.
18876 * misc/ftruncate.c: Likewise.
18877 * posix/bug-glob2.c: Likewise.
18878 * posix/tst-pcre.c: Likewise.
18879 * posix/wait4.c: Likewise.
18880 * resolv/README: Likewise.
18881 * resolv/res_debug.h: Likewise.
18882 * resolv/tst-inet_ntop.c: Likewise.
18883 * setjmp/bug269-setjmp.c: Likewise.
18884 * soft-fp/extended.h: Likewise.
18885 * soft-fp/op-1.h: Likewise.
18886 * soft-fp/op-2.h: Likewise.
18887 * soft-fp/op-4.h: Likewise.
18888 * soft-fp/op-8.h: Likewise.
18889 * soft-fp/testit.c: Likewise.
18890 * stdio-common/bug16.c: Likewise.
18891 * stdlib/random.c: Likewise.
18892 * sunrpc/rpcsvc/rquota.x: Likewise.
18893 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18894 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18896 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18904 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18905 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18922 * sysdeps/ieee754/s_lib_version.c: Likewise.
18923 * sysdeps/mach/hurd/check_fds.c: Likewise.
18924 * sysdeps/mach/hurd/getsockname.c: Likewise.
18925 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18926 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18927 * sysdeps/powerpc/bits/link.h: Likewise.
18928 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18929 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18930 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18931 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18932 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18933 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18934 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18935 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18936 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18941 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18942 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18943 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18944 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18945 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18946 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18947 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18948 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18949 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18950 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18951 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18952 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18954 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18959 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18961 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18962 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18963 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18964 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18965 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18966 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18967 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18968 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18969 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18970 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18971 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18972 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18973 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18974 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18975 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18976 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18977 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18979 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18980 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18981 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18982 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18983 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18984 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18985 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18986 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18987 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18988 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18989 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18990 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18991 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18992 * sysdeps/powerpc/sysdep.h: Likewise.
18993 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18994 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18995 * sysdeps/sh/dl-trampoline.S: Likewise.
18996 * sysdeps/sh/memset.S: Likewise.
18997 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18998 * sysdeps/sh/strlen.S: Likewise.
18999 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19000 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19001 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19002 * sysdeps/sparc/sparc32/rem.S: Likewise.
19003 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19004 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19005 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19006 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19007 * sysdeps/sparc/sparc32/urem.S: Likewise.
19008 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19009 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19010 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19011 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19012 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19013 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19014 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19015 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19016 * sysdeps/unix/bsd/times.c: Likewise.
19017 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19018 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19022 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19023 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19024 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19025 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19026 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19027 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19028 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19029 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19030 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19031 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19032 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19033 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19034 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19035 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19036 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19037 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19038 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19039 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19040 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19041 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19042 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19043 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19044 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19045 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19046 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19047 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19048 * sysdeps/x86_64/strcspn.S: Likewise.
19050 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19052 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19053 generated file. Regenerate properly from gen-translit.pl.
19054 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19055 locale/C-translit.h.
19057 2013-06-05 Andreas Schwab <schwab@suse.de>
19060 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19061 week as 6 instead of -1.
19062 * time/tst-strptime.c (day_tests): Add test case.
19064 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19066 * sysdeps/generic/math_private.h
19067 (libc_feholdexcept_setround_53bit): Replace with
19068 libc_feholdsetround_53bit.
19069 (libc_feupdateenv_53bit): Replace with
19070 libc_feresetround_53bit.
19071 (SET_RESTORE_ROUND_53BIT): Adjust.
19073 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19075 * string/test-strchrnul.c: Add copyright header.
19077 * posix/tst-getaddrinfo4.c: Increase test timeout.
19079 2013-06-03 Carlos O'Donell <carlos@redhat.com>
19082 * math/libm-test.inc (MAX_EXP): Remove
19084 (ulp): Use MIN_EXP - MANT_DIG.
19085 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19087 2013-05-31 Carlos O'Donell <carlos@redhat.com>
19089 * po/be.po: Revert last change.
19090 * po/zh_CN.po: Likewise.
19091 * po/header.pot: Likewise.
19093 2013-05-31 Joseph Myers <joseph@codesourcery.com>
19095 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19096 link-libc-deps to empty as target-specific variable.
19097 * Makerules (link-libc-args): New variable.
19098 (libc-for-link): Likewise.
19099 (link-libc-deps): Likewise.
19100 (lib%.so): Depend on $(link-libc-deps). Link with
19102 (build-module): Link with $(link-libc-args).
19103 (build-module-asneeded): Likewise.
19104 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19106 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19107 target-specific variable.
19108 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19109 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19110 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19112 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19114 ($(objpfx)libpcprofile.so): Likewise.
19115 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19117 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19118 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19119 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19121 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19122 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19123 * login/Makefile ($(objpfx)libutil.so): Likewise.
19124 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19125 * math/Makefile ($(objpfx)libm.so): Likewise.
19126 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19127 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19128 variable instead of depending directly on libc.
19129 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19130 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19132 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19134 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19135 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19136 ($(objpfx)libanl.so): Likewise.
19137 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19139 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19141 * sysdeps/i386/fpu/Makefile: Remove file.
19142 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19143 ($(objpfx)libm.so): Remove dependency on ld.so.
19145 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
19148 * nis/yp_xdr.c (XDRMAXNAME): Define.
19149 (XDRMAXRECORD): Define.
19150 (xdr_domainname): Use XDRMAXNAME.
19151 (xdr_mapname): Likewise.
19152 (xdr_peername): Likewise.
19153 (xdr_keydat): Use XDRMAXRECORD.
19154 (xdr_valdat): Likewise.
19156 2013-05-30 Jeff Law <law@redhat.com>
19159 * manual/errno.texi (ESTALE): Update to account for more than
19160 just NFS file systems.
19161 * sysdeps/gnu/errlist.c: Regenerated.
19163 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19166 * elf/Makefile (tests): Add tst-null-argv.
19167 (modules-names): Add tst-null-argv-lib.
19168 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19169 (tst-null-argv-ENV): Set environment for tst-null-argv.
19170 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19171 (RTLD_PROGNAME): New macro.
19172 * elf/tst-null-argv.c: New test case.
19173 * elf/tst-null-argv-lib.c: Library for test case.
19174 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19175 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19176 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19177 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19178 * elf/dl-init.c (call_init): Likewise.
19179 (_dl_init): Likewise.
19180 * elf/dl-load.c (print_search_path): Likewise.
19181 (_dl_map_object): Likewise.
19182 * elf/dl-lookup.c (do_lookup_x): Likewise.
19183 (add_dependency): Likewise.
19184 (_dl_lookup_symbol_x): Likewise.
19185 (_dl_debug_bindings): Likewise.
19186 * elf/dl-open.c (_dl_show_scope): Likewise.
19187 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19188 * elf/dl-version.c (match_symbol): Likewise.
19189 (_dl_check_map_versions): Likewise.
19190 * elf/rtld.c (dl_main): Likewise.
19191 (print_unresolved): Use RTLD_PROGNAME.
19192 (print_missing_version): Likewise.
19193 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19194 (elf_machine_rela): Likewise.
19195 * sysdeps/powerpc/powerpc32/dl-machine.c
19196 (__process_machine_rela): Likewise.
19197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19201 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19203 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19204 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19208 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19210 2013-05-28 Carlos O'Donell <carlos@redhat.com>
19212 * po/be.po: Add descriptive title.
19213 * po/zh_CN.po: Likewise.
19214 * po/header.pot: Likewise.
19216 2013-05-28 Mike Frysinger <vapier@gentoo.org>
19218 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19220 (enlarge_archive): Likewise.
19222 2013-05-28 Ben North <ben@redfrontdoor.org>
19224 * manual/arith.texi (frexp): It is the magnitude of the return
19225 value which lies in [0.5, 1), not the return value itself.
19227 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19231 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19233 * stdio-common/bug26.c (main): Correct fscanf template.
19235 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19236 declare _dl_skip_args.
19238 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19241 * manual/platform.texi: Add missing @end deftypefun.
19243 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19246 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19247 bit of mantissa of 2^16382.
19248 * math/libm-test.inc (hypot_test_data): Add more tests.
19250 * math/libm-test.inc: Add drem and pow10 to list of tested
19252 (pow10_test): New function.
19253 (drem_test): Likewise.
19254 (drem_test_tonearest): Likewise.
19255 (drem_test_towardzero): Likewise.
19256 (drem_test_downward): Likewise.
19257 (drem_test_upward): Likewise.
19258 (main): Call the new functions.
19260 * math/libm-test.inc (finite_test_data): Remove.
19261 (finite_test): Run tests from isfinite_test_data.
19262 (gamma_test_data): Remove.
19263 (gamma_test): Run tests from lgamma_test_data.
19264 * sysdeps/i386/fpu/libm-test-ulps: Update.
19265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19269 * manual/platform.texi: Add PowerPC PPR function set documentation.
19270 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19273 2013-05-24 Carlos O'Donell <carlos@redhat.com>
19275 * math/libm-test.inc (MAX_EXP): Define.
19277 (ulp): New function.
19278 (check_float_internal): Use ULPDIFF.
19279 (cpow_test): Disable failing test.
19280 (check_ulp): Test ulp() implemetnation.
19281 (main): Call check_ulp before starting tests.
19283 2013-05-24 Joseph Myers <joseph@codesourcery.com>
19285 * math/gen-libm-test.pl (generate_testfile): Do not handle
19286 START_DATA and END_DATA.
19287 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19289 (acos_tonearest_test_data): Likewise.
19290 (acos_towardzero_test_data): Likewise.
19291 (acos_downward_test_data): Likewise.
19292 (acos_upward_test_data): Likewise.
19293 (acosh_test_data): Likewise.
19294 (asin_test_data): Likewise.
19295 (asin_tonearest_test_data): Likewise.
19296 (asin_towardzero_test_data): Likewise.
19297 (asin_downward_test_data): Likewise.
19298 (asin_upward_test_data): Likewise.
19299 (asinh_test_data): Likewise.
19300 (atan_test_data): Likewise.
19301 (atanh_test_data): Likewise.
19302 (atan2_test_data): Likewise.
19303 (cabs_test_data): Likewise.
19304 (cacos_test_data): Likewise.
19305 (cacosh_test_data): Likewise.
19306 (carg_test_data): Likewise.
19307 (casin_test_data): Likewise.
19308 (casinh_test_data): Likewise.
19309 (catan_test_data): Likewise.
19310 (catanh_test_data): Likewise.
19311 (cbrt_test_data): Likewise.
19312 (ccos_test_data): Likewise.
19313 (ccosh_test_data): Likewise.
19314 (ceil_test_data): Likewise.
19315 (cexp_test_data): Likewise.
19316 (cimag_test_data): Likewise.
19317 (clog_test_data): Likewise.
19318 (clog10_test_data): Likewise.
19319 (conj_test_data): Likewise.
19320 (copysign_test_data): Likewise.
19321 (cos_test_data): Likewise.
19322 (cos_tonearest_test_data): Likewise.
19323 (cos_towardzero_test_data): Likewise.
19324 (cos_downward_test_data): Likewise.
19325 (cos_upward_test_data): Likewise.
19326 (cosh_test_data): Likewise.
19327 (cosh_tonearest_test_data): Likewise.
19328 (cosh_towardzero_test_data): Likewise.
19329 (cosh_downward_test_data): Likewise.
19330 (cosh_upward_test_data): Likewise.
19331 (cpow_test_data): Likewise.
19332 (cproj_test_data): Likewise.
19333 (creal_test_data): Likewise.
19334 (csin_test_data): Likewise.
19335 (csinh_test_data): Likewise.
19336 (csqrt_test_data): Likewise.
19337 (ctan_test_data): Likewise.
19338 (ctan_tonearest_test_data): Likewise.
19339 (ctan_towardzero_test_data): Likewise.
19340 (ctan_downward_test_data): Likewise.
19341 (ctan_upward_test_data): Likewise.
19342 (ctanh_test_data): Likewise.
19343 (ctanh_tonearest_test_data): Likewise.
19344 (ctanh_towardzero_test_data): Likewise.
19345 (ctanh_downward_test_data): Likewise.
19346 (ctanh_upward_test_data): Likewise.
19347 (erf_test_data): Likewise.
19348 (erfc_test_data): Likewise.
19349 (exp_test_data): Likewise.
19350 (exp_tonearest_test_data): Likewise.
19351 (exp_towardzero_test_data): Likewise.
19352 (exp_downward_test_data): Likewise.
19353 (exp_upward_test_data): Likewise.
19354 (exp10_test_data): Likewise.
19355 (exp2_test_data): Likewise.
19356 (expm1_test_data): Likewise.
19357 (fabs_test_data): Likewise.
19358 (fdim_test_data): Likewise.
19359 (finite_test_data): Likewise.
19360 (floor_test_data): Likewise.
19361 (fma_test_data): Likewise.
19362 (fma_towardzero_test_data): Likewise.
19363 (fma_downward_test_data): Likewise.
19364 (fma_upward_test_data): Likewise.
19365 (fmax_test_data): Likewise.
19366 (fmin_test_data): Likewise.
19367 (fmod_test_data): Likewise.
19368 (fpclassify_test_data): Likewise.
19369 (frexp_test_data): Likewise.
19370 (gamma_test_data): Likewise.
19371 (hypot_test_data): Likewise.
19372 (ilogb_test_data): Likewise.
19373 (isfinite_test_data): Likewise.
19374 (isgreater_test_data): Likewise.
19375 (isgreaterequal_test_data): Likewise.
19376 (isinf_test_data): Likewise.
19377 (isless_test_data): Likewise.
19378 (islessequal_test_data): Likewise.
19379 (islessgreater_test_data): Likewise.
19380 (isnan_test_data): Likewise.
19381 (isnormal_test_data): Likewise.
19382 (issignaling_test_data): Likewise.
19383 (isunordered_test_data): Likewise.
19384 (j0_test_data): Likewise.
19385 (j1_test_data): Likewise.
19386 (jn_test_data): Likewise.
19387 (ldexp_test_data): Likewise.
19388 (lgamma_test_data): Likewise.
19389 (lrint_test_data): Likewise.
19390 (lrint_tonearest_test_data): Likewise.
19391 (lrint_towardzero_test_data): Likewise.
19392 (lrint_downward_test_data): Likewise.
19393 (lrint_upward_test_data): Likewise.
19394 (llrint_test_data): Likewise.
19395 (llrint_tonearest_test_data): Likewise.
19396 (llrint_towardzero_test_data): Likewise.
19397 (llrint_downward_test_data): Likewise.
19398 (llrint_upward_test_data): Likewise.
19399 (log_test_data): Likewise.
19400 (log10_test_data): Likewise.
19401 (log1p_test_data): Likewise.
19402 (log2_test_data): Likewise.
19403 (logb_test_data): Likewise.
19404 (logb_downward_test_data): Likewise.
19405 (lround_test_data): Likewise.
19406 (llround_test_data): Likewise.
19407 (modf_test_data): Likewise.
19408 (nearbyint_test_data): Likewise.
19409 (nextafter_test_data): Likewise.
19410 (nexttoward_test_data): Likewise.
19411 (pow_test_data): Likewise.
19412 (pow_tonearest_test_data): Likewise.
19413 (pow_towardzero_test_data): Likewise.
19414 (pow_downward_test_data): Likewise.
19415 (pow_upward_test_data): Likewise.
19416 (remainder_test_data): Likewise.
19417 (remainder_tonearest_test_data): Likewise.
19418 (remainder_towardzero_test_data): Likewise.
19419 (remainder_downward_test_data): Likewise.
19420 (remainder_upward_test_data): Likewise.
19421 (remquo_test_data): Likewise.
19422 (rint_test_data): Likewise.
19423 (rint_tonearest_test_data): Likewise.
19424 (rint_towardzero_test_data): Likewise.
19425 (rint_downward_test_data): Likewise.
19426 (rint_upward_test_data): Likewise.
19427 (round_test_data): Likewise.
19428 (scalb_test_data): Likewise.
19429 (scalbn_test_data): Likewise.
19430 (scalbln_test_data): Likewise.
19431 (signbit_test_data): Likewise.
19432 (sin_test_data): Likewise.
19433 (sin_tonearest_test_data): Likewise.
19434 (sin_towardzero_test_data): Likewise.
19435 (sin_downward_test_data): Likewise.
19436 (sin_upward_test_data): Likewise.
19437 (sincos_test_data): Likewise.
19438 (sinh_test_data): Likewise.
19439 (sinh_tonearest_test_data): Likewise.
19440 (sinh_towardzero_test_data): Likewise.
19441 (sinh_downward_test_data): Likewise.
19442 (sinh_upward_test_data): Likewise.
19443 (sqrt_test_data): Likewise.
19444 (tan_test_data): Likewise.
19445 (tan_tonearest_test_data): Likewise.
19446 (tan_towardzero_test_data): Likewise.
19447 (tan_downward_test_data): Likewise.
19448 (tan_upward_test_data): Likewise.
19449 (tanh_test_data): Likewise.
19450 (tgamma_test_data): Likewise.
19451 (trunc_test_data): Likewise.
19452 (y0_test_data): Likewise.
19453 (y1_test_data): Likewise.
19454 (yn_test_data): Likewise.
19455 (significand_test_data): Likewise.
19457 * math/gen-libm-test.pl (@functions): Remove variable.
19458 (generate_testfile): Don't handle START and END lines.
19459 * math/libm-test.inc (START): New macro.
19461 (END_COMPLEX): Likewise.
19462 (acos_test): Use END macro without arguments.
19463 (acos_test_tonearest): Likewise.
19464 (acos_test_towardzero): Likewise.
19465 (acos_test_downward): Likewise.
19466 (acos_test_upward): Likewise.
19467 (acosh_test): Likewise.
19468 (asin_test): Likewise.
19469 (asin_test_tonearest): Likewise.
19470 (asin_test_towardzero): Likewise.
19471 (asin_test_downward): Likewise.
19472 (asin_test_upward): Likewise.
19473 (asinh_test): Likewise.
19474 (atan_test): Likewise.
19475 (atanh_test): Likewise.
19476 (atan2_test): Likewise.
19477 (cabs_test): Likewise.
19478 (cacos_test): Use END_COMPLEX macro without arguments.
19479 (cacosh_test): Likewise.
19480 (carg_test): Use END macro without arguments.
19481 (casin_test): Use END_COMPLEX macro without arguments.
19482 (casinh_test): Likewise.
19483 (catan_test): Likewise.
19484 (catanh_test): Likewise.
19485 (cbrt_test): Use END macro without arguments.
19486 (ccos_test): Use END_COMPLEX macro without arguments.
19487 (ccosh_test): Likewise.
19488 (ceil_test): Use END macro without arguments.
19489 (cexp_test): Use END_COMPLEX macro without arguments.
19490 (cimag_test): Use END macro without arguments.
19491 (clog_test): Use END_COMPLEX macro without arguments.
19492 (clog10_test): Likewise.
19493 (conj_test): Likewise.
19494 (copysign_test): Use END macro without arguments.
19495 (cos_test): Likewise.
19496 (cos_test_tonearest): Likewise.
19497 (cos_test_towardzero): Likewise.
19498 (cos_test_downward): Likewise.
19499 (cos_test_upward): Likewise.
19500 (cosh_test): Likewise.
19501 (cosh_test_tonearest): Likewise.
19502 (cosh_test_towardzero): Likewise.
19503 (cosh_test_downward): Likewise.
19504 (cosh_test_upward): Likewise.
19505 (cpow_test): Use END_COMPLEX macro without arguments.
19506 (cproj_test): Likewise.
19507 (creal_test): Use END macro without arguments.
19508 (csin_test): Use END_COMPLEX macro without arguments.
19509 (csinh_test): Likewise.
19510 (csqrt_test): Likewise.
19511 (ctan_test): Likewise.
19512 (ctan_test_tonearest): Likewise.
19513 (ctan_test_towardzero): Likewise.
19514 (ctan_test_downward): Likewise.
19515 (ctan_test_upward): Likewise.
19516 (ctanh_test): Likewise.
19517 (ctanh_test_tonearest): Likewise.
19518 (ctanh_test_towardzero): Likewise.
19519 (ctanh_test_downward): Likewise.
19520 (ctanh_test_upward): Likewise.
19521 (erf_test): Use END macro without arguments.
19522 (erfc_test): Likewise.
19523 (exp_test): Likewise.
19524 (exp_test_tonearest): Likewise.
19525 (exp_test_towardzero): Likewise.
19526 (exp_test_downward): Likewise.
19527 (exp_test_upward): Likewise.
19528 (exp10_test): Likewise.
19529 (exp2_test): Likewise.
19530 (expm1_test): Likewise.
19531 (fabs_test): Likewise.
19532 (fdim_test): Likewise.
19533 (finite_test): Likewise.
19534 (floor_test): Likewise.
19535 (fma_test): Likewise.
19536 (fma_test_towardzero): Likewise.
19537 (fma_test_downward): Likewise.
19538 (fma_test_upward): Likewise.
19539 (fmax_test): Likewise.
19540 (fmin_test): Likewise.
19541 (fmod_test): Likewise.
19542 (fpclassify_test): Likewise.
19543 (frexp_test): Likewise.
19544 (gamma_test): Likewise.
19545 (hypot_test): Likewise.
19546 (ilogb_test): Likewise.
19547 (isfinite_test): Likewise.
19548 (isgreater_test): Likewise.
19549 (isgreaterequal_test): Likewise.
19550 (isinf_test): Likewise.
19551 (isless_test): Likewise.
19552 (islessequal_test): Likewise.
19553 (islessgreater_test): Likewise.
19554 (isnan_test): Likewise.
19555 (isnormal_test): Likewise.
19556 (issignaling_test): Likewise.
19557 (isunordered_test): Likewise.
19558 (j0_test): Likewise.
19559 (j1_test): Likewise.
19560 (jn_test): Likewise.
19561 (ldexp_test): Likewise.
19562 (lgamma_test): Likewise.
19563 (lrint_test): Likewise.
19564 (lrint_test_tonearest): Likewise.
19565 (lrint_test_towardzero): Likewise.
19566 (lrint_test_downward): Likewise.
19567 (lrint_test_upward): Likewise.
19568 (llrint_test): Likewise.
19569 (llrint_test_tonearest): Likewise.
19570 (llrint_test_towardzero): Likewise.
19571 (llrint_test_downward): Likewise.
19572 (llrint_test_upward): Likewise.
19573 (log_test): Likewise.
19574 (log10_test): Likewise.
19575 (log1p_test): Likewise.
19576 (log2_test): Likewise.
19577 (logb_test): Likewise.
19578 (logb_test_downward): Likewise.
19579 (lround_test): Likewise.
19580 (llround_test): Likewise.
19581 (modf_test): Likewise.
19582 (nearbyint_test): Likewise.
19583 (nextafter_test): Likewise.
19584 (nexttoward_test): Likewise.
19585 (pow_test): Likewise.
19586 (pow_test_tonearest): Likewise.
19587 (pow_test_towardzero): Likewise.
19588 (pow_test_downward): Likewise.
19589 (pow_test_upward): Likewise.
19590 (remainder_test): Likewise.
19591 (remainder_test_tonearest): Likewise.
19592 (remainder_test_towardzero): Likewise.
19593 (remainder_test_downward): Likewise.
19594 (remainder_test_upward): Likewise.
19595 (remquo_test): Likewise.
19596 (rint_test): Likewise.
19597 (rint_test_tonearest): Likewise.
19598 (rint_test_towardzero): Likewise.
19599 (rint_test_downward): Likewise.
19600 (rint_test_upward): Likewise.
19601 (round_test): Likewise.
19602 (scalb_test): Likewise.
19603 (scalbn_test): Likewise.
19604 (scalbln_test): Likewise.
19605 (signbit_test): Likewise.
19606 (sin_test): Likewise.
19607 (sin_test_tonearest): Likewise.
19608 (sin_test_towardzero): Likewise.
19609 (sin_test_downward): Likewise.
19610 (sin_test_upward): Likewise.
19611 (sincos_test): Likewise.
19612 (sinh_test): Likewise.
19613 (sinh_test_tonearest): Likewise.
19614 (sinh_test_towardzero): Likewise.
19615 (sinh_test_downward): Likewise.
19616 (sinh_test_upward): Likewise.
19617 (sqrt_test): Likewise.
19618 (tan_test): Likewise.
19619 (tan_test_tonearest): Likewise.
19620 (tan_test_towardzero): Likewise.
19621 (tan_test_downward): Likewise.
19622 (tan_test_upward): Likewise.
19623 (tanh_test): Likewise.
19624 (tgamma_test): Likewise.
19625 (trunc_test): Likewise.
19626 (y0_test): Likewise.
19627 (y1_test): Likewise.
19628 (yn_test): Likewise.
19629 (significand_test): Likewise.
19631 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19634 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19636 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19639 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19640 __ppc_mdoio and __ppc_mdoom.
19641 * manual/platform.texi: Document new functions __ppc_yield,
19642 __ppc_mdoio and __ppc_mdoom.
19644 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19646 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19647 (main): Mention "tls" pseudo-hwcap is legacy.
19648 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19650 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19652 * math/gen-libm-test.pl (parse_args): Output only string of
19653 arguments as text for test name, not full call or descriptions of
19654 tests for extra outputs.
19655 (generate_testfile): Do not pass function name to parse_args.
19656 Generate this_func variable from START.
19657 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19659 (struct test_ff_f_data): Likewise.
19660 (test_ff_f_data_nexttoward): Likewise.
19661 (struct test_fi_f_data): Likewise.
19662 (struct test_fl_f_data): Likewise.
19663 (struct test_if_f_data): Likewise.
19664 (struct test_fff_f_data): Likewise.
19665 (struct test_c_f_data): Likewise.
19666 (struct test_f_f1_data): Likewise. Remove field extra_name.
19667 (struct test_fF_f1_data): Likewise.
19668 (struct test_ffI_f1_data): Likewise.
19669 (struct test_c_c_data): Rename test_name field to arg_str.
19670 (struct test_cc_c_data): Likewise.
19671 (struct test_f_i_data): Likewise.
19672 (struct test_ff_i_data): Likewise.
19673 (struct test_f_l_data): Likewise.
19674 (struct test_f_L_data): Likewise.
19675 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19677 (COMMON_TEST_SETUP): New macro.
19678 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19679 (COMMON_TEST_CLEANUP): Likewise.
19680 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19681 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19683 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19684 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19686 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19687 (RUN_TEST_fff_f): Take argument string. Call new setup and
19689 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19690 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19692 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19693 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19695 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19696 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19698 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19699 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19701 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19702 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19704 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19705 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19707 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19708 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19710 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19711 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19713 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19714 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19716 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19717 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19719 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19720 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19722 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19723 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19725 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19726 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19728 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19729 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19731 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19732 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19734 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19736 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19738 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19739 to _sifields.sigfault.
19740 (si_addr_lsb): Define new macro.
19741 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19742 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19743 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19745 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19748 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19750 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19752 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19753 loading the domain.
19755 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19757 * math/gen-libm-test.pl (parse_args): Do not include expected
19758 result in test name.
19759 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19760 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19761 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19762 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19763 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19766 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19768 * benchtests/Makefile: Sort function entries.
19770 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19771 tanh, asinh, acosh, atanh.
19772 * benchtests/acos-inputs: New file.
19773 * benchtests/acosh-inputs: New file.
19774 * benchtests/asin-inputs: New file.
19775 * benchtests/asinh-inputs: New file.
19776 * benchtests/atanh-inputs: New file.
19777 * benchtests/cosh-inputs: New file.
19778 * benchtests/log-inputs: New file.
19779 * benchtests/sinh-inputs: New file.
19780 * benchtests/tanh-inputs: New file.
19782 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19785 * posix/tst-getaddrinfo4.c: New test.
19786 * posix/Makefile (tests): Add it.
19788 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19791 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19792 when no services were used.
19793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19794 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19796 2013-05-21 Andreas Schwab <schwab@suse.de>
19799 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19800 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19802 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19803 redundant variable declarations and reallocation of buffer when
19804 parsing as IPv6 address. Always set NSS status when called from
19805 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19806 buffer too small. Correct computation of needed size.
19807 * nss/Makefile (tests): Add test-digits-dots.
19808 * nss/test-digits-dots.c: New test.
19810 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19812 * benchtests/Makefile: Remove instructions for adding
19814 * benchtests/README: New file to explain how to execute and
19815 enhance the benchmark tests.
19817 2013-05-21 Andreas Schwab <schwab@suse.de>
19820 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19821 * setjmp/tst-sigsetjmp.c: New test.
19823 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19825 * sysdeps/x86_64/memset.S (memset): New implementation.
19826 (__bzero): Likewise.
19827 (__memset_tail): New function.
19829 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19831 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19832 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19833 __memcpy_sse2_unaligned ifunc selection.
19834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19835 Add memcpy-sse2-unaligned.S.
19836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19837 Add: __memcpy_sse2_unaligned.
19839 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19842 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19843 math_force_eval before restoring floating-point envrionment.
19844 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19847 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19849 (__nearbyintl): Use math_force_eval before restoring
19850 floating-point environment.
19851 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19853 * math/gen-libm-test.pl (special_functions): Remove.
19854 (parse_args): Don't handle TEST_extra. Handle functions with no
19856 * math/libm-test.inc (struct test_sincos_data): Replace with
19857 struct test_fFF_11_data.
19858 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19859 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19860 (sincos_test_data): Change element type to struct
19861 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19862 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19863 RUN_TEST_LOOP_sincos.
19864 * math/README.libm-test: Don't mention special handling of
19865 individual functions.
19866 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19868 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19869 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19870 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19873 * math/gen-libm-test.pl (get_variable): Remove function.
19874 (parse_args): Don't show pointer parameters to call in test
19875 names. Use "extra output N" in test names for extra outputs
19876 rather than naming variables.
19878 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19881 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19882 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19883 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19885 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19887 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19890 * math/gen-libm-test.pl (@tests): Remove variable.
19891 ($count): Likewise.
19892 (new_test): Remove function.
19893 (show_exceptions): New function.
19894 (special_functions): Use show_exceptions instead of new_test.
19895 (parse_args): Likewise.
19896 (generate_testfile): Pass only function name in generated call to
19897 print_max_error or print_complex_max_error.
19898 (get_ulps): Do not handle complex tests specially.
19899 (output_test): Rename to ...
19900 (get_all_ulps_for_test): ... this. Return a string rather than
19901 printing to a file. Require ulps to be present.
19902 (output_ulps): Generate arrays rather than #defines.
19903 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19904 (struct ulp_data): New type.
19905 (BUILD_COMPLEX_ULP): Remove macro.
19906 (compare_ulp_data): New function.
19907 (find_ulps): Likewise.
19908 (find_test_ulps): Likewise.
19909 (find_function_ulps): Likewise.
19910 (find_complex_function_ulps): Likewise.
19911 (print_max_error): Determine allowed ulps using
19912 find_function_ulps.
19913 (print_complex_max_error): Determine allowed ulps using
19914 find_complex_function_ulps.
19915 (check_float_internal): Determine max ulps using find_test_ulps.
19916 (check_float): Do not take max_ulp parameter. Update call to
19917 check_float_internal.
19918 (check_complex): Likewise.
19919 (check_int): Do not take max_ulp parameter.
19920 (check_long): Likewise.
19921 (check_bool): Likewise.
19922 (check_longlong): Likewise.
19923 (struct test_f_f_data): Remove max_ulp field.
19924 (struct test_ff_f_data): Likewise.
19925 (struct test_ff_f_data_nexttoward): Likewise.
19926 (struct test_fi_f_data): Likewise.
19927 (struct test_fl_f_data): Likewise.
19928 (struct test_if_f_data): Likewise.
19929 (struct test_fff_f_data): Likewise.
19930 (struct test_c_f_data): Likewise.
19931 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19932 (struct test_fF_f1_data): Likewise.
19933 (struct test_ffI_f1_data): Likewise.
19934 (struct test_c_c_data): Remove max_ulp field.
19935 (struct test_cc_c_data): Likewise.
19936 (struct test_f_i_data): Likewise.
19937 (struct test_ff_i_data): Likewise.
19938 (struct test_f_l_data): Likewise.
19939 (struct test_f_L_data): Likewise.
19940 (struct test_sincos_data): Likewise.
19941 (RUN_TEST_f_f): Do not handle ulps.
19942 (RUN_TEST_LOOP_f_f): Likewise.
19943 (RUN_TEST_2_f): Likewise.
19944 (RUN_TEST_LOOP_2_f): Likewise.
19945 (RUN_TEST_fff_f): Likewise.
19946 (RUN_TEST_LOOP_fff_f): Likewise.
19947 (RUN_TEST_c_f): Likewise.
19948 (RUN_TEST_LOOP_c_f): Likewise.
19949 (RUN_TEST_f_f1): Likewise.
19950 (RUN_TEST_LOOP_f_f1): Likewise.
19951 (RUN_TEST_fF_f1): Likewise.
19952 (RUN_TEST_LOOP_fF_f1): Likewise.
19953 (RUN_TEST_fI_f1): Likewise.
19954 (RUN_TEST_LOOP_fI_f1): Likewise.
19955 (RUN_TEST_ffI_f1): Likewise.
19956 (RUN_TEST_LOOP_ffI_f1): Likewise.
19957 (RUN_TEST_c_c): Likewise.
19958 (RUN_TEST_LOOP_c_c): Likewise.
19959 (RUN_TEST_cc_c): Likewise.
19960 (RUN_TEST_LOOP_cc_c): Likewise.
19961 (RUN_TEST_f_i): Likewise.
19962 (RUN_TEST_LOOP_f_i): Likewise.
19963 (RUN_TEST_f_i_tg): Likewise.
19964 (RUN_TEST_LOOP_f_i_tg): Likewise.
19965 (RUN_TEST_ff_i_tg): Likewise.
19966 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19967 (RUN_TEST_f_b): Likewise.
19968 (RUN_TEST_LOOP_f_b): Likewise.
19969 (RUN_TEST_f_b_tg): Likewise.
19970 (RUN_TEST_LOOP_f_b_tg): Likewise.
19971 (RUN_TEST_f_l): Likewise.
19972 (RUN_TEST_LOOP_f_l): Likewise.
19973 (RUN_TEST_f_L): Likewise.
19974 (RUN_TEST_LOOP_f_L): Likewise.
19975 (RUN_TEST_sincos): Likewise.
19976 (RUN_TEST_LOOP_sincos): Likewise.
19978 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19982 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19983 main case of finite arguments, set rounding mode to FE_TONEAREST
19984 and discard exceptions.
19985 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19987 (remainder_tonearest_test_data): New variable.
19988 (remainder_test_tonearest): New function.
19989 (remainder_towardzero_test_data): New variable.
19990 (remainder_test_towardzero): New function.
19991 (remainder_downward_test_data): New variable.
19992 (remainder_test_downward): New function.
19993 (remainder_upward_test_data): New variable.
19994 (remainder_test_upward): New function.
19995 (main): Call the new test functions.
19997 * math/libm-test.inc (struct test_f_f1_data): Remove field
19999 (struct test_fF_f1_data): Likewise.
20000 (struct test_ffI_f1_data): Likewise.
20001 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20002 based on value of EXTRA_EXPECTED.
20003 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20004 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20005 EXTRA_VAR based on value of EXTRA_EXPECTED.
20006 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20007 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20008 EXTRA_VAR based on value of EXTRA_EXPECTED.
20009 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20010 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20011 EXTRA_VAR based on value of EXTRA_EXPECTED.
20012 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20013 * math/gen-libm-test.pl (parse_args): Don't output initializers
20014 for extra output values.
20016 * math/libm-test.inc (check_int): Expect result to be exactly
20017 equal to expected value and do not handle ulps.
20018 (check_long): Likewise.
20019 (check_longlong): Likewise.
20021 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20023 (cimag_test_data): Likewise.
20024 (conj_test_data): Likewise.
20025 (copysign_test_data): Likewise.
20026 (cproj_test_data): Likewise.
20027 (creal_test_data): Likewise.
20028 (fabs_test_data): Likewise.
20029 (fdim_test_data): Likewise.
20030 (finite_test_data): Likewise.
20031 (floor_test_data): Likewise.
20032 (fmax_test_data): Likewise.
20033 (fmin_test_data): Likewise.
20034 (fmod_test_data): Likewise.
20035 (fpclassify_test_data): Likewise.
20036 (frexp_test_data): Likewise.
20037 (ilogb_test_data): Likewise.
20038 (isfinite_test_data): Likewise.
20039 (isgreater_test_data): Likewise.
20040 (isgreaterequal_test_data): Likewise.
20041 (isinf_test_data): Likewise.
20042 (isless_test_data): Likewise.
20043 (islessequal_test_data): Likewise.
20044 (islessgreater_test_data): Likewise.
20045 (isnan_test_data): Likewise.
20046 (isnormal_test_data): Likewise.
20047 (issignaling_test_data): Likewise.
20048 (isunordered_test_data): Likewise.
20049 (ldexp_test_data): Likewise.
20050 (lrint_test_data): Likewise.
20051 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20052 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20053 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20054 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20055 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20056 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20058 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20059 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20060 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20061 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20063 (lrint_downward_test_data): Test for "inexact" exceptions.
20064 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20065 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20066 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20068 (lrint_upward_test_data): Test for "inexact" exceptions.
20069 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20071 (llrint_test_data): Test for "inexact" exceptions.
20072 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20073 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20074 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20075 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20076 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20077 (llrint_downward_test_data): Test for "inexact" exceptions.
20078 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20079 (llrint_upward_test_data): Test for "inexact" exceptions.
20080 (logb_test_data): Likewise.
20081 (logb_downward_test_data): Likewise.
20082 (nextafter_test_data): Likewise.
20083 (nexttoward_test_data): Likewise.
20084 (remainder_test_data): Likewise.
20085 (remquo_test_data): Likewise.
20086 (scalbn_test_data): Likewise.
20087 (scalbln_test_data): Likewise.
20088 (signbit_test_data): Likewise.
20089 (sqrt_test_data): Likewise.
20090 (significand_test_data): Likewise.
20092 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20095 * benchtests/bench-modf.c (struct args): Mark arg0 as
20097 * scripts/bench.pl: Mark members of struct args as volatile.
20099 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20102 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20103 negative infinity on POWER6 or lower.
20104 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20106 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20109 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20110 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20111 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20112 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20113 (_FP_SETQNAN): New macro.
20114 (_FP_SETQNAN_SEMIRAW): Likewise.
20115 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20116 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20117 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20118 (FP_EXTEND): Use _FP_FRAC_SNANP.
20119 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20120 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20122 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20124 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20127 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20129 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20130 with DIVIDE_BY_ZERO_EXCEPTION.
20131 (gamma_test_data): Likewise.
20132 (lgamma_test_data): Likewise.
20133 (log_test_data): Likewise.
20134 (log10_test_data): Likewise.
20135 (log2_test_data): Likewise.
20136 (tgamma_test_data): Likewise.
20138 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20139 (acos_test_tonearest): Likewise.
20140 (acos_test_towardzero): Likewise.
20141 (acos_test_downward): Likewise.
20142 (acos_test_upward): Likewise.
20143 (acosh_test): Likewise.
20144 (asin_test): Likewise.
20145 (asin_test_tonearest): Likewise.
20146 (asin_test_towardzero): Likewise.
20147 (asin_test_downward): Likewise.
20148 (asin_test_upward): Likewise.
20149 (asinh_test): Likewise.
20150 (atan_test): Likewise.
20151 (atanh_test): Likewise.
20152 (atan2_test): Likewise.
20153 (cabs_test): Likewise.
20154 (cacos_test): Likewise.
20155 (cacosh_test): Likewise.
20156 (casin_test): Likewise.
20157 (casinh_test): Likewise.
20158 (catan_test): Likewise.
20159 (catanh_test): Likewise.
20160 (cbrt_test): Likewise.
20161 (ccos_test): Likewise.
20162 (ccosh_test): Likewise.
20163 (cexp_test): Likewise.
20164 (clog_test): Likewise.
20165 (clog10_test): Likewise.
20166 (cos_test): Likewise.
20167 (cos_test_tonearest): Likewise.
20168 (cos_test_towardzero): Likewise.
20169 (cos_test_downward): Likewise.
20170 (cos_test_upward): Likewise.
20171 (cosh_test): Likewise.
20172 (cosh_test_tonearest): Likewise.
20173 (cosh_test_towardzero): Likewise.
20174 (cosh_test_downward): Likewise.
20175 (cosh_test_upward): Likewise.
20176 (cpow_test): Likewise.
20177 (csin_test): Likewise.
20178 (csinh_test): Likewise.
20179 (csqrt_test): Likewise.
20180 (ctan_test): Likewise.
20181 (ctan_test_tonearest): Likewise.
20182 (ctan_test_towardzero): Likewise.
20183 (ctan_test_downward): Likewise.
20184 (ctan_test_upward): Likewise.
20185 (ctanh_test): Likewise.
20186 (ctanh_test_tonearest): Likewise.
20187 (ctanh_test_towardzero): Likewise.
20188 (ctanh_test_downward): Likewise.
20189 (ctanh_test_upward): Likewise.
20190 (erf_test): Likewise.
20191 (erfc_test): Likewise.
20192 (exp_test): Likewise.
20193 (exp_test_tonearest): Likewise.
20194 (exp_test_towardzero): Likewise.
20195 (exp_test_downward): Likewise.
20196 (exp_test_upward): Likewise.
20197 (exp10_test): Likewise.
20198 (exp2_test): Likewise.
20199 (expm1_test): Likewise.
20200 (fmod_test): Likewise.
20201 (gamma_test): Likewise.
20202 (hypot_test): Likewise.
20203 (j0_test): Likewise.
20204 (j1_test): Likewise.
20205 (jn_test): Likewise.
20206 (lgamma_test): Likewise.
20207 (log_test): Likewise.
20208 (log10_test): Likewise.
20209 (log1p_test): Likewise.
20210 (log2_test): Likewise.
20211 (logb_test_downward): Likewise.
20212 (pow_test): Likewise.
20213 (pow_test_tonearest): Likewise.
20214 (pow_test_towardzero): Likewise.
20215 (pow_test_downward): Likewise.
20216 (pow_test_upward): Likewise.
20217 (remainder_test): Likewise.
20218 (remquo_test): Likewise.
20219 (sin_test): Likewise.
20220 (sin_test_tonearest): Likewise.
20221 (sin_test_towardzero): Likewise.
20222 (sin_test_downward): Likewise.
20223 (sin_test_upward): Likewise.
20224 (sincos_test): Likewise.
20225 (sinh_test): Likewise.
20226 (sinh_test_tonearest): Likewise.
20227 (sinh_test_towardzero): Likewise.
20228 (sinh_test_downward): Likewise.
20229 (sinh_test_upward): Likewise.
20230 (sqrt_test): Likewise.
20231 (tan_test): Likewise.
20232 (tan_test_tonearest): Likewise.
20233 (tan_test_towardzero): Likewise.
20234 (tan_test_downward): Likewise.
20235 (tan_test_upward): Likewise.
20236 (tanh_test): Likewise.
20237 (tgamma_test): Likewise.
20238 (y0_test): Likewise.
20239 (y1_test): Likewise.
20240 (yn_test): Likewise.
20242 * math/gen-libm-test.pl (adjust_arg): Remove function.
20243 (special_function): Remove argument $in_func. Only handle
20244 generating output for tables of tests, not inside functions.
20245 (parse_args): Likewise.
20246 (generate_testfile): Remove variable $in_func. Update call to
20248 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20249 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20250 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20251 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20252 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20253 (MAX_VALUE_INIT): Rename macro to max_value.
20254 (MIN_VALUE_INIT): Rename macro to min_value.
20255 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20256 (plus_zero): Remove variable.
20257 (minus_zero): Likewise.
20258 (plus_infty): Likewise.
20259 (minus_infty): Likewise.
20260 (qnan_value): Likewise.
20261 (max_value): Likewise.
20262 (min_value): Likewise.
20263 (min_subnorm_value): Likewise.
20265 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20267 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20268 uint64_t or uint32_t usage.
20269 * crypt/sha256-block.c: Likewise.
20270 * crypt/sha256-crypt.c: Likewise.
20271 * crypt/sha256.c: Likewise.
20272 * crypt/sha512-block.c: Likewise.
20273 * crypt/sha512-crypt.c: Likewise.
20274 * crypt/sha512.c: Likewise.
20275 * debug/backtrace-tst.c: Likewise.
20276 * debug/pcprofiledump.c: Likewise.
20277 * elf/cache.c: Likewise.
20278 * elf/dl-cache.c: Likewise.
20279 * elf/dl-misc.c: Likewise.
20280 * elf/dl-profile.c: Likewise.
20281 * elf/dl-support.c: Likewise.
20282 * elf/ldconfig.c: Likewise.
20283 * elf/sprof.c: Likewise.
20284 * iconv/dummy-repertoire.c: Likewise.
20285 * iconv/iconv_charmap.c: Likewise.
20286 * iconv/skeleton.c: Likewise.
20287 * iconvdata/8bit-generic.c: Likewise.
20288 * iconvdata/cp737.h: Likewise.
20289 * iconvdata/cp775.h: Likewise.
20290 * iconvdata/ibm1008.h: Likewise.
20291 * iconvdata/ibm1025.h: Likewise.
20292 * iconvdata/ibm1046.h: Likewise.
20293 * iconvdata/ibm1097.h: Likewise.
20294 * iconvdata/ibm1112.h: Likewise.
20295 * iconvdata/ibm1122.h: Likewise.
20296 * iconvdata/ibm1123.h: Likewise.
20297 * iconvdata/ibm1124.h: Likewise.
20298 * iconvdata/ibm1129.h: Likewise.
20299 * iconvdata/ibm1130.h: Likewise.
20300 * iconvdata/ibm1132.h: Likewise.
20301 * iconvdata/ibm1133.h: Likewise.
20302 * iconvdata/ibm1137.h: Likewise.
20303 * iconvdata/ibm1140.h: Likewise.
20304 * iconvdata/ibm1141.h: Likewise.
20305 * iconvdata/ibm1142.h: Likewise.
20306 * iconvdata/ibm1143.h: Likewise.
20307 * iconvdata/ibm1144.h: Likewise.
20308 * iconvdata/ibm1145.h: Likewise.
20309 * iconvdata/ibm1146.h: Likewise.
20310 * iconvdata/ibm1147.h: Likewise.
20311 * iconvdata/ibm1148.h: Likewise.
20312 * iconvdata/ibm1149.h: Likewise.
20313 * iconvdata/ibm1153.h: Likewise.
20314 * iconvdata/ibm1154.h: Likewise.
20315 * iconvdata/ibm1155.h: Likewise.
20316 * iconvdata/ibm1156.h: Likewise.
20317 * iconvdata/ibm1157.h: Likewise.
20318 * iconvdata/ibm1158.h: Likewise.
20319 * iconvdata/ibm1160.h: Likewise.
20320 * iconvdata/ibm1161.h: Likewise.
20321 * iconvdata/ibm1162.h: Likewise.
20322 * iconvdata/ibm1163.h: Likewise.
20323 * iconvdata/ibm1164.h: Likewise.
20324 * iconvdata/ibm1166.h: Likewise.
20325 * iconvdata/ibm1167.h: Likewise.
20326 * iconvdata/ibm12712.h: Likewise.
20327 * iconvdata/ibm1390.h: Likewise.
20328 * iconvdata/ibm1399.h: Likewise.
20329 * iconvdata/ibm16804.h: Likewise.
20330 * iconvdata/ibm4517.h: Likewise.
20331 * iconvdata/ibm4899.h: Likewise.
20332 * iconvdata/ibm4909.h: Likewise.
20333 * iconvdata/ibm4971.h: Likewise.
20334 * iconvdata/ibm5347.h: Likewise.
20335 * iconvdata/ibm803.h: Likewise.
20336 * iconvdata/ibm856.h: Likewise.
20337 * iconvdata/ibm901.h: Likewise.
20338 * iconvdata/ibm902.h: Likewise.
20339 * iconvdata/ibm9030.h: Likewise.
20340 * iconvdata/ibm9066.h: Likewise.
20341 * iconvdata/ibm921.h: Likewise.
20342 * iconvdata/ibm922.h: Likewise.
20343 * iconvdata/ibm9448.h: Likewise.
20344 * iconvdata/isiri-3342.h: Likewise.
20345 * iconvdata/jis0201.h: Likewise.
20346 * include/link.h: Likewise.
20347 * include/netdb.h: Likewise.
20348 * inet/check_native.c: Likewise.
20349 * inet/check_pf.c: Likewise.
20350 * inet/getipv4sourcefilter.c: Likewise.
20351 * inet/getnameinfo.c: Likewise.
20352 * inet/getsourcefilter.c: Likewise.
20353 * inet/htonl.c: Likewise.
20354 * inet/setipv4sourcefilter.c: Likewise.
20355 * inet/setsourcefilter.c: Likewise.
20356 * inet/test-inet6_opt.c: Likewise.
20357 * inet/tst-network.c: Likewise.
20358 * locale/C-collate.c: Likewise.
20359 * locale/C-ctype.c: Likewise.
20360 * locale/C-time.c: Likewise.
20361 * locale/C-translit.h: Likewise.
20362 * locale/loadarchive.c: Likewise.
20363 * locale/programs/3level.h: Likewise.
20364 * locale/programs/charmap.c: Likewise.
20365 * locale/programs/charmap.h: Likewise.
20366 * locale/programs/ld-address.c: Likewise.
20367 * locale/programs/ld-collate.c: Likewise.
20368 * locale/programs/ld-ctype.c: Likewise.
20369 * locale/programs/ld-identification.c: Likewise.
20370 * locale/programs/ld-measurement.c: Likewise.
20371 * locale/programs/ld-messages.c: Likewise.
20372 * locale/programs/ld-monetary.c: Likewise.
20373 * locale/programs/ld-name.c: Likewise.
20374 * locale/programs/ld-numeric.c: Likewise.
20375 * locale/programs/ld-paper.c: Likewise.
20376 * locale/programs/ld-telephone.c: Likewise.
20377 * locale/programs/ld-time.c: Likewise.
20378 * locale/programs/linereader.c: Likewise.
20379 * locale/programs/locale.c: Likewise.
20380 * locale/programs/locarchive.c: Likewise.
20381 * locale/programs/locfile.h: Likewise.
20382 * locale/programs/repertoire.c: Likewise.
20383 * locale/programs/simple-hash.c: Likewise.
20384 * locale/programs/simple-hash.h: Likewise.
20385 * malloc/memusage.c: Likewise.
20386 * malloc/memusagestat.c: Likewise.
20387 * nis/nis_defaults.c: Likewise.
20388 * nis/nis_hash.c: Likewise.
20389 * nis/nis_print.c: Likewise.
20390 * nis/nis_xdr.c: Likewise.
20391 * nscd/connections.c: Likewise.
20392 * nscd/hstcache.c: Likewise.
20393 * nscd/nscd_gethst_r.c: Likewise.
20394 * nscd/nscd_getserv_r.c: Likewise.
20395 * nscd/nscd_helper.c: Likewise.
20396 * nscd/servicescache.c: Likewise.
20397 * nss/makedb.c: Likewise.
20398 * nss/nss_db/db-XXX.c: Likewise.
20399 * nss/nss_db/db-initgroups.c: Likewise.
20400 * nss/nss_db/db-netgrp.c: Likewise.
20401 * nss/nss_files/files-network.c: Likewise.
20402 * nss/nss_files/files-parse.c: Likewise.
20403 * posix/bug-regex5.c: Likewise.
20404 * posix/fnmatch_loop.c: Likewise.
20405 * posix/regcomp.c: Likewise.
20406 * posix/regexec.c: Likewise.
20407 * posix/tst-rfc3484-2.c: Likewise.
20408 * posix/tst-rfc3484-3.c: Likewise.
20409 * posix/tst-rfc3484.c: Likewise.
20410 * resolv/nss_dns/dns-canon.c: Likewise.
20411 * resolv/nss_dns/dns-network.c: Likewise.
20412 * resolv/res_init.c: Likewise.
20413 * resolv/res_mkquery.c: Likewise.
20414 * resolv/tst-aton.c: Likewise.
20415 * stdlib/cxa_atexit.c: Likewise.
20416 * stdlib/cxa_finalize.c: Likewise.
20417 * stdlib/gen-fpioconst.c: Likewise.
20418 * stdlib/strtol_l.c: Likewise.
20419 * string/tst-endian.c: Likewise.
20420 * sunrpc/auth_des.c: Likewise.
20421 * sunrpc/clnt_udp.c: Likewise.
20422 * sunrpc/rtime.c: Likewise.
20423 * sunrpc/svcauth_des.c: Likewise.
20424 * sunrpc/xdr.c: Likewise.
20425 * sunrpc/xdr_intXX_t.c: Likewise.
20426 * sunrpc/xdr_rec.c: Likewise.
20427 * sysdeps/generic/ldconfig.h: Likewise.
20428 * sysdeps/generic/ldsodefs.h: Likewise.
20429 * sysdeps/generic/memusage.h: Likewise.
20430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20433 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20436 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20437 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20438 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20440 * sysdeps/posix/getaddrinfo.c: Likewise.
20441 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20442 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20443 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20444 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20445 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20446 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20447 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20448 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20449 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20450 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20451 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20452 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20453 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20454 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20455 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20456 * sysdeps/x86_64/dl-tls.h: Likewise.
20457 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20458 * time/alt_digit.c: Likewise.
20459 * time/era.c: Likewise.
20460 * wcsmbs/tst-c16c32-1.c: Likewise.
20462 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20464 * math/libm-test.inc (struct test_sincos_data): New type.
20465 (RUN_TEST_LOOP_sincos): New macro.
20466 (sincos_test_data): New variable.
20467 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20469 2013-05-16 Richard Henderson <rth@redhat.com>
20471 * math/atest-exp2.c (LIMB64): New macro.
20472 (CONSTSZ): New macro.
20473 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20475 (print_mpn_fp): ... to function scope.
20476 (read_mpn_hex): Remove.
20477 (get_log2): Remove.
20478 (exp2_mpn): Use mp_log2.
20479 (main): Use mp_exp1.
20481 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20483 * math/libm-test.inc: Remove comment about not testing "inexact"
20485 (INEXACT_EXCEPTION): New macro.
20486 (NO_INEXACT_EXCEPTION): Likewise.
20487 (INVALID_EXCEPTION_OK): Update value.
20488 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20489 (OVERFLOW_EXCEPTION_OK): Likewise.
20490 (UNDERFLOW_EXCEPTION_OK): Likewise.
20491 (IGNORE_ZERO_INF_SIGN): Likewise.
20492 (ERRNO_UNCHANGED): Likewise.
20493 (ERRNO_EDOM): Likewise.
20494 (ERRNO_ERANGE): Likewise.
20495 (test_exceptions): Handle testing "inexact" exceptions.
20496 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20497 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20498 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20499 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20501 (rint_towardzero_test_data): Likewise.
20502 (rint_downward_test_data): Likewise.
20503 (rint_upward_test_data): Likewise.
20505 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20506 with OVERFLOW_EXCEPTION.
20507 (exp10_test_data): Likewise.
20508 (exp2_test_data): Likewise.
20509 (expm1_test_data): Likewise.
20510 (lgamma_test_data): Likewise.
20511 (pow_test_data): Likewise.
20512 (tgamma_test_data): Likewise.
20513 (yn_test_data): Remove duplicate test of overflow.
20515 * math/libm-test.inc (struct test_cc_c_data): New type.
20516 (RUN_TEST_LOOP_cc_c): New macro.
20517 (cpow_test_data): New variable.
20518 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20520 * math/libm-test.inc (struct test_f_L_data): New type.
20521 (RUN_TEST_LOOP_f_L): New macro.
20522 (llrint_test_data): New variable.
20523 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20524 (llrint_tonearest_test_data): New variable.
20525 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20526 (llrint_towardzero_test_data): New variable.
20527 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20528 (llrint_downward_test_data): New variable.
20529 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20530 (llrint_upward_test_data): New variable.
20531 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20532 (llround_test_data): New variable.
20533 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20535 2013-05-13 Peter Collingbourne <pcc@google.com>
20537 * math/atest-exp2.c (get_log2): Remove const attribute.
20539 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20541 * math/libm-test.inc (struct test_f_l_data): New type.
20542 (RUN_TEST_LOOP_f_l): New macro.
20543 (lrint_test_data): New variable.
20544 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20545 (lrint_tonearest_test_data): New variable.
20546 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20547 (lrint_towardzero_test_data): New variable.
20548 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20549 (lrint_downward_test_data): New variable.
20550 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20551 (lrint_upward_test_data): New variable.
20552 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20553 (lround_test_data): New variable.
20554 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20556 2013-05-15 Peter Collingbourne <pcc@google.com>
20558 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20559 (EXTRACT_WORDS64) Use where appropriate.
20560 (INSERT_WORDS64) Likewise.
20562 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20563 constraints with x constraints.
20564 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20566 * malloc/obstack.c (_obstack_compat): Add initializer.
20568 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20571 si_trapno and add si_addr_lsb to _sifields.sigfault.
20572 (si_trapno): Remove macro.
20573 (si_addr_lsb): Define new macro.
20574 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20576 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20578 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20579 instead of TEST_f_l.
20580 (llrint_test_tonearest): Likewise.
20581 (llrint_test_towardzero): Likewise.
20582 (llrint_test_downward): Likewise.
20583 (llrint_test_upward): Likewise.
20584 (llround_test): Likewise.
20586 * math/libm-test.inc (struct test_f_i_data): Add comment.
20587 (RUN_TEST_LOOP_f_b): New macro.
20588 (RUN_TEST_LOOP_f_b_tg): Likewise.
20589 (finite_test_data): New variable.
20590 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20591 (isfinite_test_data): New variable.
20592 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20593 (isinf_test_data): New variable.
20594 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20595 (isnan_test_data): New variable.
20596 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20597 (isnormal_test_data): New variable.
20598 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20599 (issignaling_test_data): New variable.
20600 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20601 (signbit_test_data): New variable.
20602 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20604 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20605 with INVALID_EXCEPTION.
20606 (acosh_test_data): Likewise.
20607 (asin_test_data): Likewise.
20608 (atanh_test_data): Likewise.
20609 (fmod_test_data): Likewise.
20610 (log_test_data): Likewise.
20611 (log10_test_data): Likewise.
20612 (log2_test_data): Likewise.
20613 (pow_test_data): Likewise.
20614 (sqrt_test_data): Likewise.
20615 (y0_test_data): Likewise.
20616 (y1_test_data): Likewise.
20617 (yn_test_data): Likewise.
20619 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20622 * math/libm-test.inc (struct test_ff_i_data): New type.
20623 (RUN_TEST_LOOP_ff_i_tg): New macro.
20624 (isgreater_test_data): New variable.
20625 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20626 (isgreaterequal_test_data): New variable.
20627 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20628 (isless_test_data): New variable.
20629 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20630 (islessequal_test_data): New variable.
20631 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20632 (islessgreater_test_data): New variable.
20633 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20634 (isunordered_test_data): New variable.
20635 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20637 2013-05-14 David S. Miller <davem@davemloft.net>
20639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20641 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20643 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20645 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20647 (struct test_f_i_data): Change type of max_ulp to int.
20649 * math/libm-test.inc (test_ffI_f1_data): New type.
20650 (RUN_TEST_LOOP_ffI_f1): New macro.
20651 (remquo_test_data): New variable.
20652 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20654 * setjmp/tst-setjmp-fp.c: New file.
20655 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20656 (link-libm): New variable.
20657 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20659 * math/libm-test.inc (struct test_f_i_data): New type.
20660 (RUN_TEST_LOOP_f_i): New macro.
20661 (RUN_TEST_LOOP_f_i_tg): Likewise.
20662 (fpclassify_test_data): New variable.
20663 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20664 (ilogb_test_data): New variable.
20665 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20667 * math/libm-test.inc (scalbln_test): Correct function name in END
20670 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20671 (RUN_TEST_LOOP_fI_f1): New macro.
20672 (frexp_test_data): New variable.
20673 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20675 * math/libm-test.inc (struct test_fF_f1_data): New type.
20676 (RUN_TEST_LOOP_fF_f1): New macro.
20677 (modf_test_data): New variable.
20678 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20680 * math/libm-test.inc (struct test_f_f1_data): New type.
20681 (RUN_TEST_LOOP_f_f1): New macro.
20682 (gamma_test_data): New variable.
20683 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20684 (lgamma_test_data): New variable.
20685 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20687 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20689 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20690 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20691 (main): Comment "tls" pseudo-hwcap.
20693 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20695 * math/libm-test.inc (struct test_fl_f_data): New type.
20696 (RUN_TEST_LOOP_fl_f): New variable.
20697 (scalbln_test_data): New variable.
20698 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20700 * math/libm-test.inc (struct test_fi_f_data): New type.
20701 (RUN_TEST_LOOP_fi_f): New macro.
20702 (ldexp_test_data): New variable.
20703 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20704 (scalbn_test_data): New variable.
20705 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20707 * math/libm-test.inc (struct test_c_f_data): New type.
20708 (RUN_TEST_LOOP_c_f): New macro.
20709 (cabs_test_data): New variable.
20710 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20711 (carg_test_data): New variable.
20712 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20713 (cimag_test_data): New variable.
20714 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20715 (creal_test_data): New variable.
20716 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20718 * math/libm-test.inc (struct test_if_f_data): New type.
20719 (RUN_TEST_LOOP_if_f): New macro.
20720 (jn_test_data): New variable.
20721 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20722 (yn_test_data): New variable.
20723 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20725 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20727 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20729 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20730 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20732 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20734 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20735 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20736 (bench-deps): Add bench-timing.h.
20737 * benchtests-bench-skeleton.c: Include bench-timing.h.
20738 (main): Use TIMING_* macros instead of clock_gettime.
20739 * benchtests/bench-timing.h: New file.
20742 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20743 Renamed from _LIB_VERSION.
20744 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20746 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20748 * math/libm-test.inc (struct test_fff_f_data): New type.
20749 (RUN_TEST_LOOP_fff_f): New macro.
20750 (fma_test_data): New variable.
20751 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20752 (fma_towardzero_test_data): New variable.
20753 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20754 (fma_downward_test_data): New variable.
20755 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20756 (fma_upward_test_data): New variable.
20757 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20759 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20760 (struct test_c_c_data): New type.
20761 (RUN_TEST_LOOP_c_c): New macro.
20762 (cacos_test_data): New variable.
20763 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20764 (cacosh_test_data): New variable.
20765 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20766 (casin_test_data): New variable.
20767 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20768 (casinh_test_data): New variable.
20769 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20770 (catan_test_data): New variable.
20771 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20772 (catanh_test_data): New variable.
20773 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20774 (ccos_test_data): New variable.
20775 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20776 (ccosh_test_data): New variable.
20777 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20778 (cexp_test_data): New variable.
20779 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20780 (clog_test_data): New variable.
20781 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20782 (clog10_test_data): New variable.
20783 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20784 (conj_test_data): New variable.
20785 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20786 (cproj_test_data): New variable.
20787 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20788 (csin_test_data): New variable.
20789 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20790 (csinh_test_data): New variable.
20791 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20792 (csqrt_test_data): New variable.
20793 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20794 (ctan_test_data): New variable.
20795 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20796 (ctan_tonearest_test_data): New variable.
20797 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20798 (ctan_towardzero_test_data): New variable.
20799 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20800 (ctan_downward_test_data): New variable.
20801 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20802 (ctan_upward_test_data): New variable.
20803 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20804 (ctanh_test_data): New variable.
20805 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20806 (ctanh_tonearest_test_data): New variable.
20807 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20808 (ctanh_towardzero_test_data): New variable.
20809 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20810 (ctanh_downward_test_data): New variable.
20811 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20812 (ctanh_upward_test_data): New variable.
20813 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20814 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20817 * math/libm-test.inc (struct test_ff_f_data): New type.
20818 (struct test_ff_f_data_nexttoward): Likewise.
20819 (RUN_TEST_LOOP_2_f): New macro.
20820 (RUN_TEST_LOOP_ff_f): Likewise.
20821 (atan2_test_data): New variable.
20822 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20823 (copysign_test_data): New variable.
20824 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20825 (fdim_test_data): New variable.
20826 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20827 (fmax_test_data): New variable.
20828 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20829 (fmin_test_data): New variable.
20830 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20831 (fmod_test_data): New variable.
20832 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20833 (hypot_test_data): New variable.
20834 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20835 (nextafter_test_data): New variable.
20836 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20837 (nexttoward_test_data): New variable.
20838 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20839 (pow_test_data): New variable.
20840 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20841 (pow_tonearest_test_data): New variable.
20842 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20843 (pow_towardzero_test_data): New variable.
20844 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20845 (pow_downward_test_data): New variable.
20846 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20847 (pow_upward_test_data): New variable.
20848 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20849 (remainder_test_data): New variable.
20850 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20851 (scalb_test_data): New variable.
20852 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20853 * sysdeps/i386/fpu/libm-test-ulps: Update.
20855 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20857 * math/libm-test.inc (fma_test): Use max_value instead of local
20859 (nextafter_test): Likewise.
20861 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20862 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20863 (acos_downward_test_data): New variable.
20864 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20865 (acos_upward_test_data): New variable.
20866 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20867 (acosh_test_data): New variable.
20868 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20869 (asin_test_data): New variable.
20870 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20871 (asin_tonearest_test_data): New variable.
20872 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20873 (asin_towardzero_test_data): New variable.
20874 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20875 (asin_downward_test_data): New variable.
20876 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20877 (asin_upward_test_data): New variable.
20878 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20879 (asinh_test_data): New variable.
20880 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20881 (atan_test_data): New variable.
20882 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20883 (atanh_test_data): New variable.
20884 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20885 (cbrt_test_data): New variable.
20886 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20887 (ceil_test_data): New variable.
20888 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20889 (cos_test_data): New variable.
20890 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20891 (cos_tonearest_test_data): New variable.
20892 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20893 (cos_towardzero_test_data): New variable.
20894 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20895 (cos_downward_test_data): New variable.
20896 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20897 (cos_upward_test_data): New variable.
20898 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20899 (cosh_test_data): New variable.
20900 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20901 (cosh_tonearest_test_data): New variable.
20902 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20903 (cosh_towardzero_test_data): New variable.
20904 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20905 (cosh_downward_test_data): New variable.
20906 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20907 (cosh_upward_test_data): New variable.
20908 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20909 (erf_test_data): New variable.
20910 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20911 (erfc_test_data): New variable.
20912 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20913 (exp_test_data): New variable.
20914 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20915 (exp_tonearest_test_data): New variable.
20916 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20917 (exp_towardzero_test_data): New variable.
20918 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20919 (exp_downward_test_data): New variable.
20920 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20921 (exp_upward_test_data): New variable.
20922 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20923 (exp10_test_data): New variable.
20924 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20925 (exp2_test_data): New variable.
20926 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20927 (expm1_test_data): New variable.
20928 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20929 (fabs_test_data): New variable.
20930 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20931 (floor_test_data): New variable.
20932 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20933 (j0_test_data): New variable.
20934 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20935 (j1_test_data): New variable.
20936 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20937 (log_test_data): New variable.
20938 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20939 (log10_test_data): New variable.
20940 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20941 (log1p_test_data): New variable.
20942 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20943 (log2_test_data): New variable.
20944 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20945 (logb_test_data): New variable.
20946 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20947 (logb_downward_test_data): New variable.
20948 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20949 (nearbyint_test_data): New variable.
20950 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20951 (rint_test_data): New variable.
20952 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20953 (rint_tonearest_test_data): New variable.
20954 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20955 (rint_towardzero_test_data): New variable.
20956 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20957 (rint_downward_test_data): New variable.
20958 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20959 (rint_upward_test_data): New variable.
20960 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20961 (round_test_data): New variable.
20962 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20963 (sin_test_data): New variable.
20964 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20965 (sin_tonearest_test_data): New variable.
20966 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20967 (sin_towardzero_test_data): New variable.
20968 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20969 (sin_downward_test_data): New variable.
20970 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20971 (sin_upward_test_data): New variable.
20972 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20973 (sinh_test_data): New variable.
20974 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20975 (sinh_tonearest_test_data): New variable.
20976 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20977 (sinh_towardzero_test_data): New variable.
20978 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20979 (sinh_downward_test_data): New variable.
20980 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20981 (sinh_upward_test_data): New variable.
20982 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20983 (sqrt_test_data): New variable.
20984 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20985 (tan_test_data): New variable.
20986 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20987 (tan_tonearest_test_data): New variable.
20988 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20989 (tan_towardzero_test_data): New variable.
20990 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20991 (tan_downward_test_data): New variable.
20992 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20993 (tan_upward_test_data): New variable.
20994 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20995 (tanh_test_data): New variable.
20996 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20997 (tgamma_test_data): New variable.
20998 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20999 (trunc_test_data): New variable.
21000 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21001 (y0_test_data): New variable.
21002 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21003 (y1_test_data): New variable.
21004 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21005 (significand_test_data): New variable.
21006 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21008 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21011 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21013 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21015 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21017 2013-05-10 Andreas Jaeger <aj@suse.de>
21020 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21021 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21023 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21025 * math/gen-libm-test.pl (adjust_arg): New function.
21026 (special_functions): Handle generating output in both functions
21028 (parse_args): Likewise.
21029 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21030 $in_func argument to parse_args.
21031 * math/libm-test.inc (struct test_f_f_data): New type.
21032 (IF_ROUND_INIT_): New macro.
21033 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21034 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21035 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21036 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21037 (ROUND_RESTORE_): Likewise.
21038 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21039 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21040 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21041 (ROUND_RESTORE_FE_UPWARD): Likewise.
21042 (RUN_TEST_LOOP_f_f): New macro.
21043 (acos_test_data): New variable.
21044 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21045 (acos_tonearest_test_data): New variable.
21046 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21048 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21050 * benchtests/bench-skeleton.c (startup): Fix coding style.
21052 2013-05-10 Joseph Myers <joseph@codesourcery.com>
21055 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21056 negative infinity argument.
21057 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21058 negative infinity argument.
21059 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21060 negative infinity argument.
21061 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21064 2013-05-10 Florian Weimer <fweimer@redhat.com>
21066 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21067 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21068 * iconv/iconv_prog.c (main): Likewise.
21069 * locale/programs/charmap-dir.c (charmap_readdir)
21070 (fopen_uncompressed): Likewise.
21071 * locale/programs/locfile.c (siblings_uncached)
21072 (write_locale_data): Use lstat64 instead of lstat.
21073 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21076 2013-05-10 Andreas Jaeger <aj@suse.de>
21079 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21081 Include <locale.h>.
21083 2013-05-09 Carlos O'Donell <carlos@redhat.com>
21085 * elf/dl-close.c (_dl_close_worker): Add comments.
21087 2013-05-09 Joseph Myers <joseph@codesourcery.com>
21090 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21092 (__ieee754_rem_pio2l): Update comments.
21095 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21097 (__ieee754_rem_pio2l): Update comments.
21099 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21100 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21102 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21105 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21106 (M_PI_34_LOG10El): Likewise.
21107 (M_PI2_LOG10El): Likewise.
21108 (M_PI4_LOG10El): Likewise.
21109 (M_PI_LOG10El): Likewise.
21111 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21115 2013-05-08 Joseph Myers <joseph@codesourcery.com>
21117 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21118 (MINUS_ZERO_INIT): Likewise.
21119 (PLUS_INFTY_INIT): Likewise.
21120 (MINUS_INFTY_INIT): Likewise.
21121 (QNAN_VALUE_INIT): Likewise.
21122 (MAX_VALUE_INIT): Likewise.
21123 (MIN_VALUE_INIT): Likewise.
21124 (MIN_SUBNORM_VALUE_INIT): Likewise.
21125 (plus_zero): Initialize with PLUS_ZERO_INIT.
21126 (minus_zero): Initialize with MINUS_ZERO_INIT.
21127 (plus_infty): Initialize with PLUS_INFTY_INIT.
21128 (minus_infty): Initialize with MINUS_INFTY_INIT.
21129 (qnan_value): Initialize with QNAN_VALUE_INIT.
21130 (max_value): Initialize with MAX_VALUE_INIT.
21131 (min_value): Initialize with MIN_VALUE_INIT.
21132 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21134 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21135 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21136 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21137 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21139 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21140 (RUN_TEST_2_f): Likewise.
21141 (RUN_TEST_ff_f): Likewise.
21142 (RUN_TEST_fi_f): Likewise.
21143 (RUN_TEST_fl_f): Likewise.
21144 (RUN_TEST_fff_f): Likewise.
21145 (RUN_TEST_c_f): Likewise.
21146 (RUN_TEST_f_f1): Likewise.
21147 (RUN_TEST_fF_f1): Likewise.
21148 (RUN_TEST_fI_f1): Likewise.
21149 (RUN_TEST_ffI_f1): Likewise.
21150 (RUN_TEST_c_c): Likewise.
21151 (RUN_TEST_cc_c): Likewise.
21152 (RUN_TEST_f_i): Likewise.
21153 (RUN_TEST_f_i_tg): Likewise.
21154 (RUN_TEST_ff_i_tg): Likewise.
21155 (RUN_TEST_f_b): Likewise.
21156 (RUN_TEST_f_b_tg): Likewise.
21157 (RUN_TEST_f_l): Likewise.
21158 (RUN_TEST_f_L): Likewise.
21159 (RUN_TEST_sincos): Likewise.
21160 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21161 whether to show exceptions. Do not include ");\n" in return
21163 (special_functions): Output call to RUN_TEST_sincos instead of
21164 check_float calls. Update calls to new_test.
21165 (parse_args): Output call to single RUN_TEST_* macro instead of
21166 check_* calls and other assignments. Update calls to new_test.
21172 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21173 input to result for tgamma overflow.
21174 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21175 (gamma_coeff): New variable.
21176 (NCOEFF): New macro.
21177 (gamma_positive): New function.
21178 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21179 underflow here. Use gamma_positive instead of exp (lgamma) for
21181 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21182 (gamma_coeff): New variable.
21183 (NCOEFF): New macro.
21184 (gammaf_positive): New function.
21185 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21186 underflow here. Use gamma_positive instead of exp (lgamma) for
21188 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21189 (gamma_coeff): New variable.
21190 (NCOEFF): New macro.
21191 (gammal_positive): New function.
21192 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21193 underflow here. Use gamma_positive instead of exp (lgamma) for
21195 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21196 (gamma_coeff): New variable.
21197 (NCOEFF): New macro.
21198 (gammal_positive): New function.
21199 (__ieee754_gammal_r): Handle positive infinity, overflow and
21200 underflow here. Handle NaN the same as positive infinity. Remove
21201 check x < 0xffffffff for negative integers. Use gamma_positive
21202 instead of exp (lgamma) for other arguments.
21203 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21204 (gamma_coeff): New variable.
21205 (NCOEFF): New macro.
21206 (gammal_positive): New function.
21207 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21208 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21209 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21210 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21211 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21212 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21213 * sysdeps/generic/math_private.h (__gamma_productf): New
21215 (__gamma_product): Likewise.
21216 (__gamma_productl): Likewise.
21217 * math/Makefile (libm-calls): Add gamma_product.
21218 * math/libm-test.inc (tgamma_test): Add more tests.
21219 * sysdeps/i386/fpu/libm-test-ulps: Update.
21220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21222 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
21224 * benchtests/bench-skeleton.c (main): Preheat CPU.
21226 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21228 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21230 2013-05-07 Roland McGrath <roland@hack.frob.com>
21232 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21233 and _dl_skip_args_internal.
21235 2013-05-07 Carlos O'Donell <carlos@redhat.com>
21237 * manual/message.texi (Message Translation): Talk about users.
21238 Message to key mapping impacts design.
21240 2013-05-06 Roland McGrath <roland@hack.frob.com>
21242 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21244 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21246 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21247 * sysdeps/wordsize-64/glob64.c: ... here.
21249 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21250 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21253 * debug/getlogin_r_chk.c: Moved to ...
21254 * login/getlogin_r_chk.c: ... here.
21255 * debug/Makefile (routines): Move getlogin_r_chk to ...
21256 * login/Makefile (routines): ... here.
21257 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21258 * login/Versions (libc: GLIBC_2.4): ... here.
21260 * io/poll.c (__poll): Renamed from poll.
21261 Add libc_hidden_def.
21262 (poll): Define as weak alias.
21264 * debug/ptsname_r_chk.c: Moved to ...
21265 * login/ptsname_r_chk.c: ... here.
21266 * debug/Makefile (routines): Move ptsname_r_chk to ...
21267 * login/Makefile (routines): ... here.
21268 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21269 * login/Versions (libc: GLIBC_2.4): ... here.
21271 * posix/getlogin.c: Moved to ...
21272 * login/getlogin.c: ... here.
21273 * posix/getlogin_r.c: Moved to ...
21274 * login/getlogin_r.c: ... here.
21275 * posix/getlogin_r.c: Moved to ...
21276 * login/getlogin_r.c: ... here.
21277 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21278 * login/Makefile (routines): ... here.
21279 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21280 * login/Versions (libc: GLIBC_2.0): ... here.
21282 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21283 (setrlimit): Define as weak alias.
21285 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21286 Call __ names for open, ftruncate, and close.
21287 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21288 (truncate): Define as weak alias.
21290 2013-05-06 Joseph Myers <joseph@codesourcery.com>
21292 * math/gen-libm-test.pl (parse_args): Initialize x before each
21293 test of frexp, modf and remquo.
21295 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21296 test signgam value.
21298 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21302 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21304 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21306 2013-05-06 Roland McGrath <roland@hack.frob.com>
21308 * elf/dl-writev.h: New file.
21309 * elf/dl-misc.c: Include it.
21310 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21311 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21313 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21315 * math/libm-test.inc (noXFails): Remove variable.
21316 (noXPasses): Likewise.
21317 (BUILD_COMPLEX_INT): Remove macro.
21318 (print_screen): Remove xfail argument.
21319 (print_screen_max_error): Likewise.
21320 (update_stats): Likewise.
21321 (print_max_error): Likewise. Update calls to other affected
21323 (print_complex_max_error): Likewise.
21324 (test_single_exception): Update calls to print_screen.
21325 (test_single_errno): Likewise.
21326 (check_float_internal): Remove xfail argument. Update calls to
21327 other affected functions.
21328 (check_float): Likewise.
21329 (check_complex): Likewise.
21330 (check_int): Likewise.
21331 (check_long): Likewise.
21332 (check_bool): Likewise.
21333 (check_longlong): Likewise.
21334 (main): Don't print noXFails and noXPasses.
21335 * math/gen-libm-test.pl (top level): Don't mention expected
21336 failure handling in comment.
21337 (new_test): Don't handle expected failures.
21338 (parse_args): Don't mention expected failure handling in comment.
21339 (generate_testfile): Don't handle expected failures.
21340 (parse_ulps): Likewise.
21341 (print_ulps_file): Likewise.
21342 (get_failure): Remove function.
21343 (output_test): Don't handle expected failures.
21344 * make/README.libm-test: Don't mention expected failure handling.
21346 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21347 (minus_zero): Likewise.
21348 (plus_infty): Likewise.
21349 (minus_infty): Likewise.
21350 (qnan_value): Likewise.
21351 (max_value): Likewise.
21352 (min_value): Likewise.
21353 (min_subnorm_value): Likewise.
21354 (initialize): Do not initialize those variables dynamically.
21356 2013-05-03 Roland McGrath <roland@hack.frob.com>
21358 * io/open.c (__open_2): Moved to ...
21359 * io/open_2.c: ... this new file.
21360 * io/open64.c (__open64_2): Moved to ...
21361 * io/open64_2.c: ... this new file.
21362 * io/openat.c (__openat_2): Moved to ...
21363 * io/openat_2.c: ... this new file.
21364 * io/openat64.c (__openat64_2): Moved to ...
21365 * io/openat64_2.c: ... this new file.
21366 * io/Makefile (routines): Add them.
21367 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21368 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21369 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21370 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21371 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21372 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21373 (__openat64): Add hidden_ver.
21374 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21375 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21377 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21378 Separately conditionalize setting of GLRO(dl_sysinfo) so
21379 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21380 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21382 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21384 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21387 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21388 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21389 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21390 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21391 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21393 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21395 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21396 test signgam value.
21398 * math/libm-test.inc (hypot_test): Do not use
21399 IGNORE_ZERO_INF_SIGN.
21401 2013-05-03 Andreas Jaeger <aj@suse.de>
21403 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21405 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21406 (PF_MAX): Adjust for VSOCK change.
21408 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21412 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21415 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21416 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21417 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21419 2013-05-02 David S. Miller <davem@davemloft.net>
21421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21423 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21425 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21427 2013-05-01 Roland McGrath <roland@hack.frob.com>
21429 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21431 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21434 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21435 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21436 Use __attribute__ ((__gnu_inline__)).
21437 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21438 Don't use __attribute__ ((__gnu_inline__)).
21440 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21443 * math/s_catan.c (__catan): Handle small real or imaginary part of
21444 input specially to avoid spurious underflow.
21445 * math/s_catanf.c (__catanf): Likewise.
21446 * math/s_catanh.c (__catanh): Likewise.
21447 * math/s_catanhf.c (__catanhf): Likewise.
21448 * math/s_catanhl.c (__catanhl): Likewise.
21449 * math/s_catanl.c (__catanl): Likewise.
21450 * math/libm-test.inc (catan_test): Add more tests.
21451 (catanh_test): Likewise.
21452 * sysdeps/i386/fpu/libm-test-ulps: Update.
21453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21455 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21459 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21462 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21463 accurately for denominator in atan2.
21464 * math/s_catanf.c (__catanf): Likewise.
21465 * math/s_catanh.c (__catanh): Likewise.
21466 * math/s_catanhf.c (__catanhf): Likewise.
21467 * math/s_catanhl.c (__catanhl): Likewise.
21468 * math/s_catanl.c (__catanl): Likewise.
21469 * math/libm-test.inc (catan_test): Add more tests.
21470 (catanh_test): Likewise.
21471 * sysdeps/i386/fpu/libm-test-ulps: Update.
21472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21474 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21476 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21478 * benchtests/Makefile (bench): Remove slow benchmarks.
21479 * benchtests/atan-inputs: Add slow benchmark inputs.
21480 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21481 (BENCH_FUNC): Accept variant offset.
21483 * benchtests/bench-skeleton.c (main): Run benchmark for each
21485 * benchtests/cos-inputs: Add slow benchmark inputs.
21486 * benchtests/exp-inputs: Likewise.
21487 * benchtests/pow-inputs: Likewise.
21488 * benchtests/sin-inputs: Likewise.
21489 * benchtests/slowatan-inputs: Remove.
21490 * benchtests/slowatan.c: Remove.
21491 * benchtests/slowcos-inputs: Remove.
21492 * benchtests/slowcos.c: Remove.
21493 * benchtests/slowexp-inputs: Remove.
21494 * benchtests/slowexp.c: Remove.
21495 * benchtests/slowpow-inputs: Remove.
21496 * benchtests/slowpow.c: Remove.
21497 * benchtests/slowsin-inputs: Remove.
21498 * benchtests/slowsin.c: Remove.
21499 * benchtests/slowtan-inputs: Remove.
21500 * benchtests/slowtan.c: Remove.
21501 * benchtests/tan-inputs: Add slow benchmark inputs.
21502 * scripts/bench.pl: Parse comments and directives.
21504 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21506 ($(objpfx)bench-%.c): Remove *-ITER.
21507 * benchtests/bench-modf.c: Remove definition of ITER.
21508 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21509 (main): Loop for DURATION seconds instead of fixed number of
21511 * scripts/bench.pl: Don't expect iterations in parameters.
21513 2013-04-29 Roland McGrath <roland@hack.frob.com>
21515 * io/fchdir.c (__fchdir): Renamed from fchdir.
21516 (fchdir): Define as weak alias.
21518 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21520 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21521 (ERRNO_EDOM): Likewise.
21522 (ERRNO_ERANGE): Likewise.
21523 (noErrnoTests): New variable.
21524 (init_max_error): Set errno to 0.
21525 (test_single_errno): New function.
21526 (test_errno): Likewise.
21527 (check_float_internal): Call test_errno. Set errno to 0.
21528 (check_complex): Refer to errno tests in comment.
21529 (check_int): Call test_errno. Set errno to 0.
21530 (check_long): Likewise.
21531 (check_bool): Likewise.
21532 (check_longlong): Likewise.
21533 (cos_test): Use ERRNO_* flags for errno tests instead of
21535 (expm1_test): Likewise.
21536 (fmod_test): Likewise.
21537 (ilogb_test): Likewise.
21538 (lgamma_test): Likewise.
21539 (pow_test): Likewise.
21540 (remainder_test): Likewise.
21541 (sin_test): Likewise.
21542 (tan_test): Likewise.
21543 (yn_test): Likewise.
21544 (initialize): Set errno to 0.
21545 (main): Print number of errno tests.
21546 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21548 2013-04-29 Andreas Jaeger <aj@suse.de>
21551 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21555 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21556 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21560 * stdlib/random.c (__initstate): Return NULL if
21564 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21565 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21568 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21572 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21574 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21575 of individual tests.
21576 (casin_test): Likewise.
21577 (casinh_test): Likewise.
21579 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21582 * math/s_catan.c (__catan): Handle arguments with large real or
21583 imaginary part separately without squaring.
21584 * math/s_catanf.c (__catanf): Likewise.
21585 * math/s_catanh.c (__catanh): Likewise.
21586 * math/s_catanhf.c (__catanhf): Likewise.
21587 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21589 (__catanhl): Handle arguments with large real or imaginary part
21590 separately without squaring.
21591 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21593 (__catanl): Handle arguments with large real or imaginary part
21594 separately without squaring.
21595 * math/libm-test.inc (catan_test): Add more tests.
21596 (catanh_test): Likewise.
21597 * sysdeps/i386/fpu/libm-test-ulps: Update.
21598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21600 2013-04-27 Andreas Jaeger <aj@suse.de>
21603 * stdlib/stdlib.h: Update guards for qecvt.
21604 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21607 2013-04-27 Allan McRae <allan@archlinux.org>
21609 * sysdeps/i386/fpu/libm-test-ulps: Update.
21611 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21614 * math/s_catan.c: Include <float.h>.
21615 (__catan): Ensure underflow exception occurs for underflowed
21617 * math/s_catanf.c: Include <float.h>.
21618 (__catanf): Ensure underflow exception occurs for underflowed
21620 * math/s_catanh.c: Include <float.h>.
21621 (__catanh): Ensure underflow exception occurs for underflowed
21623 * math/s_catanhf.c: Include <float.h>.
21624 (__catanhf): Ensure underflow exception occurs for underflowed
21626 * math/s_catanhl.c: Include <float.h>.
21627 (__catanhl): Ensure underflow exception occurs for underflowed
21629 * math/s_catanl.c: Include <float.h>.
21630 (__catanl): Ensure underflow exception occurs for underflowed
21632 * math/libm-test.inc (catan_test): Add more tests.
21633 (catanh_test): Likewise.
21636 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21637 underflowed result.
21638 * math/s_ccoshf.c (__ccoshf): Likewise.
21639 * math/s_ccoshl.c (__ccoshl): Likewise.
21640 * math/s_csin.c (__csin): Likewise.
21641 * math/s_csinf.c (__csinf): Likewise.
21642 * math/s_csinh.c (__csinh): Likewise.
21643 * math/s_csinhf.c (__csinhf): Likewise.
21644 * math/s_csinhl.c (__csinhl): Likewise.
21645 * math/s_csinl.c (__csinl): Likewise.
21646 * math/libm-test.inc (ccos_test): Add more tests.
21647 (ccosh_test): Likewise.
21648 (csin_test): Likewise.
21649 (csinh_test): Likewise.
21651 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21653 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21654 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21655 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21656 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21657 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21658 powerpc/power5+/fpu folders.
21659 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21662 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21666 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21668 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21669 additions to variable.
21670 [$(config-machine) = x86_64] (modules-names): Likewise.
21671 ($(objpfx)tst-audit3): Remove dependency.
21672 ($(objpfx)tst-audit3.out): Likewise.
21673 ($(objpfx)tst-audit4): Likewise.
21674 ($(objpfx)tst-audit4.out): Likewise.
21675 ($(objpfx)tst-audit5): Likewise.
21676 ($(objpfx)tst-audit5.out): Likewise.
21677 ($(objpfx)tst-audit6): Likewise.
21678 ($(objpfx)tst-audit6.out): Likewise.
21679 ($(objpfx)tst-audit7): Likewise.
21680 ($(objpfx)tst-audit7.out): Likewise.
21681 (tst-audit3-ENV): Remove variable.
21682 (tst-audit4-ENV): Likewise.
21683 (tst-audit5-ENV): Likewise.
21684 (tst-audit6-ENV): Likewise.
21685 (tst-audit7-ENV): Likewise.
21686 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21687 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21688 addition to variable.
21689 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21690 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21691 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21692 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21693 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21694 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21695 tst-audit3, tst-audit4 and tst-audit5.
21696 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21697 tst-audit6 and tst-audit7.
21698 [$(subdir) = elf] (modules-names): Add audit modules for those
21700 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21701 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21702 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21703 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21704 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21705 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21706 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21707 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21708 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21709 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21710 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21711 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21712 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21713 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21714 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21715 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21717 [$(subdir) = elf && $(config-cflags-avx) = yes]
21718 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21719 [$(subdir) = elf && $(config-cflags-avx) = yes]
21720 (CFLAGS-tst-auditmod4a.c): Likewise.
21721 [$(subdir) = elf && $(config-cflags-avx) = yes]
21722 (CFLAGS-tst-auditmod4b.c): Likewise.
21723 [$(subdir) = elf && $(config-cflags-avx) = yes]
21724 (CFLAGS-tst-auditmod6b.c): Likewise.
21725 [$(subdir) = elf && $(config-cflags-avx) = yes]
21726 (CFLAGS-tst-auditmod6c.c): Likewise.
21727 [$(subdir) = elf && $(config-cflags-avx) = yes]
21728 (CFLAGS-tst-auditmod7b.c): Likewise.
21729 * elf/tst-audit3.c: Move to ...
21730 * sysdeps/x86_64/tst-audit3.c: ... here.
21731 * elf/tst-audit4.c: Move to ...
21732 * sysdeps/x86_64/tst-audit4.c: ... here.
21733 * elf/tst-audit5.c: Move to ...
21734 * sysdeps/x86_64/tst-audit5.c: ... here.
21735 * elf/tst-audit6.c: Move to ...
21736 * sysdeps/x86_64/tst-audit6.c: ... here.
21737 * elf/tst-audit7.c: Move to ...
21738 * sysdeps/x86_64/tst-audit7.c: ... here.
21739 * elf/tst-auditmod3a.c: Move to ...
21740 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21741 * elf/tst-auditmod3b.c: Move to ...
21742 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21743 * elf/tst-auditmod4a.c: Move to ...
21744 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21745 * elf/tst-auditmod4b.c: Move to ...
21746 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21747 * elf/tst-auditmod5a.c: Move to ...
21748 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21749 * elf/tst-auditmod5b.c: Move to ...
21750 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21751 * elf/tst-auditmod6a.c: Move to ...
21752 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21753 * elf/tst-auditmod6b.c: Move to ...
21754 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21755 * elf/tst-auditmod6c.c: Move to ...
21756 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21757 * elf/tst-auditmod7a.c: Move to ...
21758 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21759 * elf/tst-auditmod7b.c: Move to ...
21760 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21762 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21765 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21766 define unconditionally.
21767 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21768 define unconditionally.
21769 (INT8_C, INT16_C, etc.): Likewise.
21771 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21773 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21774 __ehdr_start with hidden visibility.
21776 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21778 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21780 * math/libm-test.inc (cos_test): Use accurate hex constants.
21781 (sincost_test): Likewise.
21783 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21785 * math/libm-test.inc (catan_test): Add more tests.
21786 (catanh_test): Likewise.
21788 * math/s_catanf.c (__catanf): Use suffixed floating-point
21790 * math/s_catanhf.c (__catanhf): Likewise.
21791 * math/s_catanhl.c (__catanhl): Likewise.
21792 * math/s_catanl.c (__catanl): Likewise.
21795 * math/s_catan.c (__catan): Calculate imaginary part of result
21796 with log1p not log unless computing log of number close to 0.
21797 * math/s_catanf.c (__catanf): Likewise.
21798 * math/s_catanl.c (__catanl): Likewise.
21799 * math/s_catanh.c (__catanh): Calculate real part of result with
21800 log1p not log unless computing log of number close to 0.
21801 * math/s_catanhf.c (__catanhf): Likewise.
21802 * math/s_catanhl.c (__catanhl): Likewise.
21803 * math/libm-test.inc (catan_test): Add more tests.
21804 (catanh_test): Likewise.
21805 * sysdeps/i386/fpu/libm-test-ulps: Update.
21806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21808 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21810 * benchtests/Makefile: Mention files in which fast and slow
21811 paths of math functions are implemented.
21813 2013-04-23 Roland McGrath <roland@hack.frob.com>
21815 * sysdeps/posix/timespec_get.c: New file.
21817 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21819 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21821 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21823 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21824 powerpc/power5/fpu folders.
21825 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21826 * benchtests/Makefile: Add modf testcase.
21827 * benchtests/bench-modf.c: New file: Benchmark test for mo
21829 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21832 * time/Makefile (tests): Add tst-strptime-whitespace.
21833 * time/strptime_l.c (get_number): Use ISSPACE.
21834 (__strptime_internal): Likewise.
21835 * time/tst-strptime-whitespace.c: New test case.
21837 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21839 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21841 (_nss_files_init): Set it here.
21843 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21845 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21846 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21849 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21851 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21853 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21855 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21858 2013-04-21 David S. Miller <davem@davemloft.net>
21860 * po/ru.po: Update Russion translation from translation project.
21862 2013-04-17 Adam Conrad <adconrad@0c3.net>
21864 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21867 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21869 * configure.in: Remove i386 configure warning. Remove i386 case.
21870 * configure: Regenerate.
21871 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21872 Add example to error message.
21873 * sysdeps/i386/configure: Regenerate.
21875 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21877 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21879 * benchtests/cos-inputs: New file.
21880 * benchtests/slowcos-inputs: New file.
21881 * benchtests/slowcos.c: New file.
21882 * benchtests/slowtan-inputs: New file.
21883 * benchtests/slowtan.c: New file.
21884 * benchtests/tan-inputs: New file.
21886 2013-04-16 Roland McGrath <roland@hack.frob.com>
21888 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21891 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21893 * benchtests/Makefile: Include cppflags-iterator.mk to add
21894 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21896 * Makefile.in (bench-clean): New target.
21897 * benchtests/Makefile (bench-clean): Likewise.
21899 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21901 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21903 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21905 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21907 2013-04-15 Andreas Schwab <schwab@suse.de>
21909 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21910 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21911 * nscd/pwdcache.c (cache_addpw): Likewise.
21912 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21915 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21917 * benchtests/Makefile (bench): Write all output to
21918 bench-out.tmp together.
21920 2013-04-15 Andreas Schwab <schwab@suse.de>
21922 * nscd/nscd.c (main): Don't fork again after closing files.
21924 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21926 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21928 * benchtests/Rules (bench-deps): Collect dependencies into a
21929 single variable. Add Makefile to dependencies.
21930 ($(objpfx)bench-%.c): Depend on bench-deps.
21932 2013-04-12 Roland McGrath <roland@hack.frob.com>
21933 Xavier Roche <roche+kml2@exalead.com>
21936 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21937 just that it's a file descriptor.
21938 * manual/llio.texi (Synchronizing AIO Operations): Update description
21939 for EBADF error from aio_fsync.
21941 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21943 * Rules (bench): Move target definition...
21944 * benchtests/Makefile: ... here.
21946 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21948 * math/libm-test.inc (cos_test): Fix PI/2 test.
21949 (sincos_test): Likewise.
21950 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21951 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21953 2013-04-11 Andreas Schwab <schwab@suse.de>
21956 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21957 accept exponent character only when digits were seen.
21958 * stdio-common/Makefile (tests): Add bug26.
21959 * stdio-common/bug26.c: New file.
21962 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21965 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21967 * Makeconfig (rtld-prefix): Define built linker prefix.
21968 * Rules (run-bench): Use it.
21969 * math/Makefile (run-regen-ulps): Likewise.
21971 * Rules (bench): Remove eval.
21973 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21974 Roland McGrath <roland@hack.frob.com>
21975 Ondrej Bilka <neleai@seznam.cz>
21978 * time/getdate.c: Include ctype.h and alloca.h.
21979 (__getdate_r): Trim leading and trailing spaces of input.
21980 * time/tst-getdate.c (tests): Add tests with leading and
21983 2013-04-08 Roland McGrath <roland@hack.frob.com>
21986 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21987 when computing value.
21989 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21991 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21992 Use testrun.sh to run libm tests.
21995 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21997 2013-04-06 Marko Myllynen <myllynen@redhat.com>
22000 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22002 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22004 * Makefile.in (regen-ulps): New target.
22005 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22006 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22007 [ifneq (no,$(PERL)] (regen-ulps): New target.
22008 [ifeq (no,$(PERL)] (regen-ulps): New target.
22009 * math/libm-test.inc (ulps_file_name): Define.
22010 (output_dir): New variable.
22011 (options): Add "output-dir" option.
22012 (parse_opt): Handle 'o' case.
22013 (main): If output_dir is non-NULL use it as a prefix
22015 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22017 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22019 [BZ #10060, #10062]
22020 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22021 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22022 fail configure if __sync_val_compare_and_swap is not inlined.
22023 * sysdeps/i386/configure: Regenerate.
22024 * configure.in: Build for i686 when configured for i386.
22025 * configure: Regenerate.
22026 * README: Remove i386 reference.
22028 2013-04-06 Carlos O'Donell <carlos@redhat.com>
22030 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22031 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22033 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22035 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22036 (lmsnanval): New variables.
22037 (F): Add conversion tests.
22038 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22039 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22041 * stdio-common/tstdiomisc.c (F): Properly collect individual
22044 [BZ #14686, #15336]
22045 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22046 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22047 Instead, use input NaN values or generate a qNaN by arithmetic
22048 operation. Also fix bugs to comply with the standard.
22049 * math/libm-test.inc (remainder_test): Add more tests.
22051 [BZ #15335, #15342]
22052 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22053 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22054 input NaN values or generate a qNaN by arithmetic operation.
22056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22059 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22062 2013-04-03 Joseph Myers <joseph@codesourcery.com>
22065 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22066 underflowed result.
22067 * math/s_cexpf.c (__cexpf): Likewise.
22068 * math/s_cexpl.c (__cexpl): Likewise.
22069 * math/libm-test.inc (cexp_test): Add more tests.
22071 2013-04-03 Andreas Schwab <schwab@suse.de>
22074 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22075 order arrays from heap if bigger than alloca cutoff.
22077 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22079 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22080 (SNAN_TESTS_double): Refer to GCC PR56831.
22081 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22084 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22086 * Rules (bench): Move bench.out after the run is complete.
22088 * Rules (bench): Echo currently running benchmark.
22090 * benchtests/Makefile (bench): Add atan and slowatan.
22091 * benchtests/atan-inputs: New file.
22092 * benchtests/slowatan-inputs: New file.
22093 * benchtests/slowatan.c: New file.
22095 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22100 * sysdeps/unix/sysv/linux/kernel-features.h
22101 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22102 __ASSUME_XFS_RESTRICTED_CHOWN.
22103 * sysdeps/unix/sysv/linux/pathconf.c
22104 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22105 Save and restore errno.
22107 2013-04-02 Joseph Myers <joseph@codesourcery.com>
22110 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22111 arguments using __kernel_casinh.
22112 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22113 arguments using __kernel_casinhf.
22114 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22115 arguments using __kernel_casinhl.
22116 * math/libm-test.inc (cacosh_test): Add more tests.
22117 * sysdeps/i386/fpu/libm-test-ulps: Update.
22118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22120 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22122 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22125 * bench/Makefile (bench): Add sin and slowsin.
22126 * benchtests/sin-inputs: New file.
22127 * benchtests/slowsin-inputs: New file.
22128 * benchtests/slowsin.c: New file.
22130 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22131 (bench): Add slowexp and slowpow.
22132 (exp-ITER): Increase iterations.
22133 (pow-ITER): Likewise.
22134 * benchtests/exp-inputs: Change input.
22135 * benchtests/pow-inputs: Likewise.
22136 * benchtests/slowexp-inputs: New file.
22137 * benchtests/slowexp.c: New file.
22138 * benchtests/slowpow-inputs: New file.
22139 * benchtests/slowpow.c: New file.
22141 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22143 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22145 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22146 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22147 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22148 * benchtests/Makefile: Add rint benchtest.
22149 * benchtests/rint-inputs: Input for rint benchtest.
22151 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22153 * Versions.def (libm): Add GLIBC_2.18.
22154 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22155 hidden libm prototypes.
22156 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22157 * math/Makefile (libm-calls): Add s_issignaling.
22158 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22159 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22160 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22162 * math/math.h [__USE_GNU] (issignaling): New macro.
22163 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22164 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22165 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22166 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22169 * manual/arith.texi (issignaling): New section.
22170 * manual/libm-err-tab.pl (@all_functions): Update comment.
22171 * math/gen-libm-test.pl (parse_args): Apply special handling for
22173 * math/libm-test.inc (print_float, issignaling_test): New
22175 (check_float_internal): Add issignaling checks.
22176 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22177 default definition.
22178 * sysdeps/powerpc/math-tests.h: New file.
22179 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22181 * math/test-snan.c (TEST_FUNC): Likewise.
22183 2013-03-30 David S. Miller <davem@davemloft.net>
22185 * po/de.po: Update from translation team.
22187 2013-03-30 Joseph Myers <joseph@codesourcery.com>
22190 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22191 imaginary part less than 1.0 and real part less than 0.5
22193 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22194 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22195 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22196 (cacos_test): Add more tests.
22197 (casin_test): Likewise.
22198 (casinh_test): Likewise.
22199 * sysdeps/i386/fpu/libm-test-ulps: Update.
22200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22202 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22204 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22205 ONE with its value.
22207 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22208 (__pow_mp): Replace ONE and MONE with their values.
22209 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22211 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22212 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22213 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22214 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22216 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22218 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22219 (__pow_mp): Replace ZERO and MZERO with their values.
22220 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22221 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22222 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22224 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22225 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22228 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22230 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22232 2013-03-28 Roland McGrath <roland@hack.frob.com>
22234 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22235 Declare with __attribute__ ((weak)).
22236 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22237 Call __call_tls_dtors only if it's not NULL.
22239 2013-03-28 Roland McGrath <roland@hack.frob.com>
22241 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22242 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22243 magic __ehdr_start linker symbol if it's defined.
22244 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22245 them up here if it was already done.
22247 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22248 (_dl_aux_init): Use const in cast when setting it.
22249 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22250 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22251 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22253 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22255 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22256 * csu/libc-tls.c: Nor here.
22257 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22259 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22260 (__libc_message): Never call vsyslog.
22262 2013-03-28 Alan Modra <amodra@gmail.com>
22264 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22266 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22269 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22272 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22276 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22279 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22280 Don't add gid passed as argument.
22282 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22284 2013-03-27 Joseph Myers <joseph@codesourcery.com>
22287 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22288 imaginary part between 1.0 and 1.5 and real part less than 0.5
22290 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22291 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22292 * math/libm-test.inc (cacos_test): Add more tests.
22293 (casin_test): Likewise.
22294 (casinh_test): Likewise.
22295 * sysdeps/i386/fpu/libm-test-ulps: Update.
22296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22298 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22300 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22303 (denorm): Likewise.
22304 (__dbl_mp): Likewise.
22305 (add_magnitudes): Likewise.
22306 (sub_magnitudes): Likewise.
22314 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22316 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22317 (__dubcos): Likewise.
22318 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22319 (__ieee754_acos): Likewise.
22320 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22321 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22322 (__exp1): Likewise.
22323 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22324 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22326 (my_log2): Likewise.
22327 (checkint): Likewise.
22328 * sysdeps/ieee754/dbl-64/e_remainder.c
22329 (__ieee754_remainder): Likewise.
22330 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22332 (bsloww): Likewise.
22333 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22335 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22337 MANTISSA_STORE_T to store computations on mantissa. Use
22338 macros for rounding and division.
22339 (denorm): Likewise.
22340 (__dbl_mp): Likewise.
22341 (add_magnitudes): Likewise.
22342 (sub_magnitudes): Likewise.
22345 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22346 powers of two in terms of TWOPOW macro.
22347 (mp_no): Make type of mantissa as MANTISSA_T.
22348 [!RADIXI]: Define RADIXI.
22349 [!TWO52]: Define TWO52.
22350 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22352 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22354 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22355 llroundl symbol when building for PPC32.
22357 2013-03-24 Mark H Weaver <mhw@netris.org>
22359 * manual/arith.texi (Normalization Functions): Fix prototypes for
22360 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22362 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22365 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22366 high value to check if expl overflow.
22367 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22368 to check for underflow and overflow.
22369 * math/libm-test.inc: Add exp test.
22371 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22374 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22377 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22379 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22382 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22384 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22385 wrap blocks consisting of several statements.
22387 * sysdeps/generic/math-tests.h: New file.
22388 * sysdeps/i386/fpu/math-tests.h: Likewise.
22389 * math/test-snan.c: Include it.
22390 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22392 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22395 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22396 (__ieee754_j0l): Do not improve calculations using cos of twice
22397 input for inputs above LDBL_MAX / 2.0L.
22398 (__ieee754_y0l): Likewise.
22399 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22400 (__ieee754_j1l): Do not improve calculations using cos of twice
22401 input for inputs above LDBL_MAX / 2.0L.
22402 (__ieee754_y1l): Likewise.
22403 * math/libm-test.inc (j0_test): Add another test.
22404 (j1_test): Likewise.
22405 (y0_test): Likewise.
22406 (y1_test): Likewise.
22407 * sysdeps/i386/fpu/libm-test-ulps: Update.
22409 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22411 * Rules ($(objpfx)bench-%.c): Include code from a C source
22414 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22417 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22418 imaginary part 1.0 and real part less than 0.5 specially.
22419 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22420 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22421 * math/libm-test.inc (cacos_test): Add more tests.
22422 (casin_test): Likewise.
22423 (casinh_test): Likewise.
22424 * sysdeps/i386/fpu/libm-test-ulps: Update.
22425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22427 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22429 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22430 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22432 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22434 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22435 * config.make.in (config-cflags-sse4): Remove variable.
22436 (config-cflags-avx): Likewise.
22437 (config-cflags-sse2avx): Likewise.
22438 (config-cflags-novzeroupper): Likewise.
22439 (config-asflags-i686): Likewise.
22440 (have-mfma4): Likewise.
22441 (have-as-vis3): Likewise.
22443 * configure.in (MIG): Do not AC_SUBST.
22444 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22445 (libc_cv_cc_sse4): Do not AC_SUBST.
22446 (libc_cv_cc_avx): Likewise.
22447 (libc_cv_cc_sse2avx): Likewise.
22448 (libc_cv_cc_novzeroupper): Likewise.
22449 (libc_cv_cc_fma4): Likewise.
22450 (libc_cv_as_i686): Likewise.
22451 (libc_cv_sparc_as_vis3): Likewise.
22452 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22454 (config-asflags-i686): Likewise.
22455 (config-cflags-avx): Likewise.
22456 (config-cflags-sse2avx): Likewise.
22457 (have-mfma4): Likewise.
22458 (config-cflags-novzeroupper): Likewise.
22459 * sysdeps/mach/configure.in (MIG): Likewise.
22460 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22461 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22463 (config-cflags-avx): Likewise.
22464 (config-cflags-sse2avx): Likewise.
22465 (have-mfma4): Likewise.
22466 (config-cflags-novzeroupper): Likewise.
22467 * configure: Regenerated.
22468 * sysdeps/i386/configure: Likewise.
22469 * sysdeps/mach/configure: Likewise.
22470 * sysdeps/sparc/configure: Likewise.
22471 * sysdeps/x86_64/configure: Likewise.
22473 2013-03-20 Roland McGrath <roland@hack.frob.com>
22476 * locale/programs/localedef.c (options): Put N_ translation marker
22477 on argument names, not just descriptions.
22479 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22481 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22483 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22486 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22488 2013-03-19 Roland McGrath <roland@hack.frob.com>
22490 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22491 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22492 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22493 [!BEFORE_ABORT] (before_abort): New function.
22494 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22495 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22496 (writev_for_fatal): New function.
22497 (WRITEV_FOR_FATAL): New macro; call that.
22498 (backtrace_and_maps): New function.
22499 (BEFORE_ABORT): New macro; call that.
22500 (struct str_list): Type removed.
22501 (__libc_message, __libc_fatal): Functions removed.
22502 Include <sysdeps/posix/libc_fatal.c> instead.
22504 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22506 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22508 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22511 2013-03-19 Andreas Schwab <schwab@suse.de>
22513 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22514 * sysdeps/gnu/configure: Regenerate.
22516 * configure.in: Substitute libc_cv_rtlddir.
22517 * configure: Regenerate.
22518 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22519 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22520 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22521 * elf/Makefile (install-others, CFLAGS-interp.c)
22522 (ldso_install, common-ldd-rewrite): Likewise.
22523 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22524 $(inst_slibdir)/$(rtld-installed-name).
22525 * scripts/rellns-sh: Add -p option.
22526 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22529 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22531 * manual/nptl.texi: Renamed to ...
22532 * manual/threads.texi: ... this.
22533 * manual/Makefile (chapters): Update.
22535 2013-03-18 Roland McGrath <roland@hack.frob.com>
22538 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22539 on argument names, not just descriptions.
22540 * malloc/memusagestat.c (options): Likewise.
22541 * nss/getent.c (options): Likewise.
22543 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22546 * iconv/iconv_prog.c (options): Put N_ translation marker
22547 on argument names, not just descriptions.
22548 * iconv/iconvconfig.c (options): Likewise.
22550 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22552 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22553 implementation which is faster on all x86_64 architectures.
22554 Tested on AMD, Intel Nehalem, SNB, IVB.
22555 * sysdeps/x86_64/strnlen.S: Likewise.
22557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22558 Remove all multiarch strlen and strnlen versions.
22559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22560 Remove strlen and strnlen related parts.
22562 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22563 Inline strlen part.
22564 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22566 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22567 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22568 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22569 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22570 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22571 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22573 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22575 * manual/memory.texi (Malloc Tunable Parameters):
22576 Sort parameters alphabetically. Add comments for missing entries.
22578 2013-03-17 David S. Miller <davem@davemloft.net>
22580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22582 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22585 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22586 for arguments at most half maximum finite value.
22587 * math/libm-test.inc (j0_test): Add more tests.
22588 (j1_test): Likewise.
22589 (y0_test): Likewise.
22590 (y1_test): Likewise.
22591 * sysdeps/i386/fpu/libm-test-ulps: Update.
22592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22595 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22596 1 / x and functions P and Q for arguments above 0x1p256L.
22597 (__ieee754_y0l): Likewise.
22598 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22599 (__ieee754_y1l): Likewise.
22600 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22601 (j1_test): Likewise.
22602 (y0_test): Likewise.
22603 (y1_test): Likewise.
22605 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22607 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22610 2013-03-15 Roland McGrath <roland@hack.frob.com>
22612 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22613 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22614 zero since it's initialized to EXEC_PAGESIZE.
22616 * sysdeps/unix/sysv/linux/ldsodefs.h
22617 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22618 * sysdeps/generic/ldsodefs.h: ... here.
22620 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22622 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22624 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22626 * math/test-snan.c: Renamed from
22627 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22628 * math/Makefile (tests): Add test-snan.
22629 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22632 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22633 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22635 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22636 __builtin_nan family of functions.
22637 * math/libm-test.inc (initialize): Initialize qnan_value with
22638 __builtin_nan family of functions.
22639 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22641 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22643 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22644 storage class. Initialize qNaN_var and sNaN_var with
22645 __builtin_nan and __builtin_nans families of functions,
22648 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22649 (sqrt_test): Remove duplicate test with qNaN input.
22650 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22651 (round_test, signbit_test, significand_test): Note missing +/-Inf
22652 as well as qNaN tests.
22654 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22655 qNaN_var. Fix a few strings, too.
22656 * math/libm-test.inc (nan_value): Rename to qnan_value.
22657 * math/gen-libm-test.pl (%beautify): Adjust to that.
22658 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22659 * math/test-misc.c (main): Likewise.
22660 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22661 to __qnan_bytes, and __qnan_union, respectively.
22662 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22664 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22665 and lqnanval, respectively.
22666 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22667 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22668 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22669 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22671 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22672 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22675 * math/test-misc.c (main): Fix copy'n'pastos.
22676 * misc/tst-efgcvt.c (special): Likewise.
22678 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22679 Remove declarations.
22681 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22683 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22684 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22685 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22686 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22688 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22690 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22691 macro to return vdso values correctly in IFUNC implementations.
22692 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22693 Optimization by using IFUNC.
22695 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22696 Richard Henderson <rth@redhat.com>
22697 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22699 * Makefile.in (bench): New target.
22700 * NEWS: Mention the benchmark framework.
22701 * Rules (bench): Likewise.
22702 (binaries-bench): Generate binaries for functions to
22704 * benchtests/Makefile: New makefile for benchmark tests.
22705 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22707 * benchtests/exp-inputs: New input file for EXP function.
22708 * benchtests/pow-inputs: New input file for POW function.
22709 * scripts/bench.pl: New script to generate source files for
22710 benchmark programs.
22712 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22714 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22715 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22716 computations on mantissa. Use macros for rounding and
22718 (denorm): Likewise.
22719 (__dbl_mp): Likewise.
22720 (add_magnitudes): Likewise.
22721 (sub_magnitudes): Likewise.
22724 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22725 powers of two in terms of TWOPOW macro.
22726 (mp_no): Make type of mantissa as MANTISSA_T.
22727 [!RADIXI]: Define RADIXI.
22728 [!TWO52]: Define TWO52.
22729 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22731 * manual/nptl.texi (cindex): Modify threads to pthreads.
22733 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22735 * sysdeps/x86_64/preconfigure: Regenerated.
22737 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22740 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22742 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22743 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22745 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22746 * math/libm-test.inc (j0_test): Do not allow one spurious
22747 underflow exception.
22748 (y1_test): Likewise.
22750 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22752 * manual/Makefile (chapters): Add nptl.
22753 * manual/debug.texi (Debugging Support): Add link to Threads
22755 * manual/nptl.texi: New file.
22757 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22759 2013-03-14 Petr Baudis <pasky@ucw.cz>
22761 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22762 for non-NULL pointer before the memory validity test. Pointed
22763 out by Holger Brunck <holger.brunck@keymile.com>.
22765 2013-03-13 Andreas Schwab <schwab@suse.de>
22767 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22770 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22772 * timezone/zic.c: Update from tzcode 2013b.
22774 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22776 * manual/install.texi (Configuring and compiling):
22777 Mention i686 and i586.
22778 * INSTALL: Regenerate.
22780 2013-03-12 Roland McGrath <roland@hack.frob.com>
22782 * sysdeps/init_array/elf-init.c: New file.
22784 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22785 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22787 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22788 __gmon_start__ as global, but as static with a .preinit_array pointer.
22789 * sysdeps/init_array/gmon-start.c: New file. Use that.
22790 * sysdeps/init_array/crti.S: New file, empty except for comments.
22791 * sysdeps/init_array/crtn.S: Likewise.
22793 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22795 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22798 Remove Prefer_SSE_for_memop.
22799 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22800 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22801 HAS_PREFER_SSE_FOR_MEMOP.
22802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22805 Remove bzero, memset ifunc support.
22806 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22807 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22808 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22809 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22811 2013-03-11 Andreas Schwab <schwab@suse.de>
22814 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22817 (GLIBC_2.16): Remove pthread_atfork.
22819 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22821 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22822 (ptestcases.h): Likewise.
22824 2013-03-08 Roland McGrath <roland@hack.frob.com>
22826 * Makeconfig ($(common-objpfx)config.status): Depend on
22827 sysdeps/*/preconfigure{,.in} too.
22829 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22831 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22832 (__free_hook): Use void * instead of __malloc_ptr_t.
22833 (__malloc_hook): Likewise.
22834 (__realloc_hook): Likewise.
22835 (__memalign_hook): Likewise.
22836 (__after_morecore_hook): Likewise.
22837 * malloc/arena.c (save_malloc_hook): Likewise.
22838 (save_free_hook): Likewise.
22839 * malloc/hooks.c (malloc_hook_ini): Likewise.
22840 (realloc_hook_ini): Likewise.
22841 (memalign_hook_ini): Likewise.
22842 * malloc/malloc.c (malloc_hook_ini): Likewise.
22843 (realloc_hook_ini): Likewise.
22844 (memalign_hook_ini): Likewise.
22845 (__free_hook): Likewise.
22846 (__malloc_hook): Likewise.
22847 (__realloc_hook): Likewise.
22848 (__memalign_hook): Likewise.
22849 (__libc_malloc): Likewise.
22850 (__libc_free): Likewise.
22851 (__libc_realloc): Likewise.
22852 (__libc_memalign): Likewise.
22853 (__libc_valloc): Likewise.
22854 (__libc_pvalloc): Likewise.
22855 (__libc_calloc): Likewise.
22856 (__posix_memalign): Likewise.
22857 * malloc/morecore.c (__sbrk): Likewise.
22858 (__default_morecore): Likewise.
22860 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22862 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22863 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22864 __malloc_ptrdiff_t.
22866 * malloc/malloc.h (__malloc_size_t): Remove macro.
22867 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22869 (old_memalign_hook): Likewise.
22870 (old_realloc_hook): Likewise.
22871 (struct hdr): Likewise.
22873 (mallochook): Likewise.
22874 (memalignhook): Likewise.
22875 (reallochook): Likewise.
22876 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22877 (tr_old_realloc_hook): Likewise.
22878 (tr_old_memalign_hook): Likewise.
22879 (tr_mallochook): Likewise.
22880 (tr_reallochook): Likewise.
22881 (tr_memalignhook): Likewise.
22883 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22886 default_ldbl_pack and using as default implementation.
22887 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22889 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22890 redundant definition.
22891 (ldbl_insert_mantissa): Likewise.
22892 (ldbl_canonicalize): Likewise.
22893 (ldbl_nearbyint): Likewise.
22894 (ldbl_pack): Rename to ldbl_pack_ppc.
22895 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22896 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22897 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22899 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22902 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22904 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22907 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22908 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22910 2013-03-07 Andreas Jaeger <aj@suse.de>
22912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22915 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22917 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22918 Include mpa.h and declare __MPEXP.
22919 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22921 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22922 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22924 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22925 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22927 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22928 (__slowpow): Use long double EXPL and LOGL functions to
22930 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22931 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22933 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22934 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22935 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22938 intermediate variable to calculate exponent.
22940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22944 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22945 [!NO__SQR]: Define __sqr.
22946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22947 and NO__SQR. Remove all code except __mul and __sqr. Include
22948 sysdeps/ieee754/dbl-64/mpa.c.
22949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22952 * posix/Makefile (tests): Add tst-pathconf.
22953 * posix/tst-pathconf.c: New test case.
22954 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22956 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22958 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22960 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22962 2013-03-06 Andreas Jaeger <aj@suse.de>
22964 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22965 definition via __MAP_ANONYMOUS.
22967 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22968 it's not part of Linux headers.
22970 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22971 (MAP_HUGE_MASK): Define.
22973 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22975 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22976 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22978 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22979 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22981 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22982 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22984 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22986 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22987 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22988 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22989 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22990 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22991 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22993 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22996 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22997 Handle f2fs and efivarfs.
22999 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23002 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23003 (EFIVARFS_MAGIC): Add.
23004 (F2FS_LINK_MAX): Add.
23006 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23008 * stdio-common/vfprintf.c: Replace __builtin_expect with
23011 2013-03-06 Joseph Myers <joseph@codesourcery.com>
23014 * sysdeps/generic/bp-sym.h: Remove file.
23015 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23016 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23017 <bp-sym.h> and <bp-asm.h>.
23018 (__longjmp): Don't use BP_SYM.
23019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23021 (memcpy): Don't use BP_SYM.
23022 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23023 <bp-sym.h> and <bp-asm.h>.
23024 (memcpy): Don't use BP_SYM.
23025 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23027 (memcpy): Don't use BP_SYM.
23028 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23030 (memset): Don't use BP_SYM.
23031 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23032 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23033 (__bzero): Don't use BP_SYM.
23034 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23035 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23036 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23037 <bp-sym.h> and <bp-asm.h>.
23038 (memcmp): Don't use BP_SYM. Remove comment about bounded
23040 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23041 <bp-sym.h> and <bp-asm.h>.
23042 (memcpy): Don't use BP_SYM.
23043 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23044 <bp-sym.h> and <bp-asm.h>.
23045 (memset): Don't use BP_SYM.
23046 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23047 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23048 (__bzero): Don't use BP_SYM.
23049 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23050 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23051 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23052 <bp-sym.h> and <bp-asm.h>.
23053 (strncmp): Don't use BP_SYM. Remove comment about bounded
23055 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23056 <bp-sym.h> and <bp-asm.h>.
23057 (memcpy): Don't use BP_SYM.
23058 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23059 <bp-sym.h> and <bp-asm.h>.
23060 (memset): Don't use BP_SYM.
23061 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23062 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23063 (__bzero): Don't use BP_SYM.
23064 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23065 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23067 <bp-sym.h> and <bp-asm.h>.
23068 (__memchr): Don't use BP_SYM.
23069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23070 <bp-sym.h> and <bp-asm.h>.
23071 (memcmp): Don't use BP_SYM. Remove comment about bounded
23073 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23074 <bp-sym.h> and <bp-asm.h>.
23075 (memcpy): Don't use BP_SYM.
23076 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23077 <bp-sym.h> and <bp-asm.h>.
23078 (__mempcpy): Don't use BP_SYM.
23079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23080 <bp-sym.h> and <bp-asm.h>.
23081 (__memrchr): Don't use BP_SYM.
23082 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23083 <bp-sym.h> and <bp-asm.h>.
23084 (memset): Don't use BP_SYM.
23085 (__bzero): Likewise.
23086 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23087 <bp-sym.h> and <bp-asm.h>.
23088 (__rawmemchr): Don't use BP_SYM.
23089 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23090 <bp-sym.h> and <bp-asm.h>.
23091 (__STRCMP): Don't use BP_SYM.
23092 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23093 <bp-sym.h> and <bp-asm.h>.
23094 (strchr): Don't use BP_SYM.
23095 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23096 <bp-sym.h> and <bp-asm.h>.
23097 (__strchrnul): Don't use BP_SYM.
23098 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23099 <bp-sym.h> and <bp-asm.h>.
23100 (strlen): Don't use BP_SYM.
23101 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23102 <bp-sym.h> and <bp-asm.h>.
23103 (strncmp): Don't use BP_SYM. Remove comment about bounded
23105 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23106 <bp-sym.h> and <bp-asm.h>.
23107 (__strnlen): Don't use BP_SYM.
23108 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23109 <bp-sym.h> and <bp-asm.h>.
23110 (__GI__setjmp): Don't use BP_SYM.
23111 (_setjmp): Likewise.
23112 (__sigsetjmp): Likewise.
23113 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23114 (L(start_addresses)): Don't use BP_SYM.
23115 (_start): Likewise.
23116 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23118 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23119 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23120 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23121 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23122 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23124 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23125 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23126 about bounded pointers.
23127 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23128 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23129 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23131 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23132 about bounded pointers. Remove GKM FIXME comments.
23133 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23134 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23136 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23137 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23138 Remove GKM FIXME comments.
23139 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23140 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23141 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23143 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23144 about bounded pointers. Remove GKM FIXME comment.
23145 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23147 (strncmp): Don't use BP_SYM. Remove comment about bounded
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23150 <bp-sym.h> and <bp-asm.h>.
23151 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23153 <bp-sym.h> and <bp-asm.h>.
23154 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23157 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23159 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23162 2013-03-05 David S. Miller <davem@davemloft.net>
23164 * po/es.po: Update from translation team.
23166 2013-03-05 Andreas Jaeger <aj@suse.de>
23168 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23169 <bits/mman-linux.h>.
23170 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23172 * sysdeps/unix/sysv/linux/sh/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/x86/bits/mman.h: Move include of
23177 <bits/mman-linux.h> to end of file.
23178 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23180 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23181 <bits/mman-linux.h> to end of file.
23183 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23184 (MCL_CURRENT, MCL_FUTURE): Define here.
23186 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23191 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23193 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23195 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23196 fourth parameter needed for rt_sigprocmask syscall.
23197 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23198 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23200 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23201 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23202 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23204 2013-03-04 Joseph Myers <joseph@codesourcery.com>
23207 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23208 comment about bounded pointers.
23209 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23210 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23212 2013-03-04 Andreas Jaeger <aj@suse.de>
23214 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23215 common definitions.
23217 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23218 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23219 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23221 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23224 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23227 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23228 __ieee754_sqrl instead of __sqrl.
23230 2013-03-01 Joseph Myers <joseph@codesourcery.com>
23232 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23233 * sysdeps/powerpc/fpu_control.h: ... here.
23234 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23235 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23236 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23237 * sysdeps/powerpc/bits/mathinline.h: ... here.
23239 2013-03-01 Roland McGrath <roland@hack.frob.com>
23241 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23242 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23243 to just [NEED_DL_SYSINFO_DSO].
23244 * elf/dl-support.c: Likewise.
23245 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23246 * elf/rtld.c (dl_main): Likewise.
23247 * elf/setup-vdso.h (setup_vdso): Likewise.
23248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23249 * sysdeps/unix/sysv/linux/dl-sysdep.c
23250 (_dl_discover_osversion): Likewise.
23252 2013-03-01 Carlos O'Donell <carlos@redhat.com>
23254 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23255 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23257 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23259 * NEWS: Mention libm performance improvements and non-x86 PI
23262 * csu/libc-start.c (__pthread_initialize_minimal): Change
23263 function arguments.
23264 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23266 2013-02-28 Joseph Myers <joseph@codesourcery.com>
23269 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23270 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23271 <bp-sym.h> and <bp-asm.h>.
23272 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23273 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23275 (memcpy): Don't use BP_SYM.
23276 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23278 (__mpn_add_n): Don't use BP_SYM.
23279 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23280 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23282 (__mpn_addmul_1): Don't use BP_SYM.
23283 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23284 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23286 (_setjmp): Don't use BP_SYM.
23287 (__novmx_setjmp): Likewise.
23288 (__GI__setjmp): Likewise.
23289 (__vmx_setjmp): Likewise.
23290 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23292 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23293 (__bzero): Don't use BP_SYM.
23294 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23295 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23296 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23297 <bp-sym.h> and <bp-asm.h>.
23298 (memcpy): Don't use BP_SYM.
23299 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23300 <bp-sym.h> and <bp-asm.h>.
23301 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23302 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23303 <bp-sym.h> and <bp-asm.h>.
23304 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23305 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23307 (__mpn_lshift): Don't use BP_SYM.
23308 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23309 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23311 (memset): Don't use BP_SYM.
23312 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23313 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23314 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23316 (__mpn_mul_1): Don't use BP_SYM.
23317 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23318 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23319 <bp-sym.h> and <bp-asm.h>.
23320 (memcmp): Don't use BP_SYM.
23321 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23322 <bp-sym.h> and <bp-asm.h>.
23323 (memcpy): Don't use BP_SYM.
23324 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23325 <bp-sym.h> and <bp-asm.h>.
23326 (memset): Don't use BP_SYM.
23327 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23328 <bp-sym.h> and <bp-asm.h>.
23329 (strncmp): Don't use BP_SYM.
23330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23331 <bp-sym.h> and <bp-asm.h>.
23332 (memcpy): Don't use BP_SYM.
23333 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23334 <bp-sym.h> and <bp-asm.h>.
23335 (memset): Don't use BP_SYM.
23336 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23337 <bp-sym.h> and <bp-asm.h>.
23338 (__memchr): Don't use BP_SYM.
23339 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23340 <bp-sym.h> and <bp-asm.h>.
23341 (memcmp): Don't use BP_SYM.
23342 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23343 <bp-sym.h> and <bp-asm.h>.
23344 (memcpy): Don't use BP_SYM.
23345 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23346 <bp-sym.h> and <bp-asm.h>.
23347 (__mempcpy): Don't use BP_SYM.
23348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23349 <bp-sym.h> and <bp-asm.h>.
23350 (__memrchr): Don't use BP_SYM.
23351 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23352 <bp-sym.h> and <bp-asm.h>.
23353 (memset): Don't use BP_SYM.
23354 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23355 <bp-sym.h> and <bp-asm.h>.
23356 (__rawmemchr): Don't use BP_SYM.
23357 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23358 <bp-sym.h> and <bp-asm.h>.
23359 (__STRCMP): Don't use BP_SYM.
23360 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23361 <bp-sym.h> and <bp-asm.h>.
23362 (strchr): Don't use BP_SYM.
23363 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23364 <bp-sym.h> and <bp-asm.h>.
23365 (__strchrnul): Don't use BP_SYM.
23366 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23367 <bp-sym.h> and <bp-asm.h>.
23368 (strlen): Don't use BP_SYM.
23369 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23370 <bp-sym.h> and <bp-asm.h>.
23371 (strncmp): Don't use BP_SYM.
23372 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23373 <bp-sym.h> and <bp-asm.h>.
23374 (__strnlen): Don't use BP_SYM.
23375 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23377 (__mpn_rshift): Don't use BP_SYM.
23378 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23379 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23380 <bp-sym.h> and <bp-asm.h>.
23381 (__sigsetjmp): Don't use BP_SYM.
23382 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23383 (L(start_addresses)): Don't use BP_SYM.
23384 (_start): Likewise.
23385 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23387 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23388 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23389 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23390 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23392 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23393 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23394 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23395 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23397 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23399 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23400 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23402 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23404 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23405 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23406 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23408 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23410 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23412 (strncmp): Don't use BP_SYM,
23413 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23415 (__mpn_sub_n): Don't use BP_SYM.
23416 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23417 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23419 (__mpn_submul_1): Don't use BP_SYM.
23420 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23422 <bp-sym.h> and <bp-asm.h>.
23423 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23425 <bp-sym.h> and <bp-asm.h>.
23426 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23429 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23432 Use ZK to minimize writes to Z.
23433 (sub_magnitudes): Simplify code a bit.
23434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23435 Use ZK to minimize writes to Z.
23436 (sub_magnitudes): Simplify code a bit.
23438 2013-02-27 Roland McGrath <roland@hack.frob.com>
23440 * csu/gmon-start.c: Add special exception to license text.
23442 2013-02-27 Richard Henderson <rth@redhat.com>
23444 * scripts/config.guess: Update from config.git.
23445 * scripts/config.sub: Likewise.
23447 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23449 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23451 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23453 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23455 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23457 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23459 2013-02-26 Roland McGrath <roland@hack.frob.com>
23461 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23462 [$(build-shared = yes].
23464 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23466 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23467 (__mul): Reduce iterations for calculating mantissa.
23469 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23471 (__mpranred): Likewise.
23474 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23475 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23477 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23479 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23480 Define __attribute__.
23482 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23484 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23486 * posix/regex_internal.h (__attribute): Remove.
23487 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23488 (re_string_context_at): Likewise.
23489 (bitset_not): Use __attribute__ and mark function as possibly
23491 (bitset_merge): Likewise.
23492 (bitset_mask): Likewise.
23493 (re_string_char_size_at): Likewise.
23494 (re_string_wchar_at): Likewise.
23495 (re_string_elem_size_at): Likewise.
23497 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23499 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23503 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23507 (denorm): Likewise.
23508 (__dbl_mp): Likewise.
23509 (add_magnitudes): Likewise.
23510 (sub_magnitudes): Likewise.
23514 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23517 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23520 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23524 up changes with default code.
23525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23528 2013-02-24 Allan McRae <allan@archlinux.org>
23530 * manual/socket.texi (The Internet Namespace): Order menu items
23531 to match that in the file.
23533 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23534 node listing of the info page menu.
23536 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23539 * sysdeps/i386/bp-asm.h: Remove file.
23540 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23541 (PARMS): Do not use macros from bp-asm.h.
23545 (__mpn_add_n): Do not use BP_SYM
23546 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23548 (PARMS): Do not use macros from bp-asm.h.
23551 (__mpn_addmul_1): Do not use BP_SYM
23552 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23554 (PARMS): Do not use macros from bp-asm.h.
23555 (SIGMSK): Likewise.
23556 (_setjmp): Likewise. Do not use BP_SYM.
23557 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23559 (PARMS): Do not use macros from bp-asm.h.
23560 (SIGMSK): Likewise.
23561 (setjmp): Likewise. Do not use BP_SYM.
23562 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23564 (PARMS): Do not use macros from bp-asm.h.
23565 (__frexp): Do not use BP_SYM.
23567 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23569 (PARMS): Do not use macros from bp-asm.h.
23570 (__frexpf): Do not use BP_SYM.
23571 (frexpf): Likewise.
23572 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23574 (PARMS): Do not use macros from bp-asm.h.
23575 (__frexpl): Do not use BP_SYM.
23576 (frexpl): Likewise.
23577 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23579 (PARMS): Do not use macros from bp-asm.h.
23580 (__remquo): Do not use BP_SYM.
23581 (remquo): Likewise.
23582 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23584 (PARMS): Do not use macros from bp-asm.h.
23585 (__remquof): Do not use BP_SYM.
23586 (remquof): Likewise.
23587 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23589 (PARMS): Do not use macros from bp-asm.h.
23590 (__remquol): Do not use BP_SYM.
23591 (remquol): Likewise.
23592 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23594 (PARMS): Do not use macros from bp-asm.h.
23597 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23598 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23600 (PARMS): Do not use macros from bp-asm.h.
23601 (strlen): Do not use BP_SYM.
23602 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23604 (PARMS): Do not use macros from bp-asm.h.
23608 (__mpn_add_n): Do not use BP_SYM.
23609 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23611 (PARMS): Do not use macros from bp-asm.h.
23614 (__mpn_addmul_1): Do not use BP_SYM.
23615 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23618 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23620 (PARMS): Do not use macros from bp-asm.h.
23623 (__mpn_lshift): Do not use BP_SYM.
23624 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23626 (PARMS): Do not use macros from bp-asm.h.
23630 (memcpy): Likewise. Do not use BP_SYM.
23631 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23632 libc_hidden_def and weak_alias.
23633 (mempcpy): Do not use BP_SYM in weak_alias.
23634 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23636 (PARMS): Do not use macros from bp-asm.h.
23639 [!BZERO_P] (CHR): Likewise.
23640 (memset): Likewise. Do not use BP_SYM.
23641 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23643 (PARMS): Do not use macros from bp-asm.h.
23646 (__mpn_mul_1): Do not use BP_SYM.
23647 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23649 (PARMS): Do not use macros from bp-asm.h.
23652 (__mpn_rshift): Do not use BP_SYM.
23653 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23655 (PARMS): Do not use macros from bp-asm.h.
23658 (strchr): Likewise. Do not use BP_SYM.
23659 (index): Do not use BP_SYM in weak_alias.
23660 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23662 (PARMS): Do not use macros from bp-asm.h.
23665 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23666 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23668 (PARMS): Do not use macros from bp-asm.h.
23669 (strlen): Do not use BP_SYM.
23670 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23672 (PARMS): Do not use macros from bp-asm.h.
23676 (__mpn_sub_n): Do not use BP_SYM.
23677 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23679 (PARMS): Do not use macros from bp-asm.h.
23682 (__mpn_submul_1): Do not use BP_SYM.
23683 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23685 (PARMS): Do not use macros from bp-asm.h.
23689 (__mpn_add_n): Do not use BP_SYM.
23690 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23693 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23695 (PARMS): Do not use macros from bp-asm.h.
23698 (memcmp): Do not use BP_SYM.
23699 (bcmp): Do not use BP_SYM in weak_alias.
23700 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23702 (PARMS): Do not use macros from bp-asm.h.
23706 (memcpy): Likewise. Do not use BP_SYM.
23707 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23709 (PARMS): Do not use macros from bp-asm.h.
23713 (memmove): Likewise. Do not use BP_SYM.
23714 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23716 (PARMS): Do not use macros from bp-asm.h.
23720 (__mempcpy): Likewise. Do not use BP_SYM.
23721 (mempcpy): Do not use BP_SYM in weak_alias.
23722 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23724 (PARMS): Do not use macros from bp-asm.h.
23727 [!BZERO_P] (CHR): Likewise.
23728 (memset): Likewise. Do not use BP_SYM.
23729 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23731 (PARMS): Do not use macros from bp-asm.h.
23733 (strcmp): Do not use BP_SYM.
23734 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23736 (PARMS): Do not use macros from bp-asm.h.
23739 [USE_AS_STRTOK_R] (SAVE): Likewise.
23740 (FUNCTION): Likewise. Do not use BP_SYM.
23741 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23743 (strtok_r): Likewise.
23744 (__GI___strtok_r): Likewise.
23745 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23746 (PARMS): Do not use macros from bp-asm.h.
23749 (__mpn_lshift): Do not use BP_SYM.
23750 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23751 (PARMS): Do not use macros from bp-asm.h.
23754 (__memchr): Do not use BP_SYM.
23755 (memchr): Do not use BP_SYM in weak_alias.
23756 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23757 (PARMS): Do not use macros from bp-asm.h.
23760 (memcmp): Do not use BP_SYM.
23761 (bcmp): Do not use BP_SYM in weak_alias.
23762 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23763 (PARMS): Do not use macros from bp-asm.h.
23766 (__mpn_mul_1): Do not use BP_SYM.
23767 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23769 (PARMS): Do not use macros from bp-asm.h.
23772 (__rawmemchr): Do not use BP_SYM.
23773 (rawmemchr): Do not use BP_SYM in weak_alias.
23774 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23775 (PARMS): Do not use macros from bp-asm.h.
23778 (__mpn_rshift): Do not use BP_SYM.
23779 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23780 (PARMS): Do not use macros from bp-asm.h.
23781 (SIGMSK): Likewise.
23782 (__sigsetjmp): Likewise. Do not use BP_SYM.
23783 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23784 (_start): Do not use BP_SYM.
23785 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23786 (PARMS): Do not use macros from bp-asm.h.
23789 (__stpcpy): Likewise. Do not use BP_SYM.
23790 (stpcpy): Do not use BP_SYM in weak_alias.
23791 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23793 (PARMS): Do not use macros from bp-asm.h.
23797 (__stpncpy): Likewise. Do not use BP_SYM.
23798 (stpncpy): Do not use BP_SYM in weak_alias.
23799 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23800 (PARMS): Do not use macros from bp-asm.h.
23803 (strchr): Likewise. Do not use BP_SYM.
23804 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23806 (PARMS): Do not use macros from bp-asm.h.
23809 (__strchrnul): Likewise. Do not use BP_SYM.
23810 (strchrnul): Do not use BP_SYM in weak_alias.
23811 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23813 (PARMS): Do not use macros from bp-asm.h.
23815 (strcspn): Do not use BP_SYM.
23816 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23818 (PARMS): Do not use macros from bp-asm.h.
23821 (strpbrk): Likewise. Do not use BP_SYM.
23822 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23824 (PARMS): Do not use macros from bp-asm.h.
23827 (strrchr): Likewise. Do not use BP_SYM.
23828 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23829 (PARMS): Do not use macros from bp-asm.h.
23831 (strspn): Do not use BP_SYM.
23832 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23833 (PARMS): Do not use macros from bp-asm.h.
23837 (FUNCTION): Likewise. Do not use BP_SYM.
23838 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23840 (strtok_r): Likewise.
23841 (__GI___strtok_r): Likewise.
23842 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23843 (PARMS): Do not use macros from bp-asm.h.
23847 (__mpn_sub_n): Do not use BP_SYM.
23848 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23850 (PARMS): Do not use macros from bp-asm.h.
23853 (__mpn_submul_1): Do not use BP_SYM.
23854 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23856 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23858 (PARMS): Do not use macros from bp-asm.h.
23863 (__clone): Do not use BP_SYM.
23864 (clone): Do not use BP_SYM in weak_alias.
23865 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23867 (PARMS): Do not use macros from bp-asm.h.
23869 (__mmap64): Do not use BP_SYM.
23870 (mmap64): Do not use BP_SYM in weak_alias.
23871 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23872 <bp-sym.h> and <bp-asm.h>.
23873 (PARMS): Do not use macros from bp-asm.h.
23874 (__posix_fadvise64_l64): Do not use BP_SYM.
23875 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23876 (PARMS): Do not use macros from bp-asm.h.
23878 (semtimedop): Do not use BP_SYM.
23879 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23882 2013-02-21 Allan McRae <allan@archlinux.org>
23884 * manual/message.texi (Charset conversion in gettext):
23885 Move @end statement to beginning of line.
23887 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23894 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23895 (denorm): Likewise.
23896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23899 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23901 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23902 tail-call to the resolved function if pltexit isn't needed.
23904 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23907 or Y being zero as being unlikely.
23908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23911 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23913 * manual/nss.texi (System Databases and Name Service Switch):
23914 Remove frobnicate @pxref.
23916 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23918 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23919 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23921 2013-02-20 Petr Machata <pmachata@redhat.com>
23923 * elf/elf.h (R_ARM_TARGET1): New macro.
23924 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23925 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23926 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23927 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23928 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23929 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23930 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23931 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23932 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23933 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23934 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23935 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23936 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23937 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23938 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23939 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23940 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23941 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23942 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23943 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23944 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23945 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23946 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23947 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23948 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23949 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23950 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23951 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23952 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23953 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23954 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23955 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23956 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23957 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23958 (R_ARM_THM_GOT_BREL12): Likewise.
23959 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23960 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23961 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23962 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23963 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23964 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23965 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23966 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23967 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23969 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23971 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23972 __attribute_used__ to __attribute__ ((unused)).
23974 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23976 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23979 comment formatting.
23980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23982 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23985 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23987 (ENTER): Remove both macro definitions.
23989 (CHECK_BOUNDS_LOW): Likewise.
23990 (CHECK_BOUNDS_HIGH): Likewise.
23991 (CHECK_BOUNDS_BOTH): Likewise.
23992 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23993 (RETURN_BOUNDED_POINTER): Likewise.
23994 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23995 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23996 (POP_ERRNO_LOCATION_RETURN): Likewise.
23997 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23998 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23999 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24001 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24002 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24003 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24004 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24005 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24006 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24007 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24008 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24009 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24010 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24011 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24012 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24013 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24014 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24016 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24017 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24019 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24020 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24021 * sysdeps/i386/i586/memset.S (memset): Likewise.
24022 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24023 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24024 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24026 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24027 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24028 Change uses of L(2) to L(out).
24029 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24030 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24031 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24032 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24033 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24035 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24036 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24038 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24039 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24040 (RETURN): Do not use macro LEAVE.
24041 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24042 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24043 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24044 * sysdeps/i386/i686/memset.S (memset): Likewise.
24045 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24046 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24047 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24048 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24050 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24051 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24052 L(1_2) and L(1_3) into L(1).
24053 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24054 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24055 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24056 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24057 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24058 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24059 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24060 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24061 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24063 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24064 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24065 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24066 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24067 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24068 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24069 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24070 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24071 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24072 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24073 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24074 * sysdeps/i386/strspn.S (strspn): Likewise.
24075 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24077 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24078 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24079 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24080 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24081 L(1_3) into L(1_1).
24082 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24083 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24084 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24086 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24088 2013-02-19 Jakub Jelinek <jakub@redhat.com>
24090 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24093 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24095 * math/atest-exp.c (exp_mpn): Remove ROUND.
24096 * math/atest-exp2.c (exp_mpn): Likewise.
24097 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24099 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24100 * stdlib/tst-tls-atexit-lib.c: Likewise.
24101 * stdlib/tst-tls-atexit.c: Likewise.
24103 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24105 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24106 and __attribute_alloc_size__.
24108 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24110 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24111 __attribute_alloc_size__.
24112 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24113 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24115 2013-02-18 Mike Frysinger <vapier@gentoo.org>
24117 * include/programs/xmalloc.h: New file.
24118 * catgets/gencat.c: Include it.
24119 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24120 * elf/pldd.c: Likewise.
24121 * iconv/iconv_charmap.c: Likewise.
24122 * iconv/iconvconfig.c: Likewise.
24123 * iconv/strtab.c: Likewise.
24124 * locale/programs/locale.c: Likewise.
24125 * locale/programs/localedef.h: Likewise.
24126 * locale/programs/simple-hash.c: Likewise.
24127 * nscd/nscd.h: Likewise.
24128 * nss/makedb.c: Likewise.
24129 * sysdeps/generic/ldconfig.h: Likewise.
24131 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24133 * Versions.def: Add GLIBC_2.18.
24134 * include/link.h (struct link_map): New member l_tls_dtor_count.
24135 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24136 (__call_tls_dtors): Likewise.
24137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24138 __cxa_thread_atexit_impl.
24139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24147 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24155 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24156 (tests): Add test case tst-tls-atexit.
24157 (modules-names): Add shared library for tst-tls-atexit.
24158 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24159 (GLIBC_PRIVATE): Add __call_tls_dtors.
24160 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24162 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24163 * stdlib/tst-tls-atexit.c: New test case.
24164 * stdlib/tst-tls-atexit-lib.c: New test case.
24166 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24168 * elf/Versions (ld): Add _dl_find_dso_for_object.
24169 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24170 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24171 (dl_open_worker): Use _dl_find_dso_for_object.
24172 * elf/dl-sym.c (do_sym): Likewise.
24173 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24175 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24177 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24178 Syntactic changes only.
24179 (_dl_runtime_profile): Do a tail-call to the resolved function.
24181 2013-02-17 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/x86_64/bp-asm.h: Remove file.
24185 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24186 <bp-sym.h> and <bp-asm.h>.
24187 (__clone): Do not use BP_SYM.
24188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24189 <bp-sym.h> and <bp-asm.h>.
24190 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24191 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24193 (_setjmp): Do not use BP_SYM.
24194 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24196 (setjmp): Do not use BP_SYM.
24197 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24199 (mempcpy): Do not use BP_SYM in weak_alias.
24200 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24202 (strchr): Do not use BP_SYM.
24203 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24205 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24206 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24207 (_start): Do not use BP_SYM.
24208 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24210 (strcat): Do not use BP_SYM.
24211 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24213 (STRCMP): Do not use BP_SYM.
24214 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24216 (STRCPY): Do not use BP_SYM.
24217 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24219 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24221 (FUNCTION): Do not use BP_SYM.
24222 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24224 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24226 2013-02-17 Andreas Jaeger <aj@suse.de>
24228 * time/Versions: Sort entries.
24229 * string/Versions: Likewise.
24230 * resolv/Versions: Likewise.
24231 * posix/Versions: Likewise.
24232 * iconv/Versions: Likewise.
24233 * elf/Versions: Likewise.
24234 * wcsmbs/Versions: Likewise.
24236 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24238 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24239 loop termination condition.
24241 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24242 variable to calculate EZ.
24245 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24246 the lower precision input.
24248 2013-02-15 Joseph Myers <joseph@codesourcery.com>
24251 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24252 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24253 (run-via-rtld-prefix): Do not handle %-bp tests.
24254 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24255 (all-object-suffixes): Remove .ob.
24256 (bppfx): Remove variable.
24257 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24258 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24259 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24260 [$(build-bounded) = yes] (libtype.ob): Likewise.
24261 * Makerules (elide-routines.ob): Remove variable.
24262 (do-tests-clean): Do not handle *-bp.out.
24263 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24264 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24265 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24266 (tests): Do not include $(tests-bp.out).
24267 (xtests): Do not include $(xtests-bp.out).
24268 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24269 [$(build-bounded) = yes] ($(addprefix
24270 $(objpfx),$(binaries-bounded))): Remove rule.
24271 ($(objpfx)%-bp.out): Remove rule.
24272 * config.make.in (build-bounded): Remove variable.
24273 * crypt/Makefile [$(build-bounded) = yes]
24274 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24275 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24276 append to variable.
24277 [$(build-bounded) = yes] (install-lib): Likewise.
24278 [$(build-bounded) = yes] (generated): Likewise.
24279 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24281 * intl/Makefile [$(build-bounded) = yes]
24282 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24283 * math/Makefile [$(build-bounded) = yes]
24284 ($(tests:%=$(objpfx)%-bp): Likewise.
24285 * misc/Makefile [$(build-bounded) = yes]
24286 ($(objpfx)tst-tsearch-bp): Likewise.
24287 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24288 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24290 * string/Makefile (o-objects.ob): Remove variable.
24291 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24292 (CFLAGS-.ob): Remove variable.
24293 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24294 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24295 both definitions of variable.
24296 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24297 (ASFLAGS-.ob): Remove variable.
24299 2013-02-14 Joseph Myers <joseph@codesourcery.com>
24302 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24303 Remove __BOUNDED_POINTERS__ from condition.
24304 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24305 * string/bits/string2.h [!__NO_STRING_INLINES &&
24306 !__BOUNDED_POINTERS__]: Likewise.
24307 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24309 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24310 Remove conditional code.
24311 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24312 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24313 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24317 * csu/libc-start.c: Do not include <bp-sym.h>.
24318 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24319 * elf/dl-open.c: Do not include <bp-sym.h>.
24320 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24321 * math/fegetenv.c: Do not include <bp-sym.h>.
24322 (fegetenv): Do not use BP_SYM in versioned symbols.
24323 * nptl/sysdeps/pthread/bits/libc-lockP.h
24324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24327 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24329 (__pthread_mutex_destroy): Likewise.
24330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24331 (__pthread_mutex_lock): Likewise.
24332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24333 (__pthread_mutex_trylock): Likewise.
24334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24335 (__pthread_mutex_unlock): Likewise.
24336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24337 (__pthread_mutexattr_init): Likewise.
24338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24339 (__pthread_mutexattr_destroy): Likewise.
24340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24341 (__pthread_mutexattr_settype): Likewise.
24342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24343 (__pthread_rwlock_init): Likewise.
24344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24345 (__pthread_rwlock_destroy): Likewise.
24346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24347 (__pthread_rwlock_rdlock): Likewise.
24348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24349 (__pthread_rwlock_tryrdlock): Likewise.
24350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24351 (__pthread_rwlock_wrlock): Likewise.
24352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24353 (__pthread_rwlock_trywrlock): Likewise.
24354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24355 (__pthread_rwlock_unlock): Likewise.
24356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24357 (__pthread_key_create): Likewise.
24358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24359 (__pthread_setspecific): Likewise.
24360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24361 (__pthread_getspecific): Likewise.
24362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24365 (_pthread_cleanup_push_defer): Likewise.
24366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24367 (_pthread_cleanup_pop_restore): Likewise.
24368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24369 (pthread_setcancelstate): Likewise.
24370 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24372 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24373 (memchr): Do not use BP_SYM in weak_alias.
24374 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24375 (fegetenv): Do not use BP_SYM in versioned symbols.
24376 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24377 (fesetenv): Do not use BP_SYM in versioned symbols.
24378 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24379 (feupdateenv): Do not use BP_SYM in versioned symbols.
24380 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24381 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24382 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24383 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24384 (open64): Do not use BP_SYM in weak_alias.
24385 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24386 (fegetenv): Do not use BP_SYM in versioned symbols.
24387 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24388 (fesetenv): Do not use BP_SYM in versioned symbols.
24389 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24390 (feupdateenv): Do not use BP_SYM in versioned symbols.
24391 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24392 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24393 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24394 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24395 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24396 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24397 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24399 (__libc_start_main): Do not use BP_SYM.
24401 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24404 redundant return line.
24406 (denorm): Likewise.
24407 (dbl_mp): Likewise.
24408 (sub_magnitudes): Likewise.
24414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24416 (denorm): Likewise.
24417 (dbl_mp): Likewise.
24418 (sub_magnitudes): Likewise.
24425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24427 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24428 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24431 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24432 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24434 of __mul for squares.
24435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24439 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24440 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24442 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24445 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24447 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24448 prototype or function definition. Rename ubp_* variables and
24449 parameters. Remove argv definitions conditional on
24450 [__BOUNDED_POINTERS__].
24451 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24452 * elf/dl-runtime.c (_dl_fixup): Likewise.
24453 * include/set-hooks.h (RUN_HOOK): Likewise.
24454 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24456 * string/strcpy.c (strcpy): Do not use __unbounded.
24457 * sysdeps/generic/frame.h (struct layout): Likewise.
24458 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24459 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24460 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24461 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24462 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24463 (__backtrace): Likewise.
24464 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24466 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24467 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24468 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24470 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24471 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24472 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24473 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24474 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24475 Do not use __unbounded.
24476 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24477 Rename __unboundedrlimits parameter to rlimits in prototype.
24478 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24479 Do not use __unbounded.
24480 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24481 not use __ptrvalue.
24482 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24483 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24484 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24485 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24486 __ptrvalue or __unbounded.
24487 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24488 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24490 (__new_msgctl): Do not use __ptrvalue.
24491 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24493 (__libc_msgrcv): Do not use __ptrvalue.
24494 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24495 startup_info): Do not use __unbounded.
24496 (__libc_start_main): Likewise. Rename ubp_* variables and
24497 parameters. Remove argv definitions conditional on
24498 [__BOUNDED_POINTERS__].
24499 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24501 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24503 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24505 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24507 (__new_shmctl): Do not use __ptrvalue.
24508 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24509 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24511 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24513 (__libc_sigaction): Likewise.
24514 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24515 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24517 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24519 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24521 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24523 * string/mempcpy.c: Implement by calling memcpy.
24525 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24527 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24532 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24533 values in the mantissa.
24535 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24536 minimize writes to Z.
24537 (sub_magnitudes): Simplify code a bit.
24539 2013-02-12 Roland McGrath <roland@hack.frob.com>
24541 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24542 from the message. The linker prefixes all warnings with that already.
24544 2013-02-12 Andreas Schwab <schwab@suse.de>
24547 * posix/regexec.c (extend_buffers): Add parameter min_len.
24548 (check_matching): Pass minimum needed length.
24549 (clean_state_log_if_needed): Likewise.
24550 (get_subexp): Likewise.
24551 * posix/Makefile (tests): Add bug-regex34.
24552 (bug-regex34-ENV): Define.
24553 * posix/bug-regex34.c: New file.
24556 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24557 elements compare against the byte sequence of it, not its name.
24558 * posix/Makefile (tests): Add bug-regex35.
24559 (bug-regex35-ENV): Define.
24560 * posix/bug-regex35.c: New file.
24562 2013-02-11 Tom de Vries <tom@codesourcery.com>
24564 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24566 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24567 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24568 (CHECK_EOL): Add undef.
24570 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24572 * bits/stdlib-bsearch.h: New file.
24573 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24574 * stdlib/stdlib.h: Likewise.
24576 2013-02-11 Roland McGrath <roland@hack.frob.com>
24578 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24579 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24581 * manual/search.texi (Array Search Function): Add missing const in
24583 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24584 declaration to use rlim_t.
24585 (Basic Scheduling Functions): Remove erroneous const from
24586 sched_getparam prototype. Remove erroneous * from
24587 sched_get_priority_max and sched_get_priority_min prototypes.
24588 (Resource Usage): Fix summary @comment on vtimes to refer to
24589 sys/vtimes.h rather than vtimes.h.
24590 Add missing *s in vtimes prototype.
24591 (Limits on Resources): Fix ulimit prototype to return long int.
24592 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24593 prototypes to use long int rather than double.
24594 (BSD Random): Fix initstate and setstate to use char *, not void *.
24595 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24596 prototype to make second argument 'struct aiocb64 *const[]'.
24597 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24598 (Status of AIO Operations): Remove erroneous const in aio_return and
24599 aio_return64 prototypes.
24600 (Synchronizing I/O): Fix sync prototype to return void.
24601 * manual/startup.texi (Suboptions): Remove an erroneous const in
24602 getsubopt prototype.
24603 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24604 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24605 use size_t rather than int.
24606 (Scanning All Users): Likewise for getpwent_r.
24607 (Setting Groups): Add missing const to setgroups prototype.
24608 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24609 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24610 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24611 'const void *' rather than 'const char *'.
24612 (Host Address Functions): Likewise for inet_ntop.
24613 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24614 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24615 ssize_t for return value.
24616 (Sending Data): Likewise for send, sendto, sendmsg.
24617 (Socket Option Functions): Add a missing const in setsockopt prototype.
24618 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24619 use wchar_t for the argument.
24620 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24621 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24623 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24624 double/float/long double for second argument.
24625 Fix return types of significand, significandf, significandl.
24626 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24627 argument in fchmod prototype.
24628 (File Owner): Use uid_t and gid_t in fchown prototype.
24629 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24630 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24631 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24632 use 'const struct dirent **' as argument types to CMP function pointer
24634 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24635 (File Times): Fix summary magic @comment for struct utimbuf and utime
24636 to refer to utime.h, not time.h.
24637 * manual/string.texi (Argz Functions): Add missing const in
24638 argz_extract and argz_next prototypes.
24639 (Finding Tokens in a String): Likewise for basename.
24640 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24641 (Copying and Concatenation): Fix typo in wmemmove prototype.
24642 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24643 (Signal Stack): Remove erroneous const in sigstack prototype.
24644 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24646 (Simple Calendar Time): Likewise for stime.
24647 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24649 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24650 say sys/sysctl.h instead.
24651 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24652 and vsyslog prototypes.
24654 2013-02-11 Tom de Vries <tom@codesourcery.com>
24656 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24659 2013-02-11 Roland McGrath <roland@hack.frob.com>
24661 * misc/sys/mman.h: Fix typo in mremap comment.
24663 2013-02-08 Roland McGrath <roland@hack.frob.com>
24665 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24666 the '\0' terminator.
24668 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24671 * debug/segfault.c: Don't include <bp-checks.h>.
24672 * sysdeps/generic/bp-checks.h: Remove file.
24673 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24674 (__GETDENTS): Don't use CHECK_N.
24675 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24676 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24677 (__getgroups): Don't use CHECK_N.
24678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24679 (setgroups): Don't use CHECK_N.
24680 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24681 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24682 (__libc_msgrcv): Don't use CHECK_N.
24683 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24684 (__libc_msgsnd): Don't use CHECK_N.
24685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24687 (__libc_pread): Don't use CHECK_N.
24688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24689 include <bp-checks.h>.
24690 (__libc_pread64): Don't use CHECK_N.
24691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24692 include <bp-checks.h>.
24693 (__libc_pwrite): Don't use CHECK_N.
24694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24695 include <bp-checks.h>.
24696 (__libc_pwrite64): Don't use CHECK_N.
24697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24699 (__libc_pread): Don't use CHECK_N.
24700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24701 include <bp-checks.h>.
24702 (__libc_pread64): Don't use CHECK_N.
24703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24704 include <bp-checks.h>.
24705 (__libc_pwrite): Don't use CHECK_N.
24706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24707 include <bp-checks.h>.
24708 (__libc_pwrite64): Don't use CHECK_N.
24709 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24710 (do_pread): Don't use CHECK_N.
24711 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24712 (do_pread64): Don't use CHECK_N.
24713 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24714 (do_pwrite): Don't use CHECK_N.
24715 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24716 (do_pwrite64): Don't use CHECK_N.
24717 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24718 (__libc_readv): Don't use CHECK_N.
24719 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24720 (semop): Don't use CHECK_N.
24721 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24723 (semtimedop): Don't use CHECK_N.
24724 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24725 (__libc_pread): Don't use CHECK_N.
24726 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24728 (__libc_pread64): Don't use CHECK_N.
24729 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24731 (__libc_pwrite): Don't use CHECK_N.
24732 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24734 (__libc_pwrite64): Don't use CHECK_N.
24735 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24737 (__libc_msgrcv): Don't use CHECK_N.
24738 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24739 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24740 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24741 (__libc_writev): Don't use CHECK_N.
24743 2013-02-08 Roland McGrath <roland@hack.frob.com>
24745 * string/strcpy.c: Removed unused variable.
24747 * Makeconfig (+sysdep-includes): Define with := rather than =.
24748 Use an existing include/ subdir of each sysdeps dir before it.
24750 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24752 * nscd/connection.c (register_traced_file): Comment function.
24753 [HAVE_INOTIFY] (union __inev): Define.
24754 [HAVE_INOTIFY] (inotify_check_files): New function.
24755 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24756 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24758 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24760 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24762 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24763 loaded if not already and that a failure is permanent.
24765 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24768 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24769 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24771 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24774 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24775 (CHECK_1_NULL_OK): Likewise.
24776 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24777 (__fxstat): Do not use CHECK_1.
24778 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24780 (___fxstat64): Do not use CHECK_1.
24781 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24783 (__fxstatat): Do not use CHECK_1.
24784 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24786 (__fxstatat64): Do not use CHECK_1.
24787 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24789 (__fxstat): Do not use CHECK_1.
24790 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24792 (__fxstatat): Do not use CHECK_1.
24793 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24795 (__getresgid): Do not use CHECK_1.
24796 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24798 (__getresuid): Do not use CHECK_1.
24799 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24801 (__lxstat): Do not use CHECK_1.
24802 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24804 (__old_msgctl): Do not use CHECK_1.
24805 (__new_msgctl): Likewise.
24806 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24808 (__new_setrlimit): Do not use CHECK_1.
24809 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24811 (__old_shmctl): Do not use CHECK_1.
24812 (__new_shmctl): Likewise.
24813 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24815 (__xstat): Do not use CHECK_1.
24816 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24817 (__lxstat): Do not use CHECK_1.
24818 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24820 (___lxstat64): Do not use CHECK_1.
24821 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24822 (__old_msgctl): Do not use CHECK_1.
24823 (__new_msgctl): Likewise.
24824 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24826 (__gettimeofday): Do not use CHECK_1.
24827 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24828 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24829 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24831 (__gettimeofday): Do not use CHECK_1.
24832 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24833 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24834 (__new_shmctl): Do not use CHECK_1.
24835 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24837 (do_sigtimedwait): Do not use CHECK_1.
24838 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24840 (do_sigwaitinfo): Do not use CHECK_1.
24841 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24843 (msgctl): Do not use CHECK_1.
24844 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24846 (shmctl): Do not use CHECK_1.
24847 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24848 (ustat): Do not use CHECK_1.
24849 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24851 (__fxstat): Do not use CHECK_1.
24852 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24854 (__fxstatat): Do not use CHECK_1.
24855 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24857 (__lxstat): Do not use CHECK_1.
24858 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24860 (__xstat): Do not use CHECK_1.
24861 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24862 (__xstat): Do not use CHECK_1.
24863 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24864 (___xstat64): Do not use CHECK_1.
24867 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24869 (CHECK_BOUNDS_HIGH): Likewise.
24870 * string/strcpy.c: Do not include <bp-checks.h>.
24871 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24873 2013-02-07 Roland McGrath <roland@hack.frob.com>
24875 * nscd/nscd-client.h (__nscd_drop_map_ref):
24876 Add __attribute__ ((unused)).
24877 * nis/nss-nisplus.h (niserr2nss): Likewise.
24879 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24880 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24882 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24883 Remove inline keyword.
24884 * include/rounding-mode.h (round_away): Likewise.
24885 * libio/wfileops.c (adjust_wide_data): Likewise.
24886 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24887 (__m128i_strloadu_tolower): Likewise.
24888 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24889 (__m128i_strloadu_tolower): Likewise.
24890 * time/mktime.c (ydhms_diff): Likewise.
24891 * locale/elem-hash.h (elem_hash): Likewise.
24892 * locale/setlocale.c (setdata): Likewise.
24893 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24894 (re_string_wchar_at): Likewise.
24895 (bitset_not, bitset_merge, bitset_mask): Likewise.
24896 [!(__GNUC__ > 3)] (inline): Remove macro.
24897 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24898 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24899 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24900 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24901 * string/memcmp.c (memcmp_bytes): Likewise.
24902 * locale/programs/locarchive.c (compute_hashval): Likewise.
24903 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24904 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24905 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24906 * nss/getent.c (print_rpc, print_protocols): Likewise.
24907 (print_passwd, print_group, print_aliases): Likewise.
24908 * nis/nss-nisplus.h (niserr2nss): Likewise.
24909 * nscd/connections.c (restart_p): Likewise.
24910 Change return type to bool.
24912 2013-02-05 Roland McGrath <roland@hack.frob.com>
24914 * Makeconfig (all-Depend-files): Add existing
24915 $(sorted-subdirs:=/Depend) files.
24916 (all-subdirs): Remove nss.
24917 * sysdeps/unix/inet/Subdirs: Add it here instead.
24918 * hesiod/Depend: New file.
24920 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24921 instead of calling alloca.
24923 * io/lseek.c (__lseek): Rename to __libc_lseek.
24924 Define __lseek as an alias.
24926 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24928 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24930 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24931 else clause and remove check for non-standard endianness.
24933 2013-02-04 David S. Miller <davem@davemloft.net>
24935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24937 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24940 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24941 (__ubp_memchr): Remove prototype.
24942 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24943 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24944 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24945 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24946 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24948 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24949 (__ubp_memchr): Likewise.
24950 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24951 (__ubp_memchr): Likewise.
24952 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24953 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24954 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24955 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24957 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24958 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24959 (__getcwd): Do not use CHECK_STRING.
24960 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24962 (__real_chown): Do not use CHECK_STRING.
24963 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24965 (fchownat): Do not use CHECK_STRING.
24966 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24968 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24970 (__lchown): Do not use CHECK_STRING.
24971 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24972 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24973 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24974 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24976 include <bp-checks.h>.
24977 (truncate64): Do not use CHECK_STRING.
24978 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24980 (__real_chown): Do not use CHECK_STRING.
24981 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24983 (__lchown): Do not use CHECK_STRING.
24984 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24986 (__chown): Do not use CHECK_STRING.
24987 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24989 (truncate64): Do not use CHECK_STRING.
24990 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24992 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24993 (__xmknod): Do not use CHECK_STRING.
24994 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24996 (__xmknodat): Do not use CHECK_STRING.
24997 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24998 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25000 2013-02-04 Andreas Schwab <schwab@suse.de>
25003 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25004 * include/netdb.h: Likewise for h_errno.
25005 * elf/tst-stackguard1.c: Include <tls.h>.
25007 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25009 * elf/link.h (struct link_map): Extend the l_addr comment.
25010 * include/link.h (struct link_map): Likewise.
25012 2013-02-01 Joseph Myers <joseph@codesourcery.com>
25015 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25016 (BOUNDED_1): Remove macro.
25017 * debug/backtrace.c: Don't include <bp-checks.h>.
25018 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25019 (__backtrace): Likewise.
25020 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25022 (__backtrace): Don't use BOUNDED_1.
25023 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25025 (__backtrace): Don't use BOUNDED_1.
25026 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25027 (__backtrace): Don't use BOUNDED_1.
25028 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25029 (shmat): Don't use BOUNDED_N.
25031 2013-01-31 Joseph Myers <joseph@codesourcery.com>
25034 * sysdeps/generic/bp-start.h: Remove file.
25035 * csu/libc-start.c: Don't include <bp-start.h>.
25036 (LIBC_START_MAIN): Set up __environ directly instead of using
25037 INIT_ARGV_and_ENVIRON.
25038 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25042 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25044 (CHECK_FCNTL): Likewise.
25045 (CHECK_N_PAGES): Likewise.
25048 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25050 (CHECK_SIGSET_NULL_OK): Likewise.
25051 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25053 (sigpending): Don't use CHECK_SIGSET.
25054 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25056 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25057 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25059 (do_sigsuspend): Don't use CHECK_SIGSET.
25060 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25062 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25063 (do_sigwait): Don't use CHECK_SIGSET.
25064 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25067 include <bp-checks.h>.
25068 (sigpending): Don't use CHECK_SIGSET.
25069 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25070 include <bp-checks.h>.
25071 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25072 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25074 (sigpending): Don't use CHECK_SIGSET.
25075 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25077 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25080 * sysdeps/generic/bp-semctl.h: Remove file.
25081 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25082 <bp-checks.h> and <bp-semctl.h>.
25083 (__old_semctl): Don't use CHECK_SEMCTL.
25084 (__new_semctl): Likewise.
25085 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25087 (__old_semctl): Don't use CHECK_SEMCTL.
25088 (__new_semctl): Likewise.
25089 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25090 <bp-checks.h> and <bp-semctl.h>.
25091 (__old_semctl): Don't use CHECK_SEMCTL.
25092 (__new_semctl): Likewise.
25093 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25094 <bp-checks.h> and <bp-semctl.h>.
25095 (semctl): Don't use CHECK_SEMCTL.
25098 * Makerules (elide-bp-thunks): Remove variable.
25099 (elide-routines.oS): Don't use $(elide-bp-thunks).
25100 (elide-routines.os): Likewise.
25101 (elide-routines.o): Likewise.
25102 (elide-routines.op): Likewise.
25103 (elide-routines.og): Likewise.
25104 (objects): Don't use $(bp-thunks).
25105 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25107 (common-generated): Do not add s-proto-bp.d.
25108 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25111 Do not generate makefile rules for bounded-pointer thunks.
25112 * sysdeps/generic/bp-thunks.h: Remove file.
25113 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25114 * sysdeps/unix/s-proto-bp.S: Likewise.
25117 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25118 parts of result separately when argument is not close to line from
25119 -i to i and one part of argument is small.
25120 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25121 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25122 * math/libm-test.inc (cacos_test): Add more tests.
25123 (casin_test): Likewise.
25124 (casinh_test): Likewise.
25125 * sysdeps/i386/fpu/libm-test-ulps: Update.
25126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25128 2013-01-31 David S. Miller <davem@davemloft.net>
25130 * po/de.po: Update from translation team.
25132 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25134 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25136 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25138 * configure.in (_AC_PROG_CC_C89): New definition.
25139 * configure: Regenerate.
25141 * configure.in (AC_PROG_CPP): New definition.
25142 * configure: Regenerate.
25144 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25146 * debug/tst-backtrace.h: New file.
25147 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25148 (ret): Remove variable.
25150 (FAIL): Remove macro.
25151 (NO_INLINE): Likewise.
25152 (fn1): Use match function instead of strstr.
25153 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25154 (ret): Remove variable.
25156 (FAIL): Remove macro.
25157 (NO_INLINE): Likewise.
25158 (fn): Use match function instead of strstr.
25159 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25160 (ret): Remove variable.
25162 (FAIL): Remove macro.
25163 (NO_INLINE): Likewise.
25164 (handle_signal): Use match function instead of strstr.
25165 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25166 (ret): Remove variable.
25168 (FAIL): Remove macro.
25169 (NO_INLINE): Likewise.
25170 (handle_signal): Use match function instead of strstr.
25172 2013-01-23 Roland McGrath <roland@hack.frob.com>
25174 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25176 2013-01-23 David S. Miller <davem@davemloft.net>
25178 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25179 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25180 argument of CAS if possible.
25181 * sysdeps/sparc/sparc64/bits/atomic.h
25182 (__arch_compare_and_exchange_val_32_acq): Likewise.
25183 (__arch_compare_and_exchange_val_64_acq): Likewise.
25185 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25187 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25188 * sysdeps/posix/ulimit.c: ... this.
25189 Include <limits.h>.
25190 * sysdeps/unix/bsd/ulimit.c: Remove file.
25192 2013-01-23 Adam Conrad <adconrad@0c3.net>
25194 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25195 (LDFLAGS-tst-array5): Likewise.
25197 2013-01-23 Joseph Myers <joseph@codesourcery.com>
25200 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25201 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25202 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25203 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25205 2013-01-21 David S. Miller <davem@davemloft.net>
25207 * sysdeps/sparc/backtrace.c: New file.
25208 * sysdeps/sparc/sparc32/backtrace.h: New file.
25209 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25210 * sysdeps/sparc/sparc64/backtrace.h: New file.
25211 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25212 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25215 2013-01-21 Andreas Schwab <schwab@suse.de>
25218 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25221 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25227 2013-01-18 Joseph Myers <joseph@codesourcery.com>
25228 Mark Mitchell <mark@codesourcery.com>
25229 Tom de Vries <tom@codesourcery.com>
25230 Paul Pluzhnikov <ppluzhnikov@google.com>
25232 * debug/tst-backtrace2.c: New file.
25233 * debug/tst-backtrace3.c: Likewise.
25234 * debug/tst-backtrace4.c: Likewise.
25235 * debug/tst-backtrace5.c: Likewise.
25236 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25237 (CFLAGS-tst-backtrace3.c): Likewise.
25238 (CFLAGS-tst-backtrace4.c): Likewise.
25239 (CFLAGS-tst-backtrace5.c): Likewise.
25240 (LDFLAGS-tst-backtrace2): Likewise.
25241 (LDFLAGS-tst-backtrace3): Likewise.
25242 (LDFLAGS-tst-backtrace4): Likewise.
25243 (LDFLAGS-tst-backtrace5): Likewise.
25244 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25245 tst-backtrace4 and tst-backtrace5.
25247 2013-01-18 Anton Blanchard <anton@samba.org>
25248 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25250 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25251 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25252 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25253 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25255 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25256 "+r" and remove output regs list as redundant. Add explicit inline
25257 asm to specify register of return val to work around compiler codegen
25258 bug. Remove (int) cast on return value. Add return type parameter to
25259 use in macro so that this macro does not truncate return value for
25261 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25262 pass to INTERNAL_VSYSCALL_NCS.
25263 (INLINE_VSYSCALL): Add 'long int' as return type to
25264 INTERNAL_VSYSCALL_NCS macro invocation.
25265 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25266 INTERNAL_VSYSCALL_NCS macro invocation.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25269 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25272 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25273 Fix application of SIMD FP exception mask.
25275 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25276 mp_no from a power of two.
25277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25278 __mpexp_twomm1. Use __pow_mp.
25280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25283 2013-01-17 David S. Miller <davem@davemloft.net>
25285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25287 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25290 * include/complex.h: Condition contents on [!_COMPLEX_H].
25291 (__kernel_casinhf): New prototype.
25292 (__kernel_casinh): Likewise.
25293 (__kernel_casinhl): Likewise.
25294 * math/Makefile (libm_calls): Add k_casinh.
25295 * math/k_casinh.c: New file.
25296 * math/k_casinhf.c: Likewise.
25297 * math/k_casinhl.c: Likewise.
25298 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25299 finite nonzero arguments.
25300 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25301 finite nonzero arguments.
25302 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25303 finite nonzero arguments.
25304 * math/s_casinh.c: Do not include <float.h>.
25305 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25306 * math/s_casinhf.c: Do not include <float.h>.
25307 (__casinhf): Move code for finite nonzero arguments to
25309 * math/s_casinhl.c: Do not include <float.h>.
25310 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25312 (__casinhl): Move code for finite nonzero arguments to
25314 * math/libm-test.inc (cacos_test): Add more tests.
25315 * sysdeps/i386/fpu/libm-test-ulps: Update.
25316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25318 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25320 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25321 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25322 [!HAVE_MREMAP]: Remove [defined linux] case.
25323 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25325 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25327 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25329 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25331 * elf/elf.h (R_386_SIZE32): New relocation.
25332 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25334 (elf_machine_rela): Likewise.
25335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25336 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25338 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25340 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25341 (FP_FAST_FMA): Do not define.
25342 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25343 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25344 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25345 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25346 !_SOFT_FLOAT]: Likewise.
25347 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25348 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25350 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25351 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25352 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25353 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25354 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25355 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25358 2013-01-16 Andreas Schwab <schwab@suse.de>
25361 * include/stdlib.h (__mktemp): Add declaration.
25362 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25363 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25365 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25367 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25369 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25370 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25371 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25373 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25374 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25376 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25378 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25379 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25380 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25382 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25383 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25385 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25387 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25389 2013-01-15 David S. Miller <davem@davemloft.net>
25391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25392 trunc{,f} to libm-sysdep_routes.
25393 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25403 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25404 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25405 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25406 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25407 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25408 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25411 nearbyint{,f} to libm-sysdep_routes.
25412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25423 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25425 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25426 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25428 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25429 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25430 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25432 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25433 libc_feholdexcept and libc_fesetenv.
25435 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25437 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25439 2013-01-14 David S. Miller <davem@davemloft.net>
25441 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25442 (SPARC_ASM_VIS2_IFUNC): Likewise.
25443 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25445 use of 'siam' instruction.
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25479 routines to libm-sysdep_routines.
25480 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25483 fdim/fdimf to libm-sysdep_routines.
25484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25492 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25493 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25494 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25495 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25497 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25499 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25500 to optimize copies.
25502 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25507 local variable MPTWO.
25508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25511 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25513 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25516 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25518 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25520 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25522 * manual/pattern.texi (glob_t): Document gl_flags.
25523 (glob64_t): Likewise.
25525 2013-01-11 David S. Miller <davem@davemloft.net>
25527 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25528 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25529 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25530 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25531 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25532 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25533 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25534 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25535 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25536 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25537 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25538 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25539 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25542 sparc V9 rather than using V8 code.
25543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25546 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25548 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25551 2013-01-11 Roland McGrath <roland@hack.frob.com>
25553 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25554 not in the main loop.
25555 * configure: Regenerated.
25557 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25559 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25560 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25562 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25563 [!__GLIBC_HAVE_LONG_LONG] case.
25564 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25565 condition to just #else.
25566 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25567 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25568 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25569 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25571 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25572 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25573 #elif condition to just #else.
25574 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25575 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25576 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25577 #elif condition to just #else.
25579 2013-01-11 Steve Ellcey <sellcey@mips.com>
25581 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25582 (EF_MIPS_ARCH_64): Fix value.
25583 (EF_MIPS_ARCH_32R2): New.
25584 (EF_MIPS_ARCH_64R2): New.
25586 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25588 * Makeconfig (+link-pie-before-libc): New.
25589 (+link-pie-after-libc): Likewise.
25590 (+link-pie-tests): Likewise.
25591 (+link-pie): Rewritten.
25592 (link-before-libc): Remove $(config-LDFLAGS).
25593 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25594 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25595 (config-LDFLAGS): Renamed to ...
25596 (rtld-LDFLAGS): This.
25597 (rtld-tests-LDFLAGS): New macro.
25598 (link-libc-rpath-link): Likewise.
25599 (link-libc-tests-rpath-link): Likewise.
25600 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25601 (link-libc): Prepand $(link-libc-rpath-link).
25602 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25603 (test-program-prefix): New macro.
25604 (test-via-rtld-prefix): Likewise.
25605 (test-program-cmd): Likewise.
25606 (host-test-program-cmd): Likewise.
25607 * Makefile ($(common-objpfx)testrun.sh): Replace
25608 $(run-program-prefix) with $(test-program-prefix).
25609 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25611 ($(common-objpfx)shlib.lds): Likewise.
25612 (build-module-helper): Likewise.
25613 ($(common-objpfx)format.lds): Likewise.
25614 * Rules (binaries-pie-tests): New.
25615 (binaries-pie-notests): Likewise.
25616 (binaries-pie): Rewritten.
25617 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25618 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25619 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25620 (make-test-out): Replace $(host-built-program-cmd) with
25621 $(host-test-program-cmd).
25622 * config.make.in (build-hardcoded-path-in-tests): New variable.
25623 * configure.in (--enable-hardcoded-path-in-tests): New configure
25625 (hardcoded_path_in_tests): New AC_SUBST.
25626 * configure: Regenerated.
25627 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25628 $(built-program-cmd) with $(test-program-cmd).
25629 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25630 (test_program_cmd): This.
25631 * elf/Makefile ($(objpfx)order.out): Run test with
25632 $(test-program-prefix).
25633 ($(objpfx)order2.out): Likewise.
25634 ($(objpfx)tst-initorder.out): Likewise.
25635 ($(objpfx)tst-initorder2.out): Likewise.
25636 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25637 $(test-program-cmd).
25638 ($(objpfx)tst-array1-static.out): Likewise.
25639 ($(objpfx)tst-array2.out): Likewise.
25640 ($(objpfx)tst-array3.out): Likewise.
25641 ($(objpfx)tst-array4.out): Likewise.
25642 ($(objpfx)tst-array5.out): Likewise.
25643 ($(objpfx)tst-array5-static.out): Likewise.
25644 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25645 $(test-program-cmd).
25646 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25647 $(run-program-prefix) with $(test-program-prefix).
25648 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25649 (test_program_prefix): This.
25650 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25651 $(run-program-prefix) with $(test-program-prefix).
25652 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25653 (test_program_prefix): This.
25654 * iconvdata/tst-tables.sh: Likewise.
25655 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25656 $(run-program-prefix) with $(test-program-prefix).
25657 ($(objpfx)tst-translit.out): Likewise.
25658 ($(objpfx)tst-gettext2.out): Likewise.
25659 ($(objpfx)tst-gettext4.out): Likewise.
25660 ($(objpfx)tst-gettext6.out): Likewise.
25661 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25662 (test_program_prefix): This.
25663 * intl/tst-gettext2.sh: Likewise.
25664 * intl/tst-gettext4.sh Likewise.
25665 * intl/tst-gettext6.sh: Likewise.
25666 * intl/tst-translit.sh: Likewise.
25667 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25668 with $(test-program-cmd).
25669 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25670 $(run-program-prefix) with $(test-program-prefix).
25671 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25672 (test_program_prefix): This.
25673 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25674 $(run-program-prefix) with $(test-program-prefix).
25675 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25676 (test_program_prefix): This.
25677 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25678 * posix/Makefile ($(objpfx)globtest.out): Replace
25679 $(run-via-rtld-prefix) and $(test-wrapper) with
25680 $(test-program-prefix) and $(test-via-rtld-prefix).
25681 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25682 $(test-program-prefix).
25683 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25684 $(host-test-program-cmd).
25685 (tst-spawn-ARGS): Likewise.
25686 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25687 $(test-program-prefix).
25688 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25689 (test_via_rtld_prefix): This.
25690 (test_wrapper): Renamed to ...
25691 (test_program_prefix): This.
25692 (run_program_prefix): Replaced by test_program_prefix.
25693 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25694 (test_program_prefix): This.
25695 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25696 with $(host-test-program-cmd).
25697 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25698 $(run-program-prefix) with $(test-program-prefix).
25699 ($(objpfx)tst-printf.out): Likewise.
25700 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25701 $(test-program-cmd).
25702 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25703 (test_program_prefix): This.
25704 * stdio-common/tst-unbputc.sh: Likewise.
25705 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25706 $(run-program-prefix) with $(test-program-prefix).
25707 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25708 (test_program_prefix): This.
25709 * string/Makefile ($(objpfx)tst-svc.out): Replace
25710 $(built-program-cmd) with $(test-program-cmd).
25712 2013-01-11 Andreas Jaeger <aj@suse.de>
25715 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25716 value. Sync with Linux 3.7.
25718 2013-01-10 David S. Miller <davem@davemloft.net>
25720 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25721 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25722 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25724 2013-01-10 Roland McGrath <roland@hack.frob.com>
25726 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25728 * configure: Regenerated.
25730 2013-01-10 David S. Miller <davem@davemloft.net>
25732 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25733 sparc V9 rather than using V8 code.
25734 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25735 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25737 2013-01-10 Roland McGrath <roland@hack.frob.com>
25739 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25740 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25741 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25742 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25743 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25744 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25745 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25746 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25747 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25748 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25749 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25750 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25751 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25752 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25753 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25754 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25755 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25756 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25757 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25758 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25759 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25760 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25761 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25762 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25763 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25764 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25765 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25767 2013-01-10 David S. Miller <davem@davemloft.net>
25769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25771 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25773 * posix/Makefile (tests-static): New variable.
25774 (tests): Add $(tests-static).
25775 (tst-exec-static-ARGS): New variable.
25776 (tst-spawn-static-ARGS): Likewise.
25777 * posix/tst-exec-static.c: New file.
25778 * posix/tst-spawn-static.c: Likewise.
25779 * posix/tst-exec.c: Support run directly.
25780 * posix/tst-spawn.c: Likewise.
25782 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25784 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25786 * math/bits/mathcalls.h (llrint): Likewise.
25787 (llround): Likewise.
25788 * stdlib/stdlib.h (struct drand48_data): Likewise.
25789 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25790 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25791 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25793 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25795 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25796 (elf_greg_t): Likewise.
25797 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25798 (__jmp_buf): Likewise.
25799 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25801 (llrint): Likewise, for all definitions.
25802 (llrintl): Likewise.
25804 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25805 Remove [__GNUC__] condition.
25806 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25807 condition to just [__USE_ISOC99].
25808 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25810 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25813 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25814 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25816 (_POSIX_V6_ILP32_OFF32): Likewise.
25817 (_XBS5_ILP32_OFF32): Likewise.
25818 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25819 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25821 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25823 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25826 doubles __mpexp_twomm1. Adjust usage.
25827 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25830 2013-01-10 Andreas Schwab <schwab@suse.de>
25833 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25834 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25836 2013-01-09 David S. Miller <davem@davemloft.net>
25839 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25840 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25841 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25842 (TCP_FASTOPEN): Define.
25843 (tcp_repair_opt): New structure.
25844 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25846 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25847 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25848 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25849 (tcp_cookie_transactions): New structure.
25851 2013-01-09 Anton Blanchard <anton@samba.org>
25853 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25854 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25855 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25856 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25858 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25860 * include/features.h (__USE_ANSI): Remove.
25862 2013-01-09 Roland McGrath <roland@hack.frob.com>
25864 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25866 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25868 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25870 * sysdeps/s390/fpu/libm-test-ulps: Update.
25872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25874 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25878 (denorm): Likewise.
25879 (__mp_dbl): Likewise.
25880 (__dbl_mp): Likewise.
25881 (add_magnitudes): Likewise.
25882 (sub_magnitudes): Likewise.
25888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25892 (denorm): Likewise.
25893 (__mp_dbl): Likewise.
25894 (__dbl_mp): Likewise.
25895 (add_magnitudes): Likewise.
25896 (sub_magnitudes): Likewise.
25902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25906 (denorm): Likewise.
25907 (__mp_dbl): Likewise.
25908 (__dbl_mp): Likewise.
25909 (add_magnitudes): Likewise.
25910 (sub_magnitudes): Likewise.
25917 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25919 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25920 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25921 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25922 2 && __USE_EXTERN_INLINES]: Likewise.
25924 2013-01-08 Andreas Jaeger <aj@suse.de>
25927 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25929 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25930 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25932 2013-01-07 Anton Blanchard <anton@samba.org>
25934 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25935 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25936 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25937 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25938 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25939 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25940 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25941 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25943 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25945 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25946 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25947 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25948 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25950 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25951 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25952 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25953 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25954 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25955 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25957 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25959 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25960 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25961 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25962 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25963 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25964 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25966 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25967 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25968 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25969 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25970 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25971 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25972 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25973 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25974 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25975 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25976 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25978 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25980 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25981 (__MALLOC_PMT): Likewise.
25982 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25983 [__GNUC__], only on [_LIBC].
25984 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25985 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25986 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25987 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25988 forward declaration.
25989 (realloc_hook_ini): Likewise.
25990 (memalign_hook_ini): Likewise.
25991 (__libc_memalign): Do not use __MALLOC_PMT in variable
25993 (__libc_valloc): Likewise.
25994 (__libc_pvalloc): Likewise.
25995 (__libc_calloc): Likewise.
25996 (__posix_memalign): Likewise.
25999 * math/s_casinh.c: Include <float.h>.
26000 (__casinh): Do not do computation with squaring and square root
26001 for large arguments.
26002 * math/s_casinhf.c: Include <float.h>.
26003 (__casinhf): Do not do computation with squaring and square root
26004 for large arguments.
26005 * math/s_casinhl.c: Include <float.h>.
26006 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26007 (__casinhl): Do not do computation with squaring and square root
26008 for large arguments.
26009 * math/libm-test.inc (casin_test): Add more tests.
26010 (casinh_test): Likewise.
26011 * sysdeps/i386/fpu/libm-test-ulps: Update.
26012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26014 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26016 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26017 (__x86_64_raw_data_cache_size): Likewise.
26018 (__x86_64_data_cache_size_half): Likewise.
26019 (__x86_64_raw_data_cache_size_half): Likewise.
26020 (__x86_64_shared_cache_size): Likewise.
26021 (__x86_64_raw_shared_cache_size): Likewise.
26022 (__x86_64_shared_cache_size_half): Likewise.
26023 (__x86_64_raw_shared_cache_size_half): Likewise.
26024 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26026 (__x86_data_cache_size): This.
26027 (__x86_64_raw_data_cache_size): Renamed to ...
26028 (__x86_raw_data_cache_size): This.
26029 (__x86_64_data_cache_size_half): Renamed to ...
26030 (__x86_data_cache_size_half): This.
26031 (__x86_64_raw_data_cache_size_half): Renamed to ...
26032 (__x86_raw_data_cache_size_half): This.
26033 (__x86_64_shared_cache_size): Renamed to ...
26034 (__x86_shared_cache_size): This.
26035 (__x86_64_raw_shared_cache_size): Renamed to ...
26036 (__x86_raw_shared_cache_size): This.
26037 (__x86_64_shared_cache_size_half): Renamed to ...
26038 (__x86_shared_cache_size_half): This.
26039 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26040 (__x86_raw_shared_cache_size_half): This.
26041 * sysdeps/x86_64/memcpy.S: Updated.
26042 * sysdeps/x86_64/memset.S: Likewise.
26043 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26047 2013-01-04 David S. Miller <davem@davemloft.net>
26049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26051 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26053 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26054 1 to avoid redefinition warning.
26055 (__USE_GNU): Don't define.
26056 (init_signaling_nan): Protoize.
26058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26060 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26062 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26064 (__cpymn): Likewise.
26065 (norm): Remove commented code.
26066 (denorm): Likewise.
26067 (__mp_dbl): Likewise.
26069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26070 (__cpymn): Likewise.
26071 (norm): Remove commented code.
26072 (denorm): Likewise.
26073 (__mp_dbl): Likewise.
26076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26077 mp_no value for 1.0 and 2.0.
26078 (norm): Use RADIXI instead of radixi.d.
26079 (denorm): Likewise.
26080 (__mul): Use 0.0 instead of zero.d.
26081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26082 mp_no value for 1.0 and 2.0.
26083 (norm): Use RADIXI instead of radixi.d.
26084 (denorm): Likewise.
26085 (__mul): Use 0.0 instead of zero.d.
26087 2013-01-04 Joseph Myers <joseph@codesourcery.com>
26090 * math/s_casinh.c (__casinh): Reduce finite argument to first
26091 quadrant then set signs of results at the end.
26092 * math/s_casinhf.c (__casinhf): Likewise.
26093 * math/s_casinhl.c (__casinhl): Likewise.
26094 * math/libm-test.inc (casin_test): Add more tests.
26095 (casinh_test): Likewise.
26096 * sysdeps/i386/fpu/libm-test-ulps: Update.
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26099 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26101 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26103 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26105 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26107 (denorm): Likewise.
26108 (__mp_dbl): Likewise.
26111 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26112 and adjust the header comment.
26114 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26115 variable name from declaration.
26117 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26120 Initialize COMMON_CPUID_INDEX_7 element.
26121 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26122 (CPUID_RTM): Likewise.
26123 (HAS_RTM): Likewise.
26124 (COMMON_CPUID_INDEX_7): New enum.
26126 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26129 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26130 size is zero, record memory as freed.
26132 2013-01-03 Andreas Jaeger <aj@suse.de>
26134 * po/ia.po: Add new Interlingua translation.
26136 2012-01-03 Allan McRae <allan@archlinux.org>
26138 * locale/programs/localedef.c: Fix description of '--posix' flag.
26140 2013-01-02 Joseph Myers <joseph@codesourcery.com>
26142 * NEWS: Update dates in second copyright notice.
26143 * README: Update copyright dates in example.
26144 * manual/libc.texinfo: Update copyright dates.
26145 * scripts/test-installation.pl: Update copyright date in --version
26148 * hurd/ctty-input.c: Fix copyright notice formatting.
26149 * hurd/ctty-output.c: Likewise.
26150 * hurd/dtable.c: Likewise.
26151 * hurd/hurd-raise.c: Likewise.
26152 * hurd/hurdprio.c: Likewise.
26153 * hurd/msgportdemux.c: Likewise.
26154 * misc/sys/file.h: Likewise.
26155 * misc/sys/ioctl.h: Likewise.
26156 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26157 * sysdeps/mach/hurd/chdir.c: Likewise.
26158 * sysdeps/mach/hurd/fchdir.c: Likewise.
26159 * sysdeps/mach/hurd/rename.c: Likewise.
26160 * sysdeps/mach/hurd/rmdir.c: Likewise.
26161 * sysdeps/mach/hurd/seekdir.c: Likewise.
26162 * sysdeps/mach/hurd/setsid.c: Likewise.
26163 * sysdeps/posix/wait3.c: Likewise.
26165 * All files with FSF copyright notices: Update copyright dates
26166 using scripts/update-copyrights.
26167 * intl/plural.c: Regenerated.
26168 * locale/programs/charmap-kw.h: Likewise.
26169 * locale/programs/locfile-kw.h: Likewise.
26171 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26173 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26176 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26177 calculation loop and add branch prediction.
26179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26180 check access beyond bounds of m1np.
26182 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26184 (__inv): Remove local variable MPTWO to use the global
26186 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26190 MP3HALFS static const.
26192 2013-01-01 David S. Miller <davem@davemloft.net>
26194 * po/ca.po: Update from translation team.
26196 2013-01-01 Joseph Myers <joseph@codesourcery.com>
26198 * scripts/update-copyrights: New file.
26199 * Makeconfig: Reformat copyright notice.
26200 * ctype/ctype.h: Likewise.
26201 * debug/swprintf_chk.c: Likewise.
26202 * elf/dl-cache.c: Likewise.
26203 * elf/dl-debug.c: Likewise.
26204 * elf/dl-object.c: Likewise.
26205 * grp/initgroups.c: Likewise.
26206 * hurd/Makefile: Likewise.
26207 * hurd/hurd/signal.h: Likewise.
26208 * hurd/hurdfault.c: Likewise.
26209 * hurd/hurdioctl.c: Likewise.
26210 * hurd/hurdlookup.c: Likewise.
26211 * hurd/intr-msg.c: Likewise.
26212 * iconv/gconv_open.c: Likewise.
26213 * libio/swprintf.c: Likewise.
26214 * locale/lc-ctype.c: Likewise.
26215 * locale/nl_langinfo.c: Likewise.
26216 * mach/Machrules: Likewise.
26217 * mach/Makefile: Likewise.
26218 * malloc/obstack.h: Likewise.
26219 * manual/Makefile: Likewise.
26220 * manual/tsort.awk: Likewise.
26221 * misc/bits/stab.def: Likewise.
26222 * nis/nis_print_group_entry.c: Likewise.
26223 * nis/nis_table.c: Likewise.
26224 * nis/nss_compat/compat-pwd.c: Likewise.
26225 * nis/nss_compat/compat-spwd.c: Likewise.
26226 * po/Makefile: Likewise.
26227 * posix/fnmatch.c: Likewise.
26228 * posix/regex.h: Likewise.
26229 * resolv/Makefile: Likewise.
26230 * resolv/nss_dns/dns-network.c: Likewise.
26231 * resolv/res_hconf.c: Likewise.
26232 * scripts/gen-sorted.awk: Likewise.
26233 * soft-fp/soft-fp.h: Likewise.
26234 * stdio-common/printf.h: Likewise.
26235 * stdlib/monetary.h: Likewise.
26236 * stdlib/random.c: Likewise.
26237 * stdlib/random_r.c: Likewise.
26238 * sysdeps/generic/Makefile: Likewise.
26239 * sysdeps/gnu/Makefile: Likewise.
26240 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26250 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26251 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26252 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26268 * sysdeps/mach/hurd/errnos.awk: Likewise.
26269 * sysdeps/mach/hurd/fork.c: Likewise.
26270 * sysdeps/mach/hurd/getcwd.c: Likewise.
26271 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26272 * sysdeps/mach/hurd/mmap.c: Likewise.
26273 * sysdeps/mach/hurd/utimes.c: Likewise.
26274 * sysdeps/mach/hurd/xmknod.c: Likewise.
26275 * sysdeps/posix/profil.c: Likewise.
26276 * sysdeps/posix/readdir_r.c: Likewise.
26277 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26278 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26279 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26280 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26282 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26283 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26284 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26286 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26287 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26288 * sysdeps/pthread/lio_listio.c: Likewise.
26289 * sysdeps/sparc/dl-procinfo.h: Likewise.
26290 * sysdeps/unix/i386/sysdep.S: Likewise.
26291 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26292 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26293 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26294 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26296 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26297 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26298 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26299 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26300 * sysdeps/wordsize-32/divdi3.c: Likewise.
26301 * time/sys/time.h: Likewise.
26302 * wcsmbs/Makefile: Likewise.
26304 2013-01-01 David S. Miller <davem@davemloft.net>
26306 * po/fr.po: Update from translation team.
26308 * catgets/gencat.c: Update copyright year.
26309 * csu/version.c: Likewise.
26310 * debug/catchsegv.sh: Likewise.
26311 * debug/pcprofiledump.c: Likewise.
26312 * debug/xtrace.sh: Likewise.
26313 * elf/ldconfig.c: Likewise.
26314 * elf/ldd.bash.in: Likewise.
26315 * elf/pldd.c: Likewise.
26316 * elf/sotruss.ksh: Likewise.
26317 * elf/sprof.c: Likewise.
26318 * iconv/iconv_prog.c: Likewise.
26319 * iconv/iconvconfig.c: Likewise.
26320 * locale/programs/locale.c: Likewise.
26321 * locale/programs/localedef.c: Likewise.
26322 * login/programs/pt_chown.c: Likewise.
26323 * malloc/memusage.sh: Likewise.
26324 * malloc/memusagestat.c: Likewise.
26325 * malloc/mtrace.pl: Likewise.
26326 * nscd/nscd.c: Likewise.
26327 * nss/getent.c: Likewise.
26328 * nss/makedb.c: Likewise.
26329 * posix/getconf.c: Likewise.
26331 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26333 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26336 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26338 * math/bits/mathcalls.h (modf): Use __nonnull.
26340 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26342 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26343 (split): Use macro CN instead of the bare value.
26344 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26347 instead of the bare value.
26348 (power1): Likewise.
26350 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26354 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26356 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26358 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26359 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26360 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26361 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26363 2012-12-28 Andreas Jaeger <aj@suse.de>
26365 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26366 values are from Linux 3.7.
26368 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26369 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26371 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26373 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26376 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26378 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26379 variables with preprocessor constants.
26380 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26381 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26382 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26384 2012-12-27 Bruno Haible <bruno@clisp.org>
26387 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26390 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26393 and use variable directly.
26394 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26396 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26398 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26399 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26401 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26403 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26404 include directive. Remove local variable MPONE.
26405 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26406 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26409 2012-12-25 David S. Miller <davem@davemloft.net>
26411 * version.h (RELEASE): Set to "development".
26412 (VERSION): Set to "2.17.90".
26413 * NEWS: Add 2.18 section.
26415 2012-12-21 David S. Miller <davem@davemloft.net>
26417 * po/hr.po: Update from translation team.
26419 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26421 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26423 2012-12-19 Steve Ellcey <sellcey@mips.com>
26425 * NEWS: Mention new memcpy for MIPS.
26427 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26429 * manual/contrib.texi (Contributors): Spelling correction.
26431 2012-12-15 David S. Miller <davem@davemloft.net>
26433 * po/ru.po: Update from translation team.
26435 2012-12-13 David S. Miller <davem@davemloft.net>
26437 * NEWS: Mention IFUNC testsuite enhancements.
26439 * po/pl.po: Update from translation team.
26440 * po/bg.po: Likewise.
26442 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26443 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26445 2012-12-11 David S. Miller <davem@davemloft.net>
26447 * po/sv.po: Update from translation team.
26449 * po/vi.po: Update from translation team.
26451 * po/cs.po: Update from translation team.
26453 * po/de.po: Update from translation team.
26454 * po/eo.po: Likewise.
26455 * po/nl.po: Likewise.
26457 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26460 * manual/argp.texi (Argp Helper Functions): Move node to follow
26461 Argp Parsing State.
26464 * manual/conf.texi (Limits on File System Capacity): Mention if
26465 terminating null is included in the max size.
26467 2012-12-10 Andreas Jaeger <aj@suse.de>
26469 * po/cs.po: Update from translation team.
26471 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26473 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26474 void pointer and cast to uintptr_t.
26475 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26477 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26478 * sysdeps/s390/s390-64/memset.S: Likewise.
26480 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26483 * menual/message.texi (Message Translation): Fix typos.
26484 (Helper programs for gettext): Likewise.
26486 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26489 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26492 2012-12-07 David S. Miller <davem@davemloft.net>
26494 * po/libc.pot: Update.
26496 2012-12-07 Richard Henderson <rth@redhat.com>
26499 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26500 normal/normal case to before the switch.
26501 (_FP_DIV): Likewise.
26503 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26504 Mike Frysinger <vapier@gentoo.org>
26506 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26507 check for __NR_fadvise64_64.
26509 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26511 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26512 0, not just to plain "0" as a statement.
26513 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26516 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26518 * NEWS: Use sourceware.org in Bugzilla URL.
26520 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26523 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26525 * stdio-common/tst-put-error.c (do_test): Add newline to the
26526 padded test to ensure flush.
26528 2012-12-05 Jeff Law <law@redhat.com>
26530 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26532 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26534 * README: Don't refer to ports add-on as distributed separately.
26535 Mention AArch64 in list of systems supported in the ports add-on.
26537 * LICENSES: Add more non-FSF copyright and license notices.
26539 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26542 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26544 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26545 10000 as width of padded output.
26547 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26549 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26551 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26552 variable LX with __attribute__ ((unused)).
26553 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26555 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26558 with __attribute__ ((unused)).
26560 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26562 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26564 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26566 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26567 (CFLAGS-nldbl-acos.c): New variable.
26568 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26569 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26570 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26571 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26572 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26573 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26574 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26575 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26576 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26577 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26578 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26579 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26580 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26581 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26582 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26583 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26584 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26585 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26586 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26607 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26608 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26609 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26610 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26611 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26612 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26613 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26614 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26615 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26616 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26617 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26618 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26619 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26620 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26621 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26622 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26623 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26624 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26625 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26626 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26627 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26628 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26629 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26630 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26631 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26632 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26633 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26634 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26635 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26636 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26637 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26638 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26639 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26640 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26641 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26642 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26643 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26644 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26645 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26646 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26647 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26648 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26649 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26650 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26651 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26652 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26653 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26654 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26655 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26656 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26657 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26658 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26659 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26660 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26661 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26662 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26663 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26664 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26667 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26671 whole low double instead of just low 47 bits when splitting values
26674 2012-12-03 Allan McRae <allan@archlinux.org>
26676 * manual/stdio.texi (Predefined Printf Handlers): Remove
26677 @hsep and @vsep usage.
26679 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26681 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26682 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26684 2012-12-03 Jeff Law <law@redhat.com>
26686 * time/sys/time.h (settimeofday): Do not mark TV argument
26689 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26691 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26692 when currently writing and seek to current position when not.
26693 * libio/Makefile (tests): Remove bug-fclose1.
26694 * libio/bug-fclose1.c: Delete.
26696 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26698 * manual/arith.texi (feenableexcept): Fix typo.
26699 (fedisableexcept): Likewise.
26701 2012-11-30 Roland McGrath <roland@hack.frob.com>
26703 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26704 second, differently-typed declaration, rather than a cast.
26706 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26708 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26709 * include/rpc/svc.h: ... here.
26711 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26714 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26715 depending n and resplen2 to catch cases where answer
26718 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26720 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26721 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26723 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26725 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26727 2012-11-29 Roland McGrath <roland@hack.frob.com>
26729 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26731 2012-11-28 Jeff Law <law@redhat.com>
26734 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26735 dataset_temporary. Track alloca usage into alloca_used.
26736 If dataset is large allocate and release it via malloc/free.
26738 2012-06-04 Florian Weimer <fweimer@redhat.com>
26741 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26743 2012-11-28 David S. Miller <davem@davemloft.net>
26745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26747 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26750 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26751 of pi/2 rounded to nearest to 64 bits.
26752 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26753 nearest to 64 bits.
26754 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26757 2012-11-28 Jeff Law <law@redhat.com>
26758 Martin Osvald <mosvald@redhat.com>
26761 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26762 * sunrpc/svc.c: Include time.h.
26763 (__svc_accept_failed): New function.
26764 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26765 any reason other than EINTR, call __svc_accept_failed.
26766 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26767 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26769 2012-11-28 Andreas Schwab <schwab@suse.de>
26771 * scripts/abilist.awk: Also handle indirect functions in .opd
26774 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26777 * sysdeps/x86/fpu/powl_helper.c: New file.
26778 * sysdeps/x86/fpu/Makefile: Likewise.
26779 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26781 (__ieee754_powl): Use __powl_helper for finite arguments except
26782 integer exponents below 8.
26783 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26785 (__ieee754_powl): Use __powl_helper for finite arguments except
26786 integer exponents below 8.
26787 * math/libm-test.inc (pow_test): Add more tests and enable some
26788 previously disabled tests.
26789 * sysdeps/i386/fpu/libm-test-ulps: Update.
26790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26792 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26793 Carlos O'Donell <carlos_odonell@mentor.com>
26795 * nss/makedb.c (is_prime): Assert that input is odd and greater
26796 than 4. Note that fact in a comment too.
26797 (next_prime): Add 4 to input.
26799 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26802 * libio/Makefile (tests): Add test case tst-fwrite-error.
26803 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26804 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26805 * libio/tst-fwrite-error.c: New test case.
26807 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26809 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26810 before casting to void *.
26811 * include/libc-internal.h (__pointer_type): New macro.
26812 (__integer_if_pointer_type_sub): Likewise.
26813 (__integer_if_pointer_type): Likewise.
26814 (cast_to_integer): Likewise.
26815 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26816 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26817 before casting to atomic64_t.
26818 (atomic_exchange_acq): Likewise.
26819 (__arch_exchange_and_add_body): Likewise.
26820 (__arch_add_body): Likewise.
26821 (atomic_add_negative): Likewise.
26822 (atomic_add_zero): Likewise.
26824 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26826 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26827 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26828 (add_fdes): Likewise.
26829 (linear_search_fdes): Likewise.
26830 (binary_search_unencoded_fdes): Likewise.
26832 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26834 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26836 2012-11-24 Adam Conrad <adconrad@0c3.net>
26838 * configure.in: Autodetect C++ header directories.
26839 * configure: Regenerated.
26841 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26843 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26845 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26849 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26851 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26852 LDBL_MANT_DIG == 106]: Disable some tests.
26853 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26855 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26859 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26860 input for small inputs. Return +/- pi/2 for large inputs.
26861 * math/libm-test.inc (atan_test): Add more tests.
26863 * sysdeps/generic/unwind-dw2-fde-glibc.c
26864 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26865 __attribute__ ((unused)).
26868 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26869 x * y if x and y are nonzero and z is zero.
26872 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26873 nonzero exponents with absolute value below 0x1p-117 to +/-
26877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26878 up arguments below 2**-450, not just those below 2**-500.
26879 * math/libm-test.inc (hypot_test): Add another test.
26882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26883 Return a+b for ratio over 2**120, not 2**60.
26884 * math/libm-test.inc (hypot_test): Add another test.
26886 * math/libm-test.inc (clog_test): Use
26887 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26888 (clog10_test): Likewise.
26891 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26893 2012-11-22 Andreas Schwab <schwab@suse.de>
26895 * sysdeps/i386/fpu/libm-test-ulps: Update.
26897 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26899 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26900 printf output with newline.
26902 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26905 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26906 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26907 -z nodlopen, -z initfirst and -z execstack support.
26908 * configure: Regenerated.
26910 * elf/elf.h (DF_1_NODIRECT): New macro.
26911 (DF_1_IGNMULDEF): Likewise.
26912 (DF_1_NOKSYMS): Likewise.
26913 (DF_1_NOHDR): Likewise.
26914 (DF_1_EDITED): Likewise.
26915 (DF_1_NORELOC): Likewise.
26916 (DF_1_SYMINTPOSE): Likewise.
26917 (DF_1_GLOBAUDIT): Likewise.
26918 (DF_1_SINGLETON): Likewise.
26919 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26920 DT_1_SUPPORTED_MASK bits.
26921 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26923 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26925 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26927 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26929 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26932 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26933 (sendmmsg): Move declarations...
26934 * socket/sys/socket.h: ... here.
26935 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26936 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26938 * socket/recvmmsg.c: ... this new file.
26939 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26940 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26941 definition of __sendmmsg hidden.
26942 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26943 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26944 Move ENOSYS stub into and include it from...
26945 * socket/sendmmsg.c: ... this new file.
26946 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26947 (sysdep_routines): Move recvmmsg and sendmmsg...
26948 * socket/Makefile (routines): ... here.
26949 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26950 (GLIBC_PRIVATE): Add __sendmmsg.
26951 * include/sys/socket.h (__sendmmsg): Add declarations.
26952 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26955 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26958 variable I1 with __attribute__ ((unused)).
26959 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26961 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26963 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26964 DUMMY variables with __attribute__ ((unused)).
26966 * bits/byteswap.h: Include <bits/types.h>.
26967 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26969 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26971 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26972 string_t. Do not manually set errno.
26973 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26974 length with __strnlen. Make sure to both set errno and return it on
26977 2012-11-19 David S. Miller <davem@davemloft.net>
26979 With help from Joseph Myers.
26980 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26981 very large arguments properly.
26982 * math/libm-test.inc (atan_test): New tests.
26983 (atan2_test): New tests.
26984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26987 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26990 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26993 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26994 [POSIX] (EADDRNOTAVAIL): Likewise.
26995 [POSIX] (EAFNOSUPPORT): Likewise.
26996 [POSIX] (EALREADY): Likewise.
26997 [POSIX] (ECONNABORTED): Likewise.
26998 [POSIX] (ECONNREFUSED): Likewise.
26999 [POSIX] (ECONNRESET): Likewise.
27000 [POSIX] (EDESTADDRREQ): Likewise.
27001 [POSIX] (EDQUOT): Likewise.
27002 [POSIX] (EHOSTUNREACH): Likewise.
27003 [POSIX] (EIDRM): Likewise.
27004 [POSIX] (EISCONN): Likewise.
27005 [POSIX] (ELOOP): Likewise.
27006 [POSIX] (EMULTIHOP): Likewise.
27007 [POSIX] (ENETDOWN): Likewise.
27008 [POSIX] (ENETUNREACH): Likewise.
27009 [POSIX] (ENOBUFS): Likewise.
27010 [POSIX] (ENODATA): Likewise.
27011 [POSIX] (ENOLINK): Likewise.
27012 [POSIX] (ENOMSG): Likewise.
27013 [POSIX] (ENOPROTOOPT): Likewise.
27014 [POSIX] (ENOSR): Likewise.
27015 [POSIX] (ENOSTR): Likewise.
27016 [POSIX] (ENOTCONN): Likewise.
27017 [POSIX] (ENOTSOCK): Likewise.
27018 [POSIX] (EOPNOTSUPP): Likewise.
27019 [POSIX] (EOVERFLOW): Likewise.
27020 [POSIX] (EPROTO): Likewise.
27021 [POSIX] (EPROTONOSUPPORT): Likewise.
27022 [POSIX] (EPROTOTYPE): Likewise.
27023 [POSIX] (ESTALE): Likewise.
27024 [POSIX] (ETIME): Likewise.
27025 [POSIX] (ETXTBSY): Likewise.
27026 [POSIX] (EWOULDBLOCK): Likewise.
27027 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27028 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27029 [POSIX] (SEEK_CUR): Likewise.
27030 [POSIX] (SEEK_END): Likewise.
27031 [POSIX || UNIX98] (mode_t): Do not require.
27032 [POSIX] (off_t): Likewise.
27033 [POSIX] (pid_t): Likewise.
27034 [POSIX] (sys/stat.h): Do not allow header.
27035 [POSIX] (unistd.h): Likewise.
27036 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27037 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27038 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27039 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27041 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27042 sigevent): Specify elements.
27043 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27045 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27046 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27048 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27049 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27050 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27051 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27052 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27053 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27054 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27055 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27056 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27057 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27058 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27059 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27060 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27061 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27063 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27065 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27067 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27069 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27070 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27071 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27072 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27073 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27074 Specify lower bound on value.
27075 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27076 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27077 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27078 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27079 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27080 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27081 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27082 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27084 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27086 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27087 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27088 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27089 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27090 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27091 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27092 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27093 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27094 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27097 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27098 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27099 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27100 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27101 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27103 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27105 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27106 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27107 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27108 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27109 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27110 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27112 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27113 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27114 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27115 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27116 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27117 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27118 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27120 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27121 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27122 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27123 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27124 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27125 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27126 specify as optional.
27127 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27128 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27129 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27130 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27131 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27132 [XPG3] (NL_LANGMAX): Likewise.
27133 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27134 [POSIX || XPG3] (NL_NMAX): Likewise.
27135 [POSIX || XPG3] (NL_SETMAX): Likewise.
27136 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27137 [XPG3] (NZERO): Likewise.
27138 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27139 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27140 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27141 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27142 (REG_ERANGE): Expect.
27143 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27145 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27146 Use (void) in prototype.
27147 [POSIX] (*_t): Allow.
27148 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27149 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27150 (WRDE_BADVAL): Expect.
27152 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27154 [XPG3 || XPG4] (O_RSYNC): Likewise.
27155 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27157 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27158 [XPG3 || XPG4] (sigqueue): Likewise.
27159 [XPG3 || XPG4] (sigtimedwait): Likewise.
27160 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27161 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27162 [XPG3 || XPG4] (vsnprintf): Likewise.
27163 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27165 [XPG3 || XPG4] (blksize_t): Likewise.
27166 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27168 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27169 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27170 [XPG3 || XPG4] (struct itimerspec): Likewise.
27171 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27172 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27173 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27174 [XPG3 || XPG4] (clockid_t): Likewise.
27175 [XPG3 || XPG4] (timer_t): Likewise.
27176 [XPG3 || XPG4] (clock_getres): Likewise.
27177 [XPG3 || XPG4] (clock_gettime): Likewise.
27178 [XPG3 || XPG4] (clock_settime): Likewise.
27179 [XPG3 || XPG4] (nanosleep): Likewise.
27180 [XPG3 || XPG4] (timer_create): Likewise.
27181 [XPG3 || XPG4] (timer_delete): Likewise.
27182 [XPG3 || XPG4] (timer_gettime): Likewise.
27183 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27184 [XPG3 || XPG4] (timer_settime): Likewise.
27185 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27186 [XPG3 || XPG4] (getlogin_r): Likewise.
27187 [XPG3 || XPG4] (pread): Likewise.
27188 [XPG3 || XPG4] (pthread_atfork): Likewise.
27189 [XPG3 || XPG4] (pwrite): Likewise.
27192 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27195 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27197 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27198 finalizing MALLSTREAM.
27200 * sysdeps/mach/hurd/syncfs.c: New file.
27202 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27205 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27206 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27207 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27208 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27209 (_nss_dns_gethostbyname4_r): Likewise.
27210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27211 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27213 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27216 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27218 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27220 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27221 * elf/cache.c (print_entry): Print ",AArch64" for
27224 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27225 * elf/cache.c (print_entry): Print ",hard-float" for
27228 2012-11-18 David S. Miller <davem@davemloft.net>
27230 With help from Joseph Myers.
27231 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27233 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27235 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27236 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27238 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27239 * math/libm-test.inc (y0_test): New tests.
27240 (y1_test): New tests.
27241 * sysdeps/i386/fpu/libm-test-ulps: Update.
27242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27245 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27247 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27249 * configure: Regenerated.
27251 2012-11-17 David S. Miller <davem@davemloft.net>
27254 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27255 nonzero exponents with absolute value below 0x1p-128 to +/-
27258 2012-11-17 Joseph Myers <joseph@codesourcery.com>
27260 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27262 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27264 * posix/getconf-speclist.c: New file.
27265 * posix/posix-envs.def: Likewise.
27266 * posix/confstr.c (START_ENV_GROUP): New macro.
27267 (END_ENV_GROUP): Likewise.
27268 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27269 (KNOWN_PRESENT_ENV_STRING): Likewise.
27270 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27271 (UNKNOWN_ENVIRONMENT): Likewise.
27272 (confstr): Include posix-envs.def instead of handling
27273 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27274 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27275 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27276 (END_ENV_GROUP): Likewise.
27277 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27278 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27279 (UNKNOWN_ENVIRONMENT): Likewise.
27280 (__sysconf): Include posix-envs.def instead of handling associated
27281 cases directly here.
27282 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27283 preprocessing getconf-speclist.c rather than running getconf or
27284 generating empty file.
27286 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27288 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27290 2012-11-16 Andrej Lajovic <natrij@gmail.com>
27293 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27295 2012-11-16 David S. Miller <davem@davemloft.net>
27297 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27298 smaller than LDBL_EPSILON/2.0L, just return xm1.
27300 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27302 * elf/tst-array1.c (init): Set constructor priority to 1000.
27303 (fini): Set destructor priority to 1000.
27304 * elf/tst-array2dep.c: Likewise.
27306 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27309 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27310 (_IO_new_file_xsputn): Also return EOF if none of the input
27311 data was written when overflow failed.
27312 * libio/iopadn.c (_IO_padn): Likewise.
27313 * libio/iowpadn.c (_IO_wpadn): Likewise.
27314 * stdio-common/tst-put-error.c: Add copyright notice.
27315 (do_test): Add case for printing padded string.
27316 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27317 _IO_padn returned error.
27318 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27319 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27322 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27324 * libio/libioP.h: Add comment note that the references to C++
27325 bits are now obsolete.
27327 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27329 * math/libm-test.inc (check_complex): Use asprintf.
27331 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27333 * debug/pcprofiledump.c (print_version): Update copyright year.
27334 * malloc/memusagestat.c (print_version): Likewise.
27336 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27339 * elf/Makefile (tests): Add tst-audit8.
27340 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27341 ($(objpfx)tst-audit8.out): New target.
27342 (tst-audit8-ENV): New variable.
27343 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27344 audit if l_reloc_result is NULL.
27345 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27346 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27347 * elf/tst-audit8.c: New file.
27349 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27351 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27352 * misc/Makefile (CFLAGS-select.c): Define.
27353 * posix/Makefile (CFLAGS-pause.c): Define.
27355 2012-11-13 David S. Miller <davem@davemloft.net>
27357 * crypt/Makefile: Move test targets after toplevel Rules
27358 inclusion. Grab any necessary sysdep routines when linking.
27359 * crypt/md5.c (md5_process_block): Remove define, we will always
27360 name it __md5_process_block.
27361 (md5_finish_ctx): Update md5_process_block call.
27362 (md5_stream): Likewise.
27363 (md5_process_bytes): Likewise.
27364 (md5_process_block): Rename to __md5_process_block and move to ...
27365 * crypt/md5-block.c: ... here.
27366 * crypt/sha256.c (sha256_process_block): Move to ...
27367 * crypt/sha256-block.c: ... here.
27368 * crypt/sha512.c (sha512_process_block): Move to ...
27369 * crypt/sha512-block.c: ... here.
27370 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27372 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27373 * sysdeps/sparc/sparc64/multiarch/Makefile
27374 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27376 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27377 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27379 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27380 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27381 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27382 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27383 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27384 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27385 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27386 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27387 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27389 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27390 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27392 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27394 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27396 * timezone/tzselect.ksh: Update from tzcode git revision
27397 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27398 * timezone/zdump.c: Likewise.
27399 * timezone/zic.c: Likewise.
27400 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27401 in TZVERSION setting, not $(PKGVERSION).
27402 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27403 REPORT_BUGS_TO settings.
27406 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27409 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27411 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27412 detection to immediately after _FP_ROUND().
27413 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27416 2012-11-11 David S. Miller <davem@davemloft.net>
27418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27420 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27421 __close rather than their public counterparts.
27423 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27425 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27427 [UNIX98] (sem_timedwait): Do not expect.
27428 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27429 [XPG4 || UNIX98] (sockatmark): Do not expect.
27430 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27431 (clock_getcpuclockid): Do not expect.
27432 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27433 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27435 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27436 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27437 [UNIX98] (vwscanf): Likewise.
27438 [UNIX98] (vswscanf): Likewise.
27440 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27442 * timezone/version.h: Remove file.
27443 * timezone/README: Do not refer to version.h.
27444 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27445 $(objpfx)version.h.
27446 ($(objpfx)zdump.o): Likewise.
27447 ($(objpfx)version.h): New target.
27449 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27451 * timezone/README: Don't mention modification to tzselect.ksh.
27452 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27453 work on unmodified tzselect.ksh. Substitute version numbers in
27456 * Makefile (format-me): Remove.
27457 (INSTALL): Adjust indentation. Use commands directly instead of
27458 using $(format-me).
27460 * aclocal.m4 (ACX_PKGVERSION): New macro.
27461 (ACX_BUGURL): Likewise.
27462 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27463 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27464 (REPORT_BUGS_TO): Likewise.
27465 * configure: Regenerated.
27466 * config.h.in (PKGVERSION): New macro.
27467 (REPORT_BUGS_TO): Likewise.
27468 * config.make.in (PKGVERSION): New variable.
27469 (PKGVERSION_TEXI): Likewise.
27470 (REPORT_BUGS_TO): Likewise.
27471 (REPORT_BUGS_TEXI): Likewise.
27472 * Makefile (format-me): Use -I$(common-objpfx)manual.
27473 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27474 ($(common-objpfx)manual/%): New target.
27475 (manual/%): Remove target.
27476 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27477 (print_version): Use PKGVERSION.
27478 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27479 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27480 and REPORT_BUGS_TO.
27481 ($(objpfx)xtrace): Likewise.
27482 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27483 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27484 (print_version): Use PKGVERSION.
27485 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27486 (do_version): Use PKGVERSION.
27487 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27489 (common-ldd-rewrite): Likewise.
27490 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27491 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27492 (print_version): Use PKGVERSION.
27493 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27494 * elf/pldd.c (argp_program_bug_address): Remove variable.
27495 (more_help): New function.
27496 (argp): Use more_help.
27497 (print_version): Use PKGVERSION.
27498 * elf/sln.c (main): Use PKGVERSION.
27499 (usage): Use REPORT_BUGS_TO.
27500 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27501 (top level): Use PKGVERSION.
27502 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27503 (print_version): Use PKGVERSION.
27504 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27505 (print_version): Use PKGVERSION.
27506 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27507 (print_version): Use PKGVERSION.
27508 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27509 (print_version): Use PKGVERSION.
27510 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27511 (print_version): Use PKGVERSION.
27512 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27513 (print_version): Use PKGVERSION.
27514 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27516 ($(objpfx)memusage): Likewise.
27517 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27518 (do_version): Use PKGVERSION.
27519 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27520 (print_version): Use PKGVERSION.
27521 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27522 ($PKGVERSION): New variable.
27523 ($REPORT_BUGS_TO): Likewise.
27524 (usage): Use $REPORT_BUGS_TO.
27525 (top level): Use $PKGVERSION.
27526 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27527 ($(objpfx)pkgvers.texi): New rule.
27528 ($(objpfx)stamp-pkgvers): Likewise.
27529 * manual/install.texi: Include pkgvers.texi.
27530 (--with-pkgversion): Document new configure option.
27531 (--with-bugurl): Likewise.
27532 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27533 than necessarily for this particular distribution. Use
27534 REPORT_BUGS_TO for where to report bugs.
27535 * INSTALL: Regenerated.
27536 * manual/libc.texinfo: Include pkgvers.texi.
27537 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27538 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27539 (print_version): Use PKGVERSION.
27540 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27541 (print_version): Use PKGVERSION.
27542 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27543 (print_version): Use PKGVERSION.
27544 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27545 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27547 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27548 (print_version): Use PKGVERSION.
27549 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27550 (print_version): Use PKGVERSION.
27551 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27554 * timezone/checktab.awk: Update from tzcode 2012i.
27555 * timezone/ialloc.c: Likewise.
27556 * timezone/private.h: Likewise.
27557 * timezone/scheck.c: Likewise.
27558 * timezone/tzfile.h: Likewise.
27559 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27560 (TZVERSION): Hardcode tzcode version number.
27561 * timezone/zdump.c: Update from tzcode 2012i.
27562 * timezone/zic.c: Likewise.
27563 * timezone/version.h: New file.
27564 * timezone/README: Describe version.h. Update upstream location.
27567 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27568 (mktemp): Enable declaration.
27569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27578 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27580 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27586 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27587 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27588 for copies of such integer values.
27589 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27590 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27592 2012-11-09 Andreas Jaeger <aj@suse.de>
27594 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27595 definitions and declarations that are provided by
27596 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27598 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27600 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27601 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27602 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27605 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27607 * elf/elf.h: Update comment before AArch64 relocations.
27609 2012-11-07 David S. Miller <davem@davemloft.net>
27611 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27612 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27613 (__start_context): Declare.
27614 (__makecontext_ret): Delete.
27615 (__makecontext): Hook up __start_context instead of
27617 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27618 (sysdep_routines): Add __start_context when in stdlib.
27620 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27622 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27623 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27624 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27626 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27627 (READELF): New variable. Use it instead of hardcoded "readelf".
27629 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27631 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27632 * sysdeps/x86/Makefile: Here.
27633 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27634 * sysdeps/x86/tst-xmmymm.sh: This.
27636 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27638 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27640 [UNIX98] (pthread_barrier_t): Do not expect.
27641 [UNIX98] (pthread_barrierattr_t): Likewise.
27642 [UNIX98] (pthread_spinlock_t): Likewise.
27643 [UNIX98] (pthread_barrier_destroy): Likewise.
27644 [UNIX98] (pthread_barrier_init): Likewise.
27645 [UNIX98] (pthread_barrier_wait): Likewise.
27646 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27647 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27648 [UNIX98] (pthread_barrierattr_init): Likewise.
27649 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27650 [UNIX98] (pthread_getcpuclockid): Likewise.
27651 [UNIX98] (pthread_mutex_timedlock): Likewise.
27652 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27653 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27654 [UNIX98] (pthread_sigmask): Likewise.
27655 [UNIX98] (pthread_spin_destroy): Likewise.
27656 [UNIX98] (pthread_spin_init): Likewise.
27657 [UNIX98] (pthread_spin_lock): Likewise.
27658 [UNIX98] (pthread_spin_trylock): Likewise.
27659 [UNIX98] (pthread_spin_unlock): Likewise.
27660 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27662 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27663 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27664 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27665 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27666 [XPG3 || XPG4] (pthread_key_t): Likewise.
27667 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27668 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27669 [XPG3 || XPG4] (pthread_once_t): Likewise.
27670 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27671 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27672 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27673 [XPG3 || XPG4] (pthread_t): Likewise.
27675 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27677 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27679 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27680 Change function return type to int.
27682 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27683 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27684 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27685 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27686 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27687 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27688 [!POSIX] (posix_madvise): Likewise.
27689 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27691 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27692 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27693 (mode_t): Likewise.
27694 (posix_mem_offset): Likewise.
27695 (posix_typed_mem_get_info): Likewise.
27696 (posix_typed_mem_open): Likewise.
27698 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27699 Change condition to [XOPEN2K8].
27701 * conform/conformtest.pl: Preprocess allow-header data with -x c
27702 instead of from stdin.
27703 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27704 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27705 [C99-based standards] (cerfc): Likewise.
27706 [C99-based standards] (cexp2): Likewise.
27707 [C99-based standards] (cexpm1): Likewise.
27708 [C99-based standards] (clog10): Likewise.
27709 [C99-based standards] (clog1p): Likewise.
27710 [C99-based standards] (clog2): Likewise.
27711 [C99-based standards] (clgamma): Likewise.
27712 [C99-based standards] (ctgamma): Likewise.
27713 [C99-based standards] (cerff): Likewise.
27714 [C99-based standards] (cerfcf): Likewise.
27715 [C99-based standards] (cexp2f): Likewise.
27716 [C99-based standards] (cexpm1f): Likewise.
27717 [C99-based standards] (clog10f): Likewise.
27718 [C99-based standards] (clog1pf): Likewise.
27719 [C99-based standards] (clog2f): Likewise.
27720 [C99-based standards] (clgammaf): Likewise.
27721 [C99-based standards] (ctgammaf): Likewise.
27722 [C99-based standards] (cerfl): Likewise.
27723 [C99-based standards] (cerfcl): Likewise.
27724 [C99-based standards] (cexp2l): Likewise.
27725 [C99-based standards] (cexpm1l): Likewise.
27726 [C99-based standards] (clog10l): Likewise.
27727 [C99-based standards] (clog1pl): Likewise.
27728 [C99-based standards] (clog2l): Likewise.
27729 [C99-based standards] (clgammal): Likewise.
27730 [C99-based standards] (ctgammal): Likewise.
27731 * conform/data/inttypes.h-data [C99-based standards]: Include
27732 stdint.h-data. Remove all expectations for stdint.h contents.
27733 [C99-based standards] (PRI*): Do not allow.
27734 [C99-based standards] (SCN*): Likewise.
27735 [C99-based standards] (*_t): Likewise.
27736 [C99-based-standards] (PRId8): Expect macro.
27737 [C99-based-standards] (PRIi8): Likewise.
27738 [C99-based-standards] (PRIo8): Likewise.
27739 [C99-based-standards] (PRIu8): Likewise.
27740 [C99-based-standards] (PRIx8): Likewise.
27741 [C99-based-standards] (PRIX8): Likewise.
27742 [C99-based-standards] (SCNd8): Likewise.
27743 [C99-based-standards] (SCNi8): Likewise.
27744 [C99-based-standards] (SCNo8): Likewise.
27745 [C99-based-standards] (SCNu8): Likewise.
27746 [C99-based-standards] (SCNx8): Likewise.
27747 [C99-based-standards] (PRIdLEAST8): Likewise.
27748 [C99-based-standards] (PRIiLEAST8): Likewise.
27749 [C99-based-standards] (PRIoLEAST8): Likewise.
27750 [C99-based-standards] (PRIuLEAST8): Likewise.
27751 [C99-based-standards] (PRIxLEAST8): Likewise.
27752 [C99-based-standards] (PRIXLEAST8): Likewise.
27753 [C99-based-standards] (SCNdLEAST8): Likewise.
27754 [C99-based-standards] (SCNiLEAST8): Likewise.
27755 [C99-based-standards] (SCNoLEAST8): Likewise.
27756 [C99-based-standards] (SCNuLEAST8): Likewise.
27757 [C99-based-standards] (SCNxLEAST8): Likewise.
27758 [C99-based-standards] (PRIdFAST8): Likewise.
27759 [C99-based-standards] (PRIiFAST8): Likewise.
27760 [C99-based-standards] (PRIoFAST8): Likewise.
27761 [C99-based-standards] (PRIuFAST8): Likewise.
27762 [C99-based-standards] (PRIxFAST8): Likewise.
27763 [C99-based-standards] (PRIXFAST8): Likewise.
27764 [C99-based-standards] (SCNdFAST8): Likewise.
27765 [C99-based-standards] (SCNiFAST8): Likewise.
27766 [C99-based-standards] (SCNoFAST8): Likewise.
27767 [C99-based-standards] (SCNuFAST8): Likewise.
27768 [C99-based-standards] (SCNxFAST8): Likewise.
27769 [C99-based-standards] (PRId16): Likewise.
27770 [C99-based-standards] (PRIi16): Likewise.
27771 [C99-based-standards] (PRIo16): Likewise.
27772 [C99-based-standards] (PRIu16): Likewise.
27773 [C99-based-standards] (PRIx16): Likewise.
27774 [C99-based-standards] (PRIX16): Likewise.
27775 [C99-based-standards] (SCNd16): Likewise.
27776 [C99-based-standards] (SCNi16): Likewise.
27777 [C99-based-standards] (SCNo16): Likewise.
27778 [C99-based-standards] (SCNu16): Likewise.
27779 [C99-based-standards] (SCNx16): Likewise.
27780 [C99-based-standards] (PRIdLEAST16): Likewise.
27781 [C99-based-standards] (PRIiLEAST16): Likewise.
27782 [C99-based-standards] (PRIoLEAST16): Likewise.
27783 [C99-based-standards] (PRIuLEAST16): Likewise.
27784 [C99-based-standards] (PRIxLEAST16): Likewise.
27785 [C99-based-standards] (PRIXLEAST16): Likewise.
27786 [C99-based-standards] (SCNdLEAST16): Likewise.
27787 [C99-based-standards] (SCNiLEAST16): Likewise.
27788 [C99-based-standards] (SCNoLEAST16): Likewise.
27789 [C99-based-standards] (SCNuLEAST16): Likewise.
27790 [C99-based-standards] (SCNxLEAST16): Likewise.
27791 [C99-based-standards] (PRIdFAST16): Likewise.
27792 [C99-based-standards] (PRIiFAST16): Likewise.
27793 [C99-based-standards] (PRIoFAST16): Likewise.
27794 [C99-based-standards] (PRIuFAST16): Likewise.
27795 [C99-based-standards] (PRIxFAST16): Likewise.
27796 [C99-based-standards] (PRIXFAST16): Likewise.
27797 [C99-based-standards] (SCNdFAST16): Likewise.
27798 [C99-based-standards] (SCNiFAST16): Likewise.
27799 [C99-based-standards] (SCNoFAST16): Likewise.
27800 [C99-based-standards] (SCNuFAST16): Likewise.
27801 [C99-based-standards] (SCNxFAST16): Likewise.
27802 [C99-based-standards] (PRId32): Likewise.
27803 [C99-based-standards] (PRIi32): Likewise.
27804 [C99-based-standards] (PRIo32): Likewise.
27805 [C99-based-standards] (PRIu32): Likewise.
27806 [C99-based-standards] (PRIx32): Likewise.
27807 [C99-based-standards] (PRIX32): Likewise.
27808 [C99-based-standards] (SCNd32): Likewise.
27809 [C99-based-standards] (SCNi32): Likewise.
27810 [C99-based-standards] (SCNo32): Likewise.
27811 [C99-based-standards] (SCNu32): Likewise.
27812 [C99-based-standards] (SCNx32): Likewise.
27813 [C99-based-standards] (PRIdLEAST32): Likewise.
27814 [C99-based-standards] (PRIiLEAST32): Likewise.
27815 [C99-based-standards] (PRIoLEAST32): Likewise.
27816 [C99-based-standards] (PRIuLEAST32): Likewise.
27817 [C99-based-standards] (PRIxLEAST32): Likewise.
27818 [C99-based-standards] (PRIXLEAST32): Likewise.
27819 [C99-based-standards] (SCNdLEAST32): Likewise.
27820 [C99-based-standards] (SCNiLEAST32): Likewise.
27821 [C99-based-standards] (SCNoLEAST32): Likewise.
27822 [C99-based-standards] (SCNuLEAST32): Likewise.
27823 [C99-based-standards] (SCNxLEAST32): Likewise.
27824 [C99-based-standards] (PRIdFAST32): Likewise.
27825 [C99-based-standards] (PRIiFAST32): Likewise.
27826 [C99-based-standards] (PRIoFAST32): Likewise.
27827 [C99-based-standards] (PRIuFAST32): Likewise.
27828 [C99-based-standards] (PRIxFAST32): Likewise.
27829 [C99-based-standards] (PRIXFAST32): Likewise.
27830 [C99-based-standards] (SCNdFAST32): Likewise.
27831 [C99-based-standards] (SCNiFAST32): Likewise.
27832 [C99-based-standards] (SCNoFAST32): Likewise.
27833 [C99-based-standards] (SCNuFAST32): Likewise.
27834 [C99-based-standards] (SCNxFAST32): Likewise.
27835 [C99-based-standards] (PRId64): Likewise.
27836 [C99-based-standards] (PRIi64): Likewise.
27837 [C99-based-standards] (PRIo64): Likewise.
27838 [C99-based-standards] (PRIu64): Likewise.
27839 [C99-based-standards] (PRIx64): Likewise.
27840 [C99-based-standards] (PRIX64): Likewise.
27841 [C99-based-standards] (SCNd64): Likewise.
27842 [C99-based-standards] (SCNi64): Likewise.
27843 [C99-based-standards] (SCNo64): Likewise.
27844 [C99-based-standards] (SCNu64): Likewise.
27845 [C99-based-standards] (SCNx64): Likewise.
27846 [C99-based-standards] (PRIdLEAST64): Likewise.
27847 [C99-based-standards] (PRIiLEAST64): Likewise.
27848 [C99-based-standards] (PRIoLEAST64): Likewise.
27849 [C99-based-standards] (PRIuLEAST64): Likewise.
27850 [C99-based-standards] (PRIxLEAST64): Likewise.
27851 [C99-based-standards] (PRIXLEAST64): Likewise.
27852 [C99-based-standards] (SCNdLEAST64): Likewise.
27853 [C99-based-standards] (SCNiLEAST64): Likewise.
27854 [C99-based-standards] (SCNoLEAST64): Likewise.
27855 [C99-based-standards] (SCNuLEAST64): Likewise.
27856 [C99-based-standards] (SCNxLEAST64): Likewise.
27857 [C99-based-standards] (PRIdFAST64): Likewise.
27858 [C99-based-standards] (PRIiFAST64): Likewise.
27859 [C99-based-standards] (PRIoFAST64): Likewise.
27860 [C99-based-standards] (PRIuFAST64): Likewise.
27861 [C99-based-standards] (PRIxFAST64): Likewise.
27862 [C99-based-standards] (PRIXFAST64): Likewise.
27863 [C99-based-standards] (SCNdFAST64): Likewise.
27864 [C99-based-standards] (SCNiFAST64): Likewise.
27865 [C99-based-standards] (SCNoFAST64): Likewise.
27866 [C99-based-standards] (SCNuFAST64): Likewise.
27867 [C99-based-standards] (SCNxFAST64): Likewise.
27868 [C99-based-standards] (PRIdMAX): Likewise.
27869 [C99-based-standards] (PRIiMAX): Likewise.
27870 [C99-based-standards] (PRIoMAX): Likewise.
27871 [C99-based-standards] (PRIuMAX): Likewise.
27872 [C99-based-standards] (PRIxMAX): Likewise.
27873 [C99-based-standards] (PRIXMAX): Likewise.
27874 [C99-based-standards] (SCNdMAX): Likewise.
27875 [C99-based-standards] (SCNiMAX): Likewise.
27876 [C99-based-standards] (SCNoMAX): Likewise.
27877 [C99-based-standards] (SCNuMAX): Likewise.
27878 [C99-based-standards] (SCNxMAX): Likewise.
27879 [C99-based-standards] (PRIdPTR): Likewise.
27880 [C99-based-standards] (PRIiPTR): Likewise.
27881 [C99-based-standards] (PRIoPTR): Likewise.
27882 [C99-based-standards] (PRIuPTR): Likewise.
27883 [C99-based-standards] (PRIxPTR): Likewise.
27884 [C99-based-standards] (PRIXPTR): Likewise.
27885 [C99-based-standards] (SCNdPTR): Likewise.
27886 [C99-based-standards] (SCNiPTR): Likewise.
27887 [C99-based-standards] (SCNoPTR): Likewise.
27888 [C99-based-standards] (SCNuPTR): Likewise.
27889 [C99-based-standards] (SCNxPTR): Likewise.
27890 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27892 * conform/data/stdint.h-data: Update comments to clarify
27894 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27896 [C99-based standards] (INT8_MAX): Likewise.
27897 [C99-based standards] (INT16_MIN): Likewise.
27898 [C99-based standards] (INT16_MAX): Likewise.
27899 [C99-based standards] (INT32_MIN): Likewise.
27900 [C99-based standards] (INT32_MAX): Likewise.
27901 [C99-based standards] (INT64_MIN): Likewise.
27902 [C99-based standards] (INT64_MAX): Likewise.
27903 [C99-based standards] (UINT8_MAX): Likewise.
27904 [C99-based standards] (UINT16_MAX): Likewise.
27905 [C99-based standards] (UINT32_MAX): Likewise.
27906 [C99-based standards] (UINT64_MAX): Likewise.
27907 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27908 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27909 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27910 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27911 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27912 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27913 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27914 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27915 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27916 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27917 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27918 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27919 [C99-based standards] (INT_FAST8_MIN): Likewise.
27920 [C99-based standards] (INT_FAST8_MAX): Likewise.
27921 [C99-based standards] (INT_FAST16_MIN): Likewise.
27922 [C99-based standards] (INT_FAST16_MAX): Likewise.
27923 [C99-based standards] (INT_FAST32_MIN): Likewise.
27924 [C99-based standards] (INT_FAST32_MAX): Likewise.
27925 [C99-based standards] (INT_FAST64_MIN): Likewise.
27926 [C99-based standards] (INT_FAST64_MAX): Likewise.
27927 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27928 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27929 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27930 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27931 [C99-based standards] (INTPTR_MIN): Likewise.
27932 [C99-based standards] (INTPTR_MAX): Likewise.
27933 [C99-based standards] (UINTPTR_MAX): Likewise.
27934 [C99-based standards] (INTMAX_MIN): Likewise.
27935 [C99-based standards] (INTMAX_MAX): Likewise.
27936 [C99-based standards] (UINTMAX_MAX): Likewise.
27937 [C99-based standards] (PTRDIFF_MIN): Likewise.
27938 [C99-based standards] (PTRDIFF_MAX): Likewise.
27939 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27940 [C99-based standards] (SIZE_MAX): Likewise.
27941 [C99-based standards] (WCHAR_MAX): Likewise.
27942 [C99-based standards] (WINT_MAX): Likewise.
27943 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27944 constraint on value.
27945 [C99-based standards] (WCHAR_MIN): Likewise.
27946 [C99-based standards] (WINT_MIN): Likewise.
27947 [C99-based standards] (*_t): Allow.
27948 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27949 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27950 Include math.h-data and complex.h-data. Remove all expectations
27951 of math.h and complex.h contents.
27952 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27954 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27955 (struct tm): Expect tag.
27956 [C99-based-standards] (wcstof): Expect function.
27957 [C99-based-standards] (wcstold): Likewise.
27958 [C99-based-standards] (wcstoll): Likewise.
27959 [C99-based-standards] (wcstoull): Likewise.
27960 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27961 macro-int-constant. Specify type.
27962 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27963 constraint on value.
27964 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27966 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27968 [ISO C standards]: Do not allow headers.
27969 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27970 wcs[abcdefghijklmnopqrstuvwxyz]*.
27971 [ISO C standards] (*_t): Do not allow.
27972 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27974 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27975 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27977 [ISO C standards]: Do not allow headers.
27978 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27979 is[abcdefghijklmnopqrstuvwxyz]*.
27980 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27981 to[abcdefghijklmnopqrstuvwxyz]*.
27982 [ISO C standards] (*_t): Do not allow.
27983 * conform/data/stdalign.h-data: New file.
27984 * conform/data/stdbool.h-data: Likewise.
27985 * conform/data/stdnoreturn.h-data: Likewise.
27987 2012-11-07 Roland McGrath <roland@hack.frob.com>
27990 * manual/filesys.texi (Directory Entries): Typo fix.
27991 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27993 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27995 * elf/elf.h (EM_AARCH64): New macro.
27996 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27997 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27998 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27999 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28000 (R_AARCH64_TLSDESC): Likewise.
28001 (NT_ARM_TLS): Likewise.
28002 (NT_ARM_HW_BREAK): Likewise.
28003 (NT_ARM_HW_WATCH): Likewise.
28005 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28008 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28009 (__ieee754_powl): Saturate nonzero exponents with absolute value
28010 below 0x1p-79 to +/- 0x1p-79.
28011 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28012 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28013 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28014 nonzero exponents with absolute value below 0x1p-32 to +/-
28016 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28017 (__ieee754_powl): Saturate nonzero exponents with absolute value
28018 below 0x1p-79 to +/- 0x1p-79.
28019 * math/libm-test.inc (pow_test): Add more tests.
28021 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28023 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28024 _dl_s390_cap_flags with kernel. Increase string length.
28025 (_dl_s390_platforms): Add z196 and zEC12.
28027 2012-11-07 Joseph Myers <joseph@codesourcery.com>
28029 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28030 Change XOPEN21K to XOPEN2K.
28032 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28034 * string/memmove.c: Use memcpy when possible.
28036 2012-11-06 Andreas Jaeger <aj@suse.de>
28038 * po/eo.po: Update from translation team.
28040 2012-11-06 Joseph Myers <joseph@codesourcery.com>
28043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28044 exponent and small x and y exponents, scale x or y up. Increase
28045 by 2 the exponent used in scaling up.
28046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28048 * math/libm-test.inc (fma_test): Add more tests.
28049 (fma_test_towardzero): Likewise.
28050 (fma_test_downward): Likewise.
28051 (fma_test_upward): Likewise.
28053 2012-11-05 Joseph Myers <joseph@codesourcery.com>
28056 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28060 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28061 namespace for names of struct fields.
28062 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28064 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28065 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28067 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28070 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28072 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28074 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28078 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28081 2012-11-04 Joseph Myers <joseph@codesourcery.com>
28084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28085 definitely overflow as x * y not x * y + z.
28086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28087 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28088 * math/libm-test.inc (fma_test): Add more tests.
28089 (fma_test_towardzero): Likewise.
28090 (fma_test_downward): Likewise.
28091 (fma_test_upward): Likewise.
28093 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28097 * include/stub-tag.h: Remove file.
28098 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28100 * manual/maint.texi (Porting): Don't reference it.
28101 * Makerules ($(objpfx)stubs): Likewise.
28102 * dirent/closedir.c: Don't include <stub-tag.h>.
28103 * dirent/dirfd.c: Likewise.
28104 * dirent/fdopendir.c: Likewise.
28105 * dirent/getdents.c: Likewise.
28106 * dirent/getdents64.c: Likewise.
28107 * dirent/opendir.c: Likewise.
28108 * dirent/readdir.c: Likewise.
28109 * dirent/readdir64.c: Likewise.
28110 * dirent/readdir64_r.c: Likewise.
28111 * dirent/readdir_r.c: Likewise.
28112 * dirent/rewinddir.c: Likewise.
28113 * dirent/seekdir.c: Likewise.
28114 * dirent/telldir.c: Likewise.
28115 * gmon/profil.c: Likewise.
28116 * grp/setgroups.c: Likewise.
28117 * inet/if_index.c: Likewise.
28118 * io/access.c: Likewise.
28119 * io/chdir.c: Likewise.
28120 * io/chmod.c: Likewise.
28121 * io/chown.c: Likewise.
28122 * io/close.c: Likewise.
28123 * io/dup.c: Likewise.
28124 * io/dup2.c: Likewise.
28125 * io/dup3.c: Likewise.
28126 * io/euidaccess.c: Likewise.
28127 * io/faccessat.c: Likewise.
28128 * io/fchdir.c: Likewise.
28129 * io/fchmod.c: Likewise.
28130 * io/fchmodat.c: Likewise.
28131 * io/fchown.c: Likewise.
28132 * io/fchownat.c: Likewise.
28133 * io/fcntl.c: Likewise.
28134 * io/flock.c: Likewise.
28135 * io/fstatfs.c: Likewise.
28136 * io/fstatfs64.c: Likewise.
28137 * io/fstatvfs.c: Likewise.
28138 * io/fstatvfs64.c: Likewise.
28139 * io/futimens.c: Likewise.
28140 * io/fxstat.c: Likewise.
28141 * io/fxstat64.c: Likewise.
28142 * io/fxstatat.c: Likewise.
28143 * io/fxstatat64.c: Likewise.
28144 * io/getcwd.c: Likewise.
28145 * io/isatty.c: Likewise.
28146 * io/lchmod.c: Likewise.
28147 * io/lchown.c: Likewise.
28148 * io/link.c: Likewise.
28149 * io/linkat.c: Likewise.
28150 * io/lseek.c: Likewise.
28151 * io/lseek64.c: Likewise.
28152 * io/lxstat64.c: Likewise.
28153 * io/mkdir.c: Likewise.
28154 * io/mkdirat.c: Likewise.
28155 * io/mkfifo.c: Likewise.
28156 * io/mkfifoat.c: Likewise.
28157 * io/open.c: Likewise.
28158 * io/open64.c: Likewise.
28159 * io/openat.c: Likewise.
28160 * io/openat64.c: Likewise.
28161 * io/pipe.c: Likewise.
28162 * io/pipe2.c: Likewise.
28163 * io/poll.c: Likewise.
28164 * io/posix_fadvise.c: Likewise.
28165 * io/posix_fadvise64.c: Likewise.
28166 * io/posix_fallocate.c: Likewise.
28167 * io/posix_fallocate64.c: Likewise.
28168 * io/read.c: Likewise.
28169 * io/readlink.c: Likewise.
28170 * io/readlinkat.c: Likewise.
28171 * io/rmdir.c: Likewise.
28172 * io/sendfile.c: Likewise.
28173 * io/sendfile64.c: Likewise.
28174 * io/statfs.c: Likewise.
28175 * io/statfs64.c: Likewise.
28176 * io/statvfs.c: Likewise.
28177 * io/statvfs64.c: Likewise.
28178 * io/symlink.c: Likewise.
28179 * io/symlinkat.c: Likewise.
28180 * io/ttyname.c: Likewise.
28181 * io/ttyname_r.c: Likewise.
28182 * io/umask.c: Likewise.
28183 * io/unlink.c: Likewise.
28184 * io/unlinkat.c: Likewise.
28185 * io/utime.c: Likewise.
28186 * io/utimensat.c: Likewise.
28187 * io/write.c: Likewise.
28188 * io/xmknod.c: Likewise.
28189 * io/xmknodat.c: Likewise.
28190 * io/xstat.c: Likewise.
28191 * io/xstat64.c: Likewise.
28192 * login/getpt.c: Likewise.
28193 * login/grantpt.c: Likewise.
28194 * login/unlockpt.c: Likewise.
28195 * math/e_acoshl.c: Likewise.
28196 * math/e_acosl.c: Likewise.
28197 * math/e_asinl.c: Likewise.
28198 * math/e_atan2l.c: Likewise.
28199 * math/e_atanhl.c: Likewise.
28200 * math/e_coshl.c: Likewise.
28201 * math/e_expl.c: Likewise.
28202 * math/e_fmodl.c: Likewise.
28203 * math/e_gammal_r.c: Likewise.
28204 * math/e_hypotl.c: Likewise.
28205 * math/e_j0l.c: Likewise.
28206 * math/e_j1l.c: Likewise.
28207 * math/e_jnl.c: Likewise.
28208 * math/e_lgammal_r.c: Likewise.
28209 * math/e_log10l.c: Likewise.
28210 * math/e_log2l.c: Likewise.
28211 * math/e_logl.c: Likewise.
28212 * math/e_powl.c: Likewise.
28213 * math/e_rem_pio2l.c: Likewise.
28214 * math/e_sinhl.c: Likewise.
28215 * math/e_sqrtl.c: Likewise.
28216 * math/fclrexcpt.c: Likewise.
28217 * math/fedisblxcpt.c: Likewise.
28218 * math/feenablxcpt.c: Likewise.
28219 * math/fegetenv.c: Likewise.
28220 * math/fegetexcept.c: Likewise.
28221 * math/fegetround.c: Likewise.
28222 * math/feholdexcpt.c: Likewise.
28223 * math/fesetenv.c: Likewise.
28224 * math/fesetround.c: Likewise.
28225 * math/feupdateenv.c: Likewise.
28226 * math/fgetexcptflg.c: Likewise.
28227 * math/fraiseexcpt.c: Likewise.
28228 * math/fsetexcptflg.c: Likewise.
28229 * math/ftestexcept.c: Likewise.
28230 * math/k_cosl.c: Likewise.
28231 * math/k_rem_pio2l.c: Likewise.
28232 * math/k_sinl.c: Likewise.
28233 * math/k_tanl.c: Likewise.
28234 * math/s_asinhl.c: Likewise.
28235 * math/s_atanl.c: Likewise.
28236 * math/s_cbrtl.c: Likewise.
28237 * math/s_erfl.c: Likewise.
28238 * math/s_expm1l.c: Likewise.
28239 * math/s_log1pl.c: Likewise.
28240 * math/s_tanhl.c: Likewise.
28241 * misc/acct.c: Likewise.
28242 * misc/brk.c: Likewise.
28243 * misc/chflags.c: Likewise.
28244 * misc/chroot.c: Likewise.
28245 * misc/fchflags.c: Likewise.
28246 * misc/fgetxattr.c: Likewise.
28247 * misc/flistxattr.c: Likewise.
28248 * misc/fremovexattr.c: Likewise.
28249 * misc/fsetxattr.c: Likewise.
28250 * misc/fsync.c: Likewise.
28251 * misc/ftruncate.c: Likewise.
28252 * misc/futimes.c: Likewise.
28253 * misc/futimesat.c: Likewise.
28254 * misc/getdomain.c: Likewise.
28255 * misc/getdtsz.c: Likewise.
28256 * misc/gethostid.c: Likewise.
28257 * misc/gethostname.c: Likewise.
28258 * misc/getloadavg.c: Likewise.
28259 * misc/getpagesize.c: Likewise.
28260 * misc/getsysstats.c: Likewise.
28261 * misc/getxattr.c: Likewise.
28262 * misc/gtty.c: Likewise.
28263 * misc/ioctl.c: Likewise.
28264 * misc/lgetxattr.c: Likewise.
28265 * misc/listxattr.c: Likewise.
28266 * misc/llistxattr.c: Likewise.
28267 * misc/lremovexattr.c: Likewise.
28268 * misc/lsetxattr.c: Likewise.
28269 * misc/lutimes.c: Likewise.
28270 * misc/madvise.c: Likewise.
28271 * misc/mincore.c: Likewise.
28272 * misc/mlock.c: Likewise.
28273 * misc/mlockall.c: Likewise.
28274 * misc/mmap.c: Likewise.
28275 * misc/mprotect.c: Likewise.
28276 * misc/msync.c: Likewise.
28277 * misc/munlock.c: Likewise.
28278 * misc/munlockall.c: Likewise.
28279 * misc/munmap.c: Likewise.
28280 * misc/preadv.c: Likewise.
28281 * misc/preadv64.c: Likewise.
28282 * misc/ptrace.c: Likewise.
28283 * misc/pwritev.c: Likewise.
28284 * misc/pwritev64.c: Likewise.
28285 * misc/readv.c: Likewise.
28286 * misc/reboot.c: Likewise.
28287 * misc/remap_file_pages.c: Likewise.
28288 * misc/removexattr.c: Likewise.
28289 * misc/revoke.c: Likewise.
28290 * misc/select.c: Likewise.
28291 * misc/setdomain.c: Likewise.
28292 * misc/setegid.c: Likewise.
28293 * misc/seteuid.c: Likewise.
28294 * misc/sethostid.c: Likewise.
28295 * misc/sethostname.c: Likewise.
28296 * misc/setregid.c: Likewise.
28297 * misc/setreuid.c: Likewise.
28298 * misc/setxattr.c: Likewise.
28299 * misc/sstk.c: Likewise.
28300 * misc/stty.c: Likewise.
28301 * misc/swapoff.c: Likewise.
28302 * misc/swapon.c: Likewise.
28303 * misc/sync.c: Likewise.
28304 * misc/syncfs.c: Likewise.
28305 * misc/syscall.c: Likewise.
28306 * misc/truncate.c: Likewise.
28307 * misc/ualarm.c: Likewise.
28308 * misc/usleep.c: Likewise.
28309 * misc/ustat.c: Likewise.
28310 * misc/utimes.c: Likewise.
28311 * misc/vhangup.c: Likewise.
28312 * misc/writev.c: Likewise.
28313 * posix/_exit.c: Likewise.
28314 * posix/alarm.c: Likewise.
28315 * posix/execve.c: Likewise.
28316 * posix/fexecve.c: Likewise.
28317 * posix/fork.c: Likewise.
28318 * posix/fpathconf.c: Likewise.
28319 * posix/getaddrinfo.c: Likewise.
28320 * posix/getegid.c: Likewise.
28321 * posix/geteuid.c: Likewise.
28322 * posix/getgid.c: Likewise.
28323 * posix/getgroups.c: Likewise.
28324 * posix/getlogin.c: Likewise.
28325 * posix/getlogin_r.c: Likewise.
28326 * posix/getpgid.c: Likewise.
28327 * posix/getpid.c: Likewise.
28328 * posix/getppid.c: Likewise.
28329 * posix/getresgid.c: Likewise.
28330 * posix/getresuid.c: Likewise.
28331 * posix/getsid.c: Likewise.
28332 * posix/getuid.c: Likewise.
28333 * posix/glob64.c: Likewise.
28334 * posix/nanosleep.c: Likewise.
28335 * posix/pathconf.c: Likewise.
28336 * posix/pause.c: Likewise.
28337 * posix/posix_madvise.c: Likewise.
28338 * posix/pread.c: Likewise.
28339 * posix/pread64.c: Likewise.
28340 * posix/pwrite.c: Likewise.
28341 * posix/pwrite64.c: Likewise.
28342 * posix/sched_getaffinity.c: Likewise.
28343 * posix/sched_getp.c: Likewise.
28344 * posix/sched_gets.c: Likewise.
28345 * posix/sched_primax.c: Likewise.
28346 * posix/sched_primin.c: Likewise.
28347 * posix/sched_rr_gi.c: Likewise.
28348 * posix/sched_setaffinity.c: Likewise.
28349 * posix/sched_setp.c: Likewise.
28350 * posix/sched_sets.c: Likewise.
28351 * posix/sched_yield.c: Likewise.
28352 * posix/setgid.c: Likewise.
28353 * posix/setlogin.c: Likewise.
28354 * posix/setpgid.c: Likewise.
28355 * posix/setresgid.c: Likewise.
28356 * posix/setresuid.c: Likewise.
28357 * posix/setsid.c: Likewise.
28358 * posix/setuid.c: Likewise.
28359 * posix/sleep.c: Likewise.
28360 * posix/spawni.c: Likewise.
28361 * posix/sysconf.c: Likewise.
28362 * posix/times.c: Likewise.
28363 * posix/wait.c: Likewise.
28364 * posix/wait3.c: Likewise.
28365 * posix/wait4.c: Likewise.
28366 * posix/waitpid.c: Likewise.
28367 * resolv/gai_sigqueue.c: Likewise.
28368 * resource/getpriority.c: Likewise.
28369 * resource/getrlimit.c: Likewise.
28370 * resource/getrusage.c: Likewise.
28371 * resource/nice.c: Likewise.
28372 * resource/setpriority.c: Likewise.
28373 * resource/setrlimit.c: Likewise.
28374 * resource/ulimit.c: Likewise.
28375 * rt/aio_cancel.c: Likewise.
28376 * rt/aio_fsync.c: Likewise.
28377 * rt/aio_read.c: Likewise.
28378 * rt/aio_sigqueue.c: Likewise.
28379 * rt/aio_suspend.c: Likewise.
28380 * rt/aio_write.c: Likewise.
28381 * rt/clock_getres.c: Likewise.
28382 * rt/clock_gettime.c: Likewise.
28383 * rt/clock_nanosleep.c: Likewise.
28384 * rt/clock_settime.c: Likewise.
28385 * rt/lio_listio.c: Likewise.
28386 * rt/mq_close.c: Likewise.
28387 * rt/mq_getattr.c: Likewise.
28388 * rt/mq_notify.c: Likewise.
28389 * rt/mq_open.c: Likewise.
28390 * rt/mq_receive.c: Likewise.
28391 * rt/mq_send.c: Likewise.
28392 * rt/mq_setattr.c: Likewise.
28393 * rt/mq_timedreceive.c: Likewise.
28394 * rt/mq_timedsend.c: Likewise.
28395 * rt/mq_unlink.c: Likewise.
28396 * rt/shm_open.c: Likewise.
28397 * rt/shm_unlink.c: Likewise.
28398 * rt/timer_create.c: Likewise.
28399 * rt/timer_delete.c: Likewise.
28400 * rt/timer_getoverr.c: Likewise.
28401 * rt/timer_gettime.c: Likewise.
28402 * rt/timer_settime.c: Likewise.
28403 * setjmp/__longjmp.c: Likewise.
28404 * setjmp/setjmp.c: Likewise.
28405 * signal/kill.c: Likewise.
28406 * signal/killpg.c: Likewise.
28407 * signal/raise.c: Likewise.
28408 * signal/sigaction.c: Likewise.
28409 * signal/sigaltstack.c: Likewise.
28410 * signal/sigblock.c: Likewise.
28411 * signal/sigignore.c: Likewise.
28412 * signal/sigintr.c: Likewise.
28413 * signal/signal.c: Likewise.
28414 * signal/sigpause.c: Likewise.
28415 * signal/sigpending.c: Likewise.
28416 * signal/sigqueue.c: Likewise.
28417 * signal/sigreturn.c: Likewise.
28418 * signal/sigset.c: Likewise.
28419 * signal/sigsetmask.c: Likewise.
28420 * signal/sigstack.c: Likewise.
28421 * signal/sigsuspend.c: Likewise.
28422 * signal/sigtimedwait.c: Likewise.
28423 * signal/sigvec.c: Likewise.
28424 * signal/sigwait.c: Likewise.
28425 * signal/sigwaitinfo.c: Likewise.
28426 * signal/sysv_signal.c: Likewise.
28427 * socket/accept.c: Likewise.
28428 * socket/accept4.c: Likewise.
28429 * socket/bind.c: Likewise.
28430 * socket/connect.c: Likewise.
28431 * socket/getpeername.c: Likewise.
28432 * socket/getsockname.c: Likewise.
28433 * socket/getsockopt.c: Likewise.
28434 * socket/isfdtype.c: Likewise.
28435 * socket/listen.c: Likewise.
28436 * socket/recv.c: Likewise.
28437 * socket/recvfrom.c: Likewise.
28438 * socket/recvmsg.c: Likewise.
28439 * socket/send.c: Likewise.
28440 * socket/sendmsg.c: Likewise.
28441 * socket/sendto.c: Likewise.
28442 * socket/setsockopt.c: Likewise.
28443 * socket/shutdown.c: Likewise.
28444 * socket/sockatmark.c: Likewise.
28445 * socket/socket.c: Likewise.
28446 * socket/socketpair.c: Likewise.
28447 * stdio-common/ctermid.c: Likewise.
28448 * stdio-common/cuserid.c: Likewise.
28449 * stdio-common/remove.c: Likewise.
28450 * stdio-common/rename.c: Likewise.
28451 * stdio-common/renameat.c: Likewise.
28452 * stdio-common/tempname.c: Likewise.
28453 * stdlib/getcontext.c: Likewise.
28454 * stdlib/makecontext.c: Likewise.
28455 * stdlib/setcontext.c: Likewise.
28456 * stdlib/swapcontext.c: Likewise.
28457 * stdlib/system.c: Likewise.
28458 * streams/fattach.c: Likewise.
28459 * streams/fdetach.c: Likewise.
28460 * streams/getmsg.c: Likewise.
28461 * streams/getpmsg.c: Likewise.
28462 * streams/putmsg.c: Likewise.
28463 * streams/putpmsg.c: Likewise.
28464 * sysdeps/unix/bsd/getpt.c: Likewise.
28465 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28466 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28467 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28470 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28471 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28472 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28473 * sysvipc/msgctl.c: Likewise.
28474 * sysvipc/msgget.c: Likewise.
28475 * sysvipc/msgrcv.c: Likewise.
28476 * sysvipc/msgsnd.c: Likewise.
28477 * sysvipc/semctl.c: Likewise.
28478 * sysvipc/semget.c: Likewise.
28479 * sysvipc/semop.c: Likewise.
28480 * sysvipc/semtimedop.c: Likewise.
28481 * sysvipc/shmat.c: Likewise.
28482 * sysvipc/shmctl.c: Likewise.
28483 * sysvipc/shmdt.c: Likewise.
28484 * sysvipc/shmget.c: Likewise.
28485 * termios/tcdrain.c: Likewise.
28486 * termios/tcflow.c: Likewise.
28487 * termios/tcflush.c: Likewise.
28488 * termios/tcgetattr.c: Likewise.
28489 * termios/tcgetpgrp.c: Likewise.
28490 * termios/tcsendbrk.c: Likewise.
28491 * termios/tcsetattr.c: Likewise.
28492 * termios/tcsetpgrp.c: Likewise.
28493 * time/adjtime.c: Likewise.
28494 * time/clock.c: Likewise.
28495 * time/getitimer.c: Likewise.
28496 * time/gettimeofday.c: Likewise.
28497 * time/setitimer.c: Likewise.
28498 * time/settimeofday.c: Likewise.
28499 * time/stime.c: Likewise.
28500 * time/time.c: Likewise.
28502 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28504 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28507 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28509 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28511 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28515 FE_TONEAREST before applying Dekker multiplication and Knuth
28516 addition. Clear inexact exceptions and check for exact zero
28517 results afterwards.
28518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28519 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28520 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28521 * math/libm-test.inc (fma_test): Add more tests.
28522 (fma_test_towardzero): Likewise.
28523 (fma_test_downward): Likewise.
28524 (fma_test_upward): Likewise.
28525 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28527 (libc_fesetround): New macro.
28528 (libc_fesetroundf): Likewise.
28529 (libc_fesetroundl): Likewise.
28530 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28532 (libc_fesetround_387): Likewise.
28533 (libc_fesetroundf): New macro.
28534 (libc_fesetround): Likewise.
28535 (libc_fesetroundl): Likewise.
28536 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28538 (libc_fesetroundf): New macro.
28539 (libc_fesetround): Likewise.
28540 (libc_fesetroundl): Likewise.
28541 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28542 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28543 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28545 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28546 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28548 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28549 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28551 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28555 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28556 integer constant usable in #if and use that to give value to enum
28558 (FE_DIVBYZERO): Likewise.
28559 (FE_UNDERFLOW): Likewise.
28560 (FE_OVERFLOW): Likewise.
28561 (FE_INVALID): Likewise.
28562 (FE_INVALID_SNAN): Likewise.
28563 (FE_INVALID_ISI): Likewise.
28564 (FE_INVALID_IDI): Likewise.
28565 (FE_INVALID_ZDZ): Likewise.
28566 (FE_INVALID_IMZ): Likewise.
28567 (FE_INVALID_COMPARE): Likewise.
28568 (FE_INVALID_SOFTWARE): Likewise.
28569 (FE_INVALID_SQRT): Likewise.
28570 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28571 (FE_TONEAREST): Likewise.
28572 (FE_TOWARDZERO): Likewise.
28573 (FE_UPWARD): Likewise.
28574 (FE_DOWNWARD): Likewise.
28575 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28576 (FE_DIVBYZERO): Likewise.
28577 (FE_OVERFLOW): Likewise.
28578 (FE_UNDERFLOW): Likewise.
28579 (FE_INEXACT): Likewise.
28580 (FE_TONEAREST): Likewise.
28581 (FE_DOWNWARD): Likewise.
28582 (FE_UPWARD): Likewise.
28583 (FE_TOWARDZERO): Likewise.
28584 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28585 (FE_UNDERFLOW): Likewise.
28586 (FE_OVERFLOW): Likewise.
28587 (FE_DIVBYZERO): Likewise.
28588 (FE_INVALID): Likewise.
28589 (FE_TONEAREST): Likewise.
28590 (FE_TOWARDZERO): Likewise.
28591 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28592 (FE_OVERFLOW): Likewise.
28593 (FE_UNDERFLOW): Likewise.
28594 (FE_DIVBYZERO): Likewise.
28595 (FE_INEXACT): Likewise.
28596 (FE_TONEAREST): Likewise.
28597 (FE_TOWARDZERO): Likewise.
28598 (FE_UPWARD): Likewise.
28599 (FE_DOWNWARD): Likewise.
28600 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28601 (FE_DIVBYZERO): Likewise.
28602 (FE_OVERFLOW): Likewise.
28603 (FE_UNDERFLOW): Likewise.
28604 (FE_INEXACT): Likewise.
28605 (FE_TONEAREST): Likewise.
28606 (FE_DOWNWARD): Likewise.
28607 (FE_UPWARD): Likewise.
28608 (FE_TOWARDZERO): Likewise.
28610 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28612 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28614 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28616 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28617 commands. Quote $PWD.
28618 (blacklist_exports): Don't use remove_newlines. Replace "declare
28620 (remove_newlines): Remove.
28622 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28624 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28625 * stdlib/stdlib.h (atof): Moved to ...
28626 * include/bits/stdlib-float.h: Here. New file.
28627 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28628 * stdlib/bits/stdlib-float.h: New file.
28629 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28634 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28636 * conform/conformtest.pl (@headers): Add fenv.h.
28637 * conform/data/fenv.h-data: New file.
28638 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28639 include of <math/fenv.h>.
28641 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28642 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28643 && !UNIX98]. Enables tests for XOPEN2K8.
28644 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28645 POSIX2008]: Likewise.
28647 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28648 (struct rusage): Do not expect type or its members.
28651 * math/math.h (FP_NAN): Define macro to integer constant usable in
28652 #if and use that to give value to enum constant.
28653 (FP_INFINITE): Likewise.
28654 (FP_ZERO): Likewise.
28655 (FP_SUBNORMAL): Likewise.
28656 (FP_NORMAL): Likewise.
28658 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28660 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28661 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28664 2012-11-02 Roland McGrath <roland@hack.frob.com>
28666 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28667 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28668 autoconf-time if not.
28669 * configure.in: Remove AC_PREREQ.
28671 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28673 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28674 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28675 of the internal implementation.
28677 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28679 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28680 except include of <misc/sys/syslog.h>.
28682 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28685 function returns with a NULL context exit with zero.
28687 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28689 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28691 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28693 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28694 (run_program_cmd): This.
28695 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28696 (tst_langinfo): New variable. Use it.
28698 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28700 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28701 floating point opcodes.
28703 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28705 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28708 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28710 * sysdeps/mach/hurd/powerpc: Remove directory.
28711 * sysdeps/mach/powerpc: Likewise.
28713 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28715 * scripts/check-local-headers.sh: Ignore c++ headers.
28717 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28719 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28720 __libc_cleanup_region_start argument.
28722 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28727 x * y using scaling, not as x * y + z.
28728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28729 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28730 * math/libm-test.inc (fma_test): Add more tests.
28731 (fma_test_towardzero): Likewise.
28732 (fma_test_downward): Likewise.
28733 (fma_test_upward): Likewise.
28735 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28737 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28739 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28741 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28744 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28746 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28748 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28755 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28758 Fix the order of the list for glibc 2.17.
28759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28762 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28766 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28769 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28770 for low part of x being zero before using __atanl (y).
28771 * math/libm-test.inc (atan2_test): Add another test.
28773 * manual/install.texi (Configuring and compiling): Document
28774 general use of test-wrapper and test-wrapper-env.
28775 * INSTALL: Regenerated.
28777 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28778 (__fma): 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-128/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 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28786 (__fmal): Do not extract and scale down low bits on after-rounding
28787 systems when result rounded to normal precision would have normal
28789 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28791 (fma_test): Add more tests.
28792 (fma_test_towardzero): Likewise.
28793 (fma_test_downward): Likewise.
28794 (fma_test_upward): Likewise.
28796 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28798 * sysdeps/i386/tininess.h: Renamed to ...
28799 * sysdeps/x86/tininess.h: This.
28800 * sysdeps/x86_64/tininess.h: Removed.
28802 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28804 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28805 input. Use $(build-program-cmd).
28806 ($(objpfx)tst-array1-static.out): Likewise.
28807 ($(objpfx)tst-array2.out): Likewise.
28808 ($(objpfx)tst-array3.out): Likewise.
28809 ($(objpfx)tst-array4.out): Likewise.
28810 ($(objpfx)tst-array5.out): Likewise.
28811 ($(objpfx)tst-array5-static.out): Likewise.
28813 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28815 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28818 * nss/nsswitch.h (nss_interface_function): Provide new
28819 macro for use with NSS functions.
28820 * grp/initgroups.c: Use new macro.
28821 * nss/getXXbyYY.c: Likewise.
28822 * nss/getXXbyYY_r.c: Likewise.
28823 * nss/getXXent.c: Likewise.
28824 * nss/getXXent_r.c: Likewise.
28825 * sysdeps/posix/getaddrinfo.c: Likewise.
28827 2012-10-30 Andreas Jaeger <aj@suse.de>
28829 * po/ru.po: Update Russion translation from translation project.
28831 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28836 result and shift together with sticky bit instead of replicating
28837 round-to-nearest rounding.
28838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28840 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28841 missing underflow exceptions.
28842 (fma_test_towardzero): Add more tests.
28843 (fma_test_downward): Likewise.
28844 (fma_test_upward): Likewise.
28847 * sysdeps/generic/tininess.h: New file.
28848 * sysdeps/i386/tininess.h: Likewise.
28849 * sysdeps/sh/tininess.h: Likewise.
28850 * sysdeps/x86_64/tininess.h: Likewise.
28851 * stdlib/tst-strtod-underflow.c: Likewise.
28852 * stdlib/tst-tininess.c: Likewise.
28853 * stdlib/strtod_l.c: Include <tininess.h>.
28854 (round_and_return): Do not set errno for exact underflow cases.
28855 Force an underflow exception when setting errno for underflow.
28856 Determine underflow based on rounding to normal precision if
28857 TININESS_AFTER_ROUNDING.
28858 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28859 ERANGE for exact underflow cases.
28860 * stdlib/Makefile (tests): Add tst-tininess and
28861 tst-strtod-underflow.
28862 ($(objpfx)tst-tininess): Use $(link-libm).
28863 ($(objpfx)tst-strtod-underflow): Likewise.
28865 2012-10-30 Andreas Jaeger <aj@suse.de>
28868 * elf/Makefile (tests): Remove conditional for have-initfini-array
28869 since this is now always required and the variable does not exist
28871 (tests-static): Likewise.
28872 (modules-names): Likewise.
28874 * po/eo.po: Add Esperanto translation from translation project.
28876 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28877 merged with constructor/destructor.
28878 (init_array): Likewise.
28879 * elf/tst-array2dep.c (fini_array): Likewise.
28880 (init_array): Likewise.
28882 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28884 * manual/message.texi: Delete @cartouche tags.
28886 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28888 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28890 * sysdeps/mach/hurd/fsync.c: Likewise.
28892 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28893 [_POSIX_REALTIME_SIGNALS]: Change condition to
28894 [_POSIX_REALTIME_SIGNALS > 0].
28896 2012-10-27 Andreas Jaeger <aj@suse.de>
28898 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28899 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28901 [__WORDSIZE != 64]: Likewise.
28903 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28905 * iconvdata/tst-table.sh: Remove ${SHELL}.
28906 * iconvdata/tst-tables.sh: Likewise.
28908 2012-10-25 David S. Miller <davem@davemloft.net>
28910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28911 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28916 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28917 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28918 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28921 2012-10-25 Roland McGrath <roland@hack.frob.com>
28923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28924 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28927 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28928 Jim Blandy <jimb@codesourcery.com>
28930 * scripts/cross-test-ssh.sh: New file.
28931 * manual/install.texi (Configuring and compiling): Document use of
28933 * INSTALL: Regenerated.
28935 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28937 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28940 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28942 * Makeconfig (run-program-prefix): Fix comment.
28944 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28945 Jim Blandy <jimb@codesourcery.com>
28947 * Makeconfig (test-wrapper): New variable,
28948 (test-wrapper-env): Likewise.
28949 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28950 (run-built-tests): Define to yes.
28951 (run-program-prefix): Use $(test-wrapper).
28952 (built-program-cmd): Likewise.
28953 * Rules (make-test-out): Use $(test-wrapper-env) and
28954 $(host-built-program-cmd).
28955 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28956 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28958 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28959 $(test-wrapper-env) to tst-rtld-load-self.sh.
28960 ($(objpfx)order2.out): Use $(test-wrapper).
28961 ($(objpfx)tst-initorder.out): Likewise.
28962 ($(objpfx)tst-initorder2.out): Likewise.
28963 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28964 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28965 (test_wrapper_env): New variable. Use it to run ld.so.
28966 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28967 Use it to run ld.so.
28968 (test_wrapper_env): Likewise.
28969 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28970 $(test-wrapper) to run-iconv-test.sh.
28971 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28972 (ICONV): Use $test_wrapper.
28973 * posix/Makefile ($(objpfx)globtest.out): Pass
28974 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28975 globtest.sh, not $(run-program-prefix).
28976 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28977 (test_wrapper): Likewise.
28978 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28979 set together with run_via_rtld_prefix.
28980 (run_program_prefix): Define in terms of test_wrapper and
28981 run_via_rtld_prefix.
28983 2012-10-24 Roland McGrath <roland@hack.frob.com>
28985 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28986 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28990 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28991 Declare __clock_getres, __clock_gettime, __clock_settime,
28992 __clock_nanosleep, and __clock_getcpuclockid.
28993 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28994 Remove librt_hidden_def (clock_gettime).
28995 * sysdeps/unix/clock_gettime.c: Likewise.
28996 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28997 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28998 * rt/clock_getres.c: Define __clock_getres as an alias.
28999 * sysdeps/posix/clock_getres.c: Likewise.
29000 * rt/clock_settime.c: Define __clock_settime as an alias.
29001 * sysdeps/unix/clock_settime.c: Likewise.
29002 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29003 * sysdeps/unix/clock_nanosleep.c: Likewise.
29004 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29005 * rt/clock-compat.c: New file.
29006 * rt/Makefile (librt-routines): Add clock-compat and move
29007 $(clock-routines) to ...
29008 (routines): ... here, new variable.
29009 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29010 Don't add get_clockfreq here.
29011 * rt/Versions (libc: GLIBC_2.17): New version set.
29012 Add clock_* symbols here.
29013 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29015 (GLIBC_2.17): Add clock_* symbols.
29016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29027 * NEWS: Mention the move.
29029 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29030 Use __open, __read, __close rather than their public counterparts.
29031 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29032 (__get_clockfreq_via_cpuinfo): Likewise.
29033 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29034 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29036 * config.h.in (HAVE_IFUNC): New #undef.
29037 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29039 * configure: Regenerated.
29041 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29043 * configure.in: Move READELF check to start of file.
29044 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29045 libc_cv_asm_gnu_indirect_function in the process.
29046 * configure: Regenerated.
29048 2012-10-24 Mike Frysinger <vapier@gentoo.org>
29050 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29051 send the output to /dev/null.
29052 (libc_cv_cc_with_libunwind): Likewise.
29053 (libc_cv_as_noexecstack): Likewise.
29054 * configure: Regenerate.
29056 2012-10-24 Joseph Myers <joseph@codesourcery.com>
29058 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29060 * posix/globtest.sh (TMPDIR): Do not set.
29061 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29062 (testout): Likewise.
29064 2012-10-24 Andreas Jaeger <aj@suse.de>
29066 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29067 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29068 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29069 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29070 posix_fadvise64, posix_fallocate64.
29072 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29073 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29074 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29076 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29078 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29081 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29082 <bits/fcntl-linux.h>.
29083 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29086 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29087 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29088 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29089 [__WORDSIZE != 64]: Likewise.
29091 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29093 * Makeconfig (run-built-tests): New variable.
29094 * Rules [$(cross-compiling) = yes]: Change condition to
29095 [$(run-built-tests) = no].
29096 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29097 to [$(run-built-tests) = yes].
29098 * elf/Makefile [$(cross-compiling) = no]: Likewise
29099 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29100 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29101 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29102 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29103 * io/Makefile [$(cross-compiling) = no]: Likewise.
29104 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29105 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29106 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29107 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29108 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29109 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29110 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29111 * string/Makefile [$(cross-compiling) = no]: Likewise.
29113 * posix/Makefile ($(objpfx)globtest.out): Pass
29114 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29115 $(rtld-installed-name).
29116 * posix/globtest.sh (elf_objpfx): Remove variable.
29117 (rtld_installed_name): Likewise.
29118 (library_path): Likewise.
29119 (run_program_prefix): New variable. Use for running globtest
29122 2012-10-23 Jim Blandy <jimb@codesourcery.com>
29123 Joseph Myers <joseph@codesourcery.com>
29125 * Makeconfig (host-built-program-cmd): New variable.
29126 * elf/Makefile (tst-stackguard1-ARGS): Use
29127 $(host-built-program-cmd).
29128 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29129 (tst-spawn-ARGS): Likewise.
29130 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29132 2012-10-23 Joseph Myers <joseph@codesourcery.com>
29133 Jim Blandy <jimb@codesourcery.com>
29135 * Makeconfig (run-via-rtld-prefix): New variable.
29136 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29137 (built-program-cmd): Likewise.
29139 2012-10-22 Andreas Jaeger <aj@suse.de>
29141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29142 __O_RSYNC if it exists, otherwise to O_SYNC.
29144 2012-10-22 Jim Blandy <jimb@codesourcery.com>
29145 Joseph Myers <joseph@codesourcery.com>
29147 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29149 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29151 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29154 2012-10-22 Andreas Jaeger <aj@suse.de>
29156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29161 bits/fcntl-linux.h.
29163 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29164 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29171 2012-10-21 Jim Blandy <jimb@codesourcery.com>
29172 Joseph Myers <joseph@codesourcery.com>
29174 * config.make.in (NM): New variable.
29176 2012-10-21 Andreas Jaeger <aj@suse.de>
29178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29179 definitions and declarations that are provided by
29180 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29182 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29185 * elf/Makefile (tests-static): Add tst-leaks1-static.
29186 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29187 ($(objpfx)tst-leaks1-static): New rule.
29188 ($(objpfx)tst-leaks1-static-mem): Likewise.
29189 (tst-leaks1-static-ENV): New macro.
29190 * elf/dl-open.c (dl_open_worker): Check the main application
29191 only if SHARED is defined.
29192 * elf/tst-leaks1-static.c: New file.
29194 2012-10-20 Andreas Jaeger <aj@suse.de>
29196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29197 generic values for Linux.
29198 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29199 and declarations that are provided by <bits/fcntl-linux.h> and
29200 include <bits/fcntl-linux.h>.
29201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29204 2012-10-20 Roland McGrath <roland@hack.frob.com>
29206 * io/fcntl.h: Move include of <bits/types.h> to the top and
29207 include it unconditionally.
29209 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29211 * wcsmbs/Makefile (tests-ifunc): New variable.
29212 (tests): Add $(tests-ifunc).
29213 * wcsmbs/test-wcschr-ifunc.c: New file.
29214 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29215 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29216 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29217 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29218 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29220 * string/Makefile (tests-ifunc): New variable.
29221 (tests): Add $(tests-ifunc).
29222 * string/test-memccpy.c (TEST_NAME): New macro.
29223 * string/test-memchr.c (TEST_NAME): Likewise.
29224 * string/test-memcmp.c (TEST_NAME): Likewise.
29225 * string/test-memcpy.c (TEST_NAME): Likewise.
29226 * string/test-memmem.c (TEST_NAME): Likewise.
29227 * string/test-memmove.c (TEST_NAME): Likewise.
29228 * string/test-memset.c (TEST_NAME): Likewise.
29229 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29230 * string/test-stpcpy.c (TEST_NAME): Likewise.
29231 * string/test-stpncpy.c (TEST_NAME): Likewise.
29232 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29233 * string/test-strcasestr.c (TEST_NAME): Likewise.
29234 * string/test-strcat.c (TEST_NAME): Likewise.
29235 * string/test-strchr.c (TEST_NAME): Likewise.
29236 * string/test-strcmp.c(TEST_NAME): Likewise.
29237 * string/test-strcpy.c (TEST_NAME): Likewise.
29238 * string/test-strcspn.c (TEST_NAME): Likewise.
29239 * string/test-strlen.c (TEST_NAME): Likewise.
29240 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29241 * string/test-strncmp.c (TEST_NAME): Likewise.
29242 * string/test-strncpy.c (TEST_NAME): Likewise.
29243 * string/test-strnlen.c (TEST_NAME): Likewise.
29244 * string/test-strpbrk.c (TEST_NAME): Likewise.
29245 * string/test-strrchr.c (TEST_NAME): Likewise.
29246 * string/test-strspn.c (TEST_NAME): Likewise.
29247 * string/test-strstr.c (TEST_NAME): Likewise.
29248 * string/test-bcopy-ifunc.c: New file.
29249 * string/test-bzero-ifunc.c: Likewise.
29250 * string/test-memccpy-ifunc.c: Likewise.
29251 * string/test-memchr-ifunc.c: Likewise.
29252 * string/test-memcmp-ifunc.c: Likewise.
29253 * string/test-memcpy-ifunc.c: Likewise.
29254 * string/test-memmem-ifunc.c: Likewise.
29255 * string/test-memmove-ifunc.c: Likewise.
29256 * string/test-mempcpy-ifunc.c: Likewise.
29257 * string/test-memset-ifunc.c: Likewise.
29258 * string/test-rawmemchr-ifunc.c: Likewise.
29259 * string/test-stpcpy-ifunc.c: Likewise.
29260 * string/test-stpncpy-ifunc.c: Likewise.
29261 * string/test-strcasecmp-ifunc.c: Likewise.
29262 * string/test-strcasestr-ifunc.c: Likewise.
29263 * string/test-strcat-ifunc.c: Likewise.
29264 * string/test-strchr-ifunc.c: Likewise.
29265 * string/test-strchrnul-ifunc.c: Likewise.
29266 * string/test-strcmp-ifunc.c: Likewise.
29267 * string/test-strcpy-ifunc.c: Likewise.
29268 * string/test-strcspn-ifunc.c: Likewise.
29269 * string/test-strlen-ifunc.c: Likewise.
29270 * string/test-strncasecmp-ifunc.c: Likewise.
29271 * string/test-strncat-ifunc.c: Likewise.
29272 * string/test-strncmp-ifunc.c: Likewise.
29273 * string/test-strncpy-ifunc.c: Likewise.
29274 * string/test-strnlen-ifunc.c: Likewise.
29275 * string/test-strpbrk-ifunc.c: Likewise.
29276 * string/test-strrchr-ifunc.c: Likewise.
29277 * string/test-strspn-ifunc.c: Likewise.
29278 * string/test-strstr-ifunc.c: Likewise.
29280 * debug/Makefile (tests-ifunc): New variable.
29281 (tests): Add $(tests-ifunc).
29282 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29283 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29284 * debug/test-stpcpy_chk-ifunc.c: New file.
29285 * debug/test-strcpy_chk-ifunc.c: Likewise.
29287 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29290 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29291 header is not read in.
29293 2012-10-19 Joseph Myers <joseph@codesourcery.com>
29295 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29296 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29297 directly. Pass built executable to script as
29298 $(built-program-cmd).
29299 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29300 $testprogram without using LD_LIBRARY_PATH and $ldso.
29302 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29303 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29304 $(rtld-installed-name).
29305 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29306 (rtld_installed_name): Likewise.
29307 (library_path): Likewise.
29308 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29309 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29310 $(run-program-prefix) to tst-tables.sh.
29311 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29312 it to run tst-table-from and tst-table-to.
29313 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29314 Pass it to tst-table.sh.
29315 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29316 $(run-program-prefix) to tst-gettext.sh.
29317 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29319 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29321 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29322 to run tst-gettext.
29323 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29324 to run tst-gettext2.
29325 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29326 to run tst-translit.
29327 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29328 $(run-program-prefix) to tst-mtrace.sh.
29329 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29331 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29332 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29333 $(rtld-installed-name).
29334 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29335 (rtld_installed_name): Likewise.
29336 (run_program_prefix): New variable. Use it to run wordexp-test.
29338 * Makeconfig (ARCH): Remove all definitions.
29339 (machine): Likewise.
29340 [ARCH]: Remove conditional code.
29341 [!objdir]: Give error.
29342 [!objdir] (objpfx): Remove.
29343 [!objdir] (common-objpfx): Likewise.
29344 [!objdir] (common-objdir): Likewise.
29345 * configure.in (config_makefile): Remove. Hardcode Makefile in
29346 AC_CONFIG_FILES call.
29347 * configure: Regenerated.
29350 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29352 (testout): Likewise.
29354 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29355 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29356 $(rtld-installed-name).
29357 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29358 (rtld_installed_name): Likwise.
29359 (runit): Remove function.
29360 (run_getconf): New variable, Use it for running getconf binary.
29362 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29365 * string/test-memmem.c (check_result): New function.
29366 (do_one_test): Use it.
29367 (check1): New function.
29368 (test_main): Use it.
29370 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29372 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29374 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29376 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29377 (_G_LSEEK64): Likewise.
29378 (_G_MMAP64): Likewise.
29379 (_G_FSTAT64): Likewise.
29380 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29381 (_G_LSEEK64): Likewise.
29382 (_G_MMAP64): Likewise.
29383 (_G_FSTAT64): Likewise.
29384 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29385 unconditional. Call __mmap64 directly.
29386 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29387 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29388 __lseek64 directly.
29389 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29390 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29392 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29393 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29394 __lseek64 directly.
29395 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29396 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29397 __lseek64 directly.
29398 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29399 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29400 __lseek64 directly.
29401 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29402 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29403 __fxstat64 directly.
29404 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29405 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29407 (freopen64) [!_G_OPEN64]: Remove conditional code.
29408 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29410 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29411 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29413 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29414 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29416 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29417 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29419 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29420 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29422 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29423 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29425 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29426 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29428 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29430 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29433 * manual/memory.texi (Malloc Tunable Parameters): Add note
29434 about free list pointers overwriting some perturb bytes.
29435 Wording suggested by Roland McGrath.
29437 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29439 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29440 (lgamma_test): Likewise.
29441 (tgamma_test): Likewise.
29443 2012-10-16 Florian Weimer <fweimer@redhat.com>
29446 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29447 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29449 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29451 * NEWS: Mention BZ #14716.
29452 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29453 when removing AVAILABLE1_USES_J macro.
29455 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29457 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29458 (__bswap_64): __uint64_t for unsigned 64-bit int.
29460 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29462 * include/string.h (memmem): Declare libc hidden alias.
29463 * string/memmem.c (memmem): Define libc hidden alias.
29464 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29465 __read, __close instead of open, read, close.
29467 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29470 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29472 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29473 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29474 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29476 (__rawmemchr_sse2): Likewise.
29477 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29478 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29479 (__strchr_sse2): Likewise.
29480 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29481 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29482 (__strcasecmp_sse2): Likewise.
29483 (__strncasecmp_sse2): Likewise.
29484 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29485 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29486 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29487 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29488 (__strrchr_sse2): Likewise.
29489 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29491 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29492 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29493 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29494 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29495 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29496 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29497 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29498 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29499 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29500 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29501 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29502 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29503 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29504 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29505 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29506 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29507 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29508 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29509 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29510 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29511 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29512 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29513 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29514 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29515 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29516 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29517 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29518 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29519 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29520 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29522 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29524 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29525 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29526 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29527 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29529 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29531 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29532 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29533 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29534 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29536 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29537 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29538 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29539 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29540 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29541 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29542 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29543 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29544 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29545 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29546 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29547 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29548 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29549 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29550 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29551 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29552 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29553 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29554 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29555 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29556 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29557 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29558 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29559 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29560 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29561 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29562 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29563 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29564 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29565 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29566 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29567 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29568 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29569 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29570 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29571 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29573 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29575 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29576 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29578 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29579 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29580 * include/ifunc-impl-list.h: New file.
29581 * misc/ifunc-impl-list.c: Likewise.
29582 * misc/Makefile (routines): Add ifunc-impl-list.
29583 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29584 * string/test-string.h: Include <ifunc-impl-list.h>.
29585 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29586 TEST_NAME]: New variables.
29587 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29589 (test_init): Call __libc_ifunc_impl_list to initialize
29590 func_list if TEST_IFUNC and TEST_NAME are defined.
29592 * string/Makefile (strop-tests): Add bcopy and bzero.
29593 * string/test-bcopy.c: New file.
29594 * string/test-bzero.c: Likewise.
29595 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29597 * string/test-memset.c: Support bzero test if TEST_BZERO is
29599 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29601 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29603 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29606 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29608 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29609 * configure: Regenerated.
29611 * Makeconfig (+link-static-before-libc): Don't include
29612 $(link-static-libc).
29614 * libio/libio.h (_IO_pos_t): Remove.
29616 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29618 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29621 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29623 * crypt/crypt-entry.c: Include fips-private.h.
29624 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29625 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29626 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29627 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29629 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29631 * crypt/crypt-private.h: Include stdbool.h.
29632 (_ufc_setup_salt_r): Return bool.
29633 * crypt/crypt-entry.c: Include errno.h.
29634 (__crypt_r): Return NULL with EINVAL for bad salt.
29635 * crypt/crypt_util.c (bad_for_salt): New.
29636 (_ufc_setup_salt_r): Check that salt is long enough and within
29637 the specified alphabet.
29638 * crypt/badsalttest.c: New file.
29639 * crypt/Makefile (tests): Add it.
29640 ($(objpfx)badsalttest): New.
29642 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29644 * NEWS: Add entry for BZ #14602.
29646 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29648 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29650 * math/libm-test.inc: Update comment listing what functions and
29652 (isgreater_test): New function.
29653 (isgreaterequal_test): Likewise.
29654 (isless_test): Likewise.
29655 (islessequal_test): Likewise.
29656 (islessgreater_test): Likewise.
29657 (isunordered_test): Likewise.
29658 (main): Call the new functions.
29660 2012-10-09 Roland McGrath <roland@hack.frob.com>
29662 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29663 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29664 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29665 * sysdeps/i386/configure: Regenerated.
29666 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29667 * sysdeps/mach/configure: Regenerated.
29668 * sysdeps/mach/hurd/configure: Regenerated.
29669 * sysdeps/powerpc/configure: Regenerated.
29670 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29671 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29672 * sysdeps/s390/s390-32/configure: Regenerated.
29673 * sysdeps/s390/s390-64/configure: Regenerated.
29674 * sysdeps/sh/configure: Regenerated.
29675 * sysdeps/sparc/configure: Regenerated.
29676 * sysdeps/unix/sysv/linux/configure: Regenerated.
29677 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29678 * sysdeps/x86_64/configure: Regenerated.
29680 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29681 defined. Don't check if MAP is NULL.
29683 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29685 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29686 (_G_stat64): Likewise.
29687 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29688 (_G_stat64): Likewise.
29689 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29690 instead of struct _G_stat64.
29691 * libio/fileops.c (mmap_remap_check): Likewise.
29692 (decide_maybe_mmap): Likewise.
29693 (_IO_new_file_seekoff): Likewise.
29694 (_IO_file_stat): Likewise.
29695 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29697 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29698 instead of struct _G_stat64.
29699 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29701 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29704 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29706 (CHECK_EOL): New macro.
29707 (two_way_short_needle): Check beginning of haystack for EOL. Use
29709 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29710 Replace with CHECK_EOL.
29711 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29712 Replace with CHECK_EOL.
29714 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29716 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29718 * math/libm-test.inc: Update comment listing what functions and
29720 (finite_test): New function.
29721 (isinf_test): Likewise.
29722 (isnan_test): Likewise.
29723 (fpclassify_test): Test subnormal input.
29724 (isfinite_test): Likewise.
29725 (isnormal_test): Likewise.
29726 (main): Call the new functions.
29728 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29731 * Makerules (%.dynsym): Force C locale when running
29732 $(OBJDUMP) --dynamic-syms.
29734 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29736 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29739 2012-10-06 David S. Miller <davem@davemloft.net>
29741 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29742 upper 32-bits of the length value in %o2 since we use branch-on-register
29743 tests which consider the entire 64-bit register.
29745 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29747 * string/test-strstr.c (check2): Add a test for page boundary.
29749 2012-10-05 David S. Miller <davem@davemloft.net>
29751 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29752 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29754 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29756 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29757 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29758 and bzero when HWCAP_SPARC_CRYPTO is present.
29760 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29763 * string/test-strstr.c (check2): New function.
29764 (test_main): Call check2.
29766 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29768 * string/bug-strcasestr1.c (do_test): Moved to ...
29769 * string/test-strcasestr.c (check1): Here. New function.
29770 (do_one_test): Break out result checking code into ...
29771 (check_result): This. New function.
29772 (do_one_test): Call check_result.
29773 (test_main): Call check1.
29774 * string/bug-strchr1.c (do_test): Moved to ...
29775 * string/test-strchr.c (check1): Here. New function.
29776 (do_one_test): Break out result checking code into ...
29777 (check_result): This. New function.
29778 (do_one_test): Call check_result.
29779 (test_main): Call check1.
29780 * string/bug-strstr1.c (main): Moved to ...
29781 * string/test-strstr.c (check1): Here. New function.
29782 (do_one_test): Break out result checking code into ...
29783 (check_result): This. New function.
29784 (do_one_test): Call check_result.
29785 (test_main): Call check1.
29786 * string/bug-strcasestr1.c: Removed.
29787 * string/bug-strchr1.c: Likewise.
29788 * string/bug-strstr1.c: Likewise.
29790 * elf/Makefile (dl-routines): Add hwcaps.
29791 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29792 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29793 (_dl_important_hwcaps): Moved to ...
29794 * elf/dl-hwcaps.c: Here. New file.
29795 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29798 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29799 if IS_IN_rtld isn't defined.
29801 * elf/dl-support.c (_dl_sysinfo_map): New.
29802 Include "get-dynamic-info.h" and "setup-vdso.h".
29803 (_dl_non_dynamic_init): Call setup_vdso.
29804 * elf/dynamic-link.h: Don't include <assert.h>.
29805 (elf_get_dynamic_info): Moved to ...
29806 * elf/get-dynamic-info.h: Here. New file.
29807 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29808 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29809 * elf/setup-vdso.h: Here. New file.
29810 * elf/rtld.c: Include "setup-vdso.h".
29811 (dl_main): Call setup_vdso.
29813 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29815 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29816 creal in comment listing functions tested. List finite, isinf,
29817 isnan, isless, islessequal, isgreater, isgreaterequal,
29818 islessgreater, isunordered, lgamma_r and pow10 as functions and
29819 macros not tested. Mention which functions not tested are aliases
29820 for other functions. Fix typo. Note that signs of NaNs are not
29823 * scripts/config.guess: Update from config.git.
29824 * scripts/config.sub: Likewise.
29826 2012-10-04 Roland McGrath <roland@hack.frob.com>
29828 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29829 * misc/madvise.c (madvise): Renamed to __madvise.
29830 Make madvise a weak alias.
29831 * include/sys/mman.h: Declare __madvise.
29832 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29833 * sysdeps/unix/syscalls.list
29834 (madvise): Make __madvise the strong name, and madvise a weak alias.
29835 * sysdeps/unix/sysv/linux/syscalls.list
29836 (madvise, mmap): Remove redundant entries.
29837 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29838 * malloc/malloc.c (mtrim): Likewise.
29839 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29841 2012-10-03 Roland McGrath <roland@hack.frob.com>
29843 * sysdeps/mach/hurd/dl-cache.c: File removed.
29844 * config.h.in (USE_LDCONFIG): New #undef.
29845 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29846 * configure: Regenerated.
29847 * elf/Makefile (dl-routines): Add dl-cache only under
29848 [$(use-ldconfig) = yes].
29849 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29850 cache on [USE_LDCONFIG].
29851 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29853 * elf/rtld.c (dl_main): Likewise.
29855 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29857 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29858 _SC_LEVEL4_CACHE_LINESIZE.
29860 2012-10-03 Roland McGrath <roland@hack.frob.com>
29862 * sysdeps/unix/bsd/confstr.h: File removed.
29864 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29866 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29869 2012-10-02 Roland McGrath <roland@hack.frob.com>
29871 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29872 Make 'mapoff' field ElfW(Off) rather than off_t.
29874 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29876 * nscd/Makefile: Remove nscd-cflags and all its users.
29877 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29878 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29881 * malloc.c (malloc_printerr): Clarify error message.
29883 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29887 Set bit_FMA_Usable if FMA is supported.
29888 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29890 (bit_FMA4_Usable): Updated.
29891 (index_FMA_Usable): New macro.
29892 (CPUID_FMA): Likewise
29893 (HAS_FMA): Defined with bit_FMA_Usable.
29895 2012-10-01 Roland McGrath <roland@hack.frob.com>
29897 * bits/types.h (__swblk_t): Type removed.
29898 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29899 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29901 (__SWBLK_T_TYPE): Likewise.
29902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29903 (__SWBLK_T_TYPE): Likewise.
29904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29905 (__SWBLK_T_TYPE): Likewise.
29906 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29907 (__SWBLK_T_TYPE): Likewise.
29909 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29910 Honza Horak <hhorak@redhat.com>
29912 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29913 (xdr_mapname): Use YPMAXMAP as maxsize.
29914 (xdr_peername): Use YPMAXPEER as maxsize.
29915 (xdr_keydat): Use YPAXRECORD as maxsize.
29916 (xdr_valdat): Use YPMAXRECORD as maxsize.
29918 2012-10-01 Roland McGrath <roland@hack.frob.com>
29920 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29922 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29923 * csu/init-first.c: ... here.
29924 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29925 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29926 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29928 * sysdeps/i386/init-first.c: File removed.
29929 * sysdeps/sh/init-first.c: File removed.
29931 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29935 if x * y might underflow to zero and z is zero.
29936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29937 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29938 * math/libm-test.inc (min_subnorm_value): New variable.
29939 (fma_test): Add more tests.
29940 (fma_test_towardzero): Likewise.
29941 (fma_test_downward): Likewise
29942 (fma_test_upward): Likewise.
29943 (initialize): Set min_subnorm_value.
29945 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29950 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29951 mode for addition resulting in exact zero.
29952 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29955 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29957 * math/libm-test.inc (fma_test): Add more tests.
29958 (fma_test_towardzero): New function.
29959 (fma_test_downward): Likewise.
29960 (fma_test_upward): Likewise.
29961 (main): Call the new functions.
29963 2012-09-28 David S. Miller <davem@davemloft.net>
29965 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29967 2012-09-28 Roland McGrath <roland@hack.frob.com>
29969 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29970 instead of SIGALRM.
29972 * sysdeps/gnu/_G_config.h: Moved to ...
29973 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29974 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29975 * sysdeps/generic/_G_config.h: ... here.
29977 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29979 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29981 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29982 Conditionalize target on [libnss_test1.so-version].
29984 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29986 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29987 (elfobjdir): Move out of conditionals.
29989 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29990 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29991 (__nss_lookup_function): Conditionalize label remove_from_tree on
29992 [!DO_STATIC_NSS || SHARED], matching its only use.
29994 2012-09-28 David S. Miller <davem@davemloft.net>
29996 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29997 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29999 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30001 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30003 when HWCAP_SPARC_CRYPTO is present.
30005 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30007 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30009 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30012 * stdio-common/vfprintf.c (process_string_arg): Revert
30015 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30017 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30019 * stdio-common/tst-sprintf.c: Include <locale.h>
30020 (main): Test sprintf's handling of incomplete multibyte
30023 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30025 * elf/dl-runtime.c (VERSYMIDX): Removed.
30026 * elf/dl-version.c (VERSYMIDX): Likewise.
30027 * elf/do-rel.h (VERSYMIDX): Likewise.
30028 (VALIDX): Likewise.
30029 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30030 * elf/rtld.c (VALIDX): Likewise.
30031 (ADDRIDX): Likewise.
30032 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30033 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30034 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30035 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30036 (VALIDX): Likewise.
30037 (ADDRIDX): Likewise.
30039 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30041 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30043 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30046 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30048 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30049 addresses are in the same scope as 192.0.2/24.
30050 * posix/gai.conf: Document new scope table defaults.
30052 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30055 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30056 for ftell. Compute offsets from write pointers instead.
30057 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30059 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30062 * libio/Makefile (tests): New test case tst-fseek.
30063 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30064 combination works in wide mode.
30065 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30066 state when the external buffer state changes.
30068 2012-09-27 David S. Miller <davem@davemloft.net>
30071 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30072 pass reloc->r_addend in as the 'high' argument to
30073 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30077 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30079 * rt/tst-aio2.c: Include <pthread.h>.
30080 * rt/tst-aio3.c: Likewise.
30082 2012-09-27 Steve Ellcey <sellcey@mips.com>
30084 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30086 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30088 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30089 contents on [SHARED].
30091 2012-09-26 Marek Polacek <polacek@redhat.com>
30095 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30096 for C++ and GCC <4.3 as well as for non GCC compilers.
30098 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30102 2012-09-25 Roland McGrath <roland@hack.frob.com>
30104 * Makefile.in (all, install): Declare with .PHONY.
30105 Reported by Michael Hope <michael.hope@linaro.org>.
30107 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30109 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30110 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30112 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30114 (sydep_routines): Add the new and the internal functions.
30115 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30116 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30118 (GLIBC_2.17): Add the new function.
30119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30120 (GLIBC_2.17): Likewise.
30121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30122 (GLIBC_2.17): Likewise.
30123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30124 (GLIBC_2.17): Likewise.
30125 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30127 2012-09-25 Alan Modra <amodra@gmail.com>
30129 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30130 Add release barrier before setting once_control to say
30131 initialisation is done. Add hints on lwarx. Use macro in
30133 (clear_once_control): Add release barrier.
30135 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30138 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30140 * math/s_clog10.c (__clog10): Likewise.
30141 * math/s_clog10f.c (__clog10f): Likewise.
30142 * math/s_clog10l.c (__clog10l): Likewise.
30143 * math/s_clogf.c (__clogf): Likewise.
30144 * math/s_clogl.c (__clogl): Likewise.
30145 * math/Makefile (libm-calls): Add x2y2m1.
30146 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30147 (__x2y2m1): Likewise.
30148 (__x2y2m1l): Likewise.
30149 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30150 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30151 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30152 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30153 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30154 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30155 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30156 * sysdeps/i386/fpu/libm-test-ulps: Update.
30157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30160 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30161 int as type of variable DEPTH.
30162 (glob): Use size_t instead of int as type of variables NEWCOUNT
30165 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30167 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30168 Add s_sincosf-sse2.
30169 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30170 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30171 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30172 macros for using routine as __sincosf_ia32.
30173 Use macro for function declaration and weak_alias.
30174 * sysdeps/i386/fpu/libm-test-ulps: Update.
30176 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30179 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30180 subnormal argument.
30181 * math/s_cexpf.c (__cexpf): Likewise.
30182 * math/s_csinf.c (__csinf): Likewise.
30183 * math/s_csinhf.c (__csinhf): Likewise.
30184 * math/s_ctanf.c (__ctanf): Likewise.
30185 * math/s_ctanhf.c (__ctanhf): Likewise.
30186 * math/s_ccosh.c (__ccoshf): Likewise.
30187 * math/s_cexp.c (__cexpl): Likewise.
30188 * math/s_csin.c (__csin): Likewise.
30189 * math/s_csinh.c (__csinh): Likewise.
30190 * math/s_ctan.c (__ctan): Likewise.
30191 * math/s_ctanh.c (ctanh): Likewise.
30192 * math/s_ccoshl.c (__ccoshl): Likewise.
30193 * math/s_cexpl.c (__cexpl): Likewise.
30194 * math/s_csinl.c (__csinl): Likewise.
30195 * math/s_csinhl.c (__csinhl): Likewise.
30196 * math/s_ctanl.c (__ctanl): Likewise.
30197 * math/s_ctanhl.c (__ctanhl): Likewise.
30199 2012-09-25 Joseph Myers <joseph@codesourcery.com>
30201 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30202 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30203 (_IO_off_t): Define to __off_t, not _G_off_t.
30204 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30205 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30206 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30207 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30208 type of __dummy and __dummy2 fields.
30209 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30210 (_G_ssize_t): Likewise.
30211 (_G_off_t): Likewise.
30212 (_G_pid_t): Likewise.
30213 (_G_uid_t): Likewise.
30214 (_G_wchar_t): Likewise.
30215 (_G_wint_t): Likewise.
30216 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30217 (_G_ssize_t): Likewise.
30218 (_G_off_t): Likewise.
30219 (_G_pid_t): Likewise.
30220 (_G_uid_t): Likewise.
30221 (_G_wchar_t): Likewise.
30222 (_G_wint_t): Likewise.
30223 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30224 (_G_ssize_t): Likewise.
30225 (_G_off_t): Likewise.
30226 (_G_pid_t): Likewise.
30227 (_G_uid_t): Likewise.
30228 (_G_wchar_t): Likewise.
30229 (_G_wint_t): Likewise.
30231 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30233 * malloc/arena.c: Include malloc-sysdep.h.
30234 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30235 is sufficient to shrink the heap or an unmap is needed.
30236 * sysdeps/generic/malloc-sysdep.h: New file. Define
30237 new function check_may_shrink_heap.
30238 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30239 new function check_may_shrink_heap.
30241 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30243 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30246 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30248 * catgets/test-gencat.sh: Add "set -e".
30249 * elf/tst-pathopt.sh: Likewise.
30250 * grp/tst_fgetgrent.sh: Likewise.
30251 * iconvdata/run-iconv-test.sh: Likewise.
30252 * intl/tst-gettext.sh: Likewise.
30253 * intl/tst-gettext2.sh: Likewise.
30254 * intl/tst-gettext4.sh: Likewise.
30255 * intl/tst-gettext6.sh: Likewise.
30256 * intl/tst-translit.sh: Likewise.
30257 * io/ftwtest-sh: Likewise.
30258 * libio/test-freopen.sh: Likewise.
30259 * malloc/tst-mtrace.sh: Likewise.
30260 * posix/globtest.sh: Likewise.
30261 * posix/tst-getconf.sh: Likewise.
30262 * posix/wordexp-tst.sh: Likewise.
30263 * stdio-common/tst-printf.sh: Likewise.
30264 * stdio-common/tst-unbputc.sh: Likewise.
30265 * stdlib/tst-fmtmsg.sh: Likewise.
30266 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30267 * catgets/Makefile: Do not specify -e option when running
30268 testsuite shell scripts.
30269 * elf/Makefile: Likewise.
30270 * grp/Makefile: Likewise.
30271 * iconvdata/Makefile: Likewise.
30272 * intl/Makefile: Likewise.
30273 * io/Makefile: Likewise.
30274 * libio/Makefile: Likewise.
30275 * malloc/Makefile: Likewise.
30276 * posix/Makefile: Likewise.
30277 * stdio-common/Makefile: Likewise.
30278 * stdlib/Makefile: Likewise.
30279 * sysdeps/x86_64/Makefile: Likewise.
30281 * io/ftwtest-sh: Add copyright header.
30282 * posix/globtest.sh: Likewise.
30283 * posix/tst-getconf.sh: Likewise.
30284 * posix/wordexp-tst.sh: Likewise.
30285 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30287 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30290 * Makeconfig (+link): Defined as $(+link-static) if
30291 $(build-shared) isn't yes.
30292 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30294 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30296 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30299 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30300 new chunk size with MALLOC_ALIGN_MASK.
30302 2012-09-24 Joseph Myers <joseph@codesourcery.com>
30305 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30307 (__printf_fphex): Determine rounding using get_rounding_mode and
30309 * stdio-common/tst-printf-round.c (struct hex_test): New
30311 (hex_tests): New variable.
30312 (test_hex_in_one_mode): New function.
30313 (do_test): Also run tests for hex float output.
30315 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30317 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30318 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30319 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30320 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30321 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30322 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30323 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30324 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30326 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30328 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30329 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30330 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30331 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30333 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30336 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30338 * elf/tst-rtld-load-self.sh: New test.
30339 * elf/Makefile: Run it.
30341 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30343 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30344 (tst-writev-ENV): Remove.
30345 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30347 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30349 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30351 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30353 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30355 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30357 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30358 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30359 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30362 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30365 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30366 * config.make.in (have-cpp-asm-debuginfo): Removed.
30367 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30368 * configure: Regenerated.
30370 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30373 * stdio-common/printf_fp.c: Include <stdbool.h> and
30375 (___printf_fp): Determine rounding using get_rounding_mode and
30377 * stdio-common/tst-printf-round.c: New file.
30378 * stdio-common/Makefile (tests): Add tst-printf-round.
30379 (link-libm): New variable.
30380 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30382 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30385 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30386 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30388 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30391 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30393 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30394 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30395 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30396 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30398 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30401 * include/rounding-mode.h: New file.
30402 * sysdeps/generic/get-rounding-mode.h: Likewise.
30403 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30404 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30405 (MAX_VALUE): New macro.
30406 (MIN_VALUE): Likewise.
30407 (overflow_value): New function.
30408 (underflow_value): Likewise.
30409 (round_and_return): Use overflow_value and underflow_value to
30410 determine return values in overflow and underflow cases. Use
30411 round_away to determine rounding depending on rounding mode.
30412 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30413 determine return values in overflow and underflow cases.
30414 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30415 (struct test_results): New structure.
30416 (struct test): Use struct test_results to store expected results
30417 for all rounding modes.
30418 (TEST): Include expected results for all rounding modes.
30419 (test_in_one_mode): New function.
30420 (do_test): Use test_in_one_mode to compute and check results.
30421 Check results for all rounding modes.
30422 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30425 2012-12-09 Allan McRae <allan@archlinux.org>
30427 * sysdeps/i386/fpu/libm-test-ulps: Update
30429 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30431 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30432 (_G_int32_t): Likewise.
30433 (_G_uint16_t): Likewise.
30434 (_G_uint32_t): Likewise.
30435 (_G_HAVE_BOOL): Likewise.
30436 (_G_HAVE_ATEXIT): Likewise.
30437 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30438 (_G_HAVE_IO_FILE_OPEN): Likewise.
30439 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30440 (_G_int32_t): Likewise.
30441 (_G_uint16_t): Likewise.
30442 (_G_uint32_t): Likewise.
30443 (_G_HAVE_BOOL): Likewise.
30444 (_G_HAVE_ATEXIT): Likewise.
30445 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30446 (_G_HAVE_IO_FILE_OPEN): Likewise.
30447 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30448 (_G_int32_t): Likewise.
30449 (_G_uint16_t): Likewise.
30450 (_G_uint32_t): Likewise.
30451 (_G_HAVE_BOOL): Likewise.
30452 (_G_HAVE_ATEXIT): Likewise.
30453 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30454 (_G_HAVE_IO_FILE_OPEN): Likewise.
30456 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30458 * csu/libc-tls.c: Update copyright years.
30460 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30462 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30463 [!_G_USING_THUNKS]: Remove conditional code.
30464 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30465 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30467 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30468 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30469 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30470 (_G_VTABLE_LABEL_PREFIX): Likewise.
30471 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30472 * sysdeps/gnu/_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.
30476 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30477 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30478 (_G_VTABLE_LABEL_PREFIX): Likewise.
30479 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30481 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30483 * libio/Makefile: Include ../Makeconfig before tests.
30484 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30485 only if $(build-shared) is yes.
30487 * iconv/gconv_db.c: Update copyright years.
30489 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30491 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30492 unwind info if defined PIC. Fix special cases description.
30493 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30495 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30497 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30499 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30501 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30503 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30506 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30507 (LDLIBS-tst-chk4): This.
30508 (LDFLAGS-tst-chk5): Renamed to ...
30509 (LDLIBS-tst-chk5): This.
30510 (LDFLAGS-tst-chk6): Renamed to ...
30511 (LDLIBS-tst-chk6): This.
30512 (LDFLAGS-tst-lfschk4): Renamed to ...
30513 (LDLIBS-tst-lfschk4): This.
30514 (LDFLAGS-tst-lfschk5): Renamed to ...
30515 (LDLIBS-tst-lfschk5): This.
30516 (LDFLAGS-tst-lfschk6): Renamed to ...
30517 (LDLIBS-tst-lfschk6): This.
30519 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30520 on $(common-objpfx)soversions.mk.
30522 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30525 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30528 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30530 * malloc/arena.c (arena_get_retry): New function that gets
30531 another arena for the caller to try its request on.
30532 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30533 current arena cannot fulfill the request.
30534 (__libc_memalign): Likewise.
30535 (__libc_memalign): Likewise.
30536 (__libc_pvalloc): Likewise.
30537 (__libc_calloc): Likewise.
30539 2012-09-05 John Tobey <john.tobey@gmail.com>
30542 * manual/arith.texi (Operations on Complex): Fix description
30543 of carg branch cut.
30545 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30548 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30552 * manual/memory.texi (Memory): Make order of menu items match
30555 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30557 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30558 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30559 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30561 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30563 * csu/libc-tls.c (static_dtv): Renamed to ...
30564 (_dl_static_dtv): This. Make it global.
30565 (_dl_initial_dtv): Removed.
30566 (__libc_setup_tls): Updated.
30567 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30568 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30571 2012-09-06 Petr Machata <pmachata@redhat.com>
30573 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30574 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30575 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30576 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30578 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30581 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30582 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30585 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30588 * Makeconfig (link-static-before-libc): Replace $(+prector)
30590 (link-static-after-libc): Replace $(+postctor) with
30592 (link-bounded): Replace $(+prector)/$(+postctor) with
30593 $(+prectorT)/$(+postctorT).
30594 (+prectorT): New macro.
30595 (+postctorT): Likewise.
30597 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30599 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30600 (round_str): Handle values above the maximum for IBM long double
30602 * stdlib/tst-strtod-round.c (tests): Regenerated.
30604 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30606 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30608 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30609 zarch_nohighgprs around the zarch optimized routines.
30610 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30611 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30612 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30615 2012-09-05 David S. Miller <davem@davemloft.net>
30617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30619 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30620 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30621 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30622 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30625 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30627 * malloc/arena.c: Fold copyright years.
30628 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30630 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30632 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30634 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30636 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30638 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30640 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30641 change internal state upon failure.
30643 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30645 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30646 * malloc/memusage.c (mmap): Likewise.
30647 (mmap64, mremap): Likewise. Adjust name in comment.
30649 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30651 * libio/fileops.c: Fix typos in comments.
30652 * libio/oldfileops.c: Likewise.
30653 * libio/wfileops.c: Likewise.
30655 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30658 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30659 (tst-malloc-usable-ENV): Set environment for test case.
30660 * malloc/hooks.c (malloc_check_get_size): New function to get
30662 * malloc/malloc.c (musable): Use malloc_check_get_size.
30663 * malloc/tst-malloc-usable.c: New test case.
30665 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30667 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30669 2012-09-05 Allan McRae <allan@archlinux.org>
30672 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30673 determine header location.
30674 * configure: Regenerated.
30676 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30678 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30680 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30681 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30683 (test): Regenerate.
30685 2012-09-04 David S. Miller <davem@davemloft.net>
30687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30689 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30691 2012-09-04 Florian Weimer <fweimer@redhat.com>
30693 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30696 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30698 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30701 * libio/iogetdelim.c: Include <limits.h>.
30702 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30703 + len + 1 would overflow.
30705 2012-09-03 Andreas Jaeger <aj@suse.de>
30707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30708 * sysdeps/i386/fpu/libm-test-ulps: Update.
30710 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30712 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30713 Add s_sinf-sse2, s_conf-sse2.
30715 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30716 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30717 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30718 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30720 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30721 for using routine as __sinf_ia32.
30722 Use macro for function declaration and weak_alias.
30723 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30724 for using routine as __cosf_ia32.
30725 Use macro for function declaration and weak_alias.
30727 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30728 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30730 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30731 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30734 * math/libm-test.inc (cos_test): Add more test cases.
30735 (sin_test): Likewise.
30736 (sincos_test): Likewise.
30738 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30740 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30741 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30743 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30745 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30748 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30749 first element of the GOT.
30750 (elf_machine_load_address): Return the difference between
30751 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30753 2012-09-01 Allan McRae <allan@archlinux.org>
30756 * configure.in (AWK): Require gawk version 3.0 or later.
30757 * configure: Regenerated.
30759 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30761 * sysdeps/unix/sysv/linux/kernel-features.h
30762 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30763 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30764 [__NR_clock_getres]: Make code unconditional.
30765 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30766 (clock_getcpuclockid): Remove code left unreachable by removal of
30768 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30769 code unconditional.
30770 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30771 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30772 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30773 Make code unconditional.
30774 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30775 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30776 * sysdeps/unix/sysv/linux/clock_settime.c
30777 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30779 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30780 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30782 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30785 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30786 scripts/test-installation.pl.
30788 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30789 and $ld_so_version if it is set.
30791 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30794 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30795 failure if reading from procfs failed.
30796 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30798 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30800 * sysdeps/unix/sysv/linux/kernel-features.h
30801 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30802 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30803 Remove conditional code.
30804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30805 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30806 Remove conditional code.
30807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30808 * sysdeps/unix/sysv/linux/i386/fxstat.c
30809 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30811 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30812 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30814 * sysdeps/unix/sysv/linux/i386/lxstat.c
30815 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30817 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30818 Remove conditional code.
30819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30820 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30821 Remove conditional code.
30822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30823 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30824 <kernel-features.h>.
30825 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30827 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30828 Remove conditional code.
30829 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30830 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30831 Remove conditional.
30833 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30836 * NEWS: Add fixed bug number.
30838 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30841 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30842 underflowing exponent in case of negative sign.
30843 * stdlib/tst-strtod-round-data: Add more tests.
30844 * stdlib/tst-strtod-round.c (tests): Regenerated.
30847 * stdlib/strtod_l.c (NDIG): Remove.
30848 (HEXNDIG): Likewise.
30849 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30850 smallest representable value.
30851 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30852 lie within an exact representation of 1/2 ulp of the result.
30853 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30855 (TENS_P9_IDX): Define unconditionally.
30856 (TENS_P9_SIZE): Likewise.
30857 (TENS_P10_IDX): Likewise.
30858 (TENS_P10_SIZE): Likewise.
30859 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30860 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30861 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30862 entries for 10^2^13 and 10^2^14.
30863 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30864 (TENS_P13_IDX): Define.
30865 (TENS_P13_SIZE): Likewise.
30866 (TENS_P14_IDX): Likewise.
30867 (TENS_P14_SIZE): Likewise.
30868 (_fpioconst_pow10): Change array size to
30869 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30871 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30872 1024]: Add entries for 10^2^13 and 10^2^14.
30873 [LAST_POW10 > _LAST_POW10]: Remove #error.
30874 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30875 (_fpioconst_pow10): Change array size to
30876 FPIOCONST_POW10_ARRAY_SIZE.
30877 * stdlib/gen-fpioconst.c: New file.
30878 * stdlib/gen-tst-strtod-round.c: Likewise.
30879 * stdlib/tst-strtod-round-data: Likewise.
30880 * stdlib/tst-strtod-round.c: Likewise.
30881 * stdlib/Makefile (tests): Add tst-strtod-round.
30884 * stdlib/strtod_l.c: Include <stdint.h>.
30885 (NDEBUG): Do not define.
30886 (round_and_return): Change EXPONENT parameter to type intmax_t.
30887 Rearrange calculations to avoid internal overflow possibilities.
30888 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30889 Rearrange calculations to avoid internal overflow possibilities.
30890 Assert that number fits inside MPNSIZE limbs.
30891 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30892 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30893 calculations and add assertions to avoid internal overflow
30894 possibilities. Add casts to avoid signed/unsigned operations.
30895 * stdlib/tst-strtod-overflow.c: New file.
30896 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30898 2012-08-25 Marek Polacek <polacek@redhat.com>
30900 * time/time.h: Fix some typos in comments.
30902 2012-08-23 Roland McGrath <roland@hack.frob.com>
30904 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30905 * posix/tst-rfc3484-2.c: Likewise.
30906 * posix/tst-rfc3484-3.c: Likewise.
30908 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30910 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30911 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30913 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30915 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30916 #include of fxstatat64.c.
30918 2012-08-22 Roland McGrath <roland@hack.frob.com>
30920 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30921 * shadow/getspent_r.c: Likewise.
30922 * shadow/getspnam.c: Likewise.
30923 * shadow/getspnam_r.c: Likewise.
30924 * gshadow/getsgent.c: Likewise.
30925 * gshadow/getsgent_r.c: Likewise.
30926 * gshadow/getsgnam.c: Likewise.
30927 * gshadow/getsgnam_r.c: Likewise.
30928 * inet/getnetbyad.c: Likewise.
30929 * inet/getnetbyad_r.c: Likewise.
30930 * inet/getnetbynm.c: Likewise.
30931 * inet/getnetbynm_r.c: Likewise.
30932 * inet/getnetent.c: Likewise.
30933 * inet/getnetent_r.c: Likewise.
30934 * inet/getproto.c: Likewise.
30935 * inet/getproto_r.c: Likewise.
30936 * inet/getprtent.c: Likewise.
30937 * inet/getprtent_r.c: Likewise.
30938 * inet/getprtname.c: Likewise.
30939 * inet/getprtname_r.c: Likewise.
30940 * inet/getrpcbyname.c: Likewise.
30941 * inet/getrpcbyname_r.c: Likewise.
30942 * inet/getrpcbynumber.c: Likewise.
30943 * inet/getrpcbynumber_r.c: Likewise.
30944 * inet/getrpcent.c: Likewise.
30945 * inet/getrpcent_r.c: Likewise.
30946 * inet/getaliasent.c: Likewise.
30947 * inet/getaliasent_r.c: Likewise.
30948 * inet/getaliasname.c: Likewise.
30949 * inet/getaliasname_r.c: Likewise.
30950 * nscd/getgrgid_r.c: Likewise.
30951 * nscd/getgrnam_r.c: Likewise.
30952 * nscd/gethstbyad_r.c: Likewise.
30953 * nscd/gethstbynm3_r.c: Likewise.
30954 * nscd/getpwnam_r.c: Likewise.
30955 * nscd/getpwuid_r.c: Likewise.
30956 * nscd/getsrvbynm_r.c: Likewise.
30957 * nscd/getsrvbypt_r.c: Likewise.
30958 * nscd/gai.c: Likewise.
30960 * configure.in (build_nscd): New substituted variable, set
30961 by --disable-build-nscd and defaults to $use_nscd.
30962 * configure: Regenerated.
30963 * config.make.in (build-nscd): New substituted variable.
30964 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30965 Change conditional to require [$(build-nscd) = yes] as well.
30966 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30969 * configure.in (use_nscd): New substituted variable, set by
30970 --disable-nscd. If enabled, define USE_NSCD.
30971 * configure: Regenerated.
30972 * config.h.in: Add USE_NSCD.
30973 * config.make.in (use-nscd): New substituted variable.
30974 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30975 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30976 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30977 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30978 (CFLAGS-getgrnam_r.c): Likewise.
30979 (CFLAGS-initgroups.c): Likewise.
30980 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30981 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30983 * inet/getnetgrent_r.c
30984 (nscd_setnetgrent): New function, broken out of ...
30985 (setnetgrent): ... here. Call it.
30986 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30987 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30988 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30989 * nscd/Makefile (routines, aux): Move definitions after include of
30990 Makeconfig. Conditionalize on [$(use-nscd) != no].
30991 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30992 Conditionalize on [USE_NSCD].
30993 (is_nscd, nscd_init_cb): Likewise.
30994 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30995 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30996 * nss/nss_db/db-init.c: Likewise.
30997 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30999 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31000 (make_request): Use it.
31001 (cache_valid_p): New function.
31002 (__check_pf): Use it.
31003 * NEWS: Add item for --disable-nscd.
31005 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31007 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31008 to support sed >= 4.2.1-20-ga9bf076.
31009 * configure: Regenerated.
31011 2012-08-22 Roland McGrath <roland@hack.frob.com>
31013 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31014 Conditionalize whole body on [IREL].
31016 2012-08-22 Jeff Law <law@redhat.com>
31019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31020 if the family is PF_UNSPEC.
31022 2012-08-22 Mike Frysinger <vapier@gentoo.org>
31024 * Makerules (lib-version): Rename from V.
31025 (install-lib-nosubdir): Change V to lib-version.
31027 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31030 * powerpc32/power6/wcschr.c: New file.
31031 * powerpc32/power6/wcscpy.c: New file.
31032 * powerpc32/power6/wcsrchr.c: New file.
31033 * powerpc64/power6/wcschr.c: New file.
31034 * powerpc64/power6/wcscpy.c: New file.
31035 * powerpc64/power6/wcsrchr.c: New file.
31037 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31039 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31040 (two_way_short_needle): Use it.
31041 * string/strstr.c (AVAILABLE1_USES_J): Define.
31042 * string/strcasestr.c: Likewise.
31044 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31046 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31049 * NEWS: Add an entry.
31050 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31051 define their defaults.
31052 (two_way_short_needle): Detect end-of-string on-the-fly.
31053 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31054 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31055 * string/bug-strcasestr1.c: New test.
31056 * string/Makefile: Run it.
31058 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31061 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31062 the first character.
31064 2012-08-21 Roland McGrath <roland@hack.frob.com>
31066 * csu/elf-init.c (__libc_csu_irel): Function removed.
31067 * csu/libc-start.c (apply_irel): New function.
31068 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31070 2012-08-21 Joseph Myers <joseph@codesourcery.com>
31072 * sysdeps/unix/sysv/linux/kernel-features.h
31073 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31074 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31075 <kernel-features.h>.
31076 [__NR_fadvise64_64]: Make code unconditional.
31077 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31078 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31079 !__NR_fadvise64_64)]: Likewise.
31080 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31081 !__NR_fadvise64_64))]: Likewise.
31082 [__NR_fadvise64]: Make code unconditional.
31083 [!__NR_fadvise64]: Remove conditional code.
31084 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31085 <kernel-features.h>.
31086 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31088 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31091 not include <kernel-features.h>.
31092 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31094 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31096 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31097 include <kernel-features.h>.
31098 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31100 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31103 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31105 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31106 slight instruction rearrangements per scrollpipe analysis.
31107 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31109 2012-08-20 Roland McGrath <roland@hack.frob.com>
31111 * manual/syslog.texi (syslog; vsyslog, closelog):
31112 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31113 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31115 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31116 DSOCAPS to match condition on defining it.
31118 2012-08-20 Joseph Myers <joseph@codesourcery.com>
31120 * sysdeps/unix/sysv/linux/kernel-features.h
31121 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31123 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31124 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31126 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31127 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31129 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31130 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31132 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31133 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31135 * sysdeps/unix/sysv/linux/kernel-features.h
31136 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31137 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31139 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31140 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31141 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31142 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31143 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31144 Make code unconditional.
31145 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31146 (__mmap64) [!__NR_mmap2]: Likewise.
31147 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31148 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31149 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31150 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31151 [__NR_mmap2]: Make code unconditional.
31152 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31153 (__mmap64) [!__NR_mmap2]: Likewise.
31155 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31157 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31159 2012-08-18 Andreas Jaeger <aj@suse.de>
31161 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31163 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31165 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31166 * include/unistd.h (__have_sock_cloexec): Likewise.
31167 (__have_pipe2): Likewise.
31168 (__have_dup3): Likewise.
31170 2012-08-18 Mike Frysinger <vapier@gentoo.org>
31173 * include/unistd.h (__have_pipe2): Change define into an extern int.
31174 (__have_dup3): Likewise.
31175 * socket/have_sock_cloexec.c: Include fcntl.h.
31176 (__have_pipe2): New variable.
31177 (__have_dup3): Likewise.
31179 2012-08-17 Mike Frysinger <vapier@gentoo.org>
31181 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31183 2012-08-17 Marek Polacek <polacek@redhat.com>
31185 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31186 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31188 2012-08-17 Roland McGrath <roland@hack.frob.com>
31190 * configure.in: Add AC_SUBST for sysheaders.
31191 * configure: Regenerated.
31192 * config.make.in (sysheaders): New substituted variable.
31194 * sysdeps/unix/mkfifo.c: Moved ...
31195 * sysdeps/posix/mkfifo.c: ... here.
31196 * sysdeps/unix/mkfifoat.c: Moved ...
31197 * sysdeps/posix/mkfifoat.c: ... here.
31199 * sysdeps/unix/utime.c: Moved ...
31200 * sysdeps/posix/utime.c: ... here.
31202 * sysdeps/unix/time.c: Moved ...
31203 * sysdeps/posix/time.c: ... here.
31204 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31205 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31207 * sysdeps/unix/nice.c: Moved ...
31208 * sysdeps/posix/nice.c: ... here.
31210 * sysdeps/unix/alarm.c: Moved ...
31211 * sysdeps/posix/alarm.c: ... here.
31213 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31215 2012-08-17 Jeff Law <law@redhat.com>
31217 * intl/Makefile (codeset_mo): New variable.
31218 ($(codeset_mo)): New target.
31219 (tst-codeset.out): Depend on that. Remove explicit rule.
31220 (tst-gettext3.out, tst-gettext5.out): Likewise.
31221 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31222 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31223 * intl/tst-codeset.sh: Remove.
31224 * intl/tst-gettext3.sh: Likewise.
31225 * intl/tst-gettext5.sh: Likewise.
31227 2012-08-17 Roland McGrath <roland@hack.frob.com>
31229 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31230 * sysdeps/unix/syscalls.list: ... here.
31232 * sysdeps/posix/getaddrinfo.c
31233 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31234 (gaiconf_init, gaiconf_reload): Use them.
31235 [!_STATBUF_ST_NSEC]
31236 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31237 Define using time_t rather than struct timespec.
31239 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31240 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31242 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31244 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31245 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31248 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31249 __libc_cleanup_push argument.
31251 * bits/param.h: New file.
31252 * misc/sys/param.h: New file.
31253 * include/sys/param.h: New file.
31254 * misc/Makefile (headers): Add bits/param.h.
31255 * sysdeps/generic/sys/param.h: File removed.
31256 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31257 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31258 * sysdeps/mach/hurd/bits/param.h: New file.
31259 * sysdeps/mach/hurd/sys/param.h: File removed.
31261 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31264 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31266 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31267 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31270 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31271 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31272 rather than -D_IO_MTSAFE_IO conditionally.
31273 * stdio-common/Makefile (CPPFLAGS): Likewise.
31274 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31275 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31276 Use $(libio-mtsafe).
31277 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31278 of -D_IO_MTSAFE_IO.
31279 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31280 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31281 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31282 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31283 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31284 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31285 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31286 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31287 (CFLAGS-fread_u_chk.c): Likewise.
31288 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31289 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31290 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31291 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31292 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31293 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31294 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31295 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31296 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31298 * libio/Makefile: Test [$(libc-reentrant) = yes]
31299 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31302 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31303 * sysdeps/pthread/configure: File removed.
31304 * sysdeps/pthread/Makeconfig: New file.
31305 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31306 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31308 2012-08-16 Gary Benson <gbenson@redhat.com>
31310 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31311 unmapping the first object in a namespace.
31313 2012-08-16 Roland McGrath <roland@hack.frob.com>
31315 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31316 (__internal_setnetgrent): ... this. Add internal_function to
31317 definition. Add libc_hidden_def.
31318 (setnetgrent): Update caller.
31319 (internal_endnetgrent): Renamed to ...
31320 (__internal_endnetgrent): ... this. Add internal_function to
31321 definition. Add libc_hidden_def.
31322 (endnetgrent): Update caller.
31323 (internal_getnetgrent_r): Renamed to ...
31324 (__internal_getnetgrent_r): ... this. Add internal_function to
31325 definition. Add libc_hidden_def.
31326 (__getnetgrent_r): Update caller.
31327 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31329 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31331 * stdlib/longlong.h: Update from GCC.
31333 2012-08-16 Roland McGrath <roland@hack.frob.com>
31335 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31336 on _QL, which is set by umul_ppmm but never used.
31337 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31338 variables, which are set by GMP macros but never used.
31339 * stdio-common/_itowa.c (_itowa): Likewise.
31340 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31341 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31343 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31345 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31346 struct La_sh_regs is not constant.
31347 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31348 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31349 and struct La_sparc64_regs are not constant.
31351 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31353 * sysdeps/unix/sysv/linux/kernel-features.h
31354 (__ASSUME_POSIX_TIMERS): Remove.
31355 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31357 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31358 Make code unconditional.
31359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31360 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31361 Make code unconditional.
31362 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31363 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31364 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31365 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31366 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31367 Make code unconditional.
31368 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31369 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31370 (__libc_missing_posix_timers): Remove.
31372 2012-08-15 Roland McGrath <roland@hack.frob.com>
31374 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31375 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31377 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31379 * elf/dl-sym.c: Include <stdlib.h>.
31381 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31382 constants, which avoids warnings in 32-bit builds.
31384 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31385 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31387 * misc/lseek.c: File moved to ...
31388 * io/lseek.c: ... here.
31390 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31392 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31393 shifting LEN more than 31 bits at once.
31395 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31398 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31399 segmentation fault for a case of two empty input strings.
31400 * string/test-strncasecmp.c (check1): Renamed to...
31401 (bz12205): ...this.
31402 (bz14195): Add new testcase for two empty input strings and N > 0.
31403 (test_main): Call new testcase, adapt for renamed function.
31405 2012-08-15 Andreas Jaeger <aj@suse.de>
31408 * crypt/md5test2.c: New test, based on test supplied by Serge
31409 Belyshev <belyshev@depni.sinp.msu.ru>.
31410 * crypt/Makefile (xtests): Add md5test-giant..
31411 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31413 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31416 * crypt/md5.c (md5_process_block): Don't assume the buffer
31417 length is less than 2**32.
31418 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31419 length is less than 2**64.
31421 2012-08-15 Roland McGrath <roland@hack.frob.com>
31423 * string/str-two-way.h: Include <sys/param.h>.
31424 (MAX): Macro removed.
31426 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31427 Move #define and #undef of memmove to just before and after
31428 including <string.h>.
31430 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31431 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31432 and after including <string.h>. Move declarations of
31433 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31434 to before #include "string/memmove.c".
31436 * include/dirent.h: Declare __getdirentries.
31438 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31439 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31441 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31443 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31444 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31445 * sysdeps/i386/configure: Regenerated.
31446 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31447 STABS_CURRENT_FILE, and STABS_FUN.
31448 (END): Remove call to STABS_FUN_END.
31449 (STABS_CURRENT_FILE1): Delete.
31450 (STABS_CURRENT_FILE): Likewise.
31451 (STABS_FUN): Likewise.
31452 (STABS_FUN_END): Likewise.
31453 (STABS_FUN2): Likewise.
31454 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31455 * sysdeps/x86_64/configure: Regenerated.
31457 2012-08-14 Roland McGrath <roland@hack.frob.com>
31459 * elf/dl-open.c: Include <atomic.h>.
31460 * elf/dl-lookup.c: Likewise.
31462 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31464 * sysdeps/unix/sysv/linux/kernel-features.h
31465 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31466 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31468 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31470 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31471 condition on __ASSUME_CLONE_THREAD_FLAGS.
31473 2012-08-14 Andreas Jaeger <aj@suse.de>
31475 * sysdeps/i386/fpu/libm-test-ulps: Update.
31477 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31479 * include/atomic.h (atomic_exchange_and_add): Split into ...
31480 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31483 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31487 2012-08-13 Jeff Law <law@redhat.com>
31489 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31490 null byte in the output string.
31492 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31494 * sysdeps/unix/sysv/linux/kernel-features.h
31495 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31496 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31497 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31498 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31499 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31500 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31501 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31503 2012-08-09 Jeff Law <law@redhat.com>
31506 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31507 When avoid_arena is set, don't retry in the that arena. Pick the
31508 next one, whatever it might be.
31509 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31510 (arena_lock): Pass in new parameter to arena_get2.
31511 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31513 (__libc_malloc): Unify retrying after main arena failure with
31514 __libc_memalign version.
31515 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31517 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31520 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31521 to __redirect_strstr.
31522 (__strstr_sse42): Use typeof __redirect_strstr.
31523 (__strstr_ia32): Likewise.
31524 (__libc_strstr): New prototype.
31525 (strstr): Renamed to ...
31526 (__libc_strstr): This.
31527 (strstr): New strong alias of __libc_strstr.
31528 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31529 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31532 (__libc_time): New prototype.
31533 (time_ifunc): Replace time with __libc_time.
31534 (time): New strong alias and hidden definition of __libc_time.
31535 (__GI_time): Remove strong alias.
31536 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31537 Include <stddef.h>.
31538 (memmove): Redefined to __redirect_memmove.
31539 (__memmove_sse2): Use typeof __redirect_memmove.
31540 (__memmove_ssse3): Likewise.
31541 (__memmove_ssse3_back): Likewise.
31542 (__libc_memmove): New prototype.
31543 (memmove): Renamed to ...
31544 (__libc_memmove): This.
31545 (memmove): New strong alias of __libc_memmove.
31547 2012-08-08 Mark Salter <msalter@redhat.com>
31550 (R_MN10300_TLS_GD): Define.
31551 (R_MN10300_TLS_LD): Likewise.
31552 (R_MN10300_TLS_LDO): Likewise.
31553 (R_MN10300_TLS_GOTIE): Likewise.
31554 (R_MN10300_TLS_IE): Likewise.
31555 (R_MN10300_TLS_LE): Likewise.
31556 (R_MN10300_TLS_DTPMOD): Likewise.
31557 (R_MN10300_TLS_DTPOFF): Likewise.
31558 (R_MN10300_TLS_TPOFF): Likewise.
31559 (R_MN10300_SYM_DIFF): Likewise.
31560 (R_MN10300_ALIGN): Likewise.
31561 (R_MN10300_NUM): Update.
31563 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31565 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31568 2012-08-08 Roland McGrath <roland@hack.frob.com>
31570 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31572 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31573 sysdeps/unix -> sysdeps/posix move.
31574 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31576 2012-08-07 Allan McRae <allan@archlinux.org>
31579 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31580 (SUNOS_CPP): Likewise.
31581 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31583 (open_input): Call CPP using execvp.
31585 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31587 * sysdeps/unix/sysv/linux/kernel-features.h
31588 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31589 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31590 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31591 (__ASSUME_WAITID_SYSCALL): Likewise.
31592 * sysdeps/unix/sysv/linux/dl-execstack.c
31593 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31594 code unconditional.
31595 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31597 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31598 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31599 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31601 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31603 [__ASSUME_WAITID_SYSCALL]: Likewise.
31604 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31606 2012-08-07 Roland McGrath <roland@hack.frob.com>
31608 * sysdeps/unix/closedir.c: Renamed to ...
31609 * sysdeps/posix/closedir.c: ... here.
31610 * sysdeps/unix/dirfd.c: Renamed to ...
31611 * sysdeps/posix/dirfd.c: ... here.
31612 * sysdeps/unix/dirstream.h: Renamed to ...
31613 * sysdeps/posix/dirstream.h: ... here.
31614 * sysdeps/unix/fdopendir.c: Renamed to ...
31615 * sysdeps/posix/fdopendir.c: ... here.
31616 * sysdeps/unix/opendir.c: Renamed to ...
31617 * sysdeps/posix/opendir.c: ... here.
31618 * sysdeps/unix/readdir.c: Renamed to ...
31619 * sysdeps/posix/readdir.c: ... here.
31620 * sysdeps/unix/readdir_r.c: Renamed to ...
31621 * sysdeps/posix/readdir_r.c: ... here.
31622 * sysdeps/unix/rewinddir.c: Renamed to ...
31623 * sysdeps/posix/rewinddir.c: ... here.
31624 * sysdeps/unix/seekdir.c: Renamed to ...
31625 * sysdeps/posix/seekdir.c: ... here.
31626 * sysdeps/unix/telldir.c: Renamed to ...
31627 * sysdeps/posix/telldir.c: ... here.
31628 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31629 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31630 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31631 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31633 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31634 * bits/fcntl.h: ... here.
31636 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31638 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31639 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31640 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31641 (struct flock): Move l_start, l_len to the beginning.
31642 Use __pid_t for l_pid.
31643 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31644 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31645 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31646 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31647 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31648 [__USE_LARGEFILE64] (struct flock64): New type.
31649 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31651 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31652 * bits/dirent.h: ... here.
31654 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31655 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31657 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31660 Change from 2.6.0 to 2.6.16.
31661 * sysdeps/unix/sysv/linux/configure: Regenerated.
31662 * sysdeps/unix/sysv/linux/kernel-features.h
31663 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31664 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31666 (__ASSUME_UTIMES): Likewise.
31667 (__ASSUME_CLONE_STOPPED): Remove.
31668 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31669 architectures, not kernel version.
31670 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31671 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31672 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31673 (__ASSUME_WAITID_SYSCALL): Likewise.
31674 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31675 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31676 * README: State 2.6.16 as minimum Linux kernel version. Do not
31677 refer to older versions.
31679 2012-08-06 Roland McGrath <roland@hack.frob.com>
31681 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31682 Define alphasort64 as an alias.
31683 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31684 Define versionsort64 as an alias.
31685 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31686 Define scandir64 as an alias.
31687 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31688 Define scandirat64 as an alias.
31689 * dirent/alphasort64.c (alphasort64):
31690 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31691 * dirent/versionsort64.c: Likewise.
31692 * dirent/scandir64.c: Likewise.
31693 * dirent/scandirat64.c: Likewise.
31694 * sysdeps/wordsize-64/alphasort.c: File removed.
31695 * sysdeps/wordsize-64/alphasort64.c: File removed.
31696 * sysdeps/wordsize-64/scandir.c: File removed.
31697 * sysdeps/wordsize-64/scandir64.c: File removed.
31698 * sysdeps/wordsize-64/scandirat.c: File removed.
31699 * sysdeps/wordsize-64/scandirat64.c: File removed.
31700 * sysdeps/wordsize-64/versionsort.c: File removed.
31701 * sysdeps/wordsize-64/versionsort64.c: File removed.
31702 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31703 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31704 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31705 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31706 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31707 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31711 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31712 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31713 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31714 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31715 [defined __arch64__ || defined __sparcv9]
31716 (__INO_T_MATCHES_INO64_T): New macro.
31717 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31718 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31719 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31720 * sysdeps/unix/sysv/linux/bits/dirent.h
31721 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31722 (_DIRENT_MATCHES_DIRENT64): New macro.
31724 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31725 Define lockf64 as an alias.
31726 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31727 Define fseeko64 as an alias.
31728 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31729 Define ftello64 as an alias.
31730 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31731 Define _IO_fgetpos64 and fgetpos64 as aliases.
31732 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31733 Define _IO_fsetpos64 and fsetpos64 as aliases.
31734 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31735 Conditionalize body on this.
31736 * libio/fseeko64.c: Likewise.
31737 * libio/ftello64.c: Likewise.
31738 * libio/iofgetpos64.c: Likewise.
31739 * libio/iofsetpos64.c: Likewise.
31740 * sysdeps/wordsize-64/lockf.c: File removed.
31741 * sysdeps/wordsize-64/lockf64.c: File removed.
31742 * sysdeps/wordsize-64/fseeko.c: File removed.
31743 * sysdeps/wordsize-64/fseeko64.c: File removed.
31744 * sysdeps/wordsize-64/ftello.c: File removed.
31745 * sysdeps/wordsize-64/ftello64.c: File removed.
31746 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31747 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31748 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31749 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31750 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31751 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31756 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31757 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31759 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31761 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31763 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31765 [defined __arch64__ || defined __sparcv9]
31766 (__OFF_T_MATCHES_OFF64_T): New macro.
31767 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31768 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31770 (__OFF_T_MATCHES_OFF64_T): New macro.
31772 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31774 * stdlib/secure-getenv.c (__secure_getenv): Replace
31775 GLIBC_2_16 with GLIBC_2_17.
31777 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31782 2012-08-03 David S. Miller <davem@davemloft.net>
31784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31786 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31788 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31790 (__ASSUME_CORRECT_SI_PID): Likewise.
31791 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31792 (__ASSUME_TMPFS_NAME): Likewise.
31793 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31794 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31795 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31796 (HAVE_AUX_SECURE): Make definition unconditional.
31797 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31798 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31800 2012-08-03 Roland McGrath <roland@hack.frob.com>
31802 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31803 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31804 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31805 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31806 __eloop_threshold instead of SYMLOOP_MAX.
31808 * sysdeps/generic/eloop-threshold.h: New file.
31809 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31811 * elf/chroot_canon.c (chroot_canon): Likewise.
31813 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31816 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31817 Change to 2.6.0 everywhere.
31818 * sysdeps/unix/sysv/linux/configure: Regenerated.
31819 * sysdeps/unix/sysv/linux/kernel-features.h
31820 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31821 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31823 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31824 (__ASSUME_FUTEX_REQUEUE): Remove.
31825 (__ASSUME_STATFS64): Define unconditionally.
31826 (__ASSUME_AT_SECURE): Likewise.
31827 (__ASSUME_CORRECT_SI_PID): Likewise.
31828 (__ASSUME_TGKILL): Define without depending on kernel version for
31830 (__ASSUME_UTIMES): Likewise.
31831 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31833 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31834 (__ASSUME_TMPFS_NAME): Likewise.
31835 * README: Update reference to Linux kernel versions.
31837 2012-08-02 Marek Polacek <polacek@redhat.com>
31840 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31841 libc_cv_asm_type_prefix with %.
31842 * configure: Regenerated.
31843 * include/libc-symbols.h: Remove comment about
31844 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31845 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31846 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31847 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31848 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31849 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31850 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31851 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31852 * elf/tst-unique2mod1.c: Likewise.
31853 * elf/tst-unique1mod2.c: Likewise.
31854 * elf/tst-unique1mod1.c: Likewise.
31855 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31856 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31857 Replace ASM_TYPE_DIRECTIVE with .type.
31858 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31859 * sysdeps/i386/sysdep.h: Likewise.
31860 * sysdeps/x86_64/sysdep.h: Likewise.
31861 * sysdeps/sh/sysdep.h: Likewise.
31862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31863 Do not define ASM_TYPE_DIRECTIVE.
31864 * sysdeps/powerpc/sysdep.h: Likewise.
31865 * sysdeps/powerpc/powerpc32/sysdep.h:
31866 Replace ASM_TYPE_DIRECTIVE with .type.
31867 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31868 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31869 * sysdeps/i386/fpu/e_powf.S: Likewise.
31870 * sysdeps/i386/fpu/e_expl.S: Likewise.
31871 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31872 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31873 * sysdeps/i386/fpu/e_pow.S: Likewise.
31874 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31875 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31876 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31877 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31878 * sysdeps/i386/fpu/e_log2.S: Likewise.
31879 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31880 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31881 * sysdeps/i386/fpu/e_powl.S: Likewise.
31882 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31883 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31884 * sysdeps/i386/fpu/e_logl.S: Likewise.
31885 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31886 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31887 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31888 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31889 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31890 * sysdeps/i386/fpu/e_log.S: Likewise.
31891 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31892 * sysdeps/i386/fpu/e_logf.S: Likewise.
31893 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31894 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31895 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31896 * sysdeps/i386/fpu/e_log10.S: Likewise.
31897 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31898 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31899 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31900 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31901 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31902 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31903 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31904 * sysdeps/i386/i686/strtok.S: Likewise.
31905 * sysdeps/i386/i386-mcount.S: Likewise.
31906 * sysdeps/i386/strtok.S: Likewise.
31907 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31908 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31909 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31910 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31911 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31912 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31913 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31914 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31915 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31916 * sysdeps/x86_64/_mcount.S: Likewise.
31917 * sysdeps/x86_64/strtok.S: Likewise.
31918 * sysdeps/sh/_mcount.S: Likewise.
31920 2012-08-01 Roland McGrath <roland@hack.frob.com>
31922 * libio/iofopen.c: Include <fcntl.h>.
31923 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31924 (_IO_fopen64, fopen64): Define as aliases.
31925 * libio/iofopen64.c: Include <fcntl.h>.
31926 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31927 Conditionalize body on this.
31928 * sysdeps/wordsize-64/iofopen.c: File removed.
31929 * sysdeps/wordsize-64/iofopen64.c: File removed.
31931 2012-08-01 Marek Polacek <polacek@redhat.com>
31933 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31934 Use dlfcn directly instead of a variable.
31935 (binfmt-subdir): Do not define.
31938 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31940 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31941 Remove all definitions.
31942 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31943 <kernel-features.h>.
31944 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31945 (miss_F_GETOWN_EX): Remove all definitions.
31946 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31948 [!__ASSUME_FCNTL64]: Remove conditional code.
31949 [__ASSUME_FCNTL64]: Make code unconditional.
31950 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31951 <kernel-features.h>.
31952 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31953 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31954 (lockf64) [__NR_fcntl64]: Make code unconditional.
31955 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31957 * sysdeps/unix/sysv/linux/kernel-features.h
31958 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31959 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31960 Make code unconditional.
31961 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31962 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31964 [__NR_vfork]: Make code unconditional.
31965 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31966 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31968 [__NR_vfork]: Make code unconditional.
31969 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31970 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31972 2012-08-01 Roland McGrath <roland@hack.frob.com>
31974 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31975 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31977 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31978 Define mkstemp64 as an alias.
31979 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31980 Define mkstemps64 as an alias.
31981 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31982 Define mkostemp64 as an alias.
31983 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31984 Define mkostemps64 as an alias.
31985 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31986 Conditionalize body on this.
31987 * misc/mkostemp64.c: Likewise.
31988 * misc/mkostemps64.c: Likewise.
31989 * misc/mkstemps64.c: Likewise.
31990 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31991 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31992 * sysdeps/wordsize-64/mkostemp.c: File removed.
31993 * sysdeps/wordsize-64/mkstemp.c: File removed.
31994 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31995 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31996 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31997 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32000 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32001 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32002 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32003 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32005 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32006 compat_symbol macros from <shlib-compat.h> rather than the underlying
32007 default_symbol_version and symbol_version macros, so that DEFAULT
32008 lines in shlib-versions are respected.
32009 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32011 2012-08-01 Florian Weimer <fweimer@redhat.com>
32013 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32014 Declare with warn_unused_result.
32015 (setgid, setregid, setegid, setresgid): Likewise.
32016 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32018 * WUR-REPORT: Remove set*id functions.
32020 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32022 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32024 2012-07-31 Roland McGrath <roland@hack.frob.com>
32027 * include/sys/socket.h (__libc_accept, __libc_accept4):
32028 Add attribute_hidden.
32029 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32031 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32033 * inet/getnetgrent_r.c (setup): Likewise.
32035 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32037 2012-07-31 David S. Miller <davem@davemloft.net>
32039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32041 2012-07-31 Joseph Myers <joseph@codesourcery.com>
32044 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32045 value between 1.0 and 2.0 and smaller part has absolute value less
32047 * math/s_clog10.c (__clog10): Likewise.
32048 * math/s_clog10f.c (__clog10f): Likewise.
32049 * math/s_clog10l.c (__clog10l): Likewise.
32050 * math/s_clogf.c (__clogf): Likewise.
32051 * math/s_clogl.c (__clogl): Likewise.
32052 * math/libm-test.inc (clog_test): Add more tests.
32053 (clog10_test): Likewise.
32054 * sysdeps/i386/fpu/libm-test-ulps: Update.
32055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32057 2012-07-31 Florian Weimer <fweimer@redhat.com>
32059 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32060 Exit with zero in case no suitable GID is found, and write a
32061 message to standard error.
32063 2012-07-30 Roland McGrath <roland@hack.frob.com>
32065 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32067 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32068 (MAXPATHLEN): Removed.
32069 (NOGROUP, NODEV): New macros.
32070 (setbit, clrbit, isset, isclr): New macros.
32071 (howmany, roundup, powerof2): New macros.
32072 (DEV_BSIZE): New macro.
32074 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32075 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32077 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32078 definition on [!__NO_LONG_DOUBLE_MATH].
32080 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32081 PTR_MANGLE and PTR_DEMANGLE.
32083 * socket/accept4.c (accept4): Rename to __libc_accept4.
32084 Define accept4 as a weak alias.
32086 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32087 on [_DIRENT_HAVE_D_TYPE].
32088 * io/ftw.c (ftw_dir): Likewise.
32090 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32092 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32094 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32095 Use the BSD numbers rather than the arbitrary ones we had.
32096 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32097 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32098 (SIGXCPU, SIGXFSZ): New macros.
32101 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32102 initializer on [_LIBC_REENTRANT].
32104 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32105 definitions inside [_POSIX_MAPPED_FILES].
32107 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32109 * dirent/opendir.c: Include <fcntl.h>.
32111 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32112 (__libc_getspecific): Likewise.
32113 (__libc_key_create): Likewise.
32115 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32116 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32117 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32118 (tmpfile64): Define as alias.
32119 * sysdeps/wordsize-64/tmpfile.c: File removed.
32120 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32122 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32124 * stdio-common/vfscanf.c: Include <stdbool.h>.
32125 * nss/makedb.c: Likewise.
32126 * stdio-common/_i18n_number.h: Likewise.
32127 * argp/argp-help.c: Likewise.
32128 * posix/wordexp.c: Likewise.
32129 * sysdeps/posix/spawni.c: Likewise.
32130 * nss/nss_files/files-initgroups.c: Likewise.
32131 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32132 * nss/nss_files/files-initgroups.c: Likewise.
32133 * nss/nss_db/db-netgrp.c: Likewise.
32134 * nss/nss_db/db-initgroups.c: Likewise.
32135 * io/fchmodat.c: Include <sys/stat.h>.
32137 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32138 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32140 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32143 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32144 Add multiple inclusion protection.
32146 2012-07-27 David S. Miller <davem@davemloft.net>
32148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32150 2012-07-27 Gary Benson <gbenson@redhat.com>
32153 * elf/rtld.c: Include <stap-probe.h>.
32154 (dl_main): Added static probes "init_start" and "init_complete".
32155 * elf/dl-load.c: Include <stap-probe.h>.
32156 (lose): Take new parameter "nsid".
32157 Added static probe "map_failed".
32158 (_dl_map_object_from_fd): Pass namespace id to lose.
32159 Added static probe "map_start".
32160 (open_verify): Pass namespace id to lose.
32161 * elf/dl-open.c: Include <stap-probe.h>.
32162 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32163 and "reloc_complete".
32164 * elf/dl-close.c: Include <stap-probe.h>.
32165 (_dl_close_worker): Added static probes "unmap_start" and
32167 * elf/rtld-debugger-interface.txt: New file documenting the above.
32169 2012-07-26 Roland McGrath <roland@hack.frob.com>
32171 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32172 rather than a string variable.
32173 * sunrpc/rpc_main.c (h_output): Likewise.
32174 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32176 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32178 * inet/check_native.c: New file.
32180 2012-07-26 Joseph Myers <joseph@codesourcery.com>
32183 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32184 if larger part has absolute value 1.0.
32185 * math/s_clog10.c (__clog10): Likewise.
32186 * math/s_clog10f.c (__clog10f): Likewise.
32187 * math/s_clog10l.c (__clog10l): Likewise.
32188 * math/s_clogf.c (__clogf): Likewise.
32189 * math/s_clogl.c (__clogl): Likewise.
32190 * math/libm-test.inc (clog_test): Add more tests.
32191 (clog10_test): Likewise.
32192 * sysdeps/i386/fpu/libm-test-ulps: Update.
32193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32195 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32196 (pltexit): Likewise.
32197 (La_regs): Likewise.
32198 (La_retval): Likewise.
32199 (int_retval): Likewise.
32200 Update #error for removed macros to refer only to definitions in
32202 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32204 (pltexit): Likewise.
32205 (La_regs): Likewise.
32206 (La_retval): Likewise.
32207 (int_retval): Likewise.
32208 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32210 (pltexit): Likewise.
32211 (La_regs): Likewise.
32212 (La_retval): Likewise.
32213 (int_retval): Likewise.
32214 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32216 (pltexit): Likewise.
32217 (La_regs): Likewise.
32218 (La_retval): Likewise.
32219 (int_retval): Likewise.
32220 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32222 (pltexit): Likewise.
32223 (La_regs): Likewise.
32224 (La_retval): Likewise.
32225 (int_retval): Likewise.
32226 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32228 (pltexit): Likewise.
32229 (La_regs): Likewise.
32230 (La_retval): Likewise.
32231 (int_retval): Likewise.
32232 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32234 (pltexit): Likewise.
32235 (La_regs): Likewise.
32236 (La_retval): Likewise.
32237 (int_retval): Likewise.
32238 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32239 macro definitions in tst-audit.h.
32240 * sysdeps/i386/tst-audit.h: New file.
32241 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32242 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32243 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32244 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32245 * sysdeps/sh/tst-audit.h: Likewise.
32246 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32247 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32248 * sysdeps/x86_64/tst-audit.h: Likewise.
32250 2012-07-26 Andreas Jaeger <aj@suse.de>
32252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32255 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32256 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32257 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32259 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32260 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32261 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32263 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32266 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32268 (si_call_addr, si_syscall, si_arch): Define new macro.
32269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32271 (si_call_addr, si_syscall, si_arch): Define new marcro.
32272 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32274 (si_call_addr, si_syscall, si_arch): Define new macro.
32275 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32277 (si_call_addr, si_syscall, si_arch): Define new macro.
32279 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32282 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32283 Change to 2.4.21 where previously 2.4.1.
32284 * sysdeps/unix/sysv/linux/configure: Regenerated.
32285 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32286 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32287 Linux kernel version.
32288 (__ASSUME_STD_AUXV): Remove.
32289 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32291 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32292 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32293 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32294 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32295 (__ASSUME_NETLINK_SUPPORT): Likewise.
32296 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32297 (__no_netlink_support): Remove conditional definition.
32298 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32300 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32301 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32302 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32303 (if_nameindex_ioctl): Remove.
32304 (if_nameindex_netlink): Do not handle __no_netlink_support.
32305 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32307 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32308 Remove conditional code.
32309 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32311 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32313 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32314 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32315 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32317 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32318 [!__ASSUME_STD_AUXV]: Remove conditional code.
32319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32320 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32321 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32323 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32324 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32326 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32328 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32329 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32331 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32333 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32336 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32339 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32340 code unconditional.
32341 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32343 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32345 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32348 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32350 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32353 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32354 code unconditional.
32355 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32357 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32359 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32362 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32363 code unconditional.
32364 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32366 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32368 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32371 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32373 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32374 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32375 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32376 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32377 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32378 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32379 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32380 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32381 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32382 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32383 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32384 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32385 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32386 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32387 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32388 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32389 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32390 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32391 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32393 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32394 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32395 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32397 2012-07-25 Florian Weimer <fweimer@redhat.com>
32399 * Versions.def: Add GLIBC_2.17.
32400 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32401 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32402 Introduce __libc_secure_getenv.
32403 * stdlib/Versions (2.17): Add secure_getenv
32404 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32405 * stdlib/secure-getenv.c: Rename __secure_getenv to
32406 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32407 symbol __secure_getenv for GLIBC_2.0.
32408 * stdlib/tst-secure-getenv.c: New.
32409 * stdlib/Makefile (tests): Add testcase.
32410 * manual/startup.texi (Environment Access): Document
32412 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32413 __libc_secure_getenv.
32414 * inet/ruserpass.c (ruserpass): Likewise.
32415 * malloc/mtrace.c (mtrace): Likewise.
32416 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32417 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32418 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32419 * sysdeps/posix/tempname.c: Likewise. Evaluate
32420 HAVE_SECURE_GETENV.
32421 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32422 __secure_getenv to __libc_secure_getenv.
32423 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32430 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32436 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32438 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32439 (struct La_i86_retval): Likewise.
32440 (struct La_x86_64_regs): Likewise.
32441 (struct La_x86_64_retval): Likewise.
32442 (struct La_x32_regs): Likewise.
32443 (struct La_x32_retval): Likewise.
32444 (struct La_ppc32_regs): Likewise.
32445 (struct La_ppc32_retval): Likewise.
32446 (struct La_ppc64_regs): Likewise.
32447 (struct La_ppc64_retval): Likewise.
32448 (struct La_sh_regs): Likewise.
32449 (struct La_sh_retval): Likewise.
32450 (struct La_s390_32_regs): Likewise.
32451 (struct La_s390_32_retval): Likewise.
32452 (struct La_s390_64_regs): Likewise.
32453 (struct La_s390_64_retval): Likewise.
32454 (struct La_sparc32_regs): Likewise.
32455 (struct La_sparc32_retval): Likewise.
32456 (struct La_sparc64_regs): Likewise.
32457 (struct La_sparc64_retval): Likewise.
32458 (struct audit_ifaces): Remove architecture-specific pltenter and
32460 * sysdeps/i386/ldsodefs.h: New file.
32461 * sysdeps/powerpc/ldsodefs.h: Likewise.
32462 * sysdeps/s390/ldsodefs.h: Likewise.
32463 * sysdeps/sh/ldsodefs.h: Likewise.
32464 * sysdeps/sparc/ldsodefs.h: Likewise.
32465 * sysdeps/x86_64/ldsodefs.h: Likewise.
32467 2012-07-25 Marek Polacek <polacek@redhat.com>
32470 * math/libm-test.inc (yn_test): Add another test.
32471 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32472 to ERANGE when the result is +-Inf.
32473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32474 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32475 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32476 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32478 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32480 * conform/data/time.h-data (NULL): Use macro-constant. Require
32482 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32484 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32486 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32488 * configure.in <sysdeps resolving>: Correct printing
32490 * configure: Regenerate.
32492 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32494 * math/w_ilogb.c: Include <limits.h>.
32495 * math/w_ilogbl.c: Likewise.
32497 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32499 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32500 va_copy. Document allowing for unavailable va_copy only as
32501 pre-C99 compatibility.
32502 * manual/string.texi (Copying and Concatenation): Use va_copy
32503 instead of __va_copy in concat example.
32505 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32507 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32508 (__sendto): Use create_address_port. Initialize APORT and deallocate
32511 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32512 with O_NOLINK passed to __file_name_lookup.
32514 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32515 with O_NOLINK passed to __file_name_lookup.
32517 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32518 negative N or less than NGIDS.
32520 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32521 type to string_t. Set ERANGE as errno and return it if NAME is not big
32522 enough. Use memcpy instead of strncpy.
32524 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32526 * elf/Makefile (check-data): Remove.
32527 (localplt.data): New vpath directive.
32528 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32529 instead of $(check-data).
32530 * scripts/data/localplt-generic.data: Move to ...
32531 * sysdeps/generic/localplt.data: ... here.
32532 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32533 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32534 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32537 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32540 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32543 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32546 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32549 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32553 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32555 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32556 PPC32 and PPC64 files.
32557 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32558 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32560 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32562 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32563 __makecontext_ret to ...
32564 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32565 ... here and call exit if uc_link is NULL. New file.
32566 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32567 __makecontext_ret.S.
32568 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32569 __makecontext_ret to ...
32570 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32571 ... here and call exit if uc_link is NULL. New file.
32572 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32573 __makecontext_ret.S.
32575 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32577 * elf/elf.h (R_390_IRELATIVE): New definition.
32578 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32579 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32580 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32582 (elf_machine_lazy_rel): Likewise.
32583 * sysdeps/s390/dl-irel.h: New file.
32584 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32585 * sysdeps/s390/s390-64/memset.S: New asm code.
32586 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32587 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32588 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32589 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32590 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32591 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32592 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32593 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32594 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32595 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32596 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32597 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32598 * sysdeps/s390/s390-32/memset.S: New asm code.
32599 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32601 2012-07-17 Marek Polacek <polacek@redhat.com>
32604 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32605 * sysdeps/s390/s390-64/configure.in: Likewise.
32606 * sysdeps/sparc/configure.in: Likewise.
32607 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32608 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32609 * sysdeps/i386/configure.in: Likewise.
32610 * sysdeps/x86_64/configure.in: Likewise.
32611 * sysdeps/sh/configure.in: Likewise.
32612 * sysdeps/s390/s390-32/configure: Regenerated.
32613 * sysdeps/s390/s390-64/configure: Likewise.
32614 * sysdeps/x86_64/configure: Likewise.
32615 * sysdeps/sh/configure: Likewise.
32616 * sysdeps/powerpc/powerpc64/configure: Likewise.
32617 * sysdeps/powerpc/powerpc32/configure: Likewise.
32618 * sysdeps/sparc/configure: Likwise.
32619 * sysdeps/i386/configure: Likewise.
32621 * elf/dl-open.c: Comment fixes.
32623 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32625 * Makefile [CXX] (check-data): Remove.
32626 [CXX] (c++-types.data): New vpath directive.
32627 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32628 vpath. Do not allow for C++ type data being missing.
32629 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32630 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32631 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32632 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32633 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32634 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32635 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32638 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32641 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32644 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32647 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32650 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32653 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32656 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32659 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32660 definitions to architecture-specific files.
32661 (TLS_IE): Likewise.
32662 (TLS_LD): Likewise.
32663 (TLS_GD): Likewise.
32664 * sysdeps/i386/tls-macros.h: New file.
32665 * sysdeps/powerpc/tls-macros.h: Likewise.
32666 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32667 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32668 * sysdeps/sh/tls-macros.h: Likewise.
32669 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32670 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32671 * sysdeps/x86_64/tls-macros.h: Likewise.
32673 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32675 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32676 zero value for regular exit case.
32678 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32679 (__start_context): Preserve zero value for regular exit case.
32681 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32682 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32684 * manual/setjmp.texi (setcontext): Clarify normal process
32685 termination when uc_link is the null pointer.
32686 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32689 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32691 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32692 preprocessor. Test for each exception mask separately.
32694 2012-07-16 Andreas Jaeger <aj@suse.de>
32696 * po/ru.po: Update from translation team.
32698 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32700 * conform/data/string.h-data (NULL): Use macro-constant. Require
32702 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32703 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32704 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32705 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32708 2012-07-13 Andreas Jaeger <aj@suse.de>
32710 * po/fr.po: Update from translation team.
32712 2012-07-12 Marek Polacek <polacek@redhat.com>
32715 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32719 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32723 Change to 2.4.1 where previously 2.4.0.
32724 * sysdeps/unix/sysv/linux/configure: Regenerated.
32725 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32726 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32728 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32729 (__ASSUME_AT_CLKTCK): Remove.
32730 (__ASSUME_AT_PAGESIZE): Likewise.
32731 (__ASSUME_AT_XID): Likewise.
32732 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32733 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32734 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32736 (HAVE_AUX_PAGESIZE): Likewise.
32737 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32738 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32739 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32741 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32745 the temporary buffer used to invoke __gethostbyname2_r,
32746 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32747 host_data / struct gaih_addrtuple.
32748 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32749 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32750 header file nss/nsswitch.h.
32751 * nss/nsswitch.h (global scope): Add definition of implementation
32752 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32753 resolv/nss_dns/dns-host.c).
32755 2012-07-11 Andreas Jaeger <aj@suse.de>
32757 * po/fr.po: Update from translation team.
32759 * po/sv.po: Update from translation team
32760 * po/fr.po: Another update from translation team.
32762 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32764 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32765 for subnormals or multiply small sinh result by itself.
32766 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32769 2012-07-11 David S. Miller <davem@davemloft.net>
32771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32773 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32776 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32777 (INTERNAL_MARK): Shift it here.
32779 2012-07-10 Marek Polacek <polacek@redhat.com>
32782 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32783 libc_cv_asm_global_directive with .globl.
32784 * configure: Regenerated.
32785 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32787 * sysdeps/i386/configure: Regenerated.
32788 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32790 * sysdeps/x86_64/configure: Regenerated.
32791 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32792 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32793 * elf/tst-unique2mod2.c: Likewise.
32794 * elf/tst-unique2mod1.c: Likewise.
32795 * elf/tst-unique1mod2.c: Likewise.
32796 * elf/tst-unique1mod1.c: Likewise.
32797 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32798 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32799 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32800 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32801 * sysdeps/mach/sysdep.h: Likewise.
32802 * sysdeps/i386/sysdep.h: Likewise.
32803 * sysdeps/i386/i386-mcount.S: Likewise.
32804 * sysdeps/x86_64/_mcount.S: Likewise.
32805 * sysdeps/x86_64/sysdep.h: Likewise.
32806 * sysdeps/sh/_mcount.S: Likewise.
32807 * sysdeps/sh/sysdep.h: Likewise.
32808 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32809 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32810 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32812 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32813 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32814 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32815 * locale/localeinfo.h: Likewise.
32816 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32817 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32819 2012-07-09 Roland McGrath <roland@hack.frob.com>
32822 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32824 * manual/message.texi (The Uniforum approach): Likewise.
32825 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32826 (glibc iconv Implementation): Likewise.
32828 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32831 * math/s_clog.c (__clog): Avoid scaling a value down where that
32832 could result in underflow.
32833 * math/s_clog10.c (__clog10): Likewise.
32834 * math/s_clog10f.c (__clog10f): Likewise.
32835 * math/s_clog10l.c (__clog10l): Likewise.
32836 * math/s_clogf.c (__clogf): Likewise.
32837 * math/s_clogl.c (__clogl): Likewise.
32838 * math/libm-test.inc (clog_test): Add more tests.
32839 (clog10_test): Likewise.
32840 * sysdeps/i386/fpu/libm-test-ulps: Update.
32841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32843 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32846 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32847 by 7 not 8 to examine high bit of fractional part.
32850 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32851 for call to __mcount_internal.
32852 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32853 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32854 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32856 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32859 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32860 approximation for values within 0x1p-13f of an odd multiple of
32862 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32863 exception. Add more tests.
32864 * sysdeps/i386/fpu/libm-test-ulps: Update.
32867 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32868 inputs and return -1 for them. Do not check for +Inf in case not
32869 reachable for +Inf.
32870 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32871 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32873 and return -1 for them. Do not check for +Inf in case not
32874 reachable for +Inf.
32875 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32878 and return -1 for them. Do not check for +Inf in case not
32879 reachable for +Inf.
32880 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32881 spurious underflow.
32882 * sysdeps/i386/fpu/libm-test-ulps: Update.
32883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32885 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32887 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32889 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32893 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32894 could result in spurious underflow. Scale down values above
32895 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32896 * math/s_csqrtf.c (__csqrtf): Likewise.
32897 * math/s_csqrtl.c (__csqrtl): Likewise.
32898 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32899 spurious underflow.
32900 * sysdeps/i386/fpu/libm-test-ulps: Update.
32901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32903 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32905 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32907 * catgets/xopen-msg.awk: New file.
32908 * catgets/xopen-msg.sed: Removed.
32910 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32912 * intl/po2test.awk: New file.
32913 * intl/po2test.sed: Removed.
32915 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32918 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32919 or multiply small sinh result by itself.
32920 * math/s_ctanf.c (__ctanf): Likewise.
32921 * math/s_ctanh.c (__ctanh): Likewise.
32922 * math/s_ctanhf.c (__ctanhf): Likewise.
32923 * math/s_ctanhl.c (__ctanhl): Likewise.
32924 * math/s_ctanl.c (__ctanl): Likewise.
32925 * math/libm-test.inc (ctan_test_tonearest): New function.
32926 (ctan_test_towardzero): Likewise.
32927 (ctan_test_downward): Likewise.
32928 (ctan_test_upward): Likewise.
32929 (ctanh_test_tonearest): Likewise.
32930 (ctanh_test_towardzero): Likewise.
32931 (ctanh_test_downward): Likewise.
32932 (ctanh_test_upward): Likewise.
32933 (main): Call these new functions.
32934 * sysdeps/i386/fpu/libm-test-ulps: Update.
32935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32937 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32939 * .gitignore: Delete /ports entry.
32941 2012-07-03 Andreas Jaeger <aj@suse.de>
32943 * po/bg.po: Update from translation team.
32944 * po/cs.po: Likewise.
32945 * po/de.po: Likewise.
32946 * po/hr.po: Likewise.
32947 * po/nl.pl: Likewise.
32948 * po/pl.po: Likewise.
32949 * po/vi.po: Likewise.
32951 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32953 * Makeconfig [!+link] (+link-before-libc): New variable.
32954 [!+link] (+link-after-libc): Likewise.
32955 [!+link] (+link-tests): Likewise.
32956 [!+link] (+link): Define in terms of $(+link-before-libc) and
32957 $(+link-after-libc).
32958 [!+link-static] (+link-static-before-libc): New variable.
32959 [!+link-static] (+link-static-after-libc): Likewise.
32960 [!+link-static] (+link-static-tests): Likewise.
32961 [!+link-static] (+link-static): Define in terms of
32962 $(+link-static-before-libc) and $(+link-static-after-libc).
32963 [build-shared] (link-libc-before-gnulib): New variable.
32964 [build-shared] (link-libc-tests): Likewise.
32965 [build-shared] (link-libc): Define in terms of
32966 $(link-libc-before-gnulib).
32967 [!build-shared] (link-libc-tests): New variable.
32968 (link-libc-static-tests): New variable.
32969 [!gnulib] (gnulib-arch): New variable.
32970 [!gnulib] (gnulib-tests): Likewise.
32971 [!gnulib] (static-gnulib-arch): Likewise.
32972 [!gnulib] (static-gnulib-tests): Likewise.
32973 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32974 Define with "=" instead of ":=".
32975 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32976 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32977 * Rules (binaries-all-notests): New variable.
32978 (binaries-all-tests): Likewise.
32979 (binaries-static-notests): Likewise.
32980 (binaries-static-tests): Likewise.
32981 (binaries-all): Define using $(binaries-all-notests) and
32982 $(binaries-all-tests).
32983 (binaries-static): Define using $(binaries-static-notests) and
32984 $(binaries-static-tests).
32985 (binaries-shared-tests): New variable.
32986 (binaries-shared-notests): Likewise.
32987 (binaries-shared): Remove variable.
32988 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32989 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32990 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32991 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32992 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32993 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32994 * elf/Makefile (sln-modules): New variable.
32995 (extra-objs): Add $(sln-modules:=.o).
32996 (ldconfig-modules): Add static-stubs.
32997 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32998 * elf/static-stubs.c: New file.
33001 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33002 by 7 not 8 to examine high bit of fractional part. Use volatile
33003 variables when splitting into final array of floats if
33004 __FLT_EVAL_METHOD__ != 0.
33005 * math/libm-test.inc (cos_test): Add another test.
33006 (sin_test): Likewise.
33007 * sysdeps/i386/fpu/libm-test-ulps: Update.
33010 * math/libm-test.inc (cosh_test): Add more tests.
33012 * version.h (RELEASE): Set to "development".
33013 (VERSION): Set to "2.16.90".
33015 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33017 * NEWS: Update copyright. Remove last-updated date.
33018 Mention math library bug fixes and timezone data changes.
33019 * README: Mention GNU/Hurd, x32, and HPPA support status.
33021 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33023 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33025 2012-06-27 Andreas Jaeger <aj@suse.de>
33027 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33029 2012-06-25 Andreas Jaeger <aj@suse.de>
33031 * sysdeps/s390/fpu/libm-test-ulps: Update.
33033 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33034 Thomas Schwinge <thomas@codesourcery.com>
33036 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33037 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33041 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33043 * sysdeps/mach/start.c: Remove file.
33044 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33045 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33046 * sysdeps/sh/init-first.c: Likewise.
33048 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33049 registers for frame unwinding purposes, add CFI directives.
33050 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33051 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33052 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33055 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33056 __fortify_fail returning.
33057 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33059 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33060 sysdeps/sh/____longjmp_chk.S.
33061 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33062 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33063 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33064 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33066 * sysdeps/sh/abort-instr.h: New file.
33067 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33068 process in case exit returns.
33070 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33071 initialize the GOT register before use.
33073 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33074 calculation of ARGC > 4.
33076 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33077 meaningful names to some local labels.
33079 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33080 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33082 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33083 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33084 (__arch_compare_and_exchange_val_16_acq): Likewise.
33085 (__arch_compare_and_exchange_val_32_acq): Likewise.
33086 (atomic_exchange_and_add): Fix gUSA sequence.
33087 (atomic_add): Likewise.
33088 (atomic_add_negative): Likewise.
33089 (atomic_add_zero): Likewise.
33090 (atomic_bit_test_set): Likewise.
33092 2012-06-22 Andreas Schwab <schwab@redhat.com>
33095 * include/link.h (struct link_map): Add l_free_initfini.
33096 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33098 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33099 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33100 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33103 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33105 * configure.in: Use AC_LANG_SOURCE.
33106 * configure: Regenerate.
33108 2012-06-22 Roland McGrath <roland@hack.frob.com>
33110 * configure.in (libc_cv_localstatedir): New substituted variable.
33111 * configure: Regenerated.
33112 * config.make.in (localstatedir): New variable, substituted from
33113 libc_cv_localstatedir.
33114 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33115 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33116 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33117 * sysdeps/gnu/configure: Regenerated.
33119 2012-06-21 Jeff Law <law@redhat.com>
33122 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33123 free. Simplify list management for _LIBC case.
33125 2012-06-21 Joseph Myers <joseph@codesourcery.com>
33128 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33129 Clear sign bit of 64-bit integer value before comparing against
33132 * sysdeps/mach/configure: Regenerated.
33134 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33137 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33139 2012-06-21 Jeff Law <law@redhat.com>
33142 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33143 uint16_t for elements in the "seen" array to avoid char overflows.
33144 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33145 * elf/dl-open.c (dl_open_worker): Likewise.
33147 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33149 * scripts/list-sources.sh: Scan PORTS for translations.
33150 * po/libc.pot: Regenerated.
33152 2012-06-21 Andreas Jaeger <aj@suse.de>
33155 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33157 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33158 * bits/byteswap-16.h (__bswap_16): Likewise.
33159 * bits/byteswap.h (__bswap_constant_16): Likewise.
33161 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33164 * sysdeps/i386/fpu_control.h: Removed.
33165 * sysdeps/x86_64/fpu_control.h: Moved to ...
33166 * sysdeps/x86/fpu_control.h: Here.
33168 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33169 (_FPU_SETCW): Likewise.
33171 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33174 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33175 * sysdeps/x86/fpu/bits/mathinline.h: This.
33176 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33180 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33181 functions if __x86_64__ is defined.
33183 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33185 * string/endian.h: Add !__ASSEMBLER__ condition for including
33186 conversion interfaces.
33188 2012-06-15 Joseph Myers <joseph@codesourcery.com>
33191 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33192 of ABS(x) in calculating zero to negative powers other than odd
33194 * math/libm-test.inc (pow_test): Add more tests.
33196 2012-06-15 Andreas Jaeger <aj@suse.de>
33198 * manual/contrib.texi (Contributors): Update entry of Liubov
33199 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33202 2012-06-15 Cyril Hrubis <metan@ucw.cz>
33204 * string/string.h: Add __wur to GNU version of strerror_r.
33206 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33209 * string/Makefile (tests): Add tst-strtok_r.
33210 * string/tst-strtok_r.c: New file.
33211 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33212 RAX_LP/RDX_LP on SAVE_PTR.
33214 2012-06-14 Roland McGrath <roland@hack.frob.com>
33216 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33218 2012-06-14 Joseph Myers <joseph@codesourcery.com>
33220 * libm_test.inc (csqrt_test): Allow more spurious underflow
33222 (j0_test): Likewise.
33223 (j1_test): Likewise.
33224 (y0_test): Likewise.
33225 (y1_test): Likewise.
33227 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33229 * po/Makefile (libc.pot): Use UTF-8 charset.
33231 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33234 Suppress sign-conversion warning from FD_SET.
33235 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33236 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33237 not unsigned long int.
33238 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33240 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33244 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33245 __extern_always_inline instead of __extern_inline.
33246 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33247 (__signbit): Likewise.
33248 (__signbitl): Support C++ namespace.
33249 (lrintf): New inline function.
33251 (llrintf): Likewise.
33252 (llrint): Likewise.
33262 (floorf): Likewise.
33263 (nearbyint): Likewise.
33264 (nearbyintf): Likewise.
33266 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33268 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33269 non-default versions.
33271 2012-06-11 Roland McGrath <roland@hack.frob.com>
33274 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33276 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33278 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33279 (FE_UPWARD, FE_DOWNWARD): Don't define.
33280 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33281 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33283 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33285 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33286 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33288 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33290 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33292 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33293 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33295 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33298 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33299 * sysdeps/i386/fpu/Implies: New file.
33300 * sysdeps/x86_64/fpu/Implies: Likewise.
33301 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33302 * sysdeps/x86/fpu/bits/fenv.h: This.
33304 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33307 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33310 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33311 character 0xffff that matches the last element of the
33314 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33316 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33319 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33322 values higher than 25.6283.
33324 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33326 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33327 subnormal exponent extraction and add some __builtin_expect.
33328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33329 Fix for subnormal mantissa calculation.
33331 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33333 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33334 cpu2 is -1 and errno is not ENOSYS.
33336 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33339 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33340 * sysdeps/x86/bits/string.h: This.
33341 * sysdeps/x86_64/bits/string.h: Removed.
33343 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33344 if not compiling for x86-64, but compiling for >= i486.
33346 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33347 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33349 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33350 New macro from Linux kernel 3.4.0.
33351 (FP_XSTATE_MAGIC2): Likewise.
33352 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33353 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33354 (struct _fpx_sw_bytes): New struct.
33355 (struct _xsave_hdr): Likewise.
33356 (struct _ymmh_state): Likewise.
33357 (struct _xstate): Likewise.
33359 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33360 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33361 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33362 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33363 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33364 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33366 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33367 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33368 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33369 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33370 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33371 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33373 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33376 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33377 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33378 (sysdep_headers): Include sys/platform/ppc.h.
33379 * sysdeps/powerpc/test-gettimebase.c: Test for
33380 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33381 * manual/Makefile (appendices): Include platform.texi.
33382 * manual/contrib.texi (Contributors): Update @node pointers.
33383 * manual/maint.texi (Maintenance): Likewise.
33384 (Platform): New node.
33385 * manual/platform.texi: New file. Document the new features.
33387 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33388 Jakub Jelinek <jakub@redhat.com>
33391 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33392 where __builtin_expect is unavailable.
33394 2012-06-03 David S. Miller <davem@davemloft.net>
33396 * stdlib/longlong.h: Updated from GCC.
33398 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33401 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33402 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33405 (GLIBC_2.16): Likewise.
33407 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33409 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33411 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33414 (default-abi): New variable.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33416 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33418 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33420 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33422 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33425 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33426 definition. Document in comment.
33428 2012-06-01 David S. Miller <davem@davemloft.net>
33430 * stdlib/longlong.h: Updated from GCC.
33432 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33435 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33436 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33437 sys/debugreg.h sys/io.h here.
33438 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33439 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33441 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33442 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33443 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33444 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33445 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33446 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33448 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33449 Define only if __x86_64__ is defined.
33451 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33454 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33455 Use int64_t for variable i.
33456 * math/libm-test.inc (fmod_test): Add more tests.
33458 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33459 z computation is not scheduled after fetestexcept.
33460 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33461 Use math_force_eval instead of asm to ensure calculation scheduled
33462 before exception test.
33463 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33464 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33466 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33469 computation is not scheduled after fetestexcept.
33471 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33474 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33475 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33477 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33479 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33480 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33482 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33485 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33487 (__WCHAR_MIN): Support __WORDSIZE == 64.
33488 (__WCHAR_MAX): Likewise.
33490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33491 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33494 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33495 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33498 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33499 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33501 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33502 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33504 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33505 Defined to 1 if __x86_64__ isn't defined.
33506 (_STAT_VER_LINUX_OLD): New.
33507 (st_atime): Remove duplicate.
33508 (st_mtime): Likewise.
33509 (st_ctime): Likewise.
33511 2012-05-31 David S. Miller <davem@davemloft.net>
33513 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33516 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33518 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33522 * elf/dl-reloc.c: Include <_itoa.h>.
33523 (_dl_reloc_bad_type): Remove use of INTUSE.
33524 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33525 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33526 * stdio-common/psiginfo.c (psiginfo): Likewise.
33527 * stdio-common/psignal.c (psignal): Likewise.
33528 * string/strsignal.c (strsignal): Likewise.
33529 * include/signal.h (_sys_siglist): Declare hidden proto.
33530 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33531 INTVARDEF with libc_hidden_data_def.
33532 * stdio-common/itoa-udigits.c: Likewise.
33533 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33534 (_itoa_lower_digits_internal): Remove declaration.
33535 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33536 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33537 (_sys_sigabbrev_internal): Remove aliases.
33538 (_sys_siglist): Define hidden alias.
33540 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33545 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33548 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33549 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33551 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33552 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33553 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33554 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33555 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33556 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33558 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33560 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33562 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33572 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33574 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33575 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33576 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33577 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33578 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33579 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33581 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33582 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33584 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33585 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33587 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33588 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33589 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33591 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33592 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33594 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33596 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33597 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33598 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33600 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33602 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33604 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33606 * math/math.h (M_El): Use two more decimal places.
33607 (M_LOG2El): Likewise.
33608 (M_LOG10El): Likewise.
33609 (M_LN2l): Likewise.
33610 (M_LN10l): Likewise.
33612 (M_PI_2l): Likewise.
33613 (M_PI_4l): Likewise.
33614 (M_1_PIl): Likewise.
33615 (M_2_PIl): Likewise.
33616 (M_2_SQRTPIl): Likewise.
33617 (M_SQRT2l): Likewise.
33618 (M_SQRT1_2l): Likewise.
33620 2012-05-31 David S. Miller <davem@davemloft.net>
33622 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33623 values between float registers.
33624 * sysdeps/sparc/sparc64/memset.S: Likewise.
33625 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33627 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33629 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33630 -D_FORTIFY_SOURCE=1.
33631 (CPPFLAGS-tst-longjmp_chk.c): Define.
33632 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33633 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33634 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33635 CFLAGS-tst-wchar-h.c.
33637 2012-05-31 Marek Polacek <polacek@redhat.com>
33640 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33641 __endmntent_internal): Remove declaration.
33642 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33643 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33644 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33646 2012-05-30 David S. Miller <davem@davemloft.net>
33648 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33649 (___Q_simulate_exceptions): Use real FP ops rather than writing
33651 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33654 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33657 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33658 * sysdeps/x86/bits/xtitypes.h: This.
33660 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33661 * sysdeps/x86/bits/wordsize.h: This.
33663 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33664 * sysdeps/x86/bits/huge_vall.h: This.
33666 * sysdeps/i386/bits/select.h: Removed.
33667 * sysdeps/x86_64/bits/select.h: Renamed to ...
33668 * sysdeps/x86/bits/select.h: This.
33670 * sysdeps/i386/bits/setjmp.h: Removed.
33671 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33672 * sysdeps/x86/bits/setjmp.h: This.
33674 * sysdeps/i386/bits/mathdef.h: Removed.
33675 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33676 * sysdeps/x86/bits/mathdef.h: This.
33678 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33681 * include/sys/socket.h (__connect_internal)
33682 (__libc_sa_len_internal): Remove declaration.
33683 (__connect, __libc_sa_len): Declare hidden_proto.
33684 (SA_LEN): Remove use of INTUSE.
33685 * socket/connect.c: Add libc_hidden_def.
33686 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33687 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33688 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33690 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33691 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33692 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33693 of adding _internal alias.
33695 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33698 * sysdeps/i386/bits/link.h: Removed.
33699 * sysdeps/i386/bits/linkmap.h: Likewise.
33700 * sysdeps/x86_64/bits/link.h: Renamed to ...
33701 * sysdeps/x86/bits/link.h: This.
33702 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33703 * sysdeps/x86/bits/linkmap.h: This.
33705 * sysdeps/i386/bits/endian.h: Removed.
33706 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33707 * sysdeps/x86/bits/endian.h: This.
33709 * sysdeps/i386/bits/byteswap.h: Removed.
33710 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33711 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33712 * sysdeps/x86/bits/byteswap.h: This.
33713 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33714 * sysdeps/x86/bits/byteswap-16.h: This.
33715 * sysdeps/i386/Implies: Add x86.
33716 * sysdeps/x86_64/Implies: Likewise.
33718 2012-05-30 David S. Miller <davem@davemloft.net>
33720 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33721 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33722 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33723 (FP_TRAPPING_EXCEPTIONS): Define.
33724 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33725 (FP_TRAPPING_EXCEPTIONS): Define.
33726 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33727 subnormals only when inexact has been signalled or underflow
33728 exceptions are enabled.
33729 (_FP_PACK_CANONICAL): Likewise.
33731 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33734 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33735 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33737 2012-05-30 Richard Henderson <rth@twiddle.net>
33739 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33740 with #ifndef NOT_IN_libc.
33742 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33743 marked to avoid plt entry.
33745 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33748 * Makeconfig (default-abi): New macro.
33749 (abi-includes): Likewise.
33750 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33751 $(abi-$(default-abi)-lib-soname) for soname if defined.
33752 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33754 * Makefile (installed-stubs): Likewise.
33755 * include/stubs-biarch.h: Removed.
33756 * scripts/lib-names.awk: Only handle one library at a time.
33757 * scripts/soversions.awk: Remove WORDSIZE support.
33758 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33760 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33762 (syscall-list-default-condition): Likewise.
33763 (syscall-list-default-condition): Likewise.
33764 (syscall-list-includes): Likewise.
33765 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33766 syscall-list-* with abi-*. Handle undefined abi-variants.
33767 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33768 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33769 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33770 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33771 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33772 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33774 (syscall-list-32-options): Likewise.
33775 (syscall-list-32-condition): Likewise.
33776 (syscall-list-64-options): Likewise.
33777 (syscall-list-64-condition): Likewise.
33778 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33780 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33783 (abi-64-ld-soname): New macro.
33784 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33785 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33788 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33789 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33791 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33793 * sysdeps/unix/sysv/linux/kernel-features.h
33794 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33795 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33796 include <kernel-features.h>.
33797 [!__NR_ftruncate64]: Remove conditional code.
33798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33799 [__NR_ftruncate64]: Make code unconditional.
33800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33801 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33802 include <kernel-features.h>.
33803 [!__NR_ftruncate64]: Remove conditional code.
33804 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33805 [__NR_ftruncate64]: Make code unconditional.
33806 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33808 include <kernel-features.h>.
33809 [!__NR_ftruncate64]: Remove conditional code.
33810 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33811 [__NR_ftruncate64]: Make code unconditional.
33812 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33814 include <kernel-features.h>.
33815 [!__NR_ftruncate64]: Remove conditional code.
33816 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33817 [__NR_ftruncate64]: Make code unconditional.
33818 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33820 * configure.in (libc_cv_fpie): Weaken to a compile test using
33821 LIBC_TRY_CC_OPTION.
33822 * configure: Regenerated.
33824 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33839 2012-05-27 David S. Miller <davem@davemloft.net>
33841 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33843 (__Q_simulate_exceptions): Return void. Change to simulate
33844 exceptions by writing into the %fsr.
33845 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33846 (__Qp_handle_exceptions): Likewise.
33848 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33849 __Qp_handle_exceptions.
33850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33851 __Qp_handle_exceptions.
33852 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33853 as unused and give dummy FP_RND_NEAREST initializer.
33854 (FP_INHIBIT_RESULTS): Define.
33855 (___Q_simulate_exceptions): Update declaration.
33856 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33858 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33859 as unused and give dummy FP_RND_NEAREST initializer.
33860 (__Qp_handle_exceptions): Update declaration.
33861 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33864 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33866 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33867 the temporary FPU control word.
33868 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33869 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33870 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33871 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33872 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33873 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33874 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33875 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33876 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33877 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33878 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33880 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33882 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33885 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33887 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33888 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33889 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33890 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33892 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33893 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33896 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33898 * po/h.po: Update from translation team.
33900 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33902 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33904 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33905 handling of denormals.
33906 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33907 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33908 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33909 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33912 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33915 2012-05-26 Marek Polacek <polacek@redhat.com>
33918 * math/libm-test.inc (fma_test): Don't always expect underflow
33921 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33924 * elf/tst-execstack.c: Include stackinfo.h.
33925 (do_test): Adjust test case to ensure that pthread_getattr_np
33926 behaviour remains the same after marking stack executable.
33928 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33930 * sysdeps/unix/sysv/linux/kernel-features.h
33931 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33932 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33934 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33935 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33936 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33938 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33939 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33941 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33943 * configure.in: Define the default includes to being none.
33944 * configure: Regenerated.
33946 2012-05-25 Roland McGrath <roland@hack.frob.com>
33948 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33949 * sysdeps/x86_64/setjmp.S: Likewise.
33950 * sysdeps/i386/bsd-setjmp.S: Likewise.
33951 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33952 * sysdeps/i386/setjmp.S: Likewise.
33953 * sysdeps/i386/__longjmp.S: Likewise.
33954 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33955 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33957 * include/stap-probe.h: New file.
33958 * configure.in: Handle --enable-systemtap.
33959 * configure: Regenerated.
33960 * config.h.in (USE_STAP_PROBE): New #undef.
33961 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33962 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33963 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33965 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33968 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33969 to 2.4.0 where earlier.
33970 * sysdeps/unix/sysv/linux/configure: Regenerated.
33971 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
33976 <kernel-features.h>.
33977 [__ASSUME_32BITUIDS]: Make code unconditional.
33978 [!__ASSUME_32BITUIDS]: Remove conditional code.
33979 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33980 [__ASSUME_32BITUIDS]: Make code unconditional.
33981 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33982 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.c: Do not include
34019 <kernel-features.h>.
34020 [__ASSUME_32BITUIDS]: Make code unconditional.
34021 [!__ASSUME_32BITUIDS]: Remove conditional code.
34022 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34023 <kernel-features.h>.
34024 [__NR_setresgid] (__setresgid): Do not declare.
34025 [__ASSUME_32BITUIDS]: Make code unconditional.
34026 [!__ASSUME_32BITUIDS]: Remove conditional code.
34027 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34028 <kernel-features.h>.
34029 [__NR_setresuid] (__setresuid): Do not declare.
34030 [__ASSUME_32BITUIDS]: Make code unconditional.
34031 [!__ASSUME_32BITUIDS]: Remove conditional code.
34032 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/i386/shmctl.c: Do not include
34069 <kernel-features.h>.
34070 [__ASSUME_32BITUIDS]: Make code unconditional.
34071 [!__ASSUME_32BITUIDS]: Remove conditional code.
34072 * sysdeps/unix/sysv/linux/kernel-features.h
34073 (__ASSUME_SETRESUID_SYSCALL): Remove.
34074 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34075 (__ASSUME_32BITUIDS): Likewise.
34076 (__ASSUME_LDT_WORKS): Likewise.
34077 (__ASSUME_O_DIRECTORY): Likewise.
34078 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34079 architecture but not kernel version.
34080 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34081 (__ASSUME_MMAP2_SYSCALL): Likewise.
34082 (__ASSUME_STAT64_SYSCALL): Likewise.
34083 (__ASSUME_IPC64): Likewise.
34084 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34085 <kernel-features.h>.
34086 [__ASSUME_32BITUIDS]: Make code unconditional.
34087 [!__ASSUME_32BITUIDS]: Remove conditional code.
34088 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34089 <kernel-features.h>.
34090 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34091 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34092 132096]: Remove conditional code.
34093 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34094 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
34099 <kernel-features.h>.
34100 [__ASSUME_32BITUIDS]: Make code unconditional.
34101 [!__ASSUME_32BITUIDS]: Remove conditional code.
34102 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34103 <kernel-features.h>.
34104 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34106 (__setresgid): Do not declare.
34107 [__ASSUME_32BITUIDS]: Make code unconditional.
34108 [!__ASSUME_32BITUIDS]: Remove conditional code.
34109 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34110 <kernel-features.h>.
34111 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34113 (__setresuid): Do not declare.
34114 [__ASSUME_32BITUIDS]: Make code unconditional.
34115 [!__ASSUME_32BITUIDS]: Remove conditional code.
34116 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34117 <kernel-features.h>.
34118 [__ASSUME_32BITUIDS]: Make code unconditional.
34119 [!__ASSUME_32BITUIDS]: Remove conditional code.
34120 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34121 <kernel-features.h>.
34122 [__ASSUME_32BITUIDS]: Make code unconditional.
34123 [!__ASSUME_32BITUIDS]: Remove conditional code.
34125 2012-05-25 Richard Henderson <rth@twiddle.net>
34127 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34128 dl_hwcap to ifunc resolver.
34129 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34131 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34132 dl_hwcap to ifunc resolver.
34133 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34135 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34138 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34139 for |x| <= 2**-26, not 2**-57.
34140 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34143 2012-05-24 Jeff Law <law@redhat.com>
34145 * stdio-common/Makefile (tests): Add bug25.
34146 * stdio-common/bug25.c: New test.
34148 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34151 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34152 multiple of MALLOC_ALIGNMENT in size.
34153 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34155 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34157 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34159 (FILENAME_MAX): Use macro-int-constant.
34160 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34161 (_IOFBF): Use macro-int-constant.
34162 (_IOLBF): Likewise.
34163 (_IONBF): Likewise.
34164 (SEEK_CUR): Likewise.
34165 (SEEK_END): Likewise.
34166 (SEEK_SET): Likewise.
34167 (TMP_MAX): Likewise.
34168 (EOF): Use macro-int-constant. Require < 0.
34169 (NULL): Use macro-constant. Require == 0.
34170 (stdin): Require type to be FILE *.
34171 (stdout): Likewise.
34172 (stderr): Likewise.
34173 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34174 macro-int-constant.
34175 (EXIT_SUCCESS): Likewise.
34176 (NULL): Use macro-constant. Require == 0.
34177 (RAND_MAX): Use macro-int-constant.
34178 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34179 [C99-based standards] (strtof): Require function.
34180 [C99-based standards] (strtold): Likewise.
34181 [C99-based standards] (strtoll): Likewise.
34182 [C99-based standards] (strtoull): Likewise.
34183 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34184 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34185 [ISO || ISO99 || ISO11] (math.h): Likewise.
34186 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34187 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34190 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34193 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34194 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34195 * intl/dgettext.c (DCGETTEXT): Likewise.
34196 * intl/gettext.c (DCGETTEXT): Likewise.
34197 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34198 * posix/regex_internal.h (gettext): Likewise.
34199 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34200 Remove declaration.
34201 * include/argz.h (__argz_count_internal)
34202 (__argz_stringify_internal): Remove declaration.
34203 (__argz_count, __argz_stringify): Declare hidden proto.
34204 * intl/dcgettext.c: Remove use of INTDEF.
34205 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34206 * string/argz-stringify.c: Likewise.
34207 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34208 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34209 Declare hidden proto.
34210 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34211 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34212 Declare hidden proto.
34213 * include/stdio.h (__asprintf_internal): Don't declare.
34214 (__asprintf): Don't define as macro. Declare hidden proto.
34215 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34216 (__fsetlocking): Declare hidden proto.
34217 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34218 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34220 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34221 (_IO_setlinebuf): Remove use of INTUSE.
34222 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34223 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34224 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34225 Remove declaration.
34226 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34227 (_IO_do_flush): Remove use of INTUSE.
34228 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34229 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34230 (_IO_adjust_column, _IO_least_wmarker)
34231 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34232 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34233 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34234 (_IO_default_doallocate, _IO_wdefault_doallocate)
34235 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34236 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34237 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34238 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34239 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34240 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34241 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34242 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34243 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34244 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34245 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34246 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34247 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34249 (_IO_flush_all_internal, _IO_adjust_column_internal)
34250 (_IO_default_uflow_internal, _IO_default_finish_internal)
34251 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34252 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34253 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34254 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34255 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34256 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34257 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34258 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34259 (_IO_file_close_internal, _IO_file_close_it_internal)
34260 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34261 (_IO_file_init_internal, _IO_file_attach_internal)
34262 (_IO_file_fopen_internal, _IO_file_read_internal)
34263 (_IO_file_sync_internal, _IO_file_seek_internal)
34264 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34265 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34266 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34267 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34268 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34269 (_IO_list_all_internal, _IO_link_in_internal)
34270 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34271 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34272 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34273 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34274 (_IO_do_write_internal, _IO_padn_internal)
34275 (_IO_getline_info_internal, _IO_getline_internal)
34276 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34277 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34278 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34279 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34280 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34281 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34282 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34283 with libc_hidden_ver, remove use of INTUSE.
34284 * libio/genops.c: Likewise.
34285 * libio/freopen.c: Likewise.
34286 * libio/freopen64.c: Likewise.
34287 * libio/iofclose.c: Likewise.
34288 * libio/iofdopen.c: Likewise.
34289 * libio/iofflush.c: Likewise.
34290 * libio/iofflush_u.c: Likewise.
34291 * libio/iofgets.c: Likewise.
34292 * libio/iofgets_u.c: Likewise.
34293 * libio/iofopen.c: Likewise.
34294 * libio/iofopncook.c: Likewise.
34295 * libio/iofread.c: Likewise.
34296 * libio/iofread_u.c: Likewise.
34297 * libio/ioftell.c: Likewise.
34298 * libio/iofwrite.c: Likewise.
34299 * libio/iogetline.c: Likewise.
34300 * libio/iogets.c: Likewise.
34301 * libio/iogetwline.c: Likewise.
34302 * libio/iopadn.c: Likewise.
34303 * libio/iopopen.c: Likewise.
34304 * libio/ioseekoff.c: Likewise.
34305 * libio/ioseekpos.c: Likewise.
34306 * libio/iosetbuffer.c: Likewise.
34307 * libio/iosetvbuf.c: Likewise.
34308 * libio/ioungetc.c: Likewise.
34309 * libio/ioungetwc.c: Likewise.
34310 * libio/iovdprintf.c: Likewise.
34311 * libio/iovsprintf.c: Likewise.
34312 * libio/iovsscanf.c: Likewise.
34313 * libio/memstream.c: Likewise.
34314 * libio/obprintf.c: Likewise.
34315 * libio/oldfileops.c: Likewise.
34316 * libio/oldiofclose.c: Likewise.
34317 * libio/oldiofdopen.c: Likewise.
34318 * libio/oldiofopen.c: Likewise.
34319 * libio/oldiopopen.c: Likewise.
34320 * libio/oldstdfiles.c: Likewise.
34321 * libio/putc.c: Likewise.
34322 * libio/setbuf.c: Likewise.
34323 * libio/setlinebuf.c: Likewise.
34324 * libio/stdfiles.c: Likewise.
34325 * libio/strops.c: Likewise.
34326 * libio/vasprintf.c: Likewise.
34327 * libio/vscanf.c: Likewise.
34328 * libio/vsnprintf.c: Likewise.
34329 * libio/vswprintf.c: Likewise.
34330 * libio/wfiledoalloc.c: Likewise.
34331 * libio/wfileops.c: Likewise.
34332 * libio/wgenops.c: Likewise.
34333 * libio/wmemstream.c: Likewise.
34334 * libio/wstrops.c: Likewise.
34335 * libio/__fpurge.c: Likewise.
34336 * libio/__fsetlocking.c: Likewise.
34337 * assert/assert.c: Likewise.
34338 * debug/fgets_chk.c: Likewise.
34339 * debug/fgets_u_chk.c: Likewise.
34340 * debug/fread_chk.c: Likewise.
34341 * debug/fread_u_chk.c: Likewise.
34342 * debug/gets_chk.c: Likewise.
34343 * debug/obprintf_chk.c: Likewise.
34344 * debug/vasprintf_chk.c: Likewise.
34345 * debug/vdprintf_chk.c: Likewise.
34346 * debug/vsnprintf_chk.c: Likewise.
34347 * debug/vsprintf_chk.c: Likewise.
34348 * malloc/mtrace.c: Likewise.
34349 * misc/error.c: Likewise.
34350 * misc/syslog.c: Likewise.
34351 * stdio-common/asprintf.c: Likewise.
34352 * stdio-common/fxprintf.c: Likewise.
34353 * stdio-common/getw.c: Likewise.
34354 * stdio-common/isoc99_fscanf.c: Likewise.
34355 * stdio-common/isoc99_scanf.c: Likewise.
34356 * stdio-common/isoc99_vfscanf.c: Likewise.
34357 * stdio-common/isoc99_vscanf.c: Likewise.
34358 * stdio-common/isoc99_vsscanf.c: Likewise.
34359 * stdio-common/printf-prs.c: Likewise.
34360 * stdio-common/printf_fp.c: Likewise.
34361 * stdio-common/printf_fphex.c: Likewise.
34362 * stdio-common/printf_size.c: Likewise.
34363 * stdio-common/putw.c: Likewise.
34364 * stdio-common/scanf.c: Likewise.
34365 * stdio-common/sprintf.c: Likewise.
34366 * stdio-common/tmpfile.c: Likewise.
34367 * stdio-common/vfprintf.c: Likewise.
34368 * stdio-common/vfscanf.c: Likewise.
34369 * stdlib/strfmon_l.c: Likewise.
34370 * sunrpc/openchild.c: Likewise.
34371 * sunrpc/xdr_stdio.c: Likewise.
34372 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34373 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34375 2012-05-24 Roland McGrath <roland@hack.frob.com>
34377 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34379 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34380 in the third column, to generate for the shared library an IFUNC
34381 that uses _dl_vdso_vsym.
34382 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34383 * Makeconfig (object-suffixes-noshared): New variable.
34385 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34386 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34387 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34388 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34391 * include/sys/time.h (__gettimeofday): Remove macro.
34392 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34393 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34395 (__gettimeofday): Add libc_hidden_def.
34396 (gettimeofday): Add libc_hidden_weak.
34397 * sysdeps/mach/gettimeofday.c: Likewise.
34398 * sysdeps/posix/gettimeofday.c: Likewise.
34399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34400 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34402 (__gettimeofday_internal): Remove strong_alias.
34403 (__gettimeofday): Add libc_hidden_def.
34404 (gettimeofday): Add libc_hidden_weak.
34405 * sysdeps/unix/syscalls.list (gettimeofday):
34406 Remove __gettimeofday_internal alias.
34408 2012-05-24 Daniel Jacobowitz <drow@false.org>
34409 H.J. Lu <hongjiu.lu@intel.com>
34412 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34413 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34414 (largebin_index_32_big): New.
34415 (largebin_index): Use it for 16-byte alignment.
34416 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34417 correction with front_misalign.
34419 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34447 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34448 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34450 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34454 * math/libm-test.inc (exp_test): Add test from bug 14036.
34455 (pow_test): Add test from bug 10846.
34457 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34459 (special_function): Do not include flags in test name.
34460 (parse_args): Likewise.
34461 * sysdeps/i386/fpu/libm-test-ulps: Update.
34462 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34463 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34464 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34467 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34469 * math/libm-test.inc ("Philosophy"): Update comment about
34471 (UNDERFLOW_EXCEPTION): New macro.
34472 (UNDERFLOW_EXCEPTION_OK): Likewise.
34473 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34474 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34475 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34476 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34477 (INVALID_EXCEPTION_OK): Update value.
34478 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34479 (OVERFLOW_EXCEPTION_OK): Likewise.
34480 (IGNORE_ZERO_INF_SIGN): Likewise.
34481 (test_exceptions): Handle underflow exceptions.
34482 (acos_test): Update for underflow exception expectations.
34483 (cexp_test): Likewise.
34484 (clog_test): Likewise.
34485 (clog10_test): Likewise.
34486 (csqrt_test): Likewise.
34487 (ctan_test): Likewise.
34488 (ctanh_test): Likewise.
34489 (exp_test): Likewise.
34490 (exp10_test): Likewise.
34491 (exp2_test): Likewise.
34492 (expm1_test): Likewise.
34493 (fma_test): Likewise.
34494 (j0_test): Likewise.
34495 (jn_test): Likewise.
34496 (nexttoward_test): Likewise.
34497 (pow_test): Likewise.
34498 (scalbn_test): Likewise.
34499 (scalbln_test): Likewise.
34500 (tan_test): Likewise.
34501 (y1_test): Likewise.
34502 * sysdeps/i386/fpu/libm-test-ulps: Update.
34503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34505 2012-05-23 David S. Miller <davem@davemloft.net>
34507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34508 (__libc_sigaction): Remove unused local variables.
34510 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34512 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34514 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34516 mktime: avoid signed integer overflow
34517 * time/mktime.c (__mktime_internal): Do not mishandle the case
34518 where diff == INT_MIN.
34520 mktime: simplify computation of average
34521 * time/mktime.c (ranged_convert): Use new time_t_avg function
34522 instead of rolling our own (probably-slower) code.
34524 mktime: do not assume signed right shift propagates sign bit
34525 * time/mktime.c (isdst_differ): New static function.
34526 (__mktime_internal): No need to normalize tm_isdst now.
34527 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34530 mktime: merge another wrapv change from gnulib
34531 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34532 from some compilers.
34534 mktime: remove incorrect attempt at unusual arithmetics
34535 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34536 The code didn't really work on such machines anyway.
34537 (TYPE_MINIMUM): Assume two's complement.
34538 (twos_complement_arithmetic): Verify that long_int and time_t
34539 are two's complement (or unsigned, in the latter case).
34541 mktime: check signed shifts on long_int and time_t, too
34542 * time/mktime.c (SHR): Check that shifts work as desired
34543 on the types long_int and time_t too, as SHR is used on
34546 mktime: do not assume 'long' is wide enough
34547 * time/mktime.c (verify): Move decl up.
34548 (long_int): New type.
34549 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34550 to remove assumption in the code that 'long' is wide enough to
34551 store year values. This assumption is not true on x32 and on
34552 some non-glibc platforms.
34554 mktime: merge wrapv change from gnulib
34555 * time/mktime.c (WRAPV): New macro.
34556 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34557 (guess_time_tm, __mktime_internal): Do not assume that signed
34558 integer overflow wraps around; modern compilers generate code
34559 where this assumption is no longer valid.
34561 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34563 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34564 Replace "jmp L(pseudo_end)" with "ret".
34565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34568 2012-05-23 Andreas Jaeger <aj@suse.de>
34570 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34571 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34573 2012-05-23 Andreas Jaeger <aj@suse.de>
34574 Maximilian Attems <max@stro.at>
34576 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34579 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34581 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34582 code so that pseudo_end is just ret and the stack pointer is
34583 correct also for static library in error case.
34585 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34587 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34588 move to syscalls.list.
34589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34594 * manual/install.texi (Running make install): Do not mention Linux
34595 kernel version for which pt_chown is not needed.
34596 (Linux): Do not mention problems with nscd with 2.0 kernels.
34597 * INSTALL: Regenerated.
34599 2012-05-23 Andreas Jaeger <aj@suse.de>
34601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34602 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34604 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34606 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34607 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34608 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34609 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34610 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34611 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34612 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34613 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34614 * sysdeps/unix/sysv/linux/bits/in.h
34615 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34617 2012-05-22 Roland McGrath <roland@hack.frob.com>
34619 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34620 (PREPARE_VERSION): Just use assert instead, it will be elided
34621 under [NDEBUG] anyway.
34623 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34625 * sysdeps/unix/sysv/linux/Makefile: Include
34626 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34627 (sysdep_routines): Remove sysctl.
34628 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34629 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34630 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34631 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34632 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34634 2012-05-22 Andreas Jaeger <aj@suse.de>
34636 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34637 that pseudo_end is just ret and the stack pointer is correct also
34638 for static library in error case.
34640 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34643 * nss/nsswitch.c (defconfig_entries): New variable.
34644 (__nss_database_lookup): Don't leak defconfig entries.
34645 (nss_parse_service_list): Don't leak on error paths.
34646 (free_database_entries): New function.
34647 (free_defconfig): New function.
34648 (free_mem): Move common code to free_database_entries.
34650 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34652 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34654 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34656 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34657 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34660 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34661 (INTERNAL_SYSCALL_TYPES): Likewise.
34662 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34663 (LOAD_REGS_TYPES_[1-6]): Likewise.
34664 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34665 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34667 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34669 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34670 copysignl for GLIBC_2_0.
34671 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34672 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34673 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34674 logbl for GLIBC_2_0.
34675 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34676 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34678 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34681 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34683 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34686 * time/mktime.c: Update copyright years.
34688 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34690 mktime: merge comment-quoting-style change from gnulib
34691 * time/mktime.c: Quote 'like this' in comments.
34692 The GNU coding standards suggest that we no longer quote `like this',
34693 as "`" and "'" are typically rendered asymmetrically nowadays.
34694 The typical gnulib style is to quote 'like this' when quoting
34695 code, and "like this" when quoting English.
34697 * time/mktime.c (compile-command): Add "-I.".
34699 mktime: merge mktime-internal.h change from gnulib
34700 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34702 mktime: merge time_r change from gnulib
34703 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34705 mktime: merge DEBUG change from gnulib
34706 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34707 case system <time.h> has a #define.
34709 mktime: merge <sys/types.h> change from gnulib
34710 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34711 since <time.t> is now guaranteed to define time_t.
34713 mktime: merge HAVE_CONFIG_H change from gnulib
34714 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34716 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34721 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34723 (struct rusage): Use anonymous union to pad each field to
34726 2012-05-21 David S. Miller <davem@davemloft.net>
34728 * Makefules (o-iterator): Remove .s cases.
34729 (compile-command.s): Delete.
34730 (COMPILE.s): Delete.
34731 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34733 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34735 * configure.in (libc_cv_predef_stack_protector): Only consider
34736 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34737 * configure: Regenerated.
34739 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34742 New macro. Use R*LP on int and pointer.
34743 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34744 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34745 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34746 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34748 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34749 [__WORDSIZE_TIME64_COMPAT32] instead of
34750 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34751 (struct utmp): Likewise.
34752 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34753 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34755 (__WORDSIZE_TIME64_COMPAT32): This.
34756 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34757 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34758 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34759 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34760 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34761 (__WORDSIZE_TIME64_COMPAT32): New macro.
34763 2012-05-21 Andreas Jaeger <aj@suse.de>
34765 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34766 only if [SHARED]. Add prototype for __wcschr_ia32.
34768 2012-05-21 Roland McGrath <roland@hack.frob.com>
34770 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34771 of %rbp unmolested in the jmp_buf while mangling the low bits.
34772 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34773 unmolested high bits of %rbp while demangling the low bits.
34774 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34776 2012-05-21 Andreas Jaeger <aj@suse.de>
34778 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34779 * sunrpc/svc_simple.c: Use it for registerrpc.
34780 * sunrpc/xcrypt.c: Use it for passwd2des.
34782 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34784 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34786 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34787 Don't define if [__SYSCALL_WORDSIZE != 32].
34788 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34791 2012-05-21 Bruno Haible <bruno@clisp.org>
34792 Andreas Jaeger <aj@suse.de>
34794 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34795 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34796 inptr and inend for must_buffer_ch.
34797 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34798 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34799 * stdio-common/Makefile (tests): Remove bug15.
34800 (bug15-ENV): Remove macro.
34801 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34804 2012-05-19 Andreas Jaeger <aj@suse.de>
34805 Roland McGrath <roland@hack.frob.com>
34807 * manual/contrib.texi: Completely rewritten. It contains now an
34808 alphabetical list of contributors and their contributions.
34810 2012-05-21 Richard Henderson <rth@twiddle.net>
34812 * misc/getauxval.c (__getauxval): Use unsigned long int.
34813 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34814 (getauxval): Use unsigned long int.
34816 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34818 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34820 2012-05-21 Roland McGrath <roland@hack.frob.com>
34822 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34823 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34824 __alignof__ (long double).
34826 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34830 2012-05-20 Richard Henderson <rth@twiddle.net>
34832 * misc/getauxval.c: New file.
34833 * misc/sys/auxv.h: New file.
34834 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34835 (routines): Add getauxval.
34836 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34837 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34838 * elf/dl-sysdep.c (_dl_auxv): Remove.
34839 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34840 * elf/dl-support.c (_dl_auxv): New variable.
34841 (_dl_aux_init): Initialize it.
34842 * manual/startup.texi (Auxiliary Vector): New node.
34843 * sysdeps/generic/bits/hwcap.h: New file.
34844 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34845 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34846 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34847 * sysdeps/sparc/sysdep.h: ... here. Include it.
34848 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34849 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34861 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34865 2012-05-19 David S. Miller <davem@davemloft.net>
34867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34869 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34872 * math/s_ccosh.c: Include <float.h>
34873 (__ccosh): Avoid internal overflow calculating sinh and cosh
34874 values before multiplying by sin and cos values.
34875 * math/s_ccoshf.c: Likewise.
34876 * math/s_ccoshl.c: Likewise.
34877 * math/s_csin.c: Likewise.
34878 * math/s_csinf.c: Likewise.
34879 * math/s_csinl.c: Likewise.
34880 * math/s_csinh.c: Likewise.
34881 * math/s_csinhf.c: Likewise.
34882 * math/s_csinhl.c: Likewise.
34883 * math/libm-test.inc (ccos_test): Add more tests.
34884 (ccosh_test): Likewise.
34885 (csin_test): Likewise.
34886 (csinh_test): Likewise.
34887 * sysdeps/i386/fpu/libm-test-ulps: Update.
34888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34890 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34892 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34893 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34895 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34897 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34899 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34900 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34901 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34902 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34903 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34904 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34905 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34906 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34907 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34908 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34909 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34910 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34911 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34912 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34913 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34914 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34915 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34916 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34917 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34918 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34919 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34920 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34921 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34922 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34923 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34924 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34925 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34926 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34927 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34928 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34929 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34931 2012-05-18 Andreas Jaeger <aj@suse.de>
34933 * csu/.gitignore: Delete.
34935 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34937 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34938 (timex): Use __syscall_slong_t.
34940 2012-05-18 Andreas Jaeger <aj@suse.de>
34941 Carlos O'Donell <carlos_odonell@mentor.com>
34943 * manual/install.texi (Configuring and compiling): Update
34944 description about files modified in the source directory.
34945 * INSTALL: Regenerated.
34947 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34949 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34950 value. Use "or" to set return value to -1.
34951 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34952 negate return value.
34954 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34956 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34957 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34958 failure if the compiler has Graphite support disabled.
34959 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34961 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34962 (CFLAGS-memmove.c): Likewise.
34963 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34966 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34968 * sysdeps/x86_64/x32/_itoa.h: New file.
34970 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34971 getdents system call only if kernel and user dirents have the
34972 same d_ino and d_off.
34974 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34975 LLONG_MAX != LONG_MAX.
34976 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34977 (_fitoa_word): Likewise.
34979 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34981 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34982 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34983 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34985 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34986 include <bits/wordsize.h>. Check __x86_64__ instead of
34988 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34989 if __x86_64__ is defined. Use anonymous union on fpstate.
34991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34994 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34996 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34997 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34998 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34999 Refer to _rtld_local_ro instead of _rtld_global_ro.
35000 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35002 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35004 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35006 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35007 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35008 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35010 * sysdeps/powerpc/powerpc32/dl-machine.c
35011 (__elf_machine_runtime_setup) [PROF]: Don't reference
35014 2012-05-18 Andreas Jaeger <aj@suse.de>
35016 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35017 function only available for GCCs before 3.4 since GCC 3.4
35018 introduced a builtin.
35020 (llrintf): Likewise.
35021 (llrint): Likewise.
35028 (nearbyint): Likewise.
35029 (nearbyintf): Likewise.
35033 (floorf): Likewise.
35035 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35037 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35038 on both fields and cast pointer to __syscall_ulong_t.
35040 * bits/types.h (__fsword_t): New type.
35041 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35042 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35044 (__FSWORD_T_TYPE): Likewise.
35045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35046 (__FSWORD_T_TYPE): Likewise.
35047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35048 (__FSWORD_T_TYPE): Likewise.
35049 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35050 (__FSWORD_T_TYPE): Likewise.
35051 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35052 __SWORD_TYPE with __fsword_t.
35053 (statfs64): Likewise.
35055 2012-05-17 David S. Miller <davem@davemloft.net>
35057 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35059 2012-05-17 Andreas Jaeger <aj@suse.de>
35061 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35064 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35066 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35068 2012-05-17 Andreas Jaeger <aj@suse.de>
35070 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35073 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35075 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35077 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35079 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35080 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35082 2012-05-17 Andreas Jaeger <aj@suse.de>
35083 Carlos O'Donell <carlos_odonell@mentor.com>
35086 * sysdeps/x86_64/multiarch/init-arch.h
35087 (bit_YMM_Usable): Rename to...
35088 (bit_AVX_Usable): ... this.
35089 (bit_FMA4_Usable): New macro.
35090 (bit_XMM_state): New macro.
35091 (bit_YMM_state): New macro.
35092 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35093 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35094 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35095 (CPUID_OSXSAVE): New macro.
35096 (CPUID_AVX): New macro.
35097 (CPUID_FMA4): New macro.
35098 (index_YMM_Usable): Rename to...
35099 (index_AVX_Usable): ... this.
35100 (HAS_AVX): Use HAS_ARCH_FEATURE.
35101 (HAS_FMA4): Likewise.
35102 (HAS_YMM_USABLE): Remove.
35103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35104 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35106 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35107 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35108 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35109 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35110 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35112 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35114 * math/libm-test.c: Support platforms without multiple rounding modes.
35115 * math/bug-nextafter.c: Support platforms without FP exceptions.
35116 * math/bug-nexttoward.c: Likewise.
35117 * math/test-fenv.c: Likewise.
35118 * math/test-misc.c: Likewise.
35119 * stdlib/bug-getcontext.c: Likewise.
35121 2012-05-17 Andreas Jaeger <aj@suse.de>
35123 * manual/examples/search.c (critter_cmp): Change signature to
35125 * manual/string.texi (Collation Functions): Likewise.
35127 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35129 * bits/types.h: Fold copyright years.
35130 * bits/typesizes.h: Likewise.
35131 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35135 * time/time.h: Likewise.
35137 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35140 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35141 in instead of returning them. Return void.
35142 (__libc_mallinfo): Accumulate over all arenas.
35143 (__malloc_stats): Adjust for change in int_mallinfo interface.
35145 2012-05-16 Roland McGrath <roland@hack.frob.com>
35148 * configure.in (NM): Add AC_CHECK_TOOL for it.
35149 (libc_extra_cflags): New substituted variable.
35150 Check for -fstack-protector being used implicitly.
35151 * configure: Regenerated.
35152 * config.make.in (config-extra-cflags): New variable,
35153 gets @libc_extra_cflags@.
35154 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35157 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35158 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35159 * configure: Regenerated.
35160 * config.make.in (CPPUNDEFS): New substituted variable.
35161 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35162 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35163 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35165 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35167 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35168 (mq_attr): Use __syscall_slong_t.
35170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35172 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35173 Check __x86_64__ instead of __WORDSIZE.
35174 (_STAT_VER_LINUX): Likewise.
35175 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35176 __syscall_ulong_t and __syscall_slong_t.
35177 (stat64): Likewise.
35179 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35181 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35183 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35185 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35187 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35189 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35192 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35193 include <bits/wordsize.h>. Check __x86_64__ instead of
35195 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35197 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35199 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35200 include <bits/wordsize.h>. Check __x86_64__ instead of
35202 (user_regs_struct): Use "__extension__ unsigned long long"
35203 instead of "unsigned long" if __x86_64__ is defined.
35204 (user): Likewise. Pad after pointer field if __ILP32__ is
35207 2012-05-16 Joseph Myers <joseph@codesourcery.com>
35209 * configure.in (makeinfo): Require version 4.5 or later. Allow
35211 * configure: Regenerated.
35212 * manual/install.texi (texinfo): Increase version requirement to
35214 * INSTALL: Regenerated.
35216 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35218 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35220 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35222 * sysdeps/x86_64/x32/ffs.c: New file.
35224 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35226 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35227 defined. Use __syscall_ulong_t.
35228 (shminfo): Use __syscall_ulong_t.
35229 (shm_info): Likewise.
35231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35234 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35236 (msgqnum_t): Use __syscall_ulong_t.
35237 (msglen_t): Likewise.
35238 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35241 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35242 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35244 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35246 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35247 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35249 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35252 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35253 include <bits/wordsize.h>. Check __x86_64__ instead of
35256 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35257 "unsigned long long int" if __x86_64__ is defined.
35258 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35260 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35261 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35262 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35264 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35266 (GET_PC): Cast to uintptr_t first.
35267 (GET_FRAME): Likewise.
35268 (GET_STACK): Likewise.
35270 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35271 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35276 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35277 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35278 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35281 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35282 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35283 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35284 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35285 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35286 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35287 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35288 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35289 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35290 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35291 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35292 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35293 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35294 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35295 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35296 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35297 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35298 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35300 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35302 * Makerules (+depfiles): Also collect depfiles from .oS in
35304 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35305 .oS, $(libnldbl-routines)).
35307 * Makerules (native-compile-mkdep-flags): Define.
35308 * sunrpc/Makefile (extra-objs): Add $(addprefix
35309 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35310 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35311 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35312 calling $(make-target-directory).
35314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35316 * bits/types.h (__snseconds_t): Removed.
35317 * time/time.h (struct timespec): Replace __snseconds_t with
35319 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35320 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35323 (__SNSECONDS_T_TYPE): Likewise.
35324 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35325 (__SNSECONDS_T_TYPE): Likewise.
35326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35327 (__SNSECONDS_T_TYPE): Likewise.
35329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35331 * sysdeps/mach/hurd/bits/typesizes.h
35332 (__SYSCALL_SLONG_TYPE): New macro.
35333 (__SYSCALL_ULONG_TYPE): Likewise.
35335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35337 * bits/types.h (__syscall_slong_t): New type.
35338 (__syscall_ulong_t): Likewise.
35340 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35341 (__SYSCALL_ULONG_TYPE): Likewise.
35342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35343 (__SYSCALL_SLONG_TYPE): Likewise.
35344 (__SYSCALL_ULONG_TYPE): Likewise.
35345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35346 (__SYSCALL_SLONG_TYPE): Likewise.
35347 (__SYSCALL_ULONG_TYPE): Likewise.
35348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35349 (__SYSCALL_SLONG_TYPE): Likewise.
35350 (__SYSCALL_ULONG_TYPE): Likewise.
35352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35354 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35355 Add sigaltstack-offsets.sym.
35356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35357 <sigaltstack-offsets.h>.
35358 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35359 longjmp_msg pointer.
35360 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35361 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35363 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35365 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35367 * elf/stackguard-macros.h: Remove file.
35368 * sysdeps/generic/stackguard-macros.h: New file.
35369 * sysdeps/i386/stackguard-macros.h: Likewise.
35370 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35371 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35372 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35373 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35374 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35375 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35376 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35377 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35378 <elf/stackguard-macros.h>.
35381 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35382 __aligned__ in attribute.
35383 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35384 (gregset_t): Likewise.
35386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35388 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35389 * sysdeps/x86_64/64/Implies-after: Here. New file.
35390 * sysdeps/x86_64/x32/Implies-after: New file.
35392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35394 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35395 and access return value for _dl_profile_fixup. Use R10_LP to
35398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35400 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35404 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35405 * sysdeps/x86_64/x32/sysdep.h: New file.
35407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35409 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35410 * sysdeps/x86_64/setjmp.S: Likewise.
35412 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35414 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35415 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35416 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35417 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35418 remove unused global constant.
35420 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35422 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35423 include of <not-cancel.h>.
35425 2012-05-15 Roland McGrath <roland@hack.frob.com>
35427 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35429 2012-05-15 Jeff Law <law@redhat.com>
35430 Andreas Jaeger <aj@suse.de>
35433 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35435 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35436 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35437 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35438 code changing __hst_map_handle.map.
35440 2012-05-15 Roland McGrath <roland@hack.frob.com>
35442 * configure.in (sysnames): Look for Implies-before and Implies-after
35444 * configure: Regenerated.
35446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35448 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35449 8-byte data alignment with LP_SIZE alignment.
35451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35453 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35458 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35462 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35463 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35464 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35466 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35470 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35471 (stackinfo_sub_sp): Likewise.
35473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35480 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35490 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35494 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35495 into R11_LP and load __x86_64_shared_cache_size_half into
35498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35500 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35503 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35512 powerpc32/power7/fpu/s_logb.c via #include.
35513 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35514 powerpc32/power7/fpu/s_logbf.c via #include.
35515 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35516 powerpc32/power7/fpu/s_logbl.c via #include.
35518 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35520 * README.libm: Remove file.
35522 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35524 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35525 count for x32. Use R*_LP and omit operand-size suffix.
35527 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35529 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35530 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35531 * sysdeps/x86_64/x32/shlib-versions: New file.
35533 2012-05-14 Roland McGrath <roland@hack.frob.com>
35535 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35536 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35537 Use _dl_fatal_printf instead.
35539 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35541 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35542 set if not set by the user. Do not allow for being unset.
35543 * sysdeps/unix/sysv/linux/configure: Regenerated.
35545 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35547 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35548 the `q' suffix from lea and replace .quad with ASM_ADDR.
35550 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35553 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35555 (PTR_DEMANGLE): Likewise.
35557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35559 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35561 (ASM_ADDR): Likewise.
35562 (RAX_LP): Likewise.
35563 (RBP_LP): Likewise.
35564 (RBX_LP): Likewise.
35565 (RCX_LP): Likewise.
35566 (RDI_LP): Likewise.
35567 (RSI_LP): Likewise.
35568 (RSP_LP): Likewise.
35571 (R10_LP): Likewise.
35572 (R10_LP): Likewise.
35573 (R11_LP): Likewise.
35574 (R12_LP): Likewise.
35575 (R13_LP): Likewise.
35576 (R14_LP): Likewise.
35577 (R15_LP): Likewise.
35579 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35581 * sysdeps/x86_64/x32/dl-machine.h: New file.
35583 2012-05-14 Andreas Jaeger <aj@suse.de>
35585 * manual/Makefile (subdir): Remove export of subdir.
35586 (all): Remove target.
35587 (.PHONY): Remove all from list.
35588 (mkinstalldirs): Remove.
35589 (.PHONY): Remove installdirs from list.
35590 ($(inst_infodir)/libc.info): Use make-target-directory.
35591 (installdirs): Remove.
35592 (subdir_%): Remove.
35593 (glibc-targets): Remove.
35596 ($(objpfx)stubs ../po/manual.pot): Remove.
35597 ($(objpfx)stamp%): Remove.
35598 (make-target-directory): Remove.
35599 (subdir_install): Remove.
35600 (routines): Remove.
35607 * manual/.gitignore: Remove, it's not needed anymore.
35608 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35610 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35612 (texis): Renamed to $(objpfx)texis.
35613 (texis-path): New, contains path to generated files.
35614 (chapters.%): Use texis-path for complete path, add extra argument
35616 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35617 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35618 (summary,texi, stamp-summary): Use complete path of
35619 files. Generate files in build dir.
35620 (dir-add.texi): Build in build dir.
35621 (libm-err.texi,stamp-libm-err): Likewise.
35622 (version.texi, stamp-version): Likewise.
35623 (.%c.texi): Likewise.
35624 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35625 (mostlyclean): Remove target.
35626 (realclean): Remove target.
35627 (generated): Add new variable with contents from mostlyclean and
35628 realclean, remove entries duplicated in common-mostlyclean, add
35629 stamp-libm-err and stamp-version.
35630 (generated-dirs): Add libc directory.
35631 ($(inst_infodir)/libc.info): Install files from build dir.
35633 * manual/install.texi (Configuring and compiling): Adjust since
35634 the info files are not part of the tar ball anymore.
35636 2012-05-14 Andreas Jaeger <aj@suse.de>
35638 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35641 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35644 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35645 to 2.2.0 where earlier.
35646 * sysdeps/unix/sysv/linux/configure: Regenerated.
35647 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35648 Remove conditional code.
35649 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35650 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35651 Remove conditional code.
35652 [!__NR_lchown]: Likewise.
35653 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35654 [__NR_lchown]: Likewise.
35655 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35656 comment referencing __ASSUME_LCHOWN_SYSCALL.
35657 * sysdeps/unix/sysv/linux/i386/sigaction.c
35658 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35659 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35660 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35661 Remove conditional code.
35662 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35663 (__protocol_available): Remove #if 0 code.
35664 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35666 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35667 * sysdeps/unix/sysv/linux/kernel-features.h
35668 (__ASSUME_GETCWD_SYSCALL): Don't define.
35669 (__ASSUME_REALTIME_SIGNALS): Likewise.
35670 (__ASSUME_PREAD_SYSCALL): Likewise.
35671 (__ASSUME_PWRITE_SYSCALL): Likewise.
35672 (__ASSUME_POLL_SYSCALL): Likewise.
35673 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35674 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35676 (__ASSUME_SIOCGIFNAME): Don't define.
35677 (__ASSUME_MSG_NOSIGNAL): Likewise.
35678 (__ASSUME_SENDFILE): Define unconditionally.
35679 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35680 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35682 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35683 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35684 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35685 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35686 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35687 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35688 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35690 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35696 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35702 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35705 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35708 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35709 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35713 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35714 Remove conditional code.
35715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35716 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35717 Remove conditional code.
35718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35719 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35720 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35721 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35722 Remove conditional code.
35723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35724 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35725 Remove conditional code.
35726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35727 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35728 Remove conditional code.
35729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35730 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35731 Remove conditional code.
35732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35733 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35734 Remove conditional code.
35735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35736 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35737 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35739 * sysdeps/unix/sysv/linux/sigaction.c
35740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35742 * sysdeps/unix/sysv/linux/sigpending.c
35743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35745 * sysdeps/unix/sysv/linux/sigprocmask.c
35746 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35747 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35748 * sysdeps/unix/sysv/linux/sigsuspend.c
35749 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35750 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35751 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35752 (__libc_missing_rt_sigs): Remove.
35753 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35754 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35755 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35756 Remove conditional code.
35757 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35758 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35761 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35762 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35763 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35765 2012-05-14 Andreas Jaeger <aj@suse.de>
35767 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35768 it's not used in glibc.
35769 (__coshm1): Likewise.
35770 (__acosh1p): Likewise.
35773 * manual/string.texi (Copying and Concatenation): Add missing
35774 variable in concat example.
35775 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35777 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35781 __builtin_clzl with __builtin_clzll.
35783 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35786 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35789 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35791 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35792 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35793 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35794 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35796 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35798 * NEWS: Update ia64 info.
35800 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35802 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35805 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35807 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35808 * sysdeps/unix/syscalls.list (dup3): Likewise.
35809 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35810 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35812 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35814 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35815 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35817 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35819 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35821 (TLS_IE): Use mov/add instead of movq/addq to load thread
35823 (TLS_GD_PREFIX): New.
35826 2012-05-11 David S. Miller <davem@davemloft.net>
35828 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35829 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35830 (_FPU_SETCW): Likewise.
35832 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35834 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35835 is 32-byte aligned.
35837 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35840 * iconvdata/gb18030.c: Update tables.
35841 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35842 characters specially.
35843 (BODY for TO_LOOP): Add encoding of missing ranges.
35845 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35848 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35849 * sysdeps/mach/hurd/dup3.c: Likewise.
35850 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35851 * sysdeps/powerpc/memmove.c:: Likewise.
35853 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35855 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35856 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35858 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35860 * elf/elf.h (R_X86_64_RELATIVE64): New.
35861 (R_X86_64_NUM): Updated.
35862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35863 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35864 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35865 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35866 tst-quad1pie tst-quad2pie
35867 (modules-names): Add tst-quadmod1 tst-quadmod2.
35868 ($(objpfx)tst-quad1): New dependency.
35869 ($(objpfx)tst-quad2): Likewise.
35870 ($(objpfx)tst-quad1pie): Likewise.
35871 ($(objpfx)tst-quad2pie): Likewise.
35872 * sysdeps/x86_64/tst-quad1.c: New file.
35873 * sysdeps/x86_64/tst-quad1pie.c: New file.
35874 * sysdeps/x86_64/tst-quad2.c: Likewise.
35875 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35876 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35877 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35878 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35879 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35883 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35884 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35885 * streams/stropts.h (t_scalar_t): Define type.
35887 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35888 (_PATH_PRESERVE): Set to "/var/lib".
35889 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35891 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35894 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35895 if __dir_mkfile succeeded.
35897 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35898 checking for _hurd_dtablesize. Unlock it right after having
35899 finished _hurd_dtable allocation.
35901 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35903 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35904 * sysdeps/mach/hurd/configure: Regenerated.
35905 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35906 special-casing to...
35907 * sysdeps/gnu/configure.in: ... this new file.
35908 * sysdeps/unix/sysv/linux/configure: Regenerated.
35909 * sysdeps/gnu/configure: New generated file.
35911 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35912 for Linux: use nsec instead of usec, as well as:
35913 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35914 members of type struct timespec.
35915 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35917 (struct stat64): Likewise.
35918 (_STATBUF_ST_NSEC): New macro.
35919 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35921 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35922 __strtoul_internal rather than strtoul.
35924 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35926 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35931 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35932 which preserves existing values.
35933 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35935 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35937 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35938 TIMEOUT values. Return EINVAL for NFDS values either negative or
35939 greater than FD_SETSIZE.
35941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35943 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35944 allocated, call __vm_protect to finish enabling the existing space, and
35945 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35946 allocate the remainder.
35948 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35950 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35951 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35953 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35955 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35956 sysdeps/mach/hurd/readlink.c.
35958 * posix/tst-sysconf.c (posix_options): Only use
35959 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35960 _POSIX_SYNCHRONIZED_IO when they are defined
35961 * sysdeps/mach/hurd/bits/posix_opt.h:
35962 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35963 (_XOPEN_REALTIME): Undefine macro.
35964 (_XOPEN_REALTIME_THREADS): Undefine macro.
35965 (_XOPEN_SHM): Undefine macro.
35966 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35968 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35970 (_POSIX_ASYNC_IO): Undefine macro.
35971 (_POSIX_PRIORITIZED_IO): Undefine macro.
35972 (_POSIX_SPIN_LOCKS): Define macro to -1.
35974 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35975 SA_NODEFER, SA_RESETHAND.
35976 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35977 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35980 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35982 * elf/Makefile (pldd-modules): Define unconditionally.
35984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35986 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35988 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35990 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35991 Return ENOENT when name is empty.
35992 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35994 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35996 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35998 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36002 Fix mlock in all cases except non-readable pages.
36003 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36004 instead of VM_PROT_ALL as parameter to __vm_wire function.
36006 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36007 (__mkdir): When path is `/', just fail with EEXIST.
36008 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36010 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36012 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36013 <sys/uio.h> (for writev).
36014 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36015 and <sys/param.h> (for MIN).
36017 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36019 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36020 REQUESTED_TIME. Properly set the remaining time and return EINTR
36023 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36025 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36026 Depend on against $(link-rpcuserlibs).
36028 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36030 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36031 (__libc_stack_end): Do not use attribute_relro.
36032 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36033 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36034 to libthread-provided value.
36035 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36038 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36041 * bits/libc-lock.h (__libc_once_get): New macro.
36042 * sysdeps/mach/bits/libc-lock.h: Likewise.
36043 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36044 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36045 instead of using implementation details.
36047 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36048 * libio/freopen.c: Likewise.
36049 * libio/freopen64.c: Likewise.
36050 * misc/syslog.c: Likewise.
36051 * nscd/connections.c: Likewise.
36052 * nscd/netgroupcache.c: Likewise.
36053 * sysdeps/posix/getcwd.c: Likewise.
36055 2012-05-10 Roland McGrath <roland@hack.frob.com>
36057 * math/w_ilogbf.c: Add #include <limits.h>.
36059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36061 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36062 path instead of returning without unlocking.
36064 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36065 immediate-write ioctls.
36066 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36068 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36070 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36071 __builtin_frame_address instead of making assumptions about the
36072 location of the return address relative to DATA. Force early load of
36073 the return address.
36074 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36075 __builtin_frame_address.
36078 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36079 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36080 implement dup3 and do some further code clean-ups.
36081 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36082 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36084 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36086 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36088 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36089 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36090 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36091 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36092 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36095 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36096 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36097 when handler == SIG_ERR, not when handler != SIG_ERR.
36099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36101 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36102 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36105 accept4 for GNU Hurd.
36106 * include/sys/socket.h (__libc_accept4): New prototype.
36107 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36108 to implement __libc_accept4.
36109 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36111 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36113 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36114 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36115 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36116 signal-defines.sym.
36118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36120 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36122 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
36124 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36125 assertion on O_CLOEXEC flag.
36126 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36127 * hurd/intern-fd.c: Likewise.
36128 * hurd/port2fd.c: Likewise.
36130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36133 * bits/in.h (IPV6_PKTINFO): Define new macro.
36134 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36136 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36141 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36142 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36143 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36144 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36146 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36147 * math/libm-test.inc (logb_test) : Additional logb tests.
36149 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36150 Andreas Jaeger <aj@suse.de>
36152 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36153 * configure: Regenerated.
36154 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36155 * config.make.in (link-obsolete-rpc): New substituted variable.
36156 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36157 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36158 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36159 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36160 so that libc.a contains the symbols.
36161 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36162 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36163 * sunrpc/auth_none.c: Likewise.
36164 * sunrpc/auth_unix.c: Likewise.
36165 * sunrpc/authdes_prot.c: Likewise.
36166 * sunrpc/authuxprot.c: Likewise.
36167 * sunrpc/clnt_gen.c: Likewise.
36168 * sunrpc/clnt_perr.c: Likewise.
36169 * sunrpc/clnt_raw.c: Likewise.
36170 * sunrpc/clnt_simp.c: Likewise.
36171 * sunrpc/clnt_tcp.c: Likewise.
36172 * sunrpc/clnt_udp.c: Likewise.
36173 * sunrpc/clnt_unix.c: Likewise.
36174 * sunrpc/des_crypt.c: Likewise.
36175 * sunrpc/des_soft.c: Likewise.
36176 * sunrpc/get_myaddr.c: Likewise.
36177 * sunrpc/key_call.c: Likewise.
36178 * sunrpc/key_prot.c: Likewise.
36179 * sunrpc/netname.c: Likewise.
36180 * sunrpc/pm_getmaps.c: Likewise.
36181 * sunrpc/pm_getport.c: Likewise.
36182 * sunrpc/pmap_clnt.c: Likewise.
36183 * sunrpc/pmap_prot.c: Likewise.
36184 * sunrpc/pmap_prot2.c: Likewise.
36185 * sunrpc/pmap_rmt.c: Likewise.
36186 * sunrpc/publickey.c: Likewise.
36187 * sunrpc/rpc_cmsg.c: Likewise.
36188 * sunrpc/rpc_common.c: Likewise.
36189 * sunrpc/rpc_dtable.c: Likewise.
36190 * sunrpc/rpc_prot.c: Likewise.
36191 * sunrpc/rpc_thread.c: Likewise.
36192 * sunrpc/rtime.c: Likewise.
36193 * sunrpc/svc.c: Likewise.
36194 * sunrpc/svc_auth.c: Likewise.
36195 * sunrpc/svc_raw.c: Likewise.
36196 * sunrpc/svc_run.c: Likewise.
36197 * sunrpc/svc_tcp.c: Likewise.
36198 * sunrpc/svc_udp.c: Likewise.
36199 * sunrpc/svc_unix.c: Likewise.
36200 * sunrpc/svcauth_des.c: Likewise.
36201 * sunrpc/xcrypt.c: Likewise.
36202 * sunrpc/xdr.c: Likewise.
36203 * sunrpc/xdr_array.c: Likewise.
36204 * sunrpc/xdr_float.c: Likewise.
36205 * sunrpc/xdr_intXX_t.c: Likewise.
36206 * sunrpc/xdr_mem.c: Likewise.
36207 * sunrpc/xdr_rec.c: Likewise.
36208 * sunrpc/xdr_ref.c: Likewise.
36209 * sunrpc/xdr_sizeof.c: Likewise.
36210 * sunrpc/xdr_stdio.c: Likewise.
36212 2012-05-10 Roland McGrath <roland@hack.frob.com>
36214 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36215 change. Update copyright years.
36217 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36219 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36221 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36222 Joseph Myers <joseph@codesourcery.com>
36223 Paul Pluzhnikov <ppluzhnikov@google.com>
36226 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36228 [cross-compiling] (extra-libs): Likewise.
36229 [cross-compiling] (extra-libs-others): Likewise.
36230 [cross-compiling] (librpcsvc-routines): Likewise.
36231 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36232 [cross-compiling] (omit-deps): Likewise.
36233 (sunrpc-CPPFLAGS): New variable.
36234 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36235 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36236 (cross-rpcgen-objs): New variable.
36237 (extra-objs): Append $(cross-rpcgen-objs).
36238 ($(cross-rpcgen-objs)): New rule.
36239 ($(objpfx)cross-rpcgen): Likewise.
36240 (rpcgen-cmd): Define to use $(built-program-file). Expand
36242 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36243 ($(objpfx)x%.stmp): Likewise.
36244 * sunrpc/proto.h [IS_IN_build] (_): Define.
36245 [IS_IN_build] (_libc_intl_domainname): Likewise.
36247 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36250 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36251 and R_X86_64_TPOFF64.
36253 2012-05-10 Joseph Myers <joseph@codesourcery.com>
36255 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36256 sysdeps/unix/sysv/syscalls.list.
36259 * sysdeps/unix/sysv/syscalls.list: Remove file.
36261 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36264 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36265 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36266 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36267 (__LC_IDENTIFICATION): Make these macros useful in #if
36268 expressions, as required by C99.
36270 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36272 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36273 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36276 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36278 * stdlib/longlong.h: Updated from GCC.
36280 2012-05-09 Andreas Jaeger <aj@suse.de>
36282 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36283 default is first entry.
36284 (run_mode): Set type.
36285 (main): Remove informal message about syslog.
36286 (options): Fix typo.
36289 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36292 (llrintf): Likewise.
36293 (llrint): Likewise.
36296 (nearbyint): Likewise.
36297 (nearbyintf): Likewise.
36299 2012-05-09 Andreas Jaeger <aj@suse.de>
36300 Pedro Alves <palves@redhat.com>
36302 * nscd/nscd.c (run_mode): Use enum.
36303 (main): Cleanup coding style issue.
36305 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
36306 Andreas Jaeger <aj@suse.de>
36308 * nscd/nscd.c (go_background): Replaced with...
36309 (run_mode): ... this.
36310 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36311 (options): Add -F --foreground.
36312 (main): Implement it.
36313 (parse_opt): Parse it.
36315 2012-05-09 Andreas Jaeger <aj@suse.de>
36318 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36319 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36320 -Wconversion warning.
36321 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36324 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36326 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36328 (LC_ALL): Use macro-int-constant.
36329 (LC_COLLATE): Likewise.
36330 (LC_CTYPE): Likewise.
36331 (LC_MESSAGES): Likewise.
36332 (LC_MONETARY): Likewise.
36333 (LC_NUMERIC): Likewise.
36334 (LC_TIME): Likewise.
36335 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36336 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36338 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36340 [C99-based standards] (float_t): Expect type.
36341 [C99-based standards] (double_t): Expect type.
36342 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36344 [C99-based standards] (HUGE_VALL): Likewise.
36345 [C99-based standards] (INFINITY): Likewise.
36346 [C99-based standards] (NAN): Likewise.
36347 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36348 [C99-based standards] (FP_NAN): Likewise.
36349 [C99-based standards] (FP_NORMAL): Likewise.
36350 [C99-based standards] (FP_SUBNORMAL): Likewise.
36351 [C99-based standards] (FP_ZERO): Likewise.
36352 [C99-based standards] (FP_FAST_FMA): Use
36353 optional-macro-int-constant. Specify type. Require == 1.
36354 [C99-based standards] (FP_FAST_FMAF): Likewise.
36355 [C99-based standards] (FP_FAST_FMAL): Likewise.
36356 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36357 [C99-based standards] (FP_ILOGBNAN): Likewise.
36358 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36360 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36361 [C99-based standards] (math_errhandling): Specify type.
36362 [ISO99 || ISO11] (signgam): Do not allow.
36363 [non-C99-based standards] (copysignf): Do not allow.
36364 [non-C99-based standards] (exp2f): Likewise.
36365 [non-C99-based standards] (log2f): Likewise.
36366 [non-C99-based standards] (modff): Allow.
36367 [non-C99-based standards] (erff): Do not allow.
36368 [non-C99-based standards] (erfcf): Likewise.
36369 [non-C99-based standards] (gammaf): Likewise.
36370 [non-C99-based standards] (hypotf): Likewise.
36371 [non-C99-based standards] (j0f): Likewise.
36372 [non-C99-based standards] (j1f): Likewise.
36373 [non-C99-based standards] (jnf): Likewise.
36374 [non-C99-based standards] (lgammaf): Likewise.
36375 [non-C99-based standards] (tgammaf): Likewise.
36376 [non-C99-based standards] (y0f): Likewise.
36377 [non-C99-based standards] (y1f): Likewise.
36378 [non-C99-based standards] (ynf): Likewise.
36379 [non-C99-based standards] (isnanf): Likewise.
36380 [non-C99-based standards] (acoshf): Likewise.
36381 [non-C99-based standards] (asinhf): Likewise.
36382 [non-C99-based standards] (atanhf): Likewise.
36383 [non-C99-based standards] (cbrtf): Likewise.
36384 [non-C99-based standards] (expm1f): Likewise.
36385 [non-C99-based standards] (ilogbf): Likewise.
36386 [non-C99-based standards] (log1pf): Likewise.
36387 [non-C99-based standards] (logbf): Likewise.
36388 [non-C99-based standards] (nextafterf): Likewise.
36389 [non-C99-based standards] (remainderf): Likewise.
36390 [non-C99-based standards] (rintf): Likewise.
36391 [non-C99-based standards] (scalbf): Likewise.
36392 [non-C99-based standards] (copysignl): Likewise.
36393 [non-C99-based standards] (exp2l): Likewise.
36394 [non-C99-based standards] (log2l): Likewise.
36395 [non-C99-based standards] (modfl): Allow.
36396 [non-C99-based standards] (erfl): Do not allow.
36397 [non-C99-based standards] (erfcl): Likewise.
36398 [non-C99-based standards] (gammal): Likewise.
36399 [non-C99-based standards] (hypotl): Likewise.
36400 [non-C99-based standards] (j0l): Likewise.
36401 [non-C99-based standards] (j1l): Likewise.
36402 [non-C99-based standards] (jnl): Likewise.
36403 [non-C99-based standards] (lgammal): Likewise.
36404 [non-C99-based standards] (tgammal): Likewise.
36405 [non-C99-based standards] (y0l): Likewise.
36406 [non-C99-based standards] (y1l): Likewise.
36407 [non-C99-based standards] (ynl): Likewise.
36408 [non-C99-based standards] (isnanl): Likewise.
36409 [non-C99-based standards] (acoshl): Likewise.
36410 [non-C99-based standards] (asinhl): Likewise.
36411 [non-C99-based standards] (atanhl): Likewise.
36412 [non-C99-based standards] (cbrtl): Likewise.
36413 [non-C99-based standards] (expm1l): Likewise.
36414 [non-C99-based standards] (ilogbl): Likewise.
36415 [non-C99-based standards] (log1pl): Likewise.
36416 [non-C99-based standards] (logbl): Likewise.
36417 [non-C99-based standards] (nextafterl): Likewise.
36418 [non-C99-based standards] (remainderl): Likewise.
36419 [non-C99-based standards] (rintl): Likewise.
36420 [non-C99-based standards] (scalbl): Likewise.
36421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36422 [non-C99-based standards] (FP_*): Do not allow.
36423 [C99-based standards] (FP_*): Change to
36424 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36425 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36427 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36428 (SIG_ERR): Likewise.
36429 [X/Open-based standards] (SIG_HOLD): Likewise.
36430 (SIG_IGN): Likewise.
36431 (SIGABRT): Use macro-int-constant. Specify type. Require
36433 (SIGFPE): Likewise.
36434 (SIGILL): Likewise.
36435 (SIGINT): Likewise.
36436 (SIGSEGV): Likewise.
36437 (SIGTER): Likewise.
36438 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36439 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36440 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36441 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36442 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36443 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36444 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36445 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36446 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36447 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36448 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36449 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36450 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36451 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36452 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36453 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36454 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36455 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36456 [X/Open-based standards] (SIGTRAP): Likewise.
36457 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36458 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36459 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36460 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36461 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36464 2012-05-08 Ian Wienand <ianw@vmware.com>
36467 * time/tzset.c (__tzset_parse_tz): Update default rules for
36468 daylight time changes in the Energy Policy Act of 2005.
36470 2012-05-09 Andreas Jaeger <aj@suse.de>
36473 * elf/ldconfig.c (parse_conf): Change string to make clear that
36474 ldconfig only issued a warning if ld.so.conf does not exist.
36476 2012-05-08 David S. Miller <davem@davemloft.net>
36478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36479 movxtod instead of popping the value on the stack.
36481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36483 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36485 * config.h.in: Add HAVE_ARM_PCS_VFP.
36487 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36490 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36491 checking but the checks are disabled for any reason.
36493 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36495 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36496 and ELF64_R_TYPE with ELFW(R_TYPE).
36498 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36500 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36501 (ulimit): Likewise.
36503 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36504 (settimeofday): Likewise.
36506 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36508 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36509 a struct th_u2 inside the union, and move tu_block/tu_code into
36510 a new th_u3 union of tu_block/tu_code inside of that. Move
36511 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36512 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36513 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36514 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36515 (th_stuff): Change to th_u1.tu_stuff.
36517 (th_msg): Change to th_u1.th_u2.tu_data.
36519 2012-05-07 David S. Miller <davem@davemloft.net>
36521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36524 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36525 (SETUP_PIC_REG): Use it.
36526 (SETUP_PIC_REG_LEAF): Use it.
36528 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36532 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36534 (EXPL_FINITE): Likewise.
36535 (FLDLOG): Likewise.
36536 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36537 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36539 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36541 (EXPL_FINITE): Likewise.
36542 (FLDLOG): Likewise.
36543 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36544 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36546 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36547 test of -max_value argument for long double.
36548 * sysdeps/i386/fpu/libm-test-ulps: Update.
36549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36551 2012-05-06 David S. Miller <davem@davemloft.net>
36553 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36554 quad soft-float symbols whose references which are compiler
36556 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36558 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36562 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36564 (EXPL_FINITE): Likewise.
36565 (FLDLOG): Likewise.
36568 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36569 Adjust comments for base varying.
36570 (__expl_finite): Change alias to EXPL_FINITE.
36571 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36573 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36574 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36575 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36576 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36577 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36579 (EXPL_FINITE): Likewise.
36580 (FLDLOG): Likewise.
36583 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36584 Adjust comments for base varying.
36585 (__expl_finite): Change alias to EXPL_FINITE.
36586 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36591 * math/libm-test.inc (check_float_internal): Correct ulp
36592 calculation for subnormal expected results.
36594 2012-05-06 Andreas Jaeger <aj@suse.de>
36596 * Makeconfig (+math-flags): New, set to -frounding-math.
36597 (+cflags): Add +math-flags so that all of glibc gets compiled with
36600 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36602 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36604 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36610 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36611 (__ieee754_expl): Allow for and saturate large arguments.
36612 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36613 (u_threshold): Likewise.
36614 (__exp): Call __ieee754_exp before checking for overflow and
36616 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36617 (u_threshold): Likewise.
36618 (__expf): Call __ieee754_expf before checking for overflow and
36620 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36621 (u_threshold): Likewise.
36622 (__expl): Call __ieee754_expl before checking for overflow and
36624 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36625 (__ieee754_expl): Allow for and saturate large arguments.
36626 * math/libm-test.inc (exp_test): Add another test. Do not allow
36627 missing overflow exception on overflow.
36628 (expm1_test): Do not allow missing overflow exception on overflow.
36630 * sysdeps/i386/fpu/e_expl.c: Move to ...
36631 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36632 rather than using inline asm.
36633 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36634 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36635 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36637 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36640 (signal): Likewise.
36644 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36646 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36647 sysdeps/unix/common/syscalls.list.
36648 (fchmod): Likewise.
36649 (fchown): Likewise.
36650 (ftruncate): Likewise.
36651 (getrusage): Likewise.
36652 (gettimeofday): Likewise.
36653 (setpgid): Likewise.
36654 (setregid): Likewise.
36655 (setreuid): Likewise.
36656 (sigaction): Likewise.
36657 (truncate): Likewise.
36658 (vhangup): Likewise.
36659 * sysdeps/unix/common/syscalls.list: Remove file.
36660 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36661 * sysdeps/unix/sysv/linux/Implies: Likewise.
36663 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36665 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36667 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36671 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36674 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36677 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36680 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36683 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36686 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36689 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36693 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36697 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36700 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36704 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36708 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36710 * sysdeps/unix/common/bits/dirent.h: Remove file.
36711 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36713 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36714 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36715 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36716 * sysdeps/unix/bsd/isatty.c: Likewise.
36717 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36718 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36719 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36721 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36725 long double comparison inaccuracies.
36726 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36729 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36731 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36734 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36737 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36738 nonzero digits before rounding a hex value.
36739 * stdlib/tst-strtod.c (tests): Add another test.
36741 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36743 * sysdeps/s390/fpu/libm-test-ulps: Update.
36745 2012-05-03 Andreas Jaeger <aj@suse.de>
36747 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36748 does not get optimized out.
36749 (malloc_opt_barrier): New.
36751 2012-05-03 Andreas Jaeger <aj@suse.de>
36752 Roland McGrath <roland@hack.frob.com>
36754 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36755 intermediate file deletion.
36756 (generated): Add .symlist files.
36758 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36761 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36762 Redirect under this condition.
36763 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36764 [__USE_GNU] (__dprintf_chk): Not under this condition.
36765 [__USE_GNU] (__vdprintf_chk): Likewise.
36766 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36767 under this condition.
36768 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36769 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36770 [__USE_XOPEN2K8] (vdprintf): Likewise.
36771 [__USE_GNU] (__dprintf_chk): Not under this condition.
36772 [__USE_GNU] (__vdprintf_chk): Likewise.
36773 [__USE_GNU] (dprintf): Likewise.
36774 [__USE_GNU] (vdprintf): Likewise.
36776 2012-05-03 Roland McGrath <roland@hack.frob.com>
36778 * elf/Makefile (common-generated): Set this instead of generated for
36779 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36780 $(all-built-dso)-derived lists.
36782 2012-05-03 Andreas Jaeger <aj@suse.de>
36784 * sysdeps/i386/fpu/libm-test-ulps: Update.
36787 * FAQ.in: Likewise.
36788 * scripts/gen-FAQ.pl: Likewise.
36789 * manual/install.texi (Installation): Point to online location of
36791 * Makefile (files-for-dist): Remove FAQ.
36794 2012-05-02 Allan McRae <allan@archlinux.org>
36796 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36797 (LDFLAGS-reldepmod5.so): Likewise.
36798 (LDFLAGS-reldep6mod1.so): Likewise.
36799 (LDFLAGS-reldep6mod4.so): Likewise.
36800 (LDFLAGS-reldep8mod3.so): Likewise.
36801 (LDFLAGS-unload4mod1.so): Likewise.
36802 (LDFLAGS-unload4mod2.so): Likewise.
36803 (LDFLAGS-tst-initorder): Likewise.
36804 (LDFLAGS-tst-initordera2.so): Likewise.
36805 (LDFLAGS-tst-initordera3.so): Likewise.
36806 (LDFLAGS-tst-initordera4.so): Likewise.
36807 (LDFLAGS-tst-initorderb2.so): Likewise.
36808 (LDFLAGS-noload): Likewise.
36809 (LDFLAGS-next): Likewise.
36810 (LDFLAGS-order2mod1.so): Likewise.
36811 (LDFLAGS-order2mod2.so): Likewise.
36812 (LDFLAGS-tst-initorder2): Likewise.
36813 (LDFLAGS-tst-initorder2a.so): Likewise.
36814 (LDFLAGS-tst-initorder2b.so): Likewise.
36815 (LDFLAGS-tst-initorder2c.so): Likewise.
36816 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36818 2012-05-02 David S. Miller <davem@davemloft.net>
36820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36822 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36825 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36827 2012-05-02 Andreas Jaeger <aj@suse.de>
36829 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36830 since we manipulate rounding mode.
36831 (CPPFLAGS-test-idouble.c): Likewise.
36832 (CPPFLAGS-test-ifloat.c): Likewise.
36833 (CFLAGS-test-ldouble.c): Likewise.
36834 (CFLAGS-test-double.c): Likewise.
36835 (CFLAGS-test-float.c): Likewise.
36836 (CFLAGS-test-misc.c): Likewise.
36837 (CFLAGS-test-test-fenv.c): Likewise.
36839 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36843 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36844 comparisons to determine direction to adjust input.
36846 2012-05-01 Roland McGrath <roland@hack.frob.com>
36848 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36849 output to the target.
36851 * scripts/localplt.awk: New file.
36852 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36853 (check-localplt-CFLAGS): Variable removed.
36854 ($(all-built-dso:=.jmprel)): New static pattern rule.
36855 (generated): Add those targets.
36856 (localplt-built-dso): New variable.
36857 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36859 * elf/check-localplt.c: File removed.
36861 * scripts/check-execstack.awk: New file.
36862 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36863 (check-execstack-CFLAGS): Variable removed.
36864 ($(objpfx)check-execstack.h): Target removed.
36865 ($(objpfx)execstack-default): New target.
36866 (generated): Add that instead of check-execstack.h.
36867 ($(all-built-dso:=.phdr)): New static pattern rule.
36868 (generated): Add those targets.
36869 * elf/check-execstack.c: File removed.
36871 * scripts/check-textrel.awk: New file.
36872 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36873 (check-textrel-CFLAGS): Variable removed.
36874 (all-built-dso): Use := to define.o
36875 ($(all-built-dso:=.dyn)): New static pattern rule.
36876 (generated): Add those targets.
36877 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36878 * config.make.in (READELF): New substituted variable.
36879 * elf/check-textrel.c: File removed.
36881 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36883 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36885 * conform/data/ctype.h-data [C99-based standards] (isblank):
36887 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36888 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36889 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36890 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36891 Specify type. Require positive value.
36892 (EILSEQ): Likewise.
36893 (ERANGE): Likewise.
36894 [ISO || POSIX] (EILSEQ): Do not expect.
36895 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36896 Specify type. Require positive value.
36897 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36898 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36899 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36900 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36901 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36902 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36903 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36904 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36905 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36911 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36912 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36913 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36914 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36915 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36917 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36922 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36923 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36924 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36925 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36926 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36927 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36928 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36929 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36930 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36931 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36932 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36933 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36934 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36935 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36936 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36937 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36938 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36939 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36940 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36941 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36942 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36943 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36944 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36945 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36946 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36947 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36948 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36949 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36950 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36951 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36952 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36953 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36954 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36955 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36956 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36957 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36958 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36959 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36960 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36961 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36962 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36963 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36964 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36965 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36966 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36967 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36968 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36969 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36970 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36971 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36972 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36973 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36975 (FLT_ROUNDS): Expect as macro, not constant.
36976 (FLT_MANT_DIG): Use macro-int-constant.
36977 (DBL_MANT_DIG): Likewise.
36978 (LDBL_MANT_DIG): Likewise.
36979 (FLT_DIG): Likewise.
36980 (DBL_DIG): Likewise.
36981 (LDBL_DIG): Likewise.
36982 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36983 (DBL_MIN_EXP): Likewise.
36984 (LDBL_MIN_EXP): Likewise.
36985 (FLT_MAX_EXP): Use macro-int-constant.
36986 (DBL_MAX_EXP): Likewise.
36987 (LDBL_MAX_EXP): Likewise.
36988 (FLT_MAX_10_EXP): Likewise.
36989 (DBL_MAX_10_EXP): Likewise.
36990 (LDBL_MAX_10_EXP): Likewise.
36991 (FLT_MAX): Use macro-constant.
36992 (DBL_MAX): Likewise.
36993 (LDBL_MAX): Likewise.
36994 (FLT_EPSILON): Use macro-constant. Give upper bound.
36995 (DBL_EPSILON): Likewise.
36996 (LDBL_EPSILON): Likewise.
36997 (FLT_MIN): Likewise.
36998 (DBL_MIN): Likewise.
36999 (LDBL_MIN): Likewise.
37000 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37001 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37002 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37003 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37004 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37005 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37006 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37007 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37008 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37009 [ISO11] (FLT_TRUE_MIN): Likewise.
37010 [ISO11] (LDBL_TRUE_MIN): Likewise.
37011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37012 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37013 (SCHAR_MIN): Use macro-int-constant. Specify type.
37014 (SCHAR_MAX): Likewise.
37015 (UCHAR_MAX): Likewise.
37016 (CHAR_MIN): Likewise.
37017 (CHAR_MAX): Likewise.
37018 (MB_LEN_MAX): Use macro-int-constant.
37019 (SHRT_MIN): Use macro-int-constant. Specify type.
37020 (SHRT_MAX): Likewise.
37021 (USHRT_MAX): Likewise.
37022 (INT_MAX): Likewise.
37023 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37025 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37027 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37029 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37030 bound negative. Suffix upper bound with "L".
37031 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37033 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37035 [C99-based standards] (LLONG_MAX): Likewise.
37036 [C99-based standards] (ULLONG_MAX): Likewise.
37037 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37039 [ISO11] (max_align_t): Require type.
37040 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37042 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37043 from $CFLAGS, without defining away __attribute__ calls.
37044 (checknamespace): Use $CFLAGS_namespace.
37046 * conform/conformtest.pl (@keywords): Only include C99 keywords
37047 for standards based on C99 or C11.
37049 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37051 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37054 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37055 usability of symbols in #if.
37057 * conform/conformtest.pl: If macro or constant types start
37058 "promoted:", expect the symbol to be of the following type
37059 promoted by the integer promotions.
37061 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37062 in one place. Also handle "macro-constant".
37064 * conform/conformtest.pl: Only accept expected macro values with
37065 "==". Parse all "macro" lines in one place.
37066 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37068 * conform/conformtest.pl: Handle braced types on "constant" lines
37069 instead of handling "typed-constant".
37070 * conform/data/signal.h-data: Use "constant" instead of
37073 * conform/conformtest.pl: Handle "optional-" at start of lines in
37074 one place rather than duplicating several cases. Handle each
37075 format of "macro" line with initial "optional-".
37077 * conform/conformtest.pl: Only accept expected constant or
37078 optional-constant values with "==". Parse all "constant" lines in
37079 one place. Parse all "optional-constant" lines in one place.
37080 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37081 * conform/data/fmtmsg.h-data: Likewise.
37082 * conform/data/netinet/in.h-data: Likewise.
37083 * conform/data/tar.h-data: Likewise.
37084 * conform/data/limits.h-data: Use "==" form on "constant" and
37085 "optional-constant" lines.
37087 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37088 Use -std=c99 for XOPEN2K.
37089 (@knownproblems): Remove.
37090 (newtoken): Don't check %isknown.
37092 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37093 Do not expect macro.
37094 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37098 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37099 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37100 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37106 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37107 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37124 [XPG3] (acosh): Likewise.
37125 [XPG3] (asinh): Likewise.
37126 [XPG3] (atanh): Likewise.
37127 [XPG3] (cbrt): Likewise.
37128 [XPG3] (expm1): Likewise.
37129 [XPG3] (ilogb): Likewise.
37130 [XPG3] (log1p): Likewise.
37131 [XPG3] (logb): Likewise.
37132 [XPG3] (nextafter): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37135 [XPG3] (remainder): Likewise.
37136 [XPG3] (rint): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37140 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37142 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37143 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37144 [UNIX98 || XOPEN2K] (scalb): Expect.
37145 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37146 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37149 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37150 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37152 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37153 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37154 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37162 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37163 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37164 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37236 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37237 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37238 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37239 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37240 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37241 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37242 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37243 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37244 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37245 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37246 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37247 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37248 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37249 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37250 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37251 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37252 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37253 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37254 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37255 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37256 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37257 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37258 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37259 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37260 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37261 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37262 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37263 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37264 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37265 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37266 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37267 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37268 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37269 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37270 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37271 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37272 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37273 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37274 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37275 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37276 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37277 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37278 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37279 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37280 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37281 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37283 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37284 _XOPEN_SOURCE_EXTENDED for XPG4.
37286 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37288 * Makeconfig (localtime): Remove variable.
37289 (inst_localtime-file): Likewise.
37291 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37312 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37316 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37317 comparisons to determine direction to adjust input.
37318 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37319 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37320 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37322 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37326 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37327 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37329 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37331 * math/libm-test.inc (nexttoward_test): Add more tests.
37333 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37336 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37337 in version GLIBC_2.1, not GLIBC_2.0.
37338 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37341 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37344 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37346 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37347 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37348 * math/libm-test.inc (acos_test): Add more tests.
37349 (asin_test): Likewise.
37350 * sysdeps/i386/fpu/libm-test-ulps: Update.
37351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37354 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37356 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37357 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37358 * math/libm-test.inc (acos_test_tonearest): New function.
37359 (acos_test_towardzero): Likewise.
37360 (acos_test_downward): Likewise.
37361 (acos_test_upward): Likewise.
37362 (asin_test_tonearest): Likewise.
37363 (asin_test_towardzero): Likewise.
37364 (asin_test_downward): Likewise.
37365 (asin_test_upward): Likewise.
37366 (main): Call the new functions.
37367 * sysdeps/i386/fpu/libm-test-ulps: Update.
37368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37372 * math/e_exp10.c: Include <float.h>.
37373 (__ieee754_exp10): Handle underflow here rather than multiplying
37374 large negative argument by M_LN10.
37375 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37377 * math/e_exp10l.c: Include <float.h>.
37378 (__ieee754_exp10l): Handle underflow here rather than multiplying
37379 large negative argument by M_LN10l.
37380 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37381 spurious overflow exception on underflow.
37383 2012-04-29 Marek Polacek <polacek@redhat.com>
37385 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37386 (__fortify_function): New macro.
37387 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37388 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37389 __extern_always_inline.
37390 * libio/bits/stdio2.h: Likewise.
37391 * libio/bits/stdio.h: Likewise.
37392 * string/string.h: Likewise.
37393 * string/bits/string3.h: Likewise.
37394 * include/stdio.h: Likewise.
37395 * stdlib/bits/stdlib.h: Likewise.
37396 * stdlib/stdlib.h: Likewise.
37397 * rt/bits/mqueue2.h: Likewise.
37398 * rt/mqueue.h: Likewise.
37399 * posix/bits/unistd.h: Likewise.
37400 * posix/unistd.h: Likewise.
37401 * io/bits/poll2.h: Likewise.
37402 * io/bits/fcntl2.h: Likewise.
37403 * io/fcntl.h: Likewise.
37404 * io/sys/poll.h: Likewise.
37405 * misc/bits/syslog.h: Likewise.
37406 * misc/bits/syslog-ldbl.h: Likewise.
37407 * misc/sys/syslog.h: Likewise.
37408 * socket/bits/socket2.h: Likewise.
37409 * socket/sys/socket.h: Likewise.
37410 * debug/tst-chk1.c: Likewise.
37411 * wcsmbs/bits/wchar2.h: Likewise.
37412 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37413 * wcsmbs/wchar.h: Likewise.
37415 2012-04-29 Andreas Jaeger <aj@suse.de>
37417 * Makerules (tests): Remove enable-check-abi protection.
37418 (check-abi-warn): Remove.
37419 (check-abi-%): Remove check-abi-warn usage.
37421 * configure.in: Remove check-abi configure option.
37422 * configure: Regenerated.
37423 * config.make.in (enable-check-abi): Remove.
37425 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37428 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37429 double functions to double *_finite functions.
37432 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37433 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37435 * stdio-common/Makefile (tests): Add tst-sprintf3.
37436 * stdio-common/tst-sprintf3.c: New file.
37438 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37439 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37441 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37443 * conform/conformtest.pl: Remove duplicate typed-constant
37446 2012-04-28 David S. Miller <davem@davemloft.net>
37448 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37449 (check-abi-%): Remove AWK script prerequisite and explicit
37451 (check-abi): Rewrite to just diff the symlist with the abilist.
37452 (config-tls, config-abi-config): Delete, no longer used.
37453 (update-abi-%): Remove AWK script and explicit abilist directory.
37454 (update-abi): Rewrite to simply compare and conditionally copy the
37455 symlist and the sysdep abilist file. Remove update-abi-config
37457 * abilist/ld.abilist: Remove.
37458 * abilist/libBrokenLocale.abilist: Remove.
37459 * abilist/libanl.abilist: Remove.
37460 * abilist/libcrypt.abilist: Remove.
37461 * abilist/libdl.abilist: Remove.
37462 * abilist/librt.abilist: Remove.
37463 * abilist/libthread_db.abilist: Remove.
37464 * abilist/libutil.abilist: Remove.
37465 * scripts/extract-abilist.awk: Remove.
37466 * scripts/merge-abilist.awk: Remove.
37467 * sysdeps/generic/libcidn.abilist: New file.
37468 * sysdeps/generic/libnss_compat.abilist: New file.
37469 * sysdeps/generic/libnss_db.abilist: New file.
37470 * sysdeps/generic/libnss_dns.abilist: New file.
37471 * sysdeps/generic/libnss_files.abilist: New file.
37472 * sysdeps/generic/libnss_hesiod.abilist: New file.
37473 * sysdeps/generic/libnss_nis.abilist: New file.
37474 * sysdeps/generic/libnss_nisplus.abilist: New file.
37475 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37476 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37477 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37480 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37481 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37482 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37483 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37484 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37485 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37486 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37487 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37489 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37490 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37491 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37492 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37494 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37495 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37496 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37497 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37498 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37499 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37501 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37502 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37503 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37505 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37608 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37609 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37610 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37613 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37614 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37615 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37616 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37617 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37618 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37619 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37620 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37621 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37673 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37675 * conform/conformtest.pl: Fix typo in handling typed-constant from
37678 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37680 * README: Cut down references to pre-2.6 Linux kernels and
37681 Linuxthreads. Update lists of configurations in libc and ports
37682 and sort alphabetically. Say "or newer" with Linux kernel version
37685 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37687 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37690 * math/libm-test.inc (logb_test_downward): New test to expose
37691 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37694 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37697 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37699 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37700 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37702 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37704 * sysdeps/unix/i386/brk.S: Remove file.
37705 * sysdeps/unix/i386/dl-brk.S: Likewise.
37706 * sysdeps/unix/i386/pipe.S: Likewise.
37707 * sysdeps/unix/i386/sigreturn.S: Likewise.
37708 * sysdeps/unix/i386/syscall.S: Likewise.
37709 * sysdeps/unix/i386/vfork.S: Likewise.
37710 * sysdeps/unix/i386/wait.S: Likewise.
37712 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37713 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37715 * configure.in (arm*-none*): Do not allow without
37716 --enable-hacker-mode.
37717 (netbsd*): Remove case setting base_os.
37718 (386bsd*): Likewise.
37719 (freebsd*): Likewise.
37722 (sunos*): Likewise.
37723 (ultrix*): Likewise.
37724 (newsos*): Likewise.
37725 (dynix*): Likewise.
37731 (minix*): Likewise.
37732 (irix4*): Likewise.
37733 (irix6*): Likewise.
37734 (solaris[2-9]*): Likewise.
37736 * configure: Regenerated.
37738 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37741 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37742 overflow or cancellation in calculating denominator.
37743 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37744 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37745 down expression to avoid unexpected rounding in newer GCCs.
37746 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37748 2012-04-26 David S. Miller <davem@davemloft.net>
37750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37751 long-double compat symbols.
37752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37766 2012-04-25 David S. Miller <davem@davemloft.net>
37768 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37769 HWCAP_* values only after the memory barriers have been defined.
37770 (atomic_full_barrier): Define.
37771 (atomic_read_barrier): Define.
37772 (atomic_write_barrier): Define.
37774 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37776 * shlib-versions: Add libgcc_s version information.
37777 * sysdeps/generic/libgcc_s.h: Remove.
37778 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37780 * sysdeps/gnu/unwind-resume.c: Likewise.
37781 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37783 2012-04-25 David S. Miller <davem@davemloft.net>
37785 * sysdeps/unix/sparc/brk.S: Delete.
37786 * sysdeps/unix/sparc/dl-brk.S: Delete.
37787 * sysdeps/unix/sparc/pipe.S: Delete.
37788 * sysdeps/unix/sparc/sysdep.S: Delete.
37789 * sysdeps/unix/sparc/sysdep.h: Delete.
37790 * sysdeps/unix/sparc/vfork.S: Delete.
37791 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37792 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37793 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37794 (ret_ERRVAL, r0, r1, MOVE): Define.
37795 (JUMPTARGET): Remove.
37796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37797 sysdeps/unix/sparc/sysdep.h
37798 (ENTRY, END): Remove.
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37801 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37803 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37804 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37807 * timezone/README: Update upstream location and email address for
37809 * timezone/zdump.c: Update from tzcode 2012b.
37810 * timezone/zic.c: Likewise.
37812 * configure.in (libc_cv_as_needed): Remove test.
37813 * configure: Regenerated.
37814 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37815 conditional definition.
37816 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37817 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37818 * config.make.in (have-as-needed): Remove variable.
37820 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37821 Paul Pluzhnikov <ppluzhnikov@google.com>
37823 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37826 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37828 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37829 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37830 * sysdeps/sh/strlen.S: Likewise.
37832 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37834 * sysdeps/unix/fork.S: Remove file.
37835 * sysdeps/unix/i386/fork.S: Likewise.
37836 * sysdeps/unix/sparc/fork.S: Likewise.
37838 * sysdeps/unix/system.c: Remove file.
37839 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37841 * sysdeps/unix/getegid.S: Remove file.
37842 * sysdeps/unix/geteuid.S: Likewise.
37844 2012-04-24 Roland McGrath <roland@hack.frob.com>
37846 * scripts/check-localplt.awk: New file.
37847 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37849 * scripts/data/localplt-generic.data: Add a comment.
37851 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37852 NODE when __dir_mkfile failed.
37853 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37854 Reported by Ludovic Courtès <ludo@gnu.org>.
37856 2012-04-24 Andreas Jaeger <aj@suse.de>
37858 * Makerules (common-clean): Also remove gen-as-const-headers
37861 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37863 * Makerules (native-compile): Do not change working directory for
37864 build. Use $(OUTPUT_OPTION) in command.
37865 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37867 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37870 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37871 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37872 * math/libm-test.inc (floor_test): Add more tests.
37873 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37875 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37877 * sysdeps/unix/getdents.c: Remove file.
37878 * sysdeps/unix/sysv/getdents.c: Likewise.
37879 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37881 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37882 sysdeps/unix/mman/syscalls.list.
37884 (mprotect): Likewise.
37886 (munmap): Likewise.
37887 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37888 * sysdeps/unix/mman/syscalls.list: Remove.
37889 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37891 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37892 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37893 * configure: Regenerated.
37894 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37895 $(libgcc_s_suffix).
37896 * config.make.in (libgcc_s_suffix): Remove variable.
37898 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37900 * sysdeps/unix/sysv/gethostname.c: Move to ...
37901 * sysdeps/posix/gethostname.c: ... here.
37903 * sysdeps/unix/execve.S: Remove file.
37905 * sysdeps/unix/_exit.S: Remove file.
37907 2012-04-23 Andreas Jaeger <aj@suse.de>
37910 * manual/Makefile: Remove make dist support, there's no
37911 need for a stand-alone documentation tar ball.
37912 (TEXI2DVI): Define always, it's not in Makeconfig.
37915 (edition): Removed.
37916 (glibc-doc-$(edition).tar): Removed
37920 (ETAGS): Remove, it's in Makeconfig.
37921 (move-if-change): Remove, it's in Makeconfig.
37923 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37926 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37927 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37928 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37929 (strtod_l, strtof_l, strtold_l): Remove __wur.
37930 It is not necessarily an error to ignore strtol's return value.
37931 One can reliably look at the stored endptr to decide whether
37932 the number had valid syntax.
37934 2012-04-21 Andreas Jaeger <aj@suse.de>
37937 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37939 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37941 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37942 * sysdeps/unix/sysv/Versions: Remove file.
37944 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37949 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37953 version from __vm86.
37955 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37957 * sysdeps/unix/common/lxstat.c: Remove file.
37958 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37960 * sysdeps/unix/sysv/Makefile: Remove file.
37962 * sysdeps/unix/sysv/direct.h: Remove file.
37964 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37965 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37966 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37967 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37968 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37969 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37970 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37972 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37974 * sysdeps/unix/xmknod.c: Remove file.
37975 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37977 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37979 * sysdeps/unix/sysv/i386/time.S: Remove file.
37981 * sysdeps/unix/fxstat.c: Remove file.
37982 * sysdeps/unix/xstat.c: Likewise.
37983 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37985 * sysdeps/unix/sysv/sigaction.c: Remove file.
37987 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37988 (sysdep_headers): Remove variable.
37989 [termio.h not in sysdep_headers] (generated): Likewise.
37990 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37991 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37992 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37993 * sysdeps/unix/sysv/tcflow.c: Likewise.
37994 * sysdeps/unix/sysv/tcflush.c: Likewise.
37995 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37996 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37997 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37998 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37999 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38001 * sysdeps/unix/siglist.c: Remove file.
38003 * sysdeps/unix/getppid.S: Remove file.
38005 * sysdeps/unix/mkdir.c: Remove file.
38006 * sysdeps/unix/rmdir.c: Likewise.
38008 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38010 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38012 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38013 errlist-compat value.
38015 2012-04-18 David S. Miller <davem@davemloft.net>
38017 * sysdeps/generic/memcopy.h (reg_char): Delete.
38018 * debug/strcat_chk.c: Use char, not reg_char.
38019 * debug/strcpy_chk.c: Likewise.
38020 * debug/strncat_chk.c: Likewise.
38021 * debug/strncpy_chk.c: Likewise.
38022 * string/memchr.c: Likewise.
38023 * string/memrchr.c: Likewise.
38024 * string/rawmemchr.c: Likewise.
38025 * string/strcat.c: Likewise.
38026 * string/strchr.c: Likewise.
38027 * string/strchrnul.c: Likewise.
38028 * string/strcmp.c: Likewise.
38029 * string/strcpy.c: Likewise.
38030 * string/strncat.c: Likewise.
38031 * string/strncmp.c: Likewise.
38032 * string/strncpy.c: Likewise.
38034 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38036 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38037 __builtin_memcopy is called when src and dest ranges are known to not
38040 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38042 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38043 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38044 fwd_align_merge macro call.
38045 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38046 bwd_align_merge macro call.
38047 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38049 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38051 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38052 bwd_align_merge macros.
38053 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38054 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38055 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38057 2012-04-18 David S. Miller <davem@davemloft.net>
38059 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38061 2012-04-18 Andreas Jaeger <aj@suse.de>
38064 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38065 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38066 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38068 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38069 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38070 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38072 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38073 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38074 Adjust for changed ldbl-128 files.
38076 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38077 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38078 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38080 2012-04-17 David S. Miller <davem@davemloft.net>
38082 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38084 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38086 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38087 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38088 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38089 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38090 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38091 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38093 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38096 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38097 * math/libm-test.inc: Add ilogb errno and exception tests.
38098 * math/w_ilogb.c: New file: ilogb wrapper.
38099 * math/w_ilogbf.c: New file: ilogbf wrapper.
38100 * math/w_ilogbl.c: New file: ilogbl wrapper.
38101 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38102 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38103 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38104 exception being thrown with 0.0 as argument.
38105 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38106 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38107 exception being thrown with 0.0 as argument.
38108 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38109 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38110 exception being thrown with 0.0 as argument.
38111 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38112 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38113 exception being thrown with 0.0 as argument.
38114 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38115 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38116 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38117 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38118 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38119 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38120 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38121 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38122 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38124 2012-04-17 Petr Baudis <pasky@ucw.cz>
38126 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38129 2012-04-16 Marek Polacek <polacek@redhat.com>
38131 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38133 2012-04-16 Marek Polacek <polacek@redhat.com>
38135 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38136 operands of fdivp instruction.
38138 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38140 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38141 * elf/tst-auditmod3b.c: Likewise.
38142 * elf/tst-auditmod4b.c: Likewise.
38143 * elf/tst-auditmod5b.c: Likewise.
38144 * elf/tst-auditmod6b.c: Likewise.
38145 * elf/tst-auditmod6c.c: Likewise.
38146 * elf/tst-auditmod7b.c: Likewise.
38147 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38148 * sysdeps/x86_64/preconfigure.in: Likewise.
38149 * sysdeps/x86_64/preconfigure: Regenerated.
38151 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38153 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38156 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
38158 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38159 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38161 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38164 * locale/iso-639.def: Fix gl language name. Spotted by
38167 2012-04-12 Roland McGrath <roland@hack.frob.com>
38170 * libio/libio.h (__io_write_fn): Update comment.
38172 2012-04-12 Petr Baudis <pasky@ucw.cz>
38175 * stdio.texi (Hook Functions): The user provided writer function
38176 is not allowed to return -1.
38178 2012-04-11 David S. Miller <davem@davemloft.net>
38180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38182 2012-04-11 Mike Frysinger <vapier@gentoo.org>
38184 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38185 Add a leading slash to rtkaio.
38187 2012-04-11 Jim Meyering <meyering@redhat.com>
38190 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38191 It is not necessarily an error to ignore fwrite's return
38192 value. One can reliably use ferror to test for errors after
38195 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38197 * bits/types.h (__snseconds_t): New type.
38198 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38200 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38202 (__SNSECONDS_T_TYPE): Likewise.
38203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38204 (__SNSECONDS_T_TYPE): Likewise.
38205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38206 (__SNSECONDS_T_TYPE): Likewise.
38208 2012-04-10 Andreas Jaeger <aj@suse.de>
38211 * manual/time.texi (Processor Time): Return type of times is
38212 elapsed real time since an arbitrary point in the past.
38213 (CPU Time): Move CLK_TCK from here...
38214 (Processor Time): ...to here. Correct description.
38215 * manual/conf.texi (Constants for Sysconf): Correct description of
38218 2012-04-10 David S. Miller <davem@davemloft.net>
38221 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38222 where the is a gap between DT_REL(A) and DT_JMPREL.
38224 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38226 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38227 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38228 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38230 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38232 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38233 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38234 (dl_main): Handle --inhibit-cache.
38235 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38237 * elf/dl-load.c (_dl_map_object): Use it.
38238 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38240 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38243 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38244 (__ieee754_powl): Saturate large exponents rather than testing for
38245 overflow of y*log2(x).
38246 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38247 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38251 * math/s_ctan.c: Include <float.h>.
38252 (__ctan): Avoid internal overflow or cancellation in calculating
38254 * math/s_ctanf.c: Likewise.
38255 * math/s_ctanl.c: Likewise.
38256 * math/s_ctanh.c: Likewise.
38257 * math/s_ctanhf.c: Likewise.
38258 * math/s_ctanhl.c: Likewise.
38259 * math/libm-test.inc (ctan_test): Add more tests.
38260 (ctanh_test): Likewise.
38261 * sysdeps/i386/fpu/libm-test-ulps: Update.
38262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38264 2012-04-09 Andreas Jaeger <aj@suse.de>
38267 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38268 is an optional BSD extension.
38271 * manual/stdio.texi (Opening Streams): Document additional fopen
38274 2012-04-09 Roland McGrath <roland@hack.frob.com>
38276 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38277 %eax without telling the compiler.
38279 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38282 * manual/install.texi: Use sourceware.org.
38284 2012-04-09 Joseph Myers <joseph@codesourcery.com>
38287 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38288 (__ieee754_pow): Generate overflow and underflow using huge*huge
38289 and tiny*tiny rather than just returning constant infinity or zero
38290 for large exponents.
38291 * math/libm-test.inc (pow_test): Require overflow exceptions for
38292 applicable cases of large exponents.
38295 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38296 (__ieee754_pow): Use iterative multiplication algorithm only for
38297 integer exponents with absolute value below 1024. Check for odd
38298 integer exponents when using algorithm for real exponents.
38299 * math/libm-test.inc (pow_test): Add more tests.
38300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38302 2012-04-08 Joseph Myers <joseph@codesourcery.com>
38305 * math/libm-test.inc (exp_test): Do not allow overflow exception
38308 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38311 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38312 instead of __kernel_standard_f.
38314 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38316 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38317 * sysdeps/x86_64/memset_chk.S: Likewise.
38319 2012-04-08 Andreas Jaeger <aj@suse.de>
38322 * manual/startup.texi (Environment Access): Describe return value
38323 for putenv and setenv.
38326 * manual/filesys.texi (Directory Entries): Add description for
38330 * manual/filesys.texi (Directory Entries): Clarify that it's file
38331 system not operating system in the description of DT_UNKNOWN.
38334 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38336 2012-04-08 Stephen Compall <s11@member.fsf.org>
38339 * manual/llio.texi (Opening and Closing Files): Add cross
38340 reference to explain mode argument.
38342 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38344 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38345 * sysdeps/x86_64/memset_chk.S: Likewise.
38347 2012-04-07 David S. Miller <davem@davemloft.net>
38349 * elf/elf.h (R_SPARC_WDISP10): Define.
38350 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38353 R_SPARC_SIZE64 and R_SPARC_H34.
38355 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38358 conditions and remove no longer applicable assertion.
38360 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38362 * bits/byteswap.h: Include <features.h>.
38363 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38364 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38366 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38368 * bits/byteswap.h (__bswap_16): Removed.
38369 Include <bits/byteswap-16.h> to get __bswap_16.
38370 * sysdeps/i386/bits/byteswap.h: Likewise.
38371 * sysdeps/s390/bits/byteswap.h: Likewise.
38372 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38373 * bits/byteswap-16.h: New file.
38374 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38375 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38376 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38377 * string/Makefile (headers): Add bits/byteswap-16.h.
38379 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38382 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38384 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38385 * nss/tst-nss-static.c: New.
38387 2012-04-06 Robert Millan <rmh@gnu.org>
38390 * manual/llio.texi (File Position Primitive): lseek
38391 refers to WHENCE when it really means OFFSET.
38393 2012-04-06 Andreas Jaeger <aj@suse.de>
38395 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38396 strncmp declarations.
38398 * abilist/libc.abilist: Add __poll and __ppoll.
38400 2012-04-05 David S. Miller <davem@davemloft.net>
38402 * scripts/check-local-headers.sh: Accept a host triplet in the
38403 path matched by the exclude regexp.
38405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38407 * sysdeps/powerpc/powerpc32/dl-machine.h
38408 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38409 * sysdeps/s390/s390-32/dl-machine.h
38410 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38411 * sysdeps/sparc/sparc32/dl-machine.h
38412 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38413 * sysdeps/sparc/sparc64/dl-machine.h
38414 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38416 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38418 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38419 undefined symbol errors.
38421 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38424 2012-04-05 Michael Matz <matz@suse.de>
38427 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38429 2012-04-05 Andreas Jaeger <aj@suse.de>
38432 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38435 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38437 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38438 which ROUND is no valid rounding mode.
38440 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38442 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38444 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38446 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38448 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38449 an exception using FPU order intentionally.
38451 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38453 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38454 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38455 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38456 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38458 2012-04-05 Simon Josefsson <simon@josefsson.org>
38461 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38462 EINVAL when BUFLEN is too smal.
38464 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38467 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38468 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38470 2012-04-03 Andreas Jaeger <aj@suse.de>
38473 * manual/setjmp.texi (System V contexts): Fix sentence.
38476 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38477 New macro for this case.
38478 [!__GNUC__] (__bswap_64): New inline function for this case.
38479 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38480 * bits/byteswap.h: Likewise.
38481 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38482 ull, guard with __GLIBC_HAVE_LONG_LONG.
38484 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38485 __GLIBC_HAVE_LONG_LONG.
38487 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38488 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38490 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38493 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38494 inptr and inend, rather than using last_ch.
38496 2012-04-02 David S. Miller <davem@davemloft.net>
38498 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38499 * stdio-common/printf-parse.h (read_int): Change return type to
38500 'int', return -1 on INT_MAX overflow.
38501 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38502 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38503 overflows INT_MAX. Check for overflow of in-format-string precision
38504 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38505 SIZE_MAX not INT_MAX for integer overflow test.
38506 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38507 skip the construct in the format string but do not record anything.
38508 * stdio-common/bug22.c: Adjust to test both width/prevision
38509 INT_MAX overflow as well as total length INT_MAX overflow. Check
38510 explicitly for proper errno values.
38512 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38514 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38516 * string/test-strcmp.c [! WIDE]: Likewise.
38517 * time/tst-mktime2.c: Likewise for INT_MAX.
38518 * string/test-string.h: #include <sys/param.h> for MIN.
38520 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38521 * sysdeps/i386/init-first.c (init): Likewise.
38522 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38523 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38524 * sysdeps/sh/init-first.c (init): Likewise.
38526 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38528 * po/ru.po: Update from translation team.
38529 * po/vi.po: Likewise.
38531 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38533 * resolv/nss_dns/dns-host.c: Merge copyright years.
38535 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38538 Optimize memcpy with prefetch if
38539 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38540 src, dst pointers have unequal 16 byte alignments.
38542 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38545 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38546 from a CNAME entry and return the minimum ttl for the query.
38547 (gaih_getanswer_slice): Likewise.
38549 2012-03-30 Jeff Law <law@redhat.com>
38551 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38553 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38554 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38556 * resolv/nss_dns/dns-host.c: Update copyright year.
38558 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38560 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38561 requests to save a system call. Fix check that all bytes are sent.
38563 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38564 comments for sendmmsg.
38566 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38569 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38570 with only 1 character between 0x0041 and 0x01b0.
38571 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38572 * wcsmbs/tst-mbsnrtowcs.c: New file.
38574 2012-03-29 David S. Miller <davem@davemloft.net>
38576 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38577 small copies by hand.
38579 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38582 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38583 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38586 2012-03-28 David S. Miller <davem@davemloft.net>
38588 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38589 that branches into memcpy.
38590 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38593 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38596 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38597 implementation too.
38598 * sysdeps/sparc/mempcpy.S: New file.
38600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38601 the IFUNC routine in the libc case.
38602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38604 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38605 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38606 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38607 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38608 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38609 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38610 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38611 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38613 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38614 loop to 256 bytes instead of 64 bytes and fix test signedness.
38616 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38617 * sysdeps/sparc/sparc32/Makefile: rather than here...
38618 * sysdeps/sparc/sparc64/Makefile: and here.
38620 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38622 * malloc/mallocbug.c: Avoid warnings about unused variables.
38624 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38627 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38628 in the right place. Discard and retry query if response is
38629 larger than input buffer size.
38631 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38636 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38637 x for large integer exponent.
38638 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38639 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38640 sign of result as needed afterwards.
38641 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38642 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38643 result for underflowing pow the same as for overflow.
38644 (__kernel_standard_l): Handle powl overflow and underflow here
38645 rather than calling __kernel_standard.
38646 * math/libm-test.inc (pow_test): Add more tests.
38661 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38662 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38663 (__kernel_standard_l): New function.
38664 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38666 * math/w_acosl.c (__acosl): Likewise.
38667 * math/w_asinl.c (__asinl): Likewise.
38668 * math/w_atan2l.c (__atan2l): Likewise.
38669 * math/w_atanhl.c (__atanhl): Likewise.
38670 * math/w_coshl.c (__coshl): Likewise.
38671 * math/w_exp10l.c (__exp10l): Likewise.
38672 * math/w_exp2l.c (__exp2l): Likewise.
38673 * math/w_fmodl.c (__fmodl): Likewise.
38674 * math/w_hypotl.c (__hypotl): Likewise.
38675 * math/w_j0l.c (__j0l, __y0l): Likewise.
38676 * math/w_j1l.c (__j1l, __y1l): Likewise.
38677 * math/w_jnl.c (__jnl, __ynl): Likewise.
38678 * math/w_lgammal.c (__lgammal): Likewise.
38679 * math/w_log10l.c (__log10l): Likewise.
38680 * math/w_log2l.c (__log2l): Likewise.
38681 * math/w_logl.c (__logl): Likewise.
38682 * math/w_powl.c (__powl): Likewise.
38683 * math/w_remainderl.c (__remainderl): Likewise.
38684 * math/w_scalbl.c (sysv_scalbl): Likewise.
38685 * math/w_sinhl.c (__sinhl): Likewise.
38686 * math/w_sqrtl.c (__sqrtl): Likewise.
38687 * math/w_tgammal.c (__tgammal): Likewise.
38688 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38689 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38690 * math/libm-test.inc (acos_test): Add more tests.
38691 (acosh_test): Likewise.
38692 (asin_test): Likewise.
38693 (atanh_test): Likewise.
38694 (exp_test): Likewise.
38695 (exp10_test): Likewise.
38696 (exp2_test): Likewise.
38697 (expm1_test): Likewise.
38698 (lgamma_test): Likewise.
38699 (log_test): Likewise.
38700 (log10_test): Likewise.
38701 (log1p_test): Likewise.
38702 (log2_test): Likewise.
38703 (pow_test): Do not allow some spurious overflow exceptions.
38704 (sqrt_test): Add more tests.
38705 (tgamma_test): Likewise.
38706 (y0_test): Likewise.
38707 (y1_test): Likewise.
38708 (yn_test): Likewise.
38710 2012-03-27 Anton Blanchard <anton@samba.org>
38712 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38714 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38718 2012-03-27 David S. Miller <davem@davemloft.net>
38720 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38722 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38723 have-as-vis3 check.
38725 2012-03-27 Andreas Jaeger <aj@suse.de>
38727 * sysdeps/x86_64/elf/configure.in: Moved to ...
38728 * sysdeps/x86_64/configure.in: ... here.
38729 * sysdeps/x86_64/elf/start.S: Moved to ...
38730 * sysdeps/x86_64/start.S: ... here.
38731 * sysdeps/x86_64/elf/configure: Delete.
38733 * sysdeps/x86_64/configure.in: Merge contents from
38734 sysdeps/i386/configure.in (without i686 check).
38736 * sysdeps/i386/elf/Versions: Merge into ...
38737 * sysdeps/i386/Versions: ... this.
38738 * sysdeps/i386/elf/Versions: Delete file.
38739 * sysdeps/i386/elf/start.S: Moved to ...
38740 * sysdeps/i386/start.S: ...here.
38741 * sysdeps/i386/elf/configure.in: Merge into...
38742 * sysdeps/i386/configure.in: ...here.
38743 * sysdeps/i386/elf/configure.in: Delete file.
38744 * sysdeps/i386/elf/configure: Delete file.
38746 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38747 * debug/backtracesyms.c: ... here.
38748 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38749 * debug/backtracesymsfd.c: ... here.
38750 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38751 * sysdeps/generic/ifunc-sel.h: ... here.
38753 * sysdeps/unix/i386/start.c: Delete file.
38754 * sysdeps/unix/sparc/start.c: Delete file.
38755 * sysdeps/unix/start.c: Delete file.
38757 * sysdeps/sh/elf/configure.in: Moved to ...
38758 * sysdeps/sh/configure.in: ... here.
38759 * sysdeps/sh/elf/start.S: Moved to ...
38760 * sysdeps/sh/start.S: ... here.
38761 * sysdeps/sh/elf/configure: Delete file.
38763 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38764 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38765 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38766 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38767 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38768 * sysdeps/powerpc/powerpc64/start.S: here.
38769 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38770 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38771 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38772 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38773 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38775 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38776 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38777 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38778 * sysdeps/powerpc/powerpc32/start.S: ... here.
38779 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38780 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38781 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38783 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38784 * sysdeps/powerpc/ifunc-sel.h: ... here.
38785 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38786 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38788 * sysdeps/sparc/elf/configure.in: Moved to ...
38789 * sysdeps/sparc/configure.in: ... here.
38790 * sysdeps/sparc/elf/configure: Delete file.
38791 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38792 * sysdeps/sparc/sparc32/start.S: ... here.
38793 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38794 * sysdeps/sparc/sparc64/start.S: ... here.
38795 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38796 * sysdeps/sparc/sparc32/Makefile: ... this.
38797 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38798 * sysdeps/sparc/sparc64/Makefile: ... this.
38800 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38801 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38802 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38803 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38804 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38805 * sysdeps/s390/s390-32/setjmp.S: ... here.
38806 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38807 * sysdeps/s390/s390-32/configure.in: ... here.
38808 * sysdeps/s390/s390-32/elf/configure: Delete file.
38809 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38810 * sysdeps/s390/s390-32/start.S: ... here.
38812 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38813 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38814 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38815 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38816 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38817 * sysdeps/s390/s390-64/setjmp.S: ... here.
38818 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38819 * sysdeps/s390/s390-64/configure.in: ... here
38820 * sysdeps/s390/s390-64/elf/configure: Delete file.
38821 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38822 * sysdeps/s390/s390-64/start.S: ... here.
38823 * sysdeps/s390/s390-64/elf/configure: Delete.
38825 * configure.in: Remove support for elf directories in sysdeps.
38827 * configure: Regenerated.
38828 * sysdeps/i386/configure: Regenerated.
38829 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38830 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38831 * sysdeps/s390/s390-32/configure: Regenerated.
38832 * sysdeps/s390/s390-64/configure: Regenerated.
38833 * sysdeps/sh/configure: Regenerated.
38834 * sysdeps/sparc/configure: Regenerated.
38835 * sysdeps/x86_64/configure: Regenerated.
38837 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38842 denormal result into account.
38844 2012-03-25 Roland McGrath <roland@hack.frob.com>
38846 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38847 Reported by Allan McRae <allan@archlinux.org>.
38849 2012-03-23 Jeff Law <law@redhat.com>
38851 * nss/getnssent.c (__nss_getent): Fix typo.
38853 2012-03-23 David S. Miller <davem@davemloft.net>
38855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38857 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38859 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38860 to pad to uint64_t for each field.
38861 (dl_tls_index): Replace unsigned long with uint64_t.
38863 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38864 Paul Pluzhnikov <ppluzhnikov@google.com>
38867 * grp/Makefile (otherlibs): Don't set it.
38868 * inet/Makefile (otherlibs): Likewise.
38869 * login/Makefile (otherlibs): Likewise.
38870 * nscd/Makefile (otherlibs): Likewise.
38871 * posix/Makefile (otherlibs): Likewise.
38872 * pwd/Makefile (otherlibs): Likewise.
38873 * rt/Makefile (otherlibs): Likewise.
38874 * sunrpc/Makefile (otherlibs): Likewise.
38875 * nss/Makefile (otherlibs): Likewise.
38876 Add libnss_files to routines and static-only-routines.
38877 ($(objpfx)getent): Remove rule.
38878 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38879 static-only-routines.
38881 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38884 * math/s_cexp.c: Include <float.h>.
38885 (__cexp): Handle exp result overflowing not necessarily
38886 overflowing both real and imaginary parts of result.
38887 * math/s_cexpf.c: Likewise.
38888 * math/s_cexpl.c: Likewise.
38889 * math/libm-test.inc (cexp_test): Add more tests.
38890 * sysdeps/i386/fpu/libm-test-ulps: Update.
38891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38893 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38895 * include/link.h (ELFW): New macro.
38896 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38897 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38899 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38901 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38904 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38906 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38908 (struct La_x32_retval): Likewise.
38910 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38912 * sysdeps/x86_64/preconfigure.in: New file.
38913 * sysdeps/x86_64/preconfigure: New generated file.
38915 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38918 * math/e_exp2l.c: Include <float.h>.
38919 (__ieee754_exp2l): Handle overflow and underflow cases
38920 separately. Only pass fractional part of argument to
38922 * math/libm-test.inc (exp2_test): Add more tests.
38924 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38925 negating x to take absolute value.
38926 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38928 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38931 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38932 computing low part if x was negated.
38933 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38935 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38937 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38938 la_x32_gnu_pltexit.
38939 (pltexit): Cast int_retval to ptrdiff_t.
38940 * elf/tst-auditmod3b.c: Likewise.
38941 * elf/tst-auditmod4b.c: Likewise.
38942 * elf/tst-auditmod5b.c: Likewise.
38943 * elf/tst-auditmod6b.c: Likewise.
38944 * elf/tst-auditmod6c.c: Likewise.
38945 * elf/tst-auditmod7b.c: Likewise.
38947 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38948 and x32_gnu_pltexit.
38950 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38951 __ELF_NATIVE_CLASS.
38952 (La_x32_regs): New macro.
38953 (La_x32_retval): Likewise.
38954 (la_x32_gnu_pltenter): New function prototype.
38955 (la_x32_gnu_pltexit): Likewise.
38957 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38964 * configure.in (libc_cv_cc_nofma): Check for option to disable
38965 generation of FMA instructions.
38966 * configure: Regenerate.
38967 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38968 * sysdeps/ieee754/dbl-64/Makefile: New file.
38969 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38970 Remove brandred-fma4.
38971 (CFLAGS-brandred-fma4.c): Remove.
38972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38978 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38980 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38981 LLONG_MAX != LONG_MAX.
38982 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38983 (_fitoa_word): Likewise.
38984 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38985 LLONG_MAX != LONG_MAX.
38986 * stdio-common/_itowa.h: Include <_itoa.h>.
38987 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38988 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38989 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38990 only if not defined.
38991 (_ITOA_WORD_TYPE): Likewise.
38992 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38993 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38995 2012-03-21 David S. Miller <davem@davemloft.net>
38997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38999 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39001 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39002 of x86_64 when setting libc_cv_slibdir, libdir and
39004 * sysdeps/unix/sysv/linux/configure: Regenerated.
39006 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39008 * manual/lang.texi (Old Varargs): Remove section.
39009 (How Variadic): Update menu.
39010 (va_start): Do not mention varargs.h.
39012 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39013 Joseph Myers <joseph@codesourcery.com>
39015 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39017 * configure: Regenerated.
39019 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39021 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39022 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39025 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39028 * Makefile (files-for-dist): Remove NOTES.
39029 (NOTES): Remove rule.
39030 * README: Don't refer to NOTES.
39031 * manual/creature.texi: Don't include macros.texi.
39032 * manual/intro.texi (creature.texi): Remove comment referring to
39035 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39036 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39037 * configure: Regenerated.
39038 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39039 LIBC_TRY_CC_OPTION.
39040 (libc_cv_as_i686): Likewise.
39041 (libc_cv_cc_avx): Likewise.
39042 (libc_cv_cc_sse2avx): Likewise.
39043 (libc_cv_cc_fma4): Likewise.
39044 (libc_cv_cc_novzeroupper): Likewise.
39045 * sysdeps/i386/configure: Regenerated.
39048 * sysdeps/i386/fpu/s_cexp.S: Remove.
39049 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39050 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39051 * math/libm-test.inc (cexp_test): Add more tests.
39052 * sysdeps/i386/fpu/libm-test-ulps: Update.
39053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39055 2012-03-21 Allan McRae <allan@archlinux.org>
39057 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39059 2012-03-21 Joseph Myers <joseph@codesourcery.com>
39062 * math/w_exp2.c: Do not include <float.h>.
39063 (o_threshold, u_threshold): Remove.
39064 (__exp2): Calculate result before checking finiteness and calling
39066 * math/w_exp2f.c: Likewise.
39067 * math/w_exp2l.c: Likewise.
39068 * math/libm-test.inc (exp2_test): Require overflow exception for
39072 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39073 range of signed 64-bit integers before using fistpll. Remove
39074 checks for whether integers fit in mantissa bits.
39075 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39076 the range of signed 32-bit integers before using fistpl. Remove
39077 checks for whether integers fit in mantissa bits.
39078 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39079 (__ieee754_powl): Test for y outside the range of signed 64-bit
39080 integers before using fistpll. Reduce 64-bit values to 63-bit
39082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39083 divide-by-zero is raised for zero to large negative powers.
39084 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39085 (__ieee754_powl): Test for y outside the range of signed 64-bit
39086 integers before using fistpll. Reduce 64-bit values to 63-bit
39088 * math/libm-test.inc (pow_test): Add more tests.
39090 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39092 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39093 <stdio-common/_itoa.h>.
39094 * debug/segfault.c: Likewise.
39095 * elf/dl-cache.c: Likewise.
39096 * elf/dl-minimal.c: Likewise.
39097 * elf/dl-misc.c: Likewise.
39098 * elf/dl-sysdep.c: Likewise.
39099 * elf/dl-version.c: Likewise.
39100 * elf/rtld.c: Likewise.
39101 * hurd/hurdsock.c: Likewise.
39102 * hurd/lookup-retry.c: Likewise.
39103 * malloc/malloc.c: Likewise.
39104 * malloc/mtrace.c: Likewise.
39105 * nscd/nscd_getgr_r.c: Likewise.
39106 * nscd/nscd_getpw_r.c: Likewise.
39107 * nscd/nscd_getserv_r.c: Likewise.
39108 * posix/getopt_init.c: Likewise.
39109 * posix/wordexp.c: Likewise.
39110 * stdio-common/_itoa.c: Likewise.
39111 * stdio-common/printf_fphex.c: Likewise.
39112 * stdio-common/vfprintf.c: Likewise.
39113 * string/_strerror.c: Likewise.
39114 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39115 * sysdeps/i386/i686/hp-timing.h: Likewise.
39116 * sysdeps/mach/_strerror.c: Likewise.
39117 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39118 * sysdeps/mach/hurd/sethostid.c: Likewise.
39119 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39120 * sysdeps/mach/xpg-strerror.c: Likewise.
39121 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39122 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39123 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39124 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39125 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39126 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39127 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39128 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39129 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39130 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39131 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39132 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39133 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39134 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39135 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39136 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39137 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39138 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39139 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39140 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39141 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39143 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39145 * stdio-common/_itoa.h: Moved to ...
39146 * sysdeps/generic/_itoa.h: Here.
39148 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39150 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39151 instead of "_itoa.h" and "_itowa.h".
39152 * stdio-common/vfprintf.: Likewise.
39154 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39156 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39158 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39159 (__signbit): Likwise.
39160 (llrintf): Likwise.
39163 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39165 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39168 2012-03-20 Joseph Myers <joseph@codesourcery.com>
39170 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39171 OVERFLOW_EXCEPTION_OK.
39172 * math/libm-test.inc ("Philosophy"): Update comment about
39174 (OVERFLOW_EXCEPTION): Define.
39175 (OVERFLOW_EXCEPTION_OK): Likewise.
39176 (INVALID_EXCEPTION_OK): Renumber.
39177 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39178 (IGNORE_ZERO_INF_SIGN): Likewise.
39179 (test_exceptions): Handle FE_OVERFLOW.
39180 (exp10_test): Expect overflow exceptions.
39181 (exp2_test): Likewise.
39182 (expm1_test): Likewise.
39183 (nextafter_test): Likewise.
39184 (pow_test): Likewise.
39185 (scalbn_test): Likewise.
39186 (scalbln_test): Likewise.
39188 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39190 * sysdeps/x86_64/bits/atomic.h
39191 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39193 (atomic_exchange_acq): Likewise.
39194 (__arch_exchange_and_add_body): Likewise.
39195 (__arch_add_body): Likewise.
39196 (atomic_add_negative): Likewise.
39197 (atomic_add_zero): Likewise.
39199 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39201 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39202 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39204 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39206 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39207 Check __x86_64__ instead of __WORDSIZE.
39209 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39211 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39213 2012-03-19 David S. Miller <davem@davemloft.net>
39215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39217 * sysdeps/sparc/fpu/fenv_private.h: New file.
39218 * sysdeps/sparc/fpu/math_private.h: Use it.
39219 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39221 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39222 (libc_feholdexcept_setroundl): Remove.
39223 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39225 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39226 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39228 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39230 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39231 int64_t instead of long int.
39232 (INSERT_WORDS64): Likwise.
39234 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39236 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39237 _Unwind_GetCFA return to _Unwind_Ptr first.
39239 2012-03-19 Joseph Myers <joseph@codesourcery.com>
39242 * math/s_clog.c: Include <float.h>.
39243 (__clog): Scale large or subnormal inputs.
39244 * math/s_clogf.c: Likewise.
39245 * math/s_clogl.c: Likewise.
39246 * math/s_clog10.c: Include <float.h>.
39247 (M_LOG10_2): Define.
39248 (__clog10): Scale large or subnormal inputs.
39249 * math/s_clog10f.c: Likewise.
39250 * math/s_clog10l.c: Likewise.
39251 * math/libm-test.inc (clog_test): Add more tests.
39252 (clog10_test): Likewise.
39253 * sysdeps/i386/fpu/libm-test-ulps: Update.
39254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39257 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39259 * math/libm-test.inc (atan2_test): Add another test.
39261 * Makerules (common-objdir-compile): Remove.
39262 * sysdeps/unix/Makefile (config-generated): Do not add
39263 $(unix-generated) to variable.
39264 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39265 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39267 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39269 [generic bits/local_lim.h] (before-compile): Do not append to
39271 [generic bits/local_lim.h] (common-generated): Likewise.
39272 [generic sys/param.h] (before-compile): Do not append to variable.
39273 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39274 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39275 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39276 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39278 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39279 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39280 [generic sys/param.h] ($(addprefix
39281 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39282 [generic sys/param.h] (common-generated): Do not append to
39284 [generic sys/param.h] (sysdep_headers): Likewise.
39285 [generic bits/errno.h] (before-compile): Do not append to
39287 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39289 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39290 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39291 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39292 [generic bits/errno.h] (common-generated): Do not append to
39294 [generic bits/ioctls.h] (before-compile): Do not append to
39296 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39298 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39299 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39300 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39302 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39303 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39304 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39305 [generic bits/ioctls.h] (common-generated): Do not append to
39307 [generic sys/syscall.h] (syscall.h): Remove variable.
39308 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39310 [generic sys/syscall.h] (before-compile): Do not append to
39312 [generic sys/syscall.h] (common-generated): Likewise.
39313 * sysdeps/unix/errnos-tmpl.c: Remove file.
39314 * sysdeps/unix/errnos.awk: Likewise.
39315 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39316 * sysdeps/unix/ioctls.awk: Likewise.
39317 * sysdeps/unix/mk-local_lim.c: Likewise.
39318 * sysdeps/unix/snarf-ioctls: Likewise.
39320 2012-03-19 Richard Henderson <rth@twiddle.net>
39322 * sysdeps/i386/fpu/fenv_private.h: New file.
39323 * sysdeps/i386/fpu/math_private.h: Use it.
39324 (math_opt_barrier, math_force_eval): Remove.
39325 (libc_feholdexcept_setround_53bit): Remove.
39326 (libc_feupdateenv_53bit): Remove.
39327 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39328 (math_opt_barrier, math_force_eval): Remove.
39329 (libc_feholdexcept): Remove.
39330 (libc_feholdexcept_setround): Remove.
39331 (libc_fetestexcept, libc_fesetenv): Remove.
39332 (libc_feupdateenv_test): Remove.
39333 (libc_feupdateenv, libc_feholdsetround): Remove.
39334 (libc_feresetround): Remove.
39336 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39337 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39339 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39340 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39341 (libc_feupdateenv_testl): New.
39342 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39343 (libc_feupdateenv_testf): New.
39344 (libc_feupdateenv): Use libc_feupdateenv_test.
39345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39346 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39348 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39349 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39350 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39351 (libc_feresetround_noex): New.
39352 (libc_feresetround_noexf): New.
39353 (libc_feresetround_noexl): New.
39354 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39355 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39356 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39357 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39362 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39363 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39364 SET_RESTORE_ROUND_NOEX.
39365 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39366 SET_RESTORE_ROUND_NOEXF.
39367 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39368 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39369 (libc_feholdsetroundf): New.
39370 (libc_feresetround, libc_feresetroundf): New.
39372 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39373 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39374 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39376 * sysdeps/generic/math_private.h: Include <fenv.h>.
39377 (default_libc_feholdexcept): New.
39378 (default_libc_feholdexcept_setround): New.
39379 (default_libc_fesetenv, default_libc_feupdateenv): New.
39380 (libc_feholdexcept): Only define if undefined.
39381 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39382 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39383 (libc_feholdexcept_setroundl): Likewise.
39384 (libc_feholdexcept_setround_53bit): Likewise.
39385 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39386 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39387 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39388 (libc_feupdateenv_53bit): Likewise.
39389 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39390 (libc_feholdexcept): Convert from macro to inline function.
39391 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39392 (libc_fesetenv, libc_feupdateenv): Likewise.
39394 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39395 not previously defined.
39396 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39397 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39398 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39399 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39400 * sysdeps/ieee754/flt-32/math_private.h: New file.
39401 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39402 math_private.h below SET_FLOAT_WORD.
39403 (__isnan, __isinf_ns, __finite): Remove.
39404 (__isnanf, __isinf_nsf, __finitef): Remove.
39406 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39410 2012-03-17 David S. Miller <davem@davemloft.net>
39413 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39416 2012-03-16 David S. Miller <davem@davemloft.net>
39418 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39422 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39424 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39425 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39426 sysdep_routines when subdir is sysvipc.
39427 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39428 __getshmlba helper.
39430 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39432 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39434 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39437 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39439 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39440 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39441 (__lround): Renamed to ...
39442 (__llround): This. Replace long int with long long int.
39443 Define lround functions as aliases of llround functions.
39444 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39446 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39448 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39449 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39450 adresses to uintptr_t. Replace "long int" and "unsigned long
39451 int" with "greg_t" on va_arg.
39453 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39455 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39456 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39458 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39459 Move e_machine check before EI_CLASS check. Handle x32
39460 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39461 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39462 SKIP_EM_IA_64 and include
39463 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39465 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39466 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39467 (add_system_dir): New macro.
39469 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39470 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39472 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39483 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39485 * math/w_j0f.c (j0f): Likewise.
39487 * math/w_j0l.c (__j0l): Likewise.
39489 * math/w_j1.c (j1): Likewise.
39491 * math/w_j1f.c (j1f): Likewise.
39493 * math/w_j1l.c (__j1l): Likewise.
39495 * math/w_jn.c (jn): Likewise.
39497 * math/w_jnf.c (jnf): Likewise.
39499 * math/w_jnl.c (__jnl): Likewise.
39501 * math/libm-test.inc (j0_test): Add more tests.
39502 (j1_test): Likewise.
39503 (jn_test): Likewise. Add trailing semicolon to existing test.
39504 (y0_test): Likewise.
39505 (y1_test): Likewise.
39506 * sysdeps/i386/fpu/libm-test-ulps: Update.
39507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39511 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39512 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39513 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39514 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39515 (__tanl): Set errno for infinite argument.
39516 * sysdeps/i386/fpu/mptan.c: Remove.
39517 * sysdeps/i386/fpu/s_tan.S: Likewise.
39518 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39519 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39520 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39521 * math/libm-test.inc (tan_test): Add more tests and enable more
39522 tests for double and long double.
39523 * sysdeps/i386/fpu/libm-test-ulps: Update.
39524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39526 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39528 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39529 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39531 2012-03-16 Roland McGrath <roland@hack.frob.com>
39533 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39534 * configure.in: Use it for both main tree and add-ons.
39535 * configure: Regenerated.
39537 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39539 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39541 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39543 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39547 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39548 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39549 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39550 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39551 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39553 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39554 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39555 != 0 for prec == 2.
39556 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39557 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39558 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39559 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39560 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39561 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39562 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39563 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39564 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39565 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39566 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39567 * math/libm-test.inc (cos_test): Add more tests and enable more
39568 tests for long double.
39569 (sin_test): Likewise.
39570 (sincos_test): Likewise.
39571 * sysdeps/i386/fpu/libm-test-ulps: Update.
39572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39574 2012-03-16 David S. Miller <davem@davemloft.net>
39576 * sysdeps/sparc/fpu/math_private.h: New file.
39578 2012-03-15 David S. Miller <davem@davemloft.net>
39580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39594 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39595 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39597 * sysdeps/sparc/sparc-ifunc.h: New file.
39598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39640 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39641 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39643 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39645 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39649 2012-03-15 Andreas Jaeger <aj@suse.de>
39652 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39653 ieee754/flt-32 implementation for sin, cos and sincos.
39654 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39655 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39656 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39657 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39658 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39659 ieee754/flt-32 implementation for tan.
39661 * math/libm-test.inc (cos_test): Enable some large input tests for
39663 (sin_test): Likewise.
39664 (sincos_test): Likewise.
39665 (tan_test): Add tests for large input.
39667 * sysdeps/i386/fpu/libm-test-ulps: Update.
39669 2012-03-15 Andreas Jaeger <aj@suse.de>
39672 * math/libm-test.inc (cos_test): Add more test cases.
39673 (sin_test): Likewise.
39674 (sincos_test): Likewise.
39676 2012-03-15 Andreas Jaeger <aj@suse.de>
39679 * math/libm-test.inc (cos_test): Add a test case for large input
39681 (sin_test): Likewise.
39682 (sincos_test): Likewise.
39684 2012-03-15 Andreas Jaeger <aj@suse.de>
39685 Joseph Myers <joseph@codesourcery.com>
39688 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39689 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39690 * sysdeps/i386/fpu/branred.c: Likewise.
39691 * sysdeps/i386/fpu/dosincos.c: Likewise.
39692 * sysdeps/i386/fpu/mpa.c: Likewise.
39693 * sysdeps/i386/fpu/s_cos.S: Likewise.
39694 * sysdeps/i386/fpu/s_sin.S: Likewise.
39695 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39696 * sysdeps/i386/fpu/sincos32.c: Likewise.
39698 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39700 (libc_feupdateenv_53bit): Define.
39701 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39703 (libc_feupdateenv_53bit): Define.
39705 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39706 53 bit (without extend i386 double precision).
39708 * math/libm-test.inc (sincos_test): Add tests for large input.
39712 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39714 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39718 2012-03-15 David S. Miller <davem@davemloft.net>
39720 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39721 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39722 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39723 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39747 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39748 fmin/fmax sysdep routines.
39749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39751 2012-03-14 David S. Miller <davem@davemloft.net>
39753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39757 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39758 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39759 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39825 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39830 * sysdeps/sparc/configure.in: New file.
39831 * sysdeps/sparc/configure: Generate.
39832 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39833 * configure: Regenerate.
39834 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39835 * config.make.in (have-as-vis3): New.
39836 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39837 available use -Av9d instead of -Av9a.
39838 * sysdeps/sparc/sparc64/Makefile: Likewise.
39839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39849 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39854 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39855 fzeros/fnegs to load 0x80000000 into a float register instead of
39857 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39859 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39863 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39864 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39865 ($(inst_includedir)/bits/syscall.h): Remove rule.
39866 ($(objpfx)bits/syscall.d): Include instead of
39867 $(objpfx)syscall-list.d.
39868 (generated): Change syscall-list.h and syscall-list.d to
39869 bits/syscall.h and bits/syscall.d.
39871 2012-03-14 Roland McGrath <roland@hack.frob.com>
39874 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39876 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39879 * math/s_csqrt.c: Include <float.h>.
39880 (__csqrt): Scale large or subnormal inputs.
39881 * math/s_csqrtf.c: Likewise.
39882 * math/s_csqrtl.c: Likewise.
39883 * math/libm-test.inc (csqrt_test): Add more tests.
39884 * sysdeps/i386/fpu/libm-test-ulps: Update.
39885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39888 * math/libm-test.inc (hypot_test): Add more tests.
39890 2012-03-13 David S. Miller <davem@davemloft.net>
39893 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39894 double-precision for the calculation instead of scaling.
39896 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39898 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39899 manipulate bits before adding and subtracting TWO52[sx].
39900 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39901 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39903 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39905 2012-03-13 David S. Miller <davem@davemloft.net>
39907 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39908 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39910 rtld-global-offsets.h
39911 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39913 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39916 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39918 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39919 'err' in the ifdef scope in which it is actually used.
39921 * nss/nss_db/db-init.c: Include string.h
39923 2012-03-12 David S. Miller <davem@davemloft.net>
39925 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39926 masking out of the most significant byte of random value used.
39927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39928 Fix coding style in previous change.
39930 * sysdeps/unix/sysv/linux/kernel-features.h
39931 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39932 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39934 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39937 2012-03-11 David S. Miller <davem@davemloft.net>
39939 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39940 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39942 for 'resultvar' otherwise things get truncated on 64-bit.
39944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39945 Fix masking out of the most significant byte of random value used.
39947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39949 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39953 2012-03-09 David S. Miller <davem@davemloft.net>
39955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39956 variables with appropriate CPP guards.
39957 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39958 from the frame pointer, not the stack pointer. Correct layout
39959 comments. Fix test on resulting framesize and the management of
39960 the outregs buffer for pltexit. Preserve floating point return
39961 values across _dl_call_pltexit call.
39962 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39963 framesize and the management of the outregs buffer for pltexit.
39964 Preserve floating point return values across _dl_call_pltexit
39966 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39967 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39968 (la_sparc64_gnu_pltexit): New functions.
39969 (print_exit): Fix format string for return register value.
39971 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39973 * sunrpc/Makefile (others): Add rpcgen.
39974 ($(objpfx)rpcgen): Remove special build rule and dependency on
39976 * sunrpc/rpcgen.c: New file.
39978 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39981 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39982 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39983 * sysdeps/i386/crti.S: Likewise.
39984 * sysdeps/i386/crtn.S: Likewise.
39985 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39986 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39987 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39988 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39989 * sysdeps/sh/crti.S: Likewise.
39990 * sysdeps/sh/crtn.S: Likewise.
39991 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39994 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39996 * locale/programs/locfile-kw.gperf: Likewise.
39997 * locale/programs/charmap-kw.h: Regenerated.
39998 * locale/programs/locfile-kw.h: Likewise.
40001 * intl/plural.y: Replace FSF snail mail address with URL.
40002 * intl/plural.c: Regenerated.
40004 2012-03-09 Richard Henderson <rth@twiddle.net>
40006 * include/math_private.h: Remove file.
40007 * math/math_private.h: Move file ...
40008 * sysdeps/generic/math_private.h: ... here.
40010 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40011 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40012 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40014 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40015 and <math_private.h>.
40016 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40017 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40018 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40019 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40020 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40058 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40059 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40060 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40061 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40062 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40063 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40064 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40065 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40066 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40067 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40068 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40070 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40071 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40072 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40073 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40074 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40075 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40076 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40077 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40079 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40080 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40081 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40082 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40083 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40084 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40085 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40087 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40088 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40089 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40090 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40095 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40096 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40098 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40099 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40100 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40103 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40104 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40105 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40106 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40107 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40109 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40110 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40111 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40112 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40113 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40114 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40116 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40117 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40118 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40119 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40120 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40121 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40122 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40123 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40124 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40125 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40126 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40127 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40128 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40129 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40130 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40131 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40132 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40133 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40134 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40135 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40137 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40138 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40139 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40140 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40141 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40143 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40145 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40146 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40147 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40148 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40149 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40150 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40151 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40152 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40153 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40154 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40155 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40156 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40157 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40159 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40160 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40161 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40162 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40163 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40164 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40165 * sysdeps/ieee754/k_standard.c: Likewise.
40166 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40167 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40171 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40172 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40243 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40252 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40259 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40265 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40266 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40267 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40268 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40269 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40270 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40271 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40280 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40281 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40282 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40285 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40286 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40287 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40288 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40289 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40290 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40292 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40293 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40294 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40296 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40297 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40298 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40299 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40300 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40301 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40302 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40303 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40305 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40306 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40307 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40308 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40310 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40311 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40312 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40313 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40314 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40315 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40316 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40317 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40318 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40319 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40320 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40321 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40322 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40323 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40324 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40325 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40326 * sysdeps/ieee754/s_lib_version.c: Likewise.
40327 * sysdeps/ieee754/s_matherr.c: Likewise.
40328 * sysdeps/ieee754/s_signgam.c: Likewise.
40329 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40330 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40331 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40332 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40333 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40334 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40335 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40336 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40337 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40338 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40339 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40340 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40341 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40342 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40343 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40344 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40345 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40346 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40347 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40351 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40353 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40354 * sunrpc/rpc_main.c: Likewise.
40355 * sunrpc/rpc_svcout.c: Likewise.
40357 2012-03-09 David S. Miller <davem@davemloft.net>
40359 * include/math_private.h: New file.
40361 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40363 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40364 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40365 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40366 from <bits/socket_type.h>.
40367 (enum __socket_type): Don't define here.
40368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40370 bits/socket_type.h.
40373 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40374 checking __USE_GNU.
40376 * Makerules ($(inst_includedir)/%.h): New rule.
40377 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40378 (install-others): Remove variable setting.
40379 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40381 2012-03-08 Richard Henderson <rth@twiddle.net>
40383 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40384 from macro to inline function; merge with the
40385 !__LIBC_INTERNAL_MATH_INLINES version.
40386 (__ieee754_sqrtf): Likewise.
40388 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40389 to inline function.
40390 (__rintf, __floor, __floorf): Likewise.
40392 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40393 macro to inline function.
40394 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40396 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40397 not <math/math_private.h>.
40399 2012-03-08 David S. Miller <davem@davemloft.net>
40401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40403 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40405 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40407 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40409 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40410 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40412 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40414 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40415 be defined individually, they must be defined as a block. Define
40416 S for printing a string instead of hidint the different by using a
40417 macro for adding the 'l'.
40418 * stdio-common/tst-fphex-wide.c: Adjust.
40420 2012-03-07 Marek Polacek <polacek@redhat.com>
40422 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40424 2012-03-08 Marek Polacek <polacek@redhat.com>
40427 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40428 * stdio-common/tst-fphex.c: Define a few macros to make the
40429 test reusable. Use them.
40430 * stdio-common/tst-fphex-wide.c: New file.
40432 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40435 * manual/macros.texi (gnusystems): New macro.
40436 (nongnusystems): Likewise.
40437 (gnulinuxhurdsystems): Likewise.
40438 (gnuhurdsystems): Likewise..
40439 (gnulinuxsystems): Likewise.
40440 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40441 variants of the GNU system, not "GNU system".
40442 * manual/conf.texi: Likewise.
40443 * manual/errno.texi: Likewise. Update example of errno macro
40445 * manual/filesys.texi: Likewise.
40446 (getumask): Document as specific to GNU/Hurd.
40447 * manual/install.texi: Likewise. Reword some references to
40449 * manual/intro.texi: Likewise.
40450 * manual/io.texi: Likewise.
40451 (File Name Portability): Detail which constraints are inapplicable
40452 to all GNU systems and which are only inapplicable to GNU/Hurd.
40453 * manual/job.texi: Likewise.
40454 * manual/llio.texi: Likewise.
40455 (O_NOCTTY): Document as present on GNU/Linux.
40456 * manual/maint.texi: Likewise.
40457 * manual/memory.texi: Likewise.
40458 * manual/pattern.texi: Likewise.
40459 * manual/pipe.texi: Likewise.
40460 * manual/process.texi: Likewise.
40461 * manual/resource.texi: Likewise.
40462 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40464 * manual/setjmp.texi: Likewise.
40465 * manual/signal.texi: Likewise.
40466 * manual/startup.texi: Likewise.
40467 * manual/stdio.texi: Likewise.
40468 * manual/terminal.texi: Likewise.
40469 (ONLCR): Document as POSIX.
40470 (OXTABS): Document availability on GNU/Linux as XTABS.
40471 (ONOEOT): Document availability separately from other bits.
40472 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40473 * manual/time.texi: Likewise.
40474 * manual/users.texi: Likewise.
40475 * INSTALL: Regenerated.
40476 * sysdeps/gnu/errlist.c: Regenerated.
40478 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40479 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40480 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40482 * configure: Regenerated.
40484 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40486 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40487 default includes instead of AC_HEADER_CHECK.
40488 * sysdeps/i386/configure: Regenerated.
40491 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40492 * math/s_cacoshf.c (__cacoshf): Likewise.
40493 * math/s_cacoshl.c (__cacoshl): Likewise.
40494 * math/s_casinh.c (__casinh): Set signs of result from argument.
40495 * math/s_casinhf.c (__casinhf): Likewise.
40496 * math/s_casinhl.c (__casinhl): Likewise.
40497 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40498 (casinh_test): Add more tests.
40499 * sysdeps/i386/fpu/libm-test-ulps: Update.
40500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40502 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40504 * po/zh_TW.po: Update from translation team.
40506 * login/Makefile (distribute): Remove variable.
40507 * catgets/Makefile: Likewise.
40508 * mach/Makefile: Likewise.
40509 * malloc/Makefile: Likewise.
40510 * misc/Makefile: Likewise.
40511 * iconv/Makefile: Likewise.
40512 * nscd/Makefile: Likewise.
40513 * hurd/Makefile: Likewise.
40514 * manual/Makefile: Likewise.
40515 * locale/Makefile: Likewise.
40516 * intl/Makefile: Likewise.
40517 * conform/Makefile: Likewise.
40518 * nss/Makefile: Likewise.
40519 * time/Makefile: Likewise.
40520 * soft-fp/Makefile: Likewise.
40521 * dirent/Makefile: Likewise.
40522 * gmon/Makefile: Likewise.
40523 * po/Makefile: Likewise.
40524 * rt/Makefile: Likewise.
40525 * socket/Makefile: Likewise.
40526 * math/Makefile: Likewise.
40527 * signal/Makefile: Likewise.
40528 * debug/Makefile: Likewise.
40529 * elf/Makefile: Likewise.
40530 * timezone/Makefile: Likewise.
40531 * stdlib/Makefile: Likewise.
40532 * iconvdata/Makefile: Likewise.
40533 * sunrpc/Makefile: Likewise.
40534 * io/Makefile: Likewise.
40535 * argp/Makefile: Likewise.
40536 * inet/Makefile: Likewise.
40537 * hesiod/Makefile: Likewise.
40538 * grp/Makefile: Likewise.
40539 * csu/Makefile: Likewise.
40540 * wctype/Makefile: Likewise.
40541 * crypt/Makefile: Likewise.
40542 * libio/Makefile: Likewise.
40543 * string/Makefile: Likewise.
40544 * nis/Makefile: Likewise.
40545 * resolv/Makefile: Likewise.
40546 * stdio-common/Makefile: Likewise.
40547 * wcsmbs/Makefile: Likewise.
40548 * dlfcn/Makefile: Likewise.
40549 * posix/Makefile: Likewise.
40552 * timezone/Makefile: Don't install timezone files, just the programs
40555 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40557 * nss/databases.def: Add missing gshadow entry.
40559 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40561 2012-03-06 Marek Polacek <polacek@redhat.com>
40564 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40565 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40566 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40567 * stdio-common/tst-long-dbl-fphex.c: New file.
40569 2012-03-06 David S. Miller <davem@davemloft.net>
40571 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40572 (set_obp_int): New function.
40573 (get_obp_int): New function.
40574 (__get_clockfreq_via_dev_openprom): Likewise.
40575 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40576 Avoid unused variable warnings on 'val' and use builtin_expect.
40577 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40579 (INLINE_CLONE_SYSCALL): Likewise.
40581 2012-03-05 David S. Miller <davem@davemloft.net>
40583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40585 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40589 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40590 only for |x| >= 40.
40591 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40593 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40595 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40596 Replace gettimeofday with __vdso_gettimeofday.
40598 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40599 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40600 __vdso_clock_gettime and __vdso_getcpu.
40602 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40603 time with __vdso_time.
40605 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40607 * manual/lang.texi (size_t): Note types to which size_t may be
40608 equivalent with the GNU C Library, but do not describe when
40609 differences between them are significant.
40611 2012-03-05 Andreas Jaeger <aj@suse.de>
40613 * sysdeps/i386/fpu/libm-test-ulps: Update.
40615 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40618 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40619 (__ieee754_pow): Save and restore rounding mode and use
40620 round-to-nearest for main computations.
40621 * math/libm-test.inc (pow_test_tonearest): New function.
40622 (pow_test_towardzero): Likewise.
40623 (pow_test_downward): Likewise.
40624 (pow_test_upward): Likewise.
40625 (main): Call the new functions.
40626 * sysdeps/i386/fpu/libm-test-ulps: Update.
40627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40630 * math/libm-test.inc (cosh_test_tonearest): New function.
40631 (cosh_test_towardzero): Likewise.
40632 (cosh_test_downward): Likewise.
40633 (cosh_test_upward): Likewise.
40634 (sinh_test_tonearest): Likewise.
40635 (sinh_test_towardzero): Likewise.
40636 (sinh_test_downward): Likewise.
40637 (sinh_test_upward): Likewise.
40638 (main): Call the new functions.
40639 * sysdeps/i386/fpu/libm-test-ulps: Update.
40640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40642 2012-03-05 Tom de Vries <tom@codesourcery.com>
40644 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40645 default stack guard is set in last bytes.
40646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40648 2012-03-05 Kees Cook <keescook@chromium.org>
40650 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40653 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40654 possibly allocate from heap instead of stack.
40655 * stdio-common/bug-vfprintf-nargs.c: New file.
40656 * stdio-common/Makefile (tests): Add nargs overflow test.
40658 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40662 2012-03-03 Marek Polacek <polacek@redhat.com>
40664 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40665 * math/math_private.h: Likewise.
40666 * stdlib/tst-strtod.c: Likewise.
40667 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40668 * sysdeps/x86_64/bits/atomic.h: Likewise.
40670 2012-03-02 David S. Miller <davem@davemloft.net>
40672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40676 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40677 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40678 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40679 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40681 2012-03-02 Roland McGrath <roland@hack.frob.com>
40684 * manual/examples/README: New file, says the example source files
40685 can be used under GPL>=2.
40686 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40687 line containing just "*/".
40688 * manual/examples/add.c: Add copyright header (GPL>=2).
40689 * manual/examples/argp-ex1.c: Likewise.
40690 * manual/examples/argp-ex2.c: Likewise.
40691 * manual/examples/argp-ex3.c: Likewise.
40692 * manual/examples/argp-ex4.c: Likewise.
40693 * manual/examples/atexit.c: Likewise.
40694 * manual/examples/db.c: Likewise.
40695 * manual/examples/dir.c: Likewise.
40696 * manual/examples/dir2.c: Likewise.
40697 * manual/examples/execinfo.c: Likewise.
40698 * manual/examples/filecli.c: Likewise.
40699 * manual/examples/filesrv.c: Likewise.
40700 * manual/examples/fmtmsgexpl.c: Likewise.
40701 * manual/examples/genpass.c: Likewise.
40702 * manual/examples/inetcli.c: Likewise.
40703 * manual/examples/inetsrv.c: Likewise.
40704 * manual/examples/isockad.c: Likewise.
40705 * manual/examples/longopt.c: Likewise.
40706 * manual/examples/memopen.c: Likewise.
40707 * manual/examples/memstrm.c: Likewise.
40708 * manual/examples/mkfsock.c: Likewise.
40709 * manual/examples/mkisock.c: Likewise.
40710 * manual/examples/mygetpass.c: Likewise.
40711 * manual/examples/pipe.c: Likewise.
40712 * manual/examples/popen.c: Likewise.
40713 * manual/examples/rprintf.c: Likewise.
40714 * manual/examples/search.c: Likewise.
40715 * manual/examples/select.c: Likewise.
40716 * manual/examples/setjmp.c: Likewise.
40717 * manual/examples/sigh1.c: Likewise.
40718 * manual/examples/sigusr.c: Likewise.
40719 * manual/examples/stpcpy.c: Likewise.
40720 * manual/examples/strdupa.c: Likewise.
40721 * manual/examples/strftim.c: Likewise.
40722 * manual/examples/strncat.c: Likewise.
40723 * manual/examples/subopt.c: Likewise.
40724 * manual/examples/swapcontext.c: Likewise.
40725 * manual/examples/termios.c: Likewise.
40726 * manual/examples/testopt.c: Likewise.
40727 * manual/examples/testpass.c: Likewise.
40728 * manual/examples/timeval_subtract.c: Likewise.
40731 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40733 * manual/timeval_subtract.c.texi: ... here, new file.
40735 2012-03-02 David S. Miller <davem@davemloft.net>
40737 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40739 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40742 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40743 (__sin): Save and restore rounding mode and use round-to-nearest
40744 for all computations.
40745 (__cos): Save and restore rounding mode and use round-to-nearest
40746 for all computations.
40747 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40749 (tan): Save and restore rounding mode and use round-to-nearest for
40751 * math/libm-test.inc (cos_test_tonearest): New function.
40752 (cos_test_towardzero): Likewise.
40753 (cos_test_downward): Likewise.
40754 (cos_test_upward): Likewise.
40755 (sin_test_tonearest): Likewise.
40756 (sin_test_towardzero): Likewise.
40757 (sin_test_downward): Likewise.
40758 (sin_test_upward): Likewise.
40759 (tan_test_tonearest): Likewise.
40760 (tan_test_towardzero): Likewise.
40761 (tan_test_downward): Likewise.
40762 (tan_test_upward): Likewise.
40763 (main): Call the new functions.
40764 * sysdeps/i386/fpu/libm-test-ulps: Update.
40765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40768 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40769 small n, then large n, before computing and testing k+n.
40770 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40771 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40773 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40775 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40776 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40777 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40778 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40779 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40780 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40781 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40782 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40783 * math/libm-test.inc (scalbn_test): Add more tests.
40784 (scalbln_test): Likewise.
40786 * manual/filesys.texi (mode_t): Describe constraints on size and
40787 signedness, not exact equivalence to a particular type.
40789 (ino64_t): Likewise.
40791 (nlink_t): Likewise.
40792 (blkcnt_t): Likewise.
40793 (blkcnt64_t): Likewise.
40794 * manual/llio.texi (off_t): Likewise.
40797 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40798 (__ieee754_exp): Save and restore rounding mode and use
40799 round-to-nearest for all computations.
40800 * math/libm-test.inc (exp_test_tonearest): New function.
40801 (exp_test_towardzero): Likewise.
40802 (exp_test_downward): Likewise.
40803 (exp_test_upward): Likewise.
40804 (main): Call the new functions.
40805 * sysdeps/i386/fpu/libm-test-ulps: Update.
40806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40808 2012-03-01 Chris Demetriou <cgd@google.com>
40810 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40811 have predictable order.
40813 2012-03-01 David S. Miller <davem@davemloft.net>
40815 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40817 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40818 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40819 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40820 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40822 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40823 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40824 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40826 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40827 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40828 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40829 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40830 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40834 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40835 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40836 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40838 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40839 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40840 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40841 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40842 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40844 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40845 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40846 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40847 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40848 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40849 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40851 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40852 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40854 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40855 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40856 * sysdeps/sparc/elf/configure: Regenerated.
40858 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40860 * configure.in (AS, LD): Require binutils 2.20 or later.
40861 * configure: Regenerated.
40862 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40863 as required minimum version.
40864 * INSTALL: Regenerated.
40868 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40869 before squaring exponent.
40870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40871 bottom long double and 27 bits of top long double before squaring
40873 * math/libm-test.inc (erfc_test): Add more tests.
40874 * sysdeps/i386/fpu/libm-test-ulps: Update.
40875 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40878 2012-03-01 Kai Tietz <ktietz@redhat.com>
40880 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40881 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40882 containing bit-fields.
40883 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40884 * soft-fp/single.h (_FP_UNION_S): Likewise.
40885 * soft-fp/double.h (_FP_UNION_D): Likewise.
40887 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40890 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40891 not include ../strcmp.S.
40892 [USE_AS_STRNCASECMP_L]: Likewise.
40893 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40894 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40895 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40896 (__strncasecmp_l_ia32): Define as alias to
40897 __strncasecmp_l_nonascii.
40900 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40901 * sysdeps/i386/fpu/libm-test-ulps: Update.
40902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40904 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40907 2012-02-29 Jeff Law <law@redhat.com>
40909 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40910 out of bounds read.
40912 2012-02-29 Marek Polacek <polacek@redhat.com>
40915 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40916 * elf/Makefile: Add rules to run tst-unused-dep.out.
40918 2012-02-28 David S. Miller <davem@davemloft.net>
40920 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40921 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40923 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40924 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40925 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40927 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40929 * math/libm-test.inc (llround_test): Move one test from
40930 lround_test. Use TEST_f_L in moved test.
40931 (lround_test): Move misplaced test to llround_test. Add testcase
40934 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40936 * sysdeps/x86_64/fpu/e_expf.S: New file.
40937 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40939 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40942 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40943 of remain_len that may cause incomplete multi-byte character and
40945 * posix/bug-regex33.c: New file.
40946 * posix/Makefile (tests): Add bug-regex33.
40948 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40950 * manual/macros.texi: New file.
40951 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40952 * manual/libc.texinfo: Include macros.texi.
40953 * manual/creatute.texi: Likewise.
40954 * manual/install.texi: Likewise.
40955 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40956 @glibcadj{} in references to the GNU C Library.
40957 * manual/charset.texi: Likewise.
40958 * manual/conf.texi: Likewise.
40959 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40960 when not using those macros.
40961 * manual/creature.texi: Likewise.
40962 * manual/crypt.texi: Likewise.
40963 * manual/errno.texi: Likewise.
40964 * manual/filesys.texi: Likewise.
40965 * manual/header.texi: Likewise.
40966 * manual/install.texi: Likewise.
40967 * manual/intro.texi: Likewise.
40968 * manual/io.texi: Likewise.
40969 * manual/job.texi: Likewise.
40970 * manual/lang.texi: Likewise.
40971 * manual/libc.texiinfo: Likewise.
40972 * manual/llio.texi: Likewise.
40973 * manual/locale.texi: Likewise.
40974 * manual/maint.texi: Likewise.
40975 * manual/math.texi: Likewise.
40976 * manual/memory.texi: Likewise.
40977 * manual/message.texi: Likewise.
40978 * manual/nss.texi: Likewise.
40979 * manual/pattern.texi: Likewise.
40980 * manual/process.texi: Likewise.
40981 * manual/resource.texi: Likewise.
40982 * manual/search.texi: Likewise.
40983 * manual/setjmp.texi: Likewise.
40984 * manual/signal.texi: Likewise.
40985 * manual/socket.texi: Likewise.
40986 * manual/startup.texi: Likewise.
40987 * manual/stdio.texi: Likewise.
40988 * manual/string.texi: Likewise.
40989 * manual/sysinfo.texi: Likewise.
40990 * manual/syslog.texi: Likewise.
40991 * manual/terminal.texi: Likewise.
40992 * manual/time.texi: Likewise.
40993 * manual/users.texi: Likewise.
40994 * INSTALL: Regenerated.
40995 * NOTES: Regenerated.
40996 * sysdeps/gnu/errlist.c: Regenerated.
40998 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41000 * include/dirent.h: Include <dirstream.h> before
41003 2012-02-28 David S. Miller <davem@davemloft.net>
41005 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41006 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41007 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41008 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41010 2012-02-27 David S. Miller <davem@davemloft.net>
41012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41014 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41015 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41018 frame pointer instead of stack pointer relative arg slot.
41019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41020 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41021 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41023 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41026 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41028 2012-02-27 David S. Miller <davem@davemloft.net>
41030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41034 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41035 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41036 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41037 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41039 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41041 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41042 later. Allow versions 5-9.
41043 * configure: Regenerated.
41044 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41045 required minimum version and 4.6 as recommended version. Do not
41046 mention bugs in GCC 2.7 and 2.8.
41047 * INSTALL: Regenerated.
41049 2012-02-27 David S. Miller <davem@davemloft.net>
41051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41055 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41056 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41057 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41058 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41060 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41061 manipulate bits before adding and subtracting TWO112[sx].
41062 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41064 2012-02-27 Roland McGrath <roland@hack.frob.com>
41067 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41068 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41069 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41070 being in POSIX, because they are in 1003.1-2008.
41072 * rt/tst-aio.c: Include <fcntl.h>.
41073 * rt/tst-aio7.c: Likewise.
41074 * rt/tst-aio64.c: Likewise.
41076 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41078 2012-02-27 Joseph Myers <joseph@codesourcery.com>
41080 * manual/install.texi (--with-headers): Describe headers as
41081 interface headers, not private headers.
41082 (Specific advice for GNU/Linux systems): Describe use of headers
41083 from "make headers_install", not private headers from older
41085 * INSTALL: Regenerated.
41086 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41088 * sysdeps/unix/sysv/linux/configure: Regenerated.
41090 * manual/llio.texi (fclean): Remove documentation.
41092 * manual/Makefile (libc-texi-generated): New variable. Include
41094 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41095 $(libc-texi-generated), not duplicated list of files.
41096 (version.texi, stamp-version): New rules.
41097 (realclean): Remove $(libc-texi-generated), not individual files
41098 from that list. Do not remove dir-add.texinfo.
41099 * manual/libc.texinfo: Comment out uses of edition numbers and
41100 references to printed manual. Remove last-updated dates.
41101 (EDITION): Comment out.
41103 (VERSION, UPDATED): Remove.
41104 (version.texi): Include.
41106 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41108 * sysdeps/posix/spawni.c: Include <signal.h>.
41109 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41110 * sysdeps/pthread/aio_fsync.c: Likewise.
41112 2012-02-26 Ulrich Drepper <drepper@gmail.com>
41114 * conform/Makefile (tests): Run only when not cross-compiling and
41115 when fast-check is not defined.
41117 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41118 * conform/data/limits.h-data: Fixes for POSIX2008.
41119 * conform/run-conformtest.sh: Run all tests.
41120 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41122 * include/bits/dlfcn.h: Likewise.
41123 * include/langinfo.h: Likewise.
41124 * include/monetary.h: Likewise.
41125 * include/sys/poll.h: Likewise.
41127 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41129 * posix/spawn.h: Define __need_sigset_t.
41130 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41131 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41132 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41133 to get sigevent_t only.
41134 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41135 only for __USE_GNU.
41136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41137 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41138 process_vm_writev only for __USE_GNU.
41139 * termios/termios.h: Declare tcgetsid also for POSIX2008.
41141 * conform/Makefile: For now ignore errors from run-conformtest.
41142 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41143 POSIX to avoid namespace pollution. Don't prepend headers.
41144 * conform/data/aio.h-data: Fixes for POSIX testing.
41145 * conform/data/fcntl.h-data: Likewise.
41146 * conform/data/glob.h-data: Likewise.
41147 * conform/data/grp.h-data: Likewise.
41148 * conform/data/pthread.h-data: Likewise.
41149 * conform/data/pwd.h-data: Likewise.
41150 * conform/data/signal.h-data: Likewise.
41151 * conform/data/spawn.h-data: Likewise.
41152 * conform/data/stdio.h-data: Likewise.
41153 * conform/data/stdlib.h-data: Likewise.
41154 * conform/data/stropts.h-data: Likewise.
41155 * conform/data/sys/mman.h-data: Likewise.
41156 * conform/data/sys/stat.h-data: Likewise.
41157 * conform/data/sys/types.h-data: Likewise.
41158 * conform/data/sys/wait.h-data: Likewise.
41159 * conform/data/time.h-data: Likewise.
41160 * conform/data/unistd.h-data: Likewise.
41161 * conform/data/utime.h-data: Likewise.
41163 * io/sys/stat.h: fchmod was always in POSIX.
41164 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41165 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41166 * rt/aio.h: Define __need_timespec before including <time.h>.
41167 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41168 struct. Add forward declaration of pthread_attr_t and use it in
41170 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41171 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41172 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41173 always remove CLK_TCK definition.
41175 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41177 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41179 2012-02-25 Ulrich Drepper <drepper@gmail.com>
41181 * conform/run-conformtest.sh: New file.
41182 * conform/Makefile: Run run-conformtest for tests.
41183 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41186 * conform/data/uchar.h-data: New file.
41187 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41188 * conform/data/arpa/inet.h-data: Likewise.
41189 * conform/data/assert.h-data: Likewise.
41190 * conform/data/complex.h-data: Likewise.
41191 * conform/data/cpio.h-data: Likewise.
41192 * conform/data/ctype.h-data: Likewise.
41193 * conform/data/dirent.h-data: Likewise.
41194 * conform/data/dlfcn.h-data: Likewise.
41195 * conform/data/errno.h-data: Likewise.
41196 * conform/data/fcntl.h-data: Likewise.
41197 * conform/data/float.h-data: Likewise.
41198 * conform/data/fmtmsg.h-data: Likewise.
41199 * conform/data/fnmatch.h-data: Likewise.
41200 * conform/data/ftw.h-data: Likewise.
41201 * conform/data/glob.h-data: Likewise.
41202 * conform/data/grp.h-data: Likewise.
41203 * conform/data/iconv.h-data: Likewise.
41204 * conform/data/inttypes.h-data: Likewise.
41205 * conform/data/langinfo.h-data: Likewise.
41206 * conform/data/libgen.h-data: Likewise.
41207 * conform/data/limits.h-data: Likewise.
41208 * conform/data/locale.h-data: Likewise.
41209 * conform/data/math.h-data: Likewise.
41210 * conform/data/monetary.h-data: Likewise.
41211 * conform/data/mqueue.h-data: Likewise.
41212 * conform/data/ndbm.h-data: Likewise.
41213 * conform/data/net/if.h-data: Likewise.
41214 * conform/data/netdb.h-data: Likewise.
41215 * conform/data/netinet/in.h-data: Likewise.
41216 * conform/data/nl_types.h-data: Likewise.
41217 * conform/data/poll.h-data: Likewise.
41218 * conform/data/pthread.h-data: Likewise.
41219 * conform/data/pwd.h-data: Likewise.
41220 * conform/data/regex.h-data: Likewise.
41221 * conform/data/sched.h-data: Likewise.
41222 * conform/data/search.h-data: Likewise.
41223 * conform/data/semaphore.h-data: Likewise.
41224 * conform/data/setjmp.h-data: Likewise.
41225 * conform/data/signal.h-data: Likewise.
41226 * conform/data/spawn.h-data: Likewise.
41227 * conform/data/stdarg.h-data: Likewise.
41228 * conform/data/stdio.h-data: Likewise.
41229 * conform/data/stdlib.h-data: Likewise.
41230 * conform/data/string.h-data: Likewise.
41231 * conform/data/strings.h-data: Likewise.
41232 * conform/data/stropts.h-data: Likewise.
41233 * conform/data/sys/ipc.h-data: Likewise.
41234 * conform/data/sys/mman.h-data: Likewise.
41235 * conform/data/sys/msg.h-data: Likewise.
41236 * conform/data/sys/resource.h-data: Likewise.
41237 * conform/data/sys/select.h-data: Likewise.
41238 * conform/data/sys/sem.h-data: Likewise.
41239 * conform/data/sys/shm.h-data: Likewise.
41240 * conform/data/sys/socket.h-data: Likewise.
41241 * conform/data/sys/stat.h-data: Likewise.
41242 * conform/data/sys/statvfs.h-data: Likewise.
41243 * conform/data/sys/time.h-data: Likewise.
41244 * conform/data/sys/timeb.h-data: Likewise.
41245 * conform/data/sys/times.h-data: Likewise.
41246 * conform/data/sys/types.h-data: Likewise.
41247 * conform/data/sys/uio.h-data: Likewise.
41248 * conform/data/sys/un.h-data: Likewise.
41249 * conform/data/sys/utsname.h-data: Likewise.
41250 * conform/data/sys/wait.h-data: Likewise.
41251 * conform/data/syslog.h-data: Likewise.
41252 * conform/data/tar.h-data: Likewise.
41253 * conform/data/termios.h-data: Likewise.
41254 * conform/data/utime.h-data: Likewise.
41255 * conform/data/utmpx.h-data: Likewise.
41256 * conform/data/varargs.h-data: Likewise.
41257 * conform/data/wchar.h-data: Likewise.
41258 * conform/data/wctype.h-data: Likewise.
41259 * conform/data/wordexp.h-data: Likewise.
41261 * include/stropts.h: New file.
41262 * include/uchar.h: New file.
41263 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41264 * include/assert.h: Likewise.
41265 * include/ctype.h: Likewise.
41266 * include/dirent.h: Likewise.
41267 * include/dlfcn.h: Likewise.
41268 * include/fcntl.h: Likewise.
41269 * include/fnmatch.h: Likewise.
41270 * include/glob.h: Likewise.
41271 * include/grp.h: Likewise.
41272 * include/libio.h: Likewise.
41273 * include/locale.h: Likewise.
41274 * include/math.h: Likewise.
41275 * include/net/if.h: Likewise.
41276 * include/netdb.h: Likewise.
41277 * include/netinet/in.h: Likewise.
41278 * include/pthread.h: Likewise.
41279 * include/pwd.h: Likewise.
41280 * include/regex.h: Likewise.
41281 * include/sched.h: Likewise.
41282 * include/search.h: Likewise.
41283 * include/setjmp.h: Likewise.
41284 * include/signal.h: Likewise.
41285 * include/stdio.h: Likewise.
41286 * include/stdlib.h: Likewise.
41287 * include/string.h: Likewise.
41288 * include/sys/cdefs.h: Likewise.
41289 * include/sys/mman.h: Likewise.
41290 * include/sys/msg.h: Likewise.
41291 * include/sys/resource.h: Likewise.
41292 * include/sys/select.h: Likewise.
41293 * include/sys/socket.h: Likewise.
41294 * include/sys/stat.h: Likewise.
41295 * include/sys/statvfs.h: Likewise.
41296 * include/sys/time.h: Likewise.
41297 * include/sys/times.h: Likewise.
41298 * include/sys/uio.h: Likewise.
41299 * include/sys/utsname.h: Likewise.
41300 * include/sys/wait.h: Likewise.
41301 * include/termios.h: Likewise.
41302 * include/time.h: Likewise.
41303 * include/ulimit.h: Likewise.
41304 * include/unistd.h: Likewise.
41305 * include/utime.h: Likewise.
41306 * include/wchar.h: Likewise.
41307 * include/wctype.h: Likewise.
41308 * include/wordexp.h: Likewise.
41310 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41312 * time/time.h: TIME_UTC must be a macro.
41313 Make timespec_get available for ISO C11 only as well.
41315 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41317 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41318 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41320 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41322 * configure.in: Use -o not -a in test for unsupported multi-arch.
41324 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41326 * manual/texinfo.tex: Update to version 2012-01-19.16.
41328 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41330 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41332 2012-02-24 Roland McGrath <roland@hack.frob.com>
41335 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41336 * manual/fdl-1.3.texi: New file.
41337 * manual/fdl-1.1.texi: File removed.
41340 * manual/libc.texinfo (FDL_VERSION): New @set.
41341 Use it for mention of FDL in cover text.
41342 (Documentation License): Use it in @include file name.
41344 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41345 Roland McGrath <roland@hack.frob.com>
41348 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41349 (not LONG_LONG_MAX and LONG_LONG_MIN.
41350 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41351 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41353 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41355 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41359 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41360 manipulate bits before adding and subtracting TWO23[sx].
41361 * math/libm-test.inc (nearbyint_test): Add more tests.
41363 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41366 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41367 bits before adding and subtracting TWO23[sx].
41368 * math/libm-test.inc (rint_test): Add more tests.
41369 (rint_test_tonearest): Likewise.
41370 (rint_test_towardzero): Likewise.
41371 (rint_test_downward): Likewise.
41372 (rint_test_upward: Likewise.
41374 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41377 * include/stdc-predef.h: New file. Extracted from features.h.
41378 * include/features.h: Include stdc-predef.h.
41379 * Makefile (headers): Add stdc-predef.h.
41380 * CONFORMANCE (Compiler limitations): Update.
41382 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41384 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41386 2012-02-21 David S. Miller <davem@davemloft.net>
41388 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41389 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41391 2012-02-20 David S. Miller <davem@davemloft.net>
41393 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41394 using a normal save/restore sequence, rather than allocating a
41395 dummy stack frame just to store a frame pointer and restore.
41396 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41398 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41400 * manual/install.texi: Fix stray word in line-wrapped comment.
41402 2012-02-20 David S. Miller <davem@davemloft.net>
41404 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41405 both binutils and gcc support GOTDATA.
41407 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41408 "rd %pc" in the PIC register setup sequences.
41410 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41411 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41412 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41413 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41414 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41417 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41418 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41419 (SYSCALL_ERROR_HANDLER): Likewise.
41420 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41421 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41422 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41423 (SYSCALL_ERROR_HANDLER): Likewise.
41425 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41426 (HAVE_GCC_GOTDATA): New.
41427 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41428 relocation support in both binutils and gcc.
41429 * sysdeps/sparc/elf/configure: Regenerate.
41431 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41432 * sysdeps/sparc/sparc32/elf/configure: Delete.
41433 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41434 * sysdeps/sparc/sparc64/elf/configure: Delete.
41435 * sysdeps/sparc/elf/configure.in: New file.
41436 * sysdeps/sparc/elf/configure: Generate.
41438 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41439 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41440 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41441 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41442 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41444 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41446 * manual/install.texi: Do not mention specific glibc version
41448 * manual/libc.texinfo (VERSION, UPDATED): Update.
41449 (@copying): Use @copyright{} and range of years.
41451 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41454 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41455 [crti.S not in sysdirs] (generated): Do not append.
41456 [crti.S not in sysdirs] (omit-deps): Likewise.
41457 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41458 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41459 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41460 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41461 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41463 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41464 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41465 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41466 * csu/defs.awk: Remove file.
41467 * sysdeps/generic/initfini.c: Likewise.
41468 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41470 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41473 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41475 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41476 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41477 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41478 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41479 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41480 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41482 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41483 (__EPOLL_PACKED): Define to empty if not defined by
41485 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41489 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41491 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41492 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41493 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41494 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41496 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41500 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41502 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41504 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41505 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41509 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41512 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41514 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41516 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41517 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41519 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41521 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41524 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41526 * math/w_acos.c: Use non-signaling floating-point comparisons.
41527 * math/w_acosf.c: Likewise.
41528 * math/w_acosh.c: Likewise.
41529 * math/w_acoshf.c: Likewise.
41530 * math/w_acoshl.c: Likewise.
41531 * math/w_acosl.c: Likewise.
41532 * math/w_asin.c: Likewise.
41533 * math/w_asinf.c: Likewise.
41534 * math/w_asinl.c: Likewise.
41535 * math/w_atanh.c: Likewise.
41536 * math/w_atanhf.c: Likewise.
41537 * math/w_atanhl.c: Likewise.
41538 * math/w_exp2.c: Likewise.
41539 * math/w_exp2f.c: Likewise.
41540 * math/w_exp2l.c: Likewise.
41541 * math/w_j0.c: Likewise.
41542 * math/w_j0f.c: Likewise.
41543 * math/w_j0l.c: Likewise.
41544 * math/w_j1.c: Likewise.
41545 * math/w_j1f.c: Likewise.
41546 * math/w_j1l.c: Likewise.
41547 * math/w_jn.c: Likewise.
41548 * math/w_jnf.c: Likewise.
41549 * math/w_log.c: Likewise.
41550 * math/w_log10.c: Likewise.
41551 * math/w_log10f.c: Likewise.
41552 * math/w_log10l.c: Likewise.
41553 * math/w_log2.c: Likewise.
41554 * math/w_log2f.c: Likewise.
41555 * math/w_log2l.c: Likewise.
41556 * math/w_logf.c: Likewise.
41557 * math/w_logl.c: Likewise.
41558 * math/w_sqrt.c: Likewise.
41559 * math/w_sqrtf.c: Likewise.
41560 * math/w_sqrtl.c: Likewise.
41561 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41562 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41563 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41564 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41565 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41567 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41570 * manual/string.texi (strnlen): Use correct parameter name in
41571 equivalent expression.
41573 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41576 * manual/users.texi (seteuid): Consistently use neweuid for
41579 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41582 * manual/nss.texi (Services in the NSS configuration): Correct
41583 list of services in example configuration file.
41585 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41588 * manual/arith.texi: Remove statements about negative zero
41589 behaving identically to zero.
41591 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41594 * manual/install.texi: Do not document upgrading from libc5.
41596 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41599 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41601 2012-02-18 David S. Miller <davem@davemloft.net>
41603 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41604 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41605 %o7 across the call.
41606 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41609 SETUP_PIC_REG_LEAF.
41610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41611 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41612 * sysdeps/sparc/crtn.S: Likewise.
41614 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41616 * aout/Makefile: Remove.
41618 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41621 * manual/examples/argp-ex1.c (main): Format definition in GNU
41623 * manual/examples/argp-ex2.c (main): Likewise.
41624 * manual/examples/argp-ex3.c (main): Likewise.
41625 * manual/examples/argp-ex4.c (main): Likewise.
41626 * manual/examples/longopt.c (main): Use new-style prototype
41628 * manual/examples/strncat.c (main): Specify return type and use
41629 (void) for arguments.
41630 * manual/examples/subopt.c (main): Use char **argv argument.
41632 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41635 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41638 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41641 * manual/string.texi (strchr): Change when strchrnul is
41644 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41647 * manual/locale.texi (setlocale): Document LOCPATH.
41649 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41652 * manual/process.texi (execle): Move @dots{} before last argument.
41654 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41657 * manual/charset.texi (Generic Charset Conversion): Fix typo
41658 (LC_TYPE -> LC_CTYPE).
41660 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41663 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41664 (scalbnf): Likewise.
41665 (scalbnl): Likewise.
41666 (scalbln): Likewise.
41667 (scalblnf): Likewise.
41668 (scalblnl): Likewise.
41669 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41670 (vwarnx): Likewise.
41673 * manual/filesys.texi (telldir): Use braces around return type.
41674 * manual/llio.texi (mmap): Add space after comma.
41675 (mmap64): Likewise.
41676 * manual/math.texi (jn): Use @var{} on parameter names.
41682 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41684 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41686 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41687 (sched_get_priority_max): Likewise.
41688 * manual/signal.texi (sigvec): Add space after comma.
41689 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41691 (if_indextoname): Likewise.
41692 (if_freenameindex): Likewise.
41693 (sendto): Use ',' instead of '.' in prototype.
41694 * manual/startup.texi (syscall): Use @dots{} instead of literal
41696 * manual/stdio.texi (__fpending): Separate initial words of
41697 paragraph from @deftypefun line.
41698 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41700 (vsyslog): Use @var{} on parameter names.
41701 * manual/terminal.texi (stty): Use @var{} on parameter names.
41702 * manual/users.texi (getutmp): Use @var{} on parameter names.
41703 (getutmpx): Likewise.
41705 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41708 * manual/stdio.texi (fopen): Fix typos in description of
41711 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41714 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41715 get clock_id definition.
41717 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41720 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41721 (madvise): Cast every argument to void on its own.
41723 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41726 * manual/startup.texi (Exit Status): Fix typo.
41728 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41731 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41732 * manual/examples/argp-ex2.c: Likewise.
41733 * manual/examples/argp-ex3.c: Likewise.
41735 2012-02-16 Richard Henderson <rth@redhat.com>
41737 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41738 * sysdeps/s390/s390-32/initfini.c: Remove.
41739 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41740 * sysdeps/s390/s390-64/initfini.c: Remove.
41742 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41744 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41745 compiler output for sysdeps/generic/initfini.c.
41746 * sysdeps/sh/elf/initfini.c: Remove file.
41748 2012-02-16 David S. Miller <davem@davemloft.net>
41751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41753 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41754 * sysdeps/sparc/crti.S: New file.
41755 * sysdeps/sparc/crtn.S: New file.
41756 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41757 * sysdeps/sparc/sparc64/Makefile: Likewise.
41759 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41762 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41764 2012-02-15 Roland McGrath <roland@hack.frob.com>
41767 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41769 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41770 (write, read, close): Likewise.
41771 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41773 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41775 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41776 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41777 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41778 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41780 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41784 2012-02-14 Marek Polacek <polacek@redhat.com>
41786 * sysdeps/x86_64/crti.S: New file.
41787 * sysdeps/x86_64/crtn.S: New file.
41788 * sysdeps/x86_64/elf/initfini.c: Remove file.
41790 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41792 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41793 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41794 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41795 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41797 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41801 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41803 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41804 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41805 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41806 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41808 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41812 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41814 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41815 __feraiseexcept instead of feraiseexcept.
41817 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41818 nanosleep invocations.
41819 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41820 strings, and add error checking for a nanosleep invocations.
41822 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41824 Replace FSF snail mail address with URLs, as per GNU coding standards.
41825 Most of the snail mail addresses were wrong anyway, and omitting
41826 them makes the source code easier to maintain. Almost all of the
41827 changes are to license notices and to locale LC_IDENTIFICATION
41828 addresses, except for this one:
41829 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41830 not its snail mail address.
41832 2012-02-09 Richard Henderson <rth@twiddle.net>
41834 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41835 of kernel-features.h.
41837 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41839 2012-02-08 Marek Polacek <polacek@redhat.com>
41841 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41842 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41843 * sysdeps/gnu/_G_config.h: Likewise.
41844 * sysdeps/generic/_G_config.h: Likewise.
41846 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41848 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41852 * sysdeps/powerpc/powerpc32/crti.S: New file.
41853 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41854 * sysdeps/powerpc/powerpc64/crti.S: New file.
41855 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41857 * Makeconfig (have-initfini): Don't set.
41858 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41859 * configure.in (nopic_initfini): Don't substitute.
41860 * config.h.in (HAVE_INITFINI): Don't #undef.
41861 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41862 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41864 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41866 Support crti.S and crtn.S provided directly by architectures.
41867 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41868 [crti.S in sysdirs] (omit-deps): Likewise.
41869 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41870 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41871 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41872 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41873 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41874 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41875 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41876 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41877 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41878 compiler output for sysdeps/generic/initfini.c.
41879 * sysdeps/i386/elf/Makefile: Remove file.
41880 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41882 2012-02-07 Marek Polacek <polacek@redhat.com>
41884 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41885 * sysdeps/gnu/_G_config.h: Likewise.
41886 * sysdeps/mach/hurd/_G_config.h: Likewise.
41888 2012-02-07 Marek Polacek <polacek@redhat.com>
41890 * math/Makefile (tests): Add tst-CMPLX2.
41891 * math/tst-CMPLX2.c: New file.
41893 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41895 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41897 * math/libm-test.inc (jn_test): Add missing L suffix.
41899 2012-02-06 Marek Polacek <polacek@redhat.com>
41901 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41902 * sysdeps/i386/fpu/e_powf.S: Likewise.
41903 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41904 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41905 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41906 * sysdeps/i386/fpu/e_pow.S: Likewise.
41907 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41908 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41909 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41910 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41911 * sysdeps/i386/fpu/e_log2.S: Likewise.
41912 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41913 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41914 * sysdeps/i386/fpu/e_powl.S: Likewise.
41915 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41916 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41917 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41918 * sysdeps/i386/fpu/e_logl.S: Likewise.
41919 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41920 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41921 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41922 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41923 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41924 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41925 * sysdeps/i386/fpu/e_log.S: Likewise.
41926 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41927 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41928 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41929 * sysdeps/i386/fpu/e_logf.S: Likewise.
41930 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41931 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41932 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41933 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41934 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41935 * sysdeps/i386/fpu/e_log10.S: Likewise.
41936 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41937 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41938 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41939 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41940 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41941 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41942 * sysdeps/i386/asm-syntax.h: Likewise.
41943 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41944 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41945 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41946 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41947 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41948 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41949 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41950 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41951 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41952 * sysdeps/powerpc/sysdep.h: Likewise.
41953 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41954 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41956 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41959 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41961 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41963 * sysdeps/i386/sysdep.h: Include <features.h>.
41964 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41967 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41969 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41971 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41974 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41976 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41977 (SETUP_PIC_REG): Use GET_PC_THUNK.
41978 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41981 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41983 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41984 for non-PIC compilation.
41985 (SETUP_PIC_REG): Add .p2align directive.
41986 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41987 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41988 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41989 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41990 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41991 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41992 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41994 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41995 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41996 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41997 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41998 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41999 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42000 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42001 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42002 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42003 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42004 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42005 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42006 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42008 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42009 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42010 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42012 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42013 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42014 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42015 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42016 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42017 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42018 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42019 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42020 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42021 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42022 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42023 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42024 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42025 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42026 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42028 2012-02-03 Joseph Myers <joseph@codesourcery.com>
42030 * math/tst-CMPLX.c: Include <stdio.h>.
42032 2012-01-31 Joseph Myers <joseph@codesourcery.com>
42034 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42036 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42037 * sysdeps/sparc/bits/mathdef.h: Likewise.
42039 2012-01-31 Marek Polacek <polacek@redhat.com>
42041 * libio/libio.h: Don't define _PARAMS.
42042 * locale/programs/config.h: Don't define PARAMS.
42043 * stdlib/strtol_l.c: Likewise.
42044 (__strtol_l): Remove PARAMS from the prototype.
42046 2012-01-31 Ulrich Drepper <drepper@gmail.com>
42048 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42049 names. Just use the correct names. Remove unnecessary wrapper
42051 * malloc/arena.c: Likewise.
42052 * malloc/hooks.c: Likewise.
42054 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42055 ARENA_TEST says not to. Simplify test for creation of a new arena.
42056 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42058 2012-01-30 Ulrich Drepper <drepper@gmail.com>
42060 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42062 (update_get_addr): New function.
42063 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42064 GET_ADDR_MODULE parameter.
42066 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42068 * crypt/cert.c: Remove __STDC__ conditionals.
42069 * crypt/crypt-entry.c: Likewise.
42070 * crypt/crypt_util.c: Likewise.
42071 * libio/filedoalloc.c: Likewise.
42072 * libio/fileops.c: Likewise.
42073 * libio/genops.c: Likewise.
42074 * libio/iofclose.c: Likewise.
42075 * libio/iofdopen.c: Likewise.
42076 * libio/iofopen.c: Likewise.
42077 * libio/iofopen64.c: Likewise.
42078 * libio/iogetdelim.c: Likewise.
42079 * libio/iopopen.c: Likewise.
42080 * libio/obprintf.c: Likewise.
42081 * libio/oldfileops.c: Likewise.
42082 * libio/oldiofclose.c: Likewise.
42083 * libio/oldiofdopen.c: Likewise.
42084 * libio/oldiofopen.c: Likewise.
42085 * libio/oldiopopen.c: Likewise.
42086 * libio/wfiledoalloc.c: Likewise.
42087 * libio/wgenops.c: Likewise.
42088 * locale/programs/xmalloc.c: Likewise.
42089 * misc/syslog.c: Likewise.
42090 * stdio-common/xbug.c: Likewise.
42091 * string/memchr.c: Likewise.
42092 * string/memcmp.c: Likewise.
42093 * string/memrchr.c: Likewise.
42094 * string/rawmemchr.c: Likewise.
42095 * sysdeps/posix/getcwd.c: Likewise.
42096 * time/strftime_l.c: Likewise.
42098 2012-01-30 Joseph Myers <joseph@codesourcery.com>
42100 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42101 * config.make.in (config-cflags-sse2avx): Define.
42102 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42105 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42107 * scripts/config.guess: Update from upstream config git repository.
42108 * scripts/config.sub: Likewise.
42110 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42112 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42114 (R_TILEPRO_*, R_TILEGX_*): New macros.
42116 * scripts/firstversions.awk: Fix bug in version range handling.
42118 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42120 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42122 * include/sys/epoll.h: New file.
42123 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42126 2012-01-28 Ulrich Drepper <drepper@gmail.com>
42128 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42129 Avoid unnecessary __WORDSIZE == 64 test.
42130 (fmaxf): Use VEX format if possible.
42135 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42136 * math/math_private.h: Remove libc_fegetround* and
42138 * sysdeps/i386/configure.in: Check for -msse2avx.
42139 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42140 also if SSE2AVX is defined.
42141 Remove libc_fegetround* and libc_fesetround*.
42142 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42143 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42144 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42146 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42147 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42148 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42149 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42152 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42154 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42156 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42158 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42160 2012-01-27 Ulrich Drepper <drepper@gmail.com>
42163 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42165 * Makeconfig (libm): Define.
42166 * elf/Makefile: Add rules to build and run tst-relsort1.
42167 * elf/tst-relsort1.c: New file.
42168 * elf/tst-relsort1mod1.c: New file.
42169 * elf/tst-relsort1mod2.c: New file.
42171 2012-01-27 Joseph Myers <joseph@codesourcery.com>
42173 * math/s_ldexp.c: Remove __STDC__ conditionals.
42174 * math/s_ldexpf.c: Likewise.
42175 * math/s_ldexpl.c: Likewise.
42176 * math/s_nextafter.c: Likewise.
42177 * math/s_nexttowardf.c: Likewise.
42178 * math/s_significand.c: Likewise.
42179 * math/s_significandf.c: Likewise.
42180 * math/s_significandl.c: Likewise.
42181 * math/w_jnl.c: Likewise.
42182 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42183 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42184 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42185 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42186 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42198 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42201 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42202 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42203 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42204 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42206 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42207 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42208 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42209 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42210 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42211 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42212 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42213 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42214 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42215 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42216 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42217 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42218 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42219 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42220 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42221 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42222 * sysdeps/ieee754/k_standard.c: Likewise.
42223 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42224 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42225 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42226 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42237 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42238 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42252 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42254 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42255 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42256 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42257 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42258 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42259 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42260 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42261 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42262 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42263 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42264 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42265 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42266 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42267 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42268 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42269 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42270 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42271 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42272 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42273 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42274 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42275 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42276 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42277 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42278 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42279 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42280 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42281 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42282 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42283 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42284 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42285 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42287 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42288 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42289 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42290 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42291 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42292 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42293 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42295 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42296 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42297 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42298 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42299 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42300 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42301 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42302 * sysdeps/ieee754/s_matherr.c: Likewise.
42303 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42304 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42308 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42310 * crypt/md5.h: Remove __STDC__ conditionals.
42311 * libio/libioP.h: Likewise.
42312 * locale/programs/config.h: Likewise.
42313 * sysdeps/generic/sysdep.h: Likewise.
42314 * sysdeps/i386/asm-syntax.h: Likewise.
42315 * sysdeps/s390/asm-syntax.h: Likewise.
42316 * sysdeps/unix/sysdep.h: Likewise.
42317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42320 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42322 * libio/libio.h: Remove __STDC__ conditionals.
42323 * malloc/obstack.h: Likewise.
42324 * math/complex.h: Likewise.
42325 * math/math.h: Likewise.
42326 * sysdeps/generic/_G_config.h: Likewise.
42327 * sysdeps/gnu/_G_config.h: Likewise.
42328 * sysdeps/mach/hurd/_G_config.h: Likewise.
42329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42330 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42331 * sysdeps/sparc/bits/mathdef.h: Likewise.
42333 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42336 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42337 Clean up HAS_* macros.
42338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42339 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42341 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42343 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42344 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42345 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42346 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42347 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42349 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42351 * elf/tst-unique3.cc (gets): Remove declaration.
42352 * elf/tst-unique3lib.cc (gets): Likewise.
42353 * elf/tst-unique3lib2.cc (gets): Likewise.
42354 * elf/tst-unique4.cc (gets): Likewise.
42356 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42358 * include/stdio.h: Add C++ protection. Add gets declarations and
42360 * debug/tst-chk1.c: Don't declare gets here.
42361 * stdio-common/tst-gets.c: Likewise.
42363 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42365 * posix/glob: Remove directory.
42367 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42369 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42371 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42373 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42374 of the non-standard EPFNOSUPPORT.
42376 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42378 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42379 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42380 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42382 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42384 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42386 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42388 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42390 * nscd/grpcache.c (cache_addgr): Likewise.
42391 * nscd/hstcache.c (cache_addhst): Likewise.
42392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42393 * nscd/pwdcache.c (cache_addpw): Likewise.
42394 * nscd/servicescache.c (cache_addserv): Likewise.
42396 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42398 * malloc/malloc.c: Various cleanups.
42399 * malloc/hooks.c: Likewise.
42401 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42402 * stdlib/bug-fmtmsg1.c: New file.
42404 * stdlib/fmtmsg.c (init): Add missing unlock.
42405 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42407 2012-01-12 Marek Polacek <polacek@redhat.com>
42409 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42412 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42414 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42415 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42416 macro to ensure uniqueness of label name.
42417 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42418 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42420 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42422 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42424 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42425 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42426 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42429 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42431 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42433 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42434 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42437 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42439 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42440 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42441 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42444 * math/bits/math-finite.h: Add ldexp support.
42446 2012-01-10 Marek Polacek <polacek@redhat.com>
42448 * locale/programs/localedef.h (show_archive_content): Add noreturn
42451 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42453 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42455 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42457 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42459 * io/Makefile (headers): Add bits/poll2.h.
42461 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42464 typo #include statement.
42466 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42468 * include/sys/cdefs.h: Define __attribute_alloc_size.
42469 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42470 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42471 * elf/pldd.c: Likewise.
42472 * iconv/iconv_charmap.c: Likewise.
42473 * iconv/iconvconfig.c: Likewise.
42474 * iconv/strtab.c: Likewise.
42475 * locale/programs/locale.c: Likewise.
42476 * locale/programs/localedef.h: Likewise.
42477 * locale/programs/simple-hash.c: Likewise.
42478 * nscd/nscd.h: Likewise.
42479 * nss/makedb.c: Likewise.
42480 * sysdeps/generic/ldconfig.h: Likewise.
42481 * locale/programs/localedef.c: Remove xmalloc prototype.
42482 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42484 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42486 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42489 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42491 * math/Makefile (tests): Add tst-CMPLX.
42492 * math/tst-CMPLX.c: New file.
42494 * math/complex.h (CMPLXL): Fix typo.
42496 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42497 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42499 * debug/tst-chk1.c: Add poll and ppoll tests.
42500 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42501 * include/sys/poll.h: Add hidden proto for ppoll.
42502 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42503 * sysdeps/mach/hurd/ppoll.c: Likewise.
42504 * io/ppoll.c: Likewise.
42505 * debug/poll_chk.c: New file.
42506 * debug/ppoll_chk.c: New file.
42507 * include/bits/poll2.h: New file.
42508 * io/bits/poll2.h: New file.
42511 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42513 * configure.in: static is always set to yes. Remove.
42514 * config.make.in: Don't set build-static.
42515 * Makeconfig: Remove use of build-static.
42516 * dlfcn/Makefile: Likewise.
42517 * elf/Makefile: Likewise.
42518 * math/Makefile: Likewise.
42519 * misc/Makefile: Likewise.
42520 * nptl/Makefile: Likewise.
42521 * sysdeps/mach/hurd/Makefile: Likewise.
42523 * configure.in: PWD_P is not used anymore.
42524 * config.make.in: Remove PWD_P entry.
42526 * configure.in: Remove last remnants of RANLIB.
42527 No need to check for signed size_t anymore.
42528 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42530 Remove __builtin_expect test because we require at least gcc 3.4.
42531 * aclocal.m4: Likewise.
42533 * wcsmbs/mbrtoc16.c: Implement using towc function.
42534 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42535 * wcsmbs/wcsmbsload.c: Likewise.
42536 * iconv/gconv_simple.c: Likewise.
42537 * iconv/gconv_int.h: Likewise.
42538 * iconv/gconv_builtin.h: Likewise.
42539 * iconv/iconv_prog.c: Remove CHAR16 handling.
42541 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42543 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42545 * configure.in: Remove --with-elf and --enable-bounded options.
42546 Dont set base_machine for ia64. More non-ELF conditions removed.
42547 Remove testing and setting of leading underscore information.
42548 * config.make.in (build-bounded): Set to no.
42549 * config.h.in: Remove NO_UNDERSCORES entry.
42550 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42552 * csu/start.c: Remove !NO_UNDERSCORE code.
42553 * locale/localeinfo.h: Likewise.
42554 * sysdeps/generic/machine-gmon.h: Likewise.
42555 * sysdeps/generic/sysdep.h: Likewise.
42556 * sysdeps/i386/sysdep.h: Likewise.
42557 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42558 * sysdeps/mach/sysdep.h: Likewise.
42559 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42560 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42561 * sysdeps/sh/sysdep.h: Likewise.
42562 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42563 * sysdeps/unix/i386/sysdep.S: Likewise.
42564 * sysdeps/unix/sparc/start.c: Likewise.
42565 * sysdeps/unix/sparc/sysdep.S: Likewise.
42566 * sysdeps/unix/sparc/sysdep.h: Likewise.
42567 * sysdeps/unix/start.c: Likewise.
42568 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42569 * sysdeps/x86_64/sysdep.h: Likewise.
42571 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42574 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42576 * argp/argp-fmtstream.h: Use const instead __const.
42577 * argp/argp.h: Likewise.
42578 * assert/assert.h: Likewise.
42579 * bits/fenv.h: Likewise.
42580 * bits/sched.h: Likewise.
42581 * bits/sigset.h: Likewise.
42582 * bits/sigthread.h: Likewise.
42583 * catgets/nl_types.h: Likewise.
42584 * conform/data/pthread.h-data: Likewise.
42585 * crypt/crypt-private.h: Likewise.
42586 * crypt/crypt.h: Likewise.
42587 * crypt/crypt_util.c: Likewise.
42588 * ctype/ctype.h: Likewise.
42589 * debug/execinfo.h: Likewise.
42590 * debug/mbsnrtowcs_chk.c: Likewise.
42591 * debug/mbsrtowcs_chk.c: Likewise.
42592 * debug/wcsnrtombs_chk.c: Likewise.
42593 * debug/wcsrtombs_chk.c: Likewise.
42594 * debug/wcstombs_chk.c: Likewise.
42595 * dirent/dirent.h: Likewise.
42596 * dlfcn/dlfcn.h: Likewise.
42597 * elf/neededtest4.c: Likewise.
42598 * grp/grp.h: Likewise.
42599 * gshadow/gshadow.h: Likewise.
42600 * iconv/gconv.h: Likewise.
42601 * iconv/gconv_int.h: Likewise.
42602 * iconv/gconv_simple.c: Likewise.
42603 * iconv/iconv.h: Likewise.
42604 * iconv/loop.c: Likewise.
42605 * iconv/skeleton.c: Likewise.
42606 * include/aio.h: Likewise.
42607 * include/aliases.h: Likewise.
42608 * include/argz.h: Likewise.
42609 * include/arpa/inet.h: Likewise.
42610 * include/assert.h: Likewise.
42611 * include/dirent.h: Likewise.
42612 * include/dlfcn.h: Likewise.
42613 * include/execinfo.h: Likewise.
42614 * include/fcntl.h: Likewise.
42615 * include/fenv.h: Likewise.
42616 * include/glob.h: Likewise.
42617 * include/grp.h: Likewise.
42618 * include/libintl.h: Likewise.
42619 * include/mntent.h: Likewise.
42620 * include/netdb.h: Likewise.
42621 * include/pwd.h: Likewise.
42622 * include/rpc/netdb.h: Likewise.
42623 * include/sched.h: Likewise.
42624 * include/search.h: Likewise.
42625 * include/shadow.h: Likewise.
42626 * include/signal.h: Likewise.
42627 * include/stdio.h: Likewise.
42628 * include/stdlib.h: Likewise.
42629 * include/string.h: Likewise.
42630 * include/sys/socket.h: Likewise.
42631 * include/sys/stat.h: Likewise.
42632 * include/sys/statfs.h: Likewise.
42633 * include/sys/statvfs.h: Likewise.
42634 * include/sys/syslog.h: Likewise.
42635 * include/sys/time.h: Likewise.
42636 * include/sys/uio.h: Likewise.
42637 * include/time.h: Likewise.
42638 * include/unistd.h: Likewise.
42639 * include/utmp.h: Likewise.
42640 * include/wchar.h: Likewise.
42641 * include/wctype.h: Likewise.
42642 * inet/aliases.h: Likewise.
42643 * inet/arpa/inet.h: Likewise.
42644 * inet/netinet/ether.h: Likewise.
42645 * inet/netinet/in.h: Likewise.
42646 * intl/libintl.h: Likewise.
42647 * io/bits/fcntl2.h: Likewise.
42648 * io/fcntl.h: Likewise.
42649 * io/ftw.h: Likewise.
42650 * io/sys/poll.h: Likewise.
42651 * io/sys/stat.h: Likewise.
42652 * io/sys/statfs.h: Likewise.
42653 * io/sys/statvfs.h: Likewise.
42654 * io/utime.h: Likewise.
42655 * libio/bits/stdio.h: Likewise.
42656 * libio/bits/stdio2.h: Likewise.
42657 * libio/libio.h: Likewise.
42658 * libio/libioP.h: Likewise.
42659 * libio/stdio.h: Likewise.
42660 * locale/lc-ctype.c: Likewise.
42661 * locale/locale.h: Likewise.
42662 * login/utmp.h: Likewise.
42663 * malloc/arena.c: Likewise.
42664 * malloc/malloc.c: Likewise.
42665 * malloc/malloc.h: Likewise.
42666 * malloc/mcheck.c: Likewise.
42667 * malloc/mtrace.c: Likewise.
42668 * math/bits/mathcalls.h: Likewise.
42669 * math/fenv.h: Likewise.
42670 * math/math_private.h: Likewise.
42671 * misc/bits/error.h: Likewise.
42672 * misc/bits/syslog.h: Likewise.
42673 * misc/err.h: Likewise.
42674 * misc/error.h: Likewise.
42675 * misc/fstab.h: Likewise.
42676 * misc/mntent.h: Likewise.
42677 * misc/regexp.h: Likewise.
42678 * misc/search.h: Likewise.
42679 * misc/sgtty.h: Likewise.
42680 * misc/sys/mman.h: Likewise.
42681 * misc/sys/syslog.h: Likewise.
42682 * misc/sys/uio.h: Likewise.
42683 * misc/sys/xattr.h: Likewise.
42684 * misc/ttyent.h: Likewise.
42685 * nis/rpcsvc/ypclnt.h: Likewise.
42686 * nss/nss.h: Likewise.
42687 * posix/bits/unistd.h: Likewise.
42688 * posix/fnmatch.h: Likewise.
42689 * posix/glob.h: Likewise.
42690 * posix/sched.h: Likewise.
42691 * posix/spawn.h: Likewise.
42692 * posix/sys/wait.h: Likewise.
42693 * posix/unistd.h: Likewise.
42694 * posix/wordexp.h: Likewise.
42695 * pwd/pwd.h: Likewise.
42696 * resolv/netdb.h: Likewise.
42697 * resource/sys/resource.h: Likewise.
42698 * rt/aio.h: Likewise.
42699 * rt/bits/mqueue2.h: Likewise.
42700 * rt/mqueue.h: Likewise.
42701 * shadow/shadow.h: Likewise.
42702 * signal/signal.h: Likewise.
42703 * socket/send.c: Likewise.
42704 * socket/sendto.c: Likewise.
42705 * socket/sys/socket.h: Likewise.
42706 * stdio-common/printf.h: Likewise.
42707 * stdlib/bits/stdlib.h: Likewise.
42708 * stdlib/fmtmsg.h: Likewise.
42709 * stdlib/monetary.h: Likewise.
42710 * stdlib/stdlib.h: Likewise.
42711 * stdlib/ucontext.h: Likewise.
42712 * streams/stropts.h: Likewise.
42713 * string/argz.h: Likewise.
42714 * string/bits/string2.h: Likewise.
42715 * string/string.h: Likewise.
42716 * string/strings.h: Likewise.
42717 * sunrpc/rpc/auth.h: Likewise.
42718 * sunrpc/rpc/auth_des.h: Likewise.
42719 * sunrpc/rpc/clnt.h: Likewise.
42720 * sunrpc/rpc/netdb.h: Likewise.
42721 * sunrpc/rpc/pmap_clnt.h: Likewise.
42722 * sunrpc/rpc/xdr.h: Likewise.
42723 * sysdeps/generic/inttypes.h: Likewise.
42724 * sysdeps/generic/net/if.h: Likewise.
42725 * sysdeps/generic/sys/swap.h: Likewise.
42726 * sysdeps/gnu/net/if.h: Likewise.
42727 * sysdeps/gnu/utmpx.h: Likewise.
42728 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42729 * sysdeps/i386/i486/bits/string.h: Likewise.
42730 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42731 * sysdeps/s390/bits/string.h: Likewise.
42732 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42733 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42734 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42735 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42736 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42737 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42738 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42739 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42740 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42741 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42742 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42743 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42744 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42745 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42746 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42747 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42748 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42750 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42751 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42752 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42753 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42754 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42755 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42756 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42757 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42758 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42760 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42761 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42762 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42763 * sysvipc/sys/ipc.h: Likewise.
42764 * sysvipc/sys/msg.h: Likewise.
42765 * sysvipc/sys/sem.h: Likewise.
42766 * sysvipc/sys/shm.h: Likewise.
42767 * termios/termios.h: Likewise.
42768 * time/sys/time.h: Likewise.
42769 * time/time.h: Likewise.
42770 * wcsmbs/bits/wchar2.h: Likewise.
42771 * wcsmbs/uchar.h: Likewise.
42772 * wcsmbs/wchar.h: Likewise.
42773 * wctype/wctype.h: Likewise.
42776 * Makeconfig: Remove all but ELF support including AIX support.
42777 * Makerules: Likewise.
42778 * config.h.in: Likewise.
42779 * config.make.in: Likewise.
42780 * configure: Likewise.
42781 * configure.in: Likewise.
42782 * csu/Makefile: Likewise.
42783 * csu/version.c: Likewise.
42784 * debug/Makefile: Likewise.
42785 * dlfcn/Makefile: Likewise.
42786 * elf/Makefile: Likewise.
42787 * extra-lib.mk: Likewise.
42788 * iconv/Makefile: Likewise.
42789 * include/libc-symbols.h: Likewise.
42790 * include/shlib-compat.h: Likewise.
42791 * resolv/Makefile: Likewise.
42792 * resolv/res_libc.c: Likewise.
42793 * rt/Makefile: Likewise.
42794 * sysdeps/i386/asm-syntax.h: Likewise.
42795 * sysdeps/i386/sysdep.h: Likewise.
42796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42797 * sysdeps/mach/sysdep.h: Likewise.
42798 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42799 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42800 * sysdeps/s390/asm-syntax.h: Likewise.
42801 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42803 * sysdeps/sh/sysdep.h: Likewise.
42804 * sysdeps/unix/sparc/sysdep.h: Likewise.
42805 * sysdeps/wordsize-32/divdi3.c: Likewise.
42806 * sysdeps/x86_64/sysdep.h: Likewise.
42808 * argp/Versions: Remove _argp_unlock_xxx.
42811 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42812 * abilist/libBrokenLocale.abilist: Likewise.
42813 * abilist/libanl.abilist: Likewise.
42814 * abilist/libc.abilist: Likewise.
42815 * abilist/libcrypt.abilist: Likewise.
42816 * abilist/libdl.abilist: Likewise.
42817 * abilist/libm.abilist: Likewise.
42818 * abilist/libnsl.abilist: Likewise.
42819 * abilist/libpthread.abilist: Likewise.
42820 * abilist/libresolv.abilist: Likewise.
42821 * abilist/librt.abilist: Likewise.
42822 * abilist/libthread_db.abilist: Likewise.
42823 * abilist/libutil.abilist: Likewise.
42824 * abilist/libnss_db.abilist: New file.
42826 * scripts/abilist.awk: Add support for indirect functions.
42828 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42830 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42832 * shlib-versions: Remove entries for ports architectures.
42834 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42836 * elf/stackguard-macros.h: Remove support for IA-64.
42837 * elf/tst-auditmod1.c: Likewise.
42838 * sysdeps/generic/ldsodefs.h: Likewise.
42840 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42841 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42845 * configure.in: Remove --enable-omitfp support.
42847 * config.make.in: Likewise.
42848 * Makeconfig: Likewise.
42849 * manual/install.texi: Likewise.
42851 In case anyone cares, the IA-64 architecture could move to ports.
42852 * sysdeps/ia64/*: Removed.
42853 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42854 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42857 * configure.in: Remove entries for unsupported architectures.
42860 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42861 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42863 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42864 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42865 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42866 fall back to using wcrtomb.
42867 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42868 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42870 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42871 * wcsmbs/tst-c16c32-1.c: New file.
42873 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42876 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42878 * elf/tst-unique3.cc: Add explicit declaration of gets.
42879 * elf/tst-unique3lib.cc: Likewise.
42880 * elf/tst-unique3lib2.cc: Likewise.
42881 * elf/tst-unique4.cc: Likewise.
42883 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42885 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42888 * assert/assert.h (static_assert): Don't define for C++.
42889 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42890 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42892 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42894 * iconv/loop.c (single loop): Fix assertion in storing of
42897 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42899 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42901 * posix/getconf.c: Update copyright year.
42902 * nss/getent.c: Likewise.
42903 * nss/makedb.c: Likewise.
42904 * iconv/iconvconfig.c: Likewise.
42905 * iconv/iconv_prog.c: Likewise.
42906 * elf/ldconfig.c: Likewise.
42907 * elf/pldd.c: Likewise.
42908 * elf/sotruss.ksh: Likewise.
42909 * catgets/gencat.c: Likewise.
42910 * csu/version.c: Likewise.
42911 * elf/ldd.bash.in: Likewise.
42912 * elf/sprof.c (print_version): Likewise.
42913 * locale/programs/locale.c: Likewise.
42914 * locale/programs/localedef.c: Likewise.
42915 * login/programs/pt_chown.c: Likewise.
42916 * nscd/nscd.c (print_version): Likewise.
42917 * debug/xtrace.sh: Likewise.
42918 * malloc/memusage.sh: Likewise.
42919 * malloc/mtrace.pl: Likewise.
42920 * debug/catchsegv.sh: Likewise.
42922 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42924 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42927 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42930 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42931 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42933 * iconv/gconv_int.h: Likewise.
42934 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42935 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42936 from libc for GLIBC_2.16.
42937 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42938 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42939 * wcsmbs/uchar.h: Really define mbstate_t.
42940 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42941 * wcsmbs/c16rtomb.c: New file.
42942 * wcsmbs/mbrtoc16.c: New file.
42943 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42944 for C/POSIX locale.
42945 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42946 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42948 * wcsmbs/wchar.h: Add missing __restrict.
42950 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42953 * time/Makefile (routines): Add timespec_get.
42954 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42955 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42956 timespec for ISO C11.
42957 * time/timespec_get.c: New file.
42958 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42959 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42962 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42963 * stdlib/stdlib.h: Declare aligned_alloc.
42964 * Versions.def: Add GLIBC_2.16 for libc.
42965 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42968 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42971 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42975 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42978 * assert/assert.h (static_assert): Define.
42980 * version.h: Update for 2.16 development version.
42983 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42986 * version.h (RELEASE): Bump for 2.15 release.
42987 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42989 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42990 Patch by Marek Polacek <mpolacek@redhat.com>.
42992 * bits/byteswap.h: Protect long long constants with __extension__.
42993 * sysdeps/i386/bits/byteswap.h: Likewise.
42994 * sysdeps/ia64/bits/byteswap.h: Likewise.
42995 * sysdeps/s390/bits/byteswap.h: Likewise.
42996 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42998 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43001 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43002 destination buffer.
43003 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43005 2011-12-23 Marek Polacek <polacek@redhat.com>
43007 * elf/dl-addr.c (determine_info): Add inline keyword.
43008 * elf/tst-auditmod4b.c (check_avx): Likewise.
43009 * elf/tst-auditmod6b.c (check_avx): Likewise.
43010 * elf/tst-auditmod6c.c (check_avx): Likewise.
43011 * elf/tst-auditmod7b.c (check_avx): Likewise.
43013 2011-12-23 Ulrich Drepper <drepper@gmail.com>
43015 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43018 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43021 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43022 processing for last bytes.
43024 2011-08-06 Bruno Haible <bruno@clisp.org>
43027 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43028 U+0385, not to U+1FEE.
43031 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43032 entry for U+00A5 U+0301.
43034 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43037 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43038 buffer for the output is too small.
43040 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43044 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43045 SSE flags if possible.
43047 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43050 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43051 processing for last bytes.
43053 2011-12-22 Joseph Myers <joseph@codesourcery.com>
43055 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43056 (syscall-list-default-options, syscall-list-default-condition)
43057 (syscall-list-includes): Define.
43058 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43059 list of ABIs and options and #if conditions for each ABI. Do not
43060 handle common syscalls between ABIs specially.
43061 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
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/s390/Makefile (64bit-predefine): Remove.
43067 (syscall-list-variants, syscall-list-32bit-options)
43068 (syscall-list-32bit-condition, syscall-list-64bit-options)
43069 (syscall-list-64bit-condition): Define.
43070 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43072 (syscall-list-variants, syscall-list-32bit-options)
43073 (syscall-list-32bit-condition, syscall-list-64bit-options)
43074 (syscall-list-64bit-condition): Define.
43075 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43077 (syscall-list-variants, syscall-list-32bit-options)
43078 (syscall-list-32bit-condition, syscall-list-64bit-options)
43079 (syscall-list-64bit-condition): Define.
43081 2011-12-22 Ulrich Drepper <drepper@gmail.com>
43083 * locale/iso-639.def: Add brx entry.
43086 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43087 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43089 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43090 __feraiseexcept_renamed.
43092 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43095 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43096 EPOLLET with unsigned values.
43097 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43098 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43100 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43101 to large cancellation.
43102 * math/s_cacoshf.c: Likewise.
43103 * math/s_cacoshl.c: Likewise.
43105 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43109 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43110 * math/s_cacoshf.c: Likewise.
43111 * math/s_cacoshl.c: Likewise.
43113 2011-12-21 Ulrich Drepper <drepper@gmail.com>
43116 * iconv/gconv.h: Define __GCONV_SWAP.
43117 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43118 * iconvdata/utf-16.c: Likewise.
43119 * iconvdata/utf-32.c: Likewise.
43121 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43124 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43125 numerator after shifting it by one limb.
43127 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43130 under [__USE_EXTERN_INLINES].
43132 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43135 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43137 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43139 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43140 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43142 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43143 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43144 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43145 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43146 for strncasecmp/strncasecmp_l compilation.
43147 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43148 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43150 2011-12-08 Marek Polacek <mpolacek@redhat.com>
43153 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43156 2011-12-17 Ulrich Drepper <drepper@gmail.com>
43159 * time/tzfile.c (__tzfile_read): Check values from file header.
43161 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43163 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43164 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43165 * powerpc/powerpc32/dl-start.S: Likewise.
43166 * powerpc/powerpc32/elf/start.S: Likewise.
43167 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43168 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43169 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43170 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43171 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43172 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43173 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43174 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43175 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43176 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43177 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43178 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43179 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43180 * powerpc/powerpc32/memset.S: Likewise.
43181 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43182 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43183 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43184 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43185 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43186 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43187 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43188 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43189 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43190 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43191 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43192 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43193 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43195 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43197 * math/libm-test.inc: Added more nearbyint tests.
43198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43201 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43203 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43205 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43208 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43210 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43211 Add wcscpy-ssse3 wcscpy-c.
43212 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43213 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43214 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43215 * sysdeps/x86_64/wcschr.S: New file.
43216 * sysdeps/x86_64/wcsrchr.S: New file.
43217 * string/test-strcmp.c: Remove checking of wcscmp function for
43219 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43220 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43221 wcsrchr-sse2 wcsrchr-c.
43222 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43223 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43224 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43225 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43226 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43227 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43228 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43229 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43230 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43231 * wcsmbc/wcschr.c (WCSCHR): New macro.
43233 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43235 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43236 * wcsmbs/test-wcsrchr.c: New file.
43237 * string/test-strrchr.c: Add wcsrchr support.
43239 * wcsmbs/test-wcscpy.c: New file.
43240 * string/test-strcpy.c: Add wcscpy support.
43243 2011-12-10 Ulrich Drepper <drepper@gmail.com>
43245 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43248 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43251 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43253 2011-12-04 Ulrich Drepper <drepper@gmail.com>
43255 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43256 Minor optimizations.
43258 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43259 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43260 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43262 2011-12-03 Ulrich Drepper <drepper@gmail.com>
43264 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43265 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43266 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43267 for gcc to avoid warnings.
43268 * inet/Makefile (tests): Add tst-checks.
43269 * inet/tst-checks.c: New file.
43271 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43274 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43277 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43278 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43280 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43282 2011-12-02 Ulrich Drepper <drepper@gmail.com>
43284 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43287 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43289 2011-11-29 Joseph Myers <joseph@codesourcery.com>
43291 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43292 conditional on GCC version.
43293 (__arch_compare_and_exchange_val_8_acq)
43294 (__arch_compare_and_exchange_val_16_acq)
43295 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43296 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43297 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43299 2011-12-02 Joseph Myers <joseph@codesourcery.com>
43301 * sysdeps/sh/backtrace.c: New file.
43303 2011-12-02 Andreas Schwab <schwab@redhat.com>
43305 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43308 2011-12-01 Andreas Schwab <schwab@redhat.com>
43310 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43311 falling back to utime.
43313 2011-11-30 Andreas Schwab <schwab@redhat.com>
43315 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43316 expectations for float.
43318 2011-11-29 Andreas Schwab <schwab@redhat.com>
43320 * locale/weight.h (findidx): Add parameter len.
43321 * locale/weightwc.h (findidx): Likewise.
43322 * posix/fnmatch_loop.c (FCT): Adjust caller.
43323 * posix/regcomp.c (build_equiv_class): Likewise.
43324 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43325 * posix/regexec.c (check_node_accept_bytes): Likewise.
43326 * string/strcoll_l.c (STRCOLL): Likewise.
43327 * string/strxfrm_l.c (STRXFRM): Likewise.
43329 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43331 * Makefile.in: Remove CVSOPT handling.
43332 * configure.in: Remove use of AC_REVISION.
43333 * iconvdata/Makefile (distribute): No need to filter out CVS.
43334 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43337 2011-11-16 Andreas Schwab <schwab@redhat.com>
43339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43340 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43341 [USE_AS_STRNCASECMP_L]: Likewise.
43342 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43343 NO_TLS_DIRECT_SEG_REFS.
43344 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43345 Fix argument offsets for non-PIC.
43346 [USE_AS_STRNCASECMP_L]: Likewise.
43347 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43348 NO_TLS_DIRECT_SEG_REFS.
43350 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43352 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43354 * locale/loadlocale.c (_nl_load_locale): Likewise.
43356 2011-11-15 Andreas Schwab <schwab@redhat.com>
43358 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43359 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43360 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43361 (SYSCALL_GETTIME): Set errno on error.
43363 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43364 count references to noai6ai_cached.
43366 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43368 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43370 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43371 FD_CLOEXEC for /proc/self/maps.
43373 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43374 FD_CLOEXEC for /proc/meminfo.
43376 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43379 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43380 FD_CLOEXEC for given file.
43382 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43384 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43385 FD_CLOEXEC for /etc/hosts.
43386 (_gethtent): Likewise.
43388 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43390 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43391 cancellation and set FD_CLOEXEC for /etc/netgroup.
43393 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43394 reading /etc/publickey.
43396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43397 allow cancellation when reading /etc/group.
43399 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43401 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43403 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43404 when using data file.
43406 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43408 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43409 (write_nis_obj): Use "c" and "e" in fopen.
43411 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43413 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43415 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43417 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43419 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43422 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43424 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43426 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43428 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43429 file parsing and set FD_CLOEXEC.
43431 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43433 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43435 2011-11-14 Andreas Schwab <schwab@redhat.com>
43437 * malloc/arena.c (arena_get2): Don't call reused_arena when
43438 _int_new_arena failed.
43440 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43442 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43443 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43444 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43445 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43446 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43447 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43448 to compile strcasecmp and strncasecmp.
43449 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43450 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43454 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43456 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43457 locale-defines.sym to gen-as-const-headers.
43458 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43459 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43461 to compile strcasecmp and strncasecmp.
43462 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43463 strcasecmp_l and strncasecmp_l.
43464 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43465 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43466 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43467 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43468 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43469 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43470 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43471 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43472 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43473 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43474 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43476 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43478 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43479 result of SYSDEP_GETTIME_CPU to retval.
43480 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43481 parameter list to macro. Remove trailing semicolon. Adjust users.
43483 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43486 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43488 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43490 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43491 from unused variable.
43493 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43495 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43498 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43501 * sunrpc/rpc_prot.c (rejected): Fix case value.
43503 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43504 unsigned long long int to avoid warnings in shift.
43506 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43508 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43511 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43512 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43513 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43515 * nis/nis_table.c (nis_list): Use variable of correct type for
43516 result of __follow_path call.
43518 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43520 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43521 of math functions ceil, trunc, floor, round, and sqrt, when
43522 avaliable on the platform.
43523 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43525 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43526 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43527 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43529 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43531 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43532 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43534 2011-11-11 Roland McGrath <roland@hack.frob.com>
43536 * include/unistd.h: Fix __readlink return type.
43537 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43539 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43541 * stdlib/ucontext.h: Undo last change for makecontext.
43543 2011-11-11 Andreas Schwab <schwab@redhat.com>
43545 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43547 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43548 * setjmp/setjmp.h: Mark functions as non-leaf.
43549 * setjmp/bits/setjmp2.h: Likewise.
43550 * stdlib/ucontext.h: Likewise.
43552 2011-11-10 Andreas Schwab <schwab@redhat.com>
43554 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43555 (reused_arena): Don't check arena limit.
43556 (arena_get2): Atomically check arena limit.
43558 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43560 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43561 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43566 2011-11-07 Andreas Schwab <schwab@redhat.com>
43568 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43569 handler when locking.
43571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43572 Fix size of allocated buffer.
43574 2011-11-04 Andreas Schwab <schwab@redhat.com>
43577 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43578 declarations for long double functions.
43579 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43581 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43583 2011-11-03 Andreas Schwab <schwab@redhat.com>
43585 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43588 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43591 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43593 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43595 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43597 * include/alloca.h (stackinfo_alloca_round): Define.
43598 (extend_alloca): Use it.
43599 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43600 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43603 * scripts/check-local-headers.sh: Ignore libaudit.h.
43605 * nscd/Makefile (extra-objs): Make recursively expanded.
43607 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43609 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43610 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43612 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43613 * posix/tst-rfc3484-2.c: Likewise.
43614 * posix/tst-rfc3484-3.c: Likewise.
43616 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43618 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43620 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43621 process_vm_writev from libc using GLIBC_2.15 version.
43623 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43625 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43627 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43630 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43633 * nss/getent.c (initgroups_keys): Show error message in case no group
43636 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43637 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43638 __bump_nl_timestamp.
43639 * nscd/connections (nscd_init): When host database is served open
43640 netlink socket and request notification about configuration changes.
43641 (main_loop_poll): Track netlink file descriptor and bump timestamp
43642 in case data becomes available.
43643 (main_loop_epoll): Likewise.
43644 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43645 (database_pers_head): Add extra_data fileds.
43646 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43647 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43648 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43650 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43651 in6ai data, call __free_in6ai.
43652 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43653 Add -DHAVE_NETLINK.
43654 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43655 interface information. Reuse previous data if netlink timestamp
43657 (__bump_nl_timestamp): New function.
43658 (__free_in6ai): New function.
43660 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43663 close_not_cancel_no_status here.
43664 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43666 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43669 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43672 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43673 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43674 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43676 2011-07-03 Andreas Jaeger <aj@suse.de>
43679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43680 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43681 * math/libm-test.inc (sin_test): Add test case.
43683 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43686 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43687 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43689 * elf/chroot_canon.c (chroot_canon): Cleanups.
43691 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43694 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43695 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43697 * string/test-strchr.c: Make usable for strchrnul testing.
43698 * string/test-strchrnul.c: New file.
43699 * string/Makefile (strop-tests): Add strchrnul.
43701 * po/it.po: Update from translation team.
43702 * po/es.po: Likewise.
43704 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43706 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43707 the three constants needed as parameters. Drop the others.
43708 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43709 __m128i_strloadu_tolower.
43710 Create and initialize variable zero and use it in all the places
43711 where _mm_setzero_si128 was used.
43713 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43714 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43715 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43716 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43718 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43719 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43720 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43721 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43722 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43723 __mpranred, __mptan.
43724 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43725 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43726 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43727 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43728 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43729 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43731 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43732 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43734 2011-10-28 Andreas Schwab <schwab@redhat.com>
43736 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43737 redefine if SHARED.
43738 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43741 wide char related routines to wcsmbs subdir.
43743 2011-10-27 Andreas Schwab <schwab@redhat.com>
43746 * misc/sys/cdefs.h (__THROWNL): Define.
43747 * posix/unistd.h: Use __THREADNL instead of __THREAD
43748 for memory synchronization functions.
43750 2011-10-26 Roland McGrath <roland@hack.frob.com>
43753 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43755 * manual/stdio.texi (Obstack Streams): Node removed.
43757 2011-10-26 Andreas Schwab <schwab@redhat.com>
43759 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43760 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43763 * math/math_private.h (math_force_eval): Allow non-addressable
43765 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43767 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43769 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43770 file is not needed.
43772 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43773 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43775 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43777 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43779 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43781 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43782 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43783 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43784 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43785 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43786 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43787 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43788 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43789 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43790 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43791 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43792 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43794 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43795 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43796 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43797 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43798 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43799 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43801 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43802 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43804 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43805 place. Use VEX encoding when compiling for AVX.
43807 2011-10-25 Andreas Schwab <schwab@redhat.com>
43809 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43810 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43812 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43814 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43816 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43817 useless if() expression.
43818 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43819 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43823 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43824 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43826 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43827 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43828 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43829 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43830 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43831 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43832 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43833 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43834 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43835 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43836 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43838 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43840 2011-10-25 Andreas Schwab <schwab@redhat.com>
43842 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43844 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43846 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43848 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43849 .text section. Avoid duplicate constants.
43850 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43852 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43857 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43858 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43859 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43860 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43861 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43862 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43863 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43864 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43865 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43867 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43868 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43870 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43871 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43872 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43873 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43874 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43875 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43876 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43877 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43878 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43879 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43880 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43881 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43882 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43883 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43884 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43885 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43886 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43888 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43889 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43890 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43891 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43892 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43893 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43894 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43896 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43898 * sysdeps/x86_64/dla.h: Move to ...
43899 * sysdeps/x86_64/fpu/dla.h: ...here.
43900 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43901 situations. Use __builtin_fma only for gcc 4.6 and up.
43903 * config.make.in: Add have-mfma4 entry.
43904 * configure.in: Substitute libc_cv_cc_fma4.
43905 * math/Makefile (dbl-only-routines): Add sincostab.
43906 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43907 Use __sincostab not sincos.
43908 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43910 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43911 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43912 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43915 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43916 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43917 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43918 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43920 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43921 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43923 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43924 define aliases when function name is a macro.
43925 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43926 sysdeps/ieee754/dbl-64/sincos.tbl.
43927 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43928 fma4-enabled routines.
43929 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43930 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43931 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43932 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43933 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43934 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43935 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43936 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43937 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43938 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43939 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43940 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43941 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43942 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43943 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43944 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43945 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43946 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43947 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43948 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43949 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43950 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43952 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43953 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43954 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43956 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43957 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43958 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43960 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43964 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43968 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43971 2011-10-24 Andreas Schwab <schwab@redhat.com>
43973 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43975 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43977 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43979 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43983 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43984 Remove unused variable magic_bits.
43985 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43987 * string/strnlen.c: Define and use STRNLEN macro.
43988 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43989 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43990 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43991 * wcsmbs/wcslen.c: Define and use WCSLEN.
43992 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43993 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43994 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43995 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43996 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43997 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43998 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44000 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44003 strnlen-sse2-no-bsf.
44004 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44005 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44006 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44007 Add strnlen support.
44008 (USE_AS_STRNLEN): New macro.
44009 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44010 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44011 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44012 * sysdeps/x86_64/wcslen.S: New file.
44014 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44017 XMM-moves are used for copying on small sizes.
44019 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44021 * wcsmbs/Makefile (strop-tests): Add wcschr.
44022 * wcsmbs/test-wcschr.c: New file.
44023 * string/test-strchr.c: Update.
44024 Add wcschr support.
44027 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44029 * wcsmbs/Makefile (strop-tests): Add wcslen.
44030 * wcsmbs/test-wcslen.c: New file.
44031 * string/test-strlen.c: Update.
44032 Add wcslen support.
44035 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44037 * po/it.po: Update from translation team.
44039 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44041 * sysdeps/x86_64/wcscmp.S: Update.
44042 Fix wrong comparison semantics.
44043 wcscmp shall use signed comparison not unsigned.
44044 Don't use substraction to avoid overflow bug.
44045 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44046 * wcsmbc/wcscmp.c: Likewise.
44047 * string/test-strcmp.c: Likewise.
44048 Add new tests to check cases with negative values.
44050 2011-10-23 Ulrich Drepper <drepper@gmail.com>
44052 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44053 * sysdeps/x86_64/dla.h: ...here. New file.
44054 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44061 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44064 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44066 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44067 __ynl_finite aliases.
44069 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44071 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44073 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44075 [DLA_FMA] (EMULV): Use DLA_FMA.
44076 [DLA_FMA] (MUL12): Use EMULV.
44077 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44078 that are not needed.
44079 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44081 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44087 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44089 * math/s_nan.c: Undef __nan.
44090 * math/s_nanf.c: Undef __nanf.
44091 * math/s_nanl.c: Undef __nanl.
44092 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44095 2011-10-22 Ulrich Drepper <drepper@gmail.com>
44097 * math/s_catan.c: Add branch predictions.
44098 * math/s_catanf.c: Likewise.
44099 * math/s_catanh.c: Likewise.
44100 * math/s_catanhf.c: Likewise.
44101 * math/s_catanhl.c: Likewise.
44102 * math/s_catanl.c: Likewise.
44103 * math/s_cexp.c: Likewise.
44104 * math/s_cexpf.c: Likewise.
44105 * math/s_cexpl.c: Likewise.
44106 * math/s_clog.c: Likewise.
44107 * math/s_clog10.c: Likewise.
44108 * math/s_clog10f.c: Likewise.
44109 * math/s_clog10l.c: Likewise.
44110 * math/s_clogf.c: Likewise.
44111 * math/s_clogl.c: Likewise.
44112 * math/s_csqrt.c: Likewise.
44113 * math/s_csqrtf.c: Likewise.
44114 * math/s_csqrtl.c: Likewise.
44115 * math/s_ctanf.c: Likewise.
44116 * math/s_ctanh.c: Likewise.
44117 * math/s_ctanhf.c: Likewise.
44118 * math/s_ctanhl.c: Likewise.
44119 * math/s_ctanl.c: Likewise.
44121 * math/math_private.h: Define __nan, __nanf, __nanl.
44122 * math/s_cacosh.c: Include <math_private.h>.
44123 * math/s_cacoshl.c: Likewise.
44124 * math/s_casinh.c: Likewise.
44125 * math/s_casinhf.c: Likewise.
44126 * math/s_casinhl.c: Likewise.
44127 * math/s_ccos.c: Rely entire on ccosh.
44128 * math/s_ccosf.c: Rely entire on ccoshf.
44129 * math/s_ccosl.c: Rely entirely on ccoshl.
44130 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44131 Remove tests for FE_INVALID.
44132 * math/s_ccoshf.c: Likewise.
44133 * math/s_ccoshl.c: Likewise.
44134 * math/s_csin.c: Likewise.
44135 * math/s_csinf.c: Likewise.
44136 * math/s_csinh.c Likewise.
44137 * math/s_csinhf.c: Likewise.
44138 * math/s_csinhl.c: Likewise.
44139 * math/s_csinl.c: Likewise.
44140 * math/s_ctan.c: Likewise.
44141 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44142 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44143 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44145 2011-10-21 Ulrich Drepper <drepper@gmail.com>
44147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44148 compilation problems.
44150 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44153 2011-10-20 Ulrich Drepper <drepper@gmail.com>
44155 * sysdeps/i386/configure.in: Test for -mfma4 option.
44156 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44157 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44158 COMMON_CPUID_INDEX_80000001.
44159 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44160 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44161 use it if FMA3 is not supported.
44162 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44164 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44165 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44167 2011-10-20 Andreas Schwab <schwab@redhat.com>
44170 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44171 it would create a cycle with a link time dependency.
44173 2011-10-19 Ulrich Drepper <drepper@gmail.com>
44175 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44177 * string/Makefile (strop-tests): Add rawmemchr.
44178 * string/test-rawmemchr.c: New file.
44180 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44181 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44182 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44183 when compiling str{,n}casecmp and when AVX is available. Hook up
44184 new optimized code in initializers.
44186 2011-10-19 Andreas Schwab <schwab@redhat.com>
44188 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44189 __feraiseexcept instead of feraiseexcept.
44191 2011-10-18 Ulrich Drepper <drepper@gmail.com>
44193 * math/math_private.h: Define defaults for libc_fetestexcept and
44195 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44196 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44197 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44198 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44199 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44200 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44201 libc_fetestexcept and libc_feupdateenv.
44203 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44204 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44205 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44206 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44207 libc_feholdexcept_setround.
44209 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44210 Add s_nearbyint-c and s_nearbyintf-c.
44211 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44212 nearbyintf inlines.
44213 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44214 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44215 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44216 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44218 * math/math_private.h: Define defaults for libc_fegetround,
44219 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44220 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44221 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44222 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44223 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44224 standard functions.
44225 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44226 Remove comments and hacks for old compiler versions.
44227 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44228 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44229 libc_feholdexceptl.
44231 2011-10-18 Andreas Schwab <schwab@redhat.com>
44233 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44234 (__feraiseexcept_renamed): Add __NTH.
44235 (feraiseexcept): Add __NTH. Rename local variables to fix
44236 namespace violations.
44238 2011-10-17 Ulrich Drepper <drepper@gmail.com>
44240 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44242 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44244 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44245 recently added interfaces.
44246 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44248 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44249 about macro parameter expansion.
44251 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44252 __NO_MATH_INLINES is defined. Cleanups.
44254 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44255 and __floorf is target has SSE4.1.
44256 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44257 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44258 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44259 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44261 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44263 (floorf): Likewise.
44265 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44267 2011-10-17 Andreas Schwab <schwab@redhat.com>
44269 * misc/sys/cdefs.h: Fix last change.
44271 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44274 2011-10-16 Ulrich Drepper <drepper@gmail.com>
44276 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44278 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44279 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44283 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44284 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44285 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44286 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44287 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44288 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44289 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44290 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44291 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44292 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44293 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44294 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44295 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44296 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44297 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44298 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44299 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44301 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44302 ceil, ceilf, floor, floorf.
44304 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44305 Perform IRELATIVE relocations last.
44307 * elf/do-rel.h: Add another parameter nrelative, replacing the
44308 local variable with the same name. Change name of the function
44309 to end in Rel or Rela (uppercase).
44310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44311 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44312 elf_dynamic_do_##reloc function.
44314 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44316 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44317 is sufficient, at least on modern CPUs.
44319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44321 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44322 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44324 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44326 * math/bits/math-finite.h: Add entries for exp.
44327 * math/e_expl.c: Add __*_finite alias.
44328 * sysdeps/i386/fpu/e_exp.S: Likewise.
44329 * sysdeps/i386/fpu/e_expf.S: Likewise.
44330 * sysdeps/i386/fpu/e_expl.c: Likewise.
44331 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44332 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44333 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44334 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44335 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44336 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44337 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44339 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44340 is sufficient, at least on modern CPUs.
44342 * ctype/ctype-info.c (__ctype_init): Define.
44343 * include/ctype.h (__ctype_init): Declare.
44344 (__ctype_b_loc): The variable is always initialized.
44345 (__ctype_toupper_loc): Likewise.
44346 (__ctype_tolower_loc): Likewise.
44347 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44348 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44350 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44352 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44354 * configure.in: Also look in $cxxmachine/include for C++ system
44357 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44359 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44360 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44361 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44362 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44363 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44364 (USE_AS_WMEMCMP): New macro.
44366 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44367 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44368 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44369 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44371 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44372 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44373 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44374 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44375 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44376 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44377 (USE_AS_WMEMCMP): New macro.
44378 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44379 * sysdeps/string/test-memcmp.c: Update.
44380 Fix simple_wmemcmp.
44382 * wcsmbs/wmemcmp.c: Update.
44383 (WMEMCMP): New macro.
44386 2011-10-12 Andreas Jaeger <aj@suse.de>
44389 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44391 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44393 * libio/iofwide.c (do_length): Avoid warning.
44395 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44397 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44399 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44401 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44402 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44403 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44404 * sysdeps/i386/i686/fpu/e_log.S: New file.
44405 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44406 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44408 * ctype/ctype.h: Add support for inlined isXXX functions when
44409 compiling C++ code.
44411 2011-10-14 Andreas Schwab <schwab@redhat.com>
44413 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44415 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44417 2011-10-13 Roland McGrath <roland@hack.frob.com>
44420 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44422 2011-10-13 Andreas Schwab <schwab@redhat.com>
44424 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44425 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44428 * sysdeps/x86_64/memrchr.S: Check for zero size.
44430 * string/stratcliff.c: Add memrchr tests.
44432 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44435 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44436 rawmemchr-sse2 rawmemchr-sse2-bsf.
44437 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44438 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44439 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44440 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44441 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44442 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44443 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44444 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44445 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44446 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44447 * string/memrchr.c (MEMRCHR): New macro.
44449 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44451 Add integration with gcc's -ffinite-math-only and optimize wrapper
44453 * Versions.def: Define GLIBC_2.15 version for libm.
44454 * math/Makefile (headers): Add bits/math-finite.h.
44455 * math/bits/math-finite.h: New file.
44456 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44457 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44458 * math/e_acoshl.c: Add __*_finite alias.
44459 * math/e_acosl.c: Likewise.
44460 * math/e_asinl.c: Likewise.
44461 * math/e_atan2l.c: Likewise.
44462 * math/e_atanhl.c: Likewise.
44463 * math/e_coshl.c: Likewise.
44464 * math/e_exp10.c: Likewise.
44465 * math/e_exp10f.c: Likewise.
44466 * math/e_exp10l.c: Likewise.
44467 * math/e_exp2l.c: Likewise.
44468 * math/e_fmodl.c: Likewise.
44469 * math/e_gammal_r.c: Likewise.
44470 * math/e_hypotl.c: Likewise.
44471 * math/e_j0l.c: Likewise.
44472 * math/e_j1l.c: Likewise.
44473 * math/e_jnl.c: Likewise.
44474 * math/e_lgammal_r.c: Likewise.
44475 * math/e_log10l.c: Likewise.
44476 * math/e_log2l.c: Likewise.
44477 * math/e_logl.c: Likewise.
44478 * math/e_powl.c: Likewise.
44479 * math/e_sinhl.c: Likewise.
44480 * math/e_sqrtl.c: Likewise.
44481 * math/e_scalb.c: Completely rewritten and optimized.
44482 * math/e_scalbf.c: Likewise.
44483 * math/e_scalbl.c: Likewise.
44484 * math/w_acos.c: Likewise.
44485 * math/w_acosf.c: Likewise.
44486 * math/w_acosl.c: Likewise.
44487 * math/w_acosh.c: Likewise.
44488 * math/w_acoshf.c: Likewise.
44489 * math/w_acoshl.c: Likewise.
44490 * math/w_asin.c: Likewise.
44491 * math/w_asinf.c: Likewise.
44492 * math/w_asinl.c: Likewise.
44493 * math/w_atan2.c: Likewise.
44494 * math/w_atan2f.c: Likewise.
44495 * math/w_atan2l.c: Likewise.
44496 * math/w_atanh.c: Likewise.
44497 * math/w_atanhf.c: Likewise.
44498 * math/w_atanhl.c: Likewise.
44499 * math/w_exp10.c: Likewise.
44500 * math/w_exp10f.c: Likewise.
44501 * math/w_exp10l.c: Likewise.
44502 * math/w_fmod.c: Likewise.
44503 * math/w_fmodf.c: Likewise.
44504 * math/w_fmodl.c: Likewise.
44505 * math/w_j0.c: Likewise.
44506 * math/w_j0f.c: Likewise.
44507 * math/w_j0l.c: Likewise.
44508 * math/w_j1.c: Likewise.
44509 * math/w_j1f.c: Likewise.
44510 * math/w_j1l.c: Likewise.
44511 * math/w_jn.c: Likewise.
44512 * math/w_jnf.c: Likewise.
44513 * math/w_log.c: Likewise.
44514 * math/w_logf.c: Likewise.
44515 * math/w_logl.c: Likewise.
44516 * math/w_log10.c: Likewise.
44517 * math/w_log10f.c: Likewise.
44518 * math/w_log10l.c: Likewise.
44519 * math/w_log2.c: Likewise.
44520 * math/w_log2f.c: Likewise.
44521 * math/w_log2l.c: Likewise.
44522 * math/w_pow.c: Likewise.
44523 * math/w_powf.c: Likewise.
44524 * math/w_powl.c: Likewise.
44525 * math/w_remainder.c: Likewise.
44526 * math/w_remainderf.c: Likewise.
44527 * math/w_remainderl.c: Likewise.
44528 * math/w_scalb.c: Likewise.
44529 * math/w_scalbf.c: Likewise.
44530 * math/w_scalbl.c: Likewise.
44531 * math/w_sqrt.c: Likewise.
44532 * math/w_sqrtf.c: Likewise.
44533 * math/w_sqrtl.c: Likewise.
44534 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44535 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44537 * math/math_private.h: Declare __kernel_standard_f.
44538 * math/w_cosh.c: Remove cruft and optimize a bit.
44539 * math/w_coshf.c: Likewise.
44540 * math/w_coshl.c: Likewise.
44541 * math/w_exp2.c: Likewise.
44542 * math/w_exp2f.c: Likewise.
44543 * math/w_exp2l.c: Likewise.
44544 * math/w_hypot.c: Likewise.
44545 * math/w_hypotf.c: Likewise.
44546 * math/w_hypotl.c: Likewise.
44547 * math/w_lgamma.c: Likewise.
44548 * math/w_lgamma_r.c: Likewise.
44549 * math/w_lgammaf.c: Likewise.
44550 * math/w_lgammaf_r.c: Likewise.
44551 * math/w_lgammal.c: Likewise.
44552 * math/w_lgammal_r.c: Likewise.
44553 * math/w_sinh.c: Likewise.
44554 * math/w_sinhf.c: Likewise.
44555 * math/w_sinhl.c: Likewise.
44556 * math/w_tgamma.c: Likewise.
44557 * math/w_tgammaf.c: Likewise.
44558 * math/w_tgammal.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44560 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44561 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44562 Minor optimizations. Pretty printing. Remove cruft.
44563 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44564 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44565 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44566 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44567 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44568 * sysdeps/i386/fpu/e_asin.S: Likewise.
44569 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44570 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44571 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44572 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44573 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44574 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44575 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44576 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44577 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44578 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44579 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44580 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44581 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44582 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44583 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44584 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44585 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44586 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44587 * sysdeps/i386/fpu/e_log.S: Likewise.
44588 * sysdeps/i386/fpu/e_log10.S: Likewise.
44589 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44590 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44591 * sysdeps/i386/fpu/e_log2.S: Likewise.
44592 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44593 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44594 * sysdeps/i386/fpu/e_logf.S: Likewise.
44595 * sysdeps/i386/fpu/e_logl.S: Likewise.
44596 * sysdeps/i386/fpu/e_pow.S: Likewise.
44597 * sysdeps/i386/fpu/e_powf.S: Likewise.
44598 * sysdeps/i386/fpu/e_powl.S: Likewise.
44599 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44600 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44601 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44602 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44603 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44604 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44605 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44606 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44607 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44608 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44609 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44610 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44611 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44612 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44613 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44614 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44615 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44616 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44617 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44618 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44619 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44621 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44622 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44623 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44624 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44625 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44628 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44629 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44630 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44631 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44632 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44633 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44634 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44635 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44636 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44637 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44638 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44639 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44640 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44641 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44642 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44643 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44644 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44645 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44646 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44647 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44648 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44649 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44650 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44651 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44652 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44653 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44654 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44655 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44656 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44657 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44658 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44659 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44660 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44661 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44662 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44663 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44664 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44665 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44666 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44667 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44668 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44669 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44672 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44673 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44674 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44675 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44676 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44677 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44678 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44679 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44680 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44682 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44683 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44684 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44685 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44686 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44687 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44688 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44689 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44691 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44692 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44693 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44694 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44695 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44696 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44697 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44698 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44699 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44700 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44701 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44702 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44703 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44704 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44705 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44706 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44707 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44708 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44709 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44710 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44711 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44712 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44713 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44714 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44715 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44716 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44717 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44718 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44719 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44720 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44721 (__isnanf): Likewise.
44722 (__isinf_ns): Likewise.
44723 (__isinf_nsf): Likewise.
44724 (__finite): Likewise.
44725 (__finitef): Likewise.
44726 (__ieee754_sqrt): Define as macro.
44727 (__ieee754_sqrtf): Define as macro.
44728 (__ieee754_sqrtl): Define as macro.
44729 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44731 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44732 __FINITE_MATH_ONLY__ consistent.
44733 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44735 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44737 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44742 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44744 * po/ja.po: Update from translation team.
44746 2011-10-08 Roland McGrath <roland@hack.frob.com>
44748 * locale/programs/locarchive.c (prepare_address_space): New function.
44749 (create_archive, enlarge_archive, open_archive): Use it.
44751 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44752 inside [SHARED], where it is used.
44754 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44756 * nss/getent.c (netgroup_keys): Remove unused variable.
44757 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44759 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44761 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44762 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44764 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44765 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44766 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44767 * math/Makefile (libm-calls): Add s_isinf_ns.
44768 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44769 * math/multc3.c: Likewise.
44770 * math/s_casin.c: Likewise.
44771 * math/s_casinf.c: Likewise.
44772 * math/s_casinl.c: Likewise.
44773 * math/s_ccos.c: Likewise.
44774 * math/s_ccosf.c: Likewise.
44775 * math/s_ccosl.c: Likewise.
44776 * math/s_ctan.c: Likewise.
44777 * math/s_ctanf.c: Likewise.
44778 * math/s_ctanh.c: Likewise.
44779 * math/s_ctanhf.c: Likewise.
44780 * math/s_ctanhl.c: Likewise.
44781 * math/s_ctanl.c: Likewise.
44782 * math/w_fmod.c: Likewise.
44783 * math/w_fmodf.c: Likewise.
44784 * math/w_fmodl.c: Likewise.
44785 * math/w_remainder.c: Likewise.
44786 * math/w_remainderf.c: Likewise.
44787 * math/w_remainderl.c: Likewise.
44788 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44789 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44790 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44791 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44792 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44793 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44794 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44795 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44797 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44799 * stdio-common/printf_fphex.c: Likewise.
44800 * stdio-common/printf_size.c: Likewise.
44802 * math/e_exp10.c: Include math_private.h using <...> not "...".
44803 * math/e_exp10f.c: Likewise.
44804 * math/e_exp10l.c: Likewise.
44805 * math/e_exp2l.c: Likewise.
44806 * math/e_j0l.c: Likewise.
44807 * math/e_j1l.c: Likewise.
44808 * math/e_jnl.c: Likewise.
44809 * math/e_lgammal_r.c: Likewise.
44810 * math/e_rem_pio2l.c: Likewise.
44811 * math/e_scalb.c: Likewise.
44812 * math/e_scalbf.c: Likewise.
44813 * math/e_scalbl.c: Likewise.
44814 * math/k_cosl.c: Likewise.
44815 * math/k_sinl.c: Likewise.
44816 * math/k_tanl.c: Likewise.
44817 * math/s_cacoshf.c: Likewise.
44818 * math/s_catan.c: Likewise.
44819 * math/s_catanf.c: Likewise.
44820 * math/s_catanh.c: Likewise.
44821 * math/s_catanhf.c: Likewise.
44822 * math/s_catanhl.c: Likewise.
44823 * math/s_catanl.c: Likewise.
44824 * math/s_ccosh.c: Likewise.
44825 * math/s_ccoshf.c: Likewise.
44826 * math/s_ccoshl.c: Likewise.
44827 * math/s_cexp.c: Likewise.
44828 * math/s_cexpf.c: Likewise.
44829 * math/s_cexpl.c: Likewise.
44830 * math/s_clog.c: Likewise.
44831 * math/s_clog10.c: Likewise.
44832 * math/s_clog10f.c: Likewise.
44833 * math/s_clog10l.c: Likewise.
44834 * math/s_clogf.c: Likewise.
44835 * math/s_clogl.c: Likewise.
44836 * math/s_csin.c: Likewise.
44837 * math/s_csinf.c: Likewise.
44838 * math/s_csinh.c: Likewise.
44839 * math/s_csinhf.c: Likewise.
44840 * math/s_csinhl.c: Likewise.
44841 * math/s_csinl.c: Likewise.
44842 * math/s_csqrt.c: Likewise.
44843 * math/s_csqrtf.c: Likewise.
44844 * math/s_csqrtl.c: Likewise.
44845 * math/s_ctan.c: Likewise.
44846 * math/s_ctanf.c: Likewise.
44847 * math/s_ctanh.c: Likewise.
44848 * math/s_ctanhf.c: Likewise.
44849 * math/s_ctanhl.c: Likewise.
44850 * math/s_ctanl.c: Likewise.
44851 * math/s_ldexp.c: Likewise.
44852 * math/s_ldexpf.c: Likewise.
44853 * math/s_ldexpl.c: Likewise.
44854 * math/s_significand.c: Likewise.
44855 * math/s_significandf.c: Likewise.
44856 * math/s_significandl.c: Likewise.
44857 * math/w_acos.c: Likewise.
44858 * math/w_acosf.c: Likewise.
44859 * math/w_acosh.c: Likewise.
44860 * math/w_acoshf.c: Likewise.
44861 * math/w_acoshl.c: Likewise.
44862 * math/w_acosl.c: Likewise.
44863 * math/w_asin.c: Likewise.
44864 * math/w_asinf.c: Likewise.
44865 * math/w_asinl.c: Likewise.
44866 * math/w_atan2.c: Likewise.
44867 * math/w_atan2f.c: Likewise.
44868 * math/w_atan2l.c: Likewise.
44869 * math/w_atanh.c: Likewise.
44870 * math/w_atanhf.c: Likewise.
44871 * math/w_atanhl.c: Likewise.
44872 * math/w_cosh.c: Likewise.
44873 * math/w_coshf.c: Likewise.
44874 * math/w_coshl.c: Likewise.
44875 * math/w_dremf.c: Likewise.
44876 * math/w_exp10.c: Likewise.
44877 * math/w_exp10f.c: Likewise.
44878 * math/w_exp10l.c: Likewise.
44879 * math/w_exp2.c: Likewise.
44880 * math/w_exp2f.c: Likewise.
44881 * math/w_fmod.c: Likewise.
44882 * math/w_fmodf.c: Likewise.
44883 * math/w_fmodl.c: Likewise.
44884 * math/w_hypot.c: Likewise.
44885 * math/w_hypotf.c: Likewise.
44886 * math/w_hypotl.c: Likewise.
44887 * math/w_j0.c: Likewise.
44888 * math/w_j0f.c: Likewise.
44889 * math/w_j0l.c: Likewise.
44890 * math/w_j1.c: Likewise.
44891 * math/w_j1f.c: Likewise.
44892 * math/w_j1l.c: Likewise.
44893 * math/w_jn.c: Likewise.
44894 * math/w_jnf.c: Likewise.
44895 * math/w_jnl.c: Likewise.
44896 * math/w_lgamma.c: Likewise.
44897 * math/w_lgamma_r.c: Likewise.
44898 * math/w_lgammaf.c: Likewise.
44899 * math/w_lgammaf_r.c: Likewise.
44900 * math/w_lgammal.c: Likewise.
44901 * math/w_lgammal_r.c: Likewise.
44902 * math/w_log.c: Likewise.
44903 * math/w_log10.c: Likewise.
44904 * math/w_log10f.c: Likewise.
44905 * math/w_log10l.c: Likewise.
44906 * math/w_log2.c: Likewise.
44907 * math/w_log2f.c: Likewise.
44908 * math/w_log2l.c: Likewise.
44909 * math/w_logf.c: Likewise.
44910 * math/w_logl.c: Likewise.
44911 * math/w_pow.c: Likewise.
44912 * math/w_powf.c: Likewise.
44913 * math/w_powl.c: Likewise.
44914 * math/w_remainder.c: Likewise.
44915 * math/w_remainderf.c: Likewise.
44916 * math/w_remainderl.c: Likewise.
44917 * math/w_scalb.c: Likewise.
44918 * math/w_scalbf.c: Likewise.
44919 * math/w_scalbl.c: Likewise.
44920 * math/w_sinh.c: Likewise.
44921 * math/w_sinhf.c: Likewise.
44922 * math/w_sinhl.c: Likewise.
44923 * math/w_sqrt.c: Likewise.
44924 * math/w_sqrtf.c: Likewise.
44925 * math/w_sqrtl.c: Likewise.
44926 * math/w_tgamma.c: Likewise.
44927 * math/w_tgammaf.c: Likewise.
44928 * math/w_tgammal.c: Likewise.
44930 * po/ja.po: Update from translation team.
44932 2011-09-29 Andreas Jaeger <aj@suse.de>
44935 * sunrpc/netname.c (netname2host): Fix logic.
44939 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44941 * math/w_remainder.c (__remainder): Likewise.
44942 * math/w_remainderf.c (__remainderf): Likewise.
44943 * math/libm-test.inc (remainder_test): Add test cases.
44945 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44947 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44950 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44952 * string/test-memcmp.c: Avoid unncessary #defines.
44953 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44955 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44957 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44958 Use new sse2 version for core i3 - i7 as it's faster
44959 than sse42 version.
44960 (bit_Prefer_PMINUB_for_stringop): New.
44961 * sysdeps/x86_64/rawmemchr.S: Update.
44962 Replace with faster SSE2 version.
44963 * sysdeps/x86_64/memrchr.S: New file.
44964 * sysdeps/x86_64/memchr.S: Update.
44965 Replace with faster SSE2 version.
44967 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44969 * elf/dl-load.c (lose): Add cast to avoid warning.
44971 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44973 * po/ca.po: Update from translation team.
44975 * inet/getnetgrent_r.c: Hook up nscd.
44976 * nscd/Makefile (routines): Add nscd_netgroup.
44977 (nscd-modules): Add netgroupcache.
44978 (CFLAGS-netgroupcache.c): Define.
44979 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44980 (cache_search): Add const to second parameter.
44981 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44983 (dbs): Add netgrdb entry.
44984 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44985 (verify_persistent_db): Handle netgrdb.
44986 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44987 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44989 (netgroup_response_header): Define.
44990 (innetgroup_response_header): Define.
44991 (datahead): Add netgroup_response_header and innetgroup_response_header
44993 * nscd/nscd.conf: Add entries for netgroup cache.
44994 * nscd/nscd.h (dbtype): Add netgrdb.
44995 (_PATH_NSCD_NETGROUP_DB): Define.
44996 (netgroup_iov_disabled): Declare.
44997 (xmalloc, xcalloc, xrealloc): Move declarations here.
44998 (cache_search): Adjust prototype.
44999 Add netgroup-related prototypes.
45000 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45001 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45002 (__nscd_innetgr): Declare.
45003 * nscd/selinux.c (perms): Use access_vector_t as element type and
45004 add netgroup-related initializers.
45005 * nscd/netgroupcache.c: New file.
45006 * nscd/nscd_netgroup.c: New file.
45007 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45008 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45009 For four parameters use innetgr.
45010 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45011 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45012 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45013 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45015 * nscd/connections.c (register_traced_file): Don't register file
45016 for disabled databases.
45018 2011-10-06 Ulrich Drepper <drepper@gmail.com>
45020 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45022 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45023 from tree and freeing node.
45025 2011-09-25 Jiri Olsa <jolsa@redhat.com>
45027 * nss/nsswitch.c (__nss_database_lookup): Handle
45028 nss_parse_service_list out of memory case.
45030 2011-09-15 Jiri Olsa <jolsa@redhat.com>
45032 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45033 out of memory case.
45035 2011-10-04 Andreas Schwab <schwab@redhat.com>
45037 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45038 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45040 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45041 elf_machine_rela, elf_machine_lazy_rel.
45042 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45043 (ELF_DYNAMIC_DO_REL): Likewise.
45044 (ELF_DYNAMIC_DO_RELA): Likewise.
45045 (ELF_DYNAMIC_RELOCATE): Likewise.
45046 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45047 to ELF_DYNAMIC_DO_REL.
45048 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45049 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45050 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45052 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45053 skip_ifunc, don't call ifunc function if non-zero.
45054 (elf_machine_rela): Likewise.
45055 (elf_machine_lazy_rel): Likewise.
45056 (elf_machine_lazy_rela): Likewise.
45057 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45058 (elf_machine_lazy_rel): Likewise.
45059 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45061 (elf_machine_lazy_rel): Likewise.
45062 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45064 (elf_machine_lazy_rel): Likewise.
45065 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45066 (elf_machine_lazy_rel): Likewise.
45067 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45068 (elf_machine_lazy_rel): Likewise.
45069 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45070 (elf_machine_lazy_rel): Likewise.
45071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45072 (elf_machine_lazy_rel): Likewise.
45073 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45074 (elf_machine_lazy_rel): Likewise.
45075 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45076 (elf_machine_lazy_rel): Likewise.
45078 2011-09-28 Ulrich Drepper <drepper@gmail.com>
45080 * nss/nss_files/files-init.c (_nss_files_init): Use static
45081 initialization for all the *_traced_file variables.
45083 2011-09-28 Andreas Schwab <schwab@redhat.com>
45085 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45087 2011-09-27 Roland McGrath <roland@hack.frob.com>
45090 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45092 2011-09-27 Andreas Schwab <schwab@redhat.com>
45094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45095 Reread the line before reparsing it.
45097 2011-09-26 Andreas Schwab <schwab@redhat.com>
45099 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45101 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45102 Maxim Kuvyrkov <maxim@codesourcery.com>
45103 Joseph Myers <joseph@codesourcery.com>
45105 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45106 if needed for __stack_chk_guard.
45108 2011-09-19 Roland McGrath <roland@hack.frob.com>
45110 * sysdeps/posix/spawni.c (script_execute): Always define it.
45111 It will be optimized away if unused.
45112 (maybe_script_execute): New function.
45113 (__spawni): Call it.
45115 * Makerules: Don't include tls.make.
45116 (config-tls): Always set to thread.
45117 * tls.make.c: File removed.
45119 2011-09-19 Mike Frysinger <vapier@gentoo.org>
45121 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45122 * config.make.in (CPPFLAGS-config): New substituted variable.
45124 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45126 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45129 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45130 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45132 2011-09-15 Roland McGrath <roland@hack.frob.com>
45134 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45135 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45137 (CALL_FAIL): Likewise.
45138 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45139 (CALL_FAIL): Macro removed.
45140 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45142 2011-09-15 Ulrich Drepper <drepper@gmail.com>
45144 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45145 for __FINITE_MATH_ONLY__ == 1.
45147 2011-09-15 Andreas Schwab <schwab@redhat.com>
45149 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45150 __ieee754_sqrt instead of sqrt.
45151 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45152 __ieee754_sqrtf instead of sqrtf.
45153 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45154 __floorf instead of floorf.
45155 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45156 __floorf, __truncf instead of floorf, truncf.
45158 2011-09-14 Ulrich Drepper <drepper@gmail.com>
45160 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45162 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45163 __extern_always_inline.
45164 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45167 2011-09-14 Andreas Schwab <schwab@redhat.com>
45169 * elf/rtld.c (dl_main): Also relocate in dependency order when
45170 doing symbol dependency testing.
45172 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45174 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45175 Always define `refsym'.
45177 2011-09-13 Andreas Schwab <schwab@redhat.com>
45179 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45180 (__FD_ELT): Renamed from __FDELT.
45181 * misc/bits/select2.h (__FD_ELT): Likewise.
45182 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45183 __FD_MASK instead of __FDELT, __FDMASK.
45184 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45186 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45189 * elf/Makefile (gen-ldd): Fix pattern.
45191 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45192 (init_tls): Likewise.
45194 2011-09-12 Ulrich Drepper <drepper@gmail.com>
45196 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45198 2011-09-12 Andreas Schwab <schwab@redhat.com>
45200 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45201 `struct cmsghdr *' instead of `void *'.
45202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45205 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45207 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45209 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45210 ldd_rewrite_script.
45212 2011-09-11 Ulrich Drepper <drepper@gmail.com>
45214 * configure.in: Remove --with-tls option.
45215 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45216 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45217 out in case it is missing.
45218 * sysdeps/ia64/elf/configure.in: Likewise.
45219 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45220 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45221 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45222 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45223 * sysdeps/sh/elf/configure.in: Likewise.
45224 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45225 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45226 * sysdeps/x86_64/elf/configure.in: Likewise.
45227 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45228 * sysdeps/mach/hurd/tls.h: Likewise.
45231 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45234 * configure.in: Fix use of AC_INIT.
45236 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45238 2011-09-10 Ulrich Drepper <drepper@gmail.com>
45240 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45242 * malloc/hooks.c: Likewise.
45245 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45246 variables statically.
45247 (narenas): Initialize.
45248 (list_lock): Initialize.
45249 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45250 initializtion of main_arena and list_lock. Small cleanups.
45251 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45252 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45253 Add initializers to main_arena and mp_.
45254 (malloc_state): Remove pagesize member. Change all users to use
45257 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45258 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45259 is always initialized.
45261 * malloc/malloc.c: Removed unused configurations and dead code.
45262 * malloc/arena.c: Likewise.
45263 * malloc/hooks.c: Likewise.
45264 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45266 * include/tls.h: Removed. USE___THREAD must always be defined.
45267 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45268 * elf/dl-libc.c: Likewise.
45269 * elf/dl-tsd.c: Likewise.
45270 * include/errno.h: Likewise.
45271 * include/netdb.h: Likewise.
45272 * include/resolv.h: Likewise.
45273 * inet/herrno-loc.c: Likewise.
45274 * inet/herrno.c: Likewise.
45275 * malloc/arena.c: Likewise.
45276 * malloc/hooks.c: Likewise.
45277 * malloc/malloc.c: Likewise.
45278 * resolv/res-state.c: Likewise.
45279 * resolv/res_libc.c: Likewise.
45280 * sysdeps/i386/dl-machine.h: Likewise.
45281 * sysdeps/ia64/dl-machine.h: Likewise.
45282 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45283 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45284 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45285 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45286 * sysdeps/sh/dl-machine.h: Likewise.
45287 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45288 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45289 * sysdeps/unix/i386/sysdep.S: Likewise.
45290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45291 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45296 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45300 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45301 * sysdeps/x86_64/dl-machine.h: Likewise.
45302 * tls.make.c: Likewise.
45304 * configure.in: Remove --with-__thread option. Make tests for
45305 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45306 tls_model attribute fail if no support is available. Remove
45308 * Makeconfig: Adjust for dropped configure option. All features are
45310 * Makerules: Likewise.
45311 * Versions.def: Likewise.
45312 * argp/argp-fmtstream.c: Likewise.
45313 * argp/argp-fmtstream.h: Likewise.
45314 * argp/argp-help.c: Likewise.
45315 * assert/assert.c: Likewise.
45316 * config.h.in: Likewise.
45317 * config.make.in: Likewise.
45318 * configure: Likewise.
45319 * configure.in: Likewise.
45320 * csu/Versions: Likewise.
45321 * csu/init.c: Likewise.
45322 * elf/tst-audit2.c: Likewise.
45323 * elf/tst-tls10.c: Likewise.
45324 * elf/tst-tls10.h: Likewise.
45325 * elf/tst-tls11.c: Likewise.
45326 * elf/tst-tls12.c: Likewise.
45327 * elf/tst-tls14.c: Likewise.
45328 * elf/tst-tlsmod11.c: Likewise.
45329 * elf/tst-tlsmod12.c: Likewise.
45330 * elf/tst-tlsmod13.c: Likewise.
45331 * elf/tst-tlsmod13a.c: Likewise.
45332 * elf/tst-tlsmod14a.c: Likewise.
45333 * elf/tst-tlsmod15b.c: Likewise.
45334 * elf/tst-tlsmod16a.c: Likewise.
45335 * elf/tst-tlsmod16b.c: Likewise.
45336 * elf/tst-tlsmod7.c: Likewise.
45337 * elf/tst-tlsmod8.c: Likewise.
45338 * elf/tst-tlsmod9.c: Likewise.
45339 * gmon/gmon.c: Likewise.
45340 * grp/fgetgrent_r.c: Likewise.
45341 * grp/putgrent.c: Likewise.
45342 * hurd/fopenport.c: Likewise.
45343 * include/libc-symbols.h: Likewise.
45344 * include/tls.h: Likewise.
45345 * intl/gettextP.h: Likewise.
45346 * intl/loadinfo.h: Likewise.
45347 * locale/global-locale.c: Likewise.
45348 * locale/localeinfo.h: Likewise.
45349 * mach/devstream.c: Likewise.
45350 * malloc/arena.c: Likewise.
45351 * malloc/set-freeres.c: Likewise.
45352 * misc/err.c: Likewise.
45353 * misc/getttyent.c: Likewise.
45354 * misc/mntent_r.c: Likewise.
45355 * posix/getopt.c: Likewise.
45356 * posix/wordexp.c: Likewise.
45357 * pwd/fgetpwent_r.c: Likewise.
45358 * resolv/Versions: Likewise.
45359 * resolv/res_hconf.c: Likewise.
45360 * shadow/fgetspent_r.c: Likewise.
45361 * shadow/putspent.c: Likewise.
45362 * stdio-common/printf_fphex.c: Likewise.
45363 * stdio-common/tmpfile.c: Likewise.
45364 * stdlib/abort.c: Likewise.
45365 * stdlib/fmtmsg.c: Likewise.
45366 * sunrpc/auth_unix.c: Likewise.
45367 * sunrpc/clnt_perr.c: Likewise.
45368 * sunrpc/clnt_tcp.c: Likewise.
45369 * sunrpc/clnt_udp.c: Likewise.
45370 * sunrpc/clnt_unix.c: Likewise.
45371 * sunrpc/openchild.c: Likewise.
45372 * sunrpc/svc_simple.c: Likewise.
45373 * sunrpc/svc_tcp.c: Likewise.
45374 * sunrpc/svc_udp.c: Likewise.
45375 * sunrpc/svc_unix.c: Likewise.
45376 * sunrpc/xdr.c: Likewise.
45377 * sunrpc/xdr_array.c: Likewise.
45378 * sunrpc/xdr_rec.c: Likewise.
45379 * sunrpc/xdr_ref.c: Likewise.
45380 * sunrpc/xdr_stdio.c: Likewise.
45382 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45384 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45386 2011-07-03 Andreas Jaeger <aj@suse.de>
45388 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45389 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45390 regenerate with gen-libm-tests.pl.
45392 2010-05-12 Petr Baudis <pasky@suse.cz>
45395 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45396 around j0() zero points by switching to j1().
45397 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45398 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45400 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45402 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45404 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45406 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45408 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45409 Patch in part by Pavel Roskin <proski@gnu.org>.
45412 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45414 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45415 Free memory block if necessary.
45418 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45419 be NULL. Don't lock in this case.
45421 2011-09-09 Roland McGrath <roland@hack.frob.com>
45423 * elf/elf.h (ELFOSABI_GNU): New macro.
45424 (ELFOSABI_LINUX): Define to that.
45426 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45428 * string/strncat.c (strncat): Undef the symbol in case it has been
45429 defined in bits/string.h.
45431 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45433 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45435 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45438 2011-08-17 Andreas Jaeger <aj@suse.de>
45440 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45442 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45443 Ian Lance Taylor <iant@google.com>
45445 * math/libm-test.inc (lround_test): New testcase.
45446 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45448 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45450 * Makefile: Remove support for automatic cvs check-ins.
45451 * Makerules: Likewise.
45452 * config.make.in: Likewise.
45453 * configure.in: Likewise.
45454 * intl/Makefile: Likewise.
45455 * locale/Makefile: Likewise.
45456 * po/Makefile: Likewise.
45457 * posix/Makefile: Likewise.
45458 * sysdeps/gnu/Makefile: Likewise.
45459 * sysdeps/mach/hurd/Makefile: Likewise.
45460 * sysdeps/sparc/sparc32/Makefile: Likewise.
45463 * posix/Makefile (bug-regex32-ENV): Define.
45464 Patch by John Stanley <jpsinthemix@verizon.net>.
45466 * misc/Makefile (headers): Add bits/select2.h.
45467 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45468 * misc/bits/select2.h: New file.
45469 * include/bits/select2.h: New file.
45470 * debug/Makefile (routines): Add fdelt_chk.
45471 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45472 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45474 * debug/fdelt_chk.c: New file.
45476 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45477 * wcsmbs/test-wmemcmp.c: Likewise.
45478 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45479 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45481 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45483 * string/Makefile (strop-tests): Add memcmp.
45484 * string/test-wmemcmp.c: New file.
45485 * string/test-memcmp.c: Add wmemcmp support.
45487 2011-09-08 Roland McGrath <roland@hack.frob.com>
45490 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45493 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45494 garbage value in a __mach_port_mod_refs call in the cases of the
45495 task-self and thread-self ports.
45497 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45499 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45501 2011-09-08 Andreas Schwab <schwab@redhat.com>
45503 * elf/dl-load.c (lose): Check for non-null L.
45505 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45507 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45509 * elf/dl-libc.c (dlerror_run): Pass back error code from
45513 * elf/dl-load.c (lose): Free l_origin if it is valid.
45515 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45517 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45519 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45520 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45521 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45522 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45524 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45526 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45527 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45528 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45529 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45530 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45531 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45532 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45533 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45534 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45535 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45537 2011-08-15 Alan Modra <amodra@gmail.com>
45540 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45541 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45542 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45543 ppc_mcount to static-only-routines.
45544 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45546 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45547 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45549 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45551 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45552 for finite and infinity parameters.
45554 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45556 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45557 and add nop instructions for throughput optimization.
45558 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45560 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45562 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45563 aligned copy for power7 with vector-scalar instructions.
45564 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45566 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45571 2011-09-07 Andreas Schwab <schwab@redhat.com>
45574 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45577 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45579 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45580 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45581 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45582 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45585 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45588 Forgot to demangle the pointer.
45590 * sysdeps/i386/sysdep.h: Define atom_text_section.
45591 * sysdeps/x86_64/sysdep.h: Likewise.
45592 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45593 section with atom_text_section.
45594 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45595 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45596 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45597 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45598 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45600 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45601 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45602 already be defined. Change to take two parameters and don't assign
45603 result to variable. Adjust all users.
45604 Define INTERNAL_GETTIME if not already defined.
45605 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45608 HAVE_CLOCK_GETTIME_VSYSCALL.
45609 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45611 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45612 gettimeofday vsyscall, just use time.
45614 2011-09-06 Andreas Schwab <schwab@redhat.com>
45616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45619 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45621 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45623 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45625 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45626 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45627 syscall if possible.
45629 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45631 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45632 e_ident. Don't pass to find_mapsXX.
45633 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45635 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45638 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45639 * sysdeps/x86_64/multiarch/strchr.S: Update.
45640 Check bit_slow_BSF bit.
45641 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45642 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45643 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45645 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45648 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45650 (tryshell): Define.
45651 (__spawni): Change last parameter to be flag. Test
45652 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45653 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45654 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45655 * posix/spawni.c: Likewise.
45656 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45657 * posix/spawnp.c: Likewise. Change normal version to use
45658 SPAWN_XFLAGS_USE_PATH.
45659 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45660 SPAWN_XFLAGS_TRY_SHELL.
45663 * posix/glob.h: Remove gcc 1.x support.
45666 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45668 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45671 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45673 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45674 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45675 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45677 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45680 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45682 * sysdeps/x86_64/wcscmp.S: New file.
45684 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45685 wcscmp-c wcscmp-sse2
45686 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45687 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45688 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45689 * wcsmbs/wcscmp.c: Allow renaming.
45691 2011-09-05 David S. Miller <davem@davemloft.net>
45693 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45694 stack slot, rather than the struct return pointer slot.
45695 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45696 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45698 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45700 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45702 * po/ja.po: Update from translation team.
45705 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45706 kernel in 64-bit binaries.
45708 2011-09-01 David S. Miller <davem@davemloft.net>
45710 * elf/elf.h (HWCAP_SPARC_*): Move to..
45711 * sysdeps/sparc/sysdep.h: this new file and add new values.
45712 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45713 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45714 _DL_HWCAP_COUNT to 24.
45715 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45717 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45718 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45719 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45721 instead of magic constants.
45722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45724 2011-08-31 David S. Miller <davem@davemloft.net>
45726 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45728 Reimplement to do errno handling inline.
45729 (SYSCALL_ERROR_HANDLER): New macro.
45730 (__SYSCALL_STRING): Do not do errno handling in asm.
45731 (__CLONE_SYSCALL_STRING): Delete.
45732 (__INTERNAL_SYSCALL_STRING): Delete.
45733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45734 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45735 (PSEUDO): Reimplement to do errno handling inline.
45736 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45737 (SYSCALL_ERROR_HANDLER): New macro.
45738 (__SYSCALL_STRING): Do not do errno handling in asm.
45739 (__CLONE_SYSCALL_STRING): Delete.
45740 (__INTERNAL_SYSCALL_STRING): Delete.
45741 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45742 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45744 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45745 (inline_syscall*): Add 'err' argument.
45746 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45747 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45748 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45749 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45751 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45752 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45754 2011-08-30 Andreas Schwab <schwab@redhat.com>
45756 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45758 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45760 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45763 2011-08-24 David S. Miller <davem@davemloft.net>
45765 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45767 2011-08-24 Andreas Schwab <schwab@redhat.com>
45769 * elf/Makefile: Add rules to build and run unload8 test.
45770 * elf/unload8.c: New file.
45771 * elf/unload8mod1.c: New file.
45772 * elf/unload8mod1x.c: New file.
45773 * elf/unload8mod2.c: New file.
45774 * elf/unload8mod3.c: New file.
45776 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45779 2011-08-23 David S. Miller <davem@davemloft.net>
45781 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45782 subtract stack bias.
45783 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45784 %sp not %fp in calculations.
45785 (_JMPBUF_UNWINDS_ADJ): Likewise.
45787 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45788 (aio_suspend): Call it to force an exception region around the
45789 AIO_MISC_WAIT() invocation.
45791 2011-08-23 Andreas Schwab <schwab@redhat.com>
45793 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45796 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45798 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45800 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45801 and <dl-machine.h>.
45802 (Elf64_FuncDesc): Remove.
45804 2011-08-22 David S. Miller <davem@davemloft.net>
45806 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45807 sigaltstack check, add missing cfi directives.
45808 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45809 missing cfi directives, and sigaltstack handling.
45811 2011-08-16 Andreas Schwab <schwab@redhat.com>
45814 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45815 object is seen twice.
45816 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45818 * elf/Makefile (distribute): Add tst-initorder2.c.
45819 (tests): Add tst-initorder2.
45820 (modules-names): Add tst-initorder2a tst-initorder2b
45821 tst-initorder2c tst-initorder2d. Add rules to build them.
45822 ($(objpfx)tst-initorder2.out): New rule.
45823 * elf/tst-initorder2.c: New file.
45824 * elf/tst-initorder2.exp: New file.
45826 2011-08-22 Andreas Schwab <schwab@redhat.com>
45828 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45830 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45831 dependencies back to end of function.
45833 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45834 $(elfobjdir)/ld.so.
45836 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45838 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45839 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45840 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45841 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45842 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45843 of __vdso_gettimeofday.
45844 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45845 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45847 (_libc_vdso_platform_setup): Remove initialization of
45848 __vdso_gettimeofday and __vdso_time.
45850 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45852 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45853 and fgetc_unlocked.
45854 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45857 * elf/dl-open.c (add_to_global): Report additions to the global scope
45858 for LD_DEBUG=scopes.
45859 (dl_open_worker): Also print scope of newly loaded dependencies.
45860 (_dl_show_scope): Indicate if there is no scope.
45863 * stdio-common/Makefile (tests): Add bug24.
45864 * stdio-common/bug24.c: New file.
45866 2011-08-19 Andreas Jaeger <aj@suse.de>
45869 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45870 non-existant file when using close-on-exec mode.
45872 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45875 the very first instruction.
45877 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45878 the CFI state in the end.
45879 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45880 inclusion of dl-trampoline.h.
45881 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45883 2011-08-19 Andreas Schwab <schwab@redhat.com>
45885 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45886 expectations for long double.
45888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45889 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45891 2011-08-14 David S. Miller <davem@davemloft.net>
45893 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45894 artificual limit depends upon the system page size.
45896 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45898 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45899 * resolv/Makefile: Define CFLAGS-libresolv.
45901 2011-08-17 Andreas Schwab <schwab@redhat.com>
45903 * nss/makedb.c (compute_tables): Make variables used in nested
45906 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45908 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45909 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45910 if buffer was too small.
45912 * elf/pldd.c (main): Attach to all threads in the process.
45913 Rewrite /proc handling to use *at functions.
45915 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45917 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45918 specifies first scope to show.
45919 (dl_open_worker): Update callers. Move printing scope of new
45920 object to before the relocation.
45921 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45922 * sysdeps/generic/ldsodefs.h: Update declaration.
45924 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45925 string for the scope number.
45927 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45929 * nscd/servicescache.c (cache_addserv): Make sure written is always
45932 2011-08-14 Roland McGrath <roland@hack.frob.com>
45934 * sysdeps/i386/i486/bits/atomic.h
45935 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45936 statement expression, so as to suppress "set but not used" warning.
45937 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45939 * string/strncat.c (STRNCAT): Use prototype definition.
45941 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45942 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45944 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45945 (localedef-modules): Add localedef.
45946 (locale-modules): Add locale.
45948 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45949 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45950 to avoid a warning.
45952 2011-08-14 David S. Miller <davem@davemloft.net>
45954 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45955 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45957 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45959 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45960 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45961 * elf/rtld.c (dl_main): Set l_name of vDSO.
45962 Call _dl_show_scope when DL_DEBUG_SCOPES.
45963 (process_dl_debug): Recognize scopes flag and also set it for all.
45964 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45965 Declare _dl_show_scope.
45967 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45968 (do_dlopen): Pass caller_dlopen to dl_open.
45969 (__libc_dlopen_mode): Initialize caller_dlopen.
45971 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45972 of libc. Make tolower call locale-independent. Optimize a bit by
45973 using isdigit instead of isalnum.
45974 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45976 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45978 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45979 was a dependency or dynamically loaded.
45981 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45983 * intl/l10nflist.c: Allow architecture-specific pop function.
45984 * sysdeps/x86_64/l10nflist.c: New file.
45986 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45989 2011-08-10 Andreas Schwab <schwab@redhat.com>
45991 * include/dirent.h: Add libc_hidden_proto for scandirat and
45992 scandirat64. Don't declare __scandirat64.
45993 * dirent/scandirat.c: Add libc_hidden_def.
45994 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45995 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45997 2011-08-10 David S. Miller <davem@davemloft.net>
45999 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46002 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46003 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46005 2011-08-09 Ulrich Drepper <drepper@gmail.com>
46007 * Versions.def [libc]: Add GLIBC_2.15.
46008 * dirent/Makefile (routines): Add scandirat and scandirat64.
46009 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46011 * dirent/dirent.h: Declare scandirat and scandirat64.
46012 * dirent/scandirat.c: New file.
46013 * dirent/scandirat64.c: New file.
46014 * sysdeps/wordsize-64/scandirat.c: New file.
46015 * sysdeps/wordsize-64/scandirat64.c: New file.
46016 * dirent/opendir.c: Define opendirat.
46017 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46019 * dirent/scandir64.c: Adjust for scandir.c change.
46020 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46021 __scandirat64, and __scandir_cancel_handler.
46022 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46023 additional parameter and use openat instead of open (outside of ld.so).
46024 Add new __opendir as wrapper around __opendirat.
46025 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46026 here without requiring old scandirat implementation.
46028 2011-08-08 Ulrich Drepper <drepper@gmail.com>
46030 * dirent/scandir.c (cancel_handler): Renamed to
46031 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46032 defined. Adjust users.
46033 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46034 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46036 2011-08-04 Ulrich Drepper <drepper@gmail.com>
46038 * string/test-string.h (IMPL): Use __STRING to expand name and then
46041 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46044 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46046 * string/Makefile: Update.
46047 (strop-tests): Append strncat.
46048 * string/test-wcscmp.c: New file.
46049 New comprehensive test for wcscmp.
46050 * string/test-strcmp.c: Update.
46051 (WIDE): New define.
46053 2011-07-22 Andreas Schwab <schwab@redhat.com>
46055 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46058 2011-07-26 Andreas Schwab <schwab@redhat.com>
46060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46061 encoding to ACE if AI_IDN.
46063 2011-08-01 Jakub Jelinek <jakub@redhat.com>
46065 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46066 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46068 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46071 Fix overflow bug in strncat.
46072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46074 * string/test-strncat.c: Update.
46075 Add new tests for checking overflow bugs.
46077 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46080 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46081 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46082 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46083 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46084 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46085 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46086 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46087 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46089 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46090 (USE_AS_STRCAT): Define.
46091 Add strcat and strncat support.
46092 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46094 2011-07-25 Andreas Schwab <schwab@redhat.com>
46096 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46097 __n bigger than INT_MAX+1.
46098 (__strncmp_g): Likewise.
46100 2011-07-23 Ulrich Drepper <drepper@gmail.com>
46102 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46103 * libio/stido.h: Likewise.
46105 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46110 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46111 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46112 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46113 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46114 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46117 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46122 (_dl_x86_64_save_sse): Likewise.
46124 2011-07-22 Ulrich Drepper <drepper@gmail.com>
46126 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46128 (_dl_x86_64_save_sse): Likewise.
46130 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46132 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46134 2011-07-21 Andreas Schwab <schwab@redhat.com>
46136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46138 (_dl_x86_64_save_sse): Use correct AVX check.
46140 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46142 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46143 bug in strncpy/strncat.
46144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46146 2011-07-21 Ulrich Drepper <drepper@gmail.com>
46148 * string/tester.c (test_strcat): Add tests for different alignments
46149 of source and destination.
46150 (test_strncat): Likewise.
46152 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46155 * posix/glob.c (glob): Check passed in values before using them in
46156 expressions to avoid some overflows.
46157 (glob_in_dir): Likewise.
46160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46161 check for AVX enablement so that we don't crash with old kernels and
46163 * elf/tst-audit4.c: Add same checks here.
46164 * elf/tst-audit6.c: Likewise.
46166 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46168 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46170 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46172 2011-07-20 Ulrich Drepper <drepper@gmail.com>
46174 * po/cs.po: Update from translation team.
46175 * po/bg.po: Likewise.
46177 2011-07-12 Marek Polacek <mpolacek@redhat.com>
46179 * misc/sys/cdefs.h: Add support for const attribute.
46180 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46181 to gnu_dev_{major,minor,makedev} functions.
46183 2011-07-20 Marek Polacek <mpolacek@redhat.com>
46185 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46187 2011-07-20 Andreas Schwab <schwab@redhat.com>
46189 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46192 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46194 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46195 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46196 register in order to avoid conflicts with the soft frame pointer
46197 being held in r11 when necessary.
46198 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46199 (INTERNAL_VSYSCALL_NCS): Likewise.
46201 2011-07-14 Marek Polacek <mpolacek@redhat.com>
46203 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46204 * elf/dl-fini.c (_dl_fini): Adjust caller.
46205 * elf/dl-close.c (_dl_close_worker): Likewise.
46206 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46208 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46210 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46211 "aux_cache->nlibs < 0".
46213 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46214 in the reload-count case.
46216 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46219 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46220 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46221 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46222 * sysdeps/x86_64/multiarch/strcat.S: New file.
46223 * sysdeps/x86_64/multiarch/strncat.S: New file.
46224 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46225 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46226 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46227 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46228 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46229 (USE_AS_STRCAT): Define.
46230 Add strcat and strncat support.
46231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46232 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46233 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46234 * string/strncat.c: Update.
46235 (USE_AS_STRNCAT): Define.
46236 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46237 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46239 * sysdeps/x86_64/multiarch/init-arch.h
46240 (bit_Prefer_PMINUB_for_stringop): New.
46241 (index_Prefer_PMINUB_for_stringop): Likewise.
46242 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46243 bit_Prefer_PMINUB_for_stringop.
46245 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46247 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46249 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46250 of casting of buffer.
46251 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46252 buffer32 and buffer64.
46253 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46254 writes instead of casting of buffer.
46255 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46257 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46260 2011-07-19 Andreas Schwab <schwab@redhat.com>
46262 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46264 2011-07-19 Ulrich Drepper <drepper@gmail.com>
46266 * nscd/nscd.c (termination_handler): Don't do anything for a database
46267 if it has not yet been initialized.
46269 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46271 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46273 2011-07-15 Marek Polacek <mpolacek@redhat.com>
46275 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46277 2011-07-18 Ulrich Drepper <drepper@gmail.com>
46279 * po/nl.po: Update from translation team.
46280 * po/sv.po: Likewise.
46282 2011-07-16 Roland McGrath <roland@hack.frob.com>
46284 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46285 now disallowed by GCC.
46287 * configure.in (use-default-link): Default to yes if a test -shared
46288 link meets our qualifications.
46289 * configure: Regenerated.
46291 * config.make.in (output-format): New variable.
46292 * configure.in: Check for ld --print-output-format support.
46293 * configure: Regenerated.
46294 * Makerules ($(common-objpfx)format.lds)
46295 [$(output-format) != unknown]: Just use $(output-format),
46296 instead of the linker-script munging.
46298 2011-07-14 Roland McGrath <roland@hack.frob.com>
46300 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46301 of $(common-objpfx)shlib.lds.
46302 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46304 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46305 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46307 * configure.in (-z relro check): Adjust test code to add a large
46308 writable data section after it.
46309 * configure: Regenerated.
46311 2011-07-11 Roland McGrath <roland@hack.frob.com>
46313 * configure.in (-z relro check): Fix test code to make the variable
46315 * configure: Regenerated.
46317 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46319 * nscd/nscd.h (struct traced_file): Define.
46320 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46321 elements. Add traced_files.
46322 (inotify_fd): Declare.
46323 (register_traced_file): Declare.
46324 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46325 (inotify_fd): Export.
46326 (resolv_conf_descr): Remove.
46327 (nscd_init): Move inotify descriptor creation to main.
46328 Don't register files for notification here.
46329 (register_traced_file): New function.
46330 (invalidate_cache): Don't use reset_res to determine whether to call
46331 res_init, go through the list of registered files.
46332 (main_loop_poll): The inotify descriptors are now stored in the
46333 structures for the traced files.
46334 (main_loop_epoll): Likewise
46335 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46336 to __nss_disable_nscd.
46337 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46338 for a database anymore. Check the records for all the registered
46340 * nss/Makefile (libnss_files-routines): Add files-init.
46341 (libnss_db-routines): Add db-init.
46342 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46343 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46344 * nss/nss_db/db-init.c: New file.
46345 * nss/nss_files/files-init.c: New file.
46346 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46347 __nss_lookup_function.
46348 (__nss_lookup_function): Call nss_load_library.
46349 (nss_load_all_libraries): New function.
46350 (__nss_disable_nscd): Take parameter with callback function for files
46351 to register. Set is_nscd. Load all the DSOs for the NSS modules
46352 used for the cached services.
46353 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46354 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46355 options for features to all the files in nscd.
46357 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46359 2011-07-10 Roland McGrath <roland@hack.frob.com>
46361 * csu/elf-init.c (__libc_csu_init): Comment typo.
46363 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46365 * po/pl.po: Update from translation team.
46366 * po/ja.po: Likewise.
46367 * po/ru.po: Likewise.
46368 * po/ko.po: Likewise.
46369 * po/fr.po: Likewise.
46371 2011-07-09 Roland McGrath <roland@hack.frob.com>
46373 * configure.in (.ctors/.dtors header and trailer check):
46374 Use an empirical test on a built program.
46375 * configure: Regenerated.
46377 * configure.in (-z relro check): Use an empirical test on a built DSO.
46378 Detect, but do not require, on ia64.
46379 * configure: Regenerated.
46381 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46382 Update tests that use readelf to use $READELF instead.
46383 * configure: Regenerated.
46385 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46387 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46388 if the result is not used.
46390 2011-07-05 Andreas Jaeger <aj@suse.de>
46393 * stdlib/tst-strtod.c: Add testcase.
46395 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46397 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46398 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46399 The latter has a higher limit. Take additional parameter to pass to
46401 (__pathconf): Pass file to __statfs_link_max.
46402 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46404 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46408 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46412 (__statfs_filesize_max): Likewise.
46413 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46415 2011-07-05 Andreas Jaeger <aj@suse.de>
46417 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46419 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46421 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46423 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46426 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46428 * Makefile (strop-tests): Add strncat.
46429 * string/test-strncat.c: New file.
46431 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46433 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46435 2011-06-21 Andreas Jaeger <aj@suse.de>
46437 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46438 Copy rule from iconvdata/Makefile.
46440 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46443 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46444 but no long options are defined, just return 'W'.
46446 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46449 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46451 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46453 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46455 (innetgr): Likewise.
46457 2011-07-05 Roland McGrath <roland@hack.frob.com>
46459 * config.make.in (install_root): Default to $(DESTDIR).
46461 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46463 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46465 2011-07-02 Roland McGrath <roland@hack.frob.com>
46467 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46469 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46470 containing directory rather than embedding absolute directory names.
46472 * scripts/check-local-headers.sh: Rewritten using awk.
46473 Match by word, not by line. Print error messages for matches.
46474 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46476 * Makerules [shlib-lds-flags empty]:
46477 ($(common-objpfx)libc_pic.opts): New target.
46478 ($(common-objpfx)libc_pic.os.clean): New target.
46479 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46481 * config.make.in (OBJCOPY): New variable.
46482 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46483 * configure: Regenerated.
46485 * config.make.in (use-default-link): New variable.
46486 * configure.in (use_default_link): Grok --with-default-link to set it.
46487 * configure: Regenerated.
46488 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46489 (shlib-lds, shlib-lds-flags): Define to empty.
46491 * Makerules (shlib-lds): New variable.
46492 (shlib-lds-flags): New variable.
46493 (build-shlib, build-moduile, build-module-asneeded): Use it.
46494 ($(common-objpfx)libc.so): Use $(shlib-lds).
46495 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46496 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46498 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46499 DT_FLAGS/DT_FLAGS_1 with zero flags.
46501 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46502 linker script munging.
46504 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46506 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46508 * crypt/sha512.c (sha512_process_block): Perform total addition using
46509 128-bit if possible.
46510 (__sha512_finish_ctx): Likewise.
46511 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46513 * crypt/sha256.c (SWAP64): Define.
46514 (sha256_process_block): Perform total addition using 64-bit if
46516 (__sha256_finish_ctx): Likewise.
46518 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46520 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46521 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46522 * nscd/hstcache.c (cache_addhst): Likewise.
46523 * nscd/grpcache.c (cache_addgr): Likewise.
46524 * nscd/aicache.c (addhstaiX): Likewise
46525 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46527 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46529 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46531 * nscd/hstcache.c (cache_addhst): Likewise.
46532 * nscd/grpcache.c (cache_addgr): Likewise.
46533 * nscd/aicache.c (addhstaiX): Likewise
46535 2011-07-01 Andreas Schwab <schwab@redhat.com>
46537 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46538 domain only when needed.
46540 2011-06-30 Andreas Schwab <schwab@redhat.com>
46542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46543 is always restored.
46545 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46547 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46548 are re-adding the entry.
46549 * nscd/servicescache.c (cache_addserv): Likewise.
46551 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46553 * sysdeps/generic/dl-irel.h: fix protection against multiple
46555 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46557 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46560 * malloc/memusage.sh: Fix quoting in message.
46561 * debug/xtrace.sh: Likewise.
46563 * configure.in: Remove support for --experimental-malloc option, make
46565 * config.make.in: Likewise.
46566 * malloc/Makefile: Likewise.
46568 2011-06-27 Andreas Schwab <schwab@redhat.com>
46570 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46571 two-byte characters.
46573 2011-06-27 Roland McGrath <roland@hack.frob.com>
46575 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46576 AC_CACHE_CHECK invocation.
46577 * configure: Regenerated.
46579 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46581 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46584 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46585 bit from old_res_options.
46587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46589 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46590 value type for setfct.
46592 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46595 __gettimeofday instead of gettimeofday.
46597 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46599 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46601 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46603 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46608 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46611 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46612 strcpy-sse2-unaligned strncpy-sse2-unaligned
46613 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46614 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46615 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46616 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46617 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46618 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46619 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46620 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46621 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46622 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46623 (STRCPY): Support SSE2 and SSSE3 versions.
46625 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46628 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46629 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46630 kernels which artificially limit size of requests.
46632 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46635 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46636 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46637 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46638 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46639 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46640 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46641 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46642 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46644 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46645 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46646 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46647 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46648 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46650 Enable unaligned load optimization for Intel Core i3, i5 and i7
46652 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46654 (index_Fast_Unaligned_Load): Define.
46655 (HAS_FAST_UNALIGNED_LOAD): Define.
46657 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46659 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46661 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46665 until it is clear that the information is realy needed.
46666 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46668 2011-06-22 Andreas Schwab <schwab@redhat.com>
46670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46672 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46675 /sys/devices/system/cpu/online if it is usable.
46677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46678 reading the information from the /proc filesystem to once a second.
46680 2011-06-21 Andreas Jaeger <aj@suse.de>
46682 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46683 NULL after inclusion of kernel headers.
46685 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46687 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46688 calls to internal_setent.
46691 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46692 addresses using gethostbyname4_r ignore IPv4 addresses.
46694 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46695 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46697 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46699 2011-06-20 David S. Miller <davem@davemloft.net>
46701 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46703 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46705 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46706 (elf_irel): Use it.
46707 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46708 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46709 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46710 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46711 * sysdeps/x86_64/dl-irel.h: Likewise.
46713 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46714 * elf/dl-sym.c: Likewise.
46716 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46718 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46719 need to dereference resplen2.
46721 2011-06-14 Andreas Schwab <schwab@redhat.com>
46723 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46725 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46727 * Makeconfig: Define vardbdir and inst_vardbdir.
46728 * nss/Makefile: Add rules to install db-Makefile.
46730 * nss/nss_db/db-XXX.c: Cleanup.
46732 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46733 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46735 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46736 * nss/makedb.c: Implement -g option to specify that value strings
46737 are generated and should not be added to table iterated over for
46739 * nss/nss_db/db-initgroups.c: New file.
46741 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46744 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46745 (internal_getgrouplist): Adjust to name change.
46746 Update use_initgroups_entry if this is not the first call.
46747 * nss/databases.def: Add initgroups entry.
46749 * nss/makedb.c (compute_tables): Check result of multiple hash table
46750 sizes to minimize maximum chain length.
46752 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46754 * Versions.def: Add entry for libnss_db.
46755 * shlib-versions: Likewise.
46756 * nss/Makefile: Add rules to build libnss_db.
46757 * nss/Versions: Add libnss_db information. Organize libnss_files
46759 * nss/db-Makefile: Add gshadow support. Change rules for the new
46760 makedb progra. Some minor improvements to generate smaller files.
46761 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46763 * nss/makedb.c: ...here.
46764 Improve database format to be smaller and require less memory at
46766 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46768 * nss/nss_db/db-netgrp.c: Likewise.
46769 * nss/nss_db/db-open.c: Likewise.
46770 * nss/nss_files/flies-XXX.x: Adjust comments.
46771 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46772 * nss/nss_files/files-grp.c: Likewise.
46773 * nss/nss_files/files-hosts.c: Likewise.
46774 * nss/nss_files/files-network.c: Likewise.
46775 * nss/nss_files/files-proto.c: Likewise.
46776 * nss/nss_files/files-pwd.c: Likewise.
46777 * nss/nss_files/files-rpc.c: Likewise.
46778 * nss/nss_files/files-service.c: Likewise.
46779 * nss/nss_files/files-sgrp.c: Likewise.
46780 * nss/nss_files/files-spwd.c: Likewise.
46781 * nss/nss_db/db-alias.c: Removed.
46782 * nss/nss_db/dummy-db.h: Removed.
46784 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46786 * nss/makedb.c: Rewritten to not use database library.
46787 * nss/Makefile: Update to build new makedb program.
46789 2011-06-14 Andreas Jaeger <aj@suse.de>
46791 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46792 memset declaration.
46794 2011-06-10 Andreas Schwab <schwab@redhat.com>
46796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46799 2011-06-10 Roland McGrath <roland@hack.frob.com>
46801 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46802 * elf/Makefile ($(objpfx)ld.so): Likewise.
46804 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46805 Don't list ld.so twice in dependencies.
46807 * posix/bug-regex31.c: Include <stdlib.h>.
46809 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46811 * nis/nss_compat/compat-spwd.c
46812 (getspent_next_nss_netgr): Remove unused variable.
46813 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46815 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46816 nonmembers" output to use the right array.
46818 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46820 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46822 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46823 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46824 * catgets/gencat.c (read_input_file): Likewise.
46825 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46827 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46828 variable definition inside #if's controlling its use.
46830 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46832 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46834 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46836 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46839 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46841 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46842 * configure: Regenerated.
46844 * Makerules: Revert last change.
46845 * elf/Makefile: Likewise.
46847 2011-06-09 Roland McGrath <roland@hack.frob.com>
46849 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46850 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46851 (reloc-link): Likewise.
46853 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46855 * elf/Makefile: Add rules to build pldd.
46856 * elf/pldd.c: New file.
46857 * elf/pldd-xx.c: New file.
46859 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46861 * version.h: Update for 2.15 development version.
46863 2011-06-07 David S. Miller <davem@davemloft.net>
46865 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46867 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46868 elf_machine_lazy_rel): Likewise.
46869 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46871 elf_machine_lazy_rel): Likewise.
46872 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46873 dl_hwcap via passed in argument.
46874 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46877 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46879 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46881 2011-06-06 Roland McGrath <roland@hack.frob.com>
46884 * manual/fdl-1.1.texi: New file, verbatim from:
46885 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46886 * manual/lgpl-2.1.texi: New file, verbatim from:
46887 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46888 * manual/Makefile (licenses): New variable, list those new file names.
46890 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46892 * manual/fdl.texi: File removed.
46893 * manual/lesser.texi: File removed.
46894 * manual/libc.texinfo (Copying, Documentation License):
46895 Use new @include file names, put @appendix directive before @include.
46897 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46900 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46901 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46902 (mq_open): Add __NTH.
46904 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46907 Assume Intel Core i3/i5/i7 processor if AVX is available.
46909 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46914 2011-05-31 Andreas Schwab <schwab@redhat.com>
46916 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46917 memory. Use alloca_account. Fix memory leak when retrying.
46919 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46921 * version.h (RELEASE): Bump for 2.14 release.
46922 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46924 * config.make.in (RANLIB): Remove entry.
46926 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46928 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46929 (libc.pot): Work around missing support for .ksh extension in xgettext.
46932 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46933 if both request failed.
46934 (send_dg): In case of server errors clear resplen or *resplen2.
46937 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46938 when there are multiple maps.
46939 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46940 (_dl_fini): Remove test here.
46942 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46944 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46947 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46948 bit from old_res_options.
46949 (gaih_inet): Likewise.
46952 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46955 * resolv/res_init.c (res_setoptions): Make the code more compact.
46958 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46962 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46964 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46967 * malloc/malloc.h: Declare malloc hook variables as volatile.
46969 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46973 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46974 raise in the comment.
46975 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46976 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46977 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46979 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46982 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46983 grow the buffers more if it already has to be sufficient.
46984 (build_wcs_upper_buffer): Likewise.
46985 * posix/regexec.c (check_matching): Likewise.
46986 (clean_state_log_if_needed): Likewise.
46987 (extend_buffers): Don't enlarge buffers beyond size of the input
46989 Patches mostly by Emil Wojak <emil@wojak.eu>.
46990 * posix/bug-regex32.c: New file.
46991 * posix/Makefile (tests): Add bug-regex32.
46993 * locale/findlocale.c (_nl_find_locale): Return right away if
46994 _nl_explode_name failed.
46995 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46997 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46999 * debug/xtrace.sh: Unify messages.
47000 * malloc/memusage.sh: Likewise.
47003 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47004 time symbol from vDSO. Substitute with vsyscall if not available.
47005 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47008 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47009 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47010 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47011 Add sendmmsg and internal_sendmmsg.
47012 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47013 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47014 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47016 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47017 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47018 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47020 2011-05-27 Ulrich Drepper <drepper@gmail.com>
47023 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47024 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47030 * iconvdata/Makefile (tests): Add bug-iconv9.
47031 * iconvdata/bug-iconv9.c: New file.
47033 2011-05-27 Andreas Schwab <schwab@redhat.com>
47036 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47038 2011-05-25 Jakub Jelinek <jakub@redhat.com>
47040 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47041 (struct user_regs_struct): Change intcs field back to cs.
47043 2011-05-25 Ulrich Drepper <drepper@gmail.com>
47045 * po/ja.po: Update from translation team.
47047 2011-05-23 Ulrich Drepper <drepper@gmail.com>
47050 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47051 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47053 2011-05-20 Andreas Schwab <schwab@redhat.com>
47055 * stdlib/longlong.h: Update from GCC.
47057 2011-05-23 Andreas Schwab <schwab@redhat.com>
47059 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47061 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47062 Add parameter name.
47063 (__sysconf): Pass it down.
47065 2011-05-22 Ulrich Drepper <drepper@gmail.com>
47068 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47070 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47071 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47072 add in in __libc_use_alloca calls. Adjust callers.
47073 (glob): Use malloc in some situations.
47075 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47076 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47079 2011-05-21 Ulrich Drepper <drepper@gmail.com>
47081 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47082 and CLOCK_BOOTTIME_ALARM.
47085 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47088 * string/_strerror.c (__strerror_r): Print negative errors as signed
47092 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47093 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47094 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47096 * configure.in: Fix typo in redirection and correct removal of test
47097 files in two cases.
47100 * locale/setlocale.c (new_composite_name): Fix test to check for
47101 identical name of all categories.
47104 * libio/filedoalloc.c (local_isatty): New function.
47105 (_IO_file_doallocate): Use local_isatty.
47106 * stdio-common/perror.c (perror): In case a new stream is used
47107 forward the stream error.
47108 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47111 2011-05-20 Ulrich Drepper <drepper@gmail.com>
47114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47116 * include/alloca.h (extend_alloca_account): Define.
47119 * posix/regex.h: Fix comments with documentation of user-accessible
47120 fields after compilation and describe correct free'ing of pattern
47121 after re_compile_pattern.
47122 Patch by Reuben Thomas <rrt@sc3d.org>.
47124 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47126 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47127 and -mno-altivec to prevent the compiler from using Altivec and/or
47128 VSX instructions when the corresponding registers are not available.
47130 2011-05-19 Andreas Schwab <schwab@redhat.com>
47132 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47134 2011-05-19 Ulrich Drepper <drepper@gmail.com>
47136 * libio/freopen.c (freopen): Use __dup2, not dup2.
47137 * libio/freopen64.c (freopen64): Likewise.
47139 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47142 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47143 * math/Makefile (tests): Add test-powl.
47144 (CFLAGS-test-powl.c): Define.
47145 * math/test-powl.c: New file.
47147 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47149 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47151 2011-05-17 Ulrich Drepper <drepper@gmail.com>
47154 * iconvdata/gb18030.c: Update to GB18020-2005.
47156 2011-05-16 Ulrich Drepper <drepper@gmail.com>
47158 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47159 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47160 Patch by Aharon Robbins <arnold@skeeve.com>.
47163 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47167 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47168 through underflows.
47171 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47172 point to strings before performing equality test for error_one_per_line
47176 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47180 (struct user_fpregs_struct): Avoid __uint*_t types.
47183 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47184 symbol info. Use it instead of calling _dl_addr locally.
47185 (lock_and_info): New function.
47186 (tr_freehook): Call lock_and_info and pass symbol info as additional
47187 parameter to tr_where.
47188 (tr_mallochook): Likewise.
47189 (tr_reallochook): Likewise.
47190 (tr_memalignhook): Likewise.
47192 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47193 used and couldn't be at all thread-safe.
47195 2011-05-15 Ulrich Drepper <drepper@gmail.com>
47197 * libio/freopen.c (freopen): Don't close old file descriptor
47198 before the new one is opened. Instead dup the new file descriptor
47199 to the old one after the new stream is created.
47200 * libio/freopen64.c (freopen64): Likewise.
47201 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47202 * libio/fileops.c (_IO_new_file_close_it): Handle new
47203 _IO_FLAGS2_NOCLOSE flag.
47204 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47205 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47206 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47207 _IO_FLAGS2_NOCLOSE flag.
47208 * include/unistd.h: Add hidden_proto for dup3.
47209 Define __have_dup3.
47210 * io/dup3.c: Define hidden symbol.
47211 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47214 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47215 when an incomplete long option is used.
47216 * posix/tst-getopt_long1.c: New file.
47217 * posix/Makefile (tests): Add tst-getopt_long1.
47220 * scripts/config.guess: Update from autoconf-2.68.
47221 * scripts/config.sub: Likewise.
47224 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47226 (has_cpuclock): ...this. New function.
47227 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47228 macro here based on has_cpuclock code.
47231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47232 First byte (not low byte) is now always NUL.
47233 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47236 Use non-cancelable interfaces.
47239 * locale/iso-639.def: Add entry for Sorani.
47242 * include/stdlib.h: Move include protection to the right place.
47243 Define abort_msg_s. Declare __abort_msg with it.
47244 * stdlib/abort.c (__abort_msg): Adjust type.
47245 * assert/assert.c (__assert_fail_base): New function. Majority
47246 of code from __assert_fail. Allocate memory for __abort_msg with
47248 (__assert_fail): Now call __assert_fail_base.
47249 * assert/assert-perr.c: Remove bulk of implementation. Use
47250 __assert_fail_base.
47251 * include/assert.hL Declare __assert_fail_base.
47252 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47254 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47256 2011-05-14 Ulrich Drepper <drepper@gmail.com>
47260 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47261 until all modules are registered in the DTV.
47262 * elf/Makefile: Add rules to build and run tst-tls19.
47263 * elf/tst-tls19.c: New file.
47264 * elf/tst-tls19mod1.c: New file.
47265 * elf/tst-tls19mod2.c: New file.
47266 * elf/tst-tls19mod3.c: New file.
47267 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47270 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47274 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47275 two-byte sequence errors.
47276 * iconvdata/Makefile (tests): Add bug-iconv8.
47277 * iconvdata/bug-iconv8.c: New file.
47280 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47283 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47286 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47287 (dummy_getcfa): New function.
47288 (init): Get _Unwind_GetCFA address, use dummy if not found.
47289 (backtrace_helper): In recursion check, also check whether CFA changes.
47290 (__backtrace): Completely initialize arg.
47292 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47293 storing incomplete byte sequence in state object. Avoid testing for
47294 guaranteed too small input if we know there is enough data available.
47296 2011-05-11 Andreas Schwab <schwab@redhat.com>
47298 * Makeconfig (+link-pie): Indent.
47299 * Rules (binaries-pie): Define if $(have-fpie) and
47301 (binaries-shared): Also filter out $(binaries-pie).
47302 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47303 * nscd/Makefile (others-pie): Add nscd.
47304 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47305 ($(objpfx)nscd): Remove command override.
47306 * login/Makefile (others-pie): Add pt_chown.
47307 ($(objpfx)pt_chown): Remove command override.
47308 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47309 remove command overrides.
47311 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47313 * libio/tst_putwc.c: Fix error messages.
47316 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47317 currently writing and seek to current position when not.
47318 * libio/Makefile (tests): Add bug-fclose1.
47319 * libio/bug-fclose1.c: New file.
47321 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47324 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47325 don't set DF_1_NODELETE here.
47326 (do_lookup_x): When entering new entry test for copy relocation
47327 and if necessary set DF_1_NODELETE flag.
47328 * elf/tst-unique4.cc: New file.
47329 * elf/tst-unique4.h: New file.
47330 * elf/tst-unique4lib.cc: New file.
47331 * elf/Makefile: Add rules to build and run tst-unique4.
47332 Patch by Piotr Bury <pbury@goahead.com>.
47334 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47337 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47340 * misc/mntent_r.c (addmntent): Flush the stream after the output
47343 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47344 (is_trusted_path_normalize): Skip initial colon. Append slash
47345 to empty buffer. Duplicate is_trusted_path code but allow
47346 constructed patch to be prefix.
47347 (is_dst): Allow $ORIGIN followed by /.
47348 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47349 Correct testing of result of is_trusted_path_normalize
47350 (decompose_rpath): Fix warning.
47352 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47355 * grp/initgroups.c (internal_getgrouplist): When we found the service
47356 list through the initgroups entry in nsswitch.conf do not always
47357 continue on a successful lookup. Don't always use the
47358 __nss_group_database value if it is set.
47359 * nss/nsswitch.conf (initgroups): Change action for successful db
47360 lookup to continue for compatibility.
47362 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47365 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47367 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47369 * iconvdata/tst-tables.sh: Likewise.
47370 * iconvdata/cp770.c: New file.
47371 * iconvdata/cp771.c: New file.
47372 * iconvdata/cp772.c: New file.
47373 * iconvdata/cp773.c: New file.
47374 * iconvdata/cp774.c: New file.
47375 * iconvdata/testdata/CP770: New file.
47376 * iconvdata/testdata/CP770..UTF8: New file.
47377 * iconvdata/testdata/CP771: New file.
47378 * iconvdata/testdata/CP771..UTF8: New file.
47379 * iconvdata/testdata/CP772: New file.
47380 * iconvdata/testdata/CP772..UTF8: New file.
47381 * iconvdata/testdata/CP773: New file.
47382 * iconvdata/testdata/CP773..UTF8: New file.
47383 * iconvdata/testdata/CP774: New file.
47384 * iconvdata/testdata/CP774..UTF8: New file.
47386 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47388 * iconvdata/gen-8bit-gap.sh: Likewise.
47389 * iconvdata/gen-8bit.sh: Likewise.
47391 * locale/iso-639.def: Add ary entry.
47394 * locale/C-translit.h.in: Add U20A1 transliteration.
47397 * locale/iso-639.def: Add wae entry.
47398 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47401 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47405 * locale/C-translit.h.in: Add entry for U20B9.
47406 Patch by pravin.d.s@gmail.com.
47408 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47411 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47412 ENAMETOOLONG use generic getcwd.
47413 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47414 in rtld. Use *stat64.
47415 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47416 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47417 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47418 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47419 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47420 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47421 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47422 __fstatat64 macros.
47423 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47424 * dirent/rewinddir.c: Add libc_hidden_def.
47425 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47426 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47428 * include/dirent.h (__alloc_dir): Add flags parameter.
47429 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47430 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47432 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47433 from fdopendir if O_CLOEXEC is already set.
47435 2011-03-15 Alan Modra <amodra@gmail.com>
47437 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47438 l_tls_firstbyte_offset non-zero. Save padding offset in
47439 l_tls_firstbyte_offset for later use.
47440 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47441 freeing static tls block.
47443 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47445 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47446 where #ifdef was intended. The intent is to prevent ARG_MAX from
47447 being defined by the kernel headers.
47449 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47452 * resolv/resolv.h: Define RES_NOTLDQUERY.
47453 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47454 no-tld-query and set RES_NOTLDQUERY.
47455 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47456 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47457 modern BIND to search name as TLD unless forbidden.
47459 2011-05-07 Petr Baudis <pasky@suse.cz>
47460 Ulrich Drepper <drepper@gmail.com>
47463 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47464 (is_trusted_path): ...to here.
47465 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47466 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47467 using is_trusted_path_normalize() in setuid scripts.
47469 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47471 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47472 __BEGIN/__END_DECLS.
47474 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47477 NSS_STATUS_NOTFOUND if no record was found.
47479 2011-05-05 Andreas Schwab <schwab@redhat.com>
47481 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47482 (headers-not-in-tirpc): Remove rpc/netdb.h
47483 * resolv/netdb.h: Revert last change.
47485 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47487 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47488 circular dependency between libgcc.a and libc.a.
47490 2011-05-05 Andreas Schwab <schwab@redhat.com>
47492 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47493 * nis/Makefile: Don't install rpcsvc/*.
47494 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47495 instead of <rpc/types.h>.
47496 (MAXHOSTNAMELEN): Define.
47498 2011-05-03 Andreas Schwab <schwab@redhat.com>
47500 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47502 2011-04-28 Maciej Babinski <mbabinski@google.com>
47505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47506 gethostbyname4_r when IPv6 results are possible.
47508 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47511 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47512 _PC_PIPE_BUF handling.
47514 2011-04-30 Bruno Haible <bruno@clisp.org>
47517 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47518 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47520 * inet/getnameinfo.c (getnameinfo): Likewise.
47522 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47524 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47525 to groups setting in database lookup.
47526 * nss/nsswitch.conf: Add initgroups entry.
47528 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47531 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47533 Patch by Eric Blake <eblake@redhat.com>.
47535 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47537 * sunrpc/Makefile (need-export-routines): Add svc_run.
47538 (routines): Remove svc_run.
47539 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47540 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47541 * sunrpc/svc_run.c (svc_run): Likewise.
47542 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47544 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47547 problem in reallocation in last patch.
47549 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47551 * sunrpc/Makefile: Move inclusion of Rules.
47553 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47555 * nss/nss_files/files-initgroups.c: New file.
47556 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47557 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47558 _nss_files_initgroups_dyn.
47560 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47562 * elf/elf.h (R_ARM_IRELATIVE): Define.
47564 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47566 * po/ru.po: Update from translation team.
47568 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47570 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47573 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47576 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47577 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47578 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47580 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47582 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47584 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47586 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47587 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47590 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47593 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47595 * stdlib/bug-getcontext.c: New file.
47596 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47598 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47600 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47601 instructions into .machine "z9-109".
47602 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47603 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47605 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47607 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47608 between environment variables and auxiliary vector.
47610 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47612 * Makefile: Add rules to build linkobj/libc.so.
47613 * include/libc-symbols.h: Define libc_hidden_nolink.
47614 * include/rpc/auth.h: Mark functions which are to be hidden.
47615 * include/rpc/auth_des.h: Likewise.
47616 * include/rpc/auth_unix.h: Likewise.
47617 * include/rpc/clnt.h: Likewise.
47618 * include/rpc/des_crypt.h: Likewise.
47619 * include/rpc/key_prot.h: Likewise.
47620 * include/rpc/pmap_clnt.h: Likewise.
47621 * include/rpc/pmap_prot.h: Likewise.
47622 * include/rpc/pmap_rmt.h: Likewise.
47623 * include/rpc/rpc_msg.h: Likewise.
47624 * include/rpc/svc.h: Likewise.
47625 * include/rpc/svc_auth.h: Likewise.
47626 * include/rpc/xdr.h: Likewise.
47627 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47628 * nss/Makefile: Likewise.
47629 * sunrpc/Makefile: Don't install headers. Build library with normal
47630 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47631 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47632 for the compat linking library. Remove use of INTDEF/INTUSE.
47633 * sunrpc/auth_none.c: Likewise.
47634 * sunrpc/auth_unix.c: Likewise.
47635 * sunrpc/authdes_prot.c: Likewise.
47636 * sunrpc/authuxprot.c: Likewise.
47637 * sunrpc/clnt_gen.c: Likewise.
47638 * sunrpc/clnt_perr.c: Likewise.
47639 * sunrpc/clnt_raw.c: Likewise.
47640 * sunrpc/clnt_simp.c: Likewise.
47641 * sunrpc/clnt_tcp.c: Likewise.
47642 * sunrpc/clnt_udp.c: Likewise.
47643 * sunrpc/clnt_unix.c: Likewise.
47644 * sunrpc/des_crypt.c: Likewise.
47645 * sunrpc/des_soft.c: Likewise.
47646 * sunrpc/get_myaddr.c: Likewise.
47647 * sunrpc/key_call.c: Likewise.
47648 * sunrpc/key_prot.c: Likewise.
47649 * sunrpc/netname.c: Likewise.
47650 * sunrpc/pm_getmaps.c: Likewise.
47651 * sunrpc/pm_getport.c: Likewise.
47652 * sunrpc/pmap_clnt.c: Likewise.
47653 * sunrpc/pmap_prot.c: Likewise.
47654 * sunrpc/pmap_prot2.c: Likewise.
47655 * sunrpc/pmap_rmt.c: Likewise.
47656 * sunrpc/publickey.c: Likewise.
47657 * sunrpc/rpc_cmsg.c: Likewise.
47658 * sunrpc/rpc_common.c: Likewise.
47659 * sunrpc/rpc_dtable.c: Likewise.
47660 * sunrpc/rpc_prot.c: Likewise.
47661 * sunrpc/rpc_thread.c: Likewise.
47662 * sunrpc/rtime.c: Likewise.
47663 * sunrpc/svc.c: Likewise.
47664 * sunrpc/svc_auth.c: Likewise.
47665 * sunrpc/svc_authux.c: Likewise.
47666 * sunrpc/svc_raw.c: Likewise.
47667 * sunrpc/svc_run.c: Likewise.
47668 * sunrpc/svc_simple.c: Likewise.
47669 * sunrpc/svc_tcp.c: Likewise.
47670 * sunrpc/svc_udp.c: Likewise.
47671 * sunrpc/svc_unix.c: Likewise.
47672 * sunrpc/svcauth_des.c: Likewise.
47673 * sunrpc/xcrypt.c: Likewise.
47674 * sunrpc/xdr.c: Likewise.
47675 * sunrpc/xdr_array.c: Likewise.
47676 * sunrpc/xdr_float.c: Likewise.
47677 * sunrpc/xdr_intXX_t.c: Likewise.
47678 * sunrpc/xdr_mem.c: Likewise.
47679 * sunrpc/xdr_rec.c: Likewise.
47680 * sunrpc/xdr_ref.c: Likewise.
47681 * sunrpc/xdr_sizeof.c: Likewise.
47682 * sunrpc/xdr_stdio.c: Likewise.
47684 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47687 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47688 * sysdeps/ia64/dl-tls.h: Likewise.
47689 * sysdeps/powerpc/dl-tls.h: Likewise.
47690 * sysdeps/s390/dl-tls.h: Likewise.
47691 * sysdeps/sh/dl-tls.h: Likewise.
47692 * sysdeps/sparc/dl-tls.h: Likewise.
47693 * sysdeps/x86_64/dl-tls.h: Likewise.
47694 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47696 2011-03-14 Andreas Schwab <schwab@redhat.com>
47698 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47699 rpath element also skip the following colon.
47700 (expand_dynamic_string_token): Add is_path parameter and pass
47701 down to DL_DST_REQUIRED and _dl_dst_substitute.
47702 (decompose_rpath): Call expand_dynamic_string_token with
47703 non-zero is_path. Ignore empty rpaths.
47704 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47707 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47712 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47715 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47716 Patch by Filipe David Manana <fdmanana@apache.org>.
47718 2011-04-07 Andreas Schwab <schwab@redhat.com>
47720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47721 Maintain aligned stack.
47722 (CHECK_RSP): Remove unused macro.
47724 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47726 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47727 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47729 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47731 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47733 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47735 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47738 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47739 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47740 * sysdeps/x86_64/memmove.c: New file.
47741 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47742 (memcpy): Renamed to ...
47743 (__new_memcpy): This.
47744 (memcpy): Provide GLIBC_2_14 memcpy.
47745 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47746 (memcpy): Provide GLIBC_2_2_5 memcpy.
47748 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47751 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47753 2011-03-30 Andreas Schwab <schwab@redhat.com>
47755 * misc/syncfs.c: New file.
47756 * misc/Makefile (routines): Add syncfs.
47757 * posix/unistd.h: Declare syncfs.
47758 * sysdeps/unix/syscalls.list: Add syncfs.
47760 2011-04-01 Andreas Schwab <schwab@redhat.com>
47762 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47764 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47769 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47772 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47774 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47775 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47776 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47780 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47782 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47783 sync_file_range.c with -fexceptions.
47784 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47785 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47786 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47787 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47788 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47789 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47790 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47791 sync_file_range as cancellation point
47792 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47793 now a wrapper around __call_sync_file_range with cancellation handling.
47794 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47795 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47796 function name to __call_sync_file_range.
47797 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47798 Add call_sync_file_range.
47800 2011-04-01 Andreas Schwab <schwab@redhat.com>
47802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47805 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47807 * iconv/iconv.h: Fix typo in comment.
47808 * io/fcntl.h: Likewise.
47809 * libio/stdio.h: Likewise.
47810 * posix/spawn.h: Likewise.
47811 * posix/unistd.h: Likewise.
47812 * stdlib/stdlib.h: Likewise.
47813 * time/time.h: Likewise.
47814 * wcsmbs/wchar.h: Likewise.
47816 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47817 open_by_handle): Add.
47818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47819 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47820 Augment a few comments.
47821 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47822 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47823 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47825 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47826 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47829 * io/fcntl.h (AT_EMPTY_PATH): Define.
47831 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47833 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47834 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47835 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47837 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47838 * Versions.def: Add GLIBC_2.14.
47839 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47842 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47844 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47846 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47848 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47851 * string/test-strncmp.c (do_page_test): New function.
47852 (check2): Likewise.
47853 (test_main): Call check2.
47854 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47856 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47859 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47860 Handle cache information in CPU leaf 4.
47861 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47863 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47866 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47867 character representation.
47868 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47870 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47872 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47873 END(__isnan) to END(__isnanf) to match function entry point/label
47874 EALIGN(__isnanf,...).
47876 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47878 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47880 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47883 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47884 copy from the symbol referenced in the relocation to initialize the
47886 Patch by Piotr Bury <pbury@goahead.com>.
47887 * elf/Makefile: Add rules to build and tst-unique3.
47888 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47889 * elf/tst-unique3.cc: New file.
47890 * elf/tst-unique3.h: New file.
47891 * elf/tst-unique3lib.cc: New file.
47892 * elf/tst-unique3lib2.cc: New file.
47894 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47896 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47898 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47899 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47902 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47904 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47905 to-be-loaded object along a path to loader is ld.so.
47907 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47908 Ulrich Drepper <drepper@gmail.com>
47910 * sysdeps/x86_64/memset.S: After aligning destination, code
47911 branches to different locations depending on the value of
47912 misalignment, when multiarch is enabled. Fix this.
47914 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47916 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47917 Set _x86_64_preferred_memory_instruction for AMD processsors.
47918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47919 Set bit_Prefer_SSE_for_memop for AMD processors.
47921 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47923 * libio/fmemopen.c (fmemopen): Optimize a bit.
47925 2011-03-03 Andreas Schwab <schwab@redhat.com>
47927 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47929 2011-03-03 Roland McGrath <roland@redhat.com>
47931 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47933 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47935 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47936 __bzero_ultra1 instead of __memset_ultra1.
47938 2011-02-23 Andreas Schwab <schwab@redhat.com>
47939 Ulrich Drepper <drepper@gmail.com>
47942 * include/link.h (struct link_map): Add l_orig_initfini.
47943 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47944 returning unsuccessfully.
47945 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47946 close of a file loaded at startup, restore the original l_initfini
47948 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47949 list, store the pointer.
47950 * elf/Makefile ($(objpfx)noload-mem): New rule.
47951 (noload-ENV): Define.
47952 (tests): Add $(objpfx)noload-mem.
47953 * elf/noload.c: Include <memcheck.h>.
47954 (main): Call mtrace. Close all opened handles.
47956 2011-02-17 Andreas Schwab <schwab@redhat.com>
47959 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47960 dependencies are missing.
47962 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47964 Fix __if_freereq crash: Unlike the generic version which uses free,
47966 * sysdeps/mach/hurd/ifreq.h: New file.
47968 2011-01-27 Petr Baudis <pasky@suse.cz>
47969 Ulrich Drepper <drepper@gmail.com>
47972 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47973 to extend_alloca().
47974 * stdio-common/bug23.c: New file.
47975 * stdio-common/Makefile (tests): Add bug23.
47977 2010-09-28 Andreas Schwab <schwab@redhat.com>
47978 Ulrich Drepper <drepper@gmail.com>
47981 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47982 before performing relro protection. At old place add assertion
47983 to make sure nothing changed.
47985 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47986 Glauber de Oliveira Costa <glommer@gmail.com>
47988 * elf/elf.h: Add new ARM TLS relocs.
47990 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47993 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47995 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47997 * sysdeps/wordsize-64/tst-writev.c: New file.
47999 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48001 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48002 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48003 insns in _dl_start to prevent a TOC reference before relocs are
48006 2011-02-15 Ulrich Drepper <drepper@gmail.com>
48009 * Makeconfig: Remove RANLIB definition.
48010 * Makerules: Don't use RANLIB.
48011 * aclocal.m4: Remove ranlib test.
48012 * configure.in: No need to check for ranlib.
48013 * elf/rtld-Rules: Don't use RANLIB.
48015 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48017 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48019 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48020 inclusion protection macro.
48022 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48023 SIGRTMIN and SIGRTMAX and print information in that case only when
48024 SIGRTMIN is defined.
48026 2011-02-11 Jakub Jelinek <jakub@redhat.com>
48028 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48029 arginfo fn returning -1.
48031 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48032 and thousands string is zero terminated.
48034 2011-02-03 Andreas Schwab <schwab@redhat.com>
48036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48037 sysdeps/unix/sysv/linux/bits/socket.h.
48039 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48041 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48042 (__CPU_COUNT): Remove old macros.
48043 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48044 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48045 (__CPU_ALLOC, __CPU_FREE): Add macros.
48046 (__sched_cpualloc, __sched_cpufree): Add declarations.
48048 2011-02-05 Ulrich Drepper <drepper@gmail.com>
48050 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48051 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48052 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48053 (readdhstai): Return value of addhstaiX call.
48054 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48055 (addgrbyX): Return value returned by cache_addgr.
48056 (readdgrbyname): Return value returned by addgrbyX.
48057 (readdgrbygid): Likewise.
48058 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48059 (addpwbyX): Return value returned by cache_addpw.
48060 (readdpwbyname): Return value returned by addhstbyX.
48061 (readdpwbyuid): Likewise.
48062 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48063 (addservbyX): Return value returned by cache_addserv.
48064 (readdservbyname): Return value returned by addservbyX:
48065 (readdservbyport): Likewise.
48066 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48067 (addhstbyX): Return value returned by cache_addhst.
48068 (readdhstbyname): Return value returned by addhstbyX.
48069 (readdhstbyaddr): Likewise.
48070 (readdhstbynamev6): Likewise.
48071 (readdhstbyaddrv6): Likewise.
48072 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48073 (readdinitgroups): Return value returned by addinitgroupsX.
48074 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48075 (prune_cache): Keep track of timeout value of re-added entries.
48076 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48077 * nscd/nscd.h: Adjust prototypes of readd* functions.
48079 2011-02-04 Roland McGrath <roland@redhat.com>
48081 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48082 (nis_stats): Likewise.
48083 * nis/nis_modify.c (nis_modify): Likewise.
48084 * nis/nis_remove.c (nis_remove): Likewise.
48085 * nis/nis_add.c (nis_add): Likewise.
48087 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48089 * posix/fnmatch_loop.c: Add some consts.
48091 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48093 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48096 * config.make.in (config-cflags-novzeroupper): Define.
48097 * configure.in: Substitute libc_cv_cc_novzeroupper.
48098 * elf/Makefile (AVX-CFLAGS): Define.
48099 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48100 (CFLAGS-tst-auditmod4a.c): Likewise.
48101 (CFLAGS-tst-auditmod4b.c): Likewise.
48102 (CFLAGS-tst-auditmod6b.c): Likewise.
48103 (CFLAGS-tst-auditmod6c.c): Likewise.
48104 (CFLAGS-tst-auditmod7b.c): Likewise.
48105 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48107 2011-02-02 Ulrich Drepper <drepper@gmail.com>
48109 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48110 function to the callback.
48111 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48113 2011-02-02 Andreas Schwab <schwab@redhat.com>
48115 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48118 2011-01-19 Ulrich Drepper <drepper@gmail.com>
48121 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48123 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48125 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48128 * elf/Makefile: Add rules to build and run new test.
48129 * elf/tst-initorder.c: New file.
48130 * elf/tst-initorder.exp: New file.
48131 * elf/tst-initordera1.c: New file.
48132 * elf/tst-initordera2.c: New file.
48133 * elf/tst-initordera3.c: New file.
48134 * elf/tst-initordera4.c: New file.
48135 * elf/tst-initorderb1.c: New file.
48136 * elf/tst-initorderb2.c: New file.
48137 * elf/tst-order-a1.c: New file.
48138 * elf/tst-order-a2.c: New file.
48139 * elf/tst-order-a3.c: New file.
48140 * elf/tst-order-a4.c: New file.
48141 * elf/tst-order-b1.c: New file.
48142 * elf/tst-order-b2.c: New file.
48143 * elf/tst-order-main.c: New file.
48144 New test case by George Gensure <werkt0@gmail.com>.
48146 2010-10-01 Andreas Schwab <schwab@redhat.com>
48148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48149 decoding ACE if AI_CANONIDN.
48151 2011-01-18 Ulrich Drepper <drepper@gmail.com>
48153 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48155 2011-01-17 Ulrich Drepper <drepper@gmail.com>
48157 * version.h (RELEASE): Bump for 2.13 release.
48158 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48160 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48162 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48164 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48165 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48169 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48171 * posix/getconf.c: Update copyright year.
48172 * catgets/gencat.c: Likewise.
48173 * csu/version.c: Likewise.
48174 * debug/catchsegv.sh: Likewise.
48175 * debug/xtrace.sh: Likewise.
48176 * elf/ldconfig.c: Likewise.
48177 * elf/ldd.bash.in: Likewise.
48178 * elf/sprof.c (print_version): Likewise.
48179 * iconv/iconv_prog.c: Likewise.
48180 * iconv/iconvconfig.c: Likewise.
48181 * locale/programs/locale.c: Likewise.
48182 * locale/programs/localedef.c: Likewise.
48183 * malloc/memusage.sh: Likewise.
48184 * malloc/mtrace.pl: Likewise.
48185 * nscd/nscd.c (print_version): Likewise.
48186 * nss/getent.c: Likewise.
48188 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48189 PF_CAIF, and PF_ALG.
48190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48192 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48194 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48195 (modules-names): Use them.
48196 (ifunc-test-modules, ifunc-pie-tests): Define.
48197 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48198 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48199 (test-extras): Likewise.
48200 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48201 $(compile-command.c).
48202 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48203 (all-built-dso): Define.
48204 (check-textrel.out, check-execstack.out): Depend on it.
48206 * configure.in: Don't override --enable-multi-arch.
48208 2011-01-15 Ulrich Drepper <drepper@gmail.com>
48211 * nscd/hstcache.c (tryagain): Define.
48212 (cache_addhst): Return tryagain not notfound for temporary errors.
48213 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48216 2011-01-14 Ulrich Drepper <drepper@gmail.com>
48219 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48220 to make the syscall.
48221 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48224 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48225 and fall back to matching as normal character if the string ends before
48226 the matching ']' is found. This is what POSIX requires.
48227 * posix/testfnm.c: Adjust test result.
48228 * posix/globtest.sh: Adjust test result. Add new test.
48229 * posix/tst-fnmatch.input: Likewise.
48230 * posix/tst-fnmatch2.c: Add new test.
48232 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48234 * elf/Makefile (check-execstack): Revert last change. Depend on
48236 (check-execstack.h): New target.
48237 (generated): Add check-execstack.h.
48238 * elf/check-execstack.c: Include "check-execstack.h".
48239 (main): Revert last change.
48240 (handle_file): Return zero if GNU_STACK is absent and
48241 DEFAULT_STACK_PERMS doesn't include PF_X.
48243 2011-01-13 Ulrich Drepper <drepper@gmail.com>
48245 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48246 in child fails because the descriptor is already closed.
48247 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48248 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48249 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48252 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48256 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48257 temporary buffer used to handle multi lookups locally.
48258 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48260 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48262 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48265 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48267 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48268 alignment for SSE2.
48270 2011-01-12 Ulrich Drepper <drepper@gmail.com>
48273 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48274 characters. When rounding increased number of integer digits recompute
48276 * stdio-common/tst-grouping.c: New file.
48277 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48279 2011-01-09 Ulrich Drepper <drepper@gmail.com>
48281 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48282 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48284 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48286 * bits/select.h: Likewise.
48288 2011-01-08 Ulrich Drepper <drepper@gmail.com>
48290 * po/ja.po: Update from translation team.
48292 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
48295 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48296 implementation just like for lxstat, fxstatat, et al.
48298 2010-12-27 Jim Meyering <meyering@redhat.com>
48301 * posix/regexec.c (build_trtable): Return failure indication upon
48302 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48304 2010-12-25 Ulrich Drepper <drepper@gmail.com>
48307 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48308 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48309 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48313 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48316 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48317 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48319 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48321 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48322 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48323 script has SORT_BY_INIT_PRIORITY.
48324 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48325 NO_CTORS_DTORS_SECTIONS is defined.
48326 * elf/soinit.c: Likewise.
48327 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48328 NO_CTORS_DTORS_SECTIONS is defined.
48329 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48330 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48331 * sysdeps/sh/init-first.c: Likewise.
48332 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48334 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48336 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48337 always use the slow path.
48339 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48341 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48342 similar rule which adds the sysdep directories to the header search in
48343 order to pick up the correct platform stackinfo.h.
48344 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48345 perform test if it is, otherwise return successfully without testing.
48346 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48347 DEFAULT_STACK_PERMS define in stackinfo.h.
48348 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48349 defined in stackinfo.h.
48350 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48351 DEFAULT_STACK_PERMS defined in stackinfo.h.
48352 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48353 * sysdeps/ia64/stackinfo.h: Likewise.
48354 * sysdeps/s390/stackinfo.h: Likewise.
48355 * sysdeps/sh/stackinfo.h: Likewise.
48356 * sysdeps/sparc/stackinfo.h: Likewise.
48357 * sysdeps/x86_64/stackinfo.h: Likewise.
48358 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48359 PF_X for powerpc64. Retain PF_X for powerpc32.
48361 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48363 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48365 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48366 GETDENTS_64BIT_ALIGNED.
48368 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48370 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48372 2010-12-10 Andreas Schwab <schwab@redhat.com>
48374 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48377 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48378 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48380 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48381 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48383 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48386 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48389 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48391 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48393 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48395 * po/it.po: Update from translation team.
48397 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48402 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48404 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48406 2010-11-24 Andreas Schwab <schwab@redhat.com>
48408 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48410 (gaih_getanswer_slice): Likewise.
48412 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48416 2010-05-31 Petr Baudis <pasky@suse.cz>
48419 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48420 silently even in the chroot mode.
48422 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48424 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48425 last patch a bit. Pretty printing
48427 2010-05-31 Petr Baudis <pasky@suse.cz>
48430 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48431 initialization of skip_initgroups_dyn.
48433 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48435 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48436 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48438 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48440 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48442 2010-11-11 Andreas Schwab <schwab@redhat.com>
48444 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48445 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48446 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48447 ($(objpfx)tst-fnmatch-mem): New rule.
48448 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48449 * posix/tst-fnmatch.c (main): Call mtrace.
48451 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48454 Support Intel processor model 6 and model 0x2c.
48456 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48458 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48461 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48464 * string/test-strncasecmp.c (check_result): New function.
48465 (do_one_test): Use it.
48466 (check1): New function.
48467 (test_main): Use it.
48468 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48469 Support strcasecmp and strncasecmp.
48471 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48474 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48475 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48477 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48479 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48483 * sysdeps/x86_64/multiarch/bzero.S: New file.
48484 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48485 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48486 * sysdeps/x86_64/multiarch/memset.S: New file.
48487 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48489 Set bit_Prefer_SSE_for_memop for Intel processors.
48490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48492 (index_Prefer_SSE_for_memop): Define.
48493 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48495 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48497 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48498 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48500 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48503 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48504 (__x86_64_raw_data_cache_size_half): Likewise.
48505 (__x86_64_raw_shared_cache_size): Likewise.
48506 (__x86_64_raw_shared_cache_size_half): Likewise.
48508 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48509 (__x86_64_raw_data_cache_size_half): Likewise.
48510 (__x86_64_raw_shared_cache_size): Likewise.
48511 (__x86_64_raw_shared_cache_size_half): Likewise.
48512 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48513 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48514 and __x86_64_raw_shared_cache_size_half. Round
48515 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48516 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48517 to multiple of 256 bytes.
48519 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48522 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48523 of inacessible symlinks. Verify result of symlink before returning it.
48524 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48525 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48527 2010-10-28 Erich Ritz <erichritz@gmail.com>
48529 * math/math.h (isinf): Fix typo in comment.
48531 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48533 * po/da.po: Update from translation team.
48535 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48537 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48538 is added to the list.
48540 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48541 Ulrich Drepper <drepper@gmail.com>
48543 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48544 the global list here. Move code to...
48545 (_dl_add_to_namespace_list): ...here. New function.
48546 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48547 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48548 * elf/dl-load.c (lose): Don't remove the element from the list.
48549 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48550 (_dl_map_object): Likewise.
48552 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48555 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48556 into all bytes of SSE register.
48557 Patch by Richard Li <richardpku@gmail.com>.
48559 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48562 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48565 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48567 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48568 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48569 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48570 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48575 2010-10-22 Andreas Schwab <schwab@redhat.com>
48577 * include/dlfcn.h (__RTLD_SECURE): Define.
48578 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48579 mode & __RTLD_SECURE instead.
48580 (open_path): Rename preloaded parameter to secure.
48581 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48582 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48583 * elf/dl-deps.c (openaux): Likewise.
48584 * elf/rtld.c (struct map_args): Remove is_preloaded.
48585 (map_doit): Don't use it.
48586 (dl_main): Likewise.
48587 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48588 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48590 2010-09-09 Andreas Schwab <schwab@redhat.com>
48592 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48593 (sysd-rules-targets): Remove duplicates.
48594 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48595 rtld-%.$o dependency.
48597 2010-10-18 Andreas Schwab <schwab@redhat.com>
48599 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48600 _dl_map_object do it.
48602 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48604 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48605 fast fma builtins, define the macros in the C99 standard.
48606 (FP_FAST_FMAF): Likewise.
48607 (FP_FAST_FMAL): Likewise.
48608 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48610 * bits/mathdef.h: Update copyright year.
48611 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48613 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48615 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48616 builtins, define the macros in the C99 standard.
48617 (FP_FAST_FMAF): Likewise.
48618 (FP_FAST_FMAL): Likewise.
48619 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48621 (FP_FAST_FMAF): Likewise.
48623 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48626 * math/libm-test.inc (fma_test): Some new testcases.
48627 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48628 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48629 y and infinite z. Do multiplication by C already in long double.
48630 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48632 y and infinite z. Do bitwise or of inexact bit into u.d.
48633 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48634 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48635 * sysdeps/i386/fpu/s_fma.S: Removed.
48636 * sysdeps/i386/fpu/s_fmal.S: Removed.
48638 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48641 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48642 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48643 computation is not scheduled after fetestexcept. Fix value
48644 of minimum denormal long double.
48646 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48649 * math/libm-test.inc (fma_test): Add some more tests.
48650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48653 2010-10-15 Andreas Schwab <schwab@redhat.com>
48655 * scripts/data/localplt-s390-linux-gnu.data: New file.
48656 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48658 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48661 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48662 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48664 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48666 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48668 if one of x and y is very large and the other is subnormal.
48669 * sysdeps/s390/fpu/s_fmaf.c: New file.
48670 * sysdeps/s390/fpu/s_fma.c: New file.
48671 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48672 * sysdeps/powerpc/fpu/s_fma.S: New file.
48673 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48674 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48675 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48677 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48680 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48682 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48683 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48684 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48685 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48686 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48687 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48688 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48690 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48693 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48694 * posix/bug-regex31.input: Add test case.
48696 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48698 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48699 * posix/bug-regex31.input: New file.
48702 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48703 (parse_sub_exp): Fix last change, use postorder.
48705 * posix/bug-regex31.c: New file.
48706 * posix/Makefile: Add rules to build and run bug-regex31.
48708 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48711 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48714 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48715 to have entries in sys_siglist.
48718 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48721 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48724 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48725 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48726 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48727 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48728 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48729 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48730 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48731 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48732 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48733 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48734 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48735 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48736 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48737 * math/ftestexcept.c (fetestexcept): Likewise.
48738 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48739 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48740 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48741 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48742 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48743 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48744 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48746 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48749 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48752 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48754 * string/bug-strstr1.c: New file.
48755 * string/Makefile: Add rules to build and run bug-strstr1.
48757 2010-10-05 Eric Blake <eblake@redhat.com>
48760 * string/str-two-way.h (two_way_long_needle): Always clear memory
48761 when skipping input due to the shift table.
48763 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48766 * malloc/mcheck.c: Handle large requests.
48769 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48770 for strncmp and strncasecmp.
48771 * string/stratcliff.c: Add tests for strcmp and strncmp.
48772 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48774 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48776 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48779 2010-09-30 Andreas Jaeger <aj@suse.de>
48781 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48782 (CGROUP_SUPER_MAGIC): Define.
48783 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48784 Handle btrfs and cgroup file systems.
48785 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48788 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48790 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48791 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48793 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48796 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48797 trying to locate the ELF header.
48799 2010-09-27 Andreas Schwab <schwab@redhat.com>
48802 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48803 Mask out sign-bit copies when constructing f_fsid.
48805 2010-09-24 Petr Baudis <pasky@suse.cz>
48807 * debug/stack_chk_fail_local.c: Add missing licence exception.
48808 * debug/warning-nop.c: Likewise.
48810 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48813 implementing getdents64 using getdents syscall, set d_type if
48814 __ASSUME_GETDENTS32_D_TYPE.
48816 2010-09-16 Andreas Schwab <schwab@redhat.com>
48818 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48819 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48821 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48824 * posix/unistd.h: Undo change of feature selection for ftruncate from
48827 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48829 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48832 2010-09-20 Andreas Schwab <schwab@redhat.com>
48834 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48836 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48838 2010-09-14 Andreas Schwab <schwab@redhat.com>
48840 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48841 variables after CHECK_SP call.
48842 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48844 2010-09-13 Andreas Schwab <schwab@redhat.com>
48845 Ulrich Drepper <drepper@redhat.com>
48847 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48848 re-relocationg ld.so.
48849 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48850 _dl_init_paths call.
48851 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48854 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48856 * resolv/res_init.c (__res_vinit): Count the default server we added.
48858 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48859 Ulrich Drepper <drepper@redhat.com>
48862 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48863 (____longjmp_chk): Use %ebx for saving value across system call.
48866 2010-09-06 Andreas Schwab <schwab@redhat.com>
48868 * manual/Makefile: Don't mix pattern rules with normal rules.
48870 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48872 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48874 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48875 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48876 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48877 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48878 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48881 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48884 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48885 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48887 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48889 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48890 * sysdeps/x86_64/addmul_1.S: Likewise.
48891 * sysdeps/x86_64/lshift.S: Likewise.
48892 * sysdeps/x86_64/mul_1.S: Likewise.
48893 * sysdeps/x86_64/rshift.S: Likewise.
48894 * sysdeps/x86_64/sub_n.S: Likewise.
48895 * sysdeps/x86_64/submul_1.S: Likewise.
48897 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48899 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48900 Define __sched_param instead of SCHED_* and sched_param when
48901 <bits/sched.h> is included with __need_schedparam defined.
48902 * bits/sched.h [__need_schedparam]
48903 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48904 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48905 (__defined_schedparam): Define to 1.
48906 (__sched_param): New structure, identical to sched_param.
48907 (__need_schedparam): Undefine.
48909 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48911 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48912 (epoll_create1): Declare.
48914 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48916 2010-08-31 Andreas Schwab <schwab@redhat.com>
48919 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48920 shifting retval into place.
48922 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48924 * nis/rpcsvc/nis.h: Update copyright notice.
48925 * nis/rpcsvc/nis.x: Likewise.
48926 * nis/rpcsvc/nis_callback.h: Likewise.
48927 * nis/rpcsvc/nis_callback.x: Likewise.
48928 * nis/rpcsvc/nis_object.x: Likewise.
48929 * nis/rpcsvc/nis_tags.h: Likewise.
48930 * nis/rpcsvc/yp.h: Likewise.
48931 * nis/rpcsvc/yp.x: Likewise.
48932 * nis/rpcsvc/ypupd.h: Likewise.
48933 * nis/yp_xdr.c: Likewise.
48934 * nis/ypupdate_xdr.c: Likewise.
48936 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48937 mainly the body of pmap_getport. Add parameters to specify timeouts.
48938 (pmap_getport): Use __libc_rpc_getport.
48939 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48940 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48941 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48943 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48948 2010-08-27 Roland McGrath <roland@redhat.com>
48950 * sysdeps/i386/i686/multiarch/Makefile
48951 (CFLAGS-varshift.c): New variable.
48953 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48955 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48956 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48958 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48960 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48962 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48964 * sysdeps/x86_64/strlen.S: Unroll the loop.
48965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48966 strlen-sse2 strlen-sse2-bsf.
48967 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48968 __strlen_no_bsf if bit_Slow_BSF is set.
48969 (__strlen_sse42): Removed.
48970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48971 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48973 2010-08-25 Roland McGrath <roland@redhat.com>
48975 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48976 * sysdeps/x86_64/multiarch/varshift.c: New file.
48977 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48978 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48979 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48980 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48982 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48985 strlen-sse2 strlen-sse2-bsf.
48986 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48987 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48988 (__strlen_sse2): Removed.
48989 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48990 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48992 bit_Slow_BSF for Atom.
48993 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48994 (index_Slow_BSF): Define.
48995 (HAS_SLOW_BSF): Define.
48997 2010-08-25 Ulrich Drepper <drepper@redhat.com>
49000 * resolv/res_init.c (__res_vinit): When no server address at all
49001 is given default to loopback.
49003 2010-08-24 Roland McGrath <roland@redhat.com>
49005 * configure.in: Remove config-name.h generation.
49006 * configure: Regenerated.
49007 * config-name.in: File removed.
49008 * scripts/config-uname.sh: New file.
49009 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49010 ($(objdir)config-name.h): New target.
49012 * sunrpc/rpc_parse.h: Avoid nested comment.
49014 2010-08-24 Richard Henderson <rth@redhat.com>
49015 Ulrich Drepper <drepper@redhat.com>
49016 H.J. Lu <hongjiu.lu@intel.com>
49018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49020 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49021 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49022 _mm_alignr_epi8 with _mm_loadu_si128.
49023 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49024 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49025 (__m128i_shift_right): Removed.
49026 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49027 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49028 * sysdeps/x86_64/multiarch/varshift.h: New file.
49029 * sysdeps/x86_64/multiarch/varshift.S: New file.
49031 2010-08-21 Mike Frysinger <vapier@gentoo.org>
49033 * configure.in: Move assembler checks to before sysdep dir checking.
49035 2010-08-20 Petr Baudis <pasky@suse.cz>
49037 * LICENSES: Sync the sunrpc license.
49039 2010-08-19 Ulrich Drepper <drepper@redhat.com>
49041 * sunrpc/auth_des.c: Update copyright notice once again.
49042 * sunrpc/auth_none.c: Likewise.
49043 * sunrpc/auth_unix.c: Likewise.
49044 * sunrpc/authdes_prot.c: Likewise.
49045 * sunrpc/authuxprot.c: Likewise.
49046 * sunrpc/bindrsvprt.c: Likewise.
49047 * sunrpc/clnt_gen.c: Likewise.
49048 * sunrpc/clnt_perr.c: Likewise.
49049 * sunrpc/clnt_raw.c: Likewise.
49050 * sunrpc/clnt_simp.c: Likewise.
49051 * sunrpc/clnt_tcp.c: Likewise.
49052 * sunrpc/clnt_udp.c: Likewise.
49053 * sunrpc/clnt_unix.c: Likewise.
49054 * sunrpc/des_crypt.c: Likewise.
49055 * sunrpc/des_soft.c: Likewise.
49056 * sunrpc/get_myaddr.c: Likewise.
49057 * sunrpc/getrpcport.c: Likewise.
49058 * sunrpc/key_call.c: Likewise.
49059 * sunrpc/key_prot.c: Likewise.
49060 * sunrpc/openchild.c: Likewise.
49061 * sunrpc/pm_getmaps.c: Likewise.
49062 * sunrpc/pm_getport.c: Likewise.
49063 * sunrpc/pmap_clnt.c: Likewise.
49064 * sunrpc/pmap_prot.c: Likewise.
49065 * sunrpc/pmap_prot2.c: Likewise.
49066 * sunrpc/pmap_rmt.c: Likewise.
49067 * sunrpc/rpc/auth.h: Likewise.
49068 * sunrpc/rpc/auth_unix.h: Likewise.
49069 * sunrpc/rpc/clnt.h: Likewise.
49070 * sunrpc/rpc/des_crypt.h: Likewise.
49071 * sunrpc/rpc/key_prot.h: Likewise.
49072 * sunrpc/rpc/netdb.h: Likewise.
49073 * sunrpc/rpc/pmap_clnt.h: Likewise.
49074 * sunrpc/rpc/pmap_prot.h: Likewise.
49075 * sunrpc/rpc/pmap_rmt.h: Likewise.
49076 * sunrpc/rpc/rpc.h: Likewise.
49077 * sunrpc/rpc/rpc_des.h: Likewise.
49078 * sunrpc/rpc/rpc_msg.h: Likewise.
49079 * sunrpc/rpc/svc.h: Likewise.
49080 * sunrpc/rpc/svc_auth.h: Likewise.
49081 * sunrpc/rpc/types.h: Likewise.
49082 * sunrpc/rpc/xdr.h: Likewise.
49083 * sunrpc/rpc_clntout.c: Likewise.
49084 * sunrpc/rpc_cmsg.c: Likewise.
49085 * sunrpc/rpc_common.c: Likewise.
49086 * sunrpc/rpc_cout.c: Likewise.
49087 * sunrpc/rpc_dtable.c: Likewise.
49088 * sunrpc/rpc_hout.c: Likewise.
49089 * sunrpc/rpc_main.c: Likewise.
49090 * sunrpc/rpc_parse.c: Likewise.
49091 * sunrpc/rpc_parse.h: Likewise.
49092 * sunrpc/rpc_prot.c: Likewise.
49093 * sunrpc/rpc_sample.c: Likewise.
49094 * sunrpc/rpc_scan.c: Likewise.
49095 * sunrpc/rpc_scan.h: Likewise.
49096 * sunrpc/rpc_svcout.c: Likewise.
49097 * sunrpc/rpc_tblout.c: Likewise.
49098 * sunrpc/rpc_util.c: Likewise.
49099 * sunrpc/rpc_util.h: Likewise.
49100 * sunrpc/rpcinfo.c: Likewise.
49101 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49102 * sunrpc/rpcsvc/key_prot.x: Likewise.
49103 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49104 * sunrpc/rpcsvc/mount.x: Likewise.
49105 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49106 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49107 * sunrpc/rpcsvc/rex.x: Likewise.
49108 * sunrpc/rpcsvc/rstat.x: Likewise.
49109 * sunrpc/rpcsvc/rusers.x: Likewise.
49110 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49111 * sunrpc/rpcsvc/spray.x: Likewise.
49112 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49113 * sunrpc/rtime.c: Likewise.
49114 * sunrpc/svc.c: Likewise.
49115 * sunrpc/svc_auth.c: Likewise.
49116 * sunrpc/svc_authux.c: Likewise.
49117 * sunrpc/svc_raw.c: Likewise.
49118 * sunrpc/svc_run.c: Likewise.
49119 * sunrpc/svc_simple.c: Likewise.
49120 * sunrpc/svc_tcp.c: Likewise.
49121 * sunrpc/svc_udp.c: Likewise.
49122 * sunrpc/svc_unix.c: Likewise.
49123 * sunrpc/svcauth_des.c: Likewise.
49124 * sunrpc/xcrypt.c: Likewise.
49125 * sunrpc/xdr.c: Likewise.
49126 * sunrpc/xdr_array.c: Likewise.
49127 * sunrpc/xdr_float.c: Likewise.
49128 * sunrpc/xdr_mem.c: Likewise.
49129 * sunrpc/xdr_rec.c: Likewise.
49130 * sunrpc/xdr_ref.c: Likewise.
49131 * sunrpc/xdr_sizeof.c: Likewise.
49132 * sunrpc/xdr_stdio.c: Likewise.
49134 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49137 2010-08-19 Andreas Schwab <schwab@redhat.com>
49139 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49141 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
49143 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49144 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49145 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49146 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49147 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49148 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49149 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49150 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49151 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49152 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49153 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49154 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49155 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49156 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49158 2010-07-26 Anton Blanchard <anton@samba.org>
49160 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49161 * malloc/arena.c (heap_trim): Likewise.
49163 2010-08-16 Ulrich Drepper <drepper@redhat.com>
49165 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49168 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49170 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49172 * sysdeps/i386/elf/Makefile: New file.
49174 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49176 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49177 from fanotify_init.
49178 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49179 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49181 2010-08-15 Ulrich Drepper <drepper@redhat.com>
49183 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49185 * sysdeps/multiarch/strcmp.S: Likewise.
49187 2010-08-14 Ulrich Drepper <drepper@redhat.com>
49189 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49190 strncase_l-nonascii.
49191 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49192 Add strncase_l-ssse3.
49193 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49194 * sysdeps/x86_64/strcmp.S: Likewise.
49195 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49196 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49197 * sysdeps/x86_64/strncase.S: New file.
49198 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49199 * sysdeps/x86_64/strncase_l.S: New file.
49200 * string/Makefile (strop-tests): Add strncasecmp.
49201 * string/test-strncasecmp.c: New file.
49203 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49206 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49207 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49209 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49211 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49213 2010-08-12 Ulrich Drepper <drepper@redhat.com>
49215 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49216 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49217 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49219 2010-05-01 Alan Modra <amodra@gmail.com>
49221 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49222 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49223 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49224 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49225 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49226 tidying. Don't tail-call __sigjmp_save for static lib.
49227 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49229 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49230 (CALL_MCOUNT): Add eh info, and nop after bl.
49231 (TAIL_CALL_SYSCALL_ERROR): New macro.
49232 (PSEUDO_RET): Use it.
49233 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49234 Correct save location of integer regs and cr.
49235 (_dl_profile_resolve): Correct cr save location. Delete nops
49236 after bl when SHARED. Reduce cfi size a little by better
49237 placement of cfi directives.
49238 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49239 make a stack frame. Instead use parm save area as a temp.
49240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49241 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49243 Don't make a stack frame for parent, use parm save area.
49244 Increase child stack frame to 112 bytes. Don't save unused reg,
49245 and adjust reg usage. Set up cfi on error recovery and
49246 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49248 (__makecontext): Add dummy nop after jump to exit.
49249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49250 Use correct parm save area and cr save, reduce stack frame.
49251 Correct cfi for possible PSEUDO_RET frame setup.
49252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49253 Branch to local label emitted by PSEUDO_RET rather than
49256 2010-08-12 Andreas Schwab <schwab@redhat.com>
49259 * locale/programs/locale.c (print_assignment): New function.
49260 (show_locale_vars): Use it.
49262 2010-08-11 Ulrich Drepper <drepper@redhat.com>
49264 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49266 (struct statfs64): Likewise.
49267 (_STATFS_F_FLAGS): Define.
49268 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49270 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49271 (ST_VALID): Define locally.
49272 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49273 __statvfs_getflags, use the provided value.
49274 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49275 __ASSUME_STATFS_F_FLAGS.
49277 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49279 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49280 Add sys/fanotify.h.
49281 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49282 fanotify_mask for GLIBC_2.13.
49283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49284 fanotify_init and fanotify_mark.
49285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49286 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49288 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49290 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49291 prlimit64 for GLIBC_2.13.
49292 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49297 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49298 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49299 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49300 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49302 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49305 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49306 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49308 * nss/Makefile: Add rules to build and run tst-nss-test1.
49309 * shlib-versions: Add entry for libnss_test1.
49310 * nss/nss_test1.c: New file.
49311 * nss/tst-nss-test1.c: New file.
49313 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49314 (__nss_configure_lookup): Set appropriate entry in
49315 __nss_configure_lookup to true.
49316 * nss/nsswitch.h: Define enum with indeces of databases in
49317 databases and __nss_database_custom arrays. Declare
49318 __nss_database_custom.
49319 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49320 to avoid using nscd when custom rules are installed.
49321 * nss/getXXbyYY_r.c: Likewise.
49322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49324 * nss/nss_files/files-parse.c: Whitespace fixes.
49326 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49329 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49330 * posix/fnmatch_loop.c: Likewise.
49332 2010-07-17 Andi Kleen <ak@linux.intel.com>
49334 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49335 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49336 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49337 * Versions.def [GLIBC_2.13]: Add.
49339 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49341 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49342 Also fail if tpwd after pwuid call is NULL.
49344 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49346 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49347 when converting to ms.
49349 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49351 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49352 EOPNOTSUPP errors with ENOTTY.
49353 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49354 EOPNOTSUPP errors with ENOTTY.
49356 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49358 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49359 Add strcasecmp_l-ssse3.
49360 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49362 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49363 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49364 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49366 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49368 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49370 * string/Makefile (strop-tests): Add strcasecmp.
49371 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49372 strcasecmp_l-nonascii.
49373 (gen-as-const-headers): Add locale-defines.sym.
49374 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49375 * sysdeps/x86_64/strcasecmp.S: New file.
49376 * sysdeps/x86_64/strcasecmp_l.S: New file.
49377 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49378 * sysdeps/x86_64/locale-defines.sym: New file.
49379 * string/test-strcasecmp.c: New file.
49381 * string/test-strcasestr.c: Test both ends of the range of characters.
49382 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49384 2010-07-29 Roland McGrath <roland@redhat.com>
49387 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49389 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49391 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49394 2010-07-27 Andreas Schwab <schwab@redhat.com>
49396 * manual/memory.texi (Malloc Tunable Parameters): Document
49399 2010-07-26 Roland McGrath <roland@redhat.com>
49402 * configure.in (-fgnu89-inline check): Set and substitute
49403 gnu89_inline, not libc_cv_gnu89_inline.
49404 * configure: Regenerated.
49405 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49407 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49409 * string/test-strnlen.c: New file.
49410 * string/Makefile (strop-tests): Add strnlen.
49411 * string/tester.c (test_strnlen): Add a few more test cases.
49412 * string/tst-strlen.c: Better error reporting.
49414 * sysdeps/x86_64/strnlen.S: New file.
49416 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49418 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49419 lower-latency instructions.
49421 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49423 * string/test-strcasestr.c: New file.
49424 * string/test-strstr.c: New file.
49425 * string/Makefile (strop-tests): Add strstr and strcasestr.
49426 * string/str-two-way.h: Don't undefine MAX.
49427 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49429 2010-07-21 Andreas Schwab <schwab@redhat.com>
49431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49432 strcasestr-nonascii.
49433 (CFLAGS-strcasestr-nonascii.c): Define.
49434 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49435 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49436 Remove unused attribute.
49438 2010-07-20 Roland McGrath <roland@redhat.com>
49440 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49441 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49442 ld.so.cache was broken. With it, there is no way to disable dsocaps
49443 like LD_HWCAP_MASK can disable hwcaps.
49445 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49447 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49449 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49451 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49452 call in strcasestr.
49453 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49454 __strcasestr_sse42_nonascii.
49455 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49456 strcasestr-nonascii.c.
49457 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49459 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49462 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49464 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49466 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49468 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49471 2010-07-06 Andreas Schwab <schwab@redhat.com>
49474 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49477 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49479 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49480 _PC_PIPE_BUF using F_GETPIPE_SZ.
49482 2010-07-05 Roland McGrath <roland@redhat.com>
49484 * manual/arith.texi (Rounding Functions): Fix rint description
49485 implicit in round description.
49487 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49489 * elf/Makefile: Fix linking for a few tests to make recent linker
49492 2010-06-30 Andreas Schwab <schwab@redhat.com>
49494 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49495 $(common-objpfx)libc_nonshared.a.
49497 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49499 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49500 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49501 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49502 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49503 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49504 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49505 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49506 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49521 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49522 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49523 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49524 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49525 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49526 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49527 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49528 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49529 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49530 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49531 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49532 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49548 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49550 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49551 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49552 * string/memmove.c (memmove): Renamed to ...
49553 (MEMMOVE): ...this. Default to memmove.
49554 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49555 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49558 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49559 mempcpy-ssse3-back memmove-ssse3-back.
49560 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49561 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49563 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49564 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49565 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49566 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49567 * sysdeps/x86_64/multiarch/memmove.c: New file.
49568 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49569 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49570 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49571 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49572 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49573 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49575 (index_Fast_Copy_Backward): Define.
49576 (HAS_ARCH_FEATURE): Define.
49577 (HAS_FAST_REP_STRING): Define.
49578 (HAS_FAST_COPY_BACKWARD): Define.
49580 2010-06-21 Andreas Schwab <schwab@redhat.com>
49582 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49583 Restore proper fallback handling.
49585 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49588 * posix/group_member.c (__group_member): Correct checking loop.
49590 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49591 OOM in getpwuid_r correctly. Return error number when the caller
49592 should return, otherwise -1.
49593 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49594 call returning > 0 value.
49595 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49597 2010-06-07 Andreas Schwab <schwab@redhat.com>
49599 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49600 libc_nonshared.a from targets in modules-names.
49602 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49604 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49607 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49609 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49610 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49611 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49614 2010-06-02 Andreas Schwab <schwab@redhat.com>
49616 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49618 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49620 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49629 2010-06-14 Roland McGrath <roland@redhat.com>
49631 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49633 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49635 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49636 __REDIRECT followed by __THROW.
49637 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49638 * posix/getopt.h (getopt): Likewise.
49640 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49642 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49643 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49644 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49646 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49647 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49649 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49651 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49653 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49657 Properly check family and model.
49659 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49661 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49663 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49665 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49667 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49669 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49672 2010-05-19 Andreas Schwab <schwab@redhat.com>
49674 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49677 2010-05-21 Andreas Schwab <schwab@redhat.com>
49679 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49680 and internal_recvmmsg.
49681 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49682 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49683 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49684 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49686 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49687 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49688 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49690 2010-05-20 Andreas Schwab <schwab@redhat.com>
49692 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49694 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49696 POWER7 optimizations.
49697 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49698 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49700 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49702 * version.h: Update for 2.13 development version.
49704 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49706 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49707 exceptions. Return 0.
49709 2010-05-07 Roland McGrath <roland@redhat.com>
49711 * elf/ldconfig.c (main): Add a const.
49713 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49715 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49716 (args_options): Add no-idn option.
49717 (ahosts_keys_int): Add idn_flags to ai_flags.
49718 (parse_option): Handle 'i' option to clear idn_flags.
49720 * malloc/malloc.c (_int_free): Possible race in the most recently
49721 added check. Only act on the data if no current modification
49724 See ChangeLog.17 for earlier changes.