1 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3 * nptl/tst-mutex5 (do_test):
4 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * benchtests/README: Document 'init' directive.
9 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12 (parse_file): Recognize 'init' directive.
14 2014-05-26 Kyle McMartin <kyle@redhat.com>
17 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
18 alignment of struct pthread.
20 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23 * nscd/netgroupcache.c (addgetnetgrentX): Look for
24 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28 2014-05-25 Richard Henderson <rth@twiddle.net>
30 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31 (SINGLE_THREAD_P_PIC): Remove.
32 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33 (SINGLE_THREAD_P_PIC): Remove.
35 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36 branch to syscall error ...
38 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
39 from __local_syscall_error to .Lsyscall_error.
40 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41 (SYSCALL_ERROR): Update label name.
43 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44 Do not use DOARGS/UNDOARGS.
45 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
46 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
47 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
49 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
54 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
55 define if !NOT_IN_libc.
56 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
57 define with non-default symbol versions.
59 2014-05-23 Richard Henderson <rth@twiddle.net>
61 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
62 (vfork, __vfork): Define via compat_symbol.
64 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
65 [!HAVE_IFUNC] (vfork_compat): Remove.
66 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
68 2014-05-23 Joseph Myers <joseph@codesourcery.com>
71 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
72 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
75 2014-05-23 Richard Henderson <rth@twiddle.net>
77 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
78 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
79 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
80 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
82 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
83 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
84 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
85 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
86 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
87 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
88 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
89 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
90 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
91 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
92 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
93 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
94 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
95 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
96 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
97 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
98 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
99 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
100 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
101 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
102 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
103 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
104 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
105 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
106 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
107 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
108 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
109 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
110 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
111 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
112 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
113 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
114 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
115 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
116 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
117 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
118 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
119 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
120 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
121 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
122 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
123 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
124 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
125 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
126 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
127 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
128 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
129 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
130 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
131 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
132 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
133 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
134 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
135 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
136 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
137 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
139 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
140 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
141 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
142 before exiting on error.
143 (__libc_vfork): New strong alias.
144 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
145 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
147 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
148 that was previously under [RESET_PID].
149 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
151 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
153 2014-05-23 Joseph Myers <joseph@codesourcery.com>
156 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
157 value when x - 1 is zero.
158 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
159 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
160 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
161 0.0L for an argument of 1.0L.
162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
164 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
165 value when x - 1 is zero.
166 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
167 * sysdeps/i386/fpu/libm-test-ulps: Update.
168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
170 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
172 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
173 alphasort and versionsort.
175 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
179 [copysignf]: Likewise.
181 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
183 * crypt/md5-crypt.c: Fix formatting.
185 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
187 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
188 (b64_from_24bit): New function.
190 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
193 libc_hidden_builtin_def to ifunc.
194 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
195 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
197 2014-05-21 Roland McGrath <roland@hack.frob.com>
199 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
200 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
202 2014-05-21 Joseph Myers <joseph@codesourcery.com>
204 * nscd/Depend (linuxthreads): Remove.
206 * resolv/Depend (linuxthreads): Remove.
207 * rt/Depend (linuxthreads): Remove.
209 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
210 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
211 $(common-objpfx)elf/.
212 (link-libc-before-gnulib): Likewise.
213 (elfobjdir): Remove variable.
214 * Makefile (install): Use $(elf-objpfx) instead of
215 $(common-objpfx)elf/.
216 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
218 (link-libc-deps): Likewise.
219 ($(common-objpfx)libc.so): Likewise.
220 ($(common-objpfx)linkobj/libc.so): Likewise.
221 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
222 instead of $(common-objpfx)elf/.
223 (symbolic-link-list): Likewise.
224 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
225 [$(cross-compiling) = no]: Likewise.
226 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
228 (static-gnulib-arch): Likewise.
229 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
230 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
231 $(common-objpfx)elf/.
233 2014-05-21 Richard Henderson <rth@redhat.com>
235 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
236 (SINGLE_THREAD_P): Use the correct width load. Fold
239 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
240 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
242 2014-05-20 Joseph Myers <joseph@codesourcery.com>
244 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
245 (libgcc_s_resume): Use __attribute_used__.
246 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
249 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
251 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
252 optimization when used with float constants.
254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
256 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
259 * locale/nl_langinfo_l.c: Make direct reference to every
260 _nl_current_CATEGORY symbol.
261 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
262 (tests-static): Add tst-langinfo-static.
263 (tests-special): Add tst-langinfo-static.out.
264 ($(objpfx)tst-langinfo.out): Redirect output.
265 ($(objpfx)tst-langinfo-static.out): New.
266 * localedata/tst-langinfo.sh: Send output to stdout.
267 * localedata/tst-langinfo-static.c: New file.
270 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
271 when the shift amount is modulo the limb size.
273 2014-05-20 Richard Henderson <rth@redhat.com>
276 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
277 Change type of sa_flags from unsigned int to int.
280 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
282 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
284 2014-05-20 Will Newton <will.newton@linaro.org>
286 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
287 Test the return value of the system call in the nocancel case.
289 2014-05-20 Will Newton <will.newton@linaro.org>
290 Yvan Roux <yvan.roux@linaro.org>
292 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
293 #include of asm/ptrace.h.
294 (PTRACE_GET_THREAD_AREA): Remove #undef.
295 (PTRACE_GETHBPREGS): Likewise.
296 (PTRACE_SETHBPREGS): Likewise.
297 (struct user_regs_struct): New structure.
298 (struct user_fpsimd_struct): New structure.
299 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
300 #include of asm/ptrace.h and second #include of sys/user.h.
301 (PTRACE_GET_THREAD_AREA): Remove #undef.
302 (PTRACE_GETHBPREGS): Likewise.
303 (PTRACE_SETHBPREGS): Likewise.
304 (ELF_NGREG): Use new struct user_regs_struct.
305 (elf_fpregset_t): Use new struct user_fpsimd_struct.
307 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
310 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
312 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
316 membar to avoid block loads/stores to overlap previous stores.
318 2014-05-17 Richard Henderson <rth@redhat.com>
320 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
321 Create the __##syscall_name##_nocancel entry point.
322 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
323 Remove; let the sysdep-cancel.h code create it.
325 2014-05-17 David S. Miller <davem@davemloft.net>
327 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
328 Protect with __USE_GNU.
329 (TIOCSET_TEMPT): Likewise.
330 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
331 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
332 these are already provided in bits/ioctl-types.h
334 2014-05-16 Roland McGrath <roland@hack.frob.com>
336 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
337 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
339 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
340 Use wait4 regardless of [__NR_waitpid].
342 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
345 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
346 (_FP_NANSIGN_Q): Set the quiet bit.
348 2014-05-16 Joseph Myers <joseph@codesourcery.com>
350 * benchtests/Makefile
351 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
352 not $(common-objpfx)math/libm.so.
353 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
354 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
355 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
356 $(common-objpfx)dlfcn/libdl.so.
357 ($(objpfx)tst-audit8): Depend on $(libm), not
358 $(common-objpfx)math/libm.so.
359 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
360 not $(common-objpfx)dlfcn/libdl.so.
362 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
363 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
364 [$(build-shared) = yes].
365 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
366 $(common-objpfx)nptl/libpthread.so.
367 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
368 $(common-objpfx)math/libm.so$(libm.so-version) or
369 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
370 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
371 $(common-objpfx)dlfcn/libdl.so.
372 * setjmp/Makefile (link-libm): Remove variable.
373 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
374 * stdio-common/Makefile (link-libm): Remove variable.
375 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
376 * stdlib/Makefile (link-libm): Remove variable.
377 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
378 ($(objpfx)tst-strtod-round): Likewise.
379 ($(objpfx)tst-tininess): Likewise.
380 ($(objpfx)tst-strtod-underflow): Likewise.
381 ($(objpfx)tst-strtod6): Likewise.
382 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
383 $(libdl), not $(common-objpfx)nptl/libpthread.so and
384 $(common-objpfx)dlfcn/libdl.so.
386 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
389 BSD terminal modes definitions.
391 2014-05-16 Roland McGrath <roland@hack.frob.com>
393 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
394 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
396 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
397 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
398 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
399 Don't do #include_next.
400 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
401 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
402 Don't do #include_next.
403 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
404 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
405 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
406 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
408 2014-05-16 Allan McRae <allan@archlinux.org>
410 * po/sv.po: Update Swedish translation from translation project.
412 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
415 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
418 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
419 errno if the TIOCGPTN ioctl fails with an error different than
421 * login/tst-ptsname.c: New file.
422 * login/Makefile (tests): Add tst-ptsname.
425 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
428 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
432 herrno to return EAI_AGAIN.
434 2014-05-14 Roland McGrath <roland@hack.frob.com>
436 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
437 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
438 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
439 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
440 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
442 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
443 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
445 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
446 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
448 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
450 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
451 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
452 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
454 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
456 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
457 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
458 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
459 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
460 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
461 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
462 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
464 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
465 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
467 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
469 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
472 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
482 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
484 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
486 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
490 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
492 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
494 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
496 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
498 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
501 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
503 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
505 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
507 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
509 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
511 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
513 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
515 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
517 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
519 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
522 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
526 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
527 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
528 (libpthread-sysdep_routines): Add elision-related stuff here instead.
529 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
530 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
531 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
532 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
533 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
534 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
535 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
536 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
537 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
538 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
539 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
540 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
541 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
542 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
543 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
544 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
545 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
546 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
547 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
548 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
549 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
550 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
551 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
552 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
553 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
554 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
555 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
556 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
558 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
559 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
561 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
562 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
563 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
564 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
565 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
566 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
568 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
569 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
571 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
572 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
574 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
575 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
577 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
578 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
579 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
580 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
582 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
583 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
584 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
585 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
586 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
587 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
588 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
589 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
591 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
594 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
596 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
597 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
598 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
599 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
602 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
604 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
606 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
607 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
608 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
609 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
610 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
611 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
613 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
614 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
616 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
617 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
619 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
620 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
622 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
623 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
624 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
625 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
627 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
628 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
629 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
630 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
631 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
632 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
633 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
634 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
636 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
639 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
641 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
642 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
643 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
644 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
649 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
651 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
652 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
653 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
654 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
655 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
656 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
657 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
658 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
659 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
660 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
662 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
663 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
665 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
666 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
668 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
669 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
671 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
672 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
673 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
674 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
675 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
676 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
678 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
679 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
680 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
681 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
682 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
683 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
684 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
685 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
687 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
688 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
690 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
692 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
693 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
694 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
695 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
696 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
698 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
700 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
702 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
703 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
704 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
705 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
706 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
707 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
708 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
709 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
710 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
711 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
712 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
714 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
715 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
717 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
718 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
720 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
721 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
722 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
723 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
724 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
725 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
726 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
727 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
728 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
729 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
730 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
731 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
732 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
733 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
734 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
735 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
736 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
737 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
739 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
740 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
741 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
742 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
744 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
745 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
746 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
748 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
750 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
751 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
753 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
754 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
756 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
758 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
759 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
760 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
761 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
762 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
763 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
764 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
765 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
766 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
767 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
768 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
769 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
770 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
771 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
772 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
774 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
775 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
776 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
777 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
778 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
780 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
781 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
782 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
783 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
784 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
785 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
786 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
787 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
788 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
789 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
791 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
792 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
794 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
795 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
796 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
797 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
798 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
799 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
800 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
801 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
802 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
803 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
804 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
805 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
806 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
807 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
808 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
830 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
831 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
832 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
833 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
834 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
835 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
836 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
837 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
838 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
839 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
840 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
841 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
842 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
844 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
845 that was previously under [RESET_PID].
846 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
847 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
848 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
850 * sysdeps/i386/nptl/Implies: New file.
851 * sysdeps/x86_64/nptl/Implies: New file.
852 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
853 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
854 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
855 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
857 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
858 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
859 (__libc_vfork): New strong alias.
860 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
861 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
863 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
864 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
865 (__libc_vfork): New strong alias.
866 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
867 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
869 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
870 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
871 (__libc_vfork): New strong alias.
872 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
873 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
874 * nptl/pt-vfork.c: New file.
875 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
876 (libpthread: GLIBC_2.20): New version set (empty).
878 2014-05-14 Will Newton <will.newton@linaro.org>
880 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
883 2014-05-14 Joseph Myers <joseph@codesourcery.com>
886 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
887 arguments with exponent 65 or above.
888 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
889 arguments 0x1p113L or above.
890 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
891 to arguments 0x1p107L or above.
892 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
893 positive arguments with exponent 65 or above.
894 * math/auto-libm-test-in: Add more tests of log1p.
895 * math/auto-libm-test-out: Regenerated.
898 * math/s_cacos.c (__cacos): Ensure zero real part of result from
899 non-finite arguments is +0.
900 * math/s_cacosf.c (__cacosf): Likewise.
901 * math/s_cacosl.c (__cacosl): Likewise.
902 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
903 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
907 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
909 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
910 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
911 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
912 for explicit high bit of mantissa when testing for argument equal
914 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
915 * sysdeps/i386/fpu/libm-test-ulps: Update.
916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
919 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
920 (__erf): Scale by 16 instead of 8 in potentially underflowing
921 case. Ensure exception if result actually underflows.
922 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
923 (__erff): Scale by 16 instead of 8 in potentially underflowing
924 case. Ensure exception if result actually underflows.
925 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
926 (efx8): Remove variable.
927 (__erfl): Scale by 16 instead of 8 in potentially underflowing
928 case. Ensure exception if result actually underflows.
929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
930 (efx8): Remove variable.
931 (__erfl): Scale by 16 instead of 8 in potentially underflowing
932 case. Ensure exception if result actually underflows.
933 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
934 (efx8): Remove variable.
935 (__erfl): Scale by 16 instead of 8 in potentially underflowing
936 case. Ensure exception if result actually underflows.
937 * math/auto-libm-test-in: Add more tests of erf.
938 * math/auto-libm-test-out: Regenerated.
940 2014-05-14 Andreas Schwab <schwab@suse.de>
942 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
943 Remove code conditionalized on USE___THREAD.
945 * config.h.in (HAVE_PT_CHOWN): Define as 0.
946 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
949 2014-05-14 Joseph Myers <joseph@codesourcery.com>
951 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
952 Define unconditionally.
953 (__ASSUME_O_CLOEXEC): Likewise.
954 (__ASSUME_SOCK_CLOEXEC): Likewise.
955 (__ASSUME_IN_NONBLOCK): Likewise.
956 (__ASSUME_PIPE2): Likewise.
957 (__ASSUME_EVENTFD2): Likewise.
958 (__ASSUME_SIGNALFD4): Likewise.
959 (__ASSUME_DUP3): Likewise.
960 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
961 (__ASSUME_DUP3): Do not define.
962 (__ASSUME_EVENTFD2): Likewise.
963 (__ASSUME_IN_NONBLOCK): Likewise.
964 (__ASSUME_O_CLOEXEC): Likewise.
965 (__ASSUME_PIPE2): Likewise.
966 (__ASSUME_SIGNALFD4): Likewise.
967 (__ASSUME_SOCK_CLOEXEC): Likewise.
968 (__ASSUME_UTIMES): Undefine.
969 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
970 (__ASSUME_UTIMES): Do not define.
971 (__ASSUME_O_CLOEXEC): Likewise.
972 (__ASSUME_SOCK_CLOEXEC): Likewise.
973 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
974 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
976 (__ASSUME_PIPE2): Likewise.
977 (__ASSUME_EVENTFD2): Likewise.
978 (__ASSUME_SIGNALFD4): Likewise.
979 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
980 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
982 (__ASSUME_EVENTFD2): Likewise.
983 (__ASSUME_SIGNALFD4): Likewise.
984 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
985 (__ASSUME_32BITUIDS): Likewise.
986 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
987 (__ASSUME_IPC64): Likewise.
988 (__ASSUME_ST_INO_64_BIT): Likewise.
989 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
990 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
991 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
992 (__ASSUME_UTIMES): Do not define.
993 (__ASSUME_PSELECT): Likewise.
994 (__ASSUME_PPOLL): Likewise.
995 (__ASSUME_O_CLOEXEC): Likewise.
996 (__ASSUME_SOCK_CLOEXEC): Likewise.
997 (__ASSUME_IN_NONBLOCK): Likewise.
998 (__ASSUME_PIPE2): Likewise.
999 (__ASSUME_EVENTFD2): Likewise.
1000 (__ASSUME_SIGNALFD4): Likewise.
1001 (__ASSUME_DUP3): Likewise.
1002 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1003 (__ASSUME_UTIMES): Likewise.
1004 (__ASSUME_O_CLOEXEC): Likewise.
1005 (__ASSUME_SOCK_CLOEXEC): Likewise.
1006 (__ASSUME_IN_NONBLOCK): Likewise.
1007 (__ASSUME_PIPE2): Likewise.
1008 (__ASSUME_EVENTFD2): Likewise.
1009 (__ASSUME_SIGNALFD4): Likewise.
1010 (__ASSUME_DUP3): Likewise.
1011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1012 (__ASSUME_UTIMES): Likewise.
1013 (__ASSUME_O_CLOEXEC): Likewise.
1014 (__ASSUME_SOCK_CLOEXEC): Likewise.
1015 (__ASSUME_IN_NONBLOCK): Likewise.
1016 (__ASSUME_PIPE2): Likewise.
1017 (__ASSUME_EVENTFD2): Likewise.
1018 (__ASSUME_SIGNALFD4): Likewise.
1019 (__ASSUME_DUP3): Likewise.
1020 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1022 (__ASSUME_UTIMES): Likewise.
1023 (__ASSUME_EVENTFD2): Likewise.
1024 (__ASSUME_SIGNALFD4): Likewise.
1025 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1026 (__ASSUME_O_CLOEXEC): Likewise.
1027 (__ASSUME_SOCK_CLOEXEC): Likewise.
1028 (__ASSUME_IN_NONBLOCK): Likewise.
1029 (__ASSUME_PIPE2): Likewise.
1030 (__ASSUME_EVENTFD2): Likewise.
1031 (__ASSUME_SIGNALFD4): Likewise.
1032 (__ASSUME_DUP3): Likewise.
1033 (__ASSUME_UTIMES): Undefine.
1035 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1036 feclearexcept. Remove symbol versioning code.
1037 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1038 symbol versioning code.
1039 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1040 symbol versioning code.
1041 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1042 feupdateenv. Remove symbol versioning code.
1043 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1044 fegetexceptflag. Remove symbol versioning code.
1045 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1046 fesetexceptflag. Remove symbol versioning code.
1047 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1048 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1049 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1050 (__posix_fadvise64_l32): Remove prototype.
1051 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1054 2014-05-13 Roland McGrath <roland@hack.frob.com>
1056 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1057 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1058 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1059 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1061 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1063 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1064 current working directory
1066 2014-05-13 Roland McGrath <roland@hack.frob.com>
1068 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1069 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1070 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1071 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1072 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1073 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1074 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1075 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1077 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1078 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1079 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1081 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1083 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1085 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1086 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1087 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1091 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1092 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1093 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1095 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1096 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1101 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1102 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1103 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1104 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1105 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1106 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1107 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1108 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1109 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1111 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1112 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1114 * sysdeps/unix/sysv/linux/arm/Makefile
1115 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1116 Add rt-aeabi_unwind_cpp_pr1.
1117 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1118 Add nptl-aeabi_unwind_cpp_pr1.
1119 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1120 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1121 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1122 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1123 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1124 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1126 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1127 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1128 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1129 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1131 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1132 Deconditionalize the code that was previously under [RESET_PID].
1133 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1135 * sysdeps/generic/exit-thread.h: New file.
1136 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1137 * include/unistd.h (__exit_thread): Remove declaration.
1138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1139 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1140 * csu/libc-start.c: Include <exit-thread.h>.
1141 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1142 * nptl/pthread_create.c: Include <exit-thread.h>.
1143 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1144 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1145 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1146 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1147 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1148 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1149 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1150 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1151 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1152 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1153 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1154 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1155 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1156 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1157 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1158 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1159 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1161 2014-05-13 Andreas Schwab <schwab@suse.de>
1163 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1165 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1167 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1168 (__ASSUME_UTIMES): Do not condition on kernel version.
1169 (__ASSUME_PSELECT): Define unconditionally.
1170 (__ASSUME_PPOLL): Likewise.
1171 (__ASSUME_ATFCTS): Likewise.
1172 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1173 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1174 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1175 (__ASSUME_UTIMENSAT): Define unconditionally.
1176 (__ASSUME_PRIVATE_FUTEX): Likewise.
1177 (__ASSUME_FALLOCATE): Likewise.
1178 (__ASSUME_O_CLOEXEC): Likewise.
1179 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1180 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1181 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1182 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1183 (__ASSUME_IN_NONBLOCK): Likewise.
1184 (__ASSUME_PIPE2): Likewise.
1185 (__ASSUME_EVENTFD2): Likewise.
1186 (__ASSUME_SIGNALFD4): Likewise.
1187 (__ASSUME_DUP3): Likewise.
1188 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1189 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1190 (__ASSUME_AT_RANDOM): Likewise.
1191 (__ASSUME_PREADV): Likewise.
1192 (__ASSUME_PWRITEV): Likewise.
1193 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1194 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1195 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1196 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1197 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1198 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1199 (__ASSUME_O_CLOEXEC): Define unconditionally.
1200 (__ASSUME_PSELECT): Do not undefine conditionally.
1201 (__ASSUME_PPOLL): Likewise.
1202 (__ASSUME_ATFCTS): Likewise.
1203 (__ASSUME_SET_ROBUST_LIST): Likewise.
1204 (__ASSUME_UTIMENSAT): Likewise.
1205 (__ASSUME_FDATASYNC): Define unconditionally.
1206 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1207 (__ASSUME_SIGFRAME_V2): Likewise.
1208 )__ASSUME_EVENTFD2): Likewise.
1209 (__ASSUME_SIGNALFD4): Likewise.
1210 (__ASSUME_PSELECT): Do not undefine conditionally.
1211 (__ASSUME_PPOLL): Likewise.
1212 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1213 (__ASSUME_PSELECT): Define unconditionally.
1214 (__ASSUME_PPOLL): Likewise.
1215 (__ASSUME_O_CLOEXEC): Likewise.
1216 (__ASSUME_SOCK_CLOEXEC): Likewise.
1217 (__ASSUME_IN_NONBLOCK): Likewise.
1218 (__ASSUME_PIPE2): Likewise.
1219 (__ASSUME_EVENTFD2): Likewise.
1220 (__ASSUME_SIGNALFD4): Likewise.
1221 (__ASSUME_DUP3): Likewise.
1222 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1223 (__ASSUME_O_CLOEXEC): Likewise.
1224 (__ASSUME_SOCK_CLOEXEC): Likewise.
1225 (__ASSUME_IN_NONBLOCK): Likewise.
1226 (__ASSUME_PIPE2): Likewise.
1227 (__ASSUME_EVENTFD2): Likewise.
1228 (__ASSUME_SIGNALFD4): Likewise.
1229 (__ASSUME_DUP3): Likewise.
1230 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1231 (__ASSUME_EVENTFD2): Likewise.
1232 (__ASSUME_SIGNALFD4): Likewise.
1233 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1235 2014-05-12 Andreas Schwab <schwab@suse.de>
1238 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1239 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1240 than maximum RPC packet size.
1241 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1242 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1243 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1244 (_nss_nis_getservbyport_r): Likewise.
1246 2014-05-12 Will Newton <will.newton@linaro.org>
1248 * malloc/Makefile (tests): Add tst-mallopt.
1249 * malloc/tst-mallopt.c: New file.
1251 2014-05-09 Roland McGrath <roland@hack.frob.com>
1253 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1254 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1256 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1259 (tst-tlsmod6.so): Likewise.
1261 2014-05-09 Roland McGrath <roland@hack.frob.com>
1263 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1265 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1268 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1269 and <dl-procinfo.h>.
1270 (__fegetenv): Save SSE state in envp->__eip if supported.
1271 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1272 envp->__eip if supported.
1273 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1274 and <dl-procinfo.h>.
1275 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1276 __data_offset and __data_selector in environment to 0. Set SSE
1278 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1280 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1282 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1284 2014-05-09 Will Newton <will.newton@linaro.org>
1286 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1287 and libc_relro_required for ARM.
1288 * sysdeps/arm/preconfigure: Regenerate.
1290 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1291 Stefan Liebler <stli@linux.vnet.ibm.com>
1293 * config.make.in (enable-lock-elision): New Makefile variable.
1294 * configure.ac: Likewise.
1295 * configure: Regenerate.
1296 * sysdeps/s390/configure.ac:
1297 Add check for gcc transactions support.
1298 * sysdeps/s390/configure: Regenerate.
1299 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1300 Build elision files if enabled.
1301 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1302 Add lock elision support for s390.
1303 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1304 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1305 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1306 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1307 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1308 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1311 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1313 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1315 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1317 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1318 (__lll_timedlock_elision, __lll_lock_elision)
1319 (__lll_unlock_elision, __lll_trylock_elision)
1320 (lll_timedlock_elision, lll_lock_elision)
1321 (lll_unlock_elision, lll_trylock_elision): Add.
1322 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1323 (pthread_mutex_t): Add lock elision support for s390.
1325 2014-05-14 Wilco <wdijkstr@arm.com>
1327 * sysdeps/arm/fclrexcpt.c: Cleanup.
1328 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1329 * sysdeps/arm/feenablxcpt.c: Cleanup.
1330 * sysdeps/arm/fegetenv.c: Cleanup.
1331 * sysdeps/arm/fegetexcept.c: Cleanup.
1332 * sysdeps/arm/fegetround.c: Cleanup.
1333 * sysdeps/arm/feholdexcpt.c: Cleanup.
1334 * sysdeps/arm/fesetenv.c: Cleanup.
1335 * sysdeps/arm/fesetround.c: Cleanup.
1336 * sysdeps/arm/feupdateenv.c: Cleanup.
1337 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1338 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1339 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1340 * sysdeps/arm/ftestexcept.c: Cleanup.
1341 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1342 * sysdeps/arm/setfpucw.c: Cleanup.
1344 2014-05-09 Will Newton <will.newton@linaro.org>
1346 * sysdeps/arm/armv7/strcmp.S: New file.
1347 * NEWS: Mention addition of ARMv7 optimized strcmp.
1349 2014-05-08 Roland McGrath <roland@hack.frob.com>
1351 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1352 look for %.ac rather than %.in.
1354 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1355 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1356 * sysdeps/mach/hurd/configure: Regenerated.
1357 * sysdeps/unix/sysv/linux/configure: Regenerated.
1359 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1361 2014-05-07 Steve Ellcey <sellcey@mips.com>
1364 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1368 2014-05-07 Andreas Schwab <schwab@suse.de>
1370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1371 when skipping over non-matching result from nscd.
1373 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1376 * nptl/sockperf.c (client): Check socket return value.
1379 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1380 nscd security class.
1382 2014-05-06 Roland McGrath <roland@hack.frob.com>
1384 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1385 * sysdeps/arm/unwind.h: ... here.
1387 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1390 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1393 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1395 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1396 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1397 multiarch strncpy for PPC64.
1398 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1399 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1401 multiarch optimizations.
1402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1403 (__libc_ifunc_impl_list): Likewise.
1404 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1405 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1406 multiarch stpncpy for PPC64.
1407 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1408 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1410 2014-05-06 Andreas Schwab <schwab@suse.de>
1413 * gmon/mcount.c (_MCOUNT_DECL): Use
1414 atomic_compare_and_exchange_bool_acq instead of
1415 catomic_compare_and_exchange_bool_acq.
1417 2014-05-05 Roland McGrath <roland@hack.frob.com>
1419 * elf/Makefile (others, install-bin): Remove pldd.
1420 (pldd-modules): Variable removed.
1421 ($(objpfx)pldd): Target removed.
1422 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1423 (others, install-bin): Append pldd here.
1424 ($(objpfx)pldd): New target.
1426 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1427 to 0, so the first #if test emitted later doesn't see it undefined.
1428 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1429 * sysdeps/gnu/errlist.c: Regenerated.
1431 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1434 [libc_hidden_builtin_def]: Define to empty value.
1435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1436 [libc_hidden_builtin_def]: Likewise.
1437 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1438 [libc_hidden_builtin_def]: Likewise.
1439 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1440 [libc_hidden_builtin_def]: Likewise.
1441 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1442 __redirect_memcpy and define ifunc as default hidden symbol.
1443 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1444 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1446 2014-05-04 Adam Conrad <adconrad@0c3.net>
1448 * locale/iso-4217.def: Reintroduce XDR currency.
1450 2014-05-04 Allan McRae <allan@archlinux.org>
1452 * po/eo.po: Update Esperanto translation from translation project.
1454 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1456 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1457 and FEATURE_INDEX_MAX to 1.
1458 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1460 2014-05-01 Steve Ellcey <sellcey@mips.com>
1462 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1463 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1464 * iconvdata/big5.c (ONE_DIRECTION): Define.
1465 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1466 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1467 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1468 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1469 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1470 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1471 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1472 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1473 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1474 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1475 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1476 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1477 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1478 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1479 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1480 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1481 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1482 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1483 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1484 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1485 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1486 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1487 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1488 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1489 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1490 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1491 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1492 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1493 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1494 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1495 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1496 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1497 * iconvdata/johab.c (ONE_DIRECTION): Define.
1498 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1499 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1500 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1501 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1502 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1503 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1504 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1505 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1506 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1507 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1509 2014-05-01 Roland McGrath <roland@hack.frob.com>
1511 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1512 (_IO_JUMPS_OFFSET): Define to 0.
1514 * nptl/sysdeps/pthread/bits/libc-lock.h
1515 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1516 (__libc_lock_define_initialized_recursive): Always define using
1517 initializer. Modern compilers treat uninitialized (implicit zero) and
1518 explicit zero initializers the same (i.e. put the datum in bss).
1520 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1522 * nscd/nscd-client.h: Include <string.h>.
1524 2014-05-01 David S. Miller <davem@davemloft.net>
1527 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1528 multiple zero bytes exist at the end of a string.
1529 Reported by Aurelien Jarno <aurelien@aurel32.net>
1531 * string/test-strcmp.c (check): Add explicit test for situations where
1532 there are multiple zero bytes after the first.
1534 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1537 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1538 when compiling wprintf.
1539 * stdio-common/tstdiomisc.c (t3): New function.
1542 2014-05-01 Steve Ellcey <sellcey@mips.com>
1544 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1545 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1546 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1547 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1549 2014-05-01 Steve Ellcey <sellcey@mips.com>
1551 * stdlib/longlong.h: Updated from GCC.
1553 2014-05-01 Will Newton <will.newton@linaro.org>
1554 Bernard Ogden <bernie.ogden@linaro.org>
1556 * NEWS: Update fixed bug list.
1559 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1561 2014-04-30 David S. Miller <davem@davemloft.net>
1563 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1564 (libc_feholdexcept_setround_sparc_ctx): New function.
1565 (libc_fesetenv_sparc_ctx): Likewise.
1566 (libc_feupdateenv_sparc_ctx): Likewise.
1567 (libc_feholdsetround_sparc_ctx): Likewise.
1568 (libc_feholdexcept_setround_ctx): Define.
1569 (libc_feholdexcept_setroundf_ctx): Likewise.
1570 (libc_feholdexcept_setroundl_ctx): Likewise.
1571 (libc_fesetenv_ctx): Likewise.
1572 (libc_fesetenvf_ctx): Likewise.
1573 (libc_fesetenvl_ctx): Likewise.
1574 (libc_feupdateenv_ctx): Likewise.
1575 (libc_feupdateenvf_ctx): Likewise.
1576 (libc_feupdateenvl_ctx): Likewise.
1577 (libc_feresetround_ctx): Likewise.
1578 (libc_feresetroundf_ctx): Likewise.
1579 (libc_feresetroundl_ctx): Likewise.
1580 (libc_feholdsetround_ctx): Likewise.
1581 (libc_feholdsetroundf_ctx): Likewise.
1582 (libc_feholdsetroundl_ctx): Likewise.
1584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1585 with __USE_GNU instead of XOPEN cpp guards.
1587 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1591 with XOPEN cpp guards.
1593 2014-04-30 Julian Brown <julian@codesourcery.com>
1596 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1599 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1602 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1604 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1605 * sysdeps/unix/sysv/linux/configure: Regenerated.
1606 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1607 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1608 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1609 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1610 * README: Update reference to required Linux kernel version.
1611 * manual/install.texi (Linux): Update reference to required Linux
1612 kernel headers version.
1613 * INSTALL: Regenerated.
1615 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1617 [POSIX] (limits.h): Likewise.
1618 [POSIX] (math.h): Likewise.
1619 [POSIX] (sys/wait.h): Likewise.
1620 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1622 [POSIX] (stddef.h): Do not allow header inclusion.
1624 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1628 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1630 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1631 Return immediately after lll_futex_wake.
1633 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1636 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1638 (datahead_init_pos): Call datahead_init_common early.
1639 (datahead_init_neg): Likewise.
1641 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1642 datahead_init_neg): New functions.
1643 * nscd/aicache.c (addhstaiX): Use them.
1644 * nscd/grpcache.c (cache_addgr): Likewise.
1645 * nscd/hstcache.c (cache_addhst): Likewise.
1646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1647 * nscd/netgroupcache.c (do_notfound): Likewise.
1648 (addgetnetgrentX): Likewise.
1649 (addinnetgrX): Likewise.
1650 * nscd/pwdcache.c (cache_addpw): Likewise.
1651 * nscd/servicescache.c (cache_addserv): Likewise.
1653 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1654 Atsushi Onoe <atsushi@onoe.org>
1659 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1660 one response is valid.
1661 * resolv/res_send.c (send_dg): Check for validity of other
1662 response if the current response is a referral.
1664 2014-04-29 Steve Ellcey <sellcey@mips.com>
1666 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1668 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1671 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1672 Always divide by positive zero when computing -Inf result.
1673 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1674 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1676 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1679 FPSCR if value do not change.
1680 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1681 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1682 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1683 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1684 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1685 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1688 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1690 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1691 * sysdeps/unix/sysv/linux/hppa: Move directory from
1692 ports/systeps/unix/sysv/linux/hppa.
1693 * README: Update listing for hppa-*-linux-gnu.
1695 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1698 * manual/stdio.texi (Hook functions): Fix types of stream hook
1701 * socket/sys/socket.h: Fix typo in comment.
1703 2014-04-28 Wilco <wdijkstr@arm.com>
1705 * sysdeps/arm/fenv_private.h: New file.
1706 * sysdeps/arm/math_private.h: New file.
1707 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1709 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1711 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1713 (La_x86_64_retval): Likewise.
1715 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1717 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1718 fpsr if value didn't change.
1719 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1720 to fpcr if value didn't change.
1721 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1722 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1723 fpsr or fpcr if value didn't change.
1724 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1725 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1726 fpcr if value didn't change.
1727 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1728 to fpsr if value didn't change.
1730 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1732 * nptl/tst-sem3.c: Use test-skeleton.c
1733 (main): Rename to do_test. Use return instead of
1735 * nptl/tst-sem4.c: Use test-skeleton.c
1736 (main): Rename to do_test.
1738 2014-04-22 David S. Miller <davem@davemloft.net>
1740 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1741 (struct sigaction): New struct member __glibc_reserved0, change
1742 type of sa_flags to int.
1744 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1746 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1747 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1749 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1751 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1752 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1754 2014-04-22 Will Newton <will.newton@linaro.org>
1755 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1757 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1758 (__longjmp): Add longjmp and longjmp_target SystemTap
1760 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1761 (__sigsetjmp): Add setjmp SystemTap probe.
1763 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1765 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1768 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1772 * sysdeps/powerpc/fpu/fenv_private.h
1773 (libc_feholdexcept_setroundl_ctx): Define to
1774 libc_feholdexcept_setround_ppc_ctx.
1775 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1776 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1777 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1778 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1780 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1782 * sysdeps/aarch64/math-tests.h: New file.
1784 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1786 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1789 Check and set bit_AVX2_Usable.
1790 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1792 (bit_AVX2): Likewise.
1793 (index_AVX2_Usable): Likewise.
1794 (CPUID_AVX2): Likewise.
1795 (HAS_AVX2): Likewise.
1797 2014-04-17 Will Newton <will.newton@linaro.org>
1799 * manual/setjmp.texi (System V contexts): Add note that
1800 calling setcontext on a context created by a call to a
1801 signal handler is undefined. Update text to note that
1802 setcontext from a signal handler is possible but not
1806 * stdlib/tst-setcontext.c: Include signal.h.
1807 (main): Check that the signal stack before and
1808 after swapcontext is the same.
1810 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1811 Re-implement to restore registers in user code and avoid
1812 rt_sigreturn system call.
1814 2014-04-17 Wilco <wdijkstr@arm.com>
1816 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1817 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1818 * math/test-fenv.c: Skip exception trap tests on targets which only
1819 support non-stop mode.
1821 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1822 Wilco Dijkstra <wilco.dijkstra@arm.com>
1824 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1825 (libc_feholdsetround_aarch64_ctx)
1826 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1827 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1828 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1829 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1830 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1831 (libc_feresetround_noexl_ctx): Define.
1833 2014-04-16 Richard Henderson <rth@redhat.com>
1835 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1837 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1840 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1841 const from the non-libc, non-ldso copy.
1843 * sysdeps/alpha/libm-test-ulps: Regenerate.
1845 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1846 Wilco Dijkstra <wilco.dijkstra@arm.com>
1848 * sysdeps/aarch64/fpu/math_private.h: New file.
1850 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1852 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1854 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1856 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1857 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1858 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1859 Intel MPX bound registers before _dl_profile_fixup.
1860 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1861 registers after _dl_profile_fixup. Save and restore bound
1862 registers bnd0/bnd1 when calling _dl_call_pltexit.
1863 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1864 (LR_BND_OFFSET): Likewise.
1865 (LRV_BND0_OFFSET): Likewise.
1866 (LRV_BND1_OFFSET): Likewise.
1868 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1870 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1872 * sysdeps/mach/hurd/i386/tls.h: ... here.
1873 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1874 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1877 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1879 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1881 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1883 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1885 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1888 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1889 * sysdeps/s390/configure: Regenerate.
1892 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1893 Set round-to-nearest internally to reduce error accumulation.
1895 2014-04-16 Alan Modra <amodra@gmail.com>
1899 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1900 * math/libm-test.inc (frexp_test_data): Add tests.
1901 * NEWS: Update fixed bug list.
1903 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1905 * benchtests/Makefile: Depend on libraries in build directory.
1906 (bench-math): Separate out math tests.
1907 (bench-pthread): Separate out pthread tests.
1908 (bench): Include math and pthread tests.
1910 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1913 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1914 _dl_debug_initialize.
1916 * configure.ac: Remove SELinux header check.
1917 * configure: Regenerate.
1918 * nscd/selinux.c (perms): Array of const char* to permission names.
1919 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1920 default policy. Call string_to_security_class and string_to_av_perm to
1921 translate strings. Enforce default policy and call avs_has_perm with
1922 results of translated strings.
1924 2014-04-13 David S. Miller <davem@davemloft.net>
1926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1928 2014-04-12 Allan McRae <allan@archlinux.org>
1931 * manual/string.texi (Collation Functions): Fix qsort argument
1933 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1935 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1937 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1938 Make the test a no-op if there are no exceptions defined.
1940 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1942 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1943 enable-hardcoded-path-in-tests
1945 2014-04-11 Will Newton <will.newton@linaro.org>
1947 * benchtests/Makefile (extra-objs): Add json-lib.o.
1948 (bench-func): Tidy up JSON output.
1949 * benchtests/bench-skeleton.c: Include json-lib.h.
1950 (main): Use JSON library functions to do output of
1952 * benchtests/bench-timing-type.c (main): Output the
1953 timing type simply, leaving formatting to the user.
1954 * benchtests/json-lib.c: New file.
1955 * benchtests/json-lib.h: Likewise.
1957 2014-04-11 Torvald Riegel <triegel@redhat.com>
1960 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1961 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1962 memory barriers. Add comments.
1963 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1964 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1965 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1966 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1967 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1968 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1970 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1972 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1973 * sysdeps/s390/s390-64/configure.ac: ... this ...
1974 * sysdeps/s390/configure.ac: ... to here.
1975 * sysdeps/s390/s390-32/configure: Delete file.
1976 * sysdeps/s390/s390-64/configure: Delete file.
1977 * sysdeps/s390/configure: Regenerate.
1979 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1981 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1983 2014-04-11 Will Newton <will.newton@linaro.org>
1985 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1986 to zero if it is not defined elsewhere. (mtrim): Test
1987 the value of MALLOC_DEBUG with #if rather than #ifdef.
1989 2014-04-10 Torvald Riegel <triegel@redhat.com>
1991 * benchtests/pthread_once-inputs: New file.
1992 * benchtests/pthread_once-source.c: New file.
1993 * benchtests/README: Update documentation.
1995 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1996 H.J. Lu <hongjiu.lu@intel.com>
1998 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1999 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2000 * sysdeps/x86_64/configure: Regenerated.
2001 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2003 (REGISTER_SAVE_RAX): Likewise.
2004 (REGISTER_SAVE_RCX): Likewise.
2005 (REGISTER_SAVE_RDX): Likewise.
2006 (REGISTER_SAVE_RSI): Likewise.
2007 (REGISTER_SAVE_RDI): Likewise.
2008 (REGISTER_SAVE_R8): Likewise.
2009 (REGISTER_SAVE_R9): Likewise.
2010 (REGISTER_SAVE_BND0): Likewise.
2011 (REGISTER_SAVE_BND1): Likewise.
2012 (REGISTER_SAVE_BND2): Likewise.
2013 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2014 bound registers when calling _dl_fixup.
2016 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2018 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2019 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2021 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2022 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2023 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2024 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2025 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2026 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2027 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2029 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2032 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2033 pathconf(_PC_NAME_MAX).
2035 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2039 (__PTHREAD_SPINS): Move definition to ...
2040 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2041 (__PTHREAD_SPINS): ... here.
2042 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2043 (__PTHREAD_SPIN): Likewise.
2044 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2045 (__PTHREAD_SPIN): Likewise.
2046 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2047 (__PTHREAD_SPIN): Likewise.
2048 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2049 (__PTHREAD_SPIN): Likewise.
2050 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2051 (__PTHREAD_SPIN): Likewise.
2052 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2053 (__PTHREAD_SPIN): Likewise.
2054 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2055 (__PTHREAD_SPIN): Likewise.
2056 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2057 (__PTHREAD_SPIN): Likewise.
2058 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2059 (__PTHREAD_SPIN): Likewise.
2060 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2061 (__PTHREAD_SPIN): Likewise.
2062 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2063 (__PTHREAD_SPIN): Likewise.
2064 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2065 (__PTHREAD_SPIN): Likewise.
2067 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2068 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2069 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2070 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2072 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2073 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2074 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2075 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2077 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2078 strlen symbol for non multi-arch builds.
2079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2080 missing hidden_def and weak_alias.
2082 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2084 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2086 2014-04-07 Will Newton <will.newton@linaro.org>
2088 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2089 and contents. [!_LIBC] Remove #ifndef and contents.
2090 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2091 * string/memccpy.c (__memccpy): Use ANSI prototype.
2092 * string/memfrob.c (memfrob): Likewise.
2093 * string/strcoll.c (STRCOLL): Likewise.
2094 * string/strlen.c (strlen): Likewise.
2095 * string/strtok.c (STRTOK): Likewise.
2096 * string/strcat.c: Remove unused #include of memcopy.h.
2097 (strcat): Use ANSI prototype.
2098 * string/strchr.c: Remove unused #include of memcopy.h.
2099 (strchr): Use ANSI prototype.
2100 * string/strcmp.c: Remove unused #include of memcopy.h.
2101 (strcmp): Use ANSI prototype.
2102 * string/strcpy.c: Remove unused #include of memcopy.h.
2103 (strcpy): Use ANSI prototype.
2105 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2108 * config.make.in (config-extra-cppflags): Set it from
2109 libc_extra_cppflags.
2110 * configure.ac (libc_extra_cflags): Make it accumulate over
2111 configure fragments.
2112 (libc_extra_cppflags): New flag.
2113 * configure. Regenerate.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2115 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2116 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2120 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2121 result for FE_DOWNWARD rounding mode.
2122 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2126 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2128 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2129 in function argument name.
2131 2014-04-03 David Svoboda <svoboda@cert.org>
2134 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2137 2014-04-03 Roland McGrath <roland@hack.frob.com>
2139 * elf/dl-unmap-segments.h: New file.
2140 * sysdeps/generic/ldsodefs.h
2141 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2142 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2143 * elf/dl-fptr.c: Likewise.
2144 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2145 * sysdeps/aarch64/tlsdesc.c: Likewise.
2146 * sysdeps/arm/tlsdesc.c: Likewise.
2147 * sysdeps/i386/tlsdesc.c: Likewise.
2148 * sysdeps/tile/dl-runtime.c: Likewise.
2149 * sysdeps/x86_64/tlsdesc.c: Likewise.
2150 * elf/dl-load.h: New file.
2151 * elf/dl-load.c: Include it.
2152 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2153 Macros moved to dl-load.h.
2154 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2155 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2156 Use _dl_unmap_segments in place of __munmap.
2157 Break out segment-mapping loop into ...
2158 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2160 2014-04-03 Will Newton <will.newton@linaro.org>
2162 * elf/dl-lookup.c (do_lookup_x): Remove comment
2163 referring to nested function and move variable
2164 declarations down to before first use.
2166 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2170 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2172 * math/s_catanf.c (__catanf): Likewise.
2173 * math/s_catanh.c (__catanh): Likewise.
2174 * math/s_catanhf.c (__catanhf): Likewise.
2175 * math/s_catanhl.c (__catanhl): Likewise.
2176 * math/s_catanl.c (__catanl): Likewise.
2177 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2178 by positive zero when computing -Inf result.
2179 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2180 (catanh_test): Likewise.
2181 * sysdeps/i386/fpu/libm-test-ulps: Update.
2182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2185 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2186 instead of using underflowing value in computing result.
2187 * math/s_clog10.c (__clog10): Likewise.
2188 * math/s_clog10f.c (__clog10f): Likewise.
2189 * math/s_clog10l.c (__clog10l): Likewise.
2190 * math/s_clogf.c (__clogf): Likewise.
2191 * math/s_clogl.c (__clogl): Likewise.
2192 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2193 (clog10_test): Likewise.
2194 * sysdeps/i386/fpu/libm-test-ulps: Update.
2195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197 2014-04-02 Alan Modra <amodra@gmail.com>
2200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2201 output when value is near a power of two. Use int64_t for lx and
2202 remove casts. Use decimal rather than hex exponent constants.
2203 Don't use long double multiplication when double will suffice.
2204 * math/libm-test.inc (nextafter_test_data): Add tests.
2205 * NEWS: Add 16739 and 16786 to bug list.
2207 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2209 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2211 2014-04-01 Will Newton <will.newton@linaro.org>
2213 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2214 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2216 2014-04-01 Florian Weimer <fweimer@redhat.com>
2219 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2220 * nptl/tst-setuid2.c: New file.
2221 * nptl/Makefile (xtests): Add tst-setuid2.
2223 2014-04-01 Alan Modra <amodra@gmail.com>
2226 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2228 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2232 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2233 set errno as appropriate.
2234 * math/w_scalbf.c (__scalbf): Likewise.
2235 * math/w_scalbl.c (__scalbl): Likewise.
2236 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2237 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2238 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2242 * math/w_atan2.c: Include <errno.h>.
2243 (__atan2): Set errno for result underflowing to zero.
2244 * math/w_atan2f.c: Include <errno.h>.
2245 (__atan2f): Set errno for result underflowing to zero.
2246 * math/w_atan2l.c: Include <errno.h>.
2247 (__atan2l): Set errno for result underflowing to zero.
2248 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2250 * math/auto-libm-test-out: Regenerated.
2252 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2254 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2255 Encode instruction correctly in little endian.
2256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2260 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2262 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2265 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2268 * sysdeps/unix/sysv/linux/kernel-features.h
2269 [__sparc__ && !__arch64__ && !__sparc_v9__]
2270 (__ASSUME_SET_ROBUST_LIST): Do not define.
2271 [__sparc__ && !__arch64__ && !__sparc_v9__]
2272 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2273 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2275 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2276 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2277 (__ASSUME_REQUEUE_PI): Likewise.
2278 (__ASSUME_SET_ROBUST_LIST): Likewise.
2279 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2280 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2283 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2285 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2287 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2289 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2290 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2292 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2293 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2298 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2299 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2301 2014-03-31 Will Newton <will.newton@linaro.org>
2303 * benchtests/Makefile (bench): Add ffs and ffsll to list
2305 * benchtests/ffs-inputs: New file.
2306 * benchtests/ffsll-inputs: Likewise.
2308 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2311 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2312 too large before casting to int.
2313 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2314 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2315 * math/libm-test.inc (scalb_test_data): Add more tests.
2317 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2319 * benchtests/Makefile (DETAILED_OPT): New make option.
2320 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2322 * benchtests/bench-skeleton.c: Include stdbool.h.
2323 (main): Store and print timings per input.
2324 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2325 member to each argument value.
2326 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2327 (_print_arg_data): Initialize per-input timing to 0.
2329 * benchtests/Makefile (timing-type): New binary.
2330 (bench-clean): Also remove bench-timing-type.
2331 (bench): New target for timing-type.
2332 (bench-func): Print output in JSON format.
2333 * benchtests/bench-skeleton.c (main): Print output in JSON
2335 * benchtests/bench-timing-type.c: New file.
2336 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2337 (TIMING_PRINT_STATS): Remove.
2338 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2341 * benchtests/bench-modf.c: Remove.
2342 * benchtests/modf-inputs: New inputs file.
2344 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2347 * math/s_clog10.c (M_PI_LOG10E): New macro.
2348 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2349 imaginary parts are 0.
2350 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2351 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2352 imaginary parts are 0.
2353 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2354 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2355 imaginary parts are 0.
2356 * math/libm-test.inc (clog10_test_data): Update expected results
2357 for when real and imaginary parts are 0.
2359 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2361 * elf/dl-load.c: Finish conversion of __builtin_expect into
2364 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2367 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2368 1+x for argument with exponent below -67.
2369 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2371 * math/auto-libm-test-in: Add more tests of exp.
2372 * math/auto-libm-test-out: Regenerated.
2374 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2377 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2378 (nscd_getnetgrent): Use it.
2381 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2384 2014-03-27 Andi Kleen <ak@linux.intel.com>
2386 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2387 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2388 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2389 (lll_robust_unlock): Remove out of line section. Use cfi
2391 (LLL_STUB_UNWIND_INFO*): Remove.
2392 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2393 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2394 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2395 (lll_robust_unlock): Remove out of line section. Use cfi
2397 (LLL_STUB_UNWIND_INFO*): Remove.
2399 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2402 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2405 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2407 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2409 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2412 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2414 * math/test-fenv-preserve.c: New file.
2415 * math/Makefile (tests): Add test-fenv-preserve.
2417 2014-03-26 Will Newton <will.newton@linaro.org>
2419 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2421 2014-03-25 Roland McGrath <roland@hack.frob.com>
2423 * scripts/versionlist.awk: Partition the version sets and emit all
2424 GLIBC_* (sorted) before all others (sorted).
2426 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2428 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2429 GLIBC_2.2.5 version.
2431 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2433 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2436 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2441 2014-03-25 Andreas Schwab <schwab@suse.de>
2443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2444 label to be used after in6ailist is initialized.
2446 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2449 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2451 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2455 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2457 (fp_formats): Update initializers.
2458 (init_fp_formats): Initialize new field.
2459 (output_for_one_input_case): Allow underflow for results up to
2461 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2462 * math/auto-libm-test-in: Don't mark some underflows from asin and
2464 * math/auto-libm-test-out: Regenerated.
2465 * sysdeps/i386/fpu/libm-test-ulps: Update.
2466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2468 2014-03-25 Andreas Schwab <schwab@suse.de>
2470 * libio/Makefile (tst-ftell-partial-wide-ENV)
2471 (tst-ftell-active-handler-ENV): Define.
2473 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2475 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2477 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2479 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2481 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2484 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2485 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2487 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2490 * elf/dl-load.c (open_verify): Add mode parameter.
2491 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2492 (open_path): Change from boolean 'secure' to complete flag 'mode'
2493 (_dl_map_object): Adjust.
2494 * elf/Makefile (tests): Add tst-dlopen-aout.
2495 * elf/tst-dlopen-aout.c: New test.
2497 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2500 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2501 (struct stat): Rename member pad0 to __glibc_reserved0.
2504 * sysdeps/s390/s390-32/bits/wordsize.h
2505 (__WORDSIZE32_SIZE_ULONG): New define.
2506 * sysdeps/s390/s390-64/bits/wordsize.h
2507 (__WORDSIZE32_SIZE_ULONG): Likewise.
2508 * sysdeps/generic/stdint.h (SIZE_MAX):
2509 Define as UL if __WORDSIZE32_SIZE_ULONG.
2512 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2513 (__glibc_reserved0): New variable.
2514 (sa_flags): Change type to int.
2516 * posix/Makefile (before-compile): Use += before-compile instead
2519 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2520 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2522 2014-03-20 Andreas Schwab <schwab@suse.de>
2525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2526 non-matching result from nscd.
2528 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2530 * scripts/bench.py: Moved to ...
2531 * benchtests/scripts/bench.py: ... here.
2532 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2534 2014-03-24 Andreas Schwab <schwab@suse.de>
2537 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2538 alloca_account and account alloca use for struct in6ailist.
2540 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2543 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2544 rounding mode to recompute results that overflow to infinity or
2546 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2548 * math/auto-libm-test-out: Regenerated.
2549 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2550 (ccosh_test): Likewise.
2551 (csin_test_data): Use plus_oflow.
2552 (csin_test): Use ALL_RM_TEST.
2553 (csinh_test_data): Use plus_oflow.
2554 (csinh_test): Use ALL_RM_TEST.
2555 * sysdeps/i386/fpu/libm-test-ulps: Update.
2556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2558 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2560 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2561 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2562 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2565 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2567 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2568 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2569 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2570 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2572 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2573 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2575 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2576 * sysdeps/i386/fpu/libm-test-ulps: Update.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2579 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2581 * scripts/bench.pl: Remove file.
2582 * scripts/bench.py: New benchmark script.
2583 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2584 * benchtests/README: Mention python dependency.
2585 * scripts/pylintrc: New file.
2586 * scripts/pylint: New file.
2588 * bits/mathdef.h: Use #ifdef instead of #if.
2589 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2590 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2591 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2592 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2593 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2594 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2596 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2597 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2599 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2601 and strpbrk-ppc64 objects.
2602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2603 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2604 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2605 multiarch strpbrk for POWER7.
2606 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2607 multiarch strpbrk for PPC64.
2608 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2610 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2613 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2615 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2616 (atan_test): Likewise.
2617 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2618 (atanh_test): Use ALL_RM_TEST.
2619 (atan2_test_data): Likewise.
2620 (cabs_test): Likewise.
2621 (cacosh_test): Likewise.
2622 (carg_test): Likewise.
2623 (casin_test): Likewise.
2624 (casinh_test): Likewise.
2625 (cbrt_test): Likewise.
2626 (csqrt_test): Likewise.
2627 (erf_test): Likewise.
2628 (erfc_test): Likewise.
2629 (pow10_test): Likewise.
2630 (exp2_test): Likewise.
2631 (hypot_test): Likewise.
2632 (j0_test): Likewise.
2633 (j1_test): Likewise.
2634 (lgamma_test): Likewise.
2635 (gamma_test): Likewise.
2636 (sincos_test): Likewise.
2637 (tanh_test): Likewise.
2638 (y0_test): Likewise.
2639 (y1_test): Likewise.
2640 * sysdeps/i386/fpu/libm-test-ulps: Update.
2641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2643 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2645 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2647 and strcspn-ppc64 objects.
2648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2649 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2650 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2651 multiarch strcspn for POWER7.
2652 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2653 multiarch strcspn for PPC64.
2654 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2656 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2659 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2661 * math/gen-libm-test.pl (generate_testfile): Expect only function
2662 name as argument to AUTO_TESTS_* and pass results for all rounding
2663 modes to parse_args.
2664 (parse_auto_input): Separate inputs of automatic tests from
2665 outputs before storing in %auto_tests.
2666 * math/libm-test.inc (acos_test_data): Update call to
2668 (acos_test): Use ALL_RM_TEST.
2669 (acos_tonearest_test_data): Remove.
2670 (acos_test_tonearest): Likewise.
2671 (acos_towardzero_test_data): Likewise.
2672 (acos_test_towardzero): Likewise.
2673 (acos_downward_test_data): Likewise.
2674 (acos_test_downward): Likewise.
2675 (acos_upward_test_data): Likewise.
2676 (acos_test_upward): Likewise.
2677 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2678 (asin_test_data): Likewise.
2679 (asin_test): Use ALL_RM_TEST.
2680 (asin_tonearest_test_data): Remove.
2681 (asin_test_tonearest): Likewise.
2682 (asin_towardzero_test_data): Likewise.
2683 (asin_test_towardzero): Likewise.
2684 (asin_downward_test_data): Likewise.
2685 (asin_test_downward): Likewise.
2686 (asin_upward_test_data): Likewise.
2687 (asin_test_upward): Likewise.
2688 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2689 (atan_test_data): Likewise.
2690 (atanh_test_data): Likewise.
2691 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2692 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2693 (carg_test_data): Likewise.
2694 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2695 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2696 (ccosh_test_data): Likewise.
2697 (cexp_test_data): Likewise.
2698 (clog_test_data): Likewise.
2699 (clog10_test_data): Likewise.
2700 (cos_test_data): Update call to AUTO_TESTS_f_f.
2701 (cos_test): Use ALL_RM_TEST.
2702 (cos_tonearest_test_data): Remove.
2703 (cos_test_tonearest): Likewise.
2704 (cos_towardzero_test_data): Likewise.
2705 (cos_test_towardzero): Likewise.
2706 (cos_downward_test_data): Likewise.
2707 (cos_test_downward): Likewise.
2708 (cos_upward_test_data): Likewise.
2709 (cos_test_upward): Likewise.
2710 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2711 (cosh_test): Use ALL_RM_TEST.
2712 (cosh_tonearest_test_data): Remove.
2713 (cosh_test_tonearest): Likewise.
2714 (cosh_towardzero_test_data): Likewise.
2715 (cosh_test_towardzero): Likewise.
2716 (cosh_downward_test_data): Likewise.
2717 (cosh_test_downward): Likewise.
2718 (cosh_upward_test_data): Likewise.
2719 (cosh_test_upward): Likewise.
2720 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2721 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2722 (ctan_test_data): Likewise.
2723 (ctan_test): Use ALL_RM_TEST.
2724 (ctan_tonearest_test_data): Remove.
2725 (ctan_test_tonearest): Likewise.
2726 (ctan_towardzero_test_data): Likewise.
2727 (ctan_test_towardzero): Likewise.
2728 (ctan_downward_test_data): Likewise.
2729 (ctan_test_downward): Likewise.
2730 (ctan_upward_test_data): Likewise.
2731 (ctan_test_upward): Likewise.
2732 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2733 (ctanh_test): Use ALL_RM_TEST.
2734 (ctanh_tonearest_test_data): Remove.
2735 (ctanh_test_tonearest): Likewise.
2736 (ctanh_towardzero_test_data): Likewise.
2737 (ctanh_test_towardzero): Likewise.
2738 (ctanh_downward_test_data): Likewise.
2739 (ctanh_test_downward): Likewise.
2740 (ctanh_upward_test_data): Likewise.
2741 (ctanh_test_upward): Likewise.
2742 (erf_test_data): Update call to AUTO_TESTS_f_f.
2743 (erfc_test_data): Likewise.
2744 (exp_test_data): Likewise.
2745 (exp_test): Use ALL_RM_TEST.
2746 (exp_tonearest_test_data): Remove.
2747 (exp_test_tonearest): Likewise.
2748 (exp_towardzero_test_data): Likewise.
2749 (exp_test_towardzero): Likewise.
2750 (exp_downward_test_data): Likewise.
2751 (exp_test_downward): Likewise.
2752 (exp_upward_test_data): Likewise.
2753 (exp_test_upward): Likewise.
2754 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2755 (exp10_test): Use ALL_RM_TEST.
2756 (exp10_tonearest_test_data): Remove.
2757 (exp10_test_tonearest): Likewise.
2758 (exp10_towardzero_test_data): Likewise.
2759 (exp10_test_towardzero): Likewise.
2760 (exp10_downward_test_data): Likewise.
2761 (exp10_test_downward): Likewise.
2762 (exp10_upward_test_data): Likewise.
2763 (exp10_test_upward): Likewise.
2764 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2765 (expm1_test_data): Likewise.
2766 (expm1_test): Use ALL_RM_TEST.
2767 (expm1_tonearest_test_data): Remove.
2768 (expm1_test_tonearest): Likewise.
2769 (expm1_towardzero_test_data): Likewise.
2770 (expm1_test_towardzero): Likewise.
2771 (expm1_downward_test_data): Likewise.
2772 (expm1_test_downward): Likewise.
2773 (expm1_upward_test_data): Likewise.
2774 (expm1_test_upward): Likewise.
2775 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2776 (fma_test): Use ALL_RM_TEST.
2777 (fma_towardzero_test_data): Remove.
2778 (fma_test_towardzero): Likewise.
2779 (fma_downward_test_data): Likewise.
2780 (fma_test_downward): Likewise.
2781 (fma_upward_test_data): Likewise.
2782 (fma_test_upward): Likewise.
2783 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2784 (j0_test_data): Update call to AUTO_TESTS_f_f.
2785 (j1_test_data): Likewise.
2786 (jn_test_data): Update call to AUTO_TESTS_if_f.
2787 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2788 (log_test_data): Update call to AUTO_TESTS_f_f.
2789 (log10_test_data): Likewise.
2790 (log1p_test_data): Likewise.
2791 (log2_test_data): Likewise.
2792 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2793 (pow_tonearest_test_data): Likewise.
2794 (sin_test_data): Update call to AUTO_TESTS_f_f.
2795 (sin_test): Use ALL_RM_TEST.
2796 (sin_tonearest_test_data): Remove.
2797 (sin_test_tonearest): Likewise.
2798 (sin_towardzero_test_data): Likewise.
2799 (sin_test_towardzero): Likewise.
2800 (sin_downward_test_data): Likewise.
2801 (sin_test_downward): Likewise.
2802 (sin_upward_test_data): Likewise.
2803 (sin_test_upward): Likewise.
2804 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2805 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2806 (sinh_test): Use ALL_RM_TEST.
2807 (sinh_tonearest_test_data): Remove.
2808 (sinh_test_tonearest): Likewise.
2809 (sinh_towardzero_test_data): Likewise.
2810 (sinh_test_towardzero): Likewise.
2811 (sinh_downward_test_data): Likewise.
2812 (sinh_test_downward): Likewise.
2813 (sinh_upward_test_data): Likewise.
2814 (sinh_test_upward): Likewise.
2815 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2816 (sqrt_test): Use ALL_RM_TEST.
2817 (sqrt_tonearest_test_data): Remove.
2818 (sqrt_test_tonearest): Likewise.
2819 (sqrt_towardzero_test_data): Likewise.
2820 (sqrt_test_towardzero): Likewise.
2821 (sqrt_downward_test_data): Likewise.
2822 (sqrt_test_downward): Likewise.
2823 (sqrt_upward_test_data): Likewise.
2824 (sqrt_test_upward): Likewise.
2825 (tan_test_data): Update call to AUTO_TESTS_f_f.
2826 (tan_test): Use ALL_RM_TEST.
2827 (tan_tonearest_test_data): Remove.
2828 (tan_test_tonearest): Likewise.
2829 (tan_towardzero_test_data): Likewise.
2830 (tan_test_towardzero): Likewise.
2831 (tan_downward_test_data): Likewise.
2832 (tan_test_downward): Likewise.
2833 (tan_upward_test_data): Likewise.
2834 (tan_test_upward): Likewise.
2835 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2836 (tgamma_test_data): Likewise.
2837 (y0_test_data): Likewise.
2838 (y1_test_data): Likewise.
2839 (yn_test_data): Update call to AUTO_TESTS_if_f.
2840 (main): Do not call removed functions.
2842 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2844 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2845 (ldexp_test_data): Remove.
2846 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2848 (scalb_test): Use ALL_RM_TEST.
2850 2014-03-19 Andreas Schwab <schwab@suse.de>
2852 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2854 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2857 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2858 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2859 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2860 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2861 (__ASSUME_PREADV): Undefine.
2862 (__ASSUME_PWRITEV): Likewise.
2864 2014-03-18 Roland McGrath <roland@hack.frob.com>
2866 * bits/mman-linux.h: Add comment about non-Linux use.
2867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2868 bits/mman-linux.h resting place.
2870 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2871 * bits/mman-linux.h: ... here.
2873 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2875 * conform/conformtest.pl: Add standard definition when calling C
2876 preprocessor on data files.
2877 (checknamespace): Remove unused variable.
2879 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2881 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2882 minus_oflow, plus_uflow and minus_uflow in expected results.
2883 * math/libm-test.inc (scalbn_test_data): Add more tests of
2884 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2886 (scalbn_test): Use ALL_RM_TEST.
2887 (scalbln_test_data): Add more tests of negative arguments. Use
2888 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2889 (scalbln_test): Use ALL_RM_TEST.
2891 2014-03-18 Roland McGrath <roland@hack.frob.com>
2893 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2895 2014-03-18 Will Newton <will.newton@linaro.org>
2897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2900 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2902 * Makerules [!subdir] (check-abi): Exit with error status if a
2905 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2907 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2908 for rint. Include results for all rounding modes.
2909 (nearbyint_test): Use ALL_RM_TEST.
2910 (rint_test_data): Include all tests used for nearbyint.
2912 2014-03-17 Will Newton <will.newton@linaro.org>
2914 * nptl/sysdeps/pthread/pthread.h: Revert previous
2917 * sysdeps/generic/ldsodefs.h: Revert previous
2920 * libio/genops.c: Revert previous change.
2921 * libio/libioP.h: Likewise.
2922 * stdio-common/vfprintf.c: Likewise.
2924 * sysdeps/generic/math_private.h: Revert previous
2927 * sysdeps/generic/math_private.h: Check whether
2928 HAVE_RM_CTX is defined with #ifdef rather
2931 * argp/argp-fmtstream.h: Check whether
2932 __STRICT_ANSI__ is defined with #ifdef rather
2934 * argp/argp.h: Likewise.
2936 * libio/genops.c: Check whether
2937 _IO_JUMPS_OFFSET is defined with #ifdef rather
2939 * libio/libioP.h: Likewise.
2940 * stdio-common/vfprintf.c: Likewise.
2942 * sysdeps/generic/ldsodefs.h: Check whether
2943 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2946 * nptl/sysdeps/pthread/pthread.h: Check
2947 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2950 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2952 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2954 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2958 * libio/fileops.c (_IO_file_open): Seek to end of file but
2959 don't cache the offset.
2960 (get_file_offset): Remove function.
2961 (do_ftell): Use cached offset when available.
2962 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2963 don't cache the offset.
2964 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2966 (do_one_test): Call it.
2967 (do_ftell_test): Fix up expected old offset for a+ mode.
2968 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2971 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2972 up test status with function return status.
2973 (do_write_test): Likewise.
2974 (do_append_test): Likewise.
2976 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2977 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2980 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2982 * math/gen-libm-test.pl (parse_args): Handle results specified for
2983 each rounding mode separately.
2984 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2985 tests and results from lrint_tonearest_test_data,
2986 lrint_towardzero_test_data, lrint_downward_test_data and
2987 lrint_upward_test_data.
2988 (lrint_test): Use ALL_RM_TEST.
2989 (lrint_tonearest_test_data): Remove.
2990 (lrint_test_tonearest): Likewise.
2991 (lrint_towardzero_test_data): Likewise.
2992 (lrint_test_towardzero): Likewise.
2993 (lrint_downward_test_data): Likewise.
2994 (lrint_test_downward): Likewise.
2995 (lrint_upward_test_data): Likewise.
2996 (lrint_test_upward): Likewise.
2997 (llrint_test_data): Merge in per-rounding-mode tests and results
2998 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2999 llrint_downward_test_data and llrint_upward_test_data.
3000 (llrint_test): Use ALL_RM_TEST.
3001 (llrint_tonearest_test_data): Remove.
3002 (llrint_test_tonearest): Likewise.
3003 (llrint_towardzero_test_data): Likewise.
3004 (llrint_test_towardzero): Likewise.
3005 (llrint_downward_test_data): Likewise.
3006 (llrint_test_downward): Likewise.
3007 (llrint_upward_test_data): Likewise.
3008 (llrint_test_upward): Likewise.
3009 (rint_test_data): Merge in per-rounding-mode tests and results
3010 from rint_tonearest_test_data, rint_towardzero_test_data,
3011 rint_downward_test_data and rint_upward_test_data. Add
3012 per-rounding-mode results for tests not in those arrays.
3013 (rint_test): Use ALL_RM_TEST.
3014 (rint_tonearest_test_data): Remove.
3015 (rint_test_tonearest): Likewise.
3016 (rint_towardzero_test_data): Likewise.
3017 (rint_test_towardzero): Likewise.
3018 (rint_downward_test_data): Likewise.
3019 (rint_test_downward): Likewise.
3020 (rint_upward_test_data): Likewise.
3021 (rint_test_upward): Likewise.
3022 (main): Don't call removed functions.
3024 2014-03-14 Roland McGrath <roland@hack.frob.com>
3026 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3027 "Compiled on ..." crapola. It is anti-useful.
3029 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3031 * scripts/evaluate-test.sh: Handle fourth argument to determine
3032 whether test run should stop on failure.
3033 * Makeconfig (stop-on-test-failure): New variable.
3034 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3035 $(stop-on-test-failure).
3036 * Makefile (tests): Give a summary of results from testing and
3037 exit with failure status if they include an ERROR or FAIL.
3039 * manual/install.texi (Configuring and compiling): Mention
3040 stop-on-test-failure=y.
3041 * INSTALL: Regenerated.
3043 2014-03-14 Roland McGrath <roland@hack.frob.com>
3045 * scripts/versionlist.awk: New file.
3046 * Makerules [$(build-shared) = yes]
3047 (postclean-generated): Add Versions.def, not Versions.def.v and
3049 ($(common-objpfx)Versions.def.v.i): Target removed.
3050 ($(common-objpfx)Versions.def): New target.
3051 ($(common-objpfx)Versions.all): Depend on that rather that
3052 $(common-objpfx)Versions.def.v.
3053 * Versions.def: File removed.
3055 * Makeconfig (+gccwarn): Add -Wundef.
3056 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3057 a dl-sysdep.h breaking its contract.
3058 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3059 * include/stackinfo.h: New file.
3060 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3061 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3062 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3063 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3064 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3065 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3066 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3067 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3068 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3069 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3070 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3071 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3072 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3073 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3074 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3076 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3079 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3081 * math/libm-test.inc (round_test_data): Add more tests.
3084 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3086 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3089 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3091 * math/libm-test.inc (ceil_test_data): Add more tests.
3093 * math/libm-test.inc (trunc_test_data): Add more tests related to
3096 2014-03-14 Roland McGrath <roland@hack.frob.com>
3098 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3099 with #if rather than #ifdef.
3100 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3102 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3104 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3105 first. Disable AVX-512 GCC support if assembler doesn't support
3107 * sysdeps/x86_64/configure: Regenerated.
3109 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3111 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3112 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3113 (__old_pthread_attr_setstack): Likewise.
3114 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3115 [!_STACK_GROWS_DOWN]: Likewise.
3117 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3119 * config.make.in (have-bash2): Delete.
3120 * configure.ac (libc_cv_have_bash2): Delete.
3121 * configure: Regenerate.
3122 * elf/Makefile (common-ldd-rewrite): Rename to ...
3123 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3124 (sh-ldd-rewrite): Delete.
3125 (bash-ldd-rewrite): Delete.
3126 (have-bash2): Delete checks.
3127 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3130 * config.make.in (have-ksh): Delete.
3132 * configure.ac (libc_cv_have_ksh): Delete.
3133 * configure: Regenerate.
3135 * elf/Makefile: Delete $(have-ksh) check.
3136 ($(objpfx)sotruss): Change KSH to BASH.
3137 * elf/sotruss.ksh: Rename to ...
3138 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3139 function style to match POSIX. Drop ksh vim mode setting.
3141 * manual/time.texi (Specifying the Time Zone with TZ): Change
3142 Tuesday to Thursday.
3144 * debug/tst-longjmp_chk2.c: Update header comment.
3145 (stackoverflow_handler): Add comment. Call assert on pass value.
3147 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3149 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3150 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3151 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3152 (La_x86_64_vector): Add zmm.
3153 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3154 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3155 ($(objpfx)tst-audit10): New target.
3156 ($(objpfx)tst-audit10.out): Likewise.
3157 (tst-audit10-ENV): New.
3158 (AVX512-CFLAGS): Likewise.
3159 (CFLAGS-tst-audit10.c): Likewise.
3160 (CFLAGS-tst-auditmod10a.c): Likewise.
3161 (CFLAGS-tst-auditmod10b.c): Likewise.
3162 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3163 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3164 * sysdeps/x86_64/configure: Regenerated.
3165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3166 AVX-512 zmm register support.
3167 (_dl_x86_64_save_sse): Likewise.
3168 (_dl_x86_64_restore_sse): Likewise.
3169 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3170 size vector registers.
3171 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3172 (ZMM_SIZE): Likewise.
3173 * sysdeps/x86_64/tst-audit10.c: New file.
3174 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3175 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3177 2014-03-13 Roland McGrath <roland@hack.frob.com>
3179 * configure.ac (HAVE_EHDR_START): New check.
3180 * configure: Regenerated.
3181 * config.h.in (HAVE_EHDR_START): New #undef.
3182 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3183 assuming the lowest-addressed segment maps the start of the file.
3185 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3187 * INSTALL: Regenerated.
3189 2014-03-13 Will Newton <will.newton@linaro.org>
3191 * manual/setjmp.texi (System V contexts): Improve
3192 clarity and grammar of documentation.
3194 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3197 * elf/Makefile (tests): Add tst-pie2.
3198 (tests-pie): Add tst-pie2.
3199 * elf/tst-pie2.c: New file.
3200 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3202 * elf/rtld.c (map_doit): Load executable as lt_executable.
3203 (dl_main): Likewise.
3205 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3208 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3209 (__ASSUME_PSELECT): Undefine.
3211 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3214 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3215 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3217 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3218 selector for static builds.
3220 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3223 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3226 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3228 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3229 IFUNC selector for static builds.
3231 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3233 * sysdeps/mips/math_private.h [__mips_hard_float]
3234 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3235 libc_feresetround_mips_ctx.
3236 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3237 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3238 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3241 * math/s_nextafter.c (__nextafter): Do not return value from
3242 overflowing computation.
3243 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3244 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3245 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3247 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3249 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3250 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3252 2014-03-11 Roland McGrath <roland@hack.frob.com>
3254 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3255 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3256 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3257 the new mov targetting sp.
3259 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3262 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3263 Define it for static builds as well.
3264 (NO_BZERO_IMPL): Likewise.
3266 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3268 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3269 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3270 multiarch strspn for PPC64.
3271 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3272 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3274 (__libc_ifunc_impl_list): Likewise.
3275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3276 multiarch optimizations
3277 * string/strspn.c (strspn): Using macro to redefine symbol name.
3279 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3280 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3283 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3284 multiarch strncat for PPC64.
3285 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3286 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3288 (__libc_ifunc_impl_list): Likewise.
3289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3290 multiarch optimizations
3292 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3295 * nscd/nscd.service: Make service type forking.
3297 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3299 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3300 sign in non default rounding modes.
3301 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3303 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3305 * math/libm-test.inc (ALL_RM_TEST): New macro.
3306 (ceil_test): Use ALL_RM_TEST.
3307 (cimag_test): Likewise.
3308 (conj_test): Likewise.
3309 (copysign_test): Likewise.
3310 (cproj_test): Likewise.
3311 (creal_test): Likewise.
3312 (fabs_test): Likewise.
3313 (floor_test): Likewise.
3314 (fmax_test): Likewise.
3315 (fmin_test): Likewise.
3316 (fmod_test): Likewise.
3317 (fpclassify_test): Likewise.
3318 (frexp_test): Likewise.
3319 (ilogb_test): Likewise.
3320 (isfinite_test): Likewise.
3321 (finite_test): Likewise.
3322 (isgreater_test): Likewise.
3323 (isgreaterequal_test): Likewise.
3324 (isinf_test): Likewise.
3325 (isless_test): Likewise.
3326 (islessequal_test): Likewise.
3327 (islessgreater_test): Likewise.
3328 (isnan_test): Likewise.
3329 (isnormal_test): Likewise.
3330 (issignaling_test): Likewise.
3331 (isunordered_test): Likewise.
3332 (logb_test): Likewise.
3333 (logb_downward_test_data): Remove.
3334 (logb_test_downward): Likewise.
3335 (lround_test): Use ALL_RM_TEST.
3336 (llround_test): Likewise.
3337 (modf_test): Likewise.
3338 (nexttoward_test): Likewise.
3339 (remainder_test): Likewise.
3340 (drem_test): Likewise.
3341 (remainder_tonearest_test_data): Likewise.
3342 (remainder_test_tonearest): Likewise.
3343 (drem_test_tonearest): Likewise.
3344 (remainder_towardzero_test_data): Likewise.
3345 (remainder_test_towardzero): Likewise.
3346 (drem_test_towardzero): Likewise.
3347 (remainder_downward_test_data): Likewise.
3348 (remainder_test_downward): Likewise.
3349 (drem_test_downward): Likewise.
3350 (remainder_upward_test_data): Likewise.
3351 (remainder_test_upward): Likewise.
3352 (drem_test_upward): Likewise.
3353 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3354 (round_test): Use ALL_RM_TEST.
3355 (signbit_test): Likewise.
3356 (trunc_test): Likewise.
3357 (significand_test): Likewise.
3358 (main): Don't call removed functions.
3360 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3363 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3365 (ILL_ILLOPN): Likewise.
3366 (ILL_ILLADR): Likewise.
3367 (ILL_ILLTRP): Likewise.
3368 (ILL_PRVOPC): Likewise.
3369 (ILL_PRVREG): Likewise.
3370 (ILL_COPROC): Likewise.
3371 (ILL_BADSTK): Likewise.
3372 (FPE_INTDIV): Likewise.
3373 (FPE_INTOVF): Likewise.
3374 (FPE_FLTDIV): Likewise.
3375 (FPE_FLTOVF): Likewise.
3376 (FPE_FLTUND): Likewise.
3377 (FPE_FLTRES): Likewise.
3378 (FPE_FLTINV): Likewise.
3379 (FPE_FLTSUB): Likewise.
3380 (SEGV_MAPERR): Likewise.
3381 (SEGV_ACCERR): Likewise.
3382 (BUS_ADRALN): Likewise.
3383 (BUS_ADRERR): Likewise.
3384 (BUS_OBJERR): Likewise.
3385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3386 (TRAP_TRACE): Likewise.
3387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3389 (CLD_KILLED): Likewise.
3390 (CLD_DUMPED): Likewise.
3391 (CLD_TRAPPED): Likewise.
3392 (CLD_STOPPED): Likewise.
3393 (CLD_CONTINUED): Likewise.
3394 (POLL_IN): Likewise.
3395 (POLL_OUT): Likewise.
3396 (POLL_MSG): Likewise.
3397 (POLL_ERR): Likewise.
3398 (POLL_PRI): Likewise.
3399 (POLL_HUP): Likewise.
3400 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3402 (ILL_ILLOPN): Likewise.
3403 (ILL_ILLADR): Likewise.
3404 (ILL_ILLTRP): Likewise.
3405 (ILL_PRVOPC): Likewise.
3406 (ILL_PRVREG): Likewise.
3407 (ILL_COPROC): Likewise.
3408 (ILL_BADSTK): Likewise.
3409 (FPE_INTDIV): Likewise.
3410 (FPE_INTOVF): Likewise.
3411 (FPE_FLTDIV): Likewise.
3412 (FPE_FLTOVF): Likewise.
3413 (FPE_FLTUND): Likewise.
3414 (FPE_FLTRES): Likewise.
3415 (FPE_FLTINV): Likewise.
3416 (FPE_FLTSUB): Likewise.
3417 (SEGV_MAPERR): Likewise.
3418 (SEGV_ACCERR): Likewise.
3419 (BUS_ADRALN): Likewise.
3420 (BUS_ADRERR): Likewise.
3421 (BUS_OBJERR): Likewise.
3422 (BUS_MCEERR_AR): Likewise.
3423 (BUS_MCEERR_AO): Likewise.
3424 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3425 (TRAP_TRACE): Likewise.
3426 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3428 (CLD_KILLED): Likewise.
3429 (CLD_DUMPED): Likewise.
3430 (CLD_TRAPPED): Likewise.
3431 (CLD_STOPPED): Likewise.
3432 (CLD_CONTINUED): Likewise.
3433 (POLL_IN): Likewise.
3434 (POLL_OUT): Likewise.
3435 (POLL_MSG): Likewise.
3436 (POLL_ERR): Likewise.
3437 (POLL_PRI): Likewise.
3438 (POLL_HUP): Likewise.
3439 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3440 (ILL_ILLOPN): Likewise.
3441 (ILL_ILLADR): Likewise.
3442 (ILL_ILLTRP): Likewise.
3443 (ILL_PRVOPC): Likewise.
3444 (ILL_PRVREG): Likewise.
3445 (ILL_COPROC): Likewise.
3446 (ILL_BADSTK): Likewise.
3447 (FPE_INTDIV): Likewise.
3448 (FPE_INTOVF): Likewise.
3449 (FPE_FLTDIV): Likewise.
3450 (FPE_FLTOVF): Likewise.
3451 (FPE_FLTUND): Likewise.
3452 (FPE_FLTRES): Likewise.
3453 (FPE_FLTINV): Likewise.
3454 (FPE_FLTSUB): Likewise.
3455 (SEGV_MAPERR): Likewise.
3456 (SEGV_ACCERR): Likewise.
3457 (BUS_ADRALN): Likewise.
3458 (BUS_ADRERR): Likewise.
3459 (BUS_OBJERR): Likewise.
3460 (BUS_MCEERR_AR): Likewise.
3461 (BUS_MCEERR_AO): Likewise.
3462 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3463 (TRAP_TRACE): Likewise.
3464 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3466 (CLD_KILLED): Likewise.
3467 (CLD_DUMPED): Likewise.
3468 (CLD_TRAPPED): Likewise.
3469 (CLD_STOPPED): Likewise.
3470 (CLD_CONTINUED): Likewise.
3471 (POLL_IN): Likewise.
3472 (POLL_OUT): Likewise.
3473 (POLL_MSG): Likewise.
3474 (POLL_ERR): Likewise.
3475 (POLL_PRI): Likewise.
3476 (POLL_HUP): Likewise.
3477 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3479 (ILL_ILLOPN): Likewise.
3480 (ILL_ILLADR): Likewise.
3481 (ILL_ILLTRP): Likewise.
3482 (ILL_PRVOPC): Likewise.
3483 (ILL_PRVREG): Likewise.
3484 (ILL_COPROC): Likewise.
3485 (ILL_BADSTK): Likewise.
3486 (ILL_BADIADDR): Likewise.
3487 (ILL_BREAK): Likewise.
3488 (FPE_INTDIV): Likewise.
3489 (FPE_INTOVF): Likewise.
3490 (FPE_FLTDIV): Likewise.
3491 (FPE_FLTOVF): Likewise.
3492 (FPE_FLTUND): Likewise.
3493 (FPE_FLTRES): Likewise.
3494 (FPE_FLTINV): Likewise.
3495 (FPE_FLTSUB): Likewise.
3496 (FPE_DECOVF): Likewise.
3497 (FPE_DECDIV): Likewise.
3498 (FPE_DECERR): Likewise.
3499 (FPE_INVASC): Likewise.
3500 (FPE_INVDEC): Likewise.
3501 (SEGV_MAPERR): Likewise.
3502 (SEGV_ACCERR): Likewise.
3503 (SEGV_PSTKOVF): Likewise.
3504 (BUS_ADRALN): Likewise.
3505 (BUS_ADRERR): Likewise.
3506 (BUS_OBJERR): Likewise.
3507 (BUS_MCEERR_AR): Likewise.
3508 (BUS_MCEERR_AO): Likewise.
3509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3510 (TRAP_TRACE): Likewise.
3511 (TRAP_BRANCH): Likewise.
3512 (TRAP_HWBKPT): Likewise.
3513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3515 (CLD_KILLED): Likewise.
3516 (CLD_DUMPED): Likewise.
3517 (CLD_TRAPPED): Likewise.
3518 (CLD_STOPPED): Likewise.
3519 (CLD_CONTINUED): Likewise.
3520 (POLL_IN): Likewise.
3521 (POLL_OUT): Likewise.
3522 (POLL_MSG): Likewise.
3523 (POLL_ERR): Likewise.
3524 (POLL_PRI): Likewise.
3525 (POLL_HUP): Likewise.
3526 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3527 (ILL_ILLOPN): Likewise.
3528 (ILL_ILLADR): Likewise.
3529 (ILL_ILLTRP): Likewise.
3530 (ILL_PRVOPC): Likewise.
3531 (ILL_PRVREG): Likewise.
3532 (ILL_COPROC): Likewise.
3533 (ILL_BADSTK): Likewise.
3534 (FPE_INTDIV): Likewise.
3535 (FPE_INTOVF): Likewise.
3536 (FPE_FLTDIV): Likewise.
3537 (FPE_FLTOVF): Likewise.
3538 (FPE_FLTUND): Likewise.
3539 (FPE_FLTRES): Likewise.
3540 (FPE_FLTINV): Likewise.
3541 (FPE_FLTSUB): Likewise.
3542 (SEGV_MAPERR): Likewise.
3543 (SEGV_ACCERR): Likewise.
3544 (BUS_ADRALN): Likewise.
3545 (BUS_ADRERR): Likewise.
3546 (BUS_OBJERR): Likewise.
3547 (BUS_MCEERR_AR): Likewise.
3548 (BUS_MCEERR_AO): Likewise.
3549 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3550 (TRAP_TRACE): Likewise.
3551 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3553 (CLD_KILLED): Likewise.
3554 (CLD_DUMPED): Likewise.
3555 (CLD_TRAPPED): Likewise.
3556 (CLD_STOPPED): Likewise.
3557 (CLD_CONTINUED): Likewise.
3558 (POLL_IN): Likewise.
3559 (POLL_OUT): Likewise.
3560 (POLL_MSG): Likewise.
3561 (POLL_ERR): Likewise.
3562 (POLL_PRI): Likewise.
3563 (POLL_HUP): Likewise.
3564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3565 (ILL_ILLOPN): Likewise.
3566 (ILL_ILLADR): Likewise.
3567 (ILL_ILLTRP): Likewise.
3568 (ILL_PRVOPC): Likewise.
3569 (ILL_PRVREG): Likewise.
3570 (ILL_COPROC): Likewise.
3571 (ILL_BADSTK): Likewise.
3572 (FPE_INTDIV): Likewise.
3573 (FPE_INTOVF): Likewise.
3574 (FPE_FLTDIV): Likewise.
3575 (FPE_FLTOVF): Likewise.
3576 (FPE_FLTUND): Likewise.
3577 (FPE_FLTRES): Likewise.
3578 (FPE_FLTINV): Likewise.
3579 (FPE_FLTSUB): Likewise.
3580 (SEGV_MAPERR): Likewise.
3581 (SEGV_ACCERR): Likewise.
3582 (BUS_ADRALN): Likewise.
3583 (BUS_ADRERR): Likewise.
3584 (BUS_OBJERR): Likewise.
3585 (BUS_MCEERR_AR): Likewise.
3586 (BUS_MCEERR_AO): Likewise.
3587 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3588 (TRAP_TRACE): Likewise.
3589 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3591 (CLD_KILLED): Likewise.
3592 (CLD_DUMPED): Likewise.
3593 (CLD_TRAPPED): Likewise.
3594 (CLD_STOPPED): Likewise.
3595 (CLD_CONTINUED): Likewise.
3596 (POLL_IN): Likewise.
3597 (POLL_OUT): Likewise.
3598 (POLL_MSG): Likewise.
3599 (POLL_ERR): Likewise.
3600 (POLL_PRI): Likewise.
3601 (POLL_HUP): Likewise.
3602 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3603 (ILL_ILLOPN): Likewise.
3604 (ILL_ILLADR): Likewise.
3605 (ILL_ILLTRP): Likewise.
3606 (ILL_PRVOPC): Likewise.
3607 (ILL_PRVREG): Likewise.
3608 (ILL_COPROC): Likewise.
3609 (ILL_BADSTK): Likewise.
3610 (FPE_INTDIV): Likewise.
3611 (FPE_INTOVF): Likewise.
3612 (FPE_FLTDIV): Likewise.
3613 (FPE_FLTOVF): Likewise.
3614 (FPE_FLTUND): Likewise.
3615 (FPE_FLTRES): Likewise.
3616 (FPE_FLTINV): Likewise.
3617 (FPE_FLTSUB): Likewise.
3618 (SEGV_MAPERR): Likewise.
3619 (SEGV_ACCERR): Likewise.
3620 (BUS_ADRALN): Likewise.
3621 (BUS_ADRERR): Likewise.
3622 (BUS_OBJERR): Likewise.
3623 (BUS_MCEERR_AR): Likewise.
3624 (BUS_MCEERR_AO): Likewise.
3625 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3626 (TRAP_TRACE): Likewise.
3627 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3629 (CLD_KILLED): Likewise.
3630 (CLD_DUMPED): Likewise.
3631 (CLD_TRAPPED): Likewise.
3632 (CLD_STOPPED): Likewise.
3633 (CLD_CONTINUED): Likewise.
3634 (POLL_IN): Likewise.
3635 (POLL_OUT): Likewise.
3636 (POLL_MSG): Likewise.
3637 (POLL_ERR): Likewise.
3638 (POLL_PRI): Likewise.
3639 (POLL_HUP): Likewise.
3640 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3641 (ILL_ILLOPN): Likewise.
3642 (ILL_ILLADR): Likewise.
3643 (ILL_ILLTRP): Likewise.
3644 (ILL_PRVOPC): Likewise.
3645 (ILL_PRVREG): Likewise.
3646 (ILL_COPROC): Likewise.
3647 (ILL_BADSTK): Likewise.
3648 (ILL_DBLFLT): Likewise.
3649 (ILL_HARDWALL): Likewise.
3650 (FPE_INTDIV): Likewise.
3651 (FPE_INTOVF): Likewise.
3652 (FPE_FLTDIV): Likewise.
3653 (FPE_FLTOVF): Likewise.
3654 (FPE_FLTUND): Likewise.
3655 (FPE_FLTRES): Likewise.
3656 (FPE_FLTINV): Likewise.
3657 (FPE_FLTSUB): Likewise.
3658 (SEGV_MAPERR): Likewise.
3659 (SEGV_ACCERR): Likewise.
3660 (BUS_ADRALN): Likewise.
3661 (BUS_ADRERR): Likewise.
3662 (BUS_OBJERR): Likewise.
3663 (BUS_MCEERR_AR): Likewise.
3664 (BUS_MCEERR_AO): Likewise.
3665 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3666 (TRAP_TRACE): Likewise.
3667 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3669 (CLD_KILLED): Likewise.
3670 (CLD_DUMPED): Likewise.
3671 (CLD_TRAPPED): Likewise.
3672 (CLD_STOPPED): Likewise.
3673 (CLD_CONTINUED): Likewise.
3674 (POLL_IN): Likewise.
3675 (POLL_OUT): Likewise.
3676 (POLL_MSG): Likewise.
3677 (POLL_ERR): Likewise.
3678 (POLL_PRI): Likewise.
3679 (POLL_HUP): Likewise.
3680 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3681 (ILL_ILLOPN): Likewise.
3682 (ILL_ILLADR): Likewise.
3683 (ILL_ILLTRP): Likewise.
3684 (ILL_PRVOPC): Likewise.
3685 (ILL_PRVREG): Likewise.
3686 (ILL_COPROC): Likewise.
3687 (ILL_BADSTK): Likewise.
3688 (FPE_INTDIV): Likewise.
3689 (FPE_INTOVF): Likewise.
3690 (FPE_FLTDIV): Likewise.
3691 (FPE_FLTOVF): Likewise.
3692 (FPE_FLTUND): Likewise.
3693 (FPE_FLTRES): Likewise.
3694 (FPE_FLTINV): Likewise.
3695 (FPE_FLTSUB): Likewise.
3696 (SEGV_MAPERR): Likewise.
3697 (SEGV_ACCERR): Likewise.
3698 (BUS_ADRALN): Likewise.
3699 (BUS_ADRERR): Likewise.
3700 (BUS_OBJERR): Likewise.
3701 (BUS_MCEERR_AR): Likewise.
3702 (BUS_MCEERR_AO): Likewise.
3703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3704 (TRAP_TRACE): Likewise.
3705 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3707 (CLD_KILLED): Likewise.
3708 (CLD_DUMPED): Likewise.
3709 (CLD_TRAPPED): Likewise.
3710 (CLD_STOPPED): Likewise.
3711 (CLD_CONTINUED): Likewise.
3712 (POLL_IN): Likewise.
3713 (POLL_OUT): Likewise.
3714 (POLL_MSG): Likewise.
3715 (POLL_ERR): Likewise.
3716 (POLL_PRI): Likewise.
3717 (POLL_HUP): Likewise.
3718 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3719 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3722 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3723 before #include of <time.h>.
3724 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3725 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3726 (test-xfail-UNIX98/sched.h/conform): Likewise.
3728 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3730 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3731 error absence of trapping exception support.
3732 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3734 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3736 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3737 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3738 * timezone/Makefile (testdata): Move definition above include of
3740 (test-zones): New variable.
3741 (tests-special): Add zone files.
3742 (build-testdata): Use $(evaluate-test).
3744 * elf/Makefile (tests-special): Rename tests to end with .out.
3745 ($(objpfx)noload-mem): Likewise.
3746 ($(objpfx)tst-leaks1-mem): Likewise.
3747 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3748 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3749 $(objpfx)test-iconvconfig.out.
3750 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3751 set -e inside subshell and redirect output to file.
3752 * iconvdata/Makefile (generated): Rename tests to end with .out.
3754 (tests-special): Rename tests to end with .out.
3755 ($(objpfx)mtrace-tst-loading): Likewise.
3756 * intl/Makefile (generated): Likewise.
3757 (tests-special): Likewise.
3758 ($(objpfx)mtrace-tst-gettext): Likewise.
3759 * misc/Makefile (generated): Likewise.
3760 (tests-special): Likewise.
3761 ($(objpfx)tst-error1-mem): Likewise.
3762 * nptl/Makefile (tests-special): Likewise.
3763 ($(objpfx)tst-stack3-mem): Likewise.
3764 (generated): Likewise.
3765 * posix/Makefile (generated): Likewise.
3766 (tests-special): Likewise.
3767 (xtests-special): Likewise.
3768 ($(objpfx)tst-fnmatch-mem): Likewise.
3769 ($(objpfx)bug-regex2-mem): Likewise.
3770 ($(objpfx)bug-regex14-mem): Likewise.
3771 ($(objpfx)bug-regex21-mem): Likewise.
3772 ($(objpfx)bug-regex31-mem): Likewise.
3773 ($(objpfx)tst-vfork3-mem): Likewise.
3774 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3775 ($(objpfx)tst-pcre-mem): Likewise.
3776 ($(objpfx)tst-boost-mem): Likewise.
3777 ($(objpfx)bug-ga2-mem): Likewise.
3778 ($(objpfx)bug-glob2-mem): Likewise.
3779 * resolv/Makefile (generate): Likewise.
3780 (tests-special): Likewise.
3781 (xtests-special): Likewise.
3782 (generated): Likewise.
3783 ($(objpfx)mtrace-tst-leaks): Likewise.
3784 ($(objpfx)mtrace-tst-leaks2): Likewise.
3786 * scripts/merge-test-results.sh: New file.
3787 * Makefile (tests-special-notdir): New variable.
3788 (tests): Run merge-test-results.sh.
3790 * Rules (tests-special-notdir): New variable.
3791 (xtests-special-notdir): Likewise.
3792 (tests): Run merge-test-results.sh
3795 * Makeconfig (test-xfail-name): New variable.
3796 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3797 compute variable name for expected failures.
3798 * conform/Makefile (conformtest-headers-data): New variable.
3799 (conformtest-standards): Likewise.
3800 (conformtest-headers-ISO): Likewise.
3801 (conformtest-headers-ISO99): Likewise.
3802 (conformtest-headers-ISO11): Likewise.
3803 (conformtest-headers-POSIX): Likewise.
3804 (conformtest-headers-XPG3): Likewise.
3805 (conformtest-headers-XPG4): Likewise.
3806 (conformtest-headers-UNIX98): Likewise.
3807 (conformtest-headers-XOPEN2K): Likewise.
3808 (conformtest-headers-POSIX2008): Likewise.
3809 (conformtest-headers-XOPEN2K8): Likewise.
3810 (conformtest-header-list-base): Likewise.
3811 (conformtest-header-list-tests): Likewise.
3812 (conformtest-header-base): Likewise.
3813 (conformtest-header-tests): Likewise.
3814 (tests-special): Add $(conformtest-header-list-tests). If
3815 [$(fast-check) && !$(cross-compiling)], add
3816 $(conformtest-header-tests) instead of
3817 $(objpfx)run-conformtest.out.
3818 (generated): Add $(conformtest-header-list-base). If
3819 [$(fast-check) && !$(cross-compiling)], add
3820 $(conformtest-header-base). Remove previous setting.
3821 ($(conformtest-header-list-tests)): New target.
3822 (test-xfail-run-conformtest): Remove variable.
3823 ($(objpfx)run-conformtest.out): Remove target.
3824 (test-xfail-ISO11/complex.h/conform): New variable.
3825 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3826 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3827 (test-xfail-XPG3/varargs.h/conform): Likewise.
3828 (test-xfail-XPG4/varargs.h/conform): Likewise.
3829 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3830 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3831 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3832 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3833 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3834 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3835 (test-xfail-XPG3/ftw.h/conform): Likewise.
3836 (test-xfail-XPG3/grp.h/conform): Likewise.
3837 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3838 (test-xfail-XPG3/limits.h/conform): Likewise.
3839 (test-xfail-XPG3/pwd.h/conform): Likewise.
3840 (test-xfail-XPG3/search.h/conform): Likewise.
3841 (test-xfail-XPG3/signal.h/conform): Likewise.
3842 (test-xfail-XPG3/stdio.h/conform): Likewise.
3843 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3844 (test-xfail-XPG3/string.h/conform): Likewise.
3845 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3846 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3847 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3848 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3849 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3850 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3851 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3852 (test-xfail-XPG3/termios.h/conform): Likewise.
3853 (test-xfail-XPG3/time.h/conform): Likewise.
3854 (test-xfail-XPG3/unistd.h/conform): Likewise.
3855 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3856 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3857 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3858 (test-xfail-XPG4/netdb.h/conform): Likewise.
3859 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3860 (test-xfail-XPG4/signal.h/conform): Likewise.
3861 (test-xfail-XPG4/stdio.h/conform): Likewise.
3862 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3863 (test-xfail-XPG4/stropts.h/conform): Likewise.
3864 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3865 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3866 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3867 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3868 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3869 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3870 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3871 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3872 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3873 (test-xfail-XPG4/termios.h/conform): Likewise.
3874 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3875 (test-xfail-XPG4/unistd.h/conform): Likewise.
3876 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3877 (test-xfail-POSIX/sched.h/conform): Likewise.
3878 (test-xfail-POSIX/signal.h/conform): Likewise.
3879 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3880 (test-xfail-POSIX/tar.h/conform): Likewise.
3881 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3882 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3883 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3884 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3885 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3886 (test-xfail-UNIX98/sched.h/conform): Likewise.
3887 (test-xfail-UNIX98/signal.h/conform): Likewise.
3888 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3889 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3890 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3891 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3892 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3893 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3894 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3895 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3896 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3897 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3898 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3899 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3900 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3901 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3902 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3903 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3904 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3905 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3906 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3907 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3908 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3909 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3910 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3911 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3912 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3913 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3914 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3915 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3916 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3917 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3918 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3919 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3920 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3921 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3922 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3923 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3924 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3925 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3926 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3927 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3928 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3929 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3930 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3931 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3932 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3933 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3934 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3935 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3936 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3937 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3938 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3939 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3940 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3941 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3942 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3943 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3944 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3945 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3946 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3947 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3948 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3949 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3950 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3951 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3952 (conformtest-cc-flags): Likewise.
3953 ($(conformtest-header-tests): New target.
3954 * conform/check-header-lists.sh: New file.
3955 * conform/run-conformtest.sh: Remove.
3957 * conform/conformtest.pl: Allow ' and \ in values given for
3959 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3961 [POSIX] (sys/types.h): Likewise.
3962 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3964 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3966 * conform/data/signal.h-data (SIGIO): Remove expectation.
3967 [XPG3] (SIGBUS): Do not expect.
3968 [POSIX || XPG3] (SIGPOLL): Likewise.
3969 [POSIX || XPG3] (SIGPROF): Likewise.
3970 [POSIX || XPG3] (SIGSYS): Likewise.
3971 [XPG3] (SIGTRAP): Likewise.
3972 [POSIX || XPG3] (SIGURG): Likewise.
3973 [POSIX || XPG3] (SIGVTALRM): Likewise.
3974 [POSIX || XPG3] (SIGXCPU): Likewise.
3975 [POSIX || XPG3] (SIGXFSZ): Likewise.
3976 [POSIX] (SA_SIGINFO): Expect.
3977 [XPG3] (siginfo_t): Do not expect type or contents.
3978 [POSIX] (si_pid): Do not expect element.
3979 [POSIX] (si_uid): Likewise.
3980 [POSIX] (si_addr): Likewise.
3981 [POSIX] (si_status): Likewise.
3982 [POSIX] (si_band): Likewise.
3983 [XPG4] (si_value): Likewise.
3984 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3985 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3986 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3987 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3988 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3989 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3990 [POSIX || XPG3] (ILL_COPROC): Likewise.
3991 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3992 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3993 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3994 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3995 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3996 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3997 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3998 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3999 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4000 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4001 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4002 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4003 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4004 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4005 [POSIX || XPG3] (CLD_EXITED): Likewise.
4006 [POSIX || XPG3] (CLD_KILLED): Likewise.
4007 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4008 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4009 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4010 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4011 [POSIX || XPG3] (POLL_IN): Likewise.
4012 [POSIX || XPG3] (POLL_OUT): Likewise.
4013 [POSIX || XPG3] (POLL_MSG): Likewise.
4014 [POSIX || XPG3] (POLL_ERR): Likewise.
4015 [POSIX || XPG3] (POLL_PRI): Likewise.
4016 [POSIX || XPG3] (POLL_HUP): Likewise.
4017 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4018 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4019 (SIG*): Do not allow.
4020 [XPG3] (si_*): Likewise.
4021 [XPG3] (SI_*): Likewise.
4022 [XPG3 || XPG4] (sigev_*): Likewise.
4023 [XPG3 || XPG4] (SIGEV_*): Likewise.
4024 [XPG3 || XPG4] (sival_*): Likewise.
4025 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4026 [POSIX || XPG3] (BUS_*): Likewise.
4027 [POSIX || XPG3] (CLD_*): Likewise.
4028 [POSIX || XPG3] (FPE_*): Likewise.
4029 [POSIX || XPG3] (ILL_*): Likewise.
4030 [POSIX || XPG3] (POLL_*): Likewise.
4031 [POSIX || XPG3] (SEGV_*): Likewise.
4032 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4033 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4034 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4035 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4036 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4037 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4038 Specify type and value.
4039 (TVERSLEN): Likewise.
4040 (REGTYPE): Likewise.
4041 (AREGTYPE): Likewise.
4042 (LNKTYPE): Likewise.
4043 (SYMTYPE): Likewise.
4044 (CHRTYPE): Likewise.
4045 (BLKTYPE): Likewise.
4046 (DIRTYPE): Likewise.
4047 (FIFOTYPE): Likewise.
4048 (CONTTYPE): Likewise.
4053 (TUWRITE): Likewise.
4056 (TGWRITE): Likewise.
4059 (TOWRITE): Likewise.
4061 [POSIX] (TSVTX): Expect constant.
4063 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4065 * Makefile (tests): Change dependencies to ....
4066 (tests-special): ... additions to this variable.
4067 (tests): Depend on $(tests-special).
4068 * Makerules (check-abi-list): New variable.
4069 (check-abi): Depend on $(check-abi-list).
4070 [$(subdir) = elf] (tests-special): Add
4071 $(objpfx)check-abi-libc.out.
4072 [$(build-shared) = yes && subdir] (tests-special): Add
4074 [$(build-shared) = yes && subdir] (tests): Do not depend on
4076 * Rules (tests): Depend on $(tests-special).
4077 (xtests): Depend on $(xtests-special).
4078 * catgets/Makefile (tests): Change dependencies to ....
4079 (tests-special): ... additions to this variable.
4080 * conform/Makefile (tests): Change dependencies to ....
4081 (tests-special): ... additions to this variable.
4082 * elf/Makefile (tests): Change dependencies to ....
4083 (tests-special): ... additions to this variable.
4084 * grp/Makefile (tests): Change dependencies to ....
4085 (tests-special): ... additions to this variable.
4086 * iconv/Makefile (xtests): Change dependencies to ....
4087 (xtests-special): ... additions to this variable.
4088 * iconvdata/Makefile (tests): Change dependencies to ....
4089 (tests-special): ... additions to this variable.
4090 * intl/Makefile (tests): Change dependencies to ....
4091 (tests-special): ... additions to this variable. Also add
4092 $(objpfx)tst-gettext.out.
4093 * io/Makefile (tests): Change dependencies to ....
4094 (tests-special): ... additions to this variable.
4095 * libio/Makefile (tests): Change dependencies to ....
4096 (tests-special): ... additions to this variable.
4097 * malloc/Makefile (tests): Change dependencies to ....
4098 (tests-special): ... additions to this variable.
4099 * misc/Makefile (tests): Change dependencies to ....
4100 (tests-special): ... additions to this variable.
4101 * nptl/Makefile (tests): Change dependencies to ....
4102 (tests-special): ... additions to this variable.
4103 * nptl_db/Makefile (tests): Change dependencies to ....
4104 (tests-special): ... additions to this variable.
4105 * posix/Makefile (tests): Change dependencies to ....
4106 (tests-special): ... additions to this variable.
4107 (xtests): Change dependencies to ....
4108 (xtests-special): ... additions to this variable.
4109 * resolv/Makefile (tests): Change dependencies to ....
4110 (tests-special): ... additions to this variable.
4111 (xtests): Change dependencies to ....
4112 (xtests-special): ... additions to this variable.
4113 * stdio-common/Makefile (tests): Change dependencies to ....
4114 (tests-special): ... additions to this variable.
4115 (do-tst-unbputc): Remove target.
4116 (do-tst-printf): Likewise.
4117 * stdlib/Makefile (tests): Change dependencies to ....
4118 (tests-special): ... additions to this variable.
4119 * string/Makefile (tests): Change dependencies to ....
4120 (tests-special): ... additions to this variable.
4121 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4122 (tests-special): ... additions to this variable.
4124 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4126 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4128 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4129 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4131 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4132 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4133 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4134 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4135 * conform/data/libgen.h-data [XPG3]: Likewise.
4136 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4137 * conform/data/ndbm.h-data [XPG3]: Likewise.
4138 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4139 * conform/data/netdb.h-data [XPG3]: Likewise.
4140 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4141 * conform/data/poll.h-data [XPG3]: Likewise.
4142 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4143 * conform/data/strings.h-data [XPG3]: Likewise.
4144 * conform/data/stropts.h-data [XPG3]: Likewise.
4145 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4146 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4147 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4149 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4150 * conform/data/sys/time.h-data [XPG3]: Likewise.
4151 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4152 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4153 * conform/data/sys/un.h-data [XPG3]: Likewise.
4154 * conform/data/syslog.h-data [XPG3]: Likewise.
4155 * conform/data/ucontext.h-data [XPG3]: Likewise.
4156 * conform/data/utmpx.h-data [XPG3]: Likewise.
4157 * conform/data/varargs.h-data [UNIX98]: Enable file.
4159 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4161 * math/libm-test.inc (struct test_f_f_data): Move expected results
4162 into structure for each rounding mode.
4163 (struct test_ff_f_data): Likewise.
4164 (struct test_ff_f_data_nexttoward): Likewise.
4165 (struct test_fi_f_data): Likewise.
4166 (struct test_fl_f_data): Likewise.
4167 (struct test_if_f_data): Likewise.
4168 (struct test_fff_f_data): Likewise.
4169 (struct test_c_f_data): Likewise.
4170 (struct test_f_f1_data): Likewise.
4171 (struct test_fF_f1_data): Likewise.
4172 (struct test_ffI_f1_data): Likewise.
4173 (struct test_c_c_data): Likewise.
4174 (struct test_cc_c_data): Likewise.
4175 (struct test_f_i_data): Likewise.
4176 (struct test_ff_i_data): Likewise.
4177 (struct test_f_l_data): Likewise.
4178 (struct test_f_L_data): Likewise.
4179 (struct test_fFF_11_data): Likewise.
4181 (RM_FE_DOWNWARD): Likewise.
4182 (RM_FE_TONEAREST): Likewise.
4183 (RM_FE_TOWARDZERO): Likewise.
4184 (RM_FE_UPWARD): Likewise.
4185 (RUN_TEST_LOOP_f_f): Update references to expected results.
4186 (RUN_TEST_LOOP_2_f): Likewise.
4187 (RUN_TEST_LOOP_fff_f): Likewise.
4188 (RUN_TEST_LOOP_c_f): Likewise.
4189 (RUN_TEST_LOOP_f_f1): Likewise.
4190 (RUN_TEST_LOOP_fF_f1): Likewise.
4191 (RUN_TEST_LOOP_fI_f1): Likewise.
4192 (RUN_TEST_LOOP_ffI_f1): Likewise.
4193 (RUN_TEST_LOOP_c_c): Likewise.
4194 (RUN_TEST_LOOP_cc_c): Likewise.
4195 (RUN_TEST_LOOP_f_i): Likewise.
4196 (RUN_TEST_LOOP_f_i_tg): Likewise.
4197 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4198 (RUN_TEST_LOOP_f_b): Likewise.
4199 (RUN_TEST_LOOP_f_b_tg): Likewise.
4200 (RUN_TEST_LOOP_f_l): Likewise.
4201 (RUN_TEST_LOOP_f_L): Likewise.
4202 (RUN_TEST_LOOP_fFF_11): Likewise.
4203 * math/gen-libm-test.pl (parse_args): Output four copies of
4204 expected results for each test.
4206 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4207 (__ASSUME_UTIMES): Remove.
4208 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4209 (__ASSUME_UTIMES): Likewise.
4211 * math/gen-auto-libm-tests.c: Update comment on output format.
4212 (output_for_one_input_case): Generate before-rounding and
4213 after-rounding information as conditions on output flags not
4214 floating-point format.
4215 * math/auto-libm-test-out: Regenerated.
4216 * math/gen-libm-test.pl (cond_value): New function.
4217 (or_cond_value): Use cond_value.
4218 (generate_testfile): Handle conditional exceptions.
4220 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4222 * math/libm-test.inc (max_valid_error): New variable.
4223 (init_max_error): Take new argument specifying whether function
4224 results are exactly determined. Set max_valid_error and bound
4225 other variables for errors based on this argument.
4226 (set_max_error): Do not record results above max_valid_error.
4227 (check_float_internal): Only accept errors of up to 0.5ulps if
4228 also at most max_valid_error.
4229 (START): Take new argument EXACT and pass it to init_max_error.
4230 (acos_test): Update call to START.
4231 (acos_test_tonearest): Likewise.
4232 (acos_test_towardzero): Likewise.
4233 (acos_test_downward): Likewise.
4234 (acos_test_upward): Likewise.
4235 (acosh_test): Likewise.
4236 (asin_test): Likewise.
4237 (asin_test_tonearest): Likewise.
4238 (asin_test_towardzero): Likewise.
4239 (asin_test_downward): Likewise.
4240 (asin_test_upward): Likewise.
4241 (asinh_test): Likewise.
4242 (atan_test): Likewise.
4243 (atanh_test): Likewise.
4244 (atan2_test): Likewise.
4245 (cabs_test): Likewise.
4246 (cacos_test): Likewise.
4247 (cacosh_test): Likewise.
4248 (carg_test): Likewise.
4249 (casin_test): Likewise.
4250 (casinh_test): Likewise.
4251 (catan_test): Likewise.
4252 (catanh_test): Likewise.
4253 (cbrt_test): Likewise.
4254 (ccos_test): Likewise.
4255 (ccosh_test): Likewise.
4256 (ceil_test): Likewise.
4257 (cexp_test): Likewise.
4258 (cimag_test): Likewise.
4259 (clog_test): Likewise.
4260 (clog10_test): Likewise.
4261 (conj_test): Likewise.
4262 (copysign_test): Likewise.
4263 (cos_test): Likewise.
4264 (cos_test_tonearest): Likewise.
4265 (cos_test_towardzero): Likewise.
4266 (cos_test_downward): Likewise.
4267 (cos_test_upward): Likewise.
4268 (cosh_test): Likewise.
4269 (cosh_test_tonearest): Likewise.
4270 (cosh_test_towardzero): Likewise.
4271 (cosh_test_downward): Likewise.
4272 (cosh_test_upward): Likewise.
4273 (cpow_test): Likewise.
4274 (cproj_test): Likewise.
4275 (creal_test): Likewise.
4276 (csin_test): Likewise.
4277 (csinh_test): Likewise.
4278 (csqrt_test): Likewise.
4279 (ctan_test): Likewise.
4280 (ctan_test_tonearest): Likewise.
4281 (ctan_test_towardzero): Likewise.
4282 (ctan_test_downward): Likewise.
4283 (ctan_test_upward): Likewise.
4284 (ctanh_test): Likewise.
4285 (ctanh_test_tonearest): Likewise.
4286 (ctanh_test_towardzero): Likewise.
4287 (ctanh_test_downward): Likewise.
4288 (ctanh_test_upward): Likewise.
4289 (erf_test): Likewise.
4290 (erfc_test): Likewise.
4291 (exp_test): Likewise.
4292 (exp_test_tonearest): Likewise.
4293 (exp_test_towardzero): Likewise.
4294 (exp_test_downward): Likewise.
4295 (exp_test_upward): Likewise.
4296 (exp10_test): Likewise.
4297 (exp10_test_tonearest): Likewise.
4298 (exp10_test_towardzero): Likewise.
4299 (exp10_test_downward): Likewise.
4300 (exp10_test_upward): Likewise.
4301 (pow10_test): Likewise.
4302 (exp2_test): Likewise.
4303 (expm1_test): Likewise.
4304 (expm1_test_tonearest): Likewise.
4305 (expm1_test_towardzero): Likewise.
4306 (expm1_test_downward): Likewise.
4307 (expm1_test_upward): Likewise.
4308 (fabs_test): Likewise.
4309 (fdim_test): Likewise.
4310 (floor_test): Likewise.
4311 (fma_test): Likewise.
4312 (fma_test_towardzero): Likewise.
4313 (fma_test_downward): Likewise.
4314 (fma_test_upward): Likewise.
4315 (fmax_test): Likewise.
4316 (fmin_test): Likewise.
4317 (fmod_test): Likewise.
4318 (fpclassify_test): Likewise.
4319 (frexp_test): Likewise.
4320 (hypot_test): Likewise.
4321 (ilogb_test): Likewise.
4322 (isfinite_test): Likewise.
4323 (finite_test): Likewise.
4324 (isgreater_test): Likewise.
4325 (isgreaterequal_test): Likewise.
4326 (isinf_test): Likewise.
4327 (isless_test): Likewise.
4328 (islessequal_test): Likewise.
4329 (islessgreater_test): Likewise.
4330 (isnan_test): Likewise.
4331 (isnormal_test): Likewise.
4332 (issignaling_test): Likewise.
4333 (isunordered_test): Likewise.
4334 (j0_test): Likewise.
4335 (j1_test): Likewise.
4336 (jn_test): Likewise.
4337 (ldexp_test): Likewise.
4338 (lgamma_test): Likewise.
4339 (gamma_test): Likewise.
4340 (lrint_test): Likewise.
4341 (lrint_test_tonearest): Likewise.
4342 (lrint_test_towardzero): Likewise.
4343 (lrint_test_downward): Likewise.
4344 (lrint_test_upward): Likewise.
4345 (llrint_test): Likewise.
4346 (llrint_test_tonearest): Likewise.
4347 (llrint_test_towardzero): Likewise.
4348 (llrint_test_downward): Likewise.
4349 (llrint_test_upward): Likewise.
4350 (log_test): Likewise.
4351 (log10_test): Likewise.
4352 (log1p_test): Likewise.
4353 (log2_test): Likewise.
4354 (logb_test): Likewise.
4355 (logb_test_downward): Likewise.
4356 (lround_test): Likewise.
4357 (llround_test): Likewise.
4358 (modf_test): Likewise.
4359 (nearbyint_test): Likewise.
4360 (nextafter_test): Likewise.
4361 (nexttoward_test): Likewise.
4362 (pow_test): Likewise.
4363 (pow_test_tonearest): Likewise.
4364 (pow_test_towardzero): Likewise.
4365 (pow_test_downward): Likewise.
4366 (pow_test_upward): Likewise.
4367 (remainder_test): Likewise.
4368 (drem_test): Likewise.
4369 (remainder_test_tonearest): Likewise.
4370 (drem_test_tonearest): Likewise.
4371 (remainder_test_towardzero): Likewise.
4372 (drem_test_towardzero): Likewise.
4373 (remainder_test_downward): Likewise.
4374 (drem_test_downward): Likewise.
4375 (remainder_test_upward): Likewise.
4376 (drem_test_upward): Likewise.
4377 (remquo_test): Likewise.
4378 (rint_test): Likewise.
4379 (rint_test_tonearest): Likewise.
4380 (rint_test_towardzero): Likewise.
4381 (rint_test_downward): Likewise.
4382 (rint_test_upward): Likewise.
4383 (round_test): Likewise.
4384 (scalb_test): Likewise.
4385 (scalbn_test): Likewise.
4386 (scalbln_test): Likewise.
4387 (signbit_test): Likewise.
4388 (sin_test): Likewise.
4389 (sin_test_tonearest): Likewise.
4390 (sin_test_towardzero): Likewise.
4391 (sin_test_downward): Likewise.
4392 (sin_test_upward): Likewise.
4393 (sincos_test): Likewise.
4394 (sinh_test): Likewise.
4395 (sinh_test_tonearest): Likewise.
4396 (sinh_test_towardzero): Likewise.
4397 (sinh_test_downward): Likewise.
4398 (sinh_test_upward): Likewise.
4399 (sqrt_test): Likewise.
4400 (sqrt_test_tonearest): Likewise.
4401 (sqrt_test_towardzero): Likewise.
4402 (sqrt_test_downward): Likewise.
4403 (sqrt_test_upward): Likewise.
4404 (tan_test): Likewise.
4405 (tan_test_tonearest): Likewise.
4406 (tan_test_towardzero): Likewise.
4407 (tan_test_downward): Likewise.
4408 (tan_test_upward): Likewise.
4409 (tanh_test): Likewise.
4410 (tgamma_test): Likewise.
4411 (trunc_test): Likewise.
4412 (y0_test): Likewise.
4413 (y1_test): Likewise.
4414 (yn_test): Likewise.
4415 (significand_test): Likewise.
4417 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4418 individual tests in comment.
4419 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4420 (prev_max_error): New variable.
4421 (prev_real_max_error): Likewise.
4422 (prev_imag_max_error): Likewise.
4423 (compare_ulp_data): Don't refer to test names in comment.
4424 (find_test_ulps): Remove function.
4425 (find_function_ulps): Likewise.
4426 (find_complex_function_ulps): Likewise.
4427 (init_max_error): Take function name as argument. Look up ulps
4429 (print_ulps): Remove function.
4430 (print_max_error): Use prev_max_error instead of calling
4432 (print_complex_max_error): Use prev_real_max_error and
4433 prev_imag_max_error instead of calling find_complex_function_ulps.
4434 (check_float_internal): Take max_ulp parameter instead of calling
4435 find_test_ulps. Don't call print_ulps.
4436 (check_float): Update call to check_float_internal.
4437 (check_complex): Update calls to check_float_internal.
4438 (START): Pass argument to init_max_error.
4439 * math/gen-libm-test.pl (%results): Don't include "kind"
4441 (parse_ulps): Don't handle ulps of individual tests.
4442 (print_ulps_file): Likewise.
4443 (output_ulps): Likewise.
4444 * math/README.libm-test: Update.
4445 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4447 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4448 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4449 * sysdeps/arm/libm-test-ulps: Likewise.
4450 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4451 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4452 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4453 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4454 * sysdeps/microblaze/libm-test-ulps: Likewise.
4455 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4456 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4457 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4458 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4459 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4460 * sysdeps/sh/libm-test-ulps: Likewise.
4461 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4462 * sysdeps/tile/libm-test-ulps: Likewise.
4463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4465 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4467 * math/libm-test.inc (print_complex_max_error): Check separately
4468 whether real and imaginary errors are within allowed range and
4469 pass 0 to print_complex_function_ulps instead of value within
4472 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4474 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4476 (get_handles_fopen): Likewise.
4477 (do_write_test): Likewise.
4479 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4481 * libio/fileops.c (do_ftell): Use cached offset when
4483 * libio/iofwide.c (do_ftell_wide): Likewise.
4484 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4486 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4489 * libio/libioP.h (get_file_offset): New function.
4490 * libio/fileops.c (get_file_offset): Likewise.
4491 (do_ftell): Likewise.
4492 (_IO_new_file_seekoff): Split out ftell logic.
4493 * libio/wfileops.c (do_ftell_wide): Likewise.
4494 (_IO_wfile_seekoff): Split out ftell logic.
4495 * libio/tst-ftell-active-handler.c: New test case.
4496 * libio/Makefile (tests): Add it.
4498 2014-03-03 Roland McGrath <roland@hack.frob.com>
4500 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4501 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4503 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4506 * nscd/connections.c (nscd_init): Call do_exit.
4507 (start_threads): Call do_exit and notify_parent.
4508 (begin_drop_privileges): Call do_exit.
4509 (finish_drop_privileges): Likewise.
4510 * nscd/selinux.c (preserve_capabilities): Likewise.
4511 (install_real_capabilities): Likewise.
4512 (nscd_selinux_enabled): Likewise.
4513 (avc_create_thread): Likewise.
4514 (avc_alloc_lock): Likewise.
4515 (nscd_avc_init): Likewise.
4516 * nscd/nscd.c (parent_fd): New static variable.
4517 (main): Create a pipe between parent and child processes.
4518 Skip closing parent_fd.
4519 (monitor_child): New function.
4520 (do_exit): Likewise.
4521 (notify_parent): Likewise.
4522 * nscd/nscd.h (notify_parent): Likewise.
4523 (do_exit): Likewise.
4525 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4527 * malloc/malloc.c (__libc_calloc): Revert last change.
4529 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4533 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4535 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4539 (__libc_ifunc_impl_list): Likewise.
4540 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4541 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4542 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4543 * string/strrchr.c: Define STRRCHR.
4545 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4547 * benchtest/bench-strtok.c (simple_strtok): Delete.
4548 (strtok_string): Use as benchmark.
4549 * string/strtok (STRTOK): New macro.
4551 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4553 * manual/threads.texi: Add header and standard comments to all
4556 * elf/dl-lookup.c (check_match): New function.
4557 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4558 (do_lookup_x): Remove nested function check_match. Use non-nested
4559 function check_match.
4561 2014-02-28 Roland McGrath <roland@hack.frob.com>
4563 * csu/Makefile (generated, before-compile): Use += rather than =.
4564 * catgets/Makefile (generated, generated-dirs): Likewise.
4565 * debug/Makefile (generated): Likewise.
4566 * dlfcn/Makefile (generated): Likewise.
4567 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4568 * iconvdata/Makefile (before-compile, generated): Likewise.
4569 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4570 * libio/Makefile (generated): Likewise.
4571 * malloc/Makefile (generated): Likewise.
4572 * manual/Makefile (generated, generated-dirs): Likewise.
4573 * misc/Makefile (generated): Likewise.
4574 * posix/Makefile (generated): Likewise.
4575 * resolv/Makefile (generated): Likewise.
4576 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4577 * timezone/Makefile (generated, generated-dirs): Likewise.
4579 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4581 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4584 power8 implementation.
4585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4586 file: POWER8 llround ifunc implementation.
4587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4588 (__lllround): Add POWER8 implementation.
4589 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4590 POWER8 llround implementation.
4592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4593 power8 implementation.
4594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4595 file: POWER8 llrint ifunc implementation.
4596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4597 Add POWER8 implementation.
4598 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4599 POWER8 llrint implementation.
4601 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4602 power8 implementation.
4603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4604 file: POWER8 finite ifunc implementation.
4605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4606 Add POWER8 implementation.
4607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4609 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4610 POWER8 finite implementation.
4611 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4613 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4614 power8 implementation.
4615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4616 file: POWER8 isinf ifunc implementation.
4617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4618 POWER8 implementation.
4619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4621 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4622 isinf implementation.
4623 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4625 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4626 (INIT_ARCH): Add hwcap2 initialization.
4627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4628 power8 implementation.
4629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4630 file: POWER8 isnan ifunc implementation.
4631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4632 POWER8 implementation.
4633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4635 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4636 isnan implementation.
4637 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4639 2014-02-27 Joey Ye <joey.ye@arm.com>
4641 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4642 (_FP_NANFRAC_Q): Set to zero.
4644 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4647 * math/auto-libm-test-in: New test inputs.
4648 * math/auto-libm-test-out: Regenerate.
4649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4652 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4654 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4656 * scripts/evaluate-test.sh: Take new argument indicating whether
4657 failure is expected.
4658 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4659 indicating whether failure is expected.
4660 * conform/Makefile (test-xfail-run-conformtest): New variable.
4661 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4663 * posix/Makefile (test-xfail-annexc): New variable.
4664 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4666 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4668 * argp/Makefile: Include Makeconfig immediately after defining
4670 * assert/Makefile: Likewise.
4671 * benchtests/Makefile: Likewise.
4672 * catgets/Makefile: Likewise.
4673 * conform/Makefile: Likewise.
4674 * crypt/Makefile: Likewise.
4675 * csu/Makefile: Likewise.
4676 (all): Remove target.
4677 * ctype/Makefile: Include Makeconfig immediately after defining
4679 * debug/Makefile: Likewise.
4680 * dirent/Makefile: Likewise.
4681 * dlfcn/Makefile: Likewise.
4682 * gmon/Makefile: Likewise.
4683 * gnulib/Makefile: Likewise.
4684 * grp/Makefile: Likewise.
4685 * gshadow/Makefile: Likewise.
4686 * hesiod/Makefile: Likewise.
4687 * hurd/Makefile: Likewise.
4688 (all): Remove target.
4689 * iconvdata/Makefile: Include Makeconfig immediately after
4691 * inet/Makefile: Likewise.
4692 * intl/Makefile: Likewise.
4693 * io/Makefile: Likewise.
4694 * libio/Makefile: Likewise.
4695 (all): Remove target.
4696 * locale/Makefile: Include Makeconfig immediately after defining
4698 * login/Makefile: Likewise.
4699 * mach/Makefile: Likewise.
4700 (all): Remove target.
4701 * malloc/Makefile: Include Makeconfig immediately after defining
4703 (all): Remove target.
4704 * manual/Makefile: Include Makeconfig immediately after defining
4706 * math/Makefile: Likewise.
4707 * misc/Makefile: Likewise.
4708 * nis/Makefile: Likewise.
4709 * nss/Makefile: Likewise.
4710 * po/Makefile: Likewise.
4711 (all): Remove target.
4712 * posix/Makefile: Include Makeconfig immediately after defining
4714 * pwd/Makefile: Likewise.
4715 * resolv/Makefile: Likewise.
4716 * resource/Makefile: Likewise.
4717 * rt/Makefile: Likewise.
4718 * setjmp/Makefile: Likewise.
4719 * shadow/Makefile: Likewise.
4720 * signal/Makefile: Likewise.
4721 * socket/Makefile: Likewise.
4722 * soft-fp/Makefile: Likewise.
4723 * stdio-common/Makefile: Likewise.
4724 * stdlib/Makefile: Likewise.
4725 * streams/Makefile: Likewise.
4726 * string/Makefile: Likewise.
4727 * sunrpc/Makefile: Likewise.
4728 (all): Remove target.
4729 * sysvipc/Makefile: Include Makeconfig immediately after defining
4731 * termios/Makefile: Likewise.
4732 * time/Makefile: Likewise.
4733 * timezone/Makefile: Likewise.
4734 (all): Remove target.
4735 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4737 * wctype/Makefile: Likewise.
4739 2014-02-26 Steve Ellcey <sellcey@mips.com>
4741 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4742 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4743 (libc_feholdexcept_setround_mips): Ditto.
4744 (libc_feholdsetround): New.
4745 (libc_feholdsetroundf): New.
4746 (libc_feholdsetroundl): New.
4747 (libc_feupdateenv_test_mips): New.
4748 (libc_feupdateenv_test): New.
4749 (libc_feupdateenv_testf): New.
4750 (libc_feupdateenv_testl): New.
4751 (libc_feresetround): New.
4752 (libc_feresetroundf): New.
4753 (libc_feresetroundl): New.
4754 (libc_fetestexcept_mips): New.
4755 (libc_fetestexcept): New.
4756 (libc_fetestexceptf): New.
4757 (libc_fetestexceptl): New.
4759 (libc_feholdexcept_setround_mips_ctx): New.
4760 (libc_feholdexcept_setround_ctx): New.
4761 (libc_feholdexcept_setroundf_ctx): New.
4762 (libc_feholdexcept_setroundl_ctx): New.
4763 (libc_fesetenv_mips_ctx): New.
4764 (libc_fesetenv_ctx): New.
4765 (libc_fesetenv_ctxf): New.
4766 (libc_fesetenv_ctxl): New.
4767 (libc_feupdateenv_mips_ctx): New.
4768 (libc_feupdateenv_ctx): New.
4769 (libc_feupdateenvf_ctx): New.
4770 (libc_feupdateenvl_ctx): New.
4771 (libc_feholdsetround_mips_ctx): New.
4772 (libc_feholdsetround_ctx): New.
4773 (libc_feholdsetroundf_ctx): New.
4774 (libc_feholdsetroundl_ctx): New.
4775 (libc_feresetround_mips_ctx): New.
4776 (libc_feresetround_ctx): New.
4777 (libc_feresetroundf_ctx): New.
4778 (libc_feresetroundl_ctx): New.
4780 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4782 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4784 * manual/ipc.texi: New file.
4785 * manual/Makefile (chapters): Add ipc.
4786 * manual/job.texi: Add "Inter-Process Communication" to next.
4787 * manual/process.texi: Add "Inter-Process Communication" to prev.
4789 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4793 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4795 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4797 * manual/arith.texi: Fix spaces after sentences.
4798 * manual/charset.texi: Likewise.
4799 * manual/errno.texi: Likewise.
4800 * manual/install.texi: Likewise.
4801 * manual/llio.texi: Likewise.
4802 * manual/locale.texi: Likewise.
4803 * manual/maint.texi: Likewise.
4804 * manual/math.texi: Likewise.
4805 * manual/memory.texi: Likewise.
4806 * manual/message.texi: Likewise.
4807 * manual/probes.texi: Likewise.
4808 * manual/resource.texi: Likewise.
4809 * manual/signal.texi: Likewise.
4810 * manual/socket.texi: Likewise.
4811 * manual/stdio.texi: Likewise.
4812 * manual/string.texi: Likewise.
4813 * manual/time.texi: Likewise.
4814 * manual/users.texi: Likewise.
4816 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4819 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4820 _DEFAULT_SOURCE is defined.
4822 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4823 Carlos O'Donell <carlos@redhat.com>
4826 * elf/dl-tls.c (_dl_count_modids): New function.
4827 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4828 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4829 audit library and increment generation counter.
4830 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4831 * elf/tst-audit9.c: New file.
4832 * elf/tst-auditmod9a.c: New file.
4833 * elf/tst-auditmod9b.c: New file.
4834 * elf/Makefile: Add rules to build and run tst-audit9.
4836 2014-02-25 Florian Weimer <fweimer@redhat.com>
4839 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4841 2014-02-25 Will Newton <will.newton@linaro.org>
4843 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4844 (__longjmp): Restore sp and lr before restoring callee
4845 saved registers. Add longjmp and longjmp_target
4846 SystemTap probe point.
4847 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4848 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4849 Define to zero to match jmpbuf layout.
4850 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4851 (__sigsetjmp): Save sp and lr before saving callee
4852 saved registers. Add setjmp SystemTap probe point.
4854 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4856 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4858 2014-02-24 Andreas Schwab <schwab@suse.de>
4861 * elf/pldd.c (wait_for_ptrace_stop): New function.
4862 (main): Call it after attaching.
4864 2014-02-22 Roland McGrath <roland@hack.frob.com>
4866 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4867 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4868 Versions files is now verboten.
4869 * hurd/Versions (libc: GLIBC_2.0):
4870 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4871 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4872 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4873 * mach/Versions: Likewise.
4875 * csu/Versions: Remove unused %include.
4876 * resolv/Versions: Likewise.
4878 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4880 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4881 ($(objpfx)check-local-headers.out): Likewise.
4882 ($(objpfx)begin-end-check.out): Likewise.
4883 * Makerules (check-abi-%.out): Likewise.
4884 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4885 ($(objpfx)test2.cat): Likewise.
4886 ($(objpfx)de/libc.cat): Likewise.
4887 ($(objpfx)test-gencat.out): Likewise.
4888 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4889 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4890 ($(objpfx)noload-mem): Likewise.
4891 ($(objpfx)tst-pathopt.out): Likewise.
4892 ($(objpfx)tst-rtld-load-self.out): Likewise.
4893 ($(objpfx)tst-array1-cmp.out): Likewise.
4894 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4895 ($(objpfx)tst-array2-cmp.out): Likewise.
4896 ($(objpfx)tst-array3-cmp.out): Likewise.
4897 ($(objpfx)tst-array4-cmp.out): Likewise.
4898 ($(objpfx)tst-array5-cmp.out): Likewise.
4899 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4900 ($(objpfx)check-textrel.out): Likewise.
4901 ($(objpfx)check-execstack.out): Likewise.
4902 ($(objpfx)check-localplt.out): Likewise.
4903 ($(objpfx)order2-cmp.out): Likewise.
4904 ($(objpfx)tst-leaks1-mem): Likewise.
4905 ($(objpfx)tst-leaks1-static-mem): Likewise.
4906 ($(objpfx)tst-initorder-cmp.out): Likewise.
4907 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4908 ($(objpfx)tst-unused-dep.out): Likewise.
4909 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4910 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4911 * iconv/Makefile (test-iconvconfig): Likewise.
4912 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4913 ($(objpfx)iconv-test.out): Likewise.
4914 ($(objpfx)tst-tables.out): Likewise.
4915 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4916 ($(objpfx)tst-gettext.out): Likewise.
4917 ($(objpfx)tst-translit.out): Likewise.
4918 ($(objpfx)tst-gettext2.out): Likewise.
4919 ($(objpfx)tst-gettext4.out): Likewise.
4920 ($(objpfx)tst-gettext6.out): Likewise.
4921 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4922 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4923 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4924 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4925 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4926 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4927 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4928 ($(objpfx)wordexp-tst.out): Likewise.
4929 ($(objpfx)annexc.out): Likewise.
4930 ($(objpfx)tst-fnmatch-mem): Likewise.
4931 ($(objpfx)bug-regex2-mem): Likewise.
4932 ($(objpfx)bug-regex14-mem): Likewise.
4933 ($(objpfx)bug-regex21-mem): Likewise.
4934 ($(objpfx)bug-regex31-mem): Likewise.
4935 ($(objpfx)tst-vfork3-mem): Likewise.
4936 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4937 ($(objpfx)tst-pcre-mem): Likewise.
4938 ($(objpfx)tst-boost-mem): Likewise.
4939 ($(objpfx)tst-getconf.out): Likewise.
4940 ($(objpfx)bug-ga2-mem): Likewise.
4941 ($(objpfx)bug-glob2-mem): Likewise.
4942 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4943 ($(objpfx)mtrace-tst-leaks2): Likewise.
4944 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4945 ($(objpfx)tst-printf.out): Likewise.
4946 ($(objpfx)tst-setvbuf1.out): Likewise.
4947 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4948 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4949 ($(objpfx)tst-fmtmsg.out): Likewise.
4950 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4951 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4953 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4954 * bits/sigaction.h [__USE_MISC]: Likewise.
4955 * bits/waitstatus.h: Update #endif comments.
4956 * ctype/ctype.h: Likewise.
4957 * dirent/dirent.h: Likewise.
4958 [__USE_MISC]: Remove redundant conditionals.
4959 * grp/grp.h: Update #endif comments.
4960 [__USE_GNU]: Remove redundant conditionals.
4961 [__USE_MISC]: Likewise.
4962 * inet/netinet/in.h [__USE_GNU]: Likewise.
4963 * io/sys/stat.h [__USE_MISC]: Likewise.
4964 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4965 * libio/bits/stdio.h: Update #endif comments.
4966 [__USE_MISC]: Remove redundant conditionals.
4967 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4968 * libio/stdio.h: Update #endif comments.
4969 [__USE_MISC]: Remove redundant conditionals.
4970 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4971 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4972 * math/math.h: Update #else and #endif comments.
4973 [__USE_MISC]: Remove redundant conditionals.
4974 * misc/sys/uio.h: Update #endif comments.
4975 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4976 * posix/glob.h [__USE_MISC]: Likewise.
4977 * posix/sys/types.h: Update #endif comments.
4978 [__USE_MISC]: Remove redundant conditionals.
4979 * posix/sys/wait.h: Update #endif comments.
4980 [__USE_MISC]: Remove redundant conditionals.
4981 * posix/unistd.h: Update #endif comments.
4982 [__USE_MISC]: Remove redundant conditionals.
4983 * pwd/pwd.h [__USE_GNU]: Likewise.
4984 [__USE_MISC]: Likewise.
4985 * resolv/netdb.h [__USE_GNU]: Likewise.
4986 * signal/signal.h: Update #endif comments.
4987 [__USE_MISC]: Remove redundant conditionals.
4988 * stdlib/stdlib.h: Update #else and #endif comments.
4989 [__USE_MISC]: Remove redundant conditionals.
4990 [__USE_GNU]: Likewise.
4991 * string/bits/string2.h [__USE_MISC]: Likewise.
4992 * string/string.h: Update #endif comments.
4993 [__USE_MISC]: Remove redundant conditionals.
4994 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4996 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4997 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4998 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5000 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5004 [__USE_MISC]: Remove redundant conditionals.
5005 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5006 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5007 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5008 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5009 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5011 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5012 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5014 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5015 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5017 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5019 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5020 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5022 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5024 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5025 * sysdeps/x86/bits/string.h: Update #endif comments.
5026 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5028 * time/sys/time.h: Update #endif comments.
5029 * time/time.h: Likewise.
5030 [__USE_MISC]: Remove redundant conditionals.
5032 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5035 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5037 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5039 * Versions.def (librt): Add GLIBC_2.17.
5041 2014-02-21 Adam Conrad <adconrad@0c3.net>
5043 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5044 synonym for _SYS_AUXV_H to allow direct inclusion.
5045 * sysdeps/sparc/bits/hwcap.h: Likewise.
5046 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5047 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5048 * sysdeps/sparc/sysdep.h: Likewise.
5050 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5052 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5054 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5056 * benchtests/bench-strrchr.c: Print length instead of position.
5058 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5061 * sysdeps/unix/sysv/linux/kernel-features.h
5062 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5063 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5064 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5065 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5067 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5068 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5069 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5070 (__ASSUME_SENDMMSG): Define instead of using previous
5071 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5072 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5073 (__ASSUME_SENDMMSG_SYSCALL): Define.
5074 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5075 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5077 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5078 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5080 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5081 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5083 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5084 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5085 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5086 [__ASSUME_SENDMMSG]: Change conditionals to
5087 [__ASSUME_SENDMMSG_SOCKETCALL].
5088 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5089 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5091 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5092 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5094 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5095 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5096 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5097 [!__ASSUME_SENDMMSG]: Change conditional to
5098 [!__ASSUME_SENDMMSG_SOCKETCALL].
5099 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5100 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5104 * sysdeps/unix/sysv/linux/kernel-features.h
5105 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5106 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5107 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5108 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5109 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5110 [__i386__ || __sparc__]
5111 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5112 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5113 (__ASSUME_RECVMMSG): Define instead of using previous
5114 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5115 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5116 (__ASSUME_RECVMMSG_SYSCALL): Define.
5117 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5118 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5120 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5121 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5123 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5124 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5126 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5127 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5128 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5129 [__ASSUME_RECVMMSG]: Change condition to
5130 [__ASSUME_RECVMMSG_SOCKETCALL].
5131 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5132 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5134 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5135 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5136 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5138 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5139 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5140 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5141 [!__ASSUME_RECVMMSG]: Change condition to
5142 [!__ASSUME_RECVMMSG_SOCKETCALL].
5143 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5144 (__ASSUME_RECVMMSG_SYSCALL): Define.
5147 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5148 __powerpc__ || __s390__ || __sh__ || __sparc__]
5149 (__ASSUME_SOCKETCALL): Define.
5150 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5151 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5152 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5153 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5154 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5155 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5156 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5157 (__ASSUME_ACCEPT4): Define instead of using previous
5158 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5159 __powerpc__ || __sparc__ || __s390__)] condition.
5160 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5161 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5162 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5163 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5164 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5165 [!__ASSUME_ACCEPT4]: Change condition to
5166 [!__ASSUME_ACCEPT4_SOCKETCALL].
5167 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5168 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5169 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5170 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5171 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5172 __ASSUME_ACCEPT4_SYSCALL.
5173 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5174 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5175 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5176 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5177 __ASSUME_ACCEPT4_SYSCALL.
5178 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5179 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5180 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5181 [__ASSUME_ACCEPT4]: Change condition to
5182 [__ASSUME_ACCEPT4_SOCKETCALL].
5183 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5184 (__ASSUME_SOCKETCALL): Define.
5185 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5186 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5187 (__ASSUME_SOCKETCALL): Define.
5188 (__ASSUME_ACCEPT4): Remove.
5189 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5191 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5192 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5194 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5195 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5197 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5199 (HWCAP_ARM_LPAE): Likewise.
5200 (HWCAP_ARM_EVTSTRM): Likewise.
5201 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5202 Add vpfd32, lpae and evtstrm.
5203 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5206 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5208 * math/auto-libm-test-in: Add tests of clog10.
5209 * math/auto-libm-test-out: Regenerated.
5210 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5211 * sysdeps/i386/fpu/libm-test-ulps: Update.
5212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5214 2014-02-18 Andreas Schwab <schwab@suse.de>
5217 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5218 Store non-zero if the second buffer was newly allocated.
5219 (send_dg): Likewise.
5220 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5221 to send_vc and send_dg.
5222 (res_nsend): Pass NULL for ansp2_malloced.
5223 * resolv/res_query.c (__libc_res_nquery): Add parameter
5224 answerp2_malloced and pass it down to __libc_res_nsend.
5225 (res_nquery): Pass additional NULL to __libc_res_nquery.
5226 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5227 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5228 second answer buffer if answerp2_malloced was set.
5229 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5230 (__libc_res_nquerydomain): Add parameter
5231 answerp2_malloced and pass it down to __libc_res_nquery.
5232 (res_nquerydomain): Pass additional NULL to
5233 __libc_res_nquerydomain.
5234 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5235 additional NULL to __libc_res_nsend and __libc_res_nquery.
5236 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5237 additional NULL to __libc_res_nsearch.
5238 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5239 parameter of __libc_res_nsearch to check for separately allocated
5241 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5243 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5244 additional NULL to __libc_res_nquery.
5245 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5247 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5248 * include/resolv.h: Update prototypes of __libc_res_nquery,
5249 __libc_res_nsearch, __libc_res_nsend.
5251 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5253 * math/auto-libm-test-in: Add tests of fma.
5254 * math/auto-libm-test-out: Regenerated.
5255 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5256 (fma_towardzero_test_data): Likewise.
5257 (fma_downward_test_data): Likewise.
5258 (fma_upward_test_data): Likewise.
5259 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5261 (rounding_modes): Add values for new field.
5262 (func_calc_method): Add value mpfr_fff_f.
5263 (func_calc_desc): Add mpfr_fff_f union field.
5264 (test_function): Add field exact_args.
5265 (FUNC): Add macro argument EXACT_ARGS.
5266 (FUNC_mpfr_f_f): Update call to FUNC.
5267 (FUNC_mpfr_f_f): Likewise.
5268 (FUNC_mpfr_ff_f): Likewise.
5269 (FUNC_mpfr_if_f): Likewise.
5270 (FUNC_mpc_c_f): Likewise.
5271 (FUNC_mpc_c_c): Likewise.
5272 (test_functions): Add fma. Update calls to FUNC.
5273 (handle_input_arg): Add argument exact_args.
5274 (add_test): Update call to handle_input_arg.
5275 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5276 (output_for_one_input_case): Update call to calc_generic_results.
5277 Recalculate exact zero results in each rounding mode.
5279 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5280 non-negative before setting low bit.
5281 * math/auto-libm-test-in: Mark one asin test possibly having
5283 * math/auto-libm-test-out: Regenerated.
5284 * sysdeps/i386/fpu/libm-test-ulps: Update.
5285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5287 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5289 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5290 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5291 ports/sysdeps/unix/sysv/linux/microblaze.
5292 * README: Add missing listing for microblaze*-*-linux-gnu.
5294 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5296 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5297 * sysdeps/unix/sysv/linux/ia64: Move directory from
5298 ports/sysdeps/unix/sysv/linux/ia64.
5299 * README: Update listing for ia64-*-linux-gnu.
5301 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5302 Joseph Myers <joseph@codesourcery.com>
5304 * Makeconfig (test-name): New variable.
5305 (evaluate-test): Likewise.
5306 * Makerules (do-test-clean): Remove .test-result files.
5307 (common-mostlyclean): Likewise.
5308 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5309 * scripts/evaluate-test.sh: New file.
5311 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5313 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5314 separate $(objpfx)tst-fopenloc-cmp.out and
5315 $(objpfx)tst-fopenloc-mem.out targets.
5316 (tests): Update dependencies.
5317 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5318 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5319 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5320 (tst-rxspencer-no-utf8-ARGS): New variable.
5321 (tst-rxspencer-no-utf8-ENV): Likewise.
5322 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5323 instead of $(objpfx)tst-rxspencer-mem.
5324 ($(objpfx)tst-rxspencer-mem): Change target to
5325 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5326 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5327 * posix/tst-rxspencer-no-utf8.c: New file.
5329 * elf/Makefile ($(objpfx)order.out): Remove rule.
5330 [$(run-built-tests) = yes] (tests): Depend on
5331 $(objpfx)order-cmp.out.
5332 ($(objpfx)order-cmp.out): New rule.
5333 [$(run-built-tests) = yes] (tests): Depend on
5334 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5335 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5336 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5337 $(objpfx)tst-array5-static-cmp.out.
5338 ($(objpfx)tst-array1.out): Remove rule.
5339 ($(objpfx)tst-array1-cmp.out): New rule.
5340 ($(objpfx)tst-array1-static.out): Remove rule.
5341 ($(objpfx)tst-array1-static-cmp.out): New rule.
5342 ($(objpfx)tst-array2.out): Remove rule.
5343 ($(objpfx)tst-array2-cmp.out): New rule.
5344 ($(objpfx)tst-array3.out): Remove rule.
5345 ($(objpfx)tst-array3-cmp.out): New rule.
5346 ($(objpfx)tst-array4.out): Remove rule.
5347 ($(objpfx)tst-array4-cmp.out): New rule.
5348 ($(objpfx)tst-array5.out): Remove rule.
5349 ($(objpfx)tst-array5-cmp.out): New rule.
5350 ($(objpfx)tst-array5-static.out): Remove rule.
5351 ($(objpfx)tst-array5-static-cmp.out): New rule.
5352 [$(run-built-tests) = yes] (tests): Depend on
5353 $(objpfx)order2-cmp.out.
5354 ($(objpfx)order2.out): Remove rule.
5355 ($(objpfx)order2-cmp.out): New rule.
5356 ($(objpfx)tst-initorder.out): Remove rule.
5357 [$(run-built-tests) = yes] (tests): Depend on
5358 $(objpfx)tst-initorder-cmp.out.
5359 ($(objpfx)tst-initorder-cmp.out): New rule.
5360 ($(objpfx)tst-initorder2.out): Remove rule.
5361 [$(run-built-tests) = yes] (tests): Depend on
5362 $(objpfx)tst-initorder2-cmp.out.
5363 ($(objpfx)tst-initorder2-cmp.out): New rule.
5364 [$(run-built-tests) = yes] (tests): Depend on
5365 $(objpfx)tst-unused-dep-cmp.out.
5366 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5367 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5368 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5369 on $(objpfx)tst-setvbuf1-cmp.out.
5370 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5371 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5372 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5373 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5374 ($(objpfx)tst-svc.out): Remove rule.
5375 ($(objpfx)tst-svc-cmp.out): New rule.
5377 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5379 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5380 * ctype/ctype.h [__USE_MISC]: Likewise.
5381 * dirent/dirent.h [__USE_MISC]: Likewise.
5382 * grp/grp.h [__USE_MISC]: Likewise.
5383 * io/fcntl.h [__USE_MISC]: Likewise.
5384 * io/sys/stat.h [__USE_MISC]: Likewise.
5385 * libio/stdio.h [__USE_MISC]: Likewise.
5386 * posix/unistd.h [__USE_MISC]: Likewise.
5387 * pwd/pwd.h [__USE_MISC]: Likewise.
5388 * stdlib.h [__USE_MISC]: Likewise.
5389 * string/bits/string2.h [__USE_MISC]: Likewise.
5390 * string/string.h [__USE_MISC]: Likewise.
5391 * time/time.h [__USE_MISC]: Likewise.
5393 2014-02-13 Andreas Schwab <schwab@suse.de>
5396 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5397 second answer buffer if it was separately allocated.
5399 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5401 * sysdeps/mips/math-tests.h: Include <features.h>.
5402 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5403 (ROUNDING_TESTS_long_double): Do not define.
5404 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5405 (EXCEPTION_TESTS_long_double): Likewise.
5406 * sysdeps/mips/mips64/libm-test-ulps: Update.
5408 * include/features.h (__USE_BSD): Remove macro definitions.
5409 (__USE_SVID): Likewise.
5410 (_BSD_SOURCE): Likewise.
5411 (_SVID_SOURCE): Likewise.
5412 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5413 from definition of _DEFAULT_SOURCE.
5414 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5416 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5417 * bits/mman.h [__USE_BSD]: Likewise.
5418 * bits/termios.h [__USE_BSD]: Likewise.
5419 * bits/waitstatus.h [__USE_BSD]: Likewise.
5420 * ctype/ctype.h [__USE_SVID]: Likewise.
5421 * dirent/dirent.h [__USE_BSD]: Likewise.
5422 * grp/grp.h [__USE_SVID]: Likewise.
5423 [__USE_BSD]: Likewise.
5424 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5425 * io/fcntl.h [__USE_BSD]: Likewise.
5426 * io/ftw.h [__USE_BSD]: Likewise.
5427 * io/sys/stat.h [__USE_BSD]: Likewise.
5428 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5429 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5430 * libio/stdio.h [__USE_SVID]: Likewise.
5431 [__USE_BSD]: Likewise.
5432 * math/math.h [__USE_SVID]: Likewise.
5433 [__USE_BSD]: Likewise.
5434 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5435 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5436 * misc/search.h [__USE_SVID]: Likewise.
5437 * misc/sys/mman.h [__USE_BSD]: Likewise.
5438 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5439 * misc/sys/uio.h [__USE_BSD]: Likewise.
5440 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5441 * posix/glob.h [__USE_BSD]: Likewise.
5442 * posix/regex.h [__USE_BSD]: Likewise.
5443 * posix/sys/types.h [__USE_BSD]: Likewise.
5444 [__USE_SVID]: Likewise.
5445 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5446 * posix/sys/wait.h [__USE_BSD]: Likewise.
5447 [__USE_SVID]: Likewise.
5448 * posix/unistd.h [__USE_BSD]: Likewise.
5449 [__USE_SVID]: Likewise.
5450 * pwd/pwd.h [__USE_SVID]: Likewise.
5451 * resolv/netdb.h [__USE_BSD]: Likewise.
5452 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5453 * signal/signal.h [__USE_BSD]: Likewise.
5454 [__USE_SVID]: Likewise.
5455 * socket/sys/socket.h [__USE_BSD]: Likewise.
5456 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5457 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5458 [__USE_SVID]: Likewise.
5459 * string/bits/string2.h [__USE_BSD]: Likewise.
5460 [__USE_SVID]: Likewise.
5461 * string/bits/string3.h [__USE_BSD]: Likewise.
5462 * string/endian.h [__USE_BSD]: Likewise.
5463 * string/string.h [__USE_SVID]: Likewise.
5464 [__USE_BSD]: Likewise.
5465 * string/strings.h [__USE_BSD]: Likewise.
5466 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5467 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5468 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5469 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5470 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5471 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5473 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5475 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5476 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5478 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5479 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5481 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5483 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5484 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5485 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5487 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5489 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5490 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5491 * termios/termios.h [__USE_BSD]: Likewise.
5492 * time/sys/time.h [__USE_BSD]: Likewise.
5493 * time/time.h [__USE_BSD]: Likewise.
5494 [__USE_SVID]: Likewise.
5496 * Makefile (subdir_targets): Remove subdir_lint.out.
5498 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5499 (do-tst-printf): Likewise.
5500 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5501 $(objpfx)tst-printf.out.
5503 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5505 * Makerules (check-abi-%): Change target to
5506 $(objpfx)check-abi-%.out.
5507 (check-abi target): Update dependencies.
5508 (check-abi-pattern variable): Redirect output of diff to $@.
5509 (check-abi variable): Likewise.
5510 * elf/Makefile (check-abi): Update dependencies.
5512 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5514 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5515 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5517 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5518 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5519 value has largest subnormal exponent.
5520 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5521 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5522 * sysdeps/aarch64/soft-fp/sfp-machine.h
5523 (_FP_TININESS_AFTER_ROUNDING): New macro.
5524 * sysdeps/alpha/soft-fp/sfp-machine.h
5525 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5526 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5528 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5529 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5530 * sysdeps/mips/soft-fp/sfp-machine.h
5531 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5532 * sysdeps/powerpc/soft-fp/sfp-machine.h
5533 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5534 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5536 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5537 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5538 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5539 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5540 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5543 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5546 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5549 2014-02-12 Richard Henderson <rth@redhat.com>
5551 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5552 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5553 * sysdeps/unix/sysv/linux/alpha: Move directory from
5554 ports/sysdeps/unix/sysv/linux/alpha.
5555 * README: Update listing for alpha-*-linux-gnu.
5557 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5559 * include/features.h: Update comment documenting feature test
5561 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5563 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5564 (_SVID_SOURCE): Likewise.
5565 (_DEFAULT_SOURCE): Update description of default features.
5566 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5568 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5569 (S_ISVTX): Likewise.
5570 * manual/math.texi (Mathematical Constants): Likewise.
5571 * manual/signal.texi (Interrupted Primitives): Likewise.
5572 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5573 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5574 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5575 Don't refer to _SVID_SOURCE in warning text.
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5579 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5581 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5582 * sysdeps/mips/dl-lookup.c: Remove.
5583 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5585 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5588 * math/auto-libm-test-in: Add testcase for expl.
5589 * math/auto-libm-test-out: Regenerate.
5590 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5591 calculation of unsafe.
5592 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5594 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5596 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5597 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5598 ports/sysdeps/unix/sysv/linux/aarch64.
5599 * README: Update listing for aarch64*-*-linux-gnu.
5601 2014-02-11 Will Newton <will.newton@linaro.org>
5603 * manual/probes.texi (Mathematical Function Probes): Use
5604 "triggered" instead of "hit".
5606 * manual/probes.texi (Internal Probes): Add documentation
5607 of setjmp, longjmp and longjmp_target probes.
5609 * include/stap-probe.h: Add comment about probe argument
5612 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5613 definition. (tr_where, tr_freehook, tr_mallochook,
5614 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5616 2014-02-11 David S. Miller <davem@davemloft.net>
5618 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5619 processing int_tests.
5621 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5623 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5624 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5625 * sysdeps/unix/sysv/linux/mips: Move directory from
5626 ports/sysdeps/unix/sysv/linux/mips.
5627 * README: Update listing for mips-*-linux-gnu and
5630 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5632 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5633 * sysdeps/unix/sysv/linux/m68k: Move directory from
5634 ports/sysdeps/unix/sysv/linux/m68k.
5635 * README: Update listing for m68k-*-linux-gnu.
5637 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5639 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5640 * sysdeps/unix/sysv/linux/generic: Move directory from
5641 ports/sysdeps/unix/sysv/linux/generic.
5642 * sysdeps/unix/sysv/linux/tile: Move directory from
5643 ports/sysdeps/unix/sysv/linux/tile.
5644 * README: Update listing for tile*-*-linux-gnu.
5646 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5648 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5650 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5651 * catgets/open_catalog.c (__open_catalog): Likewise.
5652 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5653 * debug/confstr_chk.c: Likewise.
5654 * debug/fread_chk.c (__fread_chk): Likewise.
5655 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5656 * debug/getgroups_chk.c: Likewise.
5657 * debug/mbsnrtowcs_chk.c: Likewise.
5658 * debug/mbsrtowcs_chk.c: Likewise.
5659 * debug/mbstowcs_chk.c: Likewise.
5660 * debug/memcpy_chk.c: Likewise.
5661 * debug/memmove_chk.c: Likewise.
5662 * debug/mempcpy_chk.c: Likewise.
5663 * debug/memset_chk.c: Likewise.
5664 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5665 * debug/strcat_chk.c (__strcat_chk): Likewise.
5666 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5667 * debug/strncat_chk.c (__strncat_chk): Likewise.
5668 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5669 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5670 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5671 * debug/wcpncpy_chk.c: Likewise.
5672 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5673 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5674 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5675 * debug/wcsncpy_chk.c: Likewise.
5676 * debug/wcsnrtombs_chk.c: Likewise.
5677 * debug/wcsrtombs_chk.c: Likewise.
5678 * debug/wcstombs_chk.c: Likewise.
5679 * debug/wmemcpy_chk.c: Likewise.
5680 * debug/wmemmove_chk.c: Likewise.
5681 * debug/wmempcpy_chk.c: Likewise.
5682 * debug/wmemset_chk.c: Likewise.
5683 * dirent/scandirat.c (SCANDIRAT): Likewise.
5684 * dlfcn/dladdr1.c (dladdr1): Likewise.
5685 * dlfcn/dladdr.c (dladdr): Likewise.
5686 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5687 * dlfcn/dlerror.c (__dlerror): Likewise.
5688 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5689 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5690 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5691 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5692 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5693 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5694 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5695 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5697 * elf/dl-conflict.c: Likewise.
5698 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5699 * elf/dl-dst.h: Likewise.
5700 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5701 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5702 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5703 * elf/dl-init.c (call_init, _dl_init): Likewise.
5704 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5705 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5706 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5708 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5710 * elf/dl-minimal.c (__libc_memalign): Likewise.
5711 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5712 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5713 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5714 * elf/dl-sym.c (do_sym): Likewise.
5715 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5716 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5717 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5718 * elf/dl-writev.h (_dl_writev): Likewise.
5719 * elf/ldconfig.c (search_dir): Likewise.
5720 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5721 (dl_main): Likewise.
5722 * elf/setup-vdso.h (setup_vdso): Likewise.
5723 * grp/compat-initgroups.c (compat_call): Likewise.
5724 * grp/fgetgrent.c (fgetgrent): Likewise.
5725 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5726 * grp/putgrent.c (putgrent): Likewise.
5727 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5729 * hurd/hurdinit.c: Likewise.
5730 * iconvdata/8bit-gap.c (struct): Likewise.
5731 * iconvdata/ansi_x3.110.c : Likewise.
5732 * iconvdata/big5.c : Likewise.
5733 * iconvdata/big5hkscs.c : Likewise.
5734 * iconvdata/cp1255.c: Likewise.
5735 * iconvdata/cp1258.c : Likewise.
5736 * iconvdata/cp932.c : Likewise.
5737 * iconvdata/euc-cn.c: Likewise.
5738 * iconvdata/euc-jisx0213.c : Likewise.
5739 * iconvdata/euc-jp.c: Likewise.
5740 * iconvdata/euc-jp-ms.c : Likewise.
5741 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5742 * iconvdata/gb18030.c : Likewise.
5743 * iconvdata/gbbig5.c (const): Likewise.
5744 * iconvdata/gbgbk.c: Likewise.
5745 * iconvdata/gbk.c : Likewise.
5746 * iconvdata/ibm1364.c : Likewise.
5747 * iconvdata/ibm930.c : Likewise.
5748 * iconvdata/ibm932.c: Likewise.
5749 * iconvdata/ibm933.c : Likewise.
5750 * iconvdata/ibm935.c : Likewise.
5751 * iconvdata/ibm937.c : Likewise.
5752 * iconvdata/ibm939.c : Likewise.
5753 * iconvdata/ibm943.c: Likewise.
5754 * iconvdata/iso_11548-1.c: Likewise.
5755 * iconvdata/iso-2022-cn.c : Likewise.
5756 * iconvdata/iso-2022-cn-ext.c : Likewise.
5757 * iconvdata/iso-2022-jp-3.c: Likewise.
5758 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5759 * iconvdata/iso-2022-kr.c : Likewise.
5760 * iconvdata/iso646.c (gconv_end): Likewise.
5761 * iconvdata/iso_6937-2.c : Likewise.
5762 * iconvdata/iso_6937.c : Likewise.
5763 * iconvdata/iso8859-1.c: Likewise.
5764 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5765 * iconvdata/shift_jisx0213.c : Likewise.
5766 * iconvdata/sjis.c : Likewise.
5767 * iconvdata/t.61.c : Likewise.
5768 * iconvdata/tcvn5712-1.c : Likewise.
5769 * iconvdata/tscii.c: Likewise.
5770 * iconvdata/uhc.c : Likewise.
5771 * iconvdata/unicode.c (gconv_end): Likewise.
5772 * iconvdata/utf-16.c (gconv_end): Likewise.
5773 * iconvdata/utf-32.c (gconv_end): Likewise.
5774 * iconvdata/utf-7.c (base64): Likewise.
5775 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5776 * iconv/gconv_close.c (__gconv_close): Likewise.
5777 * iconv/gconv_open.c (__gconv_open): Likewise.
5778 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5779 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5780 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5781 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5782 (ucs4le_internal_loop_single): Likewise.
5783 * iconv/iconv.c (iconv): Likewise.
5784 * iconv/iconv_close.c: Likewise.
5785 * iconv/loop.c (SINGLE): Likewise.
5786 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5787 * include/atomic.h: Likewise.
5788 * inet/inet6_option.c (option_alloc): Likewise.
5789 * intl/bindtextdom.c (set_binding_values): Likewise.
5790 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5791 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5792 * intl/localealias.c (read_alias_file): Likewise.
5793 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5794 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5795 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5796 * libio/fmemopen.c (fmemopen): Likewise.
5797 * libio/iofgets.c (_IO_fgets): Likewise.
5798 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5799 * libio/iofgetws.c (fgetws): Likewise.
5800 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5801 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5802 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5803 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5804 * locale/findlocale.c (_nl_find_locale): Likewise.
5805 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5806 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5808 * locale/setlocale.c (setlocale): Likewise.
5809 * login/programs/pt_chown.c (main): Likewise.
5810 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5811 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5812 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5813 (mmap, mmap64, mremap, munmap): Likewise.
5814 * math/e_exp2l.c: Likewise.
5815 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5816 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5817 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5818 * math/s_catan.c (__catan): Likewise.
5819 * math/s_catanf.c (__catanf): Likewise.
5820 * math/s_catanh.c (__catanh): Likewise.
5821 * math/s_catanhf.c (__catanhf): Likewise.
5822 * math/s_catanhl.c (__catanhl): Likewise.
5823 * math/s_catanl.c (__catanl): Likewise.
5824 * math/s_ccosh.c (__ccosh): Likewise.
5825 * math/s_ccoshf.c (__ccoshf): Likewise.
5826 * math/s_ccoshl.c (__ccoshl): Likewise.
5827 * math/s_cexp.c (__cexp): Likewise.
5828 * math/s_cexpf.c (__cexpf): Likewise.
5829 * math/s_cexpl.c (__cexpl): Likewise.
5830 * math/s_clog10.c (__clog10): Likewise.
5831 * math/s_clog10f.c (__clog10f): Likewise.
5832 * math/s_clog10l.c (__clog10l): Likewise.
5833 * math/s_clog.c (__clog): Likewise.
5834 * math/s_clogf.c (__clogf): Likewise.
5835 * math/s_clogl.c (__clogl): Likewise.
5836 * math/s_csin.c (__csin): Likewise.
5837 * math/s_csinf.c (__csinf): Likewise.
5838 * math/s_csinh.c (__csinh): Likewise.
5839 * math/s_csinhf.c (__csinhf): Likewise.
5840 * math/s_csinhl.c (__csinhl): Likewise.
5841 * math/s_csinl.c (__csinl): Likewise.
5842 * math/s_csqrt.c (__csqrt): Likewise.
5843 * math/s_csqrtf.c (__csqrtf): Likewise.
5844 * math/s_csqrtl.c (__csqrtl): Likewise.
5845 * math/s_ctan.c (__ctan): Likewise.
5846 * math/s_ctanf.c (__ctanf): Likewise.
5847 * math/s_ctanh.c (__ctanh): Likewise.
5848 * math/s_ctanhf.c (__ctanhf): Likewise.
5849 * math/s_ctanhl.c (__ctanhl): Likewise.
5850 * math/s_ctanl.c (__ctanl): Likewise.
5851 * math/w_pow.c: Likewise.
5852 * math/w_powf.c: Likewise.
5853 * math/w_powl.c: Likewise.
5854 * math/w_scalb.c (sysv_scalb): Likewise.
5855 * math/w_scalbf.c (sysv_scalbf): Likewise.
5856 * math/w_scalbl.c (sysv_scalbl): Likewise.
5857 * misc/error.c (error_tail): Likewise.
5858 * misc/pselect.c (__pselect): Likewise.
5859 * nis/nis_callback.c (__nis_create_callback): Likewise.
5860 * nis/nis_call.c (__nisfind_server): Likewise.
5861 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5862 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5863 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5864 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5865 * nis/nis_lookup.c (nis_lookup): Likewise.
5866 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5867 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5868 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5869 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5870 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5871 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5872 * nis/nss_compat/compat-initgroups.c (add_group)
5873 (internal_getgrent_r): Likewise.
5874 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5875 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5876 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5877 (internal_getspnam_r): Likewise.
5878 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5879 (_nss_nis_getaliasbyname_r): Likewise.
5880 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5881 (_nss_nis_getntohost_r): Likewise.
5882 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5883 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5884 (_nss_nis_getgrgid_r): Likewise.
5885 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5886 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5887 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5888 (_nss_nis_gethostbyname4_r): Likewise.
5889 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5890 (initgroups_netid): Likewise.
5891 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5892 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5893 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5894 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5895 (_nss_nis_getprotobynumber_r): Likewise.
5896 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5897 (_nss_nis_getsecretkey): Likewise.
5898 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5899 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5900 (_nss_nis_getpwuid_r): Likewise.
5901 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5902 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5903 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5904 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5905 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5906 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5907 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5909 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5910 (_nss_nisplus_getntohost_r): Likewise.
5911 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5912 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5913 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5914 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5916 * nis/nss_nisplus/nisplus-initgroups.c
5917 (_nss_nisplus_initgroups_dyn): Likewise.
5918 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5919 (_nss_nisplus_getnetbyaddr_r): Likewise.
5920 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5921 (_nss_nisplus_getprotobynumber_r): Likewise.
5922 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5923 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5924 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5926 * nis/nss_nisplus/nisplus-service.c
5927 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5928 (_nss_nisplus_getservbyport_r): Likewise.
5929 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5930 (_nss_nisplus_getspnam_r): Likewise.
5931 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5933 * nscd/aicache.c (addhstaiX): Likewise.
5934 * nscd/cache.c (cache_search, prune_cache): Likewise.
5935 * nscd/connections.c (register_traced_file, send_ro_fd)
5936 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5937 (main_loop_epoll): Likewise.
5938 * nscd/grpcache.c (addgrbyX): Likewise.
5939 * nscd/hstcache.c (addhstbyX): Likewise.
5940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5941 * nscd/mem.c (gc, mempool_alloc): Likewise.
5942 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5943 (addinnetgrX): Likewise.
5944 * nscd/nscd-client.h (__nscd_acquire_maplock)
5945 (__nscd_drop_map_ref): Likewise.
5946 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5947 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5948 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5950 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5952 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5953 (__nscd_get_map_ref): Likewise.
5954 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5955 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5957 * nscd/pwdcache.c (addpwbyX): Likewise.
5958 * nscd/selinux.c (preserve_capabilities): Likewise.
5959 * nscd/servicescache.c (addservbyX): Likewise.
5960 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5961 * posix/fnmatch.c (fnmatch): Likewise.
5962 * posix/getopt.c (_getopt_internal_r): Likewise.
5963 * posix/glob.c (glob, glob_in_dir): Likewise.
5964 * posix/wordexp.c (exec_comm_child): Likewise.
5965 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5966 (getanswer_r, gaih_getanswer_slice): Likewise.
5967 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5968 * resolv/res_init.c: Likewise.
5969 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5970 * resolv/res_query.c (__libc_res_nquery): Likewise.
5971 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5973 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5974 * stdio-common/perror.c (perror): Likewise.
5975 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5976 * stdio-common/tmpnam.c (tmpnam): Likewise.
5977 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5978 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5979 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5981 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5982 * stdlib/putenv.c (putenv): Likewise.
5983 * stdlib/setenv.c (__add_to_environ): Likewise.
5984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5985 * stdlib/strtol_l.c (INTERNAL): Likewise.
5986 * string/memmem.c (memmem): Likewise.
5987 * string/strerror.c (strerror): Likewise.
5988 * string/strnlen.c (__strnlen): Likewise.
5989 * string/test-memmem.c (simple_memmem): Likewise.
5990 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5991 * sunrpc/pm_getport.c (__get_socket): Likewise.
5992 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5993 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5994 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5995 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5997 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5998 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5999 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6000 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6001 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6002 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6004 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6006 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6007 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6009 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6010 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6012 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6013 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6014 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6015 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6016 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6017 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6019 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6021 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6023 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6025 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6026 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6027 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6028 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6029 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6038 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6040 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6042 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6048 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6050 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6051 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6052 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6053 * sysdeps/posix/sleep.c: Likewise.
6054 * sysdeps/posix/tempname.c: Likewise.
6055 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6056 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6058 * sysdeps/powerpc/powerpc32/dl-machine.h
6059 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6060 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6062 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6063 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6065 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6066 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6067 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6068 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6069 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6070 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6071 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6072 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6073 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6074 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6076 (elf_machine_lazy_rel): Likewise.
6077 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6079 (elf_machine_lazy_rel): Likewise.
6080 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6081 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6082 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6083 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6084 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6085 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6086 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6089 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6090 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6091 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6092 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6093 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6094 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6095 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6096 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6097 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6098 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6099 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6101 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6102 (__posix_fallocate64_l64): Likewise.
6103 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6104 (posix_fallocate): Likewise.
6105 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6107 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6108 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6109 (getifaddrs_internal): Likewise.
6110 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6111 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6112 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6113 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6114 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6115 (__posix_fallocate64_l64): Likewise.
6116 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6118 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6119 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6120 (__get_clockfreq): Likewise.
6121 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6122 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6123 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6126 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6127 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6128 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6130 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6131 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6132 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6133 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6134 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6135 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6136 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6138 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6139 (posix_fallocate): Likewise.
6140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6141 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6142 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6143 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6144 (elf_machine_rela, elf_machine_rela_relative)
6145 (elf_machine_lazy_rel): Likewise.
6146 * time/asctime.c (asctime_internal): Likewise.
6147 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6148 * time/tzset.c (__tzset_parse_tz): Likewise.
6149 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6150 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6151 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6152 * wcsmbs/wcsmbsload.h: Likewise.
6155 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6157 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6158 (arena_get2): Remove THREAD_STATS conditionals.
6159 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6160 (__malloc_stats, int): Likewise.
6162 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6164 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6165 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6167 * manual/setjmp.texi: Fix typos/grammar errors.
6169 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6170 Only return early when n is <= 0. Delete unused return statement.
6172 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6173 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6174 * debug/tst-longjmp_chk3.c: New file.
6176 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6177 (test_main): Replace code with set_fortify_handler call.
6178 * debug/test-strcpy_chk.c: Likewise.
6179 * debug/tst-chk1.c: Likewise.
6180 * debug/tst-longjmp_chk.c: Likewise.
6181 * test-skeleton.c: Include fcntl.h & paths.h
6182 (set_fortify_handler): Define.
6184 * debug/tst-longjmp_chk.c: Add header comment and include
6186 (do_test): Mark static.
6187 (TEST_FUNCTION): Define.
6189 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6190 (IP_PMTUDISC_INTERFACE): Likewise.
6191 (IP_MULTICAST_IF): Likewise.
6192 (IP_MULTICAST_TTL): Likewise.
6193 (IP_MULTICAST_LOOP): Likewise.
6194 (IP_ADD_MEMBERSHIP): Likewise.
6195 (IP_DROP_MEMBERSHIP): Likewise.
6196 (IP_UNBLOCK_SOURCE): Likewise.
6197 (IP_BLOCK_SOURCE): Likewise.
6198 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6199 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6200 (IP_MSFILTER): Likewise.
6201 (MCAST_JOIN_GROUP): Likewise.
6202 (MCAST_BLOCK_SOURCE): Likewise.
6203 (MCAST_UNBLOCK_SOURCE): Likewise.
6204 (MCAST_LEAVE_GROUP): Likewise.
6205 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6206 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6207 (MCAST_MSFILTER): Likewise.
6208 (IP_MULTICAST_ALL): Likewise.
6209 (IP_UNICAST_IF): Likewise.
6211 * timezone/Makefile: Delete $(have-ksh) check.
6212 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6213 * timezone/tzselect.ksh: Add +x mode bits.
6215 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6216 (ANON_INODE_FS_MAGIC): Likewise.
6217 (BDEVFS_MAGIC): Likewise.
6218 (BINFMTFS_MAGIC): Likewise.
6219 (BTRFS_TEST_MAGIC): Likewise.
6220 (CRAMFS_MAGIC_WEND): Likewise.
6221 (DEBUGFS_MAGIC): Likewise.
6222 (ECRYPTFS_SUPER_MAGIC): Likewise.
6223 (EXT3_SUPER_MAGIC): Likewise.
6224 (EXT4_SUPER_MAGIC): Likewise.
6225 (FUTEXFS_SUPER_MAGIC): Likewise.
6226 (HOSTFS_SUPER_MAGIC): Likewise.
6227 (HUGETLBFS_MAGIC): Likewise.
6228 (MINIX3_SUPER_MAGIC): Likewise.
6229 (MTD_INODE_FS_MAGIC): Likewise.
6230 (NILFS_SUPER_MAGIC): Likewise.
6231 (OPENPROM_SUPER_MAGIC): Likewise.
6232 (PIPEFS_MAGIC): Likewise.
6233 (PSTOREFS_MAGIC): Likewise.
6234 (QNX6_SUPER_MAGIC): Likewise.
6235 (RAMFS_MAGIC): Likewise.
6236 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6237 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6238 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6239 (SECURITYFS_MAGIC): Likewise.
6240 (SELINUX_MAGIC): Likewise.
6241 (SMACK_MAGIC): Likewise.
6242 (SOCKFS_MAGIC): Likewise.
6243 (SQUASHFS_MAGIC): Likewise.
6244 (STACK_END_MAGIC): Likewise.
6245 (TMPFS_MAGIC): Likewise.
6246 (USBDEVICE_SUPER_MAGIC): Likewise.
6247 (V9FS_MAGIC): Likewise.
6248 (XENFS_SUPER_MAGIC): Likewise.
6249 (CRAMFS_MAGIC): Fix typo in comment.
6250 (EXT2_SUPER_MAGIC): Update comment.
6251 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6253 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6255 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6256 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6257 * sysdeps/unix/sysv/linux/arm: Move directory from
6258 ports/sysdeps/unix/sysv/linux/arm.
6259 * README: Update listing for arm-*-linux-gnueabi.
6261 * README: Remove mention of am33.
6263 2014-02-07 Roland McGrath <roland@hack.frob.com>
6265 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6266 than the comma operator, to avoid "rhs of comma has no effect"
6268 (__sigfillset, __sigandset, __sigorset): Likewise.
6269 * include/signal.h (__sigemptyset): Likewise.
6270 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6272 2014-02-07 Allan McRae <allan@archlinux.org>
6274 * version.h (RELEASE): Set to "development".
6275 (VERSION): Set to "2.19.90"
6276 * NEWS: Add 2.20 section.
6278 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6281 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6283 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6285 * manual/contrib.texi: Update entry for Carlos O'Donell,
6286 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6288 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6290 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6292 * sysdeps/unix/sysv/linux/kernel-features.h
6293 [__LINUX_KERNEL_VERSION >= 0x020621]
6294 (__ASSUME_PROC_PID_TASK_COMM): Define.
6296 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6299 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6300 conversion when destination buffer does not have enough space.
6301 * libio/tst-ftell-partial-wide.c: New test case.
6302 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6304 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6305 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6306 Leonard and Allan McRae.
6308 2014-02-04 David S. Miller <davem@davemloft.net>
6310 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6313 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6342 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6344 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6345 * shlib-versions: Likewise.
6347 2014-02-04 Roland McGrath <roland@hack.frob.com>
6348 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6350 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6351 (abilist-pattern): New variable, set to %-le.abilist.
6353 * Makerules (abilist-pattern): New variable.
6354 (vpath): Use $(abilist-pattern) in place of %.abilist.
6355 (check-abi-% pattern rule): Likewise.
6356 (check-abi, update-abi): Likewise.
6358 2014-02-04 Eric Wong <normalperson@yhbt.net>
6360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6362 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6364 * manual/startup.texi: Add next, previous, and top entries for
6365 the `Program Arguments' and `Environment Variables' nodes.
6367 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6369 * manual/macros.texi: Add comments before MTASC-safety macros.
6371 * manual/users.texi: Document MTASC-safety properties.
6373 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6374 (pthread_getspecific, pthread_setspecific): Format with
6375 @deftypefun, and add @safety note.
6376 * manual/signal.texi: Move comments that analyze the above
6377 functions to their home place.
6379 2014-02-03 Allan McRae <allan@archlinux.org>
6381 * po/sl.po: Update Slovenian translation from translation project.
6383 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6385 * manual/time.texi (timegm): Add missing blank after @c.
6386 Reported by Joseph Myers <joseph@codesourcery.com>.
6388 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6390 * manual/check-safety.sh: New.
6391 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6393 * manual/terminal.texi: Document MTASC-safety properties.
6395 * manual/filesys.texi: Document MTASC-safety properties.
6397 * manual/errno.texi: Document MTASC-safety properties.
6399 * manual/intro.texi: Document safety identifiers and
6402 * manual/string.texi (wcstok): Fix prototype.
6403 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6405 * manual/time.texi: Document MTASC-safety properties.
6407 * manual/string.texi: Document MTASC-safety properties.
6409 * manual/threads.texi: Document MTASC-safety properties.
6411 * manual/stdio.texi: Document MTASC-safety properties.
6413 * manual/syslog.texi: Document MTASC-safety properties.
6415 * manual/sysinfo.texi: Document MTASC-safety properties.
6417 * manual/startup.texi: Document MTASC-safety properties.
6419 * manual/socket.texi: Document MTASC-safety properties.
6421 * manual/signal.texi: Document MTASC-safety properties.
6423 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6425 * manual/setjmp.texi: Document MTASC-safety properties.
6427 * manual/search.texi: Document MTASC-safety properties.
6429 * manual/resource.texi: Document MTASC-safety properties.
6431 * manual/process.texi: Document MTASC-safety properties.
6433 * manual/platform.texi: Document MTASC-safety properties.
6435 * manual/pipe.texi: Document MTASC-safety properties.
6437 * manual/pattern.texi: Document MTASC-safety properties.
6439 * manual/message.texi: Document MTASC-safety properties.
6442 * manual/memory.texi: Document MTASC-safety properties.
6444 * manual/math.texi: Document MTASC-safety properties.
6446 * manual/locale.texi: Document MTASC-safety properties.
6448 * manual/llio.texi: Document MTASC-safety properties.
6450 * manual/libdl.texi: New.
6452 * manual/lang.texi: Document MTASC-safety properties.
6454 * manual/job.texi: Document MTASC-safety properties.
6456 * manual/getopt.texi: Document MTASC-safety properties.
6458 * manual/ctype.texi: Document MTASC-safety properties.
6460 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6463 * csu/libc-tls.c (static_map): Remove variable.
6464 (__libc_setup_tls): Use main executable's link map for TLS data.
6465 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6466 casing for LM_ID_BASE and GL(dl_nns).
6467 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6468 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6469 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6470 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6471 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6473 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6476 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6478 * manual/debug.texi: Document MTASC-safety properties.
6480 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6483 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6484 of __x86_64__ when disabling x87 inline functions.
6486 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6488 * manual/charset.texi: Document MTASC-safety properties.
6490 * manual/crypt.texi: Document MTASC-safety properties.
6492 * manual/conf.texi: Document MTASC-safety properties.
6494 * manual/arith.texi: Document MTASC-safety properties.
6496 * manual/argp.texi: Document MTASC-safety properties.
6498 * manual/macros.texi: Introduce macros to document multi
6499 thread, asynchronous signal and asynchronous cancellation
6501 * manual/intro.texi: Introduce the properties themselves.
6503 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6505 * sysdeps/sh/sh4/Makefile: New file.
6507 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6509 * math/gen-libm-test.pl ($srcdir): New variable.
6510 ($auto_input): Use it.
6512 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6515 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6516 access beyond array bounds when parsing netgroups file.
6518 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6519 the old buffer before realloc.
6521 2014-01-27 Allan McRae <allan@archlinux.org>
6523 * po/fr.po: Update French translation from translation project.
6525 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6527 * sysdeps/sh/libm-test-ulps: Regenerate.
6529 2014-01-24 David S. Miller <davem@davemloft.net>
6531 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6533 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6535 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6536 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6538 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6541 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6542 string pointers after reallocation.
6544 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6546 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6547 __SH4A__ instead of __SH_FPU_ANY__.
6549 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6551 * sysdeps/sh/fpu_control.h: New file.
6552 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6553 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6554 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6555 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6556 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6557 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6558 * sysdeps/sh/sys/ucontext.h: Remove.
6559 * sysdeps/sh/sys: Remove directory.
6561 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6563 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6564 s390/sys/ucontext.h.
6565 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6566 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6568 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6571 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6573 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6576 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6577 Adjust the vDSO correctly for internal calls.
6578 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6580 2014-01-20 Allan McRae <allan@archlinux.org>
6582 * po/ca.po: Update Catalan translation from translation project.
6584 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6586 * sysdeps/s390/sotruss-lib.c: New file.
6588 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6591 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6592 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6593 local calls issues by not having a PLT stub required for IFUNC calls.
6594 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6596 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6598 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6599 * math/test-fpucw-static.c: Likewise.
6601 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6604 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6606 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6609 implementation for powerpc.
6611 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6614 * sysdeps/posix/system.c (__libc_system): Do not enable
6615 asynchronous cancellation.
6617 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6620 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6621 handling only for numbers special also in the IEEE case.
6623 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6625 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6627 2014-01-11 Allan McRae <allan@archlinux.org>
6629 * po/bg.po: Update Bulgarian translation from translation project.
6631 * po/de.po: Update German translation from translation project.
6633 2014-01-10 Roland McGrath <roland@hack.frob.com>
6635 * sysdeps/generic/gcc-compat.h: New file.
6637 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6639 * benchtests/asin-inputs: Correct slow inputs.
6640 * benchtests/acos-inputs: Likewise.
6642 2014-01-10 Allan McRae <allan@archlinux.org>
6644 * po:sv.po: Update Swedish translation from translation project.
6646 * po/vi.po: Update Vietnamese translation from translation project.
6648 * po/eo.po: Update Esperanto translation from translation project.
6650 * po/cs.po: Update Czech translation from translation project.
6652 * po/nl.po: Update Dutch translation from translation project.
6654 * po/pl.po: Update Polish translation from translation project.
6656 * po/ru.po: Update Russian translation from translation project.
6658 * po/uk.po: Update Ukrainian translation from translation project.
6660 2014-01-08 Brooks Moses <bmoses@google.com>
6662 * elf/dl-load.c: Fix comment typo.
6664 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6666 * po/header.pot: Rename to...
6667 * po/pot.header: ... this.
6668 * po/Makefile: Use pot.header.
6670 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6671 Maxim Kuvyrkov <maxim@kugelworks.com>
6674 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6675 SRC and DEST against LEN.
6677 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6680 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6682 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6684 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6688 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6691 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6692 for large positive arguments.
6694 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6696 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6698 * math/auto-libm-test-in: Mark various tests with
6699 xfail-rounding:ldbl-128ibm.
6700 * math/auto-libm-test-out: Regenerated.
6703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6704 Increase overflow threshold.
6706 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6709 * stdio-common/vfprintf.c: Check for integer overflow.
6711 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6713 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6714 the first argument and return value of __tls_get_addr_internal.
6716 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6718 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6719 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6721 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6723 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6724 * sysdeps/s390/rtld-global-offsets.sym: New file.
6725 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6727 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6728 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6729 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6731 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6732 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6738 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6739 halfs of GPRs for high_gprs contexts.
6740 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6741 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6743 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6745 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6747 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6748 for high GPRs (uc_high_gprs) and for future extensions
6750 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6751 for future extensions (__reserved).
6752 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6754 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6755 SC_HIGHGPRS offset definition.
6756 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6757 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6759 * Versions.def: Add GLIBC_2.19 for libpthread.
6760 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6761 siglongjmp for libpthread with GLIBC_2.19 symver.
6762 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6763 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6764 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6765 * sysdeps/s390/__longjmp.c: New file.
6766 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6767 * sysdeps/s390/longjmp.c: New file.
6768 * sysdeps/s390/setjmp.S: New file.
6769 * sysdeps/s390/sigjmp.S: New file.
6770 * sysdeps/s390/v1-longjmp.c: New file.
6771 * sysdeps/s390/v1-setjmp.h: New file.
6772 * sysdeps/s390/v1-sigjmp.c: New file.
6773 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6774 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6776 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6777 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6778 versioned symbols for ____longjmp_chk.
6779 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6789 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6790 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6791 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6792 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6793 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6794 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6795 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6796 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6797 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6798 * sysdeps/s390/rtld-__longjmp.c: New file.
6799 * sysdeps/s390/rtld-setjmp.S: New file.
6801 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6805 Return -__logl (x) for small positive arguments without evaluating
6808 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6810 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6812 (__ptrace_peeksiginfo_args): ... this.
6813 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6814 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6815 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6817 2014-01-06 Allan McRae <allan@archlinux.org>
6819 * inet/netinet/in.h: Fix typo in comment.
6821 2014-01-05 Andreas Jaeger <aj@suse.de>
6823 * sysdeps/i386/fpu/libm-test-ulps: Update.
6825 2014-01-05 Allan McRae <allan@archlinux.org>
6827 * po/libc.pot: Regenerated.
6829 * malloc/memusagestat.c: Fix gettext call formatting.
6831 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6833 * nscd/nscd.c: Improve usage() output.
6835 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6837 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6838 * sysdeps/unix/sysv/linux/configure: Regenerated.
6839 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6840 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6842 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6845 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6846 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6848 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6850 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6851 extra tokens at end of #undef directive.
6852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6853 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6854 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6856 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6858 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6860 * math/auto-libm-test-in: Mark various tests with
6861 xfail-rounding:ldbl-128ibm.
6862 * math/auto-libm-test-out: Regenerated.
6864 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6867 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6868 numbers with subnormal high part when calculating exponent.
6871 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6875 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6877 (__ieee754_acoshl): Use __log1pl not __log1p.
6879 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6881 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6882 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6883 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6884 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6885 (reused_arena, arena_get2): Convert to GNU style.
6886 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6887 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6888 (memalign_check, __malloc_set_state): Likewise.
6889 * malloc/mallocbug.c (main): Likewise.
6890 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6891 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6892 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6893 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6894 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6895 (__posix_memalign, malloc_info): Likewise.
6896 * malloc/malloc.h: Likewise.
6897 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6898 (mallochook, memalignhook, reallochook, mabort): Likewise.
6899 * malloc/mcheck.h: Likewise.
6900 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6901 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6902 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6903 * malloc/morecore.c (__default_morecore): Likewise.
6904 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6905 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6906 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6907 (print_and_abort): Likewise.
6908 * malloc/obstack.h: Likewise.
6909 * malloc/set-freeres.c (__libc_freeres): Likewise.
6910 * malloc/tst-mallocstate.c (main): Likewise.
6911 * malloc/tst-mtrace.c (main): Likewise.
6912 * malloc/tst-realloc.c (do_test): Likewise.
6914 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6917 * nscd/netgroupcache.c (do_notfound): New function.
6918 (addgetnetgrentX): Use it.
6921 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6922 NSS_STATUS_NOTFOUND.
6924 2014-01-01 Joseph Myers <joseph@codesourcery.com>
6926 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6929 2014-01-01 Allan McRae <allan@archlinux.org>
6931 * scripts/update-copyrights: Update configure input file suffix.
6933 * NEWS: Update copyright year.
6934 * catgets/gencat.c: Likewise.
6935 * csu/version.c: Likewise.
6936 * debug/catchsegv.sh: Likewise.
6937 * debug/pcprofiledump.c: Likewise.
6938 * debug/xtrace.sh: Likewise.
6939 * elf/ldconfig.c: Likewise.
6940 * elf/ldd.bash.in: Likewise.
6941 * elf/pldd.c: Likewise.
6942 * elf/sotruss.ksh: Likewise.
6943 * elf/sprof.c: Likewise.
6944 * iconv/iconv_prog.c: Likewise.
6945 * iconv/iconvconfig.c: Likewise.
6946 * locale/programs/locale.c: Likewise.
6947 * locale/programs/localedef.c: Likewise.
6948 * login/programs/pt_chown.c: Likewise.
6949 * malloc/memusage.sh: Likewise.
6950 * malloc/memusagestat.c: Likewise.
6951 * malloc/mtrace.pl: Likewise.
6952 * manual/libc.texinfo: Likewise.
6953 * nscd/nscd.c: Likewise.
6954 * nss/getent.c: Likewise.
6955 * nss/makedb.c: Likewise.
6956 * posix/getconf.c: Likewise.
6957 * scripts/test-installation.pl: Likewise.
6959 * All files with FSF copyright notices: Update copyright dates
6960 using scripts/update-copyrights.
6961 * intl/plural.c: Regenerated.
6962 * locale/programs/charmap-kw.h: Likewise.
6963 * locale/programs/locfile-kw.h: Likewise.
6965 2013-12-31 Mike Frysinger <vapier@gentoo.org>
6967 * sysdeps/unix/sysv/linux/configure: Regenerated.
6968 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6969 the linux/fanotify.h header.
6970 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6971 HAVE_LINUX_FANOTIFY_H is defined.
6973 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6975 * benchtests/cos-inputs: New inputs.
6976 * benchtests/sin-inputs: Likewise.
6978 * benchtests/atan-inputs: New inputs. Fix name of multiple
6979 precision fallback inputs.
6981 * benchtests/atanh-inputs: New inputs.
6982 * benchtests/tanh-inputs: Likewise.
6984 * benchtests/acosh-inputs: New inputs.
6985 * benchtests/asinh-inputs: Likewise.
6987 * benchtests/cosh-inputs: New inputs.
6988 * benchtests/sinh-inputs: Likewise.
6990 * benchtests/acos-inputs: Add more inputs.
6991 * benchtests/asin-inputs: Likewise.
6993 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
6996 * manual/arith.texi: Fix spelling.
6997 * manual/charset.texi: Likewise.
6998 * manual/errno.texi: Likewise.
6999 * manual/filesys.texi: Likewise.
7000 * manual/lang.texi: Likewise.
7001 * manual/llio.texi: Likewise.
7002 * manual/locale.texi: Likewise.
7003 * manual/message.texi: Likewise.
7004 * manual/resource.texi: Likewise.
7005 * manual/search.texi: Likewise.
7006 * manual/setjmp.texi: Likewise.
7007 * manual/stdio.texi: Likewise.
7008 * manual/string.texi: Likewise.
7009 * manual/sysinfo.texi: Likewise.
7010 * manual/time.texi: Likewise.
7012 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7014 * po/sl.po: New file.
7016 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7018 * .gitignore: Add core/.gdbinit/.gdb_history.
7020 2013-12-27 Allan McRae <allan@archlinux.org>
7023 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7024 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7026 2013-12-24 Brooks Moses <bmoses@google.com>
7028 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7029 all compilers that claim C++98 compliance, not just GCC.
7030 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7033 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7035 * NEWS: Restore accidentally deleted bug-fix entries.
7037 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7038 Ondřej Bílka <neleai@seznam.cz>
7041 * malloc/malloc.c (_int_free): Perform sanity check only if we
7044 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7047 * manual/stdio.texi (String Input Conversions): Clarify that character
7048 classes are not supported.
7050 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7054 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7057 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7058 Calculate results for small negative arguments directly rather
7059 than using reflection formula with special underflow handling.
7061 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7062 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7063 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7064 (fchflags): Likewise.
7066 (setlogin): Likewise.
7067 (sigaltstack): Likewise.
7070 (sigsetmask): Likewise.
7072 (waitpid): Likewise.
7073 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7074 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7076 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7077 * sysdeps/unix/bsd/Makefile: ... here.
7078 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7079 * sysdeps/unix/bsd/Versions: ... here.
7080 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7081 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7082 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7083 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7084 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7085 * sysdeps/unix/bsd/sigblock.c: ... here.
7086 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7087 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7088 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7089 * sysdeps/unix/bsd/sigvec.c: ... here.
7090 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7091 * sysdeps/unix/bsd/tcdrain.c: ... here.
7092 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7093 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7094 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7095 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7096 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7097 * sysdeps/unix/bsd/wait.c: ... here.
7098 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7099 * sysdeps/unix/bsd/wait3.c: ... here.
7100 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7101 * sysdeps/unix/bsd/waitpid.c: ... here.
7103 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7106 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7107 round-to-nearest for [!USE_AS_EXPM1L].
7108 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7109 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7110 more tests of exp and exp10. Expect some exp10 tests to miss
7111 exceptions or fail in directed rounding modes.
7112 * math/auto-libm-test-out: Regenerated.
7113 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7114 (exp10_test_tonearest): New function.
7115 (exp10_towardzero_test_data): New array.
7116 (exp10_test_towardzero): New function.
7117 (exp10_downward_test_data): New array.
7118 (exp10_test_downward): New function.
7119 (exp10_upward_test_data): New array.
7120 (exp10_test_upward): New function.
7121 (main): Call the new functions.
7122 * sysdeps/i386/fpu/libm-test-ulps: Update.
7123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7125 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7127 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7128 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7129 * math/auto-libm-test-out: Regenerated.
7130 * math/libm-test.inc (acosh_test_data): Add more tests.
7131 (atanh_test_data): Likewise.
7132 (ceil_test_data): Likewise.
7133 (copysign_test_data): Likewise.
7134 * sysdeps/i386/fpu/libm-test-ulps: Update.
7135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7137 * timezone/checktab.awk: Update from tzcode 2013i.
7138 * timezone/private.h: Likewise.
7139 * timezone/scheck.c: Likewise.
7140 * timezone/tzfile.h: Likewise.
7141 * timezone/tzselect.ksh: Likewise.
7142 * timezone/zdump.c: Likewise.
7143 * timezone/zic.c: Likewise.
7145 * math/auto-libm-test-in: Add tests of cpow.
7146 * math/auto-libm-test-out: Regenerated.
7147 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7148 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7150 (func_calc_desc): Add mpc_cc_c union field.
7151 (test_functions): Add cpow.
7152 (special_fill_2pi): New function.
7153 (special_real_inputs): Add 2pi.
7154 (calc_generic_results): Handle mpc_cc_c.
7155 * sysdeps/i386/fpu/libm-test-ulps: Update.
7156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7158 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7159 csqrt, ctan and ctanh.
7160 * math/auto-libm-test-out: Regenerated.
7161 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7162 (TEST_COND_x86): Likewise.
7163 (ccos_test_data): Use AUTO_TESTS_c_c.
7164 (ccosh_test_data): Likewise.
7165 (cexp_test_data): Likewise.
7166 (clog_test_data): Likewise.
7167 (csqrt_test_data): Likewise.
7168 (ctan_test_data): Likewise.
7169 (ctan_tonearest_test_data): Likewise.
7170 (ctan_towardzero_test_data): Likewise.
7171 (ctan_downward_test_data): Likewise.
7172 (ctan_upward_test_data): Likewise.
7173 (ctanh_test_data): Likewise.
7174 (ctanh_tonearest_test_data): Likewise.
7175 (ctanh_towardzero_test_data): Likewise.
7176 (ctanh_downward_test_data): Likewise.
7177 (ctanh_upward_test_data): Likewise.
7178 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7180 (func_calc_desc): Add mpc_c_c union field.
7181 (FUNC_mpc_c_c): New macro.
7182 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7183 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7185 (special_fill_min_subnorm_p120): New function.
7186 (special_real_inputs): Add min_subnorm_p120.
7187 (calc_generic_results): Handle mpc_c_c.
7188 * sysdeps/i386/fpu/libm-test-ulps: Update.
7189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7191 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7193 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7194 (do_sin_slow): New functions.
7195 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7196 (cslow2, csloww1, csloww2): Use the new functions.
7198 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7199 Use M to change sign of result instead of X. Assume X is
7201 (csloww1): Likewise.
7205 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7212 (sloww1): Don't adjust sign of DX.
7213 (csloww1): Likewise.
7214 (sloww2): Use X directly and don't adjust sign of DX.
7215 (csloww2): Likewise.
7217 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7219 * math/auto-libm-test-in: Add tests of cabs and carg.
7220 * math/auto-libm-test-out: Regenerated.
7221 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7222 (carg_test_data): Likewise.
7223 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7225 (func_calc_desc): Add mpc_c_f union field.
7226 (test_functions): Add cabs and carg.
7227 (calc_generic_results): Handle mpc_c_f.
7229 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7230 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7231 as a macro and a compat symbol.
7232 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7233 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7234 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7235 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7236 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7237 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7239 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7241 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7243 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7245 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7247 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7249 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7250 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7253 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7257 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7259 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7260 trailing whitespace removed.
7261 * scripts/config.guess: Update to version 2013-11-29.
7262 * scripts/config.sub: Update to version 2013-10-01.
7264 * math/auto-libm-test-in: Add tests of sincos.
7265 * math/auto-libm-test-out: Regenerated.
7266 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7267 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7269 (func_calc_desc): Add mpfr_f_11 union field.
7270 (test_functions): Add sincos.
7271 (calc_generic_results): Handle mpfr_f_11.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7275 2013-12-19 Andreas Schwab <schwab@suse.de>
7277 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7279 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7280 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7281 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7283 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7285 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7286 * sysdeps/i386/fpu/libm-test-ulps: Update.
7287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7290 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7291 round-to-nearest mode when using frndint.
7292 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7293 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7294 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7296 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7298 * math/auto-libm-test-out: Regenerated.
7299 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7300 (TEST_COND_x86): Likewise.
7301 (expm1_tonearest_test_data): New array.
7302 (expm1_test_tonearest): New function.
7303 (expm1_towardzero_test_data): New array.
7304 (expm1_test_towardzero): New function.
7305 (expm1_downward_test_data): New array.
7306 (expm1_test_downward): New function.
7307 (expm1_upward_test_data): New array.
7308 (expm1_test_upward): New function.
7309 (main): Run the new test functions.
7310 * sysdeps/i386/fpu/libm-test-ulps: Update.
7311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7313 * include/features.h: Update comment documenting feature test
7314 macros. Mention _DEFAULT_SOURCE in comment.
7315 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7316 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7317 _BSD_SOURCE and _SVID_SOURCE.
7318 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7319 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7320 !_SVID_SOURCE]: Likewise.
7321 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7322 (__USE_POSIX_IMPLICITLY): Define.
7323 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7324 (_POSIX_SOURCE): Undefine and redefine.
7325 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7326 (_POSIX_C_SOURCE): Likewise.
7327 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7328 (Feature Test Macros): Update documentation of default features.
7330 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7332 * benchtests/Makefile: Add bench-strtok.
7333 * benchtests/bench-strtok.c: New file: strtok benchtest.
7335 2013-12-19 Allan McRae <allan@archlinux.org>
7337 * manual/install.texi: Suppress menu for plain text output.
7338 * INSTALL: Regenerated.
7340 2013-12-18 Brooks Moses <bmoses@google.com>
7343 * misc/getauxval.c: Include errno.h.
7344 (__getauxval): Set errno to ENOENT if the requested type is not
7346 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7347 don't declare with __attribute_const__.
7348 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7349 * manual/startup.texi: Document that getauxval sets errno.
7351 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7353 * math/auto-libm-test-in: Add tests of jn and yn.
7354 * math/auto-libm-test-out: Regenerated.
7355 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7356 (yn_test_data): Likewise.
7357 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7359 (func_calc_desc): Add mpfr_if_f union field.
7360 (FUNC_mpfr_if_f): New macro.
7361 (test_functions): Add jn and yn.
7362 (calc_generic_results): Assert type of second input for
7363 mpfr_ff_f. Handle mpfr_if_f.
7364 (output_for_one_input_case): Disable all checking for arguments
7365 fitting floating-point types in case of an integer argument.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7370 Don't expect fegetround reference in libm.so.
7372 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7374 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7375 $(config-cflags-nofma).
7377 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7379 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7380 * math/auto-libm-test-out: Regenerated.
7383 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7384 to determine exponent and adjust argument to have exponent of -1.
7385 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7387 * math/auto-libm-test-out: Regenerated.
7388 * sysdeps/i386/fpu/libm-test-ulps: Update.
7389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7391 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7393 * manual/probes.texi: Remove cases when per-thread arenas are
7396 2013-12-18 Andreas Schwab <schwab@suse.de>
7398 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7399 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7400 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7401 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7402 * sysdeps/i386/i686/multiarch/Makefile: Update.
7403 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7405 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7407 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7408 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7410 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7413 Support TZ transition times < 00:00:00.
7414 This is needed for version-3 tz-format files; it supports time
7415 stamps past 2037 for America/Godthab (the only entry in the tz
7416 database for which this change is relevant).
7417 * manual/time.texi (TZ Variable): Document transition times
7418 from -167:59:59 through -00:00:01.
7419 * time/tzset.c (tz_rule): Time of day is now signed.
7420 (__tzset_parse_tz): Parse negative time of day.
7422 Document TZ transition times >= 25:00:00.
7423 * manual/time.texi (TZ Variable): Document transition times from
7424 25:00:00 through 167:59:59. These are already supported, and this
7425 support will help with version-3 tz-format files.
7427 * manual/time.texi (TZ Variable): Modernize North America example
7428 to reflect current (i.e., 2007-and-later) daylight saving rules.
7430 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7432 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7435 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7438 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7439 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7440 * sysdeps/unix/bsd/clock.c: Likewise.
7441 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7442 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7443 * sysdeps/unix/bsd/init-posix.c: Likewise.
7444 * sysdeps/unix/bsd/poll.c: Likewise.
7445 * sysdeps/unix/bsd/ptsname.c: Likewise.
7446 * sysdeps/unix/bsd/seekdir.c: Likewise.
7447 * sysdeps/unix/bsd/setegid.c: Likewise.
7448 * sysdeps/unix/bsd/seteuid.c: Likewise.
7449 * sysdeps/unix/bsd/setgid.c: Likewise.
7450 * sysdeps/unix/bsd/setrgid.c: Likewise.
7451 * sysdeps/unix/bsd/setruid.c: Likewise.
7452 * sysdeps/unix/bsd/setsid.c: Likewise.
7453 * sysdeps/unix/bsd/setuid.c: Likewise.
7454 * sysdeps/unix/bsd/sigaction.c: Likewise.
7455 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7456 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7457 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7458 * sysdeps/unix/bsd/telldir.c: Likewise.
7459 * sysdeps/unix/bsd/times.c: Likewise.
7460 * sysdeps/unix/bsd/usleep.c: Likewise.
7462 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7463 ($(objpfx)libbsd-compat.a): Remove rule.
7465 * include/features.h (__FAVOR_BSD): Do not define.
7466 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7467 features conflicting with POSIX.
7468 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7469 (_BSD_SOURCE): Remove description of not being a subset of other
7470 feature test macros.
7471 * manual/job.texi (getpgrp): Do not document BSD version.
7472 (getpgid): Do not document by reference to BSD getpgrp.
7473 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7474 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7475 * signal/signal.h [__FAVOR_BSD]: Likewise.
7476 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7477 instead of making contents conditional on [__FAVOR_BSD].
7478 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7480 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7484 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7487 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7488 values below 2**-450, not 2**-500.
7489 * math/auto-libm-test-in: Don't allow spurious underflow from
7491 * math/auto-libm-test-out: Regenerated.
7495 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7496 values of ha and hb and sort them after adjusting subnormal
7498 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7500 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7501 values of ea and eb and sort them after adjusting subnormal
7503 * math/auto-libm-test-in: Do not expect some hypot tests of
7504 subnormals to fail. Add more hypot tests.
7505 * math/auto-libm-test-out: Regenerated.
7507 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7510 * sysdeps/sh/s_fma.c: New file.
7511 * sysdeps/sh/s_fmaf.c: New file.
7512 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7514 * sysdeps/sh/Implies: Add sh/soft-fp.
7516 2013-12-16 Roland McGrath <roland@hack.frob.com>
7518 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7519 level of indirection to members `objname', `errstring', `malloced'.
7520 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7521 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7522 it as the __longjmp argument (just pass 1 instead).
7523 (_dl_catch_error): Initialize C with argument pointers and address of
7524 volatile local ERRCODE rather than copying values out of C at return.
7526 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7528 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7529 * math/auto-libm-test-out: Regenerated.
7530 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7531 (hypot_test_data): Likewise.
7532 (pow_test_data): Likewise.
7533 (pow_tonearest_test_data): Likewise.
7534 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7536 (func_calc_desc): Add mpfr_ff_f union field.
7537 (FUNC_mpfr_ff_f): New macro.
7538 (test_functions): Add atan2, hypot and pow.
7539 (special_fill_min): New function.
7540 (special_fill_minus_min): Likewise.
7541 (special_fill_min_subnorm): Likewise.
7542 (special_fill_minus_min_subnorm): Likewise.
7543 (special_real_inputs): Add min, -min, min_subnorm and
7545 (calc_generic_results): Handle mpfr_ff_f.
7546 * sysdeps/i386/fpu/libm-test-ulps: Update.
7547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7549 2013-12-16 Will Newton <will.newton@linaro.org>
7551 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7552 (Aligned Memory Blocks): Add documentation for aligned_alloc
7553 and suggest it as an alternative to posix_memalign.
7554 (Hooks for Malloc): Document __memalign_hook is also called
7555 for aligned_alloc. (Summary of Malloc): Add summary for
7556 aligned alloc. Document __memalign_hook is also called
7559 2013-12-16 Will Newton <will.newton@linaro.org>
7561 * manual/memory.texi (Malloc Examples): Clarify default
7562 alignment documentation. Suggest posix_memalign rather
7563 than memalign or valloc.
7564 (Aligned Memory Blocks): Remove suggestion to use memalign
7565 or valloc. Remove obsolete comment about BSD.
7566 Document memalign errno values and mark the function obsolete.
7567 Document posix_memalign returned error codes. Mark valloc
7568 as obsolete. (Hooks for Malloc): __memalign_hook is also
7569 called for posix_memalign and valloc.
7570 (Summary of Malloc): Add posix_memalign to function summary.
7571 __memalign_hook is also called for posix_memalign and valloc.
7573 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7575 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7579 (sloww): Use mynumber union. Expand ternary operator into
7581 (cslow): use mynumber union.
7583 2013-12-16 Allan McRae <allan@archlinux.org>
7585 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7586 * configure: Regenerated.
7588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7591 * configure.ac: Added --enable-maintainer-mode. Check for
7592 autoconf when enabled.
7593 * configure: Regenerated.
7595 * nscd/nscd.service: New file.
7596 * nscd/nscd.tmpfiles: New file.
7598 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7601 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7602 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7603 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7604 (strstr): Add __strstr_sse2_unaligned ifunc.
7605 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7606 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7607 (strcasestr): Remove __strcasestr_sse42 ifunc.
7608 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7612 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7614 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7615 * sysdeps/sh/bits/fenv.h: ... here.
7616 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7618 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7620 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7623 hypotf multiarch implementations.
7624 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7625 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7626 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7627 multiarch hypot for PPC64.
7628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7631 multiarch hypotf for PPC64.
7633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7634 modff multiarch implementations.
7635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7638 multiarch modf for PPC64.
7639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7642 multiarch modff for PPC64.
7644 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7645 and logl multiarch implementations.
7646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7649 multiarch logb for PPC64.
7650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7653 multiarch logb for PPC64.
7654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7657 multiarch logb for PPC64.
7659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7660 isinff multiarch implementation.
7661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7665 multiarch isinf for PPC64.
7666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7669 multiarch isinff for PPC64.
7671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7672 finitef multiarch implementation.
7673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7677 multiarch finite for PPC64.
7678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7681 multiarch finitef for PPC64.
7683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7684 lrint multiarch implementation.
7685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7689 multiarch llrint for PPC64.
7690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7691 multiarch lrint for PPC64.
7693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7694 copysignf multiarch implementation.
7695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7700 multiarch copysign for PPC64.
7701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7702 multiarch copysignf for PPC64.
7704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7705 multiarch implementation.
7706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7714 multiarch llround for PPC64.
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7716 multiarch trunc for PPC64.
7717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7718 multiarch truncf for PPC64.
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7721 multiarch implementation.
7722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7730 multiarch llround for PPC64.
7731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7732 multiarch round for PPC64.
7733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7734 multiarch roundf for PPC64.
7736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7737 multiarch implementation.
7738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7746 multiarch llround for PPC64.
7747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7748 multiarch floor for PPC64.
7749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7750 multiarch floorf for PPC64.
7752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7753 multiarch implementation.
7754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7762 multiarch llround for PPC64.
7763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7764 multiarch ceil for PPC64.
7765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7766 multiarch ceilf for PPC64.
7768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7769 multiarch implementation.
7770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7777 multiarch llround for PPC64.
7778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7779 multiarch lround for PPC64.
7781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7782 multiarch implementation.
7783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7790 multiarch isnan for PPC64.
7791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7792 multiarch isnanf for PPC64.
7794 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7795 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7796 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7797 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7798 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7801 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7802 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7807 multiarch implementations.
7808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7809 (__libc_ifunc_impl_list): Likewise.
7810 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7811 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7812 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7813 multiarch stpcpy for PPC64.
7815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7816 multiarch implementations.
7817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7818 (__libc_ifunc_impl_list): Likewise.
7819 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7820 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7821 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7822 multiarch strcpy for PPC64.
7824 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7825 redefine function name.
7826 (_wordcopy_fwd_dest_aligned): Likewise.
7827 (_wordcopy_bwd_aligned): Likewise.
7828 (_wordcopy_bwd_dest_aligned): Likewise.
7829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7830 multiarch implementations.
7831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7832 (__libc_ifunc_impl_list): Likewise.
7833 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7834 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7835 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7836 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7837 multiarch wcscpy for PPC64.
7839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7840 multiarch implementations.
7841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7842 (__libc_ifunc_impl_list): Likewise.
7843 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7844 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7845 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7846 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7847 multiarch wcscpy for PPC64.
7849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7850 multiarch implementations.
7851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7852 (__libc_ifunc_impl_list): Likewise.
7853 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7854 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7855 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7856 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7857 multiarch wcsrchr for PPC64.
7859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7860 multiarch implementations.
7861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7862 (__libc_ifunc_impl_list): Likewise.
7863 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7864 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7865 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7866 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7867 multiarch wcschr for PPC64.
7869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7870 multiarch implementations.
7871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7872 (__libc_ifunc_impl_list): Likewise.
7873 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7874 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7875 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7876 multiarch strchrnul for PPC64.
7878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7881 (__libc_ifunc_impl_list): Likewise.
7882 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7883 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7884 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7885 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7891 (__libc_ifunc_impl_list): Likewise.
7892 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7893 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7894 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7895 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7899 multiarch implementations.
7900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7901 (__libc_ifunc_impl_list): Likewise.
7902 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7903 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7904 strncasecmp for PPC64.
7905 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7906 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7907 multiarch strncasecmp_l for PPC64.
7909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7910 multiarch implementations.
7911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7912 (__libc_ifunc_impl_list): Likewise.
7913 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7914 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7915 multiarch strcasecmp for PPC64.
7916 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7918 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7919 multiarch strcasecmp_l for PPC64.
7921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7924 (__libc_ifunc_impl_list): Likewise.
7925 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7926 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7927 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7933 (__libc_ifunc_impl_list): Likewise.
7934 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7935 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7936 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7942 (__libc_ifunc_impl_list): Likewise.
7943 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7944 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7945 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7946 rawmemrchr for PPC64.
7948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7951 (__libc_ifunc_impl_list): Likewise.
7952 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7953 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7954 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7960 (__libc_ifunc_impl_list): Likewise.
7961 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7962 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7963 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7969 (__libc_ifunc_impl_list): Likewise.
7970 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7971 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7972 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7975 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7976 avoid cretion of __bzero symbol.
7977 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7979 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7981 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7984 multiarch implementations.
7985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7986 (__libc_ifunc_impl_list): Likewise.
7987 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7988 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7989 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7990 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7992 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7993 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7994 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7995 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7996 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7998 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8000 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8004 (__libc_ifunc_impl_list): Likewise.
8005 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8006 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8007 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8008 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8012 multiarch for POWER/PPC64.
8013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8014 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8015 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8016 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8017 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8018 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8019 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8020 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8021 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8024 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8025 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8026 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8027 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8028 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8029 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8030 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8031 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8032 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8033 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8034 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8035 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8036 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8037 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8038 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8047 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8049 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8051 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8053 * benchtests/Makefile (bench): Add exp2 and log2.
8054 (LDLIBS-bench-exp2): Add -lm.
8055 (LDLIBS-bench-log2): Likewise.
8056 * benchtests/exp2-inputs: New inputs file.
8057 * benchtests/log2-inputs: New inputs file.
8058 * benchtests/log-inputs: Add new inputs.
8059 * benchtests/tan-inputs: Likewise.
8061 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8063 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8065 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8066 (csloww2): ... from here.
8068 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8069 instead of structures.
8070 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8071 (POLYNOMIAL): Likewise.
8072 (TAYLOR_SLOW): Likewise.
8080 (bsloww1): Likewise.
8081 (bsloww2): Likewise.
8084 (csloww1): Likewise.
8085 (csloww2): Likewise.
8087 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8089 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8090 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8091 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8092 * malloc/hooks.c (realloc_check): Likewise.
8094 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8095 * malloc/arena.c: Remove PER_THREAD conditional.
8096 [!PER_THREAD]: Remove code.
8097 (ptmalloc_unlock_all2): Likewise.
8098 (ptmalloc_init): Likewise.
8099 (_int_new_arena): Likewise.
8100 (arena_get2): Likewise.
8101 * malloc/hooks.c (__malloc_get_state): Likewise.
8102 (__malloc_set_state): Likewise.
8103 * malloc/malloc.c: Likewise.
8104 (struct malloc_state): Likewise.
8105 (struct malloc_par): Likewise.
8106 (__libc_realloc): Likewise.
8107 (__libc_mallopt): Likewise.
8109 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8111 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8113 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8115 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8116 macro to a function. Check for zero perturb_byte.
8117 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8119 * malloc/malloc.c: (force_reg): Remove.
8120 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8121 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8122 force_reg by atomic_forced_read.
8123 * malloc/arena.c (ptmalloc_init): Likewise.
8124 * malloc/hooks.c (top_check): Likewise.
8126 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8130 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8134 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8136 * math/auto-libm-test-in: Add tests of lgamma.
8137 * math/auto-libm-test-out: Regenerated.
8138 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8139 (M_LOG_2_SQRT_PIl): Likewise.
8140 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8141 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8143 (func_calc_desc): Add mpfr_f_f1 union field.
8152 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8153 (test_functions): Add lgamma.
8154 (calc_generic_results): Handle mpfr_f_f1.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8158 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8160 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8161 __mpn_add_n for PowerPC64/POWER7.
8162 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8163 __mpn_sub_n for PowerPC64/POWER7.
8165 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8166 __mpn_addmul_1 for PowerPC64.
8167 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8168 __mpn_submul_1 for PowerPC64.
8169 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8171 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8174 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8177 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8179 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8181 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8183 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8184 add multiarch folders.
8185 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8186 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8187 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8188 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8189 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8190 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8191 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8192 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8193 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8194 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8195 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8204 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8210 multiarch __ieee754_hypot for PowerPC32.
8211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8216 multiarch __ieee754_hypotf for PowerPC32.
8218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8219 long_double_symbol only if __logbl is defined.
8220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8221 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8222 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8223 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8225 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8226 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8227 path for implementation.
8228 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8231 logb, and logbl multiarch implementations for PowerPC32.
8232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8237 multiarch logb for PowerPC32.
8238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8243 multiarch logbf for PowerPC32.
8244 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8248 multiarch logbl implementation for PowerPC32.
8250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8251 and modff multiarch implementations.
8252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8257 multiarch modf for PowerPC32.
8258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8263 multiarch modff for PowerPC32.
8265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8266 and lrintf multiarch implementations.
8267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8272 multiarch lrint for PowerPC32.
8273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8274 file: multiarch lrintf for PowerPC32.
8276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8277 and lroundf multiarch implementations.
8278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8285 multiarch lround for PowerPC32.
8286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8287 file: multiarch lroundf for PowerPC32.
8289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8290 copysign and copysignf multiarch implementations.
8291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8296 file: multiarch copysign for PowerPC32.
8297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8298 file: multiarch copysignf for PowerPC32.
8300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8301 and truncf multiarch implementations.
8302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8307 multiarch trunc for PowerPC32.
8308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8313 multiarch truncf for PowerPC32.
8315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8316 and roundf multiarch implementations.
8317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8322 multiarch round for PowerPC32.
8323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8328 multiarch roundf for PowerPC32.
8330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8331 and floorf multiarch implementations.
8332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8337 multiarch floor for PowerPC32.
8338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8343 multiarch floorf for PowerPC32.
8345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8346 and ceilf multiarch implementations.
8347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8352 multiarch ceil for PowerPC32.
8353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8358 multiarch ceilf for PowerPC32.
8360 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8362 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8365 and finitef multiarch implementations.
8366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8371 multiarch finite for PowerPC32.
8372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8375 file: multiarch finitef for PowerPC32.
8377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8378 and isinff multiarch implementations.
8379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8384 multiarch isinf for PowerPC32.
8385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8388 multiarch isinff for PowerPC32.
8390 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8391 alias when __isnan is defined.
8392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8393 and isnanf multiarch implementations.
8394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8403 multiarch isnan for PowerPC32.
8404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8409 multiarch isnanf for PowerPC32.
8411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8412 and sqrtf multiarch implementations.
8413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8418 multiarch sqrt for PowerPC32.
8419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8424 multiarch sqrtf for PowerPC32.
8426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8427 and llroundf multiarch implementations.
8428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8435 file: multiarch llround for PowerPC32.
8436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8437 file: multiarch llroundf for PowerPC32.
8439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8440 multiarch PowerPC32 fpu implementations.
8441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8446 multiarch llrint for PowerPC32.
8447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8456 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8458 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8460 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8462 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8463 multiarch wordcopy for PPC32.
8464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8467 (__libc_ifunc_impl_list): Likewise.
8468 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8469 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8470 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8471 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8472 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8473 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8475 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8476 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8483 multiarch wcscpy for PPC32.
8484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8487 (__libc_ifunc_impl_list): Likewise.
8488 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8489 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8490 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8491 sysdeps/powerpc/power6/wcscpy.c.
8493 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8501 multiarch wcsrchr for PPC32.
8502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8505 (__libc_ifunc_impl_list): Likewise.
8506 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8507 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8508 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8509 sysdeps/powerpc/power6/wcsrchr.c.
8511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8513 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8517 multiarch wcschr for PPc32.
8518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8521 (__libc_ifunc_impl_list): Likewise.
8522 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8523 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8524 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8525 sysdeps/powerpc/power6/wcschr.c.
8527 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8528 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8530 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8531 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8532 file: multiarch strchr for PPC32.
8533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8536 (__libc_ifunc_impl_list): Likewise.
8538 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8540 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8542 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8545 multiarch strchrnul for PPC32.
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8549 (__libc_ifunc_impl_list): Likewise.
8551 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8554 multiarch strncasecmp for PPC32.
8555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8558 multiarch strncasecmp_l for PPC32.
8559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8560 strncasecmp multiarch objects.
8561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8562 (__libc_ifunc_impl_list): Likewise.
8564 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8567 multiarch strncasecmp for PPC32.
8568 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8571 multiarch strcasecmp_l for PPC32.
8572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8575 (__libc_ifunc_impl_list): Likewise.
8577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8579 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8581 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8582 multiarch strncmp for PPC32.
8583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8586 (__libc_ifunc_impl_list): Likewise.
8588 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8589 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8591 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8592 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8596 (__libc_ifunc_impl_list): Likewise.
8598 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8600 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8602 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8606 (__libc_ifunc_impl_list): Likewise.
8608 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8610 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8612 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8613 multiarch rawmemchr for PPC32.
8614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8617 (__libc_ifunc_impl_list): Likewise.
8619 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8621 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8623 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8624 file: memrchr multiarch for PPC32.
8625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8627 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8628 (__libc_ifunc_impl_list): Likewise.
8630 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8631 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8633 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8634 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8635 multiarch memchr for PPC32.
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8639 (__libc_ifunc_impl_list): Likewise.
8641 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8642 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8644 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8646 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8647 file: multiarch mempcpy for PPC32.
8648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8651 (__libc_ifunc_impl_list): Likewise.
8653 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8655 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8656 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8657 multiarch bzero for PPC32.
8658 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8660 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8662 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8663 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8664 file: multiarch memset for PPC32.
8665 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8667 memset multiarch objects.
8668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8669 (__libc_ifunc_impl_list): Likewise.
8671 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8673 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8674 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8676 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8680 (__libc_ifunc_impl_list): Likewise.
8682 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8683 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8684 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8690 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8691 multiarch memcpy for PPC32.
8692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8695 (__libc_ifunc_impl_list): Likewise.
8697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8698 support multiarch for POWER/PPC32.
8699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8701 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8703 Implies file to make multiarch folder appers before the fpu and
8704 default folder for power4 configuration.
8706 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8708 * scripts/bench.pl: Append volatile keyword to type.
8710 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8712 * sysdeps/sh/sotruss-lib.c: New file.
8713 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8715 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8719 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8722 * math/w_tgamma.c: Include <errno.h>.
8723 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8724 * math/w_tgammaf.c: Include <errno.h>.
8725 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8726 * math/w_tgammal.c: Include <errno.h>.
8727 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8728 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8729 underflow. Add more tgamma tests.
8730 * math/auto-libm-test-out: Regenerated.
8731 * sysdeps/i386/fpu/libm-test-ulps: Update.
8732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8734 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8735 sin, sinh, tan, tanh, tgamma, y0 and y1.
8736 * math/auto-libm-test-out: Regenerated.
8737 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8738 (TEST_COND_x86): Likewise.
8739 (M_E2l): Remove macro.
8741 (M_2_SQRT_PIl): Likewise.
8742 (M_SQRT_PIl): Likewise.
8743 (M_1_DIV_El): Likewise.
8744 (log_test_data): Use AUTO_TESTS_f_f.
8745 (log10_test_data): Likewise.
8746 (log1p_test_data): Likewise.
8747 (log2_test_data): Likewise.
8748 (sin_test_data): Likewise.
8749 (sin_tonearest_test_data): Likewise.
8750 (sin_towardzero_test_data): Likewise.
8751 (sin_downward_test_data): Likewise.
8752 (sin_upward_test_data): Likewise.
8753 (sinh_test_data): Likewise.
8754 (sinh_tonearest_test_data): Likewise.
8755 (sinh_towardzero_test_data): Likewise.
8756 (sinh_downward_test_data): Likewise.
8757 (sinh_upward_test_data): Likewise.
8758 (tan_test_data): Likewise.
8759 (tan_tonearest_test_data): Likewise.
8760 (tan_towardzero_test_data): Likewise.
8761 (tan_downward_test_data): Likewise.
8762 (tan_upward_test_data): Likewise.
8763 (tanh_test_data): Likewise.
8764 (tgamma_test_data): Likewise.
8765 (y0_test_data): Likewise.
8766 (y1_test_data): Likewise.
8767 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8768 (special_real_inputs): Add pi/4.
8769 * sysdeps/i386/fpu/libm-test-ulps: Update.
8770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8772 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8774 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8775 "longjmp_target" static probes.
8776 (__longjmp): Rename to __longjmp_symbol.
8777 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8778 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8779 on which longjmp to generate.
8780 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8781 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8783 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8784 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8785 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8786 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8787 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8788 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8790 __longjmp_symbol based on which __longjmp to generate.
8791 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8793 (setjmp): Rename to setjmp_symbol.
8794 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8795 (_setjmp): Rename to _setjmp_symbol.
8796 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8797 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8798 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8799 which setjmp to generate.
8800 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8801 "longjmp_target" static probes.
8803 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * benchtests/README: Add note about output arguments.
8806 * benchtests/bench-sincos.c: Remove file.
8807 * benchtests/sincos-inputs: New file.
8808 * scripts/bench.pl: Identify output arguments and define
8809 static variables for them.
8811 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8814 * Makefile (INSTALL): Add install-plain.texi as the primary
8816 * manual/install-plain.texi: New file.
8817 * manual/install.texi: Include node directive only for
8818 non-plaintext output.
8820 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8822 * stdlib/longlong.h: Update from GCC.
8826 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8827 * math/w_j0f.c (y0f): Likewise.
8828 * math/w_j0l.c (__y0l): Likewise.
8829 * math/w_j1.c (y1): Likewise.
8830 * math/w_j1f.c (y1f): Likewise.
8831 * math/w_j1l.c (__y1l): Likewise
8832 * math/w_jn.c (yn): Likewise.
8833 * math/w_jnf.c (ynf): Likewise.
8834 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8835 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8836 value for Bessel function domain errors outside _SVID_ mode.
8837 Adjust sign of return value for yn (negative integer, 0).
8838 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8839 by zero in return for negative x and set sign appropriately for
8841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8842 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8843 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8844 expectations in error cases.
8845 (y1_test_data): Likewise.
8846 (yn_test_data): Likewise.
8847 * sysdeps/i386/fpu/libm-test-ulps: Update.
8848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8852 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8853 "64" to "64-v1". Add "64-v2".
8854 (abi-64-options): Rename to ...
8855 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8856 (abi-64-condition): Rename to ...
8857 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8858 (abi-64-ld-soname): Rename to ...
8859 (abi-64-v1-ld-soname): ... this.
8860 (abi-64-v2-options): Define.
8861 (abi-64-v2-condition): Likewise.
8862 (abi-64-v2-ld-soname): Likewise.
8863 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8864 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8869 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8870 Alan Modra <amodra@gmail.com>
8872 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8873 New versions for use with the ELFv2 ABI.
8874 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8875 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8877 (struct La_ppc64v2_retval): Likewise.
8878 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8879 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8880 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8881 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8882 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8883 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8884 Do not save or restore CR.
8885 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8886 (_dl_profile_resolve): Do no save or restore CR. Support extended
8887 return values for ELFv2 ABI. Fix location of FPR return registers.
8888 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8889 updated values for _CALL_ELF == 2.
8890 (La_regs, La_retval, int_retval): Likewise.
8892 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8894 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8895 (FRAME_MIN_SIZE_PARM): Likewise.
8896 (FRAME_BACKCHAIN): Likewise.
8897 (FRAME_CR_SAVE): Likewise.
8898 (FRAME_LR_SAVE): Likewise.
8899 (FRAME_TOC_SAVE): Likewise.
8900 (FRAME_PARM_SAVE): Likewise.
8901 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8902 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8903 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8904 (call_mcount_parm_offset): New macro.
8905 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8906 (PROF): Use symbolic stack frame offsets.
8907 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8908 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8909 Redefine in terms of FRAME_MIN_SIZE.
8910 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8911 (_dl_profile_resolve): Likewise. Update comment.
8912 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8913 symbols stack frame offsets.
8914 (__sigsetjmp): Likewise.
8915 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8916 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8917 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8918 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8921 (FRAME_BACKCHAIN): Remove.
8922 (FRAME_CR_SAVE): Likewise.
8923 (FRAME_LR_SAVE): Likewise.
8924 (FRAME_COMPILER_DW): Likewise.
8925 (FRAME_LINKER_DW): Likewise.
8926 (FRAME_TOC_SAVE): Likewise.
8927 (FRAME_PARM_SAVE): Likewise.
8928 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8929 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8930 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8932 (CHECK_SP): Use symbolic stack frame offsets.
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8934 zone" instead of caller's parameter save area for temp storage.
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8936 Likewise. Also, use symbolic stack frame offsets.
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8938 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8939 our own stack frame instead of the caller's.
8940 (__socket): Use symbolic stack frame offsets.
8942 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8943 Alan Modra <amodra@gmail.com>
8945 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8947 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8948 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8949 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8951 (elf_machine_fixup_plt): Call it.
8952 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8954 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8955 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8956 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8957 r2 before calling target.
8959 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8960 Alan Modra <amodra@gmail.com>
8962 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8963 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8964 versions of macros to support ELFv2 ABI.
8965 (LOCALENTRY): New macro.
8966 (ENTRY, EALIGN): Use it.
8967 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8968 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8969 fall through into ENTRY entry point.
8970 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8971 Only define if _CALL_ELF != 2.
8973 (elf_machine_matches_host): Verify ABI version matches.
8974 (RTLD_START): Use LOCALENTRY.
8975 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8976 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8977 (PLT_ENTRY_WORDS): New macro.
8978 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8979 (elf_machine_runtime_setup): Support ELFv2 ABI.
8980 (elf_machine_fixup_plt): Likewise.
8981 (elf_machine_plt_conflict): Likewise.
8982 (resolve_ifunc): Likewise.
8983 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8984 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8987 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8989 (makecontext): Support ELFv2 ABI.
8990 * elf/elf.h (EF_PPC64_ABI): Define.
8992 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8994 * sysdeps/powerpc/powerpc64/sysdep.h
8995 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8996 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8997 (ENTRY) [ASSEMBLER]: ... but instead here ...
8998 (EALIGN) [ASSEMBLER]: ... and here.
8999 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9000 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9001 (ENTRY_2) [!ASSEMBLER]: Use it.
9002 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9003 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9004 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9005 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9006 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9008 Use PPC64_LOAD_FUNCPTR.
9010 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9012 2013-12-04 Alan Modra <amodra@gmail.com>
9014 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9015 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9016 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9017 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9020 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9021 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9022 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9023 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9024 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9026 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9029 (__makecontext): Fix incorrect CFI when backtracing out of
9030 context created via makecontext.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9032 (__setcontext): Fix incorrect CFI during switch to new context.
9033 (__novec_setcontext): Likewise.
9035 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9038 * time/strptime_l.c (__strptime_internal): Allow modifiers
9040 * time/tst-strptime.c (day_tests): Add testcase.
9042 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9044 * scripts/bench.pl: Skip over blank lines.
9046 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9049 * manual/time.texi (Calendar Time): Clarify what timezone functions
9052 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9056 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9058 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9060 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9061 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9062 * debug/memset_chk.c (__memset_chk): Likewise.
9063 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9064 * debug/strncpy_chk.c: Likewise.
9066 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9070 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9071 (__ieee754_exp): For possibly underflowing results, check size of
9072 result and force underflow exception if required.
9073 * math/auto-libm-test-in: Add more tests of exp.
9074 * math/auto-libm-test-out: Regenerated.
9075 * sysdeps/i386/fpu/libm-test-ulps: Update.
9076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9079 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9080 * math/w_exp2f.c (__exp2f): Likewise.
9081 * math/w_exp2l.c (__exp2l): Likewise.
9082 * math/auto-libm-test-in: Do not allow missing errno on exp2
9084 * math/auto-libm-test-out: Regenerated.
9086 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9089 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9090 handle filename validation.
9091 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9094 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9097 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9098 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9099 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9101 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9102 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9103 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9104 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9105 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9107 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9108 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9109 Add more erfc tests.
9110 * math/auto-libm-test-out: Regenerated.
9111 * sysdeps/i386/fpu/libm-test-ulps: Update.
9112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9114 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9115 exp2, expm1, j0 and j1.
9116 * math/auto-libm-test-out: Regenerated.
9117 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9118 (erfc_test_data): Likewise.
9119 (exp_test_data): Likewise.
9120 (exp_tonearest_test_data): Likewise.
9121 (exp_towardzero_test_data): Likewise.
9122 (exp_downward_test_data): Likewise.
9123 (exp_upward_test_data): Likewise.
9124 (exp10_test_data): Likewise.
9125 (exp2_test_data): Likewise.
9126 (expm1_test_data): Likewise.
9127 (j0_test_data): Likewise.
9128 (j1_test_data): Likewise.
9129 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9130 (input_flag_type): Add flag_xfail_rounding.
9131 (input_flags): Add xfail-rounding.
9132 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9133 (output_for_one_input_case): Handle flag_xfail_rounding.
9134 * sysdeps/i386/fpu/libm-test-ulps: Update.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9137 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9140 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9143 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9146 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9147 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9148 (STAP_PROBE0): New macro.
9149 (STAP_PROBE1): Likewise.
9150 (STAP_PROBE2): Likewise.
9151 (STAP_PROBE3): Likewise.
9152 (STAP_PROBE4): Likewise.
9154 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9156 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9158 2013-12-02 Steve Ellcey <sellcey@mips.com>
9160 * benchtests/Makefile (bench): Add sqrt.
9161 (LDLIBS-bench-sqrt): New.
9162 * benchtests/sqrt-input: New.
9164 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9166 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9167 (GAIH_EAI): Likewise.
9168 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9169 (gaih_inet): Likewise.
9170 (getaddrinfo): Don't use GAIH_EAI.
9172 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9173 (struct gaih): Remove definition.
9175 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9177 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9178 Use HERRNOP directly.
9180 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9184 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9186 * math/gen-auto-libm-tests.c (test_functions): Add more
9187 single-argument functions.
9188 (special_fill_pi_2): New function.
9189 (special_fill_minus_pi_2): Likewise.
9190 (special_fill_pi_6): Likewise.
9191 (special_fill_minus_pi_6): Likewise.
9192 (special_fill_pi_3): Likewise.
9193 (special_fill_2pi_3): Likewise.
9194 (special_fill_e): Likewise.
9195 (special_fill_1_e): Likewise.
9196 (special_fill_e_minus_1): Likewise.
9197 (special_real_inputs): Add more special inputs.
9198 (output_for_one_input_case): Do not require ERANGE on underflow to
9199 zero if round-to-nearest result does not underflow to zero, unless
9200 exact results required.
9201 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9202 atan, atanh, cbrt, cos and cosh.
9203 * math/auto-libm-test-out: Regenerated.
9204 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9205 (acos_tonearest_test_data): Likewise.
9206 (acos_towardzero_test_data): Likewise.
9207 (acos_downward_test_data): Likewise.
9208 (acos_upward_test_data): Likewise.
9209 (acosh_test_data): Likewise.
9210 (asin_test_data): Likewise.
9211 (asin_tonearest_test_data): Likewise.
9212 (asin_towardzero_test_data): Likewise.
9213 (asin_upward_test_data): Likewise.
9214 (asinh_test_data): Likewise.
9215 (atan_test_data): Likewise.
9216 (atanh_test_data): Likewise.
9217 (cbrt_test_data): Likewise.
9218 (cos_test_data): Likewise.
9219 (cos_tonearest_test_data): Likewise.
9220 (cos_towardzero_test_data): Likewise.
9221 (cos_downward_test_data): Likewise.
9222 (cos_upward_test_data): Likewise.
9223 (cosh_test_data): Likewise.
9224 (cosh_tonearest_test_data): Likewise.
9225 (cosh_towardzero_test_data): Likewise.
9226 (cosh_downward_test_data): Likewise.
9227 (cosh_upward_test_data): Likewise.
9228 * sysdeps/i386/fpu/libm-test-ulps: Update.
9229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9231 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9234 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9235 * math/w_exp10f.c (__exp10f): Likewise.
9236 * math/w_exp10l.c (__exp10l): Likewise.
9237 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9238 errno settings in existing tests.
9241 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9242 precision control set to double precision.
9243 * sysdeps/i386/fpu/w_sqrt.c: New file.
9244 * math/auto-libm-test-in: Add more tests.
9245 * math/auto-libm-test-out: Update.
9247 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9248 (sqrt_test_tonearest): New function.
9249 (sqrt_towardzero_test_data): New variable.
9250 (sqrt_test_towardzero): New function.
9251 (sqrt_downward_test_data): New variable.
9252 (sqrt_test_downward): New function.
9253 (sqrt_upward_test_data): New variable.
9254 (sqrt_test_upward): New function.
9255 (main): Call the new functions.
9257 * math/gen-auto-libm-tests.c: New file.
9258 * math/auto-libm-test-in: Likewise.
9259 * math/auto-libm-test-out: New generated file.
9260 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9262 (%beautify): Add generated representations of zero.
9263 (top level): Set $auto_input and call parse_auto_input.
9264 (beautify): Remove trailing "f" from hex float constants.
9265 (parse_args): Handle XFAIL_TEST.
9266 (convert_condition): New function.
9267 (or_value): Likewise.
9268 (or_cond_value): Likewise.
9269 (generate_testfile): Handle AUTO_TESTS_* lines.
9270 (parse_auto_input): New function.
9271 * math/libm-test.inc (XFAIL_TEST): New macro.
9272 (ERRNO_UNCHANGED): Update value.
9273 (ERRNO_EDOM): Likewise.
9274 (ERRNO_ERANGE): Likewise.
9275 (IGNORE_RESULT): Likewise.
9276 (TEST_COND_flt_32): New macro.
9277 (TEST_COND_dbl_64): Likewise.
9278 (TEST_COND_ldbl_96_intel): Likewise.
9279 (TEST_COND_ldbl_96_m68k): Likewise.
9280 (TEST_COND_ldbl_128): Likewise.
9281 (TEST_COND_ldbl_128ibm): Likewise.
9282 (TEST_COND_long32): Likewise.
9283 (TEST_COND_long64): Likewise.
9284 (TEST_COND_before_rounding): Likewise.
9285 (TEST_COND_after_rounding): Likewise.
9286 (enable_test): Handle XFAIL_TEST flag.
9287 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9288 with finite results.
9289 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9292 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9293 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9296 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9297 __tls_get_addr_internal instead of __tls_get_offset in order to
9298 avoid GOT pointer dependency. Make rtld export
9299 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9300 __tls_get_addr since we are a __tls_get_offset platform.
9301 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9302 GOT pointer being set up before.
9303 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9305 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9307 * manual/math.texi (Errors in Math Functions): Document accuracy
9311 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9312 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9314 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9315 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9316 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9317 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9318 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9319 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9320 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9321 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9322 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9325 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9326 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9328 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9329 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9330 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9331 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9332 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9334 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9336 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9338 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9339 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9340 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9341 atomic-feupdateenv and flt-rounds.
9342 * sysdeps/powerpc/nofpu/Versions (libc): Add
9343 __atomic_feholdexcept, __atomic_feclearexcept,
9344 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9345 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9346 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9347 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9348 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9353 * manual/arith.texi (FP Exceptions): Document that exceptions may
9354 not be raised when matherr is used.
9355 (Math Error Reporting): Document overflow in directed rounding
9356 modes. Document that errno may not be set when finite values are
9357 returned on overflow. Document intent to set errno on underflow
9358 only for underflow to zero.
9361 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9362 round-to-nearest then adjust result for other rounding modes.
9363 * include/fenv.h (fegetround): Use libm_hidden_proto.
9364 * math/fegetround.c (fegetround): Use libm_hidden_def.
9365 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9366 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9367 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9368 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9370 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9371 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9372 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9373 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9375 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9378 * nss/Versions (libnss_files): Add
9379 _nss_files_gethostbyname3_r.
9380 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9382 (HOST_DB_LOOKUP): Remove macro.
9383 (_nss_files_gethostbyname_r): Implement function without the
9384 HOST_DB_LOOKUP macro.
9385 (_nss_files_gethostbyname2_r): Likewise.
9387 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9389 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9391 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9393 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9394 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9397 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9399 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9400 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9401 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9402 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9403 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9404 __fe_nomask_env_priv and attribute_hidden.
9405 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9406 (libc_feupdateenv_test_ppc): Likewise.
9407 (libc_feresetround_ppc): Likewise.
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9409 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9410 compat_symbol macro.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9412 (__fe_nomask_env): Likewise.
9413 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9415 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9417 * string/Makefile: Remove ifunc tests.
9418 * string/test-string.h: Define TEST_IFUNC.
9419 * string/test-bcopy-ifunc.c: Remove.
9420 * string/test-bzero-ifunc.c: Likewise.
9421 * string/test-memccpy-ifunc.c: Likewise.
9422 * string/test-memchr-ifunc.c: Likewise.
9423 * string/test-memcmp-ifunc.c: Likewise.
9424 * string/test-memcpy-ifunc.c: Likewise.
9425 * string/test-memmem-ifunc.c: Likewise.
9426 * string/test-memmove-ifunc.c: Likewise.
9427 * string/test-mempcpy-ifunc.c: Likewise.
9428 * string/test-memrchr-ifunc.c: Likewise.
9429 * string/test-memset-ifunc.c: Likewise.
9430 * string/test-rawmemchr-ifunc.c: Likewise.
9431 * string/test-stpcpy-ifunc.c: Likewise.
9432 * string/test-stpncpy-ifunc.c: Likewise.
9433 * string/test-strcasecmp-ifunc.c: Likewise.
9434 * string/test-strcasestr-ifunc.c: Likewise.
9435 * string/test-strcat-ifunc.c: Likewise.
9436 * string/test-strchr-ifunc.c: Likewise.
9437 * string/test-strchrnul-ifunc.c: Likewise.
9438 * string/test-strcmp-ifunc.c: Likewise.
9439 * string/test-strcpy-ifunc.c: Likewise.
9440 * string/test-strcspn-ifunc.c: Likewise.
9441 * string/test-strlen-ifunc.c: Likewise.
9442 * string/test-strncasecmp-ifunc.c: Likewise.
9443 * string/test-strncat-ifunc.c: Likewise.
9444 * string/test-strncmp-ifunc.c: Likewise.
9445 * string/test-strncpy-ifunc.c: Likewise.
9446 * string/test-strnlen-ifunc.c: Likewise.
9447 * string/test-strpbrk-ifunc.c: Likewise.
9448 * string/test-strrchr-ifunc.c: Likewise.
9449 * string/test-strspn-ifunc.c: Likewise.
9450 * string/test-strstr-ifunc.c: Likewise.
9452 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9454 * benchtests/Makefile: Remove ifunc tests.
9455 * benchtests/bench-string.h: Define TEST_IFUNC.
9456 * benchtests/bench-bcopy-ifunc.c: Remove.
9457 * benchtests/bench-bzero-ifunc.c: Likewise.
9458 * benchtests/bench-memccpy-ifunc.c: Likewise.
9459 * benchtests/bench-memchr-ifunc.c: Likewise.
9460 * benchtests/bench-memcmp-ifunc.c: Likewise.
9461 * benchtests/bench-memcpy-ifunc.c: Likewise.
9462 * benchtests/bench-memmem-ifunc.c: Likewise.
9463 * benchtests/bench-memmove-ifunc.c: Likewise.
9464 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9465 * benchtests/bench-memrchr-ifunc.c: Likewise.
9466 * benchtests/bench-memset-ifunc.c: Likewise.
9467 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9468 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9469 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9470 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9471 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9472 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9473 * benchtests/bench-strcat-ifunc.c: Likewise.
9474 * benchtests/bench-strchr-ifunc.c: Likewise.
9475 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9476 * benchtests/bench-strcmp-ifunc.c: Likewise.
9477 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9478 * benchtests/bench-strcpy-ifunc.c: Likewise.
9479 * benchtests/bench-strcspn-ifunc.c: Likewise.
9480 * benchtests/bench-strlen-ifunc.c: Likewise.
9481 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9482 * benchtests/bench-strncat-ifunc.c: Likewise.
9483 * benchtests/bench-strncmp-ifunc.c: Likewise.
9484 * benchtests/bench-strncpy-ifunc.c: Likewise.
9485 * benchtests/bench-strnlen-ifunc.c: Likewise.
9486 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9487 * benchtests/bench-strrchr-ifunc.c: Likewise.
9488 * benchtests/bench-strsep-ifunc.c: Likewise.
9489 * benchtests/bench-strspn-ifunc.c: Likewise.
9490 * benchtests/bench-strstr-ifunc.c: Likewise.
9492 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9494 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9496 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9498 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9499 * rt/aio.h: Likewise.
9500 * sysdeps/gnu/bits/utmp.h: Likewise.
9501 * sysdeps/gnu/bits/utmpx.h: Likewise.
9502 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9503 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9504 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9505 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9506 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9507 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9508 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9509 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9510 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9511 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9512 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9513 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9514 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9516 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9517 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9518 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9519 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9520 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9521 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9522 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9523 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9524 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9525 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9526 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9527 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9528 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9529 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9530 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9531 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9532 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9533 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9535 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9536 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9537 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9538 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9539 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9540 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9541 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9542 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9543 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9545 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9548 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9549 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9551 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9553 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9554 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9557 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9559 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9560 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9561 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9562 (__fesetround): Remove define.
9563 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9564 rounding and exceptions handling.
9565 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9566 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9567 (__fe_nomask_env): Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9569 __fegetround instead of fegetround.
9570 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9571 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9573 2013-11-21 Roland McGrath <roland@hack.frob.com>
9575 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9578 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9580 2013-11-21 Meador Inge <meadori@codesourcery.com>
9583 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9584 (encrypt_r): Likewise.
9585 * malloc/obstack.h (obstack_free): Likewise.
9586 * posix/unistd.h (encrypt): Likewise.
9588 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9590 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9591 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9592 DL_CALL_DT_FINI() that call the functions directly.
9593 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9594 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9595 * elf/dl-fini.c: Likewise.
9597 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9599 * malloc/hooks.c (memalign_check): Add alignment rounding.
9600 * malloc/malloc.c (_mid_memalign): New function.
9601 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9602 Implement by calling _mid_memalign.
9603 * manual/probes.texi (Memory Allocation Probes): Remove
9604 memory_valloc_retry and memory_pvalloc_retry.
9606 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9608 * locale/programs/locarchive.c (open_archive): Add const
9609 qualifier to ARCHIVEFNAME and copy default fname to
9613 * libio/tst-widetext.input: Rename Oriya to Odia.
9614 * locale/iso-639.def: Likewise.
9616 * manual/probes.texi (Mathematical Function Probes): Add
9617 documentation for sin, cos, asin and acos probes.
9618 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9619 (__sin32): Add slowasin probe.
9620 (__cos32): Add slowacos probe.
9621 (__mpsin): Add slowsin probe.
9622 (__mpcos): Add slowcos probe.
9624 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9627 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9628 thread-local __sim_exceptions_thread and global
9629 __sim_exceptions_global.
9630 (__sim_disabled_exceptions): Change to thread-local
9631 __sim_disabled_exceptions_thread and global
9632 __sim_disabled_exceptions_global.
9633 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9634 and global __sim_round_mode_global.
9635 (__simulate_exceptions): Use thread-local floating-point state and
9636 set global state from it as needed.
9637 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9638 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9639 __sim_round_mode_thread.
9640 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9641 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9642 and global __sim_exceptions_global.
9643 (__sim_disabled_exceptions): Change to thread-local
9644 __sim_disabled_exceptions_thread and global
9645 __sim_disabled_exceptions_global.
9646 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9647 and global __sim_round_mode_global.
9648 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9649 (SIM_SET_GLOBAL): Likewise.
9650 * sysdeps/powerpc/soft-fp/sfp-machine.h
9651 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9652 __sim_round_mode_thread.
9653 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9654 __sim_disabled_exceptions_thread.
9655 (__sim_exceptions): Change to __sim_exceptions_thread.
9656 (__sim_disabled_exceptions): Change to
9657 __sim_disabled_exceptions_thread.
9658 (__sim_round_mode): Change to __sim_round_mode_thread.
9659 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9660 thread-local floating-point state and set global state from it as
9662 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9663 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9664 (__sim_disabled_exceptions): Remove extern declaration.
9665 (feenableexcept): Use thread-local floating-point state and set
9666 global state from it as needed.
9667 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9669 (__sim_disabled_exceptions): Likewise.
9670 (__sim_round_mode): Likewise.
9671 (__fegetenv): Use thread-local floating-point state.
9672 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9673 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9674 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9675 floating-point state and set global state from it as needed.
9676 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9677 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9678 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9680 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9681 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9683 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9684 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9685 Use __sim_round_mode_thread.
9686 * math/test-fenv-tls.c: New file.
9687 * math/Makefile (tests): Add test-fenv-tls.
9688 ($(objpfx)test-fenv-tls): Depend on
9689 $(common-objpfx)nptl/libpthread.so.
9691 2013-11-19 Andreas Schwab <schwab@suse.de>
9693 * locale/programs/locale.c (show_info): Decode wordarray elements.
9694 * locale/categories.def (LC_MONETARY): Add element for
9695 _NL_MONETARY_CRNCYSTR.
9696 * locale/C-monetary.c (conversion_rate): New variable.
9697 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9700 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9702 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9703 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9705 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9707 * elf/Makefile (tst-auxv): New test.
9708 * elf/tst-auxv.c: New
9709 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9711 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9713 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9714 (hidden_proto): Caller changed.
9715 (hidden_tls_proto): New macro.
9716 (libc_hidden_tls_proto): Likewise.
9717 (rtld_hidden_tls_proto): Likewise.
9718 (libm_hidden_tls_proto): Likewise.
9719 (libresolv_hidden_tls_proto): Likewise.
9720 (librt_hidden_tls_proto): Likewise.
9721 (libdl_hidden_tls_proto): Likewise.
9722 (libnss_files_hidden_tls_proto): Likewise.
9723 (libnsl_hidden_tls_proto): Likewise.
9724 (libnss_nisplus_hidden_tls_proto): Likewise.
9725 (libutil_hidden_tls_proto): Likewise.
9727 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9730 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9731 (decompose_rpath): Defer expansion to fillin_rpath.
9732 (_dl_init_paths): Pass linkmap to fillin_rpath.
9734 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9736 * benchtests/Makefile: Add strsep.
9737 * benchtests/bench-strsep.c: New file: strsep benchtest.
9738 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9740 2013-11-18 Andreas Schwab <schwab@suse.de>
9742 * locale/programs/locale.c (show_info) [case byte]: Check for
9743 '\377' instead of '\177'.
9744 * locale/C-monetary.c (not_available): Always use "\377".
9745 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9746 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9747 detect unavailable sign_posn locale elements.
9748 * locale/localeconv.c (__localeconv): For grouping and
9749 mon_grouping handle "\177" and "\377" like no grouping.
9750 (INT_ELEM): New macro. Use it to set all numeric members.
9751 * locale/programs/ld-monetary.c (monetary_read)
9752 <tok_mon_grouping>: Normalize single -1 to the empty string.
9753 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9756 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9759 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9760 when we match (nil).
9761 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9763 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9765 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9766 (NO_TEST_INLINE): Update value.
9767 (ERRNO_UNCHANGED): Likewise.
9768 (ERRNO_EDOM): Likewise.
9769 (ERRNO_ERANGE): Likewise.
9770 (IGNORE_RESULT): Likewise.
9771 (check_float_internal): Check signs of NaN results if
9773 (check_complex): Pass TEST_NAN_SIGN flag through to second
9774 check_float_internal call.
9775 (copysign_test_data): Add tests with quiet NaNs as second
9776 argument. Use TEST_NAN_SIGN.
9777 (fabs_test_data): Add test of negative quiet NaN argument. Use
9779 (signbit_test_data): Add tests of quiet NaN argument.
9780 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9782 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9784 (parse_args): Handle function results specified as IGNORE.
9785 * math/libm-test.inc (IGNORE_RESULT): New macro.
9786 (check_float_internal): Do not check numerical result if flag
9788 (check_complex): Pass through IGNORE_RESULT to second
9789 check_float_internal call.
9790 (check_int): Do not check numerical result if flag IGNORE_RESULT
9792 (check_long): Likewise.
9793 (check_bool): Likewise.
9794 (check_longlong): Likewise.
9795 (lrint_test_data): Add tests of infinite and NaN arguments.
9796 (lrint_tonearest_test_data): Likewise.
9797 (lrint_towardzero_test_data): Likewise.
9798 (lrint_downward_test_data): Likewise.
9799 (lrint_upward_test_data): Likewise.
9800 (llrint_test_data): Likewise.
9801 (llrint_tonearest_test_data): Likewise.
9802 (llrint_towardzero_test_data): Likewise.
9803 (llrint_downward_test_data): Likewise.
9804 (llrint_upward_test_data): Likewise.
9805 (lround_test_data): Likewise.
9806 (llround_test_data): Likewise.
9808 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9809 (ERRNO_UNCHANGED): Update value.
9810 (ERRNO_EDOM): Likewise.
9811 (ERRNO_ERANGE): Likewise.
9812 (NO_TEST_INLINE_FLOAT): New macro.
9813 (NO_TEST_INLINE_DOUBLE): Likewise.
9814 (enable_test): New function.
9815 (RUN_TEST_f_f): Check enable_test before running test.
9816 (RUN_TEST_2_f): Likewise.
9817 (RUN_TEST_fff_f): Likewise.
9818 (RUN_TEST_c_f): Likewise.
9819 (RUN_TEST_f_f1): Likewise.
9820 (RUN_TEST_fF_f1): Likewise.
9821 (RUN_TEST_fI_f1): Likewise.
9822 (RUN_TEST_ffI_f1): Likewise.
9823 (RUN_TEST_c_c): Likewise.
9824 (RUN_TEST_cc_c): Likewise.
9825 (RUN_TEST_f_i): Likewise.
9826 (RUN_TEST_f_i_tg): Likewise.
9827 (RUN_TEST_ff_i_tg): Likewise.
9828 (RUN_TEST_f_b): Likewise.
9829 (RUN_TEST_f_b_tg): Likewise.
9830 (RUN_TEST_f_l): Likewise.
9831 (RUN_TEST_f_L): Likewise.
9832 (RUN_TEST_fFF_11): Likewise.
9833 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9835 (cosh_test_data): Likewise.
9836 (exp_test_data): Likewise.
9837 (expm1_test_data): Likewise.
9838 (hypot_test_data): Likewise.
9839 (pow_test_data): Likewise.
9840 (sinh_test_data): Likewise.
9841 (tanh_test_data): Likewise.
9842 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9845 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9846 tests with quiet NaN input and output.
9847 (acosh_test_data): Likewise.
9848 (asin_test_data): Likewise.
9849 (asinh_test_data): Likewise.
9850 (atan_test_data): Likewise.
9851 (atanh_test_data): Likewise.
9852 (atan2_test_data): Likewise.
9853 (cbrt_test_data): Likewise.
9854 (cos_test_data): Likewise.
9855 (cosh_test_data): Likewise.
9856 (erf_test_data): Likewise.
9857 (erfc_test_data): Likewise.
9858 (exp_test_data): Likewise.
9859 (exp10_test_data): Likewise.
9860 (exp2_test_data): Likewise.
9861 (expm1_test_data): Likewise.
9862 (hypot_test_data): Likewise.
9863 (j0_test_data): Likewise.
9864 (j1_test_data): Likewise.
9865 (jn_test_data): Likewise.
9866 (lgamma_test_data): Likewise.
9867 (log_test_data): Likewise.
9868 (log10_test_data): Likewise.
9869 (log1p_test_data): Likewise.
9870 (log2_test_data): Likewise.
9871 (pow_test_data): Likewise.
9872 (scalb_test_data): Likewise.
9873 (sin_test_data): Likewise.
9874 (sincos_test_data): Likewise.
9875 (sinh_test_data): Likewise.
9876 (tan_test_data): Likewise.
9877 (tanh_test_data): Likewise.
9878 (tgamma_test_data): Likewise.
9879 (y0_test_data): Likewise.
9880 (y1_test_data): Likewise.
9881 (yn_test_data): Likewise.
9884 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9885 argument being NaN and avoid computations with second argument in
9887 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9888 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9889 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9891 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9893 * locale/iso-639.def: Add Chitwani Tharu (the).
9895 2013-11-14 Andreas Schwab <schwab@suse.de>
9897 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9898 word instead of empty string.
9900 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9903 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9905 (__fe_nomask_env): Likewise.
9907 2013-11-13 Steve Ellcey <sellcey@mips.com>
9909 * benchtests/bench-timing.h: Include time.h.
9911 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9914 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9916 * sysdeps/unix/sysv/linux/configure: Regenerated.
9918 2013-11-13 Joseph Myers <joseph@codesourcery.com>
9921 * stdlib/strtod_l.c (round_and_return): Do not consider
9922 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9923 exponent one less than half the least subnormal exponent.
9924 * stdlib/test-strtod-round-data: Add more tests.
9925 * stdlib/tst-strtod-round.c (tests): Regenerated.
9927 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9930 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9931 (__fe_mask_env): Likewise.
9932 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9933 libm_hidden_proto and add function prototype.
9934 (__fe_mask_env): Add function prototype.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9936 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9938 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9940 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9942 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9944 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9945 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9947 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9949 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9950 of htab_find_slot().
9952 2013-11-11 David S. Miller <davem@davemloft.net>
9955 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9956 symbol in the non-vis3 case in static builds.
9957 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9958 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9959 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9960 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9962 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9965 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9968 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9970 * benchtests/Makefile: Add bench-strtod.
9971 * benchtests/bench-strtod.c: New file: strtod benchtest
9973 2013-11-11 Andreas Schwab <schwab@suse.de>
9976 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9977 terminating NUL in key length.
9979 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9981 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9982 Add artificial ODP entry for vDSO symbol for PPC64.
9983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9984 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9986 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9989 * nss/getent.c (services_keys): Recognize services starting with digit.
9991 2013-11-06 David S. Miller <davem@davemloft.net>
9994 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9995 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9997 2013-11-06 Will Newton <will.newton@linaro.org>
9999 * manual/memory.texi (Malloc Examples): Remove register
10000 keyword from examples.
10002 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10004 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10006 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10009 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10010 depending on [__GCC_IEC_559 > 0].
10011 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10012 depending on [__GCC_IEC_559_COMPLEX > 0].
10014 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10016 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10019 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10021 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10023 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10026 * malloc/malloc (malloc_info): Do not handle first bin as
10029 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10031 * locale/iso-639.def: Add Central Nahuatl (nhn).
10033 2013-11-01 Bruno Haible <bruno@clisp.org>
10036 * manual/math.texi (BSD Random): Specify range upper bound as
10039 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10041 * locale/iso-639.def: Add Meadow Mari (mhr).
10043 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10045 [BZ #14752], [BZ #15763]
10046 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10048 * rt/tst_shm.c: Add test for escaping directory.
10050 2013-10-31 Andreas Schwab <schwab@suse.de>
10053 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10054 followed by 'x' as part of digit sequence.
10055 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10057 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10060 * configure.ac: allow GNU Make 4.0 and greater.
10061 * configure: Regenerated.
10063 2013-10-30 Will Newton <will.newton@linaro.org>
10066 * malloc/hooks.c (memalign_check): Limit alignment to the
10067 maximum representable power of two.
10068 * malloc/malloc.c (__libc_memalign): Likewise.
10069 * malloc/tst-memalign.c (do_test): Add test for very
10070 large alignment values.
10071 * malloc/tst-posix_memalign.c (do_test): Likewise.
10073 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10076 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10077 (munmap_chunk): Likewise.
10078 (mremap_chunk): Likewise.
10080 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10083 * stdlib/div.c (div): Remove obsolete code.
10084 * stdlib/ldiv.c (ldiv): Likewise.
10085 * stdlib/lldiv.c (lldiv): Likewise.
10087 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10090 * nss/nss_files/files-XXX.c (get_contents_ret): New
10092 (get_contents): New function.
10093 (internal_getent): Use it. Expand size of LINEBUFLEN.
10095 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10097 * configure.in: Moved to ...
10098 * configure.ac: ... here. Change reference to configure.in
10100 * sysdeps/arm/preconfigure.ac: ... here.
10101 configure.in to configure.ac.
10102 * sysdeps/gnu/configure.in: Moved to ...
10103 * sysdeps/gnu/configure.ac: ... here.
10104 * sysdeps/i386/configure.in: Moved to ...
10105 * sysdeps/i386/configure.ac: ... here.
10106 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10107 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10108 * sysdeps/mach/configure.in: Moved to ...
10109 * sysdeps/mach/configure.ac: ... here.
10110 * sysdeps/mach/hurd/configure.in: Moved to ...
10111 * sysdeps/mach/hurd/configure.ac: ... here.
10112 * sysdeps/powerpc/configure.in: Moved to ...
10113 * sysdeps/powerpc/configure.ac: ... here.
10114 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10115 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10116 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10117 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10118 * sysdeps/s390/s390-32/configure.in: Moved to ...
10119 * sysdeps/s390/s390-32/configure.ac: ... here.
10120 * sysdeps/s390/s390-64/configure.in: Moved to ...
10121 * sysdeps/s390/s390-64/configure.ac: ... here.
10122 * sysdeps/sh/configure.in: Moved to ...
10123 * sysdeps/sh/configure.ac: ... here.
10124 * sysdeps/sparc/configure.in: Moved to ...
10125 * sysdeps/sparc/configure.ac: ... here.
10126 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10127 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10128 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10129 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10130 * sysdeps/x86_64/configure.in: Moved to ...
10131 * sysdeps/x86_64/configure.ac: ... here.
10132 * sysdeps/x86_64/preconfigure.in: Moved to ...
10133 * sysdeps/x86_64/preconfigure.ac: ... here.
10134 * aclocal.m4: Change reference to configure.in to configure.ac.
10135 * config.h.in: Likewise.
10136 * manual/install.texi: Likewise.
10137 * manual/maint.texi: Likewise.
10138 * Makefile: Likewise.
10139 * malloc/Makefile: Likewise.
10140 * nscd/Makefile: Likewise.
10141 * Makeconfig: Change reference to configure.in and
10142 preconfigure.in to configure.ac and preconfigure.ac
10144 * INSTALL: Regenerated.
10145 * configure: Likewise.
10146 * sysdeps/gnu/configure: Likewise.
10147 * sysdeps/i386/configure: Likewise.
10148 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10149 * sysdeps/mach/configure: Likewise.
10150 * sysdeps/mach/hurd/configure: Likewise.
10151 * sysdeps/powerpc/configure: Likewise.
10152 * sysdeps/powerpc/powerpc32/configure: Likewise.
10153 * sysdeps/powerpc/powerpc64/configure: Likewise.
10154 * sysdeps/s390/s390-32/configure: Likewise.
10155 * sysdeps/s390/s390-64/configure: Likewise.
10156 * sysdeps/sh/configure: Likewise.
10157 * sysdeps/sparc/configure: Likewise.
10158 * sysdeps/unix/sysv/linux/configure: Likewise.
10159 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10160 * sysdeps/x86_64/configure: Likewise.
10161 * sysdeps/x86_64/preconfigure: Likewise.
10163 2013-10-29 Andreas Schwab <schwab@suse.de>
10165 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10167 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10169 * benchtests/pow-inputs: Add new inputs.
10171 * benchtests/exp-inputs: Add new inputs.
10173 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10174 conditional check for return value.
10175 (__cos32): Likewise.
10177 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10179 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10180 to provide a boost for large inputs with word alignment.
10181 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10182 implementation based on optimized PPC64 strcpy.
10183 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10184 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10185 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10186 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10188 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10191 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10193 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10196 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10197 * time/tst-strptime.c (day_tests): Add testcase.
10199 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10202 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10204 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10207 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10208 MAP_FAILED on error.
10210 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10213 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10214 heap for large requests.
10216 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10219 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10220 result if the result has no associated interface.
10221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10222 interface for all 127.X.Y.Z addresses.
10224 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10226 * locale/iso-639.def: Add Ligurian (lij)
10228 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10231 * sunrpc/rpc_main.c: Document rpcgen -5.
10233 2013-10-19 Michael Stahl <mstahl@redhat.com>
10235 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10237 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10240 * posix/glob.c: Match only directories when trailing slash is present.
10241 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10242 (main): Add testcase.
10244 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10247 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10249 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10251 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10252 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10253 AUTH_DES and cindex for FIPS 140-2.
10254 (DES Encryption): Add cindex FIPS 46-3.
10256 * locale/locarchive.h (struct locarhandle): Add fname.
10257 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10258 if an optional argument was specified to --list-archive,
10260 * locale/programs/locarchive.c (show_archive_content): Take new
10261 argument fname and pass it via ah.fname to open_archive.
10262 * locale/programs/localedef.h: Update decl.
10263 (open_archive): If AH->fname is non-null, open that file
10264 rather than the default file name, and don't ignore ENOENT.
10265 (create_archive): Set AH.fname to NULL.
10266 (delete_locales_from_archive): Likewise.
10267 (add_locales_to_archive): Likewise.
10268 * locale/programs/locfile.c (write_all_categories): Likewise.
10270 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10271 Aldy Hernandez <aldyh@redhat.com>
10273 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10274 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10275 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10276 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10277 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10278 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10279 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10280 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10281 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10282 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10283 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10284 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10285 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10286 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10287 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10289 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10291 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10293 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10295 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10296 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10298 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10299 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10300 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10301 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10303 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10304 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10305 * sysdeps/powerpc/preconfigure: Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10308 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10309 Replace contents of file by #include of <fenv_libc.h>.
10310 * sysdeps/powerpc/soft-fp/sfp-machine.h
10311 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10313 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10314 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10315 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10316 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10323 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10326 Allow copysignl PLT reference to be missing.
10328 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10329 Joseph Myers <joseph@codesourcery.com
10332 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10334 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10336 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10338 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10339 * elf/tst-tls1.c: Likewise.
10340 * elf/tst-tls10.h: Likewise.
10341 * elf/tst-tls14.c: Likewise.
10342 * elf/tst-tls2.c: Likewise.
10343 * elf/tst-tls3.c: Likewise.
10344 * elf/tst-tls4.c: Likewise.
10345 * elf/tst-tls5.c: Likewise.
10346 * elf/tst-tls6.c: Likewise.
10347 * elf/tst-tls7.c: Likewise.
10348 * elf/tst-tls8.c: Likewise.
10349 * elf/tst-tls9.c: Likewise.
10350 * elf/tst-tlsmod1.c: Likewise.
10351 * elf/tst-tlsmod13.c: Likewise.
10352 * elf/tst-tlsmod13a.c: Likewise.
10353 * elf/tst-tlsmod14a.c: Likewise.
10354 * elf/tst-tlsmod16a.c: Likewise.
10355 * elf/tst-tlsmod16b.c: Likewise.
10356 * elf/tst-tlsmod2.c: Likewise.
10357 * elf/tst-tlsmod3.c: Likewise.
10358 * elf/tst-tlsmod4.c: Likewise.
10359 * elf/tst-tlsmod5.c: Likewise.
10360 * elf/tst-tlsmod6.c: Likewise.
10362 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10365 * malloc/malloc.c: remove checks for statistics.
10367 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10370 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10371 * inet/tst-network.c: Add testcase.
10373 2013-10-17 Andreas Schwab <schwab@suse.de>
10376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10377 to determine canonical name.
10379 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10381 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10382 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10403 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10405 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10406 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10407 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10411 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10429 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10430 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10431 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10433 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10434 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10435 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10436 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10437 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10438 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10440 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10443 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10444 make result into a quiet NaN.
10446 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10448 * soft-fp/adddf3.c: Fix horizontal whitespace.
10449 * soft-fp/addsf3.c: Likewise.
10450 * soft-fp/addtf3.c: Likewise.
10451 * soft-fp/divdf3.c: Likewise.
10452 * soft-fp/divsf3.c: Likewise.
10453 * soft-fp/divtf3.c: Likewise.
10454 * soft-fp/double.h: Likewise.
10455 * soft-fp/eqdf2.c: Likewise.
10456 * soft-fp/eqsf2.c: Likewise.
10457 * soft-fp/eqtf2.c: Likewise.
10458 * soft-fp/extenddftf2.c: Likewise.
10459 * soft-fp/extended.h: Likewise.
10460 * soft-fp/extendsfdf2.c: Likewise.
10461 * soft-fp/extendsftf2.c: Likewise.
10462 * soft-fp/extendxftf2.c: Likewise.
10463 * soft-fp/fixdfdi.c: Likewise.
10464 * soft-fp/fixdfsi.c: Likewise.
10465 * soft-fp/fixdfti.c: Likewise.
10466 * soft-fp/fixsfdi.c: Likewise.
10467 * soft-fp/fixsfsi.c: Likewise.
10468 * soft-fp/fixsfti.c: Likewise.
10469 * soft-fp/fixtfdi.c: Likewise.
10470 * soft-fp/fixtfsi.c: Likewise.
10471 * soft-fp/fixtfti.c: Likewise.
10472 * soft-fp/fixunsdfdi.c: Likewise.
10473 * soft-fp/fixunsdfsi.c: Likewise.
10474 * soft-fp/fixunsdfti.c: Likewise.
10475 * soft-fp/fixunssfdi.c: Likewise.
10476 * soft-fp/fixunssfsi.c: Likewise.
10477 * soft-fp/fixunssfti.c: Likewise.
10478 * soft-fp/fixunstfdi.c: Likewise.
10479 * soft-fp/fixunstfsi.c: Likewise.
10480 * soft-fp/fixunstfti.c: Likewise.
10481 * soft-fp/floatdidf.c: Likewise.
10482 * soft-fp/floatdisf.c: Likewise.
10483 * soft-fp/floatditf.c: Likewise.
10484 * soft-fp/floatsidf.c: Likewise.
10485 * soft-fp/floatsisf.c: Likewise.
10486 * soft-fp/floatsitf.c: Likewise.
10487 * soft-fp/floattidf.c: Likewise.
10488 * soft-fp/floattisf.c: Likewise.
10489 * soft-fp/floattitf.c: Likewise.
10490 * soft-fp/floatundidf.c: Likewise.
10491 * soft-fp/floatundisf.c: Likewise.
10492 * soft-fp/floatunditf.c: Likewise.
10493 * soft-fp/floatunsidf.c: Likewise.
10494 * soft-fp/floatunsisf.c: Likewise.
10495 * soft-fp/floatunsitf.c: Likewise.
10496 * soft-fp/floatuntidf.c: Likewise.
10497 * soft-fp/floatuntisf.c: Likewise.
10498 * soft-fp/floatuntitf.c: Likewise.
10499 * soft-fp/fmadf4.c: Likewise.
10500 * soft-fp/fmasf4.c: Likewise.
10501 * soft-fp/fmatf4.c: Likewise.
10502 * soft-fp/gedf2.c: Likewise.
10503 * soft-fp/gesf2.c: Likewise.
10504 * soft-fp/getf2.c: Likewise.
10505 * soft-fp/ledf2.c: Likewise.
10506 * soft-fp/lesf2.c: Likewise.
10507 * soft-fp/letf2.c: Likewise.
10508 * soft-fp/muldf3.c: Likewise.
10509 * soft-fp/mulsf3.c: Likewise.
10510 * soft-fp/multf3.c: Likewise.
10511 * soft-fp/negdf2.c: Likewise.
10512 * soft-fp/negsf2.c: Likewise.
10513 * soft-fp/negtf2.c: Likewise.
10514 * soft-fp/op-1.h: Likewise.
10515 * soft-fp/op-2.h: Likewise.
10516 * soft-fp/op-4.h: Likewise.
10517 * soft-fp/op-8.h: Likewise.
10518 * soft-fp/op-common.h: Likewise.
10519 * soft-fp/quad.h: Likewise.
10520 * soft-fp/single.h: Likewise.
10521 * soft-fp/soft-fp.h: Likewise.
10522 * soft-fp/sqrtdf2.c: Likewise.
10523 * soft-fp/sqrtsf2.c: Likewise.
10524 * soft-fp/sqrttf2.c: Likewise.
10525 * soft-fp/subdf3.c: Likewise.
10526 * soft-fp/subsf3.c: Likewise.
10527 * soft-fp/subtf3.c: Likewise.
10528 * soft-fp/truncdfsf2.c: Likewise.
10529 * soft-fp/trunctfdf2.c: Likewise.
10530 * soft-fp/trunctfsf2.c: Likewise.
10531 * soft-fp/trunctfxf2.c: Likewise.
10532 * soft-fp/unorddf2.c: Likewise.
10533 * soft-fp/unordsf2.c: Likewise.
10534 * soft-fp/unordtf2.c: Likewise.
10536 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10538 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10539 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10541 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10543 * elf/dl-libc.c: Clear initfini list after freeing.
10545 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10547 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10548 * soft-fp/addsf3.c: Likewise.
10549 * soft-fp/addtf3.c: Likewise.
10550 * soft-fp/divdf3.c: Likewise.
10551 * soft-fp/divsf3.c: Likewise.
10552 * soft-fp/divtf3.c: Likewise.
10553 * soft-fp/double.h: Likewise.
10554 * soft-fp/eqdf2.c: Likewise.
10555 * soft-fp/eqsf2.c: Likewise.
10556 * soft-fp/eqtf2.c: Likewise.
10557 * soft-fp/extenddftf2.c: Likewise.
10558 * soft-fp/extended.h: Likewise.
10559 * soft-fp/extendsfdf2.c: Likewise.
10560 * soft-fp/extendsftf2.c: Likewise.
10561 * soft-fp/extendxftf2.c: Likewise.
10562 * soft-fp/fixdfdi.c: Likewise.
10563 * soft-fp/fixdfsi.c: Likewise.
10564 * soft-fp/fixdfti.c: Likewise.
10565 * soft-fp/fixsfdi.c: Likewise.
10566 * soft-fp/fixsfsi.c: Likewise.
10567 * soft-fp/fixsfti.c: Likewise.
10568 * soft-fp/fixtfdi.c: Likewise.
10569 * soft-fp/fixtfsi.c: Likewise.
10570 * soft-fp/fixtfti.c: Likewise.
10571 * soft-fp/fixunsdfdi.c: Likewise.
10572 * soft-fp/fixunsdfsi.c: Likewise.
10573 * soft-fp/fixunsdfti.c: Likewise.
10574 * soft-fp/fixunssfdi.c: Likewise.
10575 * soft-fp/fixunssfsi.c: Likewise.
10576 * soft-fp/fixunssfti.c: Likewise.
10577 * soft-fp/fixunstfdi.c: Likewise.
10578 * soft-fp/fixunstfsi.c: Likewise.
10579 * soft-fp/fixunstfti.c: Likewise.
10580 * soft-fp/floatdidf.c: Likewise.
10581 * soft-fp/floatdisf.c: Likewise.
10582 * soft-fp/floatditf.c: Likewise.
10583 * soft-fp/floatsidf.c: Likewise.
10584 * soft-fp/floatsisf.c: Likewise.
10585 * soft-fp/floatsitf.c: Likewise.
10586 * soft-fp/floattidf.c: Likewise.
10587 * soft-fp/floattisf.c: Likewise.
10588 * soft-fp/floattitf.c: Likewise.
10589 * soft-fp/floatundidf.c: Likewise.
10590 * soft-fp/floatundisf.c: Likewise.
10591 * soft-fp/floatunsidf.c: Likewise.
10592 * soft-fp/floatunsisf.c: Likewise.
10593 * soft-fp/floatuntidf.c: Likewise.
10594 * soft-fp/floatuntisf.c: Likewise.
10595 * soft-fp/floatuntitf.c: Likewise.
10596 * soft-fp/fmadf4.c: Likewise.
10597 * soft-fp/fmasf4.c: Likewise.
10598 * soft-fp/fmatf4.c: Likewise.
10599 * soft-fp/gedf2.c: Likewise.
10600 * soft-fp/gesf2.c: Likewise.
10601 * soft-fp/getf2.c: Likewise.
10602 * soft-fp/ledf2.c: Likewise.
10603 * soft-fp/lesf2.c: Likewise.
10604 * soft-fp/letf2.c: Likewise.
10605 * soft-fp/muldf3.c: Likewise.
10606 * soft-fp/mulsf3.c: Likewise.
10607 * soft-fp/multf3.c: Likewise.
10608 * soft-fp/negdf2.c: Likewise.
10609 * soft-fp/negsf2.c: Likewise.
10610 * soft-fp/negtf2.c: Likewise.
10611 * soft-fp/op-1.h: Likewise.
10612 * soft-fp/op-2.h: Likewise.
10613 * soft-fp/op-4.h: Likewise.
10614 * soft-fp/op-8.h: Likewise.
10615 * soft-fp/op-common.h: Likewise.
10616 * soft-fp/quad.h: Likewise.
10617 * soft-fp/single.h: Likewise.
10618 * soft-fp/soft-fp.h: Likewise.
10619 * soft-fp/sqrtdf2.c: Likewise.
10620 * soft-fp/sqrtsf2.c: Likewise.
10621 * soft-fp/sqrttf2.c: Likewise.
10622 * soft-fp/subdf3.c: Likewise.
10623 * soft-fp/subsf3.c: Likewise.
10624 * soft-fp/subtf3.c: Likewise.
10625 * soft-fp/truncdfsf2.c: Likewise.
10626 * soft-fp/trunctfdf2.c: Likewise.
10627 * soft-fp/trunctfsf2.c: Likewise.
10628 * soft-fp/trunctfxf2.c: Likewise.
10629 * soft-fp/unorddf2.c: Likewise.
10630 * soft-fp/unordsf2.c: Likewise.
10631 * soft-fp/unordtf2.c: Likewise.
10633 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10636 * misc/error.c (error_tail): Fix possible buffer overflow.
10638 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10641 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10644 2013-10-14 P. J. McDermott <pj@pehjota.net>
10647 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10648 testing pipefail option.
10650 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10652 * soft-fp/double.h: Indent preprocessor directives inside #if.
10653 * soft-fp/extended.h: Likewise.
10654 * soft-fp/op-2.h: Likewise.
10655 * soft-fp/op-4.h: Likewise.
10656 * soft-fp/op-common.h: Likewise.
10657 * soft-fp/quad.h: Likewise.
10658 * soft-fp/single.h: Likewise.
10659 * soft-fp/soft-fp.h: Likewise.
10661 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10663 * iconv/iconv_prog.c: Fix typos.
10664 * stdio-common/psiginfo-data.h: Likewise.
10666 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10669 * locale/setlocale.c: Fix typo.
10671 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10674 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10675 signaling NaN arguments.
10676 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10677 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10680 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10681 unordered operands.
10682 * soft-fp/gesf2.c (__gesf2): Likewise.
10683 * soft-fp/getf2.c (__getf2): Likewise.
10684 * soft-fp/ledf2.c (__ledf2): Likewise.
10685 * soft-fp/lesf2.c (__lesf2): Likewise.
10686 * soft-fp/letf2.c (__letf2): Likewise.
10688 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10689 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10690 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10691 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10692 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10693 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10694 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10695 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10696 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10697 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10698 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10699 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10700 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10701 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10702 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10703 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10704 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10705 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10706 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10707 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10708 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10709 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10710 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10711 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10712 * soft-fp/floattidf.c (__floattidf): Likewise.
10713 * soft-fp/floattisf.c (__floattisf): Likewise.
10714 * soft-fp/floattitf.c (__floattitf): Likewise.
10715 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10716 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10717 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10718 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10719 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10720 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10721 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10722 * soft-fp/gesf2.c (__gesf2): Likewise.
10723 * soft-fp/getf2.c (__getf2): Likewise.
10724 * soft-fp/ledf2.c (__ledf2): Likewise.
10725 * soft-fp/lesf2.c (__lesf2): Likewise.
10726 * soft-fp/letf2.c (__letf2): Likewise.
10728 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10729 Undefine and redefine.
10730 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10731 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10732 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10733 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10734 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10735 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10736 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10737 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10738 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10739 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10740 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10741 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10742 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10743 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10744 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10747 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10748 without decrementing exponent if mantissa >= that for the
10749 denominator, not >.
10750 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10751 denominator, not >. Decrement exponent in < case instead of
10752 incrementing in >= case.
10753 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10754 without decrementing exponent if mantissa >= that for the
10755 denominator, not >.
10757 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10758 computing saturated result for unsigned overflow.
10760 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10761 Jeff Law <law@redhat.com>
10763 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10764 (atan2Mp): Add systemtap probe marker.
10765 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10766 (__ieee754_log): Add systemtap probe marker.
10767 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10768 (atanMp): Add systemtap probe marker.
10769 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10770 (tanMp): Add systemtap probe marker.
10771 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10772 (__slowexp): Add systemtap probe marker.
10773 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10774 (__slowpow): Add systemtap probe marker.
10775 * manual/probes.texi: Document probes.
10777 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10780 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10782 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10784 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10785 written to buffer but not flushed.
10786 * libio/iofwrite_u.c: Likewise.
10787 * libio/iopadn.c: Return bytes returned even if EOF was
10789 * libio/iowpadn.c: Likewise.
10790 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10791 if _IO_padn does not write the whole buffer.
10792 [!COMPILE_WPRINTF] (PAD): Likewise.
10794 2013-10-10 David S. Miller <davem@davemloft.net>
10796 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10799 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10801 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10802 instead of FSF address.
10803 * soft-fp/fixdfti.c: Likewise.
10804 * soft-fp/fixsfti.c: Likewise.
10805 * soft-fp/fixtfti.c: Likewise.
10806 * soft-fp/fixunsdfti.c: Likewise.
10807 * soft-fp/fixunssfti.c: Likewise.
10808 * soft-fp/fixunstfti.c: Likewise.
10809 * soft-fp/floattidf.c: Likewise.
10810 * soft-fp/floattisf.c: Likewise.
10811 * soft-fp/floattitf.c: Likewise.
10812 * soft-fp/floatuntidf.c: Likewise.
10813 * soft-fp/floatuntisf.c: Likewise.
10814 * soft-fp/floatuntitf.c: Likewise.
10815 * soft-fp/trunctfxf2.c: Likewise.
10817 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10818 * soft-fp/fixdfti.c: Likewise.
10819 * soft-fp/fixsfti.c: Likewise.
10820 * soft-fp/fixtfti.c: Likewise.
10821 * soft-fp/fixunsdfti.c: Likewise.
10822 * soft-fp/fixunssfti.c: Likewise.
10823 * soft-fp/fixunstfti.c: Likewise.
10824 * soft-fp/floattidf.c: Likewise.
10825 * soft-fp/floattisf.c: Likewise.
10826 * soft-fp/floattitf.c: Likewise.
10827 * soft-fp/floatuntidf.c: Likewise.
10828 * soft-fp/floatuntisf.c: Likewise.
10829 * soft-fp/floatuntitf.c: Likewise.
10830 * soft-fp/trunctfxf2.c: Likewise.
10832 2013-10-10 David S. Miller <davem@davemloft.net>
10834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10836 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10838 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10839 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10840 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10841 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10842 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10843 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10844 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10847 for NaNs before doing comparisons on argument.
10848 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10851 2013-10-10 Will Newton <will.newton@linaro.org>
10853 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10854 passed to _int_memalign does not overflow.
10856 2013-10-10 Torvald Riegel <triegel@redhat.com>
10858 * scripts/bench.pl: Add include-sources directive.
10859 * benchtests/README: Update documentation.
10861 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10863 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10864 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10865 instead of FP_INIT_ROUNDMODE.
10866 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10867 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10870 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10871 copy class of input value.
10872 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10873 not handle exceptions.
10874 * soft-fp/negsf2.c (__negsf2): Likewise.
10875 * soft-fp/negtf2.c (__negtf2): Likewise.
10876 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10878 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10880 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10881 semicolon. From Linux kernel.
10883 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10885 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10887 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10890 * manual/socket.texi: Added statement about buffer
10891 for gethostbyname2_r.
10893 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10895 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10896 Use .p2align directive instead, throughout.
10897 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10898 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10899 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10900 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10901 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10902 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10903 * sysdeps/x86_64/strchr.S: Likewise.
10904 * sysdeps/x86_64/strrchr.S: Likewise.
10906 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10908 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10910 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10912 * sysdeps/generic/math_private.h (__mpsin1): Remove
10914 (__mpcos1): Likewise.
10915 (__mpsin): New argument __range_reduce.
10916 (__mpcos): Likewise.
10917 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10918 (slow): Use __mpsin and __mpcos.
10922 (sloww1): Likewise.
10923 (sloww2): Likewise.
10924 (bsloww): Likewise.
10925 (bsloww1): Likewise.
10926 (bsloww2): Likewise.
10927 (cslow2): Likewise.
10928 (csloww): Likewise.
10929 (csloww1): Likewise.
10930 (csloww2): Likewise.
10931 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10932 range_reduce. Merge in __mpsin1.
10933 (__mpcos): Likewise.
10934 (__mpsin1): Remove.
10935 (__mpcos1): Likewise.
10937 2013-10-07 Joseph Myers <joseph@codesourcery.com>
10939 * locale/loadlocale.c (_nl_intern_locale_data): Use
10941 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10942 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10943 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10944 obstack data is appropriately aligned.
10945 (obstack_int32_grow_fast): Likewise.
10946 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10947 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10948 (add_locale_uint32_array): Likewise.
10950 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10952 * benchtests/Makefile: Remove ARGLIST and RET variables.
10953 ($(objpfx)bench-%.c): Pass only function name to the script.
10954 * benchtests/README: Update documentation.
10955 * benchtests/acos-inputs: Add new directives.
10956 * benchtests/acosh-inputs: Likewise.
10957 * benchtests/asin-inputs: Likewise.
10958 * benchtests/asinh-inputs: Likewise.
10959 * benchtests/atan-inputs: Likewise.
10960 * benchtests/atanh-inputs: Likewise.
10961 * benchtests/cos-inputs: Likewise.
10962 * benchtests/cosh-inputs: Likewise.
10963 * benchtests/exp-inputs: Likewise.
10964 * benchtests/log-inputs: Likewise.
10965 * benchtests/pow-inputs: Likewise.
10966 * benchtests/rint-inputs: Likewise.
10967 * benchtests/sin-inputs: Likewise.
10968 * benchtests/sinh-inputs: Likewise.
10969 * benchtests/tan-inputs: Likewise.
10970 * benchtests/tanh-inputs: Likewise.
10971 * scripts/bench.pl: Add support for new directives.
10973 2013-10-07 Alan Modra <amodra@gmail.com>
10975 * README: Fix careless merge.
10977 2013-10-05 Alan Modra <amodra@gmail.com>
10979 * NEWS: Mention powerpc64le support and bugs fixed.
10980 * README: Both big-endian and little-endian powerpc64 supported.
10982 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10984 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10985 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10986 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10987 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10989 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10991 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10994 2013-10-04 Joseph Myers <joseph@codesourcery.com>
10996 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10997 Move -mhard-float appending from
10998 ports/sysdeps/powerpc/powerpc32/Makefile.
10999 [$(with-fp) = yes] (ASFLAGS): Likewise.
11000 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11001 * sysdeps/powerpc/nofpu: Move directory from
11002 ports/sysdeps/powerpc/nofpu.
11003 * sysdeps/powerpc/soft-fp: Move directory from
11004 ports/sysdeps/powerpc/soft-fp.
11005 * sysdeps/powerpc/powerpc32/405: Move directory from
11006 ports/sysdeps/powerpc/powerpc32/405.
11007 * sysdeps/powerpc/powerpc32/440: Move directory from
11008 ports/sysdeps/powerpc/powerpc32/440.
11009 * sysdeps/powerpc/powerpc32/464: Move directory from
11010 ports/sysdeps/powerpc/powerpc32/464.
11011 * sysdeps/powerpc/powerpc32/476: Move directory from
11012 ports/sysdeps/powerpc/powerpc32/476.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11014 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11016 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11018 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11020 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11022 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11023 * README: Update for powerpc-*-linux-gnu software floating point
11026 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11027 case to powerpc/powerpc32*.
11028 * sysdeps/unix/sysv/linux/configure: Regenerated.
11030 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11031 (_FPU_MASK_OM): Define as 0x04.
11032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11040 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11043 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11046 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11047 and setcontext_e500.
11049 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11051 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11053 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11055 * manual/threads.texi (Default Thread Attributes): Fix typo.
11057 2013-10-04 Will Newton <will.newton@linaro.org>
11059 * malloc/Makefile: Add tst-memalign.
11060 * malloc/tst-memalign.c: New file.
11062 * malloc/tst-posix_memalign.c: Add comments.
11063 (do_test): Add comments and call free on all potentially
11064 allocated pointers. Add space after cast.
11066 * malloc/tst-pvalloc.c: Add comments.
11067 (do_test): Add comments and call free on all potentially
11068 allocated pointers. Remove duplicate check for NULL pointer.
11069 Add space after cast.
11071 * malloc/tst-valloc.c: Add comments.
11072 (do_test): Add comments and call free on all potentially
11073 allocated pointers. Remove duplicate check for NULL pointer.
11074 Add space after cast.
11076 2013-10-04 Alan Modra <amodra@gmail.com>
11078 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11079 Use stdint types in rather than __attribute__((mode())).
11080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11082 2013-10-04 Alan Modra <amodra@gmail.com>
11084 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11085 Correct handling of unaligned relocs for little-endian.
11086 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11088 2013-10-04 Alan Modra <amodra@gmail.com>
11090 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11091 * configure: Regenerate.
11092 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11093 * shlib-versions: Likewise.
11095 2013-10-04 Alan Modra <amodra@gmail.com>
11097 * string/tester.c (test_memrchr): Increment reported test cycle.
11099 2013-10-04 Alan Modra <amodra@gmail.com>
11101 * string/test-memcpy.c (do_one_test): When reporting errors, print
11102 string address and don't overrun end of string.
11104 2013-10-04 Alan Modra <amodra@gmail.com>
11106 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11107 insrdi. Make better use of reg selection to speed exit slightly.
11108 Schedule entry path a little better. Remove useless "are we done"
11109 checks on entry to main loop. Handle wrapping around zero address.
11110 Correct main loop count. Handle single left-over word from main
11111 loop inline rather than by using loop_small. Remove extra word
11112 case in loop_small caused by wrong loop count. Add little-endian
11114 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11117 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11118 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11119 support. Avoid rlwimi.
11120 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11122 2013-10-04 Alan Modra <amodra@gmail.com>
11124 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11125 insrdi. Formatting.
11126 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11127 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11128 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11129 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11130 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11131 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11133 2013-10-04 Alan Modra <amodra@gmail.com>
11135 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11136 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11137 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11138 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11139 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11140 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11141 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11142 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11143 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11144 use of regs. Use power7 mtocrf. Tidy function tails.
11146 2013-10-04 Alan Modra <amodra@gmail.com>
11148 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11149 Formatting. Consistently use rXXX register defines or rN defines.
11150 Use early exit labels that avoid restoring unused non-volatile regs.
11151 Make cr field use more consistent with rWORDn compares. Rename
11152 regs used as shift registers for unaligned loop, using rN defines
11153 for short lifetime/multiple use regs.
11154 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11155 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11156 addi 1,1,64 to pop stack frame. Simplify return value code.
11157 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11159 2013-10-04 Alan Modra <amodra@gmail.com>
11161 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11162 support. Correct typos, formatting. Optimize tail. Use insrdi
11163 rather than rlwimi.
11164 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11165 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11166 little-endian support. Correct typos.
11167 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11168 rather than rlwimi.
11169 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11170 in loop and entry code to keep "and." results.
11171 (strchr): Add little-endian support. Comment. Move cntlzd
11173 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11175 2013-10-04 Alan Modra <amodra@gmail.com>
11177 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11178 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11179 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11180 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11182 2013-10-04 Alan Modra <amodra@gmail.com>
11184 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11185 (rTMP): Define as r11.
11186 (strcmp): Add little-endian support. Optimise tail.
11187 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11188 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11189 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11190 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11191 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11193 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11195 2013-10-04 Alan Modra <amodra@gmail.com>
11197 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11198 little-endian support. Remove unnecessary "are we done" tests.
11199 Handle "s" wrapping around zero and extremely large "size".
11200 Correct main loop count. Handle single left-over word from main
11201 loop inline rather than by using small_loop. Correct comments.
11202 Delete "zero" tail, use "end_max" instead.
11203 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11205 2013-10-04 Alan Modra <amodra@gmail.com>
11207 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11208 support. Don't branch over align.
11209 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11210 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11211 support. Rearrange tmp reg use to suit. Comment.
11212 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11214 2013-10-04 Alan Modra <amodra@gmail.com>
11216 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11218 2013-10-04 Alan Modra <amodra@gmail.com>
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11221 conditional form of branch and link when obtaining pc.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11224 2013-10-04 Alan Modra <amodra@gmail.com>
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11231 2013-10-04 Alan Modra <amodra@gmail.com>
11233 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11234 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11235 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11236 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11237 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11238 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11240 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11241 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11242 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11244 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11245 Alistair Popple <alistair@ozlabs.au.ibm.com>
11246 Alan Modra <amodra@gmail.com>
11249 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11250 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11251 _dl_hwcap access for little-endian.
11252 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11253 destroy vmx regs when saving unaligned.
11254 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11255 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11256 destroy vmx regs when saving unaligned.
11258 2013-10-04 Alan Modra <amodra@gmail.com>
11260 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11261 Don't use a union to pack hi/low value.
11263 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11265 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11267 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11269 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11270 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11271 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11273 2013-10-04 Alan Modra <amodra@gmail.com>
11275 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11276 constants to usual value for .cst8 section, and remove redundant
11278 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11279 constant for 0x1p52. Load little-endian words of double from
11280 correct stack offsets.
11282 2013-10-04 Alan Modra <amodra@gmail.com>
11284 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11285 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11286 words of double from correct stack offsets.
11287 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11288 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11289 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11290 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11291 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11293 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11294 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11295 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11296 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11298 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11299 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11300 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11301 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11302 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11303 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11305 2013-10-04 Alan Modra <amodra@gmail.com>
11307 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11308 64-bit int/double union.
11309 (_FPU_SETCW): Likewise.
11310 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11311 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11313 2013-10-04 Alan Modra <amodra@gmail.com>
11315 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11316 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11318 2013-10-04 Alan Modra <amodra@gmail.com>
11320 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11321 use vector int constants.
11322 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11324 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11326 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11327 array with long long.
11328 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11329 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11330 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11331 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11332 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11333 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11334 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11336 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11337 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11338 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11339 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11340 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11342 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11344 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11345 (__signbit): Likewise. Correct for little-endian.
11346 (__signbitl): Call __signbit.
11347 (lrint): Correct for little-endian.
11348 (lrintf): Call lrint.
11350 2013-10-04 Alan Modra <amodra@gmail.com>
11352 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11353 union 32-bit int array member with 64-bit int array.
11354 (t515, tm256): Double rather than long double.
11355 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11357 2013-10-04 Alan Modra <amodra@gmail.com>
11359 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11361 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11362 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11363 version of math_ldbl.h.
11365 2013-10-04 Alan Modra <amodra@gmail.com>
11367 [BZ #15734], [BZ #15735]
11368 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11369 all uses of ieee875 long double macros and unions. Simplify test
11370 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11371 ldbl_extract_mantissa value for ix,iy exponents. Properly
11372 normalize after ldbl_extract_mantissa, and don't add hidden bit
11373 already handled. Don't treat low word of ieee854 mantissa like
11374 low word of IBM long double and mask off bit when testing for
11376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11377 all uses of ieee875 long double macros and unions. Simplify tests
11378 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11379 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11380 two1022, instead use their values. Recognise that tests for large
11381 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11382 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11383 Rewrite all uses of ieee875 long double macros and unions. Simplify
11384 test for 0.0L and nan. Correct negation.
11385 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11386 ieee875 long double macros and unions. Correct output for large
11387 magnitude x. Correct absolute value calculation.
11388 (__erfcl): Likewise.
11389 * math/libm-test.inc: Add tests for errors discovered in IBM long
11390 double versions of fmodl, remainderl, erfl and erfcl.
11392 2013-10-04 Alan Modra <amodra@gmail.com>
11394 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11395 all uses of ieee854 long double macros and unions. Simplify tests
11396 for long doubles that are fully specified by the high double.
11397 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11399 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11400 Remove dead code too.
11401 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11402 (__ieee754_ynl): Likewise.
11403 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11405 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11406 Remove dead code too.
11407 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11408 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11409 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11410 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11412 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11414 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11415 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11417 Comment on variable precision.
11418 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11419 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11421 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11422 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11423 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11424 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11425 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11427 2013-10-04 Alan Modra <amodra@gmail.com>
11429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11430 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11431 all uses of ieee854 long double macros and unions.
11432 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11433 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11434 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11435 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11436 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11437 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11439 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11441 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11442 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11443 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11444 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11445 Simplify sign and nan test too.
11446 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11447 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11448 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11449 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11451 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11452 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11455 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11456 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11457 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11458 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11461 2013-10-04 Alan Modra <amodra@gmail.com>
11463 * stdio-common/printf_size.c (__printf_size): Don't use
11464 union ieee854_long_double in fpnum union.
11465 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11466 signbit macro to retrieve sign from long double.
11467 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11468 retrieve sign from long double.
11469 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11470 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11471 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11472 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11473 * math/test-misc.c (main): Don't use union ieee854_long_double.
11475 2013-10-04 Alan Modra <amodra@gmail.com>
11478 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11479 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11480 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11481 calculation. Remove unnecessary test for denormal exponent.
11482 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11483 Correct handling of denormals. Avoid undefined shift behaviour.
11484 Correct normalisation of low mantissa when low double is denormal.
11485 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11486 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11487 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11488 Correct normalisation of low mantissa. Test for overflow of high
11489 mantissa and normalise.
11490 (ldbl_nearbyint): Use more readable constant for two52.
11491 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11492 (__mpn_construct_long_double): Fix test for overflow of high
11493 mantissa and correct normalisation. Avoid undefined shift.
11495 2013-10-04 Alan Modra <amodra@gmail.com>
11497 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11498 (union ibm_extended_long_double): Define as an array of ieee754_double.
11499 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11500 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11501 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11502 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11509 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11511 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11513 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11514 page size instead of calling getpagesize.
11516 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11517 (LOCFILE_ALIGN_MASK): Likewise.
11518 (LOCFILE_ALIGN_UP): Likewise.
11519 (LOCFILE_ALIGNED_P): Likewise.
11520 * locale/programs/ld-collate.c (collate_output): Use the new
11521 macros instead of __alignof__ (int32_t).
11522 * locale/weight.h (findidx): Likewise.
11524 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11527 * manual/string.texi: Fix strncat and wcsncat.
11529 2013-10-03 Brooks Moses <bmoses@google.com>
11532 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11533 * Makerules: ...here, and adjust associated comments.
11535 2013-10-02 Will Newton <will.newton@linaro.org>
11537 * malloc/Makefile: Add tst-pvalloc.
11538 * malloc/tst-pvalloc.c: New file.
11540 2013-10-02 Will Newton <will.newton@linaro.org>
11542 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11543 improve test coverage.
11545 2013-10-02 Will Newton <will.newton@linaro.org>
11547 * malloc/Makefile: Add tst-posix_memalign.
11548 * malloc/tst-posix_memalign.c: New file.
11550 2013-10-01 Eric Blake <eblake@redhat.com>
11552 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11553 Use __THROWNL rather than __THROW on static functions.
11555 2013-09-30 Petr Machata <pmachata@redhat.com>
11557 * elf/elf.h (R_AARCH64_ABS16): New macro.
11558 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11559 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11560 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11561 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11562 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11563 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11564 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11565 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11566 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11567 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11568 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11569 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11570 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11571 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11572 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11573 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11574 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11575 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11576 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11577 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11578 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11579 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11580 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11581 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11582 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11583 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11584 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11585 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11586 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11587 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11588 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11589 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11590 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11591 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11592 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11593 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11594 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11595 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11596 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11597 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11598 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11599 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11600 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11601 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11602 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11603 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11604 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11605 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11606 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11607 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11608 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11609 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11610 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11611 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11612 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11613 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11614 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11615 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11616 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11617 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11618 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11619 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11620 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11621 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11622 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11623 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11624 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11625 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11626 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11627 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11628 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11629 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11630 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11631 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11632 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11633 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11634 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11635 (R_AARCH64_TLSDESC_LDR): Likewise.
11636 (R_AARCH64_TLSDESC_ADD): Likewise.
11637 (R_AARCH64_TLSDESC_CALL): Likewise.
11639 2013-09-30 Andreas Schwab <schwab@suse.de>
11642 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11643 the nss database lookup.
11644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11647 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11649 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11651 2013-09-28 P. J. McDermott <pj@pehjota.net>
11653 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11654 ${Bash-specific parameter/pattern/string} parameter expansion.
11655 * sysdeps/unix/make-syscalls.sh: Likewise.
11657 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11659 * sysdeps/sh/stackguard-macros.h: New file.
11661 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11665 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11666 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11667 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11668 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11670 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11672 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11673 Fix thread ID register.
11675 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11677 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11678 [POSIX || UNIX98]: Require rather than permitting all symbols from
11680 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11681 element of struct sched_param.
11682 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11683 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11684 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11685 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11688 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11690 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11691 argument calculation.
11693 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11695 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11697 [POSIX] (pthread_attr_t): Do not require type.
11698 [POSIX] (pthread_cond_t): Likewise.
11699 [POSIX] (pthread_condattr_t): Likewise.
11700 [POSIX] (pthread_key_t): Likewise.
11701 [POSIX] (pthread_mutex_t): Likewise.
11702 [POSIX] (pthread_mutexattr_t): Likewise.
11703 [POSIX] (pthread_once_t): Likewise.
11704 [POSIX] (pthread_t): Likewise.
11705 [POSIX-based standards] (pthread_atfork): Expect function.
11707 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11708 Richard Sandiford <richard@codesourcery.com>
11710 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11711 (swap_endianness_p): New extern variable.
11712 (set_big_endian): New inline function.
11713 (maybe_swap_uint32): Likewise.
11714 (maybe_swap_uint32_array): Likewise.
11715 (maybe_swap_uint32_obstack): Likewise.
11716 * locale/programs/locfile.c: Include <stdbool.h>.
11717 (swap_endianness_p): New variable.
11718 (add_locale_uint32): Call maybe_swap_uint32.
11719 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11720 (write_locale_data): Call maybe_swap_uint32_array.
11721 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11723 (obstack_int32_grow_fast): Likewise.
11724 (output_weightwc): Call maybe_swap_uint32_obstack.
11725 (collate_output): Likewise.
11726 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11727 (OPT_LITTLE_ENDIAN): Likewise.
11728 (options): Add --little-endian and --big-endian options.
11729 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11730 * locale/programs/locarchive.c: Include "locfile.h".
11734 (create_archive): Use the new macros to access fields of
11735 structures directly mapped from or written to locale archives.
11736 (oldlocrecentcmp): Likewise.
11737 (enlarge_archive): Likewise.
11738 (insert_name): Likewise.
11739 (add_alias): Likewise.
11740 (add_locale): Likewise.
11741 (delete_locales_from_archive): Likewise.
11742 (show_archive_content): Likewise.
11743 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11746 2013-09-24 Roland McGrath <roland@hack.frob.com>
11748 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11749 http://www.gnu.org/doc/freemanuals.texi.
11750 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11752 2013-09-24 Will Newton <will.newton@linaro.org>
11754 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11757 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11759 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11762 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11764 * manual/threads.texi (POSIX Threads): Fix a typo.
11766 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11769 * string/tst-strcoll-overflow.c: New test case.
11770 * string/Makefile (xtests): Add tst-strcoll-overflow.
11771 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11772 cache if string sizes may cause integer overflow.
11775 * string/strcoll_l.c (coll_seq): New members rule, idx,
11776 save_idx and back_us.
11777 (get_next_seq_nocache): New function.
11778 (do_compare_nocache): New function.
11779 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11782 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11785 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11786 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11787 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11790 * elf/Makefile (tests): Add tst-ptrguard1.
11791 (tests-static): Add tst-ptrguard1-static.
11792 (tst-ptrguard1-ARGS): Define.
11793 (tst-ptrguard1-static-ARGS): Define.
11794 * elf/tst-ptrguard1.c: New file.
11795 * elf/tst-ptrguard1-static.c: New file.
11796 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11797 * sysdeps/i386/stackguard-macros.h: Likewise.
11798 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11799 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11800 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11801 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11802 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11803 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11805 2013-09-23 Hector Marco <hecmargi@upv.es>
11806 Ismael Ripoll <iripoll@disca.upv.es>
11807 Carlos O'Donell <carlos@redhat.com>
11810 * sysdeps/generic/stackguard-macros.h: Define
11811 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11812 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11813 Define __pointer_chk_guard_local.
11814 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11815 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11817 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11820 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11822 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11824 * include/string.h (__ffs): Declare as hidden.
11825 * string/ffs.c (__ffs): Define as hidden.
11826 * sysdeps/i386/ffs.c (__ffs): Likewise.
11827 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11828 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11829 * sysdeps/s390/ffs.c (__ffs): Likewise.
11830 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11832 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11834 * NEWS: Mention malloc probes.
11836 * malloc/arena.c (new_heap): New memory_heap_new probe.
11837 (grow_heap): New memory_heap_more probe.
11838 (shrink_heap): New memory_heap_less probe.
11839 (heap_trim): New memory_heap_free probe.
11840 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11841 (systrim): New memory_sbrk_less probe.
11842 * manual/probes.texi: Document them.
11844 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11845 * manual/probes.texi: Document it.
11847 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11848 (__libc_realloc): Add memory_realloc_retry probe.
11849 (__libc_memalign): Add memory_memalign_retry probe.
11850 (__libc_valloc): Add memory_valloc_retry probe.
11851 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11852 (__libc_calloc): Add memory_calloc_retry probe.
11853 * manual/probes.texi: Document them.
11855 * malloc/arena.c (get_free_list): Add probe
11856 memory_arena_reuse_free_list.
11857 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11858 and memory_arena_reuse.
11859 (arena_get2) [!PER_THREAD]: Likewise.
11860 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11861 memory_arena_reuse_realloc.
11862 * manual/probes.texi: Document them.
11864 * malloc/malloc.c (__libc_free): Add
11865 memory_mallopt_free_dyn_thresholds probe.
11866 (__libc_mallopt): Add multiple memory_mallopt probes.
11867 * manual/probes.texi: Document them.
11869 * malloc/malloc.c: Include stap-probe.h.
11870 (__libc_mallopt): Add memory_mallopt probe.
11871 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11872 * manual/probes.texi: New.
11873 * manual/Makefile (chapters): Add probes.
11874 * manual/threads.texi: Set next node.
11876 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11878 [BZ #15963, #13985]
11879 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11880 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11881 Add `Chinese' to `nan' entry name.
11883 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11885 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11886 (POLYNOMIAL): Likewise.
11887 (TAYLOR_SINCOS): Likewise.
11888 (TAYLOR_SLOW): Likewise.
11889 (__sin): Use TAYLOR_SINCOS.
11891 (slow): Use TAYLOR_SLOW.
11893 (bsloww): Likewise.
11894 (csloww): Likewise.
11896 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11898 * stdlib/strtod_l.c: Fix buffer overrun.
11900 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11902 * benchtests/Makefile (bench): Add sincos.
11903 * benchtests/bench-sincos.c: New file.
11905 * math/libm-test.inc (cos_test_data): New test inputs.
11906 (sin_test_data): Likewise.
11908 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11914 (sloww1): Likewise.
11915 (sloww2): Likewise.
11916 (bsloww1): Likewise.
11917 (bsloww2): Likewise.
11918 (cslow2): Likewise.
11919 (csloww1): Likewise.
11920 (csloww2): Likewise.
11922 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11927 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11931 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11933 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11934 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11935 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11936 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11937 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11938 * elf/cache.c (print_entry): Handle the new cache flags.
11940 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11941 Aldy Hernandez <aldyh@redhat.com>
11943 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11944 Change condition to [_SOFT_FLOAT].
11945 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11957 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11960 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11963 2013-09-18 Joseph Myers <joseph@codesourcery.com>
11965 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11966 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11967 (__longjmp): Use LOAD_GP to load saved GPRs.
11968 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11969 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11970 (__sigsetjmp): Use SAVE_GP to save GPRs.
11972 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11973 Do not append -msoft-float.
11974 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11976 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11978 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11980 2013-09-17 Joseph Myers <joseph@codesourcery.com>
11983 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11984 (_FPU_GETCW): Use initial "__" on variable and field names but not
11985 on macro parameter name.
11986 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11987 parentheses around reference to macro parameter.
11989 2013-09-13 Richard Sandiford <richard@codesourcery.com>
11991 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11993 (ctype_startup): Use uint32_t in cast and sizeof for
11996 2013-09-11 Jia Liu <proljc@gmail.com>
11998 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12000 [__FreeBSD__]: Likewise.
12002 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12005 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12006 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12007 (strchr): Remove __strchr_sse42 ifunc selection.
12008 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12009 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12011 2013-09-11 Will Newton <will.newton@linaro.org>
12013 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12014 parameter to RES. Remove hardcoded 1000 value.
12015 * benchtests/bench-skeleton.c (main): Pass RES parameter
12016 to TIMING_INIT and multiply result by 1000.
12018 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12022 2013-09-11 Andreas Schwab <schwab@suse.de>
12024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12026 (O_TMPFILE) [__USE_GNU]: Define.
12027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12030 2013-09-11 Will Newton <will.newton@linaro.org>
12033 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12036 2013-09-11 Will Newton <will.newton@linaro.org>
12039 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12042 2013-09-11 Will Newton <will.newton@linaro.org>
12045 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12048 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12050 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12051 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12056 2013-09-10 Allan McRae <allan@archlinux.org>
12059 * manual/arith.texi (Parsing of Floats): Clarify
12063 * manual/install.texi (Running make install): Mention
12065 * INSTALL: Regenerated.
12067 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12069 * csu/init-first.c (_init): Remove the !SHARED condition around
12070 FPU control word initialization.
12071 * elf/dl-support.c (_dl_fpu_control): New variable.
12072 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12073 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12074 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12075 * math/test-fpucw-static.c: New file.
12076 * math/test-fpucw-ieee.c: New file.
12077 * math/test-fpucw-ieee-static.c: New file.
12078 * math/Makefile (tests): Add `test-fpucw-ieee' and
12080 (tests-static): New variable.
12081 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12083 [($(build-shared),yes)]
12084 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12086 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12089 2013-09-09 Allan McRae <allan@archlinux.org>
12092 * manual/string.texi (Collation Functions): Fix typo in
12094 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12097 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12100 * libio/memstream.c (open_memstream): Fix memory leak.
12101 * libio/wmemstream.c (open_wmemstream): Likewise.
12104 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12106 2013-09-09 Will Newton <will.newton@linaro.org>
12108 * malloc/Makefile: Add tst-realloc to tests.
12109 * malloc/tst-realloc.c: New file.
12111 2013-09-09 Allan McRae <allan@archlinux.org>
12114 * COPYING: Update from GNU website to fix FSF address.
12115 * COPYING.LIB: Likewise.
12117 2013-09-06 David S. Miller <davem@davemloft.net>
12119 * po/zh_TW.po: Update Chinese (traditional) translation from
12120 translation project.
12122 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12123 Joseph Myers <joseph@codesourcery.com>
12125 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12127 (obstack_chunk_alloc): New macro.
12128 (obstack_chunk_free): Likewise.
12129 (record_offset): New function.
12130 (init_locale_data): Likewise.
12131 (align_locale_data): Likewise.
12132 (add_locale_empty): Likewise.
12133 (add_locale_raw_data): Likewise.
12134 (add_locale_raw_obstack): Likewise.
12135 (add_locale_string): Likewise.
12136 (add_locale_wstring): Likewise.
12137 (add_locale_uint32): Likewise.
12138 (add_locale_uint32_array): Likewise.
12139 (add_locale_char): Likewise.
12140 (start_locale_structure): Likewise.
12141 (end_locale_structure): Likewise.
12142 (start_locale_prelude): Likewise.
12143 (end_locale_prelude): Likewise.
12144 (write_locale_data): Take locale_file structure rather than an
12146 * locale/programs/locfile.h: Include "obstack.h".
12147 (struct locale_file): Change to store locale file contents instead
12149 (init_locale_data): New prototype.
12150 (align_locale_data): Likewise.
12151 (add_locale_empty): Likewise.
12152 (add_locale_raw_data): Likewise.
12153 (add_locale_raw_obstack): Likewise.
12154 (add_locale_string): Likewise.
12155 (add_locale_wstring): Likewise.
12156 (add_locale_uint32): Likewise.
12157 (add_locale_uint32_array): Likewise.
12158 (add_locale_char): Likewise.
12159 (start_locale_structure): Likewise.
12160 (end_locale_structure): Likewise.
12161 (start_locale_prelude): Likewise.
12162 (end_locale_prelude): Likewise.
12163 (write_locale_data): Update prototype.
12164 * locale/programs/3level.h (struct TABLE): Remove result field.
12165 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12166 Use new locale_file interface.
12167 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12168 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12169 * locale/programs/ld-address.c (address_output): Use new
12170 locale_file interface.
12171 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12173 (collate_finish): Don't call collseq_table_finalize.
12174 (collate_output): Use new locale_file interface.
12175 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12177 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12178 (TABLE): Move defines earlier in file.
12179 (ELEMENT): Likewise.
12180 (DEFAULT): Likewise.
12181 (wctrans_table_add): Move macro and inline function earlier in
12183 (struct wctype_table): Move type earlier in file.
12184 (add_locale_wctype_table): New static prototype.
12185 (struct locale_ctype_t): Use logical types instead of struct iovec
12186 pointers for members.
12187 (ctype_output): Use new locale_file interface.
12188 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12189 new locale_file interface.
12190 (allocate_arrays): Update for use of new locale_file interface.
12191 * locale/programs/ld-identification.c (identification_output): Use
12192 new locale_file interface.
12193 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12194 * locale/programs/ld-messages.c (messages_output): Likewise.
12195 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12196 * locale/programs/ld-name.c (name_output): Likewise.
12197 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12198 * locale/programs/ld-paper.c (paper_output): Likewise.
12199 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12200 * locale/programs/ld-time.c (time_output): Likewise.
12202 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12204 * benchtests/Makefile: Add memrchr benchmark.
12205 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12206 benchmark as memrchr.
12207 * benchtests/bench-memrchr-ifunc.c: New file.
12208 * benchtests/bench-memrchr.c: New file.
12210 2013-09-06 Will Newton <will.newton@linaro.org>
12212 * benchtests/Makefile (string-bench): Add memcpy.
12214 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12215 Cong Wang <amwang@redhat.com>
12218 * sysdeps/unix/sysv/linux/bits/in.h
12219 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12220 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12221 before __USE_KERNEL_IPV6_DEFS uses.
12222 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12224 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12225 sockaddr_in6, or ipv6_mreq.
12227 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12229 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12230 memory access for final bytes in some large inputs.
12231 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12233 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12235 * string/test-memrchr.c: New file.
12236 * string/test-memrchr-ifunc.c: New file.
12237 * string/Makefile: Add new memrchr testcase.
12239 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12241 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12242 fanotify_init returns EPERM.
12244 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12246 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12248 (top level): Treat second token from macro or constant entries for
12249 allowed headers as allowed.
12250 * include/complex.h: Condition internal declarations on
12252 * include/fenv.h: Condition include of <stdbool.h> and internal
12253 declarations on [!_ISOMAC].
12255 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12258 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12260 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12262 * configure.in (--enable-versioning): Remove configure option.
12263 (libc_cv_asm_symver_directive): Remove configure test.
12264 (libc_cv_ld_version_script_option): Likewise.
12265 (VERSIONING): Remove variable and AC_SUBST.
12266 (DO_VERSIONING): Remove AC_DEFINE.
12267 * configure: Regenerated.
12268 * config.h.in (DO_VERSIONING): Remove macro.
12269 * Makerules [$(versioning) = yes]: Change conditionals to
12270 [$(build-shared) = yes].
12271 * config.make.in (versioning): Remove variable.
12272 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12273 [$(build-shared) = yes].
12274 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12275 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12276 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12277 [$(build-shared) = yes].
12278 * extra-lib.mk [$(versioning) = yes]: Likewise.
12279 * hurd/Makefile [$(versioning) = yes]: Likewise.
12280 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12282 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12284 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12285 [SHARED && !NO_HIDDEN].
12286 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12288 [SHARED && DO_VERSIONING]: Likewise..
12289 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12290 [$(build-shared) = yes].
12291 * manual/install.texi (--disable-versioning): Remove
12293 * INSTALL: Regenerated.
12294 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12296 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12297 [$(build-shared) = yes].
12298 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12299 * sysdeps/i386/i686/multiarch/strstr-c.c
12300 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12301 [SHARED && !NO_HIDDEN].
12302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12303 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12304 * sysdeps/powerpc/powerpc32/dl-machine.c
12305 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12306 * sysdeps/powerpc/powerpc32/sysdep.h
12307 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12308 to [SHARED && PIC && !NO_HIDDEN].
12309 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12310 conditional to [SHARED].
12312 2013-09-04 Will Newton <will.newton@linaro.org>
12314 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12315 * benchtests/bench-string.h: Include bench-timing.h instead
12316 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12317 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12318 call to HP_TIMING_DIFF_INIT.
12319 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12320 instead of hp-timing.h macros.
12321 * benchtests/bench-memchr.c: Likewise.
12322 * benchtests/bench-memcmp.c: Likewise.
12323 * benchtests/bench-memcpy.c: Likewise.
12324 * benchtests/bench-memmem.c: Likewise.
12325 * benchtests/bench-memmove.c: Likewise.
12326 * benchtests/bench-memset.c: Likewise.
12327 * benchtests/bench-rawmemchr.c: Likewise.
12328 * benchtests/bench-strcasecmp.c: Likewise.
12329 * benchtests/bench-strcasestr.c: Likewise.
12330 * benchtests/bench-strcat.c: Likewise.
12331 * benchtests/bench-strchr.c: Likewise.
12332 * benchtests/bench-strcmp.c: Likewise.
12333 * benchtests/bench-strcpy.c: Likewise.
12334 * benchtests/bench-strcpy_chk.c: Likewise.
12335 * benchtests/bench-strlen.c: Likewise.
12336 * benchtests/bench-strncasecmp.c: Likewise.
12337 * benchtests/bench-strncat.c: Likewise.
12338 * benchtests/bench-strncmp.c: Likewise.
12339 * benchtests/bench-strncpy.c: Likewise.
12340 * benchtests/bench-strnlen.c: Likewise.
12341 * benchtests/bench-strpbrk.c: Likewise.
12342 * benchtests/bench-strrchr.c: Likewise.
12343 * benchtests/bench-strspn.c: Likewise.
12344 * benchtests/bench-strstr.c: Likewise.
12346 2013-09-04 Will Newton <will.newton@linaro.org>
12348 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12350 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12353 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12354 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12355 * math/libm-test.inc (lgamma_test_data): Add more tests.
12356 * sysdeps/i386/fpu/libm-test-ulps: Update.
12357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12359 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12361 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12365 Add strcmp-sse2-unaligned
12366 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12368 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12370 * Versions.def (libc): Add GLIBC_2.19.
12372 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12374 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12375 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12377 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12380 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12381 intermediate calculations in recurrence.
12382 (__ieee754_ynf): Likewise.
12383 * math/libm-test.inc (jn_test_data): Do not allow spurious
12384 underflow exception. Add more tests.
12385 (yn_test_data): Add more tests.
12386 * sysdeps/i386/fpu/libm-test-ulps: Update.
12387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12389 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12391 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12393 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12395 * csu/init-first.c: Fix then/than typos.
12396 * locale/programs/ld-collate.c: Likewise.
12397 * locale/programs/linereader.h: Likewise.
12398 * manual/charset.texi: Likewise.
12399 * manual/filesys.texi: Likewise.
12400 * manual/stdio.texi: Likewise.
12401 * manual/string.texi: Likewise.
12402 * stdlib/fmtmsg.c: Likewise.
12403 * sysdeps/i386/stpncpy.S: Likewise.
12404 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12405 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12407 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12409 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12411 * elf/dl-open.c: Fix typos.
12412 * iconvdata/gbbig5.c: Likewise.
12413 * iconvdata/iso-2022-jp.c: Likewise.
12414 * iconv/gconv_int.h: Likewise.
12415 * iconv/loop.c: Likewise.
12416 * nis/rpcsvc/nis.h: Likewise.
12417 * resolv/ns_name.c: Likewise.
12418 * stdio-common/vfscanf.c: Likewise.
12419 * streams/stropts.h: Likewise.
12420 * sunrpc/rpc_thread.c: Likewise.
12421 * sysdeps/i386/strpbrk.S: Likewise.
12422 * sysdeps/ieee754/k_standard.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12425 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12426 * sysdeps/mach/hurd/profil.c: Likewise.
12427 * sysdeps/s390/dl-procinfo.h: Likewise.
12428 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12429 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12430 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12431 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12432 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12434 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12436 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12439 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12441 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12442 aix specific files.
12443 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12444 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12445 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12446 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12447 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12448 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12449 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12450 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12452 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12453 Roland McGrath <roland@hack.frob.com>
12455 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12456 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12458 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12460 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12461 __executable_start symbol instead of _start.
12463 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12465 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12466 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12468 * sysdeps/gnu/ldsodefs.h: ... this new file.
12470 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12471 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12472 instead of ELFOSABI_LINUX.
12474 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12475 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12476 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12477 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12479 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12480 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12481 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12483 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12484 (ibm_extended_long_double): Add ieee_nan member.
12485 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12486 (do_test): New function.
12488 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12490 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12491 functions, renamed from truncdfsf_test, trunctfsf_test,
12493 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12495 (do_test): Run all these.
12497 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12499 * argp/argp-help.c: Fix typos.
12500 * argp/argp-parse.c: Likewise.
12501 * debug/backtracesyms.c: Likewise.
12502 * elf/elf.h: Likewise.
12503 * malloc/malloc.c: Likewise.
12504 * nis/nis_print.c: Likewise.
12505 * resolv/res_comp.c: Likewise.
12506 * stdlib/stdlib.h: Likewise.
12507 * sunrpc/clnt_tcp.c: Likewise.
12508 * sunrpc/clnt_udp.c: Likewise.
12509 * sunrpc/clnt_unix.c: Likewise.
12510 * sysdeps/unix/bsd/ptsname.c: Likewise.
12511 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12519 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12521 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12523 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12526 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12529 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12530 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12531 ($(objpfx)bug-dl-leaf): New rule.
12532 ($(objpfx)bug-dl-leaf.so): Likewise.
12533 ($(objpfx)bug-dl-leaf.out): Likewise.
12534 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12535 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12536 * dlfcn/bug-dl-leaf.c: New test.
12537 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12538 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12539 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12540 (dlclose): Likewise.
12541 (dlmopen): Likewise.
12543 2013-08-27 Roland McGrath <roland@hack.frob.com>
12545 * include/netdb.h [!_ISOMAC]:
12546 Don't include <tls.h>.
12547 (h_errno, __libc_h_errno): Move declaration and macros out of
12550 * include/resolv.h [_RESOLV_H_]:
12551 Don't include <tls.h>.
12552 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12553 * resolv/res_libc.c: Don't include <tls.h>.
12554 (_res): Use __attribute__ ((nocommon)) in place of
12555 __attribute__ ((section (".bss"))).
12557 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12558 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12560 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12562 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12563 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12565 * resolv/res_mkquery.c: Include <sys/time.h>.
12567 * inet/ifreq.c: Moved to ...
12568 * sysdeps/unix/ifreq.c: ... here.
12569 * inet/ifreq.c: New file, true stub version.
12571 * socket/sa_len.c: New file.
12572 * socket/Makefile (aux): Add it.
12573 * sysdeps/unix/sysv/linux/Makefile
12574 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12575 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12576 and #include <socket/sa_len.c>.
12577 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12578 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12580 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12581 * bits/socket.h: ... here.
12583 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12584 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12585 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12587 2013-08-27 Andreas Schwab <schwab@suse.de>
12590 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12591 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12592 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12593 * string/test-strcasecmp.c (test_main): Run tests in several
12595 * string/test-strncasecmp.c (test_main): Likewise.
12597 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12598 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12599 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12601 (__strncasecmp_ssse3) [PIC]: Likewise.
12603 2013-08-26 Roland McGrath <roland@hack.frob.com>
12605 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12607 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12608 instead of explicitly declaring xdecrypt.
12609 * nis/nss_nis/nis-publickey.c: Likewise.
12611 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12614 * nscd/aicache.c: Include res_hconf.h.
12615 (addhstaiX): Initialize res_hconf.
12617 2013-08-26 Andreas Schwab <schwab@suse.de>
12619 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12620 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12622 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12624 * nscd/aicache.c (addhstaiX): Fix indentation.
12626 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12628 * configure.ac: Quote $build_pt_chown test.
12629 * configure: Regenerated.
12631 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12634 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12635 * math/s_cexpf.c (__cexpf): Likewise.
12636 * math/s_cexpl.c (__cexpl): Likewise.
12637 * math/libm-test.inc (cexp_test_data): Correct expected return
12638 value for NaN + i0. Add another test.
12640 2013-08-22 David S. Miller <davem@davemloft.net>
12642 * po/ca.po: Update Catalan translation from translation project.
12643 * po/uk.po: Add Ukrainian translations from translation project.
12645 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12648 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12649 is infinite, not alongside NaN test.
12650 * math/s_fdimf.c (__fdimf): Likewise.
12651 * math/s_fdiml.c (__fdiml): Likewise.
12652 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12653 errno is unchanged.
12655 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12657 * argp/argp-help.c: Fix typos.
12658 * crypt/speeds.c: Likewise.
12659 * csu/check_fds.c: Likewise.
12660 * elf/dl-load.c: Likewise.
12661 * elf/dl-open.c: Likewise.
12662 * elf/reldep3.c: Likewise.
12663 * elf/reldep.c: Likewise.
12664 * elf/sprof.c: Likewise.
12665 * iconv/iconv_charmap.c: Likewise.
12666 * iconv/skeleton.c: Likewise.
12667 * iconv/strtab.c: Likewise.
12668 * io/lockf64.c: Likewise.
12669 * libio/libioP.h: Likewise.
12670 * resolv/gai_notify.c: Likewise.
12671 * resolv/ns_name.c: Likewise.
12672 * resolv/ns_samedomain.c: Likewise.
12673 * resolv/res_send.c: Likewise.
12674 * stdlib/random.c: Likewise.
12675 * sunrpc/rpc/xdr.h: Likewise.
12676 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12678 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12679 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12680 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12681 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12682 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12684 * sysdeps/mach/hurd/check_fds.c: Likewise.
12685 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12686 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12687 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12688 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12689 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12690 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12691 * sysdeps/pthread/aio_notify.c: Likewise.
12692 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12693 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12694 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12695 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12696 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12698 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12700 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12701 version if bit_Slow_SSE4_2 is set.
12702 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12703 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12705 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12708 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12709 trampoline stack frame information.
12710 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12712 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12713 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12714 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12715 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12716 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12717 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12719 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12720 interrupting a syscall and set with option SA_SIGINFO.
12722 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12725 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12726 argument is infinite.
12727 * math/s_cprojf.c (__cprojf): Likewise.
12728 * math/s_cprojl.c (__cprojl): Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12730 * math/libm-test.inc (cproj_test_data): Add more tests.
12732 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12734 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12735 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12736 size. Use __ffs to determine corresponding shift.
12738 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12739 Roland McGrath <roland@hack.frob.com>
12741 * Makefile (INSTALL): Remove trailing blank lines from output of
12744 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12746 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12747 Align 32 bit compat elf_greg to 8 bytes.
12749 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12751 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12753 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12755 * string/strcoll_l.c (coll_seq): New structure.
12756 (get_next_seq_cached): New function.
12757 (get_next_seq): New function.
12758 (do_compare): New function.
12759 (STRCOLL): Use GNU style definition. Simplify implementation
12760 by using get_next_seq, get_next_seq_cached and do_compare.
12762 2013-08-16 Florian Weimer <fweimer@redhat.com>
12766 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12768 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12770 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12771 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12772 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12774 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12775 GETDENTS_64BIT_ALIGNED.
12776 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12777 * manual/filesys.texi (Reading/Closing Directory): Document
12778 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12780 * manual/conf.texi (Limits for Files): Add portability note to
12781 NAME_MAX, PATH_MAX.
12782 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12784 2013-08-13 Andreas Schwab <schwab@suse.de>
12787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12789 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12790 LDBL_MAX_EXP >= 16384]: Add tests for it.
12792 2013-08-12 David S. Miller <davem@davemloft.net>
12794 * version.h (RELEASE): Set to "development".
12795 (VERSION): Set to "2.18.90".
12796 * NEWS: Add 2.19 section.
12798 2013-08-03 David S. Miller <davem@davemloft.net>
12800 * po/ko.po: Update Korean translation from translation project.
12802 2013-08-01 David S. Miller <davem@davemloft.net>
12804 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12805 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12808 2013-07-30 David S. Miller <davem@davemloft.net>
12810 * po/fr.po: Update French translation from translation project.
12812 2013-07-28 David S. Miller <davem@davemloft.net>
12814 * po/cs.po: Update Czech translation from translation project.
12816 * po/sv.po: Update Swedish translation from translation project.
12818 2013-07-27 David S. Miller <davem@davemloft.net>
12820 * po/eo.po: Update Esperanto translation from translation project.
12822 * po/vi.po: Update Vietnamese translation from translation project.
12824 * po/de.po: Update German translation from translation project.
12826 2013-07-26 David S. Miller <davem@davemloft.net>
12828 * po/bg.po: Update Bulgarian translation from translation project.
12830 * po/nl.po: Update Dutch translation from translation project.
12831 * po/pl.po: Update Polish translation from translation project.
12832 * po/ru.po: Update Russian translation from translation project.
12834 2013-07-24 David S. Miller <davem@davemloft.net>
12836 * po/libc.pot: Update.
12838 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12840 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12841 variable page size.
12842 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12843 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12844 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12846 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12848 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12850 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12851 Andreas Schwab <schwab@suse.de>
12852 Roland McGrath <roland@hack.frob.com>
12853 Joseph Myers <joseph@codesourcery.com>
12854 Carlos O'Donell <carlos@redhat.com>
12857 * config.h.in: Define HAVE_PT_CHOWN.
12858 * config.make.in (build-pt-chown): New variable.
12859 * configure.in (--enable-pt_chown): New configure option.
12860 * configure: Regenerate.
12861 * login/Makefile: Include Makeconfig. Build pt_chown only if
12862 build-pt-chown is enabled.
12863 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12864 pt_chown to fix pty ownership.
12865 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12867 * manual/install.texi (Configuring and compiling): Mention
12868 --enable-pt_chown. Add @findex for grantpt.
12869 * INSTALL: Regenerate.
12871 2013-07-20 David S. Miller <davem@davemloft.net>
12873 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12874 difference between 32-bit and 64-bit.
12876 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12879 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12880 Avoid system header dependency with -ffreestanding.
12881 ($(objpfx)bits/syscall%d): Likewise.
12883 2013-07-13 David S. Miller <davem@davemloft.net>
12885 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12886 underflows from atanl/atan2l due to bug 15319.
12887 (casinh_test_data): Likewise.
12889 2013-07-07 David S. Miller <davem@davemloft.net>
12891 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12893 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12895 * sysdeps/i386/fpu/libm-test-ulps: Update.
12896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12898 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12900 * configure.in (--enable-lock-elision): Fix message text.
12901 * INSTALL: Regenerate.
12902 * configure: Regenerate.
12904 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12908 2013-07-03 Andreas Jaeger <aj@suse.de>
12910 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12912 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12913 (ptrace_peeksiginfo_args): Add.
12914 (__ptrace_peeksiginfo_flags): Add.
12915 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12917 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12919 2013-07-03 Allan McRae <allan@archlinux.org>
12921 * sysdeps/i386/fpu/libm-test-ulps: Update.
12923 2013-07-02 David S. Miller <davem@davemloft.net>
12925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12927 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12931 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12933 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12936 2013-07-02 Andi Kleen <ak@linux.intel.com>
12938 * config.h.in (ENABLE_LOCK_ELISION): Add.
12939 * configure.in (--enable-lock-elision): Add option.
12940 * manual/install.texi: Document --enable lock elision.
12941 * configure: Regenerate
12942 * INSTALL: Regenerate.
12944 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12946 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12947 SSE4.2 strcasecmp for libc.a.
12948 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12950 2013-07-02 Joseph Myers <joseph@codesourcery.com>
12953 * soft-fp/op-common.h (_FP_FMA): New macro.
12954 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12955 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12956 (_FP_MUL_MEAT_1_imm): ... here.
12957 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12958 (_FP_MUL_MEAT_1_wide): ... here.
12959 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12960 (_FP_MUL_MEAT_1_hard): ... here.
12961 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12962 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12963 (_FP_MUL_MEAT_2_wide): ... here.
12964 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12965 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12966 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12967 (_FP_MUL_MEAT_2_gmp): ... here.
12968 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12969 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12970 (_FP_MUL_MEAT_4_wide): ... here.
12971 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12972 (_FP_MUL_MEAT_4_gmp): ... here.
12973 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12974 (_FP_WFRACBITS_DW_S): Likewise.
12975 (_FP_WFRACXBITS_DW_S): Likewise.
12976 (_FP_HIGHBIT_DW_S): Likewise.
12977 (FP_FMA_S): Likewise.
12978 (_FP_FRAC_HIGH_DW_S): Likewise.
12979 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12980 (_FP_WFRACBITS_DW_D): Likewise.
12981 (_FP_WFRACXBITS_DW_D): Likewise.
12982 (_FP_HIGHBIT_DW_D): Likewise.
12983 (FP_FMA_D): Likewise.
12984 (_FP_FRAC_HIGH_DW_D): Likewise.
12985 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12986 (_FP_WFRACBITS_DW_E): Likewise.
12987 (_FP_WFRACXBITS_DW_E): Likewise.
12988 (_FP_HIGHBIT_DW_E): Likewise.
12989 (FP_FMA_E): Likewise.
12990 (_FP_FRAC_HIGH_DW_E): Likewise.
12991 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12992 (_FP_WFRACBITS_DW_Q): Likewise.
12993 (_FP_WFRACXBITS_DW_Q): Likewise.
12994 (_FP_HIGHBIT_DW_Q): Likewise.
12995 (FP_FMA_Q): Likewise.
12996 (_FP_FRAC_HIGH_DW_Q): Likewise.
12997 * soft-fp/fmasf4.c: New file.
12998 * soft-fp/fmadf4.c: Likewise.
12999 * soft-fp/fmatf4.c: Likewise.
13001 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13004 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13006 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13008 (index_Slow_SSE4_2): Likewise.
13009 (index_Prefer_PMINUB_for_stringop): Likewise.
13010 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13011 bit_Slow_SSE4_2 is set.
13012 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13013 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13015 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13017 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13018 rtld_global._dl_hwcap2.
13019 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13021 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13022 POWER8 feature descriptions defined in _dl_hwcap2.
13023 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13024 string handling for POWER8 feature bits.
13025 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13026 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13027 _dl_powerpc_cap_flags.
13028 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13029 * sysdeps/powerpc/rtld-global-offsets.sym
13030 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13031 _dl_hwcap2 in the rtld_global_ro structure.
13033 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13035 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13036 hardware capabilities in support of AT_HWCAP2.
13037 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13038 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13040 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13041 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13042 explicitly the unknown a_type display mechanism is used.
13043 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13044 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13046 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13047 to macro prototype for AT_HWCAP2 support.
13048 * sysdeps/i386/dl-procinfo.h: Likewise.
13049 * sysdeps/s390/dl-procinfo.h: Likewise.
13050 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13051 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13052 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13053 return -1 for unknown a_type display fallback.
13054 * sysdeps/sparc/dl-procinfo.h: Likewise.
13055 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13056 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13058 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13060 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13061 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13063 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13066 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13067 mprotect making __stack_prot writable.
13069 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13070 Joseph Myers <joseph@codesourcery.com>
13072 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13073 as being properly aligned.
13075 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13077 * dlfcn/modstatic5.c: New file.
13078 * dlfcn/tststatic5.c: New file.
13079 * dlfcn/Makefile (tests): Add tststatic5.
13080 (tests-static): Likewise.
13081 (modules-names): Add modstatic5.
13082 (tststatic5-ENV): New variable.
13083 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13086 * elf/dl-support.c (_dl_main_map): New variable.
13087 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13088 (_dl_nns, _dl_load_adds): Set to 1.
13089 (_dl_initial_searchlist): Refer to _dl_main_map.
13090 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13091 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13092 call to _dl_get_origin.
13093 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13095 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13096 * dlfcn/modstatic3.c: New file.
13097 * dlfcn/tststatic3.c: New file.
13098 * dlfcn/tststatic4.c: New file.
13099 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13100 (tests-static): Likewise.
13101 (modules-names): Add modstatic3.
13102 (tststatic3-ENV, tststatic4-ENV): New variables.
13103 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13104 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13106 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13108 * configure.in (CC): Require GCC version 4.4 or later.
13109 * configure: Regenerated.
13110 * manual/install.texi (Tools for Compilation): Update GCC version
13112 * INSTALL: Regenerated.
13114 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13117 * string/test-memcmp.c (check2): New.
13118 (main): Call check2.
13120 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13122 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13125 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13127 (dl_open_worker) [!SHARED]: ... here.
13129 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13131 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13133 2013-06-25 Richard Henderson <rth@redhat.com>
13135 * locale/programs/locarchive.c: Include <libc-internal.h>
13137 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13139 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13140 trailing whitespace removed.
13142 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13145 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13146 * locale/programs/locarchive.c: Include libc-mmap.h.
13147 (prepare_address_space): Take two new outputs (the mmap base and len).
13148 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13150 (create_archive): Declare new mmap base and len values for
13151 prepare_address_space, and store the result in ah.
13152 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13153 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13154 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13155 Declare new mmap base and len values for
13156 prepare_address_space, and store the result in new_ah.
13157 (open_archive): Declare new mmap base and len values for
13158 prepare_address_space, and store the result in ah.
13159 (close_archive): If ah->mmap_base is not NULL, use that and
13160 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13161 * sysdeps/generic/libc-mmap.h: New file.
13163 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13165 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13166 (ALIGN_UP): Likewise.
13167 (PTR_ALIGN_DOWN): Likewise.
13168 (PTR_ALIGN_UP): Likewise.
13170 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13172 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13173 entry mapped to PPC_PLATFORM_POWER8.
13174 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13176 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13177 (_dl_string_platform): Add case for exporting platform position for
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13180 search path to sysdeps/powerpc/powerpc32/power8 directory.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13182 search path to sysdeps/powerpc/powerpc64/power8 directory.
13183 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13184 power7 directories.
13185 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13186 power7 directories.
13188 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13190 * INSTALL: Regenerate.
13192 * nscd/connections.c (nscd_init): Fix comment.
13194 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13196 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13199 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13200 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13202 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13204 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13206 (DL_DST_REQ_STATIC): Remove macro.
13208 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13211 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13212 with a shift of 0 bits.
13214 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13216 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13219 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13222 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13224 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13226 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13227 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13228 accepts -fno-tree-loop-distribute-patterns.
13229 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13230 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13232 * string/memset.c (memset): Likewise.
13233 * string/test-memmove.c (simple_memmove): Disable loop transformation
13235 * string/test-memset.c (simple_memset): Likewise.
13236 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13237 * benchtests/bench-memset.c (simple_memset): Likewise.
13238 * configure: Regenerated.
13240 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13242 * math/test-misc.c (main): Ignore fesetround failure when failures
13243 of subsequent rounding tests would be ignored.
13246 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13247 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13248 * math/fegetenv.c (__fegetenv): Return 0.
13249 * math/fegetexcept.c (fegetexcept): Return 0.
13250 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13252 * math/feholdexcpt.c (feholdexcept): Return 0.
13253 * math/fesetenv.c (__fesetenv): Return 0.
13254 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13255 argument FE_TONEAREST.
13256 * math/feupdateenv.c (__feupdateenv): Return 0.
13257 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13259 2013-06-18 Roland McGrath <roland@hack.frob.com>
13261 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13262 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13263 ($(objpfx)rtld-%.os rules): Use them.
13265 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13267 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13270 2013-06-17 Roland McGrath <roland@hack.frob.com>
13272 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13273 length of target pattern, then descending length of dependency pattern.
13274 * configure.in (AWK): Require gawk 3.1.2 or newer.
13275 * manual/install.texi (Tools for Compilation): Say that we do.
13276 * configure: Regenerated.
13278 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13279 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13280 * scripts/sysd-rules.awk: ... this new script.
13281 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13282 than a glob-style pattern.
13284 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13286 * math/test-misc.c (main): Do not treat incorrectly rounded
13287 conversions as failure unless ROUNDING_TESTS passes.
13289 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13292 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13293 restore exception state around main square root computation, then
13294 check for inexactness explicitly.
13296 * math/libm-test.inc (fma_test_data): Add another test.
13298 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13300 * manual/threads.texi (Non-POSIX Extensions): New document
13301 node. Document pthread_getattr_default_np and
13302 pthread_setattr_default_np.
13304 * Versions.def (libpthread): Add GLIBC_2.18.
13305 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13314 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13325 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13328 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13330 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13331 H.J. Lu <hjl.tools@gmail.com>
13334 * sysdeps/x86_64/rtld-memset.c: Remove file.
13335 * sysdeps/x86_64/rtld-memset.S: New file.
13337 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13339 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13340 (test_in_one_mode): Take arguments for whether the rounding mode
13341 is supported for each floating-point type.
13342 (do_test): Pass new arguments to test_in_one_mode using
13345 2013-06-13 Roland McGrath <roland@hack.frob.com>
13347 * posix/tst-waitid.c (do_test): Distinguish different instances of
13348 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13349 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13350 before entering the kernel for waitpid.
13352 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13354 * NEWS: Fix note on clock function precision. Text by Roland
13357 2013-06-13 Roland McGrath <roland@hack.frob.com>
13359 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13360 it into place only when and if the sanity check passes.
13362 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13364 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13365 output for whether conversion result is exact. Take argument
13366 indicating whether type is IBM long double.
13367 (round_for_all): Change need_exact field to ibm_ld.
13368 * stdlib/tst-strtod-round.c (struct exactness): New type.
13369 (struct test): Change bool ld_ok field to struct exactness exact.
13370 (TEST): Update all definitions for change to field.
13371 (tests): Regenerate array contents.
13372 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13373 field value. Check for IBM long double here.
13374 (do_test): Update calls to test_in_one_mode.
13376 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13379 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13380 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13382 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13385 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13386 generated by the compiler on loop optimizations.
13387 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13388 general definitions.
13390 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13392 * math/bug-nextafter.c: Include <math-tests.h>.
13393 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13395 * math/bug-nexttoward.c: Include <math-tests.h>.
13396 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13398 * math/test-misc.c: Include <math-tests.h>.
13399 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13402 2013-06-12 Andreas Jaeger <aj@suse.de>
13404 * po/ia.po: Update Interlingua translation from translation
13407 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13409 * include/fenv.h: Include stdbool.h.
13410 (struct rm_ctx): New structure.
13411 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13413 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13414 (SET_RESTORE_ROUNDF): Likewise.
13415 (SET_RESTORE_ROUNDL): Likewise.
13416 (SET_RESTORE_ROUND_NOEX): Likewise.
13417 (SET_RESTORE_ROUND_NOEXF): Likewise.
13418 (SET_RESTORE_ROUND_NOEXL): Likewise.
13419 (SET_RESTORE_ROUND_53BIT): Likewise.
13420 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13421 (libc_feresetround_noexf_ctx): Likewise.
13422 (libc_feresetround_noexl_ctx): Likewise.
13423 (libc_feholdsetround_53bit_ctx): Likewise.
13424 (libc_feresetround_53bit_ctx): Likewise.
13425 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13426 (libc_feholdexcept_setround_sse_ctx): New function.
13427 (libc_fesetenv_sse_ctx): Likewise.
13428 (libc_feupdateenv_sse_ctx): Likewise.
13429 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13430 (libc_feholdexcept_setround_387_ctx): Likewise.
13431 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13432 (libc_feholdsetround_387_prec_ctx): Likewise.
13433 (libc_feholdsetround_387_ctx): Likewise.
13434 (libc_feholdsetround_387_53bit_ctx): Likewise.
13435 (libc_feholdsetround_sse_ctx): Likewise.
13436 (libc_feresetround_sse_ctx): Likewise.
13437 (libc_feresetround_387_ctx): Likewise.
13438 (libc_feupdateenv_387_ctx): Likewise.
13439 (libc_feholdexcept_setroundf_ctx): Define macro.
13440 (libc_fesetenvf_ctx): Likewise.
13441 (libc_feupdateenvf_ctx): Likewise.
13442 (libc_feholdsetroundf_ctx): Likewise.
13443 (libc_feresetroundf_ctx): Likewise.
13444 (libc_feholdexcept_setround_ctx): Likewise.
13445 (libc_fesetenv_ctx): Likewise.
13446 (libc_feupdateenv_ctx): Likewise.
13447 (libc_feholdsetround_ctx): Likewise.
13448 (libc_feresetround_ctx): Likewise.
13449 (libc_feholdexcept_setroundl_ctx): Likewise.
13450 (libc_feupdateenvl_ctx): Likewise.
13451 (libc_feholdsetroundl_ctx): Likewise.
13452 (libc_feresetroundl_ctx): Likewise.
13453 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13454 (libc_feresetround_53bit_ctx): Likewise.
13456 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13458 * locale/iso-639.def: Convert to UTF-8.
13460 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13462 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13463 (EXCEPTION_TESTS_double): Likewise.
13464 (EXCEPTION_TESTS_long_double): Likewise.
13465 (EXCEPTION_TESTS): Likewise.
13466 * math/libm-test.inc (test_exceptions): Only test exceptions if
13467 EXCEPTION_TESTS (FLOAT).
13469 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13471 * benchtests/Makefile (string-bench): Add strcpy_chk and
13473 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13474 * benchtests/bench-stpcpy_chk.c: New file.
13475 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13476 * benchtests/bench-strcpy_chk.c: New file.
13477 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13479 (do_test): Likewise.
13481 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13483 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13484 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13485 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13486 with tabs where appropriate.
13487 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13489 [PPC_PLATFORM_PPC440]: Likewise.
13490 [PPC_PLATFORM_PPC464]: Likewise.
13491 [PPC_PLATFORM_PPC476]: Likewise.
13492 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13493 ppc464, and ppc476 platform strings merging from ports/
13496 2013-06-11 Andreas Schwab <schwab@suse.de>
13499 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13500 (from_ucs4_idx): Regenerate.
13501 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13502 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13503 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13504 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13505 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13506 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13507 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13508 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13509 from FROM_LOOP and TO_LOOP specific macros.
13510 (BODY): Handle combining characters.
13511 * iconvdata/BIG5HKSCS.irreversible: Update.
13512 * iconvdata/BIG5HKSCS.precomposed: New file.
13513 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13515 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13517 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 * include/sys/time.h: Fix indentation and add copyright header.
13521 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13522 (do_test): Likewise.
13523 * string/test-memchr.c (do_one_test): Likewise.
13524 (do_test): Likewise.
13525 * string/test-memcmp.c (do_one_test): Likewise.
13526 (do_test): Likewise.
13527 * string/test-memcpy.c (do_one_test): Likewise.
13528 (do_test): Likewise.
13529 * string/test-memmem.c (do_one_test): Likewise.
13530 (do_test): Likewise.
13531 (do_random_tests): Likewise.
13532 * string/test-memmove.c (do_one_test): Likewise.
13533 (do_test): Likewise.
13534 * string/test-memset.c (do_one_test): Likewise.
13535 (do_test): Likewise.
13536 * string/test-rawmemchr.c (do_one_test): Likewise.
13537 (do_test): Likewise.
13538 * string/test-strcasecmp.c (do_one_test): Likewise.
13539 (do_test): Likewise.
13540 * string/test-strcasestr.c (do_one_test): Likewise.
13541 (do_test): Likewise.
13542 * string/test-strcat.c (do_one_test): Likewise.
13543 (do_test): Likewise.
13544 * string/test-strchr.c (do_one_test): Likewise.
13545 (do_test): Likewise.
13546 * string/test-strcmp.c (do_one_test): Likewise.
13547 (do_test): Likewise.
13548 * string/test-strcpy.c (do_one_test): Likewise.
13549 (do_test): Likewise.
13550 * string/test-string.h: Likewise.
13551 (test_init): Likewise.
13552 * string/test-strlen.c (do_one_test): Likewise.
13553 (do_test): Likewise.
13554 * string/test-strncasecmp.c (do_one_test): Likewise.
13555 (do_test): Likewise.
13556 * string/test-strncat.c (do_one_test): Likewise.
13557 (do_test): Likewise.
13558 * string/test-strncmp.c (do_one_test): Likewise.
13559 (do_test_limit): Likewise.
13560 (do_test): Likewise.
13561 * string/test-strncpy.c (do_one_test): Likewise.
13562 (do_test): Likewise.
13563 * string/test-strnlen.c (do_one_test): Likewise.
13564 (do_test): Likewise.
13565 * string/test-strpbrk.c (do_one_test): Likewise.
13566 (do_test): Likewise.
13567 * string/test-strrchr.c (do_one_test): Likewise.
13568 (do_test): Likewise.
13569 * string/test-strspn.c (do_one_test): Likewise.
13570 (do_test): Likewise.
13571 * string/test-strstr.c (do_one_test): Likewise.
13572 (do_test): Likewise.
13574 * benchtests/Makefile (string-bench): Add string benchmarks.
13575 * benchtests/bench-bcopy-ifunc.c: New file.
13576 * benchtests/bench-bcopy.c: New file.
13577 * benchtests/bench-bzero-ifunc.c: New file.
13578 * benchtests/bench-bzero.c: New file.
13579 * benchtests/bench-memccpy-ifunc.c: New file.
13580 * benchtests/bench-memccpy.c: New file.
13581 * benchtests/bench-memchr-ifunc.c: New file.
13582 * benchtests/bench-memchr.c: New file.
13583 * benchtests/bench-memcmp-ifunc.c: New file.
13584 * benchtests/bench-memcmp.c: New file.
13585 * benchtests/bench-memmem-ifunc.c: New file.
13586 * benchtests/bench-memmem.c: New file.
13587 * benchtests/bench-memmove-ifunc.c: New file.
13588 * benchtests/bench-memmove.c: New file.
13589 * benchtests/bench-mempcpy-ifunc.c: New file.
13590 * benchtests/bench-mempcpy.c: New file.
13591 * benchtests/bench-memset-ifunc.c: New file.
13592 * benchtests/bench-memset.c: New file.
13593 * benchtests/bench-rawmemchr-ifunc.c: New file.
13594 * benchtests/bench-rawmemchr.c: New file.
13595 * benchtests/bench-stpcpy-ifunc.c: New file.
13596 * benchtests/bench-stpcpy.c: New file.
13597 * benchtests/bench-stpncpy-ifunc.c: New file.
13598 * benchtests/bench-stpncpy.c: New file.
13599 * benchtests/bench-strcasecmp-ifunc.c: New file.
13600 * benchtests/bench-strcasecmp.c: New file.
13601 * benchtests/bench-strcasestr-ifunc.c: New file.
13602 * benchtests/bench-strcasestr.c: New file.
13603 * benchtests/bench-strcat-ifunc.c: New file.
13604 * benchtests/bench-strcat.c: New file.
13605 * benchtests/bench-strchr-ifunc.c: New file.
13606 * benchtests/bench-strchr.c: New file.
13607 * benchtests/bench-strchrnul-ifunc.c: New file.
13608 * benchtests/bench-strchrnul.c: New file.
13609 * benchtests/bench-strcmp-ifunc.c: New file.
13610 * benchtests/bench-strcmp.c: New file.
13611 * benchtests/bench-strcpy-ifunc.c: New file.
13612 * benchtests/bench-strcpy.c: New file.
13613 * benchtests/bench-strcspn-ifunc.c: New file.
13614 * benchtests/bench-strcspn.c: New file.
13615 * benchtests/bench-strlen-ifunc.c: New file.
13616 * benchtests/bench-strlen.c: New file.
13617 * benchtests/bench-strncasecmp-ifunc.c: New file.
13618 * benchtests/bench-strncasecmp.c: New file.
13619 * benchtests/bench-strncat-ifunc.c: New file.
13620 * benchtests/bench-strncat.c: New file.
13621 * benchtests/bench-strncmp-ifunc.c: New file.
13622 * benchtests/bench-strncmp.c: New file.
13623 * benchtests/bench-strncpy-ifunc.c: New file.
13624 * benchtests/bench-strncpy.c: New file.
13625 * benchtests/bench-strnlen-ifunc.c: New file.
13626 * benchtests/bench-strnlen.c: New file.
13627 * benchtests/bench-strpbrk-ifunc.c: New file.
13628 * benchtests/bench-strpbrk.c: New file.
13629 * benchtests/bench-strrchr-ifunc.c: New file.
13630 * benchtests/bench-strrchr.c: New file.
13631 * benchtests/bench-strspn-ifunc.c: New file.
13632 * benchtests/bench-strspn.c: New file.
13633 * benchtests/bench-strstr-ifunc.c: New file.
13634 * benchtests/bench-strstr.c: New file.
13636 * benchtests/Makefile: Disable parallel execution of targets.
13637 (string-bench): Add memcpy.
13638 (benchset): New variable to store a list of benchmark sets.
13639 (bench-func): Renamed from bench.
13640 (bench-set): New target.
13641 (bench): Depend on bench-func and bench-set.
13642 * benchtests/README: Add section on benchmark sets.
13643 * benchtests/bench-memcpy-ifunc.c: New file.
13644 * benchtests/bench-memcpy.c: New file.
13645 * benchtests/bench-string.h: New file.
13647 2013-06-11 Andreas Schwab <schwab@suse.de>
13650 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13651 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13652 values in the triple.
13653 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13654 terminator in the group key.
13656 2013-06-11 Andreas Jaeger <aj@suse.de>
13658 * po/zh_TW.po: Update Chinese (traditional) translation from
13659 translation project.
13661 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13663 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13664 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13665 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13666 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13667 (clock_getcpuclockid): Likewise.
13668 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13669 Add weak_alias and libc_hidden_def.
13670 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13671 * rt/clock_gettime.c (clock_gettime): Rename to
13672 __clock_gettime. Add weak_alias and libc_hidden_def.
13673 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13674 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13675 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13676 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13677 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13679 * rt/clock_settime.c (clock_settime): Rename to
13680 __clock_settime. Add weak_alias and libc_hidden_def.
13681 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13683 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13685 * mach/err_boot.sub: Remove trailing whitespace.
13686 * mach/err_ipc.sub: Likewise.
13687 * mach/err_mach.sub: Likewise.
13689 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13690 (ROUNDING_TESTS_double): Likewise.
13691 (ROUNDING_TESTS_long_double): Likewise.
13692 (ROUNDING_TESTS): Likewise.
13693 * math/libm-test.inc: Include <math-tests.h>.
13694 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13695 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13696 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13697 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13699 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13701 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13704 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13706 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13707 otherwise empty TRANS lines.
13708 * sysdeps/gnu/errlist.c: Regenerated.
13710 * catgets/gencat.c (error_print): Use (void) in function
13712 * crypt/crypt_util.c (__init_des): Likewise.
13713 * crypt/speeds.c (Stop): Likewise.
13715 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13716 * inet/ruserpass.c (token): Likewise.
13717 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13718 * intl/localealias.c (extend_alias_table): Likewise.
13719 * intl/plural-exp.c (init_germanic_plural): Likewise.
13720 * libio/fcloseall.c (__fcloseall): Likewise.
13721 * libio/genops.c (_IO_flush_all): Likewise.
13722 (_IO_flush_all_linebuffered): Likewise.
13723 (_IO_cleanup): Likewise.
13724 (_IO_iter_begin): Likewise.
13725 (_IO_iter_end): Likewise.
13726 (_IO_list_lock): Likewise.
13727 (_IO_list_unlock): Likewise.
13728 (_IO_list_resetlock): Likewise.
13729 * libio/getchar.c (getchar): Likewise.
13730 * libio/getchar_u.c (getchar_unlocked): Likewise.
13731 * libio/getwchar.c (getwchar): Likewise.
13732 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13733 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13734 * login/getpt.c (__getpt): Likewise.
13735 * login/tst-utmp.c (main): Likewise.
13736 * malloc/hooks.c (__malloc_check_init): Likewise.
13737 * malloc/malloc.c (__malloc_stats): Likewise.
13738 * malloc/mtrace.c (tr_break): Likewise.
13739 (mtrace): Likewise.
13740 (muntrace): Likewise.
13741 * misc/fstab.c (endfsent): Likewise.
13742 * misc/getclktck.c (__getclktck): Likewise.
13743 * misc/getdtsz.c (__getdtablesize): Likewise.
13744 * misc/gethostid.c (gethostid): Likewise.
13745 * misc/getpagesize.c (__getpagesize): Likewise.
13746 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13747 (__get_nprocs): Likewise.
13748 (__get_phys_pages): Likewise.
13749 (__get_avphys_pages): Likewise.
13750 * misc/getttyent.c (getttyent): Likewise.
13751 (setttyent): Likewise.
13752 (endttyent): Likewise.
13753 * misc/getusershell.c (getusershell): Likewise.
13754 (endusershell): Likewise.
13755 (setusershell): Likewise.
13756 (initshells): Likewise.
13757 * misc/hsearch.c (__hdestroy): Likewise.
13758 * misc/sync.c (sync): Likewise.
13759 * misc/syslog.c (closelog_internal): Likewise.
13760 (closelog): Likewise.
13761 * misc/ttyslot.c (ttyslot): Likewise.
13762 * misc/vhangup.c (vhangup): Likewise.
13763 * posix/fork.c (__fork): Likewise.
13764 * posix/getegid.c (__getegid): Likewise.
13765 * posix/geteuid.c (__geteuid): Likewise.
13766 * posix/getgid.c (__getgid): Likewise.
13767 * posix/getpid.c (__getpid): Likewise.
13768 * posix/getppid.c (__getppid): Likewise.
13769 * posix/getuid.c (__getuid): Likewise.
13770 * posix/pause.c (pause): Likewise.
13771 * posix/setpgrp.c (setpgrp): Likewise.
13772 * posix/setsid.c (__setsid): Likewise.
13773 * posix/test-vfork.c (noop): Likewise.
13774 * resolv/gethnamaddr.c (_endhtent): Likewise.
13775 (_gethtent): Likewise.
13776 (ht_endhostent): Likewise.
13777 (gethostent): Likewise.
13778 (dns_service): Likewise.
13779 * stdlib/drand48.c (drand48): Likewise.
13780 * stdlib/lrand48.c (lrand48): Likewise.
13781 * stdlib/mrand48.c (mrand48): Likewise.
13782 * stdlib/rand.c (rand): Likewise.
13783 * stdlib/random.c (__random): Likewise.
13784 * stdlib/setenv.c (clearenv): Likewise.
13785 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13786 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13787 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13788 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13789 (__get_nprocs): Likewise.
13790 (__get_phys_pages): Likewise.
13791 (__get_avphys_pages): Likewise.
13792 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13793 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13794 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13795 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13796 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13797 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13798 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13799 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13800 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13801 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13802 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13803 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13804 * sysdeps/posix/clock.c (clock): Likewise.
13805 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13806 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13807 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13808 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13809 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13810 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13811 (__get_nprocs_conf): Likewise.
13812 (__get_phys_pages): Likewise.
13813 (__get_avphys_pages): Likewise.
13814 * time/clock.c (clock): Likewise.
13815 * time/tzset.c (__tzname_max): Likewise.
13817 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13819 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13820 (__bswap_32): Do not use "register".
13821 * crypt/crypt.c (_ufc_doit_r): Likewise.
13822 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13823 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13824 * gmon/gmon.c (__monstartup): Likewise.
13825 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13826 * hurd/hurdmalloc.c (more_memory): Likewise.
13827 (malloc): Likewise.
13829 (realloc): Likewise.
13830 (malloc_fork_prepare): Likewise.
13831 (malloc_fork_parent): Likewise.
13832 (malloc_fork_child): Likewise.
13833 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13834 (_svcauth_des): Likewise.
13835 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13836 * inet/inet_net.c (inet_network): Likewise.
13837 * inet/inet_netof.c (inet_netof): Likewise.
13838 * inet/rcmd.c (__validuser2_sa): Likewise.
13839 * io/fts.c (fts_open): Likewise.
13840 (fts_load): Likewise.
13841 (fts_close): Likewise.
13842 (fts_read): Likewise.
13843 (fts_children): Likewise.
13844 (fts_build): Likewise.
13845 (fts_stat): Likewise.
13846 (fts_sort): Likewise.
13847 (fts_alloc): Likewise.
13848 (fts_lfree): Likewise.
13849 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13850 (_IO_file_xsgetn): Likewise.
13851 (_IO_file_xsgetn_mmap): Likewise.
13852 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13853 (_IO_cookie_write): Likewise.
13854 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13855 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13856 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13857 * malloc/obstack.c (_obstack_begin): Likewise.
13858 (_obstack_begin_1): Likewise.
13859 (_obstack_newchunk): Likewise.
13860 (_obstack_allocated_p): Likewise.
13861 (obstack_free): Likewise.
13862 (_obstack_memory_used): Likewise.
13863 * misc/getttyent.c (getttynam): Likewise.
13864 (getttyent): Likewise.
13867 * misc/getusershell.c (initshells): Likewise.
13868 * misc/syslog.c (__vsyslog_chk): Likewise.
13869 * misc/ttyslot.c (ttyslot): Likewise.
13870 * nis/nis_hash.c (__nis_hash): Likewise.
13871 * posix/fnmatch_loop.c (FCT): Likewise.
13872 * posix/getconf.c (print_all): Likewise.
13874 * posix/getopt.c (exchange): Likewise.
13875 * posix/glob.c (globfree): Likewise.
13876 (prefix_array): Likewise.
13877 (__glob_pattern_type): Likewise.
13878 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13879 (NS_GET32): Likewise.
13880 (NS_PUT16): Likewise.
13881 (NS_PUT32): Likewise.
13882 * resolv/gethnamaddr.c (getanswer): Likewise.
13883 (gethostbyname2): Likewise.
13884 (gethostbyaddr): Likewise.
13885 (_gethtent): Likewise.
13886 (_gethtbyname2): Likewise.
13887 (_gethtbyaddr): Likewise.
13888 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13889 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13890 * resolv/res_init.c (__res_vinit): Likewise.
13891 (net_mask): Likewise.
13892 * resolv/res_mkquery.c (outchar): Likewise.
13894 * stdio-common/printf_fp.c (outchar): Likewise.
13896 * stdio-common/printf_fphex.c (outchar): Likewise.
13898 * stdio-common/printf_size.c (outchar): Likewise.
13900 * stdio-common/test_rdwr.c (main): Likewise.
13901 * stdio-common/tfformat.c (matches): Likewise.
13902 * stdio-common/vfprintf.c (outchar): Likewise.
13903 (printf_unknown): Likewise.
13904 (buffered_vfprintf): Likewise.
13905 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13906 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13907 (ReadFile): Likewise.
13908 * stdlib/qsort.c (SWAP): Likewise.
13909 (_quicksort): Likewise.
13910 * stdlib/setenv.c (__add_to_environ): Likewise.
13911 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13912 * stdlib/strtol_l.c (__strtol_l): Likewise.
13913 * stdlib/tst-strtod.c (main): Likewise.
13914 * stdlib/tst-strtol.c (main): Likewise.
13915 * stdlib/tst-strtoll.c (main): Likewise.
13916 * string/bits/string2.h (__strcmp_cc): Likewise.
13917 (__strcmp_cg): Likewise.
13918 (__strcspn_c1): Likewise.
13919 (__strcspn_c2): Likewise.
13920 (__strcspn_c3): Likewise.
13921 (__strspn_c1): Likewise.
13922 (__strspn_c2): Likewise.
13923 (__strspn_c3): Likewise.
13924 (__strsep_1c): Likewise.
13925 (__strsep_2c): Likewise.
13926 (__strsep_3c): Likewise.
13927 * string/memccpy.c (__memccpy): Likewise.
13928 * string/stpcpy.c (__stpcpy): Likewise.
13929 * string/strcmp.c (strcmp): Likewise.
13930 * string/strrchr.c (strrchr): Likewise.
13931 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13933 * sysdeps/mach/hurd/getcwd.c
13934 (_hurd_canonicalize_directory_name_internal): Likewise.
13935 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13936 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13937 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13938 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13939 Likewise, in both definitions.
13940 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13942 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13943 64] (__bswap_64): Likewise.
13944 * time/test_time.c (main): Likewise.
13945 * time/tzfile.c (__tzfile_read): Likewise.
13946 (__tzfile_compute): Likewise.
13947 * time/tzset.c (__tzset_parse_tz): Likewise.
13948 (tzset_internal): Likewise.
13949 (compute_change): Likewise.
13950 * wcsmbs/wcscat.c (__wcscat): Likewise.
13951 * wcsmbs/wcschr.c (wcschr): Likewise.
13952 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13953 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13954 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13955 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13956 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13957 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13958 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13959 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13960 * wcsmbs/wmemset.c (wmemset): Likewise.
13962 2013-06-06 Joseph Myers <joseph@codesourcery.com>
13964 * scripts/config.guess: Update to version 2013-05-16.
13965 * scripts/config.sub: Update to version 2013-04-24.
13966 * scripts/install-sh: Update to version 2011-11-20.07.
13967 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13968 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13970 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
13972 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13973 * elf/sln.c: Likewise.
13974 * hurd/hurd/ioctl.h: Likewise.
13975 * hurd/hurdmalloc.c: Likewise.
13976 * hurd/xattr.c: Likewise.
13977 * include/shlib-compat.h: Likewise.
13978 * inet/ruserpass.c: Likewise.
13979 * libio/iofgets_u.c: Likewise.
13980 * libio/iofgetws_u.c: Likewise.
13981 * locale/programs/ld-identification.c: Likewise.
13982 * locale/programs/ld-time.c: Likewise.
13983 * mach/msg-destroy.c: Likewise.
13984 * nss/nss_files/files-netgrp.c: Likewise.
13985 * resolv/res_data.c: Likewise.
13986 * soft-fp/op-1.h: Likewise.
13987 * soft-fp/op-2.h: Likewise.
13988 * soft-fp/op-4.h: Likewise.
13989 * soft-fp/op-common.h: Likewise.
13990 * stdio-common/printf_fphex.c: Likewise.
13991 * stdlib/strtod_l.c: Likewise.
13992 * sunrpc/rpc/clnt.h: Likewise.
13993 * sysdeps/generic/framestate.c: Likewise.
13994 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13995 * sysdeps/i386/bsd-setjmp.S: Likewise.
13996 * sysdeps/i386/__longjmp.S: Likewise.
13997 * sysdeps/i386/setjmp.S: Likewise.
13998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13999 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14000 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14016 * sysdeps/ieee754/support.c: Likewise.
14017 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14018 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14019 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14020 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14021 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14022 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14023 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14024 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14025 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14026 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14027 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14028 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14029 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14030 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14031 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14032 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14033 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14036 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14038 * posix/transbug.c: Remove executable mode.
14040 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14042 * crypt/speeds.c: Remove trailing whitespace.
14043 * dlfcn/default.c: Likewise.
14044 * elf/ifuncdep2.c: Likewise.
14045 * elf/ifuncmain1.c: Likewise.
14046 * elf/ifuncmain1vis.c: Likewise.
14047 * elf/testobj.h: Likewise.
14048 * elf/tst-stackguard1.c: Likewise.
14049 * gmon/sys/gmon.h: Likewise.
14050 * hurd/hurdmsg.c: Likewise.
14051 * hurd/new-fd.c: Likewise.
14052 * hurd/ports-get.c: Likewise.
14053 * iconvdata/ibm1008_420.c: Likewise.
14054 * inet/tst-getni1.c: Likewise.
14055 * inet/tst-getni2.c: Likewise.
14056 * libio/ioungetc.c: Likewise.
14057 * libio/wfiledoalloc.c: Likewise.
14058 * manual/libm-err-tab.pl: Likewise.
14059 * math/w_dremf.c: Likewise.
14060 * misc/ftruncate.c: Likewise.
14061 * posix/bug-glob2.c: Likewise.
14062 * posix/tst-pcre.c: Likewise.
14063 * posix/wait4.c: Likewise.
14064 * resolv/README: Likewise.
14065 * resolv/res_debug.h: Likewise.
14066 * resolv/tst-inet_ntop.c: Likewise.
14067 * setjmp/bug269-setjmp.c: Likewise.
14068 * soft-fp/extended.h: Likewise.
14069 * soft-fp/op-1.h: Likewise.
14070 * soft-fp/op-2.h: Likewise.
14071 * soft-fp/op-4.h: Likewise.
14072 * soft-fp/op-8.h: Likewise.
14073 * soft-fp/testit.c: Likewise.
14074 * stdio-common/bug16.c: Likewise.
14075 * stdlib/random.c: Likewise.
14076 * sunrpc/rpcsvc/rquota.x: Likewise.
14077 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14082 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14083 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14085 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14086 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14087 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14097 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14098 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14099 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14104 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14106 * sysdeps/ieee754/s_lib_version.c: Likewise.
14107 * sysdeps/mach/hurd/check_fds.c: Likewise.
14108 * sysdeps/mach/hurd/getsockname.c: Likewise.
14109 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14110 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14111 * sysdeps/powerpc/bits/link.h: Likewise.
14112 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14113 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14114 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14115 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14116 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14117 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14118 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14119 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14120 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14121 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14122 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14123 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14124 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14125 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14126 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14127 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14128 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14129 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14130 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14131 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14132 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14133 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14134 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14135 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14136 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14137 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14138 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14139 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14140 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14141 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14142 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14143 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14144 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14145 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14146 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14147 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14148 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14149 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14150 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14151 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14152 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14153 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14154 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14155 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14156 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14157 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14158 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14159 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14160 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14161 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14164 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14165 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14166 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14167 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14168 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14169 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14170 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14171 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14172 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14173 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14174 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14175 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14176 * sysdeps/powerpc/sysdep.h: Likewise.
14177 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14178 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14179 * sysdeps/sh/dl-trampoline.S: Likewise.
14180 * sysdeps/sh/memset.S: Likewise.
14181 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14182 * sysdeps/sh/strlen.S: Likewise.
14183 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14184 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14185 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14186 * sysdeps/sparc/sparc32/rem.S: Likewise.
14187 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14188 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14189 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14190 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14191 * sysdeps/sparc/sparc32/urem.S: Likewise.
14192 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14193 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14194 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14195 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14197 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14198 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14199 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14200 * sysdeps/unix/bsd/times.c: Likewise.
14201 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14202 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14206 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14207 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14208 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14209 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14210 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14211 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14212 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14213 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14214 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14215 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14216 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14217 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14218 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14219 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14220 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14221 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14222 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14223 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14224 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14225 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14226 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14227 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14229 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14230 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14231 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14232 * sysdeps/x86_64/strcspn.S: Likewise.
14234 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14236 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14237 generated file. Regenerate properly from gen-translit.pl.
14238 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14239 locale/C-translit.h.
14241 2013-06-05 Andreas Schwab <schwab@suse.de>
14244 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14245 week as 6 instead of -1.
14246 * time/tst-strptime.c (day_tests): Add test case.
14248 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14250 * sysdeps/generic/math_private.h
14251 (libc_feholdexcept_setround_53bit): Replace with
14252 libc_feholdsetround_53bit.
14253 (libc_feupdateenv_53bit): Replace with
14254 libc_feresetround_53bit.
14255 (SET_RESTORE_ROUND_53BIT): Adjust.
14257 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14259 * string/test-strchrnul.c: Add copyright header.
14261 * posix/tst-getaddrinfo4.c: Increase test timeout.
14263 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14266 * math/libm-test.inc (MAX_EXP): Remove
14268 (ulp): Use MIN_EXP - MANT_DIG.
14269 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14271 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14273 * po/be.po: Revert last change.
14274 * po/zh_CN.po: Likewise.
14275 * po/header.pot: Likewise.
14277 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14279 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14280 link-libc-deps to empty as target-specific variable.
14281 * Makerules (link-libc-args): New variable.
14282 (libc-for-link): Likewise.
14283 (link-libc-deps): Likewise.
14284 (lib%.so): Depend on $(link-libc-deps). Link with
14286 (build-module): Link with $(link-libc-args).
14287 (build-module-asneeded): Likewise.
14288 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14290 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14291 target-specific variable.
14292 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14293 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14294 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14296 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14298 ($(objpfx)libpcprofile.so): Likewise.
14299 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14301 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14302 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14303 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14305 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14306 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14307 * login/Makefile ($(objpfx)libutil.so): Likewise.
14308 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14309 * math/Makefile ($(objpfx)libm.so): Likewise.
14310 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14311 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14312 variable instead of depending directly on libc.
14313 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14314 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14316 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14318 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14319 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14320 ($(objpfx)libanl.so): Likewise.
14321 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14323 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14325 * sysdeps/i386/fpu/Makefile: Remove file.
14326 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14327 ($(objpfx)libm.so): Remove dependency on ld.so.
14329 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14332 * nis/yp_xdr.c (XDRMAXNAME): Define.
14333 (XDRMAXRECORD): Define.
14334 (xdr_domainname): Use XDRMAXNAME.
14335 (xdr_mapname): Likewise.
14336 (xdr_peername): Likewise.
14337 (xdr_keydat): Use XDRMAXRECORD.
14338 (xdr_valdat): Likewise.
14340 2013-05-30 Jeff Law <law@redhat.com>
14343 * manual/errno.texi (ESTALE): Update to account for more than
14344 just NFS file systems.
14345 * sysdeps/gnu/errlist.c: Regenerated.
14347 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14350 * elf/Makefile (tests): Add tst-null-argv.
14351 (modules-names): Add tst-null-argv-lib.
14352 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14353 (tst-null-argv-ENV): Set environment for tst-null-argv.
14354 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14355 (RTLD_PROGNAME): New macro.
14356 * elf/tst-null-argv.c: New test case.
14357 * elf/tst-null-argv-lib.c: Library for test case.
14358 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14359 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14360 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14361 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14362 * elf/dl-init.c (call_init): Likewise.
14363 (_dl_init): Likewise.
14364 * elf/dl-load.c (print_search_path): Likewise.
14365 (_dl_map_object): Likewise.
14366 * elf/dl-lookup.c (do_lookup_x): Likewise.
14367 (add_dependency): Likewise.
14368 (_dl_lookup_symbol_x): Likewise.
14369 (_dl_debug_bindings): Likewise.
14370 * elf/dl-open.c (_dl_show_scope): Likewise.
14371 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14372 * elf/dl-version.c (match_symbol): Likewise.
14373 (_dl_check_map_versions): Likewise.
14374 * elf/rtld.c (dl_main): Likewise.
14375 (print_unresolved): Use RTLD_PROGNAME.
14376 (print_missing_version): Likewise.
14377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14378 (elf_machine_rela): Likewise.
14379 * sysdeps/powerpc/powerpc32/dl-machine.c
14380 (__process_machine_rela): Likewise.
14381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14383 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14385 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14387 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14394 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14396 * po/be.po: Add descriptive title.
14397 * po/zh_CN.po: Likewise.
14398 * po/header.pot: Likewise.
14400 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14402 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14404 (enlarge_archive): Likewise.
14406 2013-05-28 Ben North <ben@redfrontdoor.org>
14408 * manual/arith.texi (frexp): It is the magnitude of the return
14409 value which lies in [0.5, 1), not the return value itself.
14411 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14415 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14417 * stdio-common/bug26.c (main): Correct fscanf template.
14419 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14420 declare _dl_skip_args.
14422 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14425 * manual/platform.texi: Add missing @end deftypefun.
14427 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14430 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14431 bit of mantissa of 2^16382.
14432 * math/libm-test.inc (hypot_test_data): Add more tests.
14434 * math/libm-test.inc: Add drem and pow10 to list of tested
14436 (pow10_test): New function.
14437 (drem_test): Likewise.
14438 (drem_test_tonearest): Likewise.
14439 (drem_test_towardzero): Likewise.
14440 (drem_test_downward): Likewise.
14441 (drem_test_upward): Likewise.
14442 (main): Call the new functions.
14444 * math/libm-test.inc (finite_test_data): Remove.
14445 (finite_test): Run tests from isfinite_test_data.
14446 (gamma_test_data): Remove.
14447 (gamma_test): Run tests from lgamma_test_data.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14451 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14453 * manual/platform.texi: Add PowerPC PPR function set documentation.
14454 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14457 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14459 * math/libm-test.inc (MAX_EXP): Define.
14461 (ulp): New function.
14462 (check_float_internal): Use ULPDIFF.
14463 (cpow_test): Disable failing test.
14464 (check_ulp): Test ulp() implemetnation.
14465 (main): Call check_ulp before starting tests.
14467 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14469 * math/gen-libm-test.pl (generate_testfile): Do not handle
14470 START_DATA and END_DATA.
14471 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14473 (acos_tonearest_test_data): Likewise.
14474 (acos_towardzero_test_data): Likewise.
14475 (acos_downward_test_data): Likewise.
14476 (acos_upward_test_data): Likewise.
14477 (acosh_test_data): Likewise.
14478 (asin_test_data): Likewise.
14479 (asin_tonearest_test_data): Likewise.
14480 (asin_towardzero_test_data): Likewise.
14481 (asin_downward_test_data): Likewise.
14482 (asin_upward_test_data): Likewise.
14483 (asinh_test_data): Likewise.
14484 (atan_test_data): Likewise.
14485 (atanh_test_data): Likewise.
14486 (atan2_test_data): Likewise.
14487 (cabs_test_data): Likewise.
14488 (cacos_test_data): Likewise.
14489 (cacosh_test_data): Likewise.
14490 (carg_test_data): Likewise.
14491 (casin_test_data): Likewise.
14492 (casinh_test_data): Likewise.
14493 (catan_test_data): Likewise.
14494 (catanh_test_data): Likewise.
14495 (cbrt_test_data): Likewise.
14496 (ccos_test_data): Likewise.
14497 (ccosh_test_data): Likewise.
14498 (ceil_test_data): Likewise.
14499 (cexp_test_data): Likewise.
14500 (cimag_test_data): Likewise.
14501 (clog_test_data): Likewise.
14502 (clog10_test_data): Likewise.
14503 (conj_test_data): Likewise.
14504 (copysign_test_data): Likewise.
14505 (cos_test_data): Likewise.
14506 (cos_tonearest_test_data): Likewise.
14507 (cos_towardzero_test_data): Likewise.
14508 (cos_downward_test_data): Likewise.
14509 (cos_upward_test_data): Likewise.
14510 (cosh_test_data): Likewise.
14511 (cosh_tonearest_test_data): Likewise.
14512 (cosh_towardzero_test_data): Likewise.
14513 (cosh_downward_test_data): Likewise.
14514 (cosh_upward_test_data): Likewise.
14515 (cpow_test_data): Likewise.
14516 (cproj_test_data): Likewise.
14517 (creal_test_data): Likewise.
14518 (csin_test_data): Likewise.
14519 (csinh_test_data): Likewise.
14520 (csqrt_test_data): Likewise.
14521 (ctan_test_data): Likewise.
14522 (ctan_tonearest_test_data): Likewise.
14523 (ctan_towardzero_test_data): Likewise.
14524 (ctan_downward_test_data): Likewise.
14525 (ctan_upward_test_data): Likewise.
14526 (ctanh_test_data): Likewise.
14527 (ctanh_tonearest_test_data): Likewise.
14528 (ctanh_towardzero_test_data): Likewise.
14529 (ctanh_downward_test_data): Likewise.
14530 (ctanh_upward_test_data): Likewise.
14531 (erf_test_data): Likewise.
14532 (erfc_test_data): Likewise.
14533 (exp_test_data): Likewise.
14534 (exp_tonearest_test_data): Likewise.
14535 (exp_towardzero_test_data): Likewise.
14536 (exp_downward_test_data): Likewise.
14537 (exp_upward_test_data): Likewise.
14538 (exp10_test_data): Likewise.
14539 (exp2_test_data): Likewise.
14540 (expm1_test_data): Likewise.
14541 (fabs_test_data): Likewise.
14542 (fdim_test_data): Likewise.
14543 (finite_test_data): Likewise.
14544 (floor_test_data): Likewise.
14545 (fma_test_data): Likewise.
14546 (fma_towardzero_test_data): Likewise.
14547 (fma_downward_test_data): Likewise.
14548 (fma_upward_test_data): Likewise.
14549 (fmax_test_data): Likewise.
14550 (fmin_test_data): Likewise.
14551 (fmod_test_data): Likewise.
14552 (fpclassify_test_data): Likewise.
14553 (frexp_test_data): Likewise.
14554 (gamma_test_data): Likewise.
14555 (hypot_test_data): Likewise.
14556 (ilogb_test_data): Likewise.
14557 (isfinite_test_data): Likewise.
14558 (isgreater_test_data): Likewise.
14559 (isgreaterequal_test_data): Likewise.
14560 (isinf_test_data): Likewise.
14561 (isless_test_data): Likewise.
14562 (islessequal_test_data): Likewise.
14563 (islessgreater_test_data): Likewise.
14564 (isnan_test_data): Likewise.
14565 (isnormal_test_data): Likewise.
14566 (issignaling_test_data): Likewise.
14567 (isunordered_test_data): Likewise.
14568 (j0_test_data): Likewise.
14569 (j1_test_data): Likewise.
14570 (jn_test_data): Likewise.
14571 (ldexp_test_data): Likewise.
14572 (lgamma_test_data): Likewise.
14573 (lrint_test_data): Likewise.
14574 (lrint_tonearest_test_data): Likewise.
14575 (lrint_towardzero_test_data): Likewise.
14576 (lrint_downward_test_data): Likewise.
14577 (lrint_upward_test_data): Likewise.
14578 (llrint_test_data): Likewise.
14579 (llrint_tonearest_test_data): Likewise.
14580 (llrint_towardzero_test_data): Likewise.
14581 (llrint_downward_test_data): Likewise.
14582 (llrint_upward_test_data): Likewise.
14583 (log_test_data): Likewise.
14584 (log10_test_data): Likewise.
14585 (log1p_test_data): Likewise.
14586 (log2_test_data): Likewise.
14587 (logb_test_data): Likewise.
14588 (logb_downward_test_data): Likewise.
14589 (lround_test_data): Likewise.
14590 (llround_test_data): Likewise.
14591 (modf_test_data): Likewise.
14592 (nearbyint_test_data): Likewise.
14593 (nextafter_test_data): Likewise.
14594 (nexttoward_test_data): Likewise.
14595 (pow_test_data): Likewise.
14596 (pow_tonearest_test_data): Likewise.
14597 (pow_towardzero_test_data): Likewise.
14598 (pow_downward_test_data): Likewise.
14599 (pow_upward_test_data): Likewise.
14600 (remainder_test_data): Likewise.
14601 (remainder_tonearest_test_data): Likewise.
14602 (remainder_towardzero_test_data): Likewise.
14603 (remainder_downward_test_data): Likewise.
14604 (remainder_upward_test_data): Likewise.
14605 (remquo_test_data): Likewise.
14606 (rint_test_data): Likewise.
14607 (rint_tonearest_test_data): Likewise.
14608 (rint_towardzero_test_data): Likewise.
14609 (rint_downward_test_data): Likewise.
14610 (rint_upward_test_data): Likewise.
14611 (round_test_data): Likewise.
14612 (scalb_test_data): Likewise.
14613 (scalbn_test_data): Likewise.
14614 (scalbln_test_data): Likewise.
14615 (signbit_test_data): Likewise.
14616 (sin_test_data): Likewise.
14617 (sin_tonearest_test_data): Likewise.
14618 (sin_towardzero_test_data): Likewise.
14619 (sin_downward_test_data): Likewise.
14620 (sin_upward_test_data): Likewise.
14621 (sincos_test_data): Likewise.
14622 (sinh_test_data): Likewise.
14623 (sinh_tonearest_test_data): Likewise.
14624 (sinh_towardzero_test_data): Likewise.
14625 (sinh_downward_test_data): Likewise.
14626 (sinh_upward_test_data): Likewise.
14627 (sqrt_test_data): Likewise.
14628 (tan_test_data): Likewise.
14629 (tan_tonearest_test_data): Likewise.
14630 (tan_towardzero_test_data): Likewise.
14631 (tan_downward_test_data): Likewise.
14632 (tan_upward_test_data): Likewise.
14633 (tanh_test_data): Likewise.
14634 (tgamma_test_data): Likewise.
14635 (trunc_test_data): Likewise.
14636 (y0_test_data): Likewise.
14637 (y1_test_data): Likewise.
14638 (yn_test_data): Likewise.
14639 (significand_test_data): Likewise.
14641 * math/gen-libm-test.pl (@functions): Remove variable.
14642 (generate_testfile): Don't handle START and END lines.
14643 * math/libm-test.inc (START): New macro.
14645 (END_COMPLEX): Likewise.
14646 (acos_test): Use END macro without arguments.
14647 (acos_test_tonearest): Likewise.
14648 (acos_test_towardzero): Likewise.
14649 (acos_test_downward): Likewise.
14650 (acos_test_upward): Likewise.
14651 (acosh_test): Likewise.
14652 (asin_test): Likewise.
14653 (asin_test_tonearest): Likewise.
14654 (asin_test_towardzero): Likewise.
14655 (asin_test_downward): Likewise.
14656 (asin_test_upward): Likewise.
14657 (asinh_test): Likewise.
14658 (atan_test): Likewise.
14659 (atanh_test): Likewise.
14660 (atan2_test): Likewise.
14661 (cabs_test): Likewise.
14662 (cacos_test): Use END_COMPLEX macro without arguments.
14663 (cacosh_test): Likewise.
14664 (carg_test): Use END macro without arguments.
14665 (casin_test): Use END_COMPLEX macro without arguments.
14666 (casinh_test): Likewise.
14667 (catan_test): Likewise.
14668 (catanh_test): Likewise.
14669 (cbrt_test): Use END macro without arguments.
14670 (ccos_test): Use END_COMPLEX macro without arguments.
14671 (ccosh_test): Likewise.
14672 (ceil_test): Use END macro without arguments.
14673 (cexp_test): Use END_COMPLEX macro without arguments.
14674 (cimag_test): Use END macro without arguments.
14675 (clog_test): Use END_COMPLEX macro without arguments.
14676 (clog10_test): Likewise.
14677 (conj_test): Likewise.
14678 (copysign_test): Use END macro without arguments.
14679 (cos_test): Likewise.
14680 (cos_test_tonearest): Likewise.
14681 (cos_test_towardzero): Likewise.
14682 (cos_test_downward): Likewise.
14683 (cos_test_upward): Likewise.
14684 (cosh_test): Likewise.
14685 (cosh_test_tonearest): Likewise.
14686 (cosh_test_towardzero): Likewise.
14687 (cosh_test_downward): Likewise.
14688 (cosh_test_upward): Likewise.
14689 (cpow_test): Use END_COMPLEX macro without arguments.
14690 (cproj_test): Likewise.
14691 (creal_test): Use END macro without arguments.
14692 (csin_test): Use END_COMPLEX macro without arguments.
14693 (csinh_test): Likewise.
14694 (csqrt_test): Likewise.
14695 (ctan_test): Likewise.
14696 (ctan_test_tonearest): Likewise.
14697 (ctan_test_towardzero): Likewise.
14698 (ctan_test_downward): Likewise.
14699 (ctan_test_upward): Likewise.
14700 (ctanh_test): Likewise.
14701 (ctanh_test_tonearest): Likewise.
14702 (ctanh_test_towardzero): Likewise.
14703 (ctanh_test_downward): Likewise.
14704 (ctanh_test_upward): Likewise.
14705 (erf_test): Use END macro without arguments.
14706 (erfc_test): Likewise.
14707 (exp_test): Likewise.
14708 (exp_test_tonearest): Likewise.
14709 (exp_test_towardzero): Likewise.
14710 (exp_test_downward): Likewise.
14711 (exp_test_upward): Likewise.
14712 (exp10_test): Likewise.
14713 (exp2_test): Likewise.
14714 (expm1_test): Likewise.
14715 (fabs_test): Likewise.
14716 (fdim_test): Likewise.
14717 (finite_test): Likewise.
14718 (floor_test): Likewise.
14719 (fma_test): Likewise.
14720 (fma_test_towardzero): Likewise.
14721 (fma_test_downward): Likewise.
14722 (fma_test_upward): Likewise.
14723 (fmax_test): Likewise.
14724 (fmin_test): Likewise.
14725 (fmod_test): Likewise.
14726 (fpclassify_test): Likewise.
14727 (frexp_test): Likewise.
14728 (gamma_test): Likewise.
14729 (hypot_test): Likewise.
14730 (ilogb_test): Likewise.
14731 (isfinite_test): Likewise.
14732 (isgreater_test): Likewise.
14733 (isgreaterequal_test): Likewise.
14734 (isinf_test): Likewise.
14735 (isless_test): Likewise.
14736 (islessequal_test): Likewise.
14737 (islessgreater_test): Likewise.
14738 (isnan_test): Likewise.
14739 (isnormal_test): Likewise.
14740 (issignaling_test): Likewise.
14741 (isunordered_test): Likewise.
14742 (j0_test): Likewise.
14743 (j1_test): Likewise.
14744 (jn_test): Likewise.
14745 (ldexp_test): Likewise.
14746 (lgamma_test): Likewise.
14747 (lrint_test): Likewise.
14748 (lrint_test_tonearest): Likewise.
14749 (lrint_test_towardzero): Likewise.
14750 (lrint_test_downward): Likewise.
14751 (lrint_test_upward): Likewise.
14752 (llrint_test): Likewise.
14753 (llrint_test_tonearest): Likewise.
14754 (llrint_test_towardzero): Likewise.
14755 (llrint_test_downward): Likewise.
14756 (llrint_test_upward): Likewise.
14757 (log_test): Likewise.
14758 (log10_test): Likewise.
14759 (log1p_test): Likewise.
14760 (log2_test): Likewise.
14761 (logb_test): Likewise.
14762 (logb_test_downward): Likewise.
14763 (lround_test): Likewise.
14764 (llround_test): Likewise.
14765 (modf_test): Likewise.
14766 (nearbyint_test): Likewise.
14767 (nextafter_test): Likewise.
14768 (nexttoward_test): Likewise.
14769 (pow_test): Likewise.
14770 (pow_test_tonearest): Likewise.
14771 (pow_test_towardzero): Likewise.
14772 (pow_test_downward): Likewise.
14773 (pow_test_upward): Likewise.
14774 (remainder_test): Likewise.
14775 (remainder_test_tonearest): Likewise.
14776 (remainder_test_towardzero): Likewise.
14777 (remainder_test_downward): Likewise.
14778 (remainder_test_upward): Likewise.
14779 (remquo_test): Likewise.
14780 (rint_test): Likewise.
14781 (rint_test_tonearest): Likewise.
14782 (rint_test_towardzero): Likewise.
14783 (rint_test_downward): Likewise.
14784 (rint_test_upward): Likewise.
14785 (round_test): Likewise.
14786 (scalb_test): Likewise.
14787 (scalbn_test): Likewise.
14788 (scalbln_test): Likewise.
14789 (signbit_test): Likewise.
14790 (sin_test): Likewise.
14791 (sin_test_tonearest): Likewise.
14792 (sin_test_towardzero): Likewise.
14793 (sin_test_downward): Likewise.
14794 (sin_test_upward): Likewise.
14795 (sincos_test): Likewise.
14796 (sinh_test): Likewise.
14797 (sinh_test_tonearest): Likewise.
14798 (sinh_test_towardzero): Likewise.
14799 (sinh_test_downward): Likewise.
14800 (sinh_test_upward): Likewise.
14801 (sqrt_test): Likewise.
14802 (tan_test): Likewise.
14803 (tan_test_tonearest): Likewise.
14804 (tan_test_towardzero): Likewise.
14805 (tan_test_downward): Likewise.
14806 (tan_test_upward): Likewise.
14807 (tanh_test): Likewise.
14808 (tgamma_test): Likewise.
14809 (trunc_test): Likewise.
14810 (y0_test): Likewise.
14811 (y1_test): Likewise.
14812 (yn_test): Likewise.
14813 (significand_test): Likewise.
14815 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14818 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14820 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14823 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14824 __ppc_mdoio and __ppc_mdoom.
14825 * manual/platform.texi: Document new functions __ppc_yield,
14826 __ppc_mdoio and __ppc_mdoom.
14828 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14830 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14831 (main): Mention "tls" pseudo-hwcap is legacy.
14832 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14834 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14836 * math/gen-libm-test.pl (parse_args): Output only string of
14837 arguments as text for test name, not full call or descriptions of
14838 tests for extra outputs.
14839 (generate_testfile): Do not pass function name to parse_args.
14840 Generate this_func variable from START.
14841 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14843 (struct test_ff_f_data): Likewise.
14844 (test_ff_f_data_nexttoward): Likewise.
14845 (struct test_fi_f_data): Likewise.
14846 (struct test_fl_f_data): Likewise.
14847 (struct test_if_f_data): Likewise.
14848 (struct test_fff_f_data): Likewise.
14849 (struct test_c_f_data): Likewise.
14850 (struct test_f_f1_data): Likewise. Remove field extra_name.
14851 (struct test_fF_f1_data): Likewise.
14852 (struct test_ffI_f1_data): Likewise.
14853 (struct test_c_c_data): Rename test_name field to arg_str.
14854 (struct test_cc_c_data): Likewise.
14855 (struct test_f_i_data): Likewise.
14856 (struct test_ff_i_data): Likewise.
14857 (struct test_f_l_data): Likewise.
14858 (struct test_f_L_data): Likewise.
14859 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14861 (COMMON_TEST_SETUP): New macro.
14862 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14863 (COMMON_TEST_CLEANUP): Likewise.
14864 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14865 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14867 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14868 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14870 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14871 (RUN_TEST_fff_f): Take argument string. Call new setup and
14873 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14874 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14876 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14877 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14879 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14880 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14882 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14883 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14885 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14886 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14888 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14889 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14891 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14892 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14894 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14895 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14897 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14898 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14900 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14901 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14903 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14904 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14906 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14907 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14909 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14910 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14912 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14913 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14915 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14916 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14918 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14920 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14922 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14923 to _sifields.sigfault.
14924 (si_addr_lsb): Define new macro.
14925 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14927 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14929 2013-05-03 Carlos O'Donell <carlos at redhat.com>
14932 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14934 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14936 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14937 loading the domain.
14939 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14941 * math/gen-libm-test.pl (parse_args): Do not include expected
14942 result in test name.
14943 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14944 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14945 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14946 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14947 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14950 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14952 * benchtests/Makefile: Sort function entries.
14954 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14955 tanh, asinh, acosh, atanh.
14956 * benchtests/acos-inputs: New file.
14957 * benchtests/acosh-inputs: New file.
14958 * benchtests/asin-inputs: New file.
14959 * benchtests/asinh-inputs: New file.
14960 * benchtests/atanh-inputs: New file.
14961 * benchtests/cosh-inputs: New file.
14962 * benchtests/log-inputs: New file.
14963 * benchtests/sinh-inputs: New file.
14964 * benchtests/tanh-inputs: New file.
14966 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14969 * posix/tst-getaddrinfo4.c: New test.
14970 * posix/Makefile (tests): Add it.
14972 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14975 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14976 when no services were used.
14977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14978 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14980 2013-05-21 Andreas Schwab <schwab@suse.de>
14983 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14984 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14986 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14987 redundant variable declarations and reallocation of buffer when
14988 parsing as IPv6 address. Always set NSS status when called from
14989 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14990 buffer too small. Correct computation of needed size.
14991 * nss/Makefile (tests): Add test-digits-dots.
14992 * nss/test-digits-dots.c: New test.
14994 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14996 * benchtests/Makefile: Remove instructions for adding
14998 * benchtests/README: New file to explain how to execute and
14999 enhance the benchmark tests.
15001 2013-05-21 Andreas Schwab <schwab@suse.de>
15004 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15005 * setjmp/tst-sigsetjmp.c: New test.
15007 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15009 * sysdeps/x86_64/memset.S (memset): New implementation.
15010 (__bzero): Likewise.
15011 (__memset_tail): New function.
15013 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15015 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15016 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15017 __memcpy_sse2_unaligned ifunc selection.
15018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15019 Add memcpy-sse2-unaligned.S.
15020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15021 Add: __memcpy_sse2_unaligned.
15023 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15026 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15027 math_force_eval before restoring floating-point envrionment.
15028 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15029 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15031 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15033 (__nearbyintl): Use math_force_eval before restoring
15034 floating-point environment.
15035 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15037 * math/gen-libm-test.pl (special_functions): Remove.
15038 (parse_args): Don't handle TEST_extra. Handle functions with no
15040 * math/libm-test.inc (struct test_sincos_data): Replace with
15041 struct test_fFF_11_data.
15042 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15043 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15044 (sincos_test_data): Change element type to struct
15045 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15046 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15047 RUN_TEST_LOOP_sincos.
15048 * math/README.libm-test: Don't mention special handling of
15049 individual functions.
15050 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15051 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15052 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15053 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15054 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15057 * math/gen-libm-test.pl (get_variable): Remove function.
15058 (parse_args): Don't show pointer parameters to call in test
15059 names. Use "extra output N" in test names for extra outputs
15060 rather than naming variables.
15062 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15065 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15066 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15067 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15069 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15071 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15074 * math/gen-libm-test.pl (@tests): Remove variable.
15075 ($count): Likewise.
15076 (new_test): Remove function.
15077 (show_exceptions): New function.
15078 (special_functions): Use show_exceptions instead of new_test.
15079 (parse_args): Likewise.
15080 (generate_testfile): Pass only function name in generated call to
15081 print_max_error or print_complex_max_error.
15082 (get_ulps): Do not handle complex tests specially.
15083 (output_test): Rename to ...
15084 (get_all_ulps_for_test): ... this. Return a string rather than
15085 printing to a file. Require ulps to be present.
15086 (output_ulps): Generate arrays rather than #defines.
15087 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15088 (struct ulp_data): New type.
15089 (BUILD_COMPLEX_ULP): Remove macro.
15090 (compare_ulp_data): New function.
15091 (find_ulps): Likewise.
15092 (find_test_ulps): Likewise.
15093 (find_function_ulps): Likewise.
15094 (find_complex_function_ulps): Likewise.
15095 (print_max_error): Determine allowed ulps using
15096 find_function_ulps.
15097 (print_complex_max_error): Determine allowed ulps using
15098 find_complex_function_ulps.
15099 (check_float_internal): Determine max ulps using find_test_ulps.
15100 (check_float): Do not take max_ulp parameter. Update call to
15101 check_float_internal.
15102 (check_complex): Likewise.
15103 (check_int): Do not take max_ulp parameter.
15104 (check_long): Likewise.
15105 (check_bool): Likewise.
15106 (check_longlong): Likewise.
15107 (struct test_f_f_data): Remove max_ulp field.
15108 (struct test_ff_f_data): Likewise.
15109 (struct test_ff_f_data_nexttoward): Likewise.
15110 (struct test_fi_f_data): Likewise.
15111 (struct test_fl_f_data): Likewise.
15112 (struct test_if_f_data): Likewise.
15113 (struct test_fff_f_data): Likewise.
15114 (struct test_c_f_data): Likewise.
15115 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15116 (struct test_fF_f1_data): Likewise.
15117 (struct test_ffI_f1_data): Likewise.
15118 (struct test_c_c_data): Remove max_ulp field.
15119 (struct test_cc_c_data): Likewise.
15120 (struct test_f_i_data): Likewise.
15121 (struct test_ff_i_data): Likewise.
15122 (struct test_f_l_data): Likewise.
15123 (struct test_f_L_data): Likewise.
15124 (struct test_sincos_data): Likewise.
15125 (RUN_TEST_f_f): Do not handle ulps.
15126 (RUN_TEST_LOOP_f_f): Likewise.
15127 (RUN_TEST_2_f): Likewise.
15128 (RUN_TEST_LOOP_2_f): Likewise.
15129 (RUN_TEST_fff_f): Likewise.
15130 (RUN_TEST_LOOP_fff_f): Likewise.
15131 (RUN_TEST_c_f): Likewise.
15132 (RUN_TEST_LOOP_c_f): Likewise.
15133 (RUN_TEST_f_f1): Likewise.
15134 (RUN_TEST_LOOP_f_f1): Likewise.
15135 (RUN_TEST_fF_f1): Likewise.
15136 (RUN_TEST_LOOP_fF_f1): Likewise.
15137 (RUN_TEST_fI_f1): Likewise.
15138 (RUN_TEST_LOOP_fI_f1): Likewise.
15139 (RUN_TEST_ffI_f1): Likewise.
15140 (RUN_TEST_LOOP_ffI_f1): Likewise.
15141 (RUN_TEST_c_c): Likewise.
15142 (RUN_TEST_LOOP_c_c): Likewise.
15143 (RUN_TEST_cc_c): Likewise.
15144 (RUN_TEST_LOOP_cc_c): Likewise.
15145 (RUN_TEST_f_i): Likewise.
15146 (RUN_TEST_LOOP_f_i): Likewise.
15147 (RUN_TEST_f_i_tg): Likewise.
15148 (RUN_TEST_LOOP_f_i_tg): Likewise.
15149 (RUN_TEST_ff_i_tg): Likewise.
15150 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15151 (RUN_TEST_f_b): Likewise.
15152 (RUN_TEST_LOOP_f_b): Likewise.
15153 (RUN_TEST_f_b_tg): Likewise.
15154 (RUN_TEST_LOOP_f_b_tg): Likewise.
15155 (RUN_TEST_f_l): Likewise.
15156 (RUN_TEST_LOOP_f_l): Likewise.
15157 (RUN_TEST_f_L): Likewise.
15158 (RUN_TEST_LOOP_f_L): Likewise.
15159 (RUN_TEST_sincos): Likewise.
15160 (RUN_TEST_LOOP_sincos): Likewise.
15162 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15166 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15167 main case of finite arguments, set rounding mode to FE_TONEAREST
15168 and discard exceptions.
15169 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15171 (remainder_tonearest_test_data): New variable.
15172 (remainder_test_tonearest): New function.
15173 (remainder_towardzero_test_data): New variable.
15174 (remainder_test_towardzero): New function.
15175 (remainder_downward_test_data): New variable.
15176 (remainder_test_downward): New function.
15177 (remainder_upward_test_data): New variable.
15178 (remainder_test_upward): New function.
15179 (main): Call the new test functions.
15181 * math/libm-test.inc (struct test_f_f1_data): Remove field
15183 (struct test_fF_f1_data): Likewise.
15184 (struct test_ffI_f1_data): Likewise.
15185 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15186 based on value of EXTRA_EXPECTED.
15187 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15188 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15189 EXTRA_VAR based on value of EXTRA_EXPECTED.
15190 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15191 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15192 EXTRA_VAR based on value of EXTRA_EXPECTED.
15193 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15194 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15195 EXTRA_VAR based on value of EXTRA_EXPECTED.
15196 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15197 * math/gen-libm-test.pl (parse_args): Don't output initializers
15198 for extra output values.
15200 * math/libm-test.inc (check_int): Expect result to be exactly
15201 equal to expected value and do not handle ulps.
15202 (check_long): Likewise.
15203 (check_longlong): Likewise.
15205 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15207 (cimag_test_data): Likewise.
15208 (conj_test_data): Likewise.
15209 (copysign_test_data): Likewise.
15210 (cproj_test_data): Likewise.
15211 (creal_test_data): Likewise.
15212 (fabs_test_data): Likewise.
15213 (fdim_test_data): Likewise.
15214 (finite_test_data): Likewise.
15215 (floor_test_data): Likewise.
15216 (fmax_test_data): Likewise.
15217 (fmin_test_data): Likewise.
15218 (fmod_test_data): Likewise.
15219 (fpclassify_test_data): Likewise.
15220 (frexp_test_data): Likewise.
15221 (ilogb_test_data): Likewise.
15222 (isfinite_test_data): Likewise.
15223 (isgreater_test_data): Likewise.
15224 (isgreaterequal_test_data): Likewise.
15225 (isinf_test_data): Likewise.
15226 (isless_test_data): Likewise.
15227 (islessequal_test_data): Likewise.
15228 (islessgreater_test_data): Likewise.
15229 (isnan_test_data): Likewise.
15230 (isnormal_test_data): Likewise.
15231 (issignaling_test_data): Likewise.
15232 (isunordered_test_data): Likewise.
15233 (ldexp_test_data): Likewise.
15234 (lrint_test_data): Likewise.
15235 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15236 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15237 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15238 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15239 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15240 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15242 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15243 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15244 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15245 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15247 (lrint_downward_test_data): Test for "inexact" exceptions.
15248 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15249 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15250 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15252 (lrint_upward_test_data): Test for "inexact" exceptions.
15253 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15255 (llrint_test_data): Test for "inexact" exceptions.
15256 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15257 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15258 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15259 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15260 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15261 (llrint_downward_test_data): Test for "inexact" exceptions.
15262 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15263 (llrint_upward_test_data): Test for "inexact" exceptions.
15264 (logb_test_data): Likewise.
15265 (logb_downward_test_data): Likewise.
15266 (nextafter_test_data): Likewise.
15267 (nexttoward_test_data): Likewise.
15268 (remainder_test_data): Likewise.
15269 (remquo_test_data): Likewise.
15270 (scalbn_test_data): Likewise.
15271 (scalbln_test_data): Likewise.
15272 (signbit_test_data): Likewise.
15273 (sqrt_test_data): Likewise.
15274 (significand_test_data): Likewise.
15276 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15279 * benchtests/bench-modf.c (struct args): Mark arg0 as
15281 * scripts/bench.pl: Mark members of struct args as volatile.
15283 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15286 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15287 negative infinity on POWER6 or lower.
15288 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15290 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15293 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15294 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15295 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15296 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15297 (_FP_SETQNAN): New macro.
15298 (_FP_SETQNAN_SEMIRAW): Likewise.
15299 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15300 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15301 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15302 (FP_EXTEND): Use _FP_FRAC_SNANP.
15303 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15304 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15306 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15308 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15311 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15313 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15314 with DIVIDE_BY_ZERO_EXCEPTION.
15315 (gamma_test_data): Likewise.
15316 (lgamma_test_data): Likewise.
15317 (log_test_data): Likewise.
15318 (log10_test_data): Likewise.
15319 (log2_test_data): Likewise.
15320 (tgamma_test_data): Likewise.
15322 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15323 (acos_test_tonearest): Likewise.
15324 (acos_test_towardzero): Likewise.
15325 (acos_test_downward): Likewise.
15326 (acos_test_upward): Likewise.
15327 (acosh_test): Likewise.
15328 (asin_test): Likewise.
15329 (asin_test_tonearest): Likewise.
15330 (asin_test_towardzero): Likewise.
15331 (asin_test_downward): Likewise.
15332 (asin_test_upward): Likewise.
15333 (asinh_test): Likewise.
15334 (atan_test): Likewise.
15335 (atanh_test): Likewise.
15336 (atan2_test): Likewise.
15337 (cabs_test): Likewise.
15338 (cacos_test): Likewise.
15339 (cacosh_test): Likewise.
15340 (casin_test): Likewise.
15341 (casinh_test): Likewise.
15342 (catan_test): Likewise.
15343 (catanh_test): Likewise.
15344 (cbrt_test): Likewise.
15345 (ccos_test): Likewise.
15346 (ccosh_test): Likewise.
15347 (cexp_test): Likewise.
15348 (clog_test): Likewise.
15349 (clog10_test): Likewise.
15350 (cos_test): Likewise.
15351 (cos_test_tonearest): Likewise.
15352 (cos_test_towardzero): Likewise.
15353 (cos_test_downward): Likewise.
15354 (cos_test_upward): Likewise.
15355 (cosh_test): Likewise.
15356 (cosh_test_tonearest): Likewise.
15357 (cosh_test_towardzero): Likewise.
15358 (cosh_test_downward): Likewise.
15359 (cosh_test_upward): Likewise.
15360 (cpow_test): Likewise.
15361 (csin_test): Likewise.
15362 (csinh_test): Likewise.
15363 (csqrt_test): Likewise.
15364 (ctan_test): Likewise.
15365 (ctan_test_tonearest): Likewise.
15366 (ctan_test_towardzero): Likewise.
15367 (ctan_test_downward): Likewise.
15368 (ctan_test_upward): Likewise.
15369 (ctanh_test): Likewise.
15370 (ctanh_test_tonearest): Likewise.
15371 (ctanh_test_towardzero): Likewise.
15372 (ctanh_test_downward): Likewise.
15373 (ctanh_test_upward): Likewise.
15374 (erf_test): Likewise.
15375 (erfc_test): Likewise.
15376 (exp_test): Likewise.
15377 (exp_test_tonearest): Likewise.
15378 (exp_test_towardzero): Likewise.
15379 (exp_test_downward): Likewise.
15380 (exp_test_upward): Likewise.
15381 (exp10_test): Likewise.
15382 (exp2_test): Likewise.
15383 (expm1_test): Likewise.
15384 (fmod_test): Likewise.
15385 (gamma_test): Likewise.
15386 (hypot_test): Likewise.
15387 (j0_test): Likewise.
15388 (j1_test): Likewise.
15389 (jn_test): Likewise.
15390 (lgamma_test): Likewise.
15391 (log_test): Likewise.
15392 (log10_test): Likewise.
15393 (log1p_test): Likewise.
15394 (log2_test): Likewise.
15395 (logb_test_downward): Likewise.
15396 (pow_test): Likewise.
15397 (pow_test_tonearest): Likewise.
15398 (pow_test_towardzero): Likewise.
15399 (pow_test_downward): Likewise.
15400 (pow_test_upward): Likewise.
15401 (remainder_test): Likewise.
15402 (remquo_test): Likewise.
15403 (sin_test): Likewise.
15404 (sin_test_tonearest): Likewise.
15405 (sin_test_towardzero): Likewise.
15406 (sin_test_downward): Likewise.
15407 (sin_test_upward): Likewise.
15408 (sincos_test): Likewise.
15409 (sinh_test): Likewise.
15410 (sinh_test_tonearest): Likewise.
15411 (sinh_test_towardzero): Likewise.
15412 (sinh_test_downward): Likewise.
15413 (sinh_test_upward): Likewise.
15414 (sqrt_test): Likewise.
15415 (tan_test): Likewise.
15416 (tan_test_tonearest): Likewise.
15417 (tan_test_towardzero): Likewise.
15418 (tan_test_downward): Likewise.
15419 (tan_test_upward): Likewise.
15420 (tanh_test): Likewise.
15421 (tgamma_test): Likewise.
15422 (y0_test): Likewise.
15423 (y1_test): Likewise.
15424 (yn_test): Likewise.
15426 * math/gen-libm-test.pl (adjust_arg): Remove function.
15427 (special_function): Remove argument $in_func. Only handle
15428 generating output for tables of tests, not inside functions.
15429 (parse_args): Likewise.
15430 (generate_testfile): Remove variable $in_func. Update call to
15432 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15433 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15434 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15435 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15436 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15437 (MAX_VALUE_INIT): Rename macro to max_value.
15438 (MIN_VALUE_INIT): Rename macro to min_value.
15439 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15440 (plus_zero): Remove variable.
15441 (minus_zero): Likewise.
15442 (plus_infty): Likewise.
15443 (minus_infty): Likewise.
15444 (qnan_value): Likewise.
15445 (max_value): Likewise.
15446 (min_value): Likewise.
15447 (min_subnorm_value): Likewise.
15449 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15451 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15452 uint64_t or uint32_t usage.
15453 * crypt/sha256-block.c: Likewise.
15454 * crypt/sha256-crypt.c: Likewise.
15455 * crypt/sha256.c: Likewise.
15456 * crypt/sha512-block.c: Likewise.
15457 * crypt/sha512-crypt.c: Likewise.
15458 * crypt/sha512.c: Likewise.
15459 * debug/backtrace-tst.c: Likewise.
15460 * debug/pcprofiledump.c: Likewise.
15461 * elf/cache.c: Likewise.
15462 * elf/dl-cache.c: Likewise.
15463 * elf/dl-misc.c: Likewise.
15464 * elf/dl-profile.c: Likewise.
15465 * elf/dl-support.c: Likewise.
15466 * elf/ldconfig.c: Likewise.
15467 * elf/sprof.c: Likewise.
15468 * iconv/dummy-repertoire.c: Likewise.
15469 * iconv/iconv_charmap.c: Likewise.
15470 * iconv/skeleton.c: Likewise.
15471 * iconvdata/8bit-generic.c: Likewise.
15472 * iconvdata/cp737.h: Likewise.
15473 * iconvdata/cp775.h: Likewise.
15474 * iconvdata/ibm1008.h: Likewise.
15475 * iconvdata/ibm1025.h: Likewise.
15476 * iconvdata/ibm1046.h: Likewise.
15477 * iconvdata/ibm1097.h: Likewise.
15478 * iconvdata/ibm1112.h: Likewise.
15479 * iconvdata/ibm1122.h: Likewise.
15480 * iconvdata/ibm1123.h: Likewise.
15481 * iconvdata/ibm1124.h: Likewise.
15482 * iconvdata/ibm1129.h: Likewise.
15483 * iconvdata/ibm1130.h: Likewise.
15484 * iconvdata/ibm1132.h: Likewise.
15485 * iconvdata/ibm1133.h: Likewise.
15486 * iconvdata/ibm1137.h: Likewise.
15487 * iconvdata/ibm1140.h: Likewise.
15488 * iconvdata/ibm1141.h: Likewise.
15489 * iconvdata/ibm1142.h: Likewise.
15490 * iconvdata/ibm1143.h: Likewise.
15491 * iconvdata/ibm1144.h: Likewise.
15492 * iconvdata/ibm1145.h: Likewise.
15493 * iconvdata/ibm1146.h: Likewise.
15494 * iconvdata/ibm1147.h: Likewise.
15495 * iconvdata/ibm1148.h: Likewise.
15496 * iconvdata/ibm1149.h: Likewise.
15497 * iconvdata/ibm1153.h: Likewise.
15498 * iconvdata/ibm1154.h: Likewise.
15499 * iconvdata/ibm1155.h: Likewise.
15500 * iconvdata/ibm1156.h: Likewise.
15501 * iconvdata/ibm1157.h: Likewise.
15502 * iconvdata/ibm1158.h: Likewise.
15503 * iconvdata/ibm1160.h: Likewise.
15504 * iconvdata/ibm1161.h: Likewise.
15505 * iconvdata/ibm1162.h: Likewise.
15506 * iconvdata/ibm1163.h: Likewise.
15507 * iconvdata/ibm1164.h: Likewise.
15508 * iconvdata/ibm1166.h: Likewise.
15509 * iconvdata/ibm1167.h: Likewise.
15510 * iconvdata/ibm12712.h: Likewise.
15511 * iconvdata/ibm1390.h: Likewise.
15512 * iconvdata/ibm1399.h: Likewise.
15513 * iconvdata/ibm16804.h: Likewise.
15514 * iconvdata/ibm4517.h: Likewise.
15515 * iconvdata/ibm4899.h: Likewise.
15516 * iconvdata/ibm4909.h: Likewise.
15517 * iconvdata/ibm4971.h: Likewise.
15518 * iconvdata/ibm5347.h: Likewise.
15519 * iconvdata/ibm803.h: Likewise.
15520 * iconvdata/ibm856.h: Likewise.
15521 * iconvdata/ibm901.h: Likewise.
15522 * iconvdata/ibm902.h: Likewise.
15523 * iconvdata/ibm9030.h: Likewise.
15524 * iconvdata/ibm9066.h: Likewise.
15525 * iconvdata/ibm921.h: Likewise.
15526 * iconvdata/ibm922.h: Likewise.
15527 * iconvdata/ibm9448.h: Likewise.
15528 * iconvdata/isiri-3342.h: Likewise.
15529 * iconvdata/jis0201.h: Likewise.
15530 * include/link.h: Likewise.
15531 * include/netdb.h: Likewise.
15532 * inet/check_native.c: Likewise.
15533 * inet/check_pf.c: Likewise.
15534 * inet/getipv4sourcefilter.c: Likewise.
15535 * inet/getnameinfo.c: Likewise.
15536 * inet/getsourcefilter.c: Likewise.
15537 * inet/htonl.c: Likewise.
15538 * inet/setipv4sourcefilter.c: Likewise.
15539 * inet/setsourcefilter.c: Likewise.
15540 * inet/test-inet6_opt.c: Likewise.
15541 * inet/tst-network.c: Likewise.
15542 * locale/C-collate.c: Likewise.
15543 * locale/C-ctype.c: Likewise.
15544 * locale/C-time.c: Likewise.
15545 * locale/C-translit.h: Likewise.
15546 * locale/loadarchive.c: Likewise.
15547 * locale/programs/3level.h: Likewise.
15548 * locale/programs/charmap.c: Likewise.
15549 * locale/programs/charmap.h: Likewise.
15550 * locale/programs/ld-address.c: Likewise.
15551 * locale/programs/ld-collate.c: Likewise.
15552 * locale/programs/ld-ctype.c: Likewise.
15553 * locale/programs/ld-identification.c: Likewise.
15554 * locale/programs/ld-measurement.c: Likewise.
15555 * locale/programs/ld-messages.c: Likewise.
15556 * locale/programs/ld-monetary.c: Likewise.
15557 * locale/programs/ld-name.c: Likewise.
15558 * locale/programs/ld-numeric.c: Likewise.
15559 * locale/programs/ld-paper.c: Likewise.
15560 * locale/programs/ld-telephone.c: Likewise.
15561 * locale/programs/ld-time.c: Likewise.
15562 * locale/programs/linereader.c: Likewise.
15563 * locale/programs/locale.c: Likewise.
15564 * locale/programs/locarchive.c: Likewise.
15565 * locale/programs/locfile.h: Likewise.
15566 * locale/programs/repertoire.c: Likewise.
15567 * locale/programs/simple-hash.c: Likewise.
15568 * locale/programs/simple-hash.h: Likewise.
15569 * malloc/memusage.c: Likewise.
15570 * malloc/memusagestat.c: Likewise.
15571 * nis/nis_defaults.c: Likewise.
15572 * nis/nis_hash.c: Likewise.
15573 * nis/nis_print.c: Likewise.
15574 * nis/nis_xdr.c: Likewise.
15575 * nscd/connections.c: Likewise.
15576 * nscd/hstcache.c: Likewise.
15577 * nscd/nscd_gethst_r.c: Likewise.
15578 * nscd/nscd_getserv_r.c: Likewise.
15579 * nscd/nscd_helper.c: Likewise.
15580 * nscd/servicescache.c: Likewise.
15581 * nss/makedb.c: Likewise.
15582 * nss/nss_db/db-XXX.c: Likewise.
15583 * nss/nss_db/db-initgroups.c: Likewise.
15584 * nss/nss_db/db-netgrp.c: Likewise.
15585 * nss/nss_files/files-network.c: Likewise.
15586 * nss/nss_files/files-parse.c: Likewise.
15587 * posix/bug-regex5.c: Likewise.
15588 * posix/fnmatch_loop.c: Likewise.
15589 * posix/regcomp.c: Likewise.
15590 * posix/regexec.c: Likewise.
15591 * posix/tst-rfc3484-2.c: Likewise.
15592 * posix/tst-rfc3484-3.c: Likewise.
15593 * posix/tst-rfc3484.c: Likewise.
15594 * resolv/nss_dns/dns-canon.c: Likewise.
15595 * resolv/nss_dns/dns-network.c: Likewise.
15596 * resolv/res_init.c: Likewise.
15597 * resolv/res_mkquery.c: Likewise.
15598 * resolv/tst-aton.c: Likewise.
15599 * stdlib/cxa_atexit.c: Likewise.
15600 * stdlib/cxa_finalize.c: Likewise.
15601 * stdlib/gen-fpioconst.c: Likewise.
15602 * stdlib/strtol_l.c: Likewise.
15603 * string/tst-endian.c: Likewise.
15604 * sunrpc/auth_des.c: Likewise.
15605 * sunrpc/clnt_udp.c: Likewise.
15606 * sunrpc/rtime.c: Likewise.
15607 * sunrpc/svcauth_des.c: Likewise.
15608 * sunrpc/xdr.c: Likewise.
15609 * sunrpc/xdr_intXX_t.c: Likewise.
15610 * sunrpc/xdr_rec.c: Likewise.
15611 * sysdeps/generic/ldconfig.h: Likewise.
15612 * sysdeps/generic/ldsodefs.h: Likewise.
15613 * sysdeps/generic/memusage.h: Likewise.
15614 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15616 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15617 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15621 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15624 * sysdeps/posix/getaddrinfo.c: Likewise.
15625 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15626 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15627 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15628 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15629 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15630 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15631 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15632 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15633 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15634 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15635 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15636 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15637 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15638 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15639 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15640 * sysdeps/x86_64/dl-tls.h: Likewise.
15641 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15642 * time/alt_digit.c: Likewise.
15643 * time/era.c: Likewise.
15644 * wcsmbs/tst-c16c32-1.c: Likewise.
15646 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15648 * math/libm-test.inc (struct test_sincos_data): New type.
15649 (RUN_TEST_LOOP_sincos): New macro.
15650 (sincos_test_data): New variable.
15651 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15653 2013-05-16 Richard Henderson <rth@redhat.com>
15655 * math/atest-exp2.c (LIMB64): New macro.
15656 (CONSTSZ): New macro.
15657 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15659 (print_mpn_fp): ... to function scope.
15660 (read_mpn_hex): Remove.
15661 (get_log2): Remove.
15662 (exp2_mpn): Use mp_log2.
15663 (main): Use mp_exp1.
15665 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15667 * math/libm-test.inc: Remove comment about not testing "inexact"
15669 (INEXACT_EXCEPTION): New macro.
15670 (NO_INEXACT_EXCEPTION): Likewise.
15671 (INVALID_EXCEPTION_OK): Update value.
15672 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15673 (OVERFLOW_EXCEPTION_OK): Likewise.
15674 (UNDERFLOW_EXCEPTION_OK): Likewise.
15675 (IGNORE_ZERO_INF_SIGN): Likewise.
15676 (ERRNO_UNCHANGED): Likewise.
15677 (ERRNO_EDOM): Likewise.
15678 (ERRNO_ERANGE): Likewise.
15679 (test_exceptions): Handle testing "inexact" exceptions.
15680 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15681 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15682 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15683 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15685 (rint_towardzero_test_data): Likewise.
15686 (rint_downward_test_data): Likewise.
15687 (rint_upward_test_data): Likewise.
15689 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15690 with OVERFLOW_EXCEPTION.
15691 (exp10_test_data): Likewise.
15692 (exp2_test_data): Likewise.
15693 (expm1_test_data): Likewise.
15694 (lgamma_test_data): Likewise.
15695 (pow_test_data): Likewise.
15696 (tgamma_test_data): Likewise.
15697 (yn_test_data): Remove duplicate test of overflow.
15699 * math/libm-test.inc (struct test_cc_c_data): New type.
15700 (RUN_TEST_LOOP_cc_c): New macro.
15701 (cpow_test_data): New variable.
15702 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15704 * math/libm-test.inc (struct test_f_L_data): New type.
15705 (RUN_TEST_LOOP_f_L): New macro.
15706 (llrint_test_data): New variable.
15707 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15708 (llrint_tonearest_test_data): New variable.
15709 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15710 (llrint_towardzero_test_data): New variable.
15711 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15712 (llrint_downward_test_data): New variable.
15713 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15714 (llrint_upward_test_data): New variable.
15715 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15716 (llround_test_data): New variable.
15717 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15719 2013-05-13 Peter Collingbourne <pcc@google.com>
15721 * math/atest-exp2.c (get_log2): Remove const attribute.
15723 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15725 * math/libm-test.inc (struct test_f_l_data): New type.
15726 (RUN_TEST_LOOP_f_l): New macro.
15727 (lrint_test_data): New variable.
15728 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15729 (lrint_tonearest_test_data): New variable.
15730 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15731 (lrint_towardzero_test_data): New variable.
15732 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15733 (lrint_downward_test_data): New variable.
15734 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15735 (lrint_upward_test_data): New variable.
15736 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15737 (lround_test_data): New variable.
15738 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15740 2013-05-15 Peter Collingbourne <pcc@google.com>
15742 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15743 (EXTRACT_WORDS64) Use where appropriate.
15744 (INSERT_WORDS64) Likewise.
15746 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15747 constraints with x constraints.
15748 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15750 * malloc/obstack.c (_obstack_compat): Add initializer.
15752 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15754 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15755 si_trapno and add si_addr_lsb to _sifields.sigfault.
15756 (si_trapno): Remove macro.
15757 (si_addr_lsb): Define new macro.
15758 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15760 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15762 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15763 instead of TEST_f_l.
15764 (llrint_test_tonearest): Likewise.
15765 (llrint_test_towardzero): Likewise.
15766 (llrint_test_downward): Likewise.
15767 (llrint_test_upward): Likewise.
15768 (llround_test): Likewise.
15770 * math/libm-test.inc (struct test_f_i_data): Add comment.
15771 (RUN_TEST_LOOP_f_b): New macro.
15772 (RUN_TEST_LOOP_f_b_tg): Likewise.
15773 (finite_test_data): New variable.
15774 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15775 (isfinite_test_data): New variable.
15776 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15777 (isinf_test_data): New variable.
15778 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15779 (isnan_test_data): New variable.
15780 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15781 (isnormal_test_data): New variable.
15782 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15783 (issignaling_test_data): New variable.
15784 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15785 (signbit_test_data): New variable.
15786 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15788 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15789 with INVALID_EXCEPTION.
15790 (acosh_test_data): Likewise.
15791 (asin_test_data): Likewise.
15792 (atanh_test_data): Likewise.
15793 (fmod_test_data): Likewise.
15794 (log_test_data): Likewise.
15795 (log10_test_data): Likewise.
15796 (log2_test_data): Likewise.
15797 (pow_test_data): Likewise.
15798 (sqrt_test_data): Likewise.
15799 (y0_test_data): Likewise.
15800 (y1_test_data): Likewise.
15801 (yn_test_data): Likewise.
15803 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15806 * math/libm-test.inc (struct test_ff_i_data): New type.
15807 (RUN_TEST_LOOP_ff_i_tg): New macro.
15808 (isgreater_test_data): New variable.
15809 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15810 (isgreaterequal_test_data): New variable.
15811 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15812 (isless_test_data): New variable.
15813 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15814 (islessequal_test_data): New variable.
15815 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15816 (islessgreater_test_data): New variable.
15817 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15818 (isunordered_test_data): New variable.
15819 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15821 2013-05-14 David S. Miller <davem@davemloft.net>
15823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15825 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15827 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15829 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15831 (struct test_f_i_data): Change type of max_ulp to int.
15833 * math/libm-test.inc (test_ffI_f1_data): New type.
15834 (RUN_TEST_LOOP_ffI_f1): New macro.
15835 (remquo_test_data): New variable.
15836 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15838 * setjmp/tst-setjmp-fp.c: New file.
15839 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15840 (link-libm): New variable.
15841 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15843 * math/libm-test.inc (struct test_f_i_data): New type.
15844 (RUN_TEST_LOOP_f_i): New macro.
15845 (RUN_TEST_LOOP_f_i_tg): Likewise.
15846 (fpclassify_test_data): New variable.
15847 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15848 (ilogb_test_data): New variable.
15849 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15851 * math/libm-test.inc (scalbln_test): Correct function name in END
15854 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15855 (RUN_TEST_LOOP_fI_f1): New macro.
15856 (frexp_test_data): New variable.
15857 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15859 * math/libm-test.inc (struct test_fF_f1_data): New type.
15860 (RUN_TEST_LOOP_fF_f1): New macro.
15861 (modf_test_data): New variable.
15862 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15864 * math/libm-test.inc (struct test_f_f1_data): New type.
15865 (RUN_TEST_LOOP_f_f1): New macro.
15866 (gamma_test_data): New variable.
15867 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15868 (lgamma_test_data): New variable.
15869 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15871 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15874 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15875 (main): Comment "tls" pseudo-hwcap.
15877 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15879 * math/libm-test.inc (struct test_fl_f_data): New type.
15880 (RUN_TEST_LOOP_fl_f): New variable.
15881 (scalbln_test_data): New variable.
15882 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15884 * math/libm-test.inc (struct test_fi_f_data): New type.
15885 (RUN_TEST_LOOP_fi_f): New macro.
15886 (ldexp_test_data): New variable.
15887 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15888 (scalbn_test_data): New variable.
15889 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15891 * math/libm-test.inc (struct test_c_f_data): New type.
15892 (RUN_TEST_LOOP_c_f): New macro.
15893 (cabs_test_data): New variable.
15894 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15895 (carg_test_data): New variable.
15896 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15897 (cimag_test_data): New variable.
15898 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15899 (creal_test_data): New variable.
15900 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15902 * math/libm-test.inc (struct test_if_f_data): New type.
15903 (RUN_TEST_LOOP_if_f): New macro.
15904 (jn_test_data): New variable.
15905 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15906 (yn_test_data): New variable.
15907 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15909 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15911 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15913 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15914 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15916 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15918 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15919 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15920 (bench-deps): Add bench-timing.h.
15921 * benchtests-bench-skeleton.c: Include bench-timing.h.
15922 (main): Use TIMING_* macros instead of clock_gettime.
15923 * benchtests/bench-timing.h: New file.
15926 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15927 Renamed from _LIB_VERSION.
15928 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15930 2013-05-12 Joseph Myers <joseph@codesourcery.com>
15932 * math/libm-test.inc (struct test_fff_f_data): New type.
15933 (RUN_TEST_LOOP_fff_f): New macro.
15934 (fma_test_data): New variable.
15935 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15936 (fma_towardzero_test_data): New variable.
15937 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15938 (fma_downward_test_data): New variable.
15939 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15940 (fma_upward_test_data): New variable.
15941 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15943 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15944 (struct test_c_c_data): New type.
15945 (RUN_TEST_LOOP_c_c): New macro.
15946 (cacos_test_data): New variable.
15947 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15948 (cacosh_test_data): New variable.
15949 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15950 (casin_test_data): New variable.
15951 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15952 (casinh_test_data): New variable.
15953 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15954 (catan_test_data): New variable.
15955 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15956 (catanh_test_data): New variable.
15957 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15958 (ccos_test_data): New variable.
15959 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15960 (ccosh_test_data): New variable.
15961 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15962 (cexp_test_data): New variable.
15963 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15964 (clog_test_data): New variable.
15965 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15966 (clog10_test_data): New variable.
15967 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15968 (conj_test_data): New variable.
15969 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15970 (cproj_test_data): New variable.
15971 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15972 (csin_test_data): New variable.
15973 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15974 (csinh_test_data): New variable.
15975 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15976 (csqrt_test_data): New variable.
15977 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15978 (ctan_test_data): New variable.
15979 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15980 (ctan_tonearest_test_data): New variable.
15981 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15982 (ctan_towardzero_test_data): New variable.
15983 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15984 (ctan_downward_test_data): New variable.
15985 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15986 (ctan_upward_test_data): New variable.
15987 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15988 (ctanh_test_data): New variable.
15989 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15990 (ctanh_tonearest_test_data): New variable.
15991 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15992 (ctanh_towardzero_test_data): New variable.
15993 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15994 (ctanh_downward_test_data): New variable.
15995 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15996 (ctanh_upward_test_data): New variable.
15997 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15998 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16001 * math/libm-test.inc (struct test_ff_f_data): New type.
16002 (struct test_ff_f_data_nexttoward): Likewise.
16003 (RUN_TEST_LOOP_2_f): New macro.
16004 (RUN_TEST_LOOP_ff_f): Likewise.
16005 (atan2_test_data): New variable.
16006 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16007 (copysign_test_data): New variable.
16008 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16009 (fdim_test_data): New variable.
16010 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16011 (fmax_test_data): New variable.
16012 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16013 (fmin_test_data): New variable.
16014 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16015 (fmod_test_data): New variable.
16016 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16017 (hypot_test_data): New variable.
16018 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16019 (nextafter_test_data): New variable.
16020 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16021 (nexttoward_test_data): New variable.
16022 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16023 (pow_test_data): New variable.
16024 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16025 (pow_tonearest_test_data): New variable.
16026 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16027 (pow_towardzero_test_data): New variable.
16028 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16029 (pow_downward_test_data): New variable.
16030 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16031 (pow_upward_test_data): New variable.
16032 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16033 (remainder_test_data): New variable.
16034 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16035 (scalb_test_data): New variable.
16036 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16037 * sysdeps/i386/fpu/libm-test-ulps: Update.
16039 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16041 * math/libm-test.inc (fma_test): Use max_value instead of local
16043 (nextafter_test): Likewise.
16045 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16046 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16047 (acos_downward_test_data): New variable.
16048 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16049 (acos_upward_test_data): New variable.
16050 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16051 (acosh_test_data): New variable.
16052 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16053 (asin_test_data): New variable.
16054 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16055 (asin_tonearest_test_data): New variable.
16056 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16057 (asin_towardzero_test_data): New variable.
16058 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16059 (asin_downward_test_data): New variable.
16060 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16061 (asin_upward_test_data): New variable.
16062 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16063 (asinh_test_data): New variable.
16064 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16065 (atan_test_data): New variable.
16066 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16067 (atanh_test_data): New variable.
16068 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16069 (cbrt_test_data): New variable.
16070 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16071 (ceil_test_data): New variable.
16072 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16073 (cos_test_data): New variable.
16074 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16075 (cos_tonearest_test_data): New variable.
16076 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16077 (cos_towardzero_test_data): New variable.
16078 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16079 (cos_downward_test_data): New variable.
16080 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16081 (cos_upward_test_data): New variable.
16082 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16083 (cosh_test_data): New variable.
16084 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16085 (cosh_tonearest_test_data): New variable.
16086 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16087 (cosh_towardzero_test_data): New variable.
16088 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16089 (cosh_downward_test_data): New variable.
16090 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16091 (cosh_upward_test_data): New variable.
16092 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16093 (erf_test_data): New variable.
16094 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16095 (erfc_test_data): New variable.
16096 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16097 (exp_test_data): New variable.
16098 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16099 (exp_tonearest_test_data): New variable.
16100 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16101 (exp_towardzero_test_data): New variable.
16102 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16103 (exp_downward_test_data): New variable.
16104 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16105 (exp_upward_test_data): New variable.
16106 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16107 (exp10_test_data): New variable.
16108 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16109 (exp2_test_data): New variable.
16110 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16111 (expm1_test_data): New variable.
16112 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16113 (fabs_test_data): New variable.
16114 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16115 (floor_test_data): New variable.
16116 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16117 (j0_test_data): New variable.
16118 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16119 (j1_test_data): New variable.
16120 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16121 (log_test_data): New variable.
16122 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16123 (log10_test_data): New variable.
16124 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16125 (log1p_test_data): New variable.
16126 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16127 (log2_test_data): New variable.
16128 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16129 (logb_test_data): New variable.
16130 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16131 (logb_downward_test_data): New variable.
16132 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16133 (nearbyint_test_data): New variable.
16134 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16135 (rint_test_data): New variable.
16136 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16137 (rint_tonearest_test_data): New variable.
16138 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16139 (rint_towardzero_test_data): New variable.
16140 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16141 (rint_downward_test_data): New variable.
16142 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16143 (rint_upward_test_data): New variable.
16144 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16145 (round_test_data): New variable.
16146 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16147 (sin_test_data): New variable.
16148 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16149 (sin_tonearest_test_data): New variable.
16150 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16151 (sin_towardzero_test_data): New variable.
16152 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16153 (sin_downward_test_data): New variable.
16154 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16155 (sin_upward_test_data): New variable.
16156 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16157 (sinh_test_data): New variable.
16158 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16159 (sinh_tonearest_test_data): New variable.
16160 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16161 (sinh_towardzero_test_data): New variable.
16162 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16163 (sinh_downward_test_data): New variable.
16164 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16165 (sinh_upward_test_data): New variable.
16166 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16167 (sqrt_test_data): New variable.
16168 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16169 (tan_test_data): New variable.
16170 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16171 (tan_tonearest_test_data): New variable.
16172 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16173 (tan_towardzero_test_data): New variable.
16174 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16175 (tan_downward_test_data): New variable.
16176 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16177 (tan_upward_test_data): New variable.
16178 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16179 (tanh_test_data): New variable.
16180 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16181 (tgamma_test_data): New variable.
16182 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16183 (trunc_test_data): New variable.
16184 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16185 (y0_test_data): New variable.
16186 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16187 (y1_test_data): New variable.
16188 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16189 (significand_test_data): New variable.
16190 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16192 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16195 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16197 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16199 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16201 2013-05-10 Andreas Jaeger <aj@suse.de>
16204 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16205 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16207 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16209 * math/gen-libm-test.pl (adjust_arg): New function.
16210 (special_functions): Handle generating output in both functions
16212 (parse_args): Likewise.
16213 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16214 $in_func argument to parse_args.
16215 * math/libm-test.inc (struct test_f_f_data): New type.
16216 (IF_ROUND_INIT_): New macro.
16217 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16218 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16219 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16220 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16221 (ROUND_RESTORE_): Likewise.
16222 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16223 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16224 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16225 (ROUND_RESTORE_FE_UPWARD): Likewise.
16226 (RUN_TEST_LOOP_f_f): New macro.
16227 (acos_test_data): New variable.
16228 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16229 (acos_tonearest_test_data): New variable.
16230 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16232 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16234 * benchtests/bench-skeleton.c (startup): Fix coding style.
16236 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16239 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16240 negative infinity argument.
16241 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16242 negative infinity argument.
16243 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16244 negative infinity argument.
16245 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16248 2013-05-10 Florian Weimer <fweimer@redhat.com>
16250 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16251 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16252 * iconv/iconv_prog.c (main): Likewise.
16253 * locale/programs/charmap-dir.c (charmap_readdir)
16254 (fopen_uncompressed): Likewise.
16255 * locale/programs/locfile.c (siblings_uncached)
16256 (write_locale_data): Use lstat64 instead of lstat.
16257 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16260 2013-05-10 Andreas Jaeger <aj@suse.de>
16263 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16265 Include <locale.h>.
16267 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16269 * elf/dl-close.c (_dl_close_worker): Add comments.
16271 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16276 (__ieee754_rem_pio2l): Update comments.
16279 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16281 (__ieee754_rem_pio2l): Update comments.
16283 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16284 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16286 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16289 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16290 (M_PI_34_LOG10El): Likewise.
16291 (M_PI2_LOG10El): Likewise.
16292 (M_PI4_LOG10El): Likewise.
16293 (M_PI_LOG10El): Likewise.
16295 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16299 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16301 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16302 (MINUS_ZERO_INIT): Likewise.
16303 (PLUS_INFTY_INIT): Likewise.
16304 (MINUS_INFTY_INIT): Likewise.
16305 (QNAN_VALUE_INIT): Likewise.
16306 (MAX_VALUE_INIT): Likewise.
16307 (MIN_VALUE_INIT): Likewise.
16308 (MIN_SUBNORM_VALUE_INIT): Likewise.
16309 (plus_zero): Initialize with PLUS_ZERO_INIT.
16310 (minus_zero): Initialize with MINUS_ZERO_INIT.
16311 (plus_infty): Initialize with PLUS_INFTY_INIT.
16312 (minus_infty): Initialize with MINUS_INFTY_INIT.
16313 (qnan_value): Initialize with QNAN_VALUE_INIT.
16314 (max_value): Initialize with MAX_VALUE_INIT.
16315 (min_value): Initialize with MIN_VALUE_INIT.
16316 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16318 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16319 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16320 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16321 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16323 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16324 (RUN_TEST_2_f): Likewise.
16325 (RUN_TEST_ff_f): Likewise.
16326 (RUN_TEST_fi_f): Likewise.
16327 (RUN_TEST_fl_f): Likewise.
16328 (RUN_TEST_fff_f): Likewise.
16329 (RUN_TEST_c_f): Likewise.
16330 (RUN_TEST_f_f1): Likewise.
16331 (RUN_TEST_fF_f1): Likewise.
16332 (RUN_TEST_fI_f1): Likewise.
16333 (RUN_TEST_ffI_f1): Likewise.
16334 (RUN_TEST_c_c): Likewise.
16335 (RUN_TEST_cc_c): Likewise.
16336 (RUN_TEST_f_i): Likewise.
16337 (RUN_TEST_f_i_tg): Likewise.
16338 (RUN_TEST_ff_i_tg): Likewise.
16339 (RUN_TEST_f_b): Likewise.
16340 (RUN_TEST_f_b_tg): Likewise.
16341 (RUN_TEST_f_l): Likewise.
16342 (RUN_TEST_f_L): Likewise.
16343 (RUN_TEST_sincos): Likewise.
16344 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16345 whether to show exceptions. Do not include ");\n" in return
16347 (special_functions): Output call to RUN_TEST_sincos instead of
16348 check_float calls. Update calls to new_test.
16349 (parse_args): Output call to single RUN_TEST_* macro instead of
16350 check_* calls and other assignments. Update calls to new_test.
16356 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16357 input to result for tgamma overflow.
16358 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16359 (gamma_coeff): New variable.
16360 (NCOEFF): New macro.
16361 (gamma_positive): New function.
16362 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16363 underflow here. Use gamma_positive instead of exp (lgamma) for
16365 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16366 (gamma_coeff): New variable.
16367 (NCOEFF): New macro.
16368 (gammaf_positive): New function.
16369 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16370 underflow here. Use gamma_positive instead of exp (lgamma) for
16372 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16373 (gamma_coeff): New variable.
16374 (NCOEFF): New macro.
16375 (gammal_positive): New function.
16376 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16377 underflow here. Use gamma_positive instead of exp (lgamma) for
16379 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16380 (gamma_coeff): New variable.
16381 (NCOEFF): New macro.
16382 (gammal_positive): New function.
16383 (__ieee754_gammal_r): Handle positive infinity, overflow and
16384 underflow here. Handle NaN the same as positive infinity. Remove
16385 check x < 0xffffffff for negative integers. Use gamma_positive
16386 instead of exp (lgamma) for other arguments.
16387 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16388 (gamma_coeff): New variable.
16389 (NCOEFF): New macro.
16390 (gammal_positive): New function.
16391 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16392 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16397 * sysdeps/generic/math_private.h (__gamma_productf): New
16399 (__gamma_product): Likewise.
16400 (__gamma_productl): Likewise.
16401 * math/Makefile (libm-calls): Add gamma_product.
16402 * math/libm-test.inc (tgamma_test): Add more tests.
16403 * sysdeps/i386/fpu/libm-test-ulps: Update.
16404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16406 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16408 * benchtests/bench-skeleton.c (main): Preheat CPU.
16410 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16412 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16414 2013-05-07 Roland McGrath <roland@hack.frob.com>
16416 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16417 and _dl_skip_args_internal.
16419 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16421 * manual/message.texi (Message Translation): Talk about users.
16422 Message to key mapping impacts design.
16424 2013-05-06 Roland McGrath <roland@hack.frob.com>
16426 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16428 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16430 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16431 * sysdeps/wordsize-64/glob64.c: ... here.
16433 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16434 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16437 * debug/getlogin_r_chk.c: Moved to ...
16438 * login/getlogin_r_chk.c: ... here.
16439 * debug/Makefile (routines): Move getlogin_r_chk to ...
16440 * login/Makefile (routines): ... here.
16441 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16442 * login/Versions (libc: GLIBC_2.4): ... here.
16444 * io/poll.c (__poll): Renamed from poll.
16445 Add libc_hidden_def.
16446 (poll): Define as weak alias.
16448 * debug/ptsname_r_chk.c: Moved to ...
16449 * login/ptsname_r_chk.c: ... here.
16450 * debug/Makefile (routines): Move ptsname_r_chk to ...
16451 * login/Makefile (routines): ... here.
16452 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16453 * login/Versions (libc: GLIBC_2.4): ... here.
16455 * posix/getlogin.c: Moved to ...
16456 * login/getlogin.c: ... here.
16457 * posix/getlogin_r.c: Moved to ...
16458 * login/getlogin_r.c: ... here.
16459 * posix/getlogin_r.c: Moved to ...
16460 * login/getlogin_r.c: ... here.
16461 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16462 * login/Makefile (routines): ... here.
16463 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16464 * login/Versions (libc: GLIBC_2.0): ... here.
16466 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16467 (setrlimit): Define as weak alias.
16469 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16470 Call __ names for open, ftruncate, and close.
16471 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16472 (truncate): Define as weak alias.
16474 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16476 * math/gen-libm-test.pl (parse_args): Initialize x before each
16477 test of frexp, modf and remquo.
16479 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16480 test signgam value.
16482 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16486 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16488 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16490 2013-05-06 Roland McGrath <roland@hack.frob.com>
16492 * elf/dl-writev.h: New file.
16493 * elf/dl-misc.c: Include it.
16494 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16495 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16497 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16499 * math/libm-test.inc (noXFails): Remove variable.
16500 (noXPasses): Likewise.
16501 (BUILD_COMPLEX_INT): Remove macro.
16502 (print_screen): Remove xfail argument.
16503 (print_screen_max_error): Likewise.
16504 (update_stats): Likewise.
16505 (print_max_error): Likewise. Update calls to other affected
16507 (print_complex_max_error): Likewise.
16508 (test_single_exception): Update calls to print_screen.
16509 (test_single_errno): Likewise.
16510 (check_float_internal): Remove xfail argument. Update calls to
16511 other affected functions.
16512 (check_float): Likewise.
16513 (check_complex): Likewise.
16514 (check_int): Likewise.
16515 (check_long): Likewise.
16516 (check_bool): Likewise.
16517 (check_longlong): Likewise.
16518 (main): Don't print noXFails and noXPasses.
16519 * math/gen-libm-test.pl (top level): Don't mention expected
16520 failure handling in comment.
16521 (new_test): Don't handle expected failures.
16522 (parse_args): Don't mention expected failure handling in comment.
16523 (generate_testfile): Don't handle expected failures.
16524 (parse_ulps): Likewise.
16525 (print_ulps_file): Likewise.
16526 (get_failure): Remove function.
16527 (output_test): Don't handle expected failures.
16528 * make/README.libm-test: Don't mention expected failure handling.
16530 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16531 (minus_zero): Likewise.
16532 (plus_infty): Likewise.
16533 (minus_infty): Likewise.
16534 (qnan_value): Likewise.
16535 (max_value): Likewise.
16536 (min_value): Likewise.
16537 (min_subnorm_value): Likewise.
16538 (initialize): Do not initialize those variables dynamically.
16540 2013-05-03 Roland McGrath <roland@hack.frob.com>
16542 * io/open.c (__open_2): Moved to ...
16543 * io/open_2.c: ... this new file.
16544 * io/open64.c (__open64_2): Moved to ...
16545 * io/open64_2.c: ... this new file.
16546 * io/openat.c (__openat_2): Moved to ...
16547 * io/openat_2.c: ... this new file.
16548 * io/openat64.c (__openat64_2): Moved to ...
16549 * io/openat64_2.c: ... this new file.
16550 * io/Makefile (routines): Add them.
16551 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16552 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16553 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16554 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16555 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16556 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16557 (__openat64): Add hidden_ver.
16558 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16559 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16561 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16562 Separately conditionalize setting of GLRO(dl_sysinfo) so
16563 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16564 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16566 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16568 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16569 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16571 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16572 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16573 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16574 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16575 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16577 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16579 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16580 test signgam value.
16582 * math/libm-test.inc (hypot_test): Do not use
16583 IGNORE_ZERO_INF_SIGN.
16585 2013-05-03 Andreas Jaeger <aj@suse.de>
16587 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16589 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16590 (PF_MAX): Adjust for VSOCK change.
16592 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16596 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16599 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16600 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16601 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16603 2013-05-02 David S. Miller <davem@davemloft.net>
16605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16607 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16609 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16611 2013-05-01 Roland McGrath <roland@hack.frob.com>
16613 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16615 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16618 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16619 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16620 Use __attribute__ ((__gnu_inline__)).
16621 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16622 Don't use __attribute__ ((__gnu_inline__)).
16624 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16627 * math/s_catan.c (__catan): Handle small real or imaginary part of
16628 input specially to avoid spurious underflow.
16629 * math/s_catanf.c (__catanf): Likewise.
16630 * math/s_catanh.c (__catanh): Likewise.
16631 * math/s_catanhf.c (__catanhf): Likewise.
16632 * math/s_catanhl.c (__catanhl): Likewise.
16633 * math/s_catanl.c (__catanl): Likewise.
16634 * math/libm-test.inc (catan_test): Add more tests.
16635 (catanh_test): Likewise.
16636 * sysdeps/i386/fpu/libm-test-ulps: Update.
16637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16639 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16643 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16646 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16647 accurately for denominator in atan2.
16648 * math/s_catanf.c (__catanf): Likewise.
16649 * math/s_catanh.c (__catanh): Likewise.
16650 * math/s_catanhf.c (__catanhf): Likewise.
16651 * math/s_catanhl.c (__catanhl): Likewise.
16652 * math/s_catanl.c (__catanl): Likewise.
16653 * math/libm-test.inc (catan_test): Add more tests.
16654 (catanh_test): Likewise.
16655 * sysdeps/i386/fpu/libm-test-ulps: Update.
16656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16658 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16660 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16662 * benchtests/Makefile (bench): Remove slow benchmarks.
16663 * benchtests/atan-inputs: Add slow benchmark inputs.
16664 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16665 (BENCH_FUNC): Accept variant offset.
16667 * benchtests/bench-skeleton.c (main): Run benchmark for each
16669 * benchtests/cos-inputs: Add slow benchmark inputs.
16670 * benchtests/exp-inputs: Likewise.
16671 * benchtests/pow-inputs: Likewise.
16672 * benchtests/sin-inputs: Likewise.
16673 * benchtests/slowatan-inputs: Remove.
16674 * benchtests/slowatan.c: Remove.
16675 * benchtests/slowcos-inputs: Remove.
16676 * benchtests/slowcos.c: Remove.
16677 * benchtests/slowexp-inputs: Remove.
16678 * benchtests/slowexp.c: Remove.
16679 * benchtests/slowpow-inputs: Remove.
16680 * benchtests/slowpow.c: Remove.
16681 * benchtests/slowsin-inputs: Remove.
16682 * benchtests/slowsin.c: Remove.
16683 * benchtests/slowtan-inputs: Remove.
16684 * benchtests/slowtan.c: Remove.
16685 * benchtests/tan-inputs: Add slow benchmark inputs.
16686 * scripts/bench.pl: Parse comments and directives.
16688 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16690 ($(objpfx)bench-%.c): Remove *-ITER.
16691 * benchtests/bench-modf.c: Remove definition of ITER.
16692 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16693 (main): Loop for DURATION seconds instead of fixed number of
16695 * scripts/bench.pl: Don't expect iterations in parameters.
16697 2013-04-29 Roland McGrath <roland@hack.frob.com>
16699 * io/fchdir.c (__fchdir): Renamed from fchdir.
16700 (fchdir): Define as weak alias.
16702 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16704 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16705 (ERRNO_EDOM): Likewise.
16706 (ERRNO_ERANGE): Likewise.
16707 (noErrnoTests): New variable.
16708 (init_max_error): Set errno to 0.
16709 (test_single_errno): New function.
16710 (test_errno): Likewise.
16711 (check_float_internal): Call test_errno. Set errno to 0.
16712 (check_complex): Refer to errno tests in comment.
16713 (check_int): Call test_errno. Set errno to 0.
16714 (check_long): Likewise.
16715 (check_bool): Likewise.
16716 (check_longlong): Likewise.
16717 (cos_test): Use ERRNO_* flags for errno tests instead of
16719 (expm1_test): Likewise.
16720 (fmod_test): Likewise.
16721 (ilogb_test): Likewise.
16722 (lgamma_test): Likewise.
16723 (pow_test): Likewise.
16724 (remainder_test): Likewise.
16725 (sin_test): Likewise.
16726 (tan_test): Likewise.
16727 (yn_test): Likewise.
16728 (initialize): Set errno to 0.
16729 (main): Print number of errno tests.
16730 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16732 2013-04-29 Andreas Jaeger <aj@suse.de>
16735 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16739 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16740 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16744 * stdlib/random.c (__initstate): Return NULL if
16748 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16749 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16752 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16756 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16758 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16759 of individual tests.
16760 (casin_test): Likewise.
16761 (casinh_test): Likewise.
16763 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16766 * math/s_catan.c (__catan): Handle arguments with large real or
16767 imaginary part separately without squaring.
16768 * math/s_catanf.c (__catanf): Likewise.
16769 * math/s_catanh.c (__catanh): Likewise.
16770 * math/s_catanhf.c (__catanhf): Likewise.
16771 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16773 (__catanhl): Handle arguments with large real or imaginary part
16774 separately without squaring.
16775 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16777 (__catanl): Handle arguments with large real or imaginary part
16778 separately without squaring.
16779 * math/libm-test.inc (catan_test): Add more tests.
16780 (catanh_test): Likewise.
16781 * sysdeps/i386/fpu/libm-test-ulps: Update.
16782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16784 2013-04-27 Andreas Jaeger <aj@suse.de>
16787 * stdlib/stdlib.h: Update guards for qecvt.
16788 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16791 2013-04-27 Allan McRae <allan@archlinux.org>
16793 * sysdeps/i386/fpu/libm-test-ulps: Update.
16795 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16798 * math/s_catan.c: Include <float.h>.
16799 (__catan): Ensure underflow exception occurs for underflowed
16801 * math/s_catanf.c: Include <float.h>.
16802 (__catanf): Ensure underflow exception occurs for underflowed
16804 * math/s_catanh.c: Include <float.h>.
16805 (__catanh): Ensure underflow exception occurs for underflowed
16807 * math/s_catanhf.c: Include <float.h>.
16808 (__catanhf): Ensure underflow exception occurs for underflowed
16810 * math/s_catanhl.c: Include <float.h>.
16811 (__catanhl): Ensure underflow exception occurs for underflowed
16813 * math/s_catanl.c: Include <float.h>.
16814 (__catanl): Ensure underflow exception occurs for underflowed
16816 * math/libm-test.inc (catan_test): Add more tests.
16817 (catanh_test): Likewise.
16820 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16821 underflowed result.
16822 * math/s_ccoshf.c (__ccoshf): Likewise.
16823 * math/s_ccoshl.c (__ccoshl): Likewise.
16824 * math/s_csin.c (__csin): Likewise.
16825 * math/s_csinf.c (__csinf): Likewise.
16826 * math/s_csinh.c (__csinh): Likewise.
16827 * math/s_csinhf.c (__csinhf): Likewise.
16828 * math/s_csinhl.c (__csinhl): Likewise.
16829 * math/s_csinl.c (__csinl): Likewise.
16830 * math/libm-test.inc (ccos_test): Add more tests.
16831 (ccosh_test): Likewise.
16832 (csin_test): Likewise.
16833 (csinh_test): Likewise.
16835 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16837 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16838 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16839 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16840 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16841 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16842 powerpc/power5+/fpu folders.
16843 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16846 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16850 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16852 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16853 additions to variable.
16854 [$(config-machine) = x86_64] (modules-names): Likewise.
16855 ($(objpfx)tst-audit3): Remove dependency.
16856 ($(objpfx)tst-audit3.out): Likewise.
16857 ($(objpfx)tst-audit4): Likewise.
16858 ($(objpfx)tst-audit4.out): Likewise.
16859 ($(objpfx)tst-audit5): Likewise.
16860 ($(objpfx)tst-audit5.out): Likewise.
16861 ($(objpfx)tst-audit6): Likewise.
16862 ($(objpfx)tst-audit6.out): Likewise.
16863 ($(objpfx)tst-audit7): Likewise.
16864 ($(objpfx)tst-audit7.out): Likewise.
16865 (tst-audit3-ENV): Remove variable.
16866 (tst-audit4-ENV): Likewise.
16867 (tst-audit5-ENV): Likewise.
16868 (tst-audit6-ENV): Likewise.
16869 (tst-audit7-ENV): Likewise.
16870 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16871 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16872 addition to variable.
16873 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16874 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16875 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16876 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16877 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16878 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16879 tst-audit3, tst-audit4 and tst-audit5.
16880 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16881 tst-audit6 and tst-audit7.
16882 [$(subdir) = elf] (modules-names): Add audit modules for those
16884 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16885 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16886 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16887 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16888 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16889 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16890 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16891 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16892 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16893 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16894 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16895 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16896 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16897 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16898 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16899 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16901 [$(subdir) = elf && $(config-cflags-avx) = yes]
16902 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16903 [$(subdir) = elf && $(config-cflags-avx) = yes]
16904 (CFLAGS-tst-auditmod4a.c): Likewise.
16905 [$(subdir) = elf && $(config-cflags-avx) = yes]
16906 (CFLAGS-tst-auditmod4b.c): Likewise.
16907 [$(subdir) = elf && $(config-cflags-avx) = yes]
16908 (CFLAGS-tst-auditmod6b.c): Likewise.
16909 [$(subdir) = elf && $(config-cflags-avx) = yes]
16910 (CFLAGS-tst-auditmod6c.c): Likewise.
16911 [$(subdir) = elf && $(config-cflags-avx) = yes]
16912 (CFLAGS-tst-auditmod7b.c): Likewise.
16913 * elf/tst-audit3.c: Move to ...
16914 * sysdeps/x86_64/tst-audit3.c: ... here.
16915 * elf/tst-audit4.c: Move to ...
16916 * sysdeps/x86_64/tst-audit4.c: ... here.
16917 * elf/tst-audit5.c: Move to ...
16918 * sysdeps/x86_64/tst-audit5.c: ... here.
16919 * elf/tst-audit6.c: Move to ...
16920 * sysdeps/x86_64/tst-audit6.c: ... here.
16921 * elf/tst-audit7.c: Move to ...
16922 * sysdeps/x86_64/tst-audit7.c: ... here.
16923 * elf/tst-auditmod3a.c: Move to ...
16924 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16925 * elf/tst-auditmod3b.c: Move to ...
16926 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16927 * elf/tst-auditmod4a.c: Move to ...
16928 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16929 * elf/tst-auditmod4b.c: Move to ...
16930 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16931 * elf/tst-auditmod5a.c: Move to ...
16932 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16933 * elf/tst-auditmod5b.c: Move to ...
16934 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16935 * elf/tst-auditmod6a.c: Move to ...
16936 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16937 * elf/tst-auditmod6b.c: Move to ...
16938 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16939 * elf/tst-auditmod6c.c: Move to ...
16940 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16941 * elf/tst-auditmod7a.c: Move to ...
16942 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16943 * elf/tst-auditmod7b.c: Move to ...
16944 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16946 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16949 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16950 define unconditionally.
16951 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16952 define unconditionally.
16953 (INT8_C, INT16_C, etc.): Likewise.
16955 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16957 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16958 __ehdr_start with hidden visibility.
16960 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16962 2013-04-24 Carlos O'Donell <carlos@redhat.com>
16964 * math/libm-test.inc (cos_test): Use accurate hex constants.
16965 (sincost_test): Likewise.
16967 2013-04-24 Joseph Myers <joseph@codesourcery.com>
16969 * math/libm-test.inc (catan_test): Add more tests.
16970 (catanh_test): Likewise.
16972 * math/s_catanf.c (__catanf): Use suffixed floating-point
16974 * math/s_catanhf.c (__catanhf): Likewise.
16975 * math/s_catanhl.c (__catanhl): Likewise.
16976 * math/s_catanl.c (__catanl): Likewise.
16979 * math/s_catan.c (__catan): Calculate imaginary part of result
16980 with log1p not log unless computing log of number close to 0.
16981 * math/s_catanf.c (__catanf): Likewise.
16982 * math/s_catanl.c (__catanl): Likewise.
16983 * math/s_catanh.c (__catanh): Calculate real part of result with
16984 log1p not log unless computing log of number close to 0.
16985 * math/s_catanhf.c (__catanhf): Likewise.
16986 * math/s_catanhl.c (__catanhl): Likewise.
16987 * math/libm-test.inc (catan_test): Add more tests.
16988 (catanh_test): Likewise.
16989 * sysdeps/i386/fpu/libm-test-ulps: Update.
16990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16992 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16994 * benchtests/Makefile: Mention files in which fast and slow
16995 paths of math functions are implemented.
16997 2013-04-23 Roland McGrath <roland@hack.frob.com>
16999 * sysdeps/posix/timespec_get.c: New file.
17001 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17003 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17005 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17007 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17008 powerpc/power5/fpu folders.
17009 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17010 * benchtests/Makefile: Add modf testcase.
17011 * benchtests/bench-modf.c: New file: Benchmark test for mo
17013 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17016 * time/Makefile (tests): Add tst-strptime-whitespace.
17017 * time/strptime_l.c (get_number): Use ISSPACE.
17018 (__strptime_internal): Likewise.
17019 * time/tst-strptime-whitespace.c: New test case.
17021 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17023 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17025 (_nss_files_init): Set it here.
17027 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17029 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17030 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17033 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17035 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17037 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17039 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17042 2013-04-21 David S. Miller <davem@davemloft.net>
17044 * po/ru.po: Update Russion translation from translation project.
17046 2013-04-17 Adam Conrad <adconrad@0c3.net>
17048 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17051 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17053 * configure.in: Remove i386 configure warning. Remove i386 case.
17054 * configure: Regenerate.
17055 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17056 Add example to error message.
17057 * sysdeps/i386/configure: Regenerate.
17059 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17061 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17063 * benchtests/cos-inputs: New file.
17064 * benchtests/slowcos-inputs: New file.
17065 * benchtests/slowcos.c: New file.
17066 * benchtests/slowtan-inputs: New file.
17067 * benchtests/slowtan.c: New file.
17068 * benchtests/tan-inputs: New file.
17070 2013-04-16 Roland McGrath <roland@hack.frob.com>
17072 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17075 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17077 * benchtests/Makefile: Include cppflags-iterator.mk to add
17078 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17080 * Makefile.in (bench-clean): New target.
17081 * benchtests/Makefile (bench-clean): Likewise.
17083 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17085 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17087 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17089 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17091 2013-04-15 Andreas Schwab <schwab@suse.de>
17093 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17095 * nscd/pwdcache.c (cache_addpw): Likewise.
17096 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17099 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17101 * benchtests/Makefile (bench): Write all output to
17102 bench-out.tmp together.
17104 2013-04-15 Andreas Schwab <schwab@suse.de>
17106 * nscd/nscd.c (main): Don't fork again after closing files.
17108 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17110 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17112 * benchtests/Rules (bench-deps): Collect dependencies into a
17113 single variable. Add Makefile to dependencies.
17114 ($(objpfx)bench-%.c): Depend on bench-deps.
17116 2013-04-12 Roland McGrath <roland@hack.frob.com>
17117 Xavier Roche <roche+kml2@exalead.com>
17120 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17121 just that it's a file descriptor.
17122 * manual/llio.texi (Synchronizing AIO Operations): Update description
17123 for EBADF error from aio_fsync.
17125 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17127 * Rules (bench): Move target definition...
17128 * benchtests/Makefile: ... here.
17130 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17132 * math/libm-test.inc (cos_test): Fix PI/2 test.
17133 (sincos_test): Likewise.
17134 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17135 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17137 2013-04-11 Andreas Schwab <schwab@suse.de>
17140 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17141 accept exponent character only when digits were seen.
17142 * stdio-common/Makefile (tests): Add bug26.
17143 * stdio-common/bug26.c: New file.
17146 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17149 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17151 * Makeconfig (rtld-prefix): Define built linker prefix.
17152 * Rules (run-bench): Use it.
17153 * math/Makefile (run-regen-ulps): Likewise.
17155 * Rules (bench): Remove eval.
17157 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17158 Roland McGrath <roland@hack.frob.com>
17159 Ondrej Bilka <neleai@seznam.cz>
17162 * time/getdate.c: Include ctype.h and alloca.h.
17163 (__getdate_r): Trim leading and trailing spaces of input.
17164 * time/tst-getdate.c (tests): Add tests with leading and
17167 2013-04-08 Roland McGrath <roland@hack.frob.com>
17170 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17171 when computing value.
17173 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17175 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17176 Use testrun.sh to run libm tests.
17179 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17181 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17184 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17186 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17188 * Makefile.in (regen-ulps): New target.
17189 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17190 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17191 [ifneq (no,$(PERL)] (regen-ulps): New target.
17192 [ifeq (no,$(PERL)] (regen-ulps): New target.
17193 * math/libm-test.inc (ulps_file_name): Define.
17194 (output_dir): New variable.
17195 (options): Add "output-dir" option.
17196 (parse_opt): Handle 'o' case.
17197 (main): If output_dir is non-NULL use it as a prefix
17199 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17201 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17203 [BZ #10060, #10062]
17204 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17205 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17206 fail configure if __sync_val_compare_and_swap is not inlined.
17207 * sysdeps/i386/configure: Regenerate.
17208 * configure.in: Build for i686 when configured for i386.
17209 * configure: Regenerate.
17210 * README: Remove i386 reference.
17212 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17214 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17215 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17217 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17219 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17220 (lmsnanval): New variables.
17221 (F): Add conversion tests.
17222 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17223 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17225 * stdio-common/tstdiomisc.c (F): Properly collect individual
17228 [BZ #14686, #15336]
17229 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17230 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17231 Instead, use input NaN values or generate a qNaN by arithmetic
17232 operation. Also fix bugs to comply with the standard.
17233 * math/libm-test.inc (remainder_test): Add more tests.
17235 [BZ #15335, #15342]
17236 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17238 input NaN values or generate a qNaN by arithmetic operation.
17240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17243 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17246 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17249 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17250 underflowed result.
17251 * math/s_cexpf.c (__cexpf): Likewise.
17252 * math/s_cexpl.c (__cexpl): Likewise.
17253 * math/libm-test.inc (cexp_test): Add more tests.
17255 2013-04-03 Andreas Schwab <schwab@suse.de>
17258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17259 order arrays from heap if bigger than alloca cutoff.
17261 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17263 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17264 (SNAN_TESTS_double): Refer to GCC PR56831.
17265 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17268 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17270 * Rules (bench): Move bench.out after the run is complete.
17272 * Rules (bench): Echo currently running benchmark.
17274 * benchtests/Makefile (bench): Add atan and slowatan.
17275 * benchtests/atan-inputs: New file.
17276 * benchtests/slowatan-inputs: New file.
17277 * benchtests/slowatan.c: New file.
17279 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17280 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17284 * sysdeps/unix/sysv/linux/kernel-features.h
17285 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17286 __ASSUME_XFS_RESTRICTED_CHOWN.
17287 * sysdeps/unix/sysv/linux/pathconf.c
17288 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17289 Save and restore errno.
17291 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17294 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17295 arguments using __kernel_casinh.
17296 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17297 arguments using __kernel_casinhf.
17298 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17299 arguments using __kernel_casinhl.
17300 * math/libm-test.inc (cacosh_test): Add more tests.
17301 * sysdeps/i386/fpu/libm-test-ulps: Update.
17302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17304 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17306 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17309 * bench/Makefile (bench): Add sin and slowsin.
17310 * benchtests/sin-inputs: New file.
17311 * benchtests/slowsin-inputs: New file.
17312 * benchtests/slowsin.c: New file.
17314 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17315 (bench): Add slowexp and slowpow.
17316 (exp-ITER): Increase iterations.
17317 (pow-ITER): Likewise.
17318 * benchtests/exp-inputs: Change input.
17319 * benchtests/pow-inputs: Likewise.
17320 * benchtests/slowexp-inputs: New file.
17321 * benchtests/slowexp.c: New file.
17322 * benchtests/slowpow-inputs: New file.
17323 * benchtests/slowpow.c: New file.
17325 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17327 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17329 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17330 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17331 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17332 * benchtests/Makefile: Add rint benchtest.
17333 * benchtests/rint-inputs: Input for rint benchtest.
17335 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17337 * Versions.def (libm): Add GLIBC_2.18.
17338 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17339 hidden libm prototypes.
17340 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17341 * math/Makefile (libm-calls): Add s_issignaling.
17342 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17343 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17344 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17346 * math/math.h [__USE_GNU] (issignaling): New macro.
17347 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17348 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17350 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17353 * manual/arith.texi (issignaling): New section.
17354 * manual/libm-err-tab.pl (@all_functions): Update comment.
17355 * math/gen-libm-test.pl (parse_args): Apply special handling for
17357 * math/libm-test.inc (print_float, issignaling_test): New
17359 (check_float_internal): Add issignaling checks.
17360 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17361 default definition.
17362 * sysdeps/powerpc/math-tests.h: New file.
17363 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17365 * math/test-snan.c (TEST_FUNC): Likewise.
17367 2013-03-30 David S. Miller <davem@davemloft.net>
17369 * po/de.po: Update from translation team.
17371 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17374 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17375 imaginary part less than 1.0 and real part less than 0.5
17377 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17378 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17379 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17380 (cacos_test): Add more tests.
17381 (casin_test): Likewise.
17382 (casinh_test): Likewise.
17383 * sysdeps/i386/fpu/libm-test-ulps: Update.
17384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17386 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17388 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17389 ONE with its value.
17391 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17392 (__pow_mp): Replace ONE and MONE with their values.
17393 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17394 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17395 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17396 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17397 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17398 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17400 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17402 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17403 (__pow_mp): Replace ZERO and MZERO with their values.
17404 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17405 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17406 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17408 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17409 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17412 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17414 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17416 2013-03-28 Roland McGrath <roland@hack.frob.com>
17418 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17419 Declare with __attribute__ ((weak)).
17420 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17421 Call __call_tls_dtors only if it's not NULL.
17423 2013-03-28 Roland McGrath <roland@hack.frob.com>
17425 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17426 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17427 magic __ehdr_start linker symbol if it's defined.
17428 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17429 them up here if it was already done.
17431 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17432 (_dl_aux_init): Use const in cast when setting it.
17433 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17434 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17435 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17437 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17439 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17440 * csu/libc-tls.c: Nor here.
17441 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17443 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17444 (__libc_message): Never call vsyslog.
17446 2013-03-28 Alan Modra <amodra@gmail.com>
17448 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17450 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17453 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17456 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17460 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17463 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17464 Don't add gid passed as argument.
17466 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17468 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17471 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17472 imaginary part between 1.0 and 1.5 and real part less than 0.5
17474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17476 * math/libm-test.inc (cacos_test): Add more tests.
17477 (casin_test): Likewise.
17478 (casinh_test): Likewise.
17479 * sysdeps/i386/fpu/libm-test-ulps: Update.
17480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17482 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17484 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17487 (denorm): Likewise.
17488 (__dbl_mp): Likewise.
17489 (add_magnitudes): Likewise.
17490 (sub_magnitudes): Likewise.
17498 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17500 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17501 (__dubcos): Likewise.
17502 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17503 (__ieee754_acos): Likewise.
17504 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17505 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17506 (__exp1): Likewise.
17507 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17510 (my_log2): Likewise.
17511 (checkint): Likewise.
17512 * sysdeps/ieee754/dbl-64/e_remainder.c
17513 (__ieee754_remainder): Likewise.
17514 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17516 (bsloww): Likewise.
17517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17519 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17520 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17521 MANTISSA_STORE_T to store computations on mantissa. Use
17522 macros for rounding and division.
17523 (denorm): Likewise.
17524 (__dbl_mp): Likewise.
17525 (add_magnitudes): Likewise.
17526 (sub_magnitudes): Likewise.
17529 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17530 powers of two in terms of TWOPOW macro.
17531 (mp_no): Make type of mantissa as MANTISSA_T.
17532 [!RADIXI]: Define RADIXI.
17533 [!TWO52]: Define TWO52.
17534 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17536 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17538 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17539 llroundl symbol when building for PPC32.
17541 2013-03-24 Mark H Weaver <mhw@netris.org>
17543 * manual/arith.texi (Normalization Functions): Fix prototypes for
17544 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17546 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17550 high value to check if expl overflow.
17551 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17552 to check for underflow and overflow.
17553 * math/libm-test.inc: Add exp test.
17555 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17558 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17561 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17563 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17566 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17568 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17569 wrap blocks consisting of several statements.
17571 * sysdeps/generic/math-tests.h: New file.
17572 * sysdeps/i386/fpu/math-tests.h: Likewise.
17573 * math/test-snan.c: Include it.
17574 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17576 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17579 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17580 (__ieee754_j0l): Do not improve calculations using cos of twice
17581 input for inputs above LDBL_MAX / 2.0L.
17582 (__ieee754_y0l): Likewise.
17583 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17584 (__ieee754_j1l): Do not improve calculations using cos of twice
17585 input for inputs above LDBL_MAX / 2.0L.
17586 (__ieee754_y1l): Likewise.
17587 * math/libm-test.inc (j0_test): Add another test.
17588 (j1_test): Likewise.
17589 (y0_test): Likewise.
17590 (y1_test): Likewise.
17591 * sysdeps/i386/fpu/libm-test-ulps: Update.
17593 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17595 * Rules ($(objpfx)bench-%.c): Include code from a C source
17598 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17601 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17602 imaginary part 1.0 and real part less than 0.5 specially.
17603 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17604 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17605 * math/libm-test.inc (cacos_test): Add more tests.
17606 (casin_test): Likewise.
17607 (casinh_test): Likewise.
17608 * sysdeps/i386/fpu/libm-test-ulps: Update.
17609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17611 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17613 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17614 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17616 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17618 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17619 * config.make.in (config-cflags-sse4): Remove variable.
17620 (config-cflags-avx): Likewise.
17621 (config-cflags-sse2avx): Likewise.
17622 (config-cflags-novzeroupper): Likewise.
17623 (config-asflags-i686): Likewise.
17624 (have-mfma4): Likewise.
17625 (have-as-vis3): Likewise.
17627 * configure.in (MIG): Do not AC_SUBST.
17628 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17629 (libc_cv_cc_sse4): Do not AC_SUBST.
17630 (libc_cv_cc_avx): Likewise.
17631 (libc_cv_cc_sse2avx): Likewise.
17632 (libc_cv_cc_novzeroupper): Likewise.
17633 (libc_cv_cc_fma4): Likewise.
17634 (libc_cv_as_i686): Likewise.
17635 (libc_cv_sparc_as_vis3): Likewise.
17636 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17638 (config-asflags-i686): Likewise.
17639 (config-cflags-avx): Likewise.
17640 (config-cflags-sse2avx): Likewise.
17641 (have-mfma4): Likewise.
17642 (config-cflags-novzeroupper): Likewise.
17643 * sysdeps/mach/configure.in (MIG): Likewise.
17644 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17645 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17647 (config-cflags-avx): Likewise.
17648 (config-cflags-sse2avx): Likewise.
17649 (have-mfma4): Likewise.
17650 (config-cflags-novzeroupper): Likewise.
17651 * configure: Regenerated.
17652 * sysdeps/i386/configure: Likewise.
17653 * sysdeps/mach/configure: Likewise.
17654 * sysdeps/sparc/configure: Likewise.
17655 * sysdeps/x86_64/configure: Likewise.
17657 2013-03-20 Roland McGrath <roland@hack.frob.com>
17660 * locale/programs/localedef.c (options): Put N_ translation marker
17661 on argument names, not just descriptions.
17663 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17665 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17667 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17670 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17672 2013-03-19 Roland McGrath <roland@hack.frob.com>
17674 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17675 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17676 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17677 [!BEFORE_ABORT] (before_abort): New function.
17678 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17679 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17680 (writev_for_fatal): New function.
17681 (WRITEV_FOR_FATAL): New macro; call that.
17682 (backtrace_and_maps): New function.
17683 (BEFORE_ABORT): New macro; call that.
17684 (struct str_list): Type removed.
17685 (__libc_message, __libc_fatal): Functions removed.
17686 Include <sysdeps/posix/libc_fatal.c> instead.
17688 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17690 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17692 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17695 2013-03-19 Andreas Schwab <schwab@suse.de>
17697 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17698 * sysdeps/gnu/configure: Regenerate.
17700 * configure.in: Substitute libc_cv_rtlddir.
17701 * configure: Regenerate.
17702 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17703 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17704 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17705 * elf/Makefile (install-others, CFLAGS-interp.c)
17706 (ldso_install, common-ldd-rewrite): Likewise.
17707 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17708 $(inst_slibdir)/$(rtld-installed-name).
17709 * scripts/rellns-sh: Add -p option.
17710 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17713 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17715 * manual/nptl.texi: Renamed to ...
17716 * manual/threads.texi: ... this.
17717 * manual/Makefile (chapters): Update.
17719 2013-03-18 Roland McGrath <roland@hack.frob.com>
17722 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17723 on argument names, not just descriptions.
17724 * malloc/memusagestat.c (options): Likewise.
17725 * nss/getent.c (options): Likewise.
17727 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17730 * iconv/iconv_prog.c (options): Put N_ translation marker
17731 on argument names, not just descriptions.
17732 * iconv/iconvconfig.c (options): Likewise.
17734 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17736 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17737 implementation which is faster on all x86_64 architectures.
17738 Tested on AMD, Intel Nehalem, SNB, IVB.
17739 * sysdeps/x86_64/strnlen.S: Likewise.
17741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17742 Remove all multiarch strlen and strnlen versions.
17743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17744 Remove strlen and strnlen related parts.
17746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17747 Inline strlen part.
17748 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17750 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17751 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17752 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17753 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17754 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17755 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17757 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17759 * manual/memory.texi (Malloc Tunable Parameters):
17760 Sort parameters alphabetically. Add comments for missing entries.
17762 2013-03-17 David S. Miller <davem@davemloft.net>
17764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17766 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17769 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17770 for arguments at most half maximum finite value.
17771 * math/libm-test.inc (j0_test): Add more tests.
17772 (j1_test): Likewise.
17773 (y0_test): Likewise.
17774 (y1_test): Likewise.
17775 * sysdeps/i386/fpu/libm-test-ulps: Update.
17776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17779 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17780 1 / x and functions P and Q for arguments above 0x1p256L.
17781 (__ieee754_y0l): Likewise.
17782 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17783 (__ieee754_y1l): Likewise.
17784 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17785 (j1_test): Likewise.
17786 (y0_test): Likewise.
17787 (y1_test): Likewise.
17789 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17791 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17794 2013-03-15 Roland McGrath <roland@hack.frob.com>
17796 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17797 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17798 zero since it's initialized to EXEC_PAGESIZE.
17800 * sysdeps/unix/sysv/linux/ldsodefs.h
17801 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17802 * sysdeps/generic/ldsodefs.h: ... here.
17804 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17806 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17808 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17810 * math/test-snan.c: Renamed from
17811 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17812 * math/Makefile (tests): Add test-snan.
17813 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17816 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17817 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17819 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17820 __builtin_nan family of functions.
17821 * math/libm-test.inc (initialize): Initialize qnan_value with
17822 __builtin_nan family of functions.
17823 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17825 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17827 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17828 storage class. Initialize qNaN_var and sNaN_var with
17829 __builtin_nan and __builtin_nans families of functions,
17832 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17833 (sqrt_test): Remove duplicate test with qNaN input.
17834 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17835 (round_test, signbit_test, significand_test): Note missing +/-Inf
17836 as well as qNaN tests.
17838 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17839 qNaN_var. Fix a few strings, too.
17840 * math/libm-test.inc (nan_value): Rename to qnan_value.
17841 * math/gen-libm-test.pl (%beautify): Adjust to that.
17842 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17843 * math/test-misc.c (main): Likewise.
17844 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17845 to __qnan_bytes, and __qnan_union, respectively.
17846 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17848 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17849 and lqnanval, respectively.
17850 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17851 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17852 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17853 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17855 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17856 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17859 * math/test-misc.c (main): Fix copy'n'pastos.
17860 * misc/tst-efgcvt.c (special): Likewise.
17862 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17863 Remove declarations.
17865 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17867 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17868 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17869 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17870 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17872 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17874 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17875 macro to return vdso values correctly in IFUNC implementations.
17876 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17877 Optimization by using IFUNC.
17879 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17880 Richard Henderson <rth@redhat.com>
17881 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17883 * Makefile.in (bench): New target.
17884 * NEWS: Mention the benchmark framework.
17885 * Rules (bench): Likewise.
17886 (binaries-bench): Generate binaries for functions to
17888 * benchtests/Makefile: New makefile for benchmark tests.
17889 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17891 * benchtests/exp-inputs: New input file for EXP function.
17892 * benchtests/pow-inputs: New input file for POW function.
17893 * scripts/bench.pl: New script to generate source files for
17894 benchmark programs.
17896 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17898 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17900 computations on mantissa. Use macros for rounding and
17902 (denorm): Likewise.
17903 (__dbl_mp): Likewise.
17904 (add_magnitudes): Likewise.
17905 (sub_magnitudes): Likewise.
17908 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17909 powers of two in terms of TWOPOW macro.
17910 (mp_no): Make type of mantissa as MANTISSA_T.
17911 [!RADIXI]: Define RADIXI.
17912 [!TWO52]: Define TWO52.
17913 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17915 * manual/nptl.texi (cindex): Modify threads to pthreads.
17917 2013-03-15 Joseph Myers <joseph@codesourcery.com>
17919 * sysdeps/x86_64/preconfigure: Regenerated.
17921 2013-03-14 Joseph Myers <joseph@codesourcery.com>
17924 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17926 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17927 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17929 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17930 * math/libm-test.inc (j0_test): Do not allow one spurious
17931 underflow exception.
17932 (y1_test): Likewise.
17934 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17936 * manual/Makefile (chapters): Add nptl.
17937 * manual/debug.texi (Debugging Support): Add link to Threads
17939 * manual/nptl.texi: New file.
17941 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17943 2013-03-14 Petr Baudis <pasky@ucw.cz>
17945 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17946 for non-NULL pointer before the memory validity test. Pointed
17947 out by Holger Brunck <holger.brunck@keymile.com>.
17949 2013-03-13 Andreas Schwab <schwab@suse.de>
17951 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17954 2013-03-13 Joseph Myers <joseph@codesourcery.com>
17956 * timezone/zic.c: Update from tzcode 2013b.
17958 2013-03-12 Carlos O'Donell <carlos@redhat.com>
17960 * manual/install.texi (Configuring and compiling):
17961 Mention i686 and i586.
17962 * INSTALL: Regenerate.
17964 2013-03-12 Roland McGrath <roland@hack.frob.com>
17966 * sysdeps/init_array/elf-init.c: New file.
17968 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17969 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17971 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17972 __gmon_start__ as global, but as static with a .preinit_array pointer.
17973 * sysdeps/init_array/gmon-start.c: New file. Use that.
17974 * sysdeps/init_array/crti.S: New file, empty except for comments.
17975 * sysdeps/init_array/crtn.S: Likewise.
17977 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
17979 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17982 Remove Prefer_SSE_for_memop.
17983 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17984 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17985 HAS_PREFER_SSE_FOR_MEMOP.
17986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17989 Remove bzero, memset ifunc support.
17990 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17991 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17992 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17993 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17995 2013-03-11 Andreas Schwab <schwab@suse.de>
17998 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18001 (GLIBC_2.16): Remove pthread_atfork.
18003 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18005 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18006 (ptestcases.h): Likewise.
18008 2013-03-08 Roland McGrath <roland@hack.frob.com>
18010 * Makeconfig ($(common-objpfx)config.status): Depend on
18011 sysdeps/*/preconfigure{,.in} too.
18013 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18015 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18016 (__free_hook): Use void * instead of __malloc_ptr_t.
18017 (__malloc_hook): Likewise.
18018 (__realloc_hook): Likewise.
18019 (__memalign_hook): Likewise.
18020 (__after_morecore_hook): Likewise.
18021 * malloc/arena.c (save_malloc_hook): Likewise.
18022 (save_free_hook): Likewise.
18023 * malloc/hooks.c (malloc_hook_ini): Likewise.
18024 (realloc_hook_ini): Likewise.
18025 (memalign_hook_ini): Likewise.
18026 * malloc/malloc.c (malloc_hook_ini): Likewise.
18027 (realloc_hook_ini): Likewise.
18028 (memalign_hook_ini): Likewise.
18029 (__free_hook): Likewise.
18030 (__malloc_hook): Likewise.
18031 (__realloc_hook): Likewise.
18032 (__memalign_hook): Likewise.
18033 (__libc_malloc): Likewise.
18034 (__libc_free): Likewise.
18035 (__libc_realloc): Likewise.
18036 (__libc_memalign): Likewise.
18037 (__libc_valloc): Likewise.
18038 (__libc_pvalloc): Likewise.
18039 (__libc_calloc): Likewise.
18040 (__posix_memalign): Likewise.
18041 * malloc/morecore.c (__sbrk): Likewise.
18042 (__default_morecore): Likewise.
18044 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18046 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18047 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18048 __malloc_ptrdiff_t.
18050 * malloc/malloc.h (__malloc_size_t): Remove macro.
18051 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18053 (old_memalign_hook): Likewise.
18054 (old_realloc_hook): Likewise.
18055 (struct hdr): Likewise.
18057 (mallochook): Likewise.
18058 (memalignhook): Likewise.
18059 (reallochook): Likewise.
18060 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18061 (tr_old_realloc_hook): Likewise.
18062 (tr_old_memalign_hook): Likewise.
18063 (tr_mallochook): Likewise.
18064 (tr_reallochook): Likewise.
18065 (tr_memalignhook): Likewise.
18067 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18069 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18070 default_ldbl_pack and using as default implementation.
18071 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18073 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18074 redundant definition.
18075 (ldbl_insert_mantissa): Likewise.
18076 (ldbl_canonicalize): Likewise.
18077 (ldbl_nearbyint): Likewise.
18078 (ldbl_pack): Rename to ldbl_pack_ppc.
18079 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18080 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18081 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18083 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18086 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18087 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18088 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18090 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18091 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18092 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18094 2013-03-07 Andreas Jaeger <aj@suse.de>
18096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18099 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18101 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18102 Include mpa.h and declare __MPEXP.
18103 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18104 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18105 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18106 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18107 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18108 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18109 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18111 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18112 (__slowpow): Use long double EXPL and LOGL functions to
18114 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18115 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18116 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18117 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18118 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18122 intermediate variable to calculate exponent.
18124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18128 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18129 [!NO__SQR]: Define __sqr.
18130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18131 and NO__SQR. Remove all code except __mul and __sqr. Include
18132 sysdeps/ieee754/dbl-64/mpa.c.
18133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18136 * posix/Makefile (tests): Add tst-pathconf.
18137 * posix/tst-pathconf.c: New test case.
18138 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18140 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18142 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18144 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18146 2013-03-06 Andreas Jaeger <aj@suse.de>
18148 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18149 definition via __MAP_ANONYMOUS.
18151 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18152 it's not part of Linux headers.
18154 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18155 (MAP_HUGE_MASK): Define.
18157 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18159 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18162 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18163 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18165 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18166 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18168 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18170 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18171 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18172 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18173 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18174 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18175 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18177 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18180 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18181 Handle f2fs and efivarfs.
18183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18186 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18187 (EFIVARFS_MAGIC): Add.
18188 (F2FS_LINK_MAX): Add.
18190 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18192 * stdio-common/vfprintf.c: Replace __builtin_expect with
18195 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18198 * sysdeps/generic/bp-sym.h: Remove file.
18199 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18200 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18201 <bp-sym.h> and <bp-asm.h>.
18202 (__longjmp): Don't use BP_SYM.
18203 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18205 (memcpy): Don't use BP_SYM.
18206 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18207 <bp-sym.h> and <bp-asm.h>.
18208 (memcpy): Don't use BP_SYM.
18209 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18211 (memcpy): Don't use BP_SYM.
18212 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18214 (memset): Don't use BP_SYM.
18215 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18216 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18217 (__bzero): Don't use BP_SYM.
18218 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18219 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18220 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18221 <bp-sym.h> and <bp-asm.h>.
18222 (memcmp): Don't use BP_SYM. Remove comment about bounded
18224 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18225 <bp-sym.h> and <bp-asm.h>.
18226 (memcpy): Don't use BP_SYM.
18227 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18228 <bp-sym.h> and <bp-asm.h>.
18229 (memset): Don't use BP_SYM.
18230 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18231 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18232 (__bzero): Don't use BP_SYM.
18233 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18234 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18235 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18236 <bp-sym.h> and <bp-asm.h>.
18237 (strncmp): Don't use BP_SYM. Remove comment about bounded
18239 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18240 <bp-sym.h> and <bp-asm.h>.
18241 (memcpy): Don't use BP_SYM.
18242 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18243 <bp-sym.h> and <bp-asm.h>.
18244 (memset): Don't use BP_SYM.
18245 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18246 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18247 (__bzero): Don't use BP_SYM.
18248 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18249 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18251 <bp-sym.h> and <bp-asm.h>.
18252 (__memchr): Don't use BP_SYM.
18253 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18254 <bp-sym.h> and <bp-asm.h>.
18255 (memcmp): Don't use BP_SYM. Remove comment about bounded
18257 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18258 <bp-sym.h> and <bp-asm.h>.
18259 (memcpy): Don't use BP_SYM.
18260 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18261 <bp-sym.h> and <bp-asm.h>.
18262 (__mempcpy): Don't use BP_SYM.
18263 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18264 <bp-sym.h> and <bp-asm.h>.
18265 (__memrchr): Don't use BP_SYM.
18266 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18267 <bp-sym.h> and <bp-asm.h>.
18268 (memset): Don't use BP_SYM.
18269 (__bzero): Likewise.
18270 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18271 <bp-sym.h> and <bp-asm.h>.
18272 (__rawmemchr): Don't use BP_SYM.
18273 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18274 <bp-sym.h> and <bp-asm.h>.
18275 (__STRCMP): Don't use BP_SYM.
18276 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18277 <bp-sym.h> and <bp-asm.h>.
18278 (strchr): Don't use BP_SYM.
18279 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18280 <bp-sym.h> and <bp-asm.h>.
18281 (__strchrnul): Don't use BP_SYM.
18282 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18283 <bp-sym.h> and <bp-asm.h>.
18284 (strlen): Don't use BP_SYM.
18285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18286 <bp-sym.h> and <bp-asm.h>.
18287 (strncmp): Don't use BP_SYM. Remove comment about bounded
18289 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18290 <bp-sym.h> and <bp-asm.h>.
18291 (__strnlen): Don't use BP_SYM.
18292 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18293 <bp-sym.h> and <bp-asm.h>.
18294 (__GI__setjmp): Don't use BP_SYM.
18295 (_setjmp): Likewise.
18296 (__sigsetjmp): Likewise.
18297 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18298 (L(start_addresses)): Don't use BP_SYM.
18299 (_start): Likewise.
18300 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18302 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18303 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18304 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18305 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18306 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18308 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18309 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18310 about bounded pointers.
18311 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18312 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18313 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18315 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18316 about bounded pointers. Remove GKM FIXME comments.
18317 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18318 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18320 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18321 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18322 Remove GKM FIXME comments.
18323 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18324 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18325 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18327 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18328 about bounded pointers. Remove GKM FIXME comment.
18329 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18331 (strncmp): Don't use BP_SYM. Remove comment about bounded
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18334 <bp-sym.h> and <bp-asm.h>.
18335 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18337 <bp-sym.h> and <bp-asm.h>.
18338 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18341 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18343 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18346 2013-03-05 David S. Miller <davem@davemloft.net>
18348 * po/es.po: Update from translation team.
18350 2013-03-05 Andreas Jaeger <aj@suse.de>
18352 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18353 <bits/mman-linux.h>.
18354 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18356 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18357 <bits/mman-linux.h> to end of file.
18358 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18360 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18361 <bits/mman-linux.h> to end of file.
18362 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18365 <bits/mman-linux.h> to end of file.
18367 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18368 (MCL_CURRENT, MCL_FUTURE): Define here.
18370 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18373 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18375 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18377 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18379 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18380 fourth parameter needed for rt_sigprocmask syscall.
18381 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18382 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18383 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18384 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18385 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18386 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18388 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18391 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18392 comment about bounded pointers.
18393 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18394 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18396 2013-03-04 Andreas Jaeger <aj@suse.de>
18398 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18399 common definitions.
18401 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18402 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18403 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18405 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18408 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18411 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18412 __ieee754_sqrl instead of __sqrl.
18414 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18416 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18417 * sysdeps/powerpc/fpu_control.h: ... here.
18418 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18419 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18420 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18421 * sysdeps/powerpc/bits/mathinline.h: ... here.
18423 2013-03-01 Roland McGrath <roland@hack.frob.com>
18425 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18426 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18427 to just [NEED_DL_SYSINFO_DSO].
18428 * elf/dl-support.c: Likewise.
18429 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18430 * elf/rtld.c (dl_main): Likewise.
18431 * elf/setup-vdso.h (setup_vdso): Likewise.
18432 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18433 * sysdeps/unix/sysv/linux/dl-sysdep.c
18434 (_dl_discover_osversion): Likewise.
18436 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18438 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18439 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18441 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18443 * NEWS: Mention libm performance improvements and non-x86 PI
18446 * csu/libc-start.c (__pthread_initialize_minimal): Change
18447 function arguments.
18448 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18450 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18453 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18454 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18455 <bp-sym.h> and <bp-asm.h>.
18456 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18457 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18459 (memcpy): Don't use BP_SYM.
18460 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18462 (__mpn_add_n): Don't use BP_SYM.
18463 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18464 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18466 (__mpn_addmul_1): Don't use BP_SYM.
18467 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18468 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18470 (_setjmp): Don't use BP_SYM.
18471 (__novmx_setjmp): Likewise.
18472 (__GI__setjmp): Likewise.
18473 (__vmx_setjmp): Likewise.
18474 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18476 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18477 (__bzero): Don't use BP_SYM.
18478 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18479 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18480 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18481 <bp-sym.h> and <bp-asm.h>.
18482 (memcpy): Don't use BP_SYM.
18483 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18484 <bp-sym.h> and <bp-asm.h>.
18485 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18486 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18487 <bp-sym.h> and <bp-asm.h>.
18488 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18489 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18491 (__mpn_lshift): Don't use BP_SYM.
18492 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18493 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18495 (memset): Don't use BP_SYM.
18496 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18497 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18498 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18500 (__mpn_mul_1): Don't use BP_SYM.
18501 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18503 <bp-sym.h> and <bp-asm.h>.
18504 (memcmp): Don't use BP_SYM.
18505 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18506 <bp-sym.h> and <bp-asm.h>.
18507 (memcpy): Don't use BP_SYM.
18508 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18509 <bp-sym.h> and <bp-asm.h>.
18510 (memset): Don't use BP_SYM.
18511 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18512 <bp-sym.h> and <bp-asm.h>.
18513 (strncmp): Don't use BP_SYM.
18514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18515 <bp-sym.h> and <bp-asm.h>.
18516 (memcpy): Don't use BP_SYM.
18517 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18518 <bp-sym.h> and <bp-asm.h>.
18519 (memset): Don't use BP_SYM.
18520 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18521 <bp-sym.h> and <bp-asm.h>.
18522 (__memchr): Don't use BP_SYM.
18523 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18524 <bp-sym.h> and <bp-asm.h>.
18525 (memcmp): Don't use BP_SYM.
18526 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18527 <bp-sym.h> and <bp-asm.h>.
18528 (memcpy): Don't use BP_SYM.
18529 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18530 <bp-sym.h> and <bp-asm.h>.
18531 (__mempcpy): Don't use BP_SYM.
18532 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18533 <bp-sym.h> and <bp-asm.h>.
18534 (__memrchr): Don't use BP_SYM.
18535 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18536 <bp-sym.h> and <bp-asm.h>.
18537 (memset): Don't use BP_SYM.
18538 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18539 <bp-sym.h> and <bp-asm.h>.
18540 (__rawmemchr): Don't use BP_SYM.
18541 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18542 <bp-sym.h> and <bp-asm.h>.
18543 (__STRCMP): Don't use BP_SYM.
18544 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18545 <bp-sym.h> and <bp-asm.h>.
18546 (strchr): Don't use BP_SYM.
18547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18548 <bp-sym.h> and <bp-asm.h>.
18549 (__strchrnul): Don't use BP_SYM.
18550 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18551 <bp-sym.h> and <bp-asm.h>.
18552 (strlen): Don't use BP_SYM.
18553 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18554 <bp-sym.h> and <bp-asm.h>.
18555 (strncmp): Don't use BP_SYM.
18556 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18557 <bp-sym.h> and <bp-asm.h>.
18558 (__strnlen): Don't use BP_SYM.
18559 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18561 (__mpn_rshift): Don't use BP_SYM.
18562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18563 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18564 <bp-sym.h> and <bp-asm.h>.
18565 (__sigsetjmp): Don't use BP_SYM.
18566 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18567 (L(start_addresses)): Don't use BP_SYM.
18568 (_start): Likewise.
18569 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18571 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18572 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18573 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18574 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18576 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18577 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18578 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18579 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18581 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18583 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18584 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18586 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18588 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18589 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18590 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18592 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18594 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18596 (strncmp): Don't use BP_SYM,
18597 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18599 (__mpn_sub_n): Don't use BP_SYM.
18600 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18601 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18603 (__mpn_submul_1): Don't use BP_SYM.
18604 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18606 <bp-sym.h> and <bp-asm.h>.
18607 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18609 <bp-sym.h> and <bp-asm.h>.
18610 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18613 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18616 Use ZK to minimize writes to Z.
18617 (sub_magnitudes): Simplify code a bit.
18618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18619 Use ZK to minimize writes to Z.
18620 (sub_magnitudes): Simplify code a bit.
18622 2013-02-27 Roland McGrath <roland@hack.frob.com>
18624 * csu/gmon-start.c: Add special exception to license text.
18626 2013-02-27 Richard Henderson <rth@redhat.com>
18628 * scripts/config.guess: Update from config.git.
18629 * scripts/config.sub: Likewise.
18631 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18635 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18637 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18639 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18641 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18643 2013-02-26 Roland McGrath <roland@hack.frob.com>
18645 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18646 [$(build-shared = yes].
18648 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18650 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18651 (__mul): Reduce iterations for calculating mantissa.
18653 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18655 (__mpranred): Likewise.
18658 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18659 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18661 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18663 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18664 Define __attribute__.
18666 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18668 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18670 * posix/regex_internal.h (__attribute): Remove.
18671 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18672 (re_string_context_at): Likewise.
18673 (bitset_not): Use __attribute__ and mark function as possibly
18675 (bitset_merge): Likewise.
18676 (bitset_mask): Likewise.
18677 (re_string_char_size_at): Likewise.
18678 (re_string_wchar_at): Likewise.
18679 (re_string_elem_size_at): Likewise.
18681 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18683 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18687 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18691 (denorm): Likewise.
18692 (__dbl_mp): Likewise.
18693 (add_magnitudes): Likewise.
18694 (sub_magnitudes): Likewise.
18698 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18701 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18704 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18708 up changes with default code.
18709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18712 2013-02-24 Allan McRae <allan@archlinux.org>
18714 * manual/socket.texi (The Internet Namespace): Order menu items
18715 to match that in the file.
18717 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18718 node listing of the info page menu.
18720 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18723 * sysdeps/i386/bp-asm.h: Remove file.
18724 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18725 (PARMS): Do not use macros from bp-asm.h.
18729 (__mpn_add_n): Do not use BP_SYM
18730 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18732 (PARMS): Do not use macros from bp-asm.h.
18735 (__mpn_addmul_1): Do not use BP_SYM
18736 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18738 (PARMS): Do not use macros from bp-asm.h.
18739 (SIGMSK): Likewise.
18740 (_setjmp): Likewise. Do not use BP_SYM.
18741 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18743 (PARMS): Do not use macros from bp-asm.h.
18744 (SIGMSK): Likewise.
18745 (setjmp): Likewise. Do not use BP_SYM.
18746 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18748 (PARMS): Do not use macros from bp-asm.h.
18749 (__frexp): Do not use BP_SYM.
18751 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18753 (PARMS): Do not use macros from bp-asm.h.
18754 (__frexpf): Do not use BP_SYM.
18755 (frexpf): Likewise.
18756 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18758 (PARMS): Do not use macros from bp-asm.h.
18759 (__frexpl): Do not use BP_SYM.
18760 (frexpl): Likewise.
18761 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18763 (PARMS): Do not use macros from bp-asm.h.
18764 (__remquo): Do not use BP_SYM.
18765 (remquo): Likewise.
18766 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18768 (PARMS): Do not use macros from bp-asm.h.
18769 (__remquof): Do not use BP_SYM.
18770 (remquof): Likewise.
18771 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18773 (PARMS): Do not use macros from bp-asm.h.
18774 (__remquol): Do not use BP_SYM.
18775 (remquol): Likewise.
18776 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18778 (PARMS): Do not use macros from bp-asm.h.
18781 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18782 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18784 (PARMS): Do not use macros from bp-asm.h.
18785 (strlen): Do not use BP_SYM.
18786 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18788 (PARMS): Do not use macros from bp-asm.h.
18792 (__mpn_add_n): Do not use BP_SYM.
18793 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18795 (PARMS): Do not use macros from bp-asm.h.
18798 (__mpn_addmul_1): Do not use BP_SYM.
18799 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18802 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18804 (PARMS): Do not use macros from bp-asm.h.
18807 (__mpn_lshift): Do not use BP_SYM.
18808 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18810 (PARMS): Do not use macros from bp-asm.h.
18814 (memcpy): Likewise. Do not use BP_SYM.
18815 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18816 libc_hidden_def and weak_alias.
18817 (mempcpy): Do not use BP_SYM in weak_alias.
18818 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18820 (PARMS): Do not use macros from bp-asm.h.
18823 [!BZERO_P] (CHR): Likewise.
18824 (memset): Likewise. Do not use BP_SYM.
18825 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18827 (PARMS): Do not use macros from bp-asm.h.
18830 (__mpn_mul_1): Do not use BP_SYM.
18831 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18833 (PARMS): Do not use macros from bp-asm.h.
18836 (__mpn_rshift): Do not use BP_SYM.
18837 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18839 (PARMS): Do not use macros from bp-asm.h.
18842 (strchr): Likewise. Do not use BP_SYM.
18843 (index): Do not use BP_SYM in weak_alias.
18844 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18846 (PARMS): Do not use macros from bp-asm.h.
18849 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18850 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18852 (PARMS): Do not use macros from bp-asm.h.
18853 (strlen): Do not use BP_SYM.
18854 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18856 (PARMS): Do not use macros from bp-asm.h.
18860 (__mpn_sub_n): Do not use BP_SYM.
18861 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18863 (PARMS): Do not use macros from bp-asm.h.
18866 (__mpn_submul_1): Do not use BP_SYM.
18867 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18869 (PARMS): Do not use macros from bp-asm.h.
18873 (__mpn_add_n): Do not use BP_SYM.
18874 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18877 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18879 (PARMS): Do not use macros from bp-asm.h.
18882 (memcmp): Do not use BP_SYM.
18883 (bcmp): Do not use BP_SYM in weak_alias.
18884 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18886 (PARMS): Do not use macros from bp-asm.h.
18890 (memcpy): Likewise. Do not use BP_SYM.
18891 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18893 (PARMS): Do not use macros from bp-asm.h.
18897 (memmove): Likewise. Do not use BP_SYM.
18898 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18900 (PARMS): Do not use macros from bp-asm.h.
18904 (__mempcpy): Likewise. Do not use BP_SYM.
18905 (mempcpy): Do not use BP_SYM in weak_alias.
18906 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18908 (PARMS): Do not use macros from bp-asm.h.
18911 [!BZERO_P] (CHR): Likewise.
18912 (memset): Likewise. Do not use BP_SYM.
18913 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18915 (PARMS): Do not use macros from bp-asm.h.
18917 (strcmp): Do not use BP_SYM.
18918 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18920 (PARMS): Do not use macros from bp-asm.h.
18923 [USE_AS_STRTOK_R] (SAVE): Likewise.
18924 (FUNCTION): Likewise. Do not use BP_SYM.
18925 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18927 (strtok_r): Likewise.
18928 (__GI___strtok_r): Likewise.
18929 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18930 (PARMS): Do not use macros from bp-asm.h.
18933 (__mpn_lshift): Do not use BP_SYM.
18934 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18935 (PARMS): Do not use macros from bp-asm.h.
18938 (__memchr): Do not use BP_SYM.
18939 (memchr): Do not use BP_SYM in weak_alias.
18940 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18941 (PARMS): Do not use macros from bp-asm.h.
18944 (memcmp): Do not use BP_SYM.
18945 (bcmp): Do not use BP_SYM in weak_alias.
18946 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18947 (PARMS): Do not use macros from bp-asm.h.
18950 (__mpn_mul_1): Do not use BP_SYM.
18951 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18953 (PARMS): Do not use macros from bp-asm.h.
18956 (__rawmemchr): Do not use BP_SYM.
18957 (rawmemchr): Do not use BP_SYM in weak_alias.
18958 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18959 (PARMS): Do not use macros from bp-asm.h.
18962 (__mpn_rshift): Do not use BP_SYM.
18963 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18964 (PARMS): Do not use macros from bp-asm.h.
18965 (SIGMSK): Likewise.
18966 (__sigsetjmp): Likewise. Do not use BP_SYM.
18967 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18968 (_start): Do not use BP_SYM.
18969 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18970 (PARMS): Do not use macros from bp-asm.h.
18973 (__stpcpy): Likewise. Do not use BP_SYM.
18974 (stpcpy): Do not use BP_SYM in weak_alias.
18975 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18977 (PARMS): Do not use macros from bp-asm.h.
18981 (__stpncpy): Likewise. Do not use BP_SYM.
18982 (stpncpy): Do not use BP_SYM in weak_alias.
18983 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18984 (PARMS): Do not use macros from bp-asm.h.
18987 (strchr): Likewise. Do not use BP_SYM.
18988 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18990 (PARMS): Do not use macros from bp-asm.h.
18993 (__strchrnul): Likewise. Do not use BP_SYM.
18994 (strchrnul): Do not use BP_SYM in weak_alias.
18995 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18997 (PARMS): Do not use macros from bp-asm.h.
18999 (strcspn): Do not use BP_SYM.
19000 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19002 (PARMS): Do not use macros from bp-asm.h.
19005 (strpbrk): Likewise. Do not use BP_SYM.
19006 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19008 (PARMS): Do not use macros from bp-asm.h.
19011 (strrchr): Likewise. Do not use BP_SYM.
19012 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19013 (PARMS): Do not use macros from bp-asm.h.
19015 (strspn): Do not use BP_SYM.
19016 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19017 (PARMS): Do not use macros from bp-asm.h.
19021 (FUNCTION): Likewise. Do not use BP_SYM.
19022 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19024 (strtok_r): Likewise.
19025 (__GI___strtok_r): Likewise.
19026 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19027 (PARMS): Do not use macros from bp-asm.h.
19031 (__mpn_sub_n): Do not use BP_SYM.
19032 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19034 (PARMS): Do not use macros from bp-asm.h.
19037 (__mpn_submul_1): Do not use BP_SYM.
19038 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19040 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19042 (PARMS): Do not use macros from bp-asm.h.
19047 (__clone): Do not use BP_SYM.
19048 (clone): Do not use BP_SYM in weak_alias.
19049 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19051 (PARMS): Do not use macros from bp-asm.h.
19053 (__mmap64): Do not use BP_SYM.
19054 (mmap64): Do not use BP_SYM in weak_alias.
19055 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19056 <bp-sym.h> and <bp-asm.h>.
19057 (PARMS): Do not use macros from bp-asm.h.
19058 (__posix_fadvise64_l64): Do not use BP_SYM.
19059 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19060 (PARMS): Do not use macros from bp-asm.h.
19062 (semtimedop): Do not use BP_SYM.
19063 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19066 2013-02-21 Allan McRae <allan@archlinux.org>
19068 * manual/message.texi (Charset conversion in gettext):
19069 Move @end statement to beginning of line.
19071 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19078 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19079 (denorm): Likewise.
19080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19083 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19085 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19086 tail-call to the resolved function if pltexit isn't needed.
19088 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19091 or Y being zero as being unlikely.
19092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19095 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19097 * manual/nss.texi (System Databases and Name Service Switch):
19098 Remove frobnicate @pxref.
19100 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19102 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19103 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19105 2013-02-20 Petr Machata <pmachata@redhat.com>
19107 * elf/elf.h (R_ARM_TARGET1): New macro.
19108 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19109 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19110 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19111 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19112 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19113 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19114 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19115 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19116 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19117 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19118 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19119 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19120 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19121 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19122 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19123 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19124 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19125 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19126 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19127 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19128 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19129 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19130 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19131 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19132 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19133 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19134 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19135 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19136 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19137 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19138 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19139 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19140 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19141 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19142 (R_ARM_THM_GOT_BREL12): Likewise.
19143 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19144 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19145 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19146 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19147 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19148 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19149 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19150 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19151 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19153 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19155 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19156 __attribute_used__ to __attribute__ ((unused)).
19158 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19160 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19163 comment formatting.
19164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19166 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19169 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19171 (ENTER): Remove both macro definitions.
19173 (CHECK_BOUNDS_LOW): Likewise.
19174 (CHECK_BOUNDS_HIGH): Likewise.
19175 (CHECK_BOUNDS_BOTH): Likewise.
19176 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19177 (RETURN_BOUNDED_POINTER): Likewise.
19178 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19179 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19180 (POP_ERRNO_LOCATION_RETURN): Likewise.
19181 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19182 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19183 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19185 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19186 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19187 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19188 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19189 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19190 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19191 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19192 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19193 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19194 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19195 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19196 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19197 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19198 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19200 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19201 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19203 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19204 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19205 * sysdeps/i386/i586/memset.S (memset): Likewise.
19206 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19207 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19208 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19210 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19211 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19212 Change uses of L(2) to L(out).
19213 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19214 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19215 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19216 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19217 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19219 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19220 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19222 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19223 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19224 (RETURN): Do not use macro LEAVE.
19225 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19226 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19227 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19228 * sysdeps/i386/i686/memset.S (memset): Likewise.
19229 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19230 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19231 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19232 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19234 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19235 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19236 L(1_2) and L(1_3) into L(1).
19237 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19238 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19239 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19240 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19241 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19242 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19243 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19244 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19245 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19247 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19248 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19249 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19250 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19251 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19252 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19253 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19254 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19255 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19256 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19257 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19258 * sysdeps/i386/strspn.S (strspn): Likewise.
19259 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19261 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19262 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19263 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19264 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19265 L(1_3) into L(1_1).
19266 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19267 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19268 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19270 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19272 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19274 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19277 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19279 * math/atest-exp.c (exp_mpn): Remove ROUND.
19280 * math/atest-exp2.c (exp_mpn): Likewise.
19281 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19283 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19284 * stdlib/tst-tls-atexit-lib.c: Likewise.
19285 * stdlib/tst-tls-atexit.c: Likewise.
19287 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19289 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19290 and __attribute_alloc_size__.
19292 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19294 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19295 __attribute_alloc_size__.
19296 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19297 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19299 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19301 * include/programs/xmalloc.h: New file.
19302 * catgets/gencat.c: Include it.
19303 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19304 * elf/pldd.c: Likewise.
19305 * iconv/iconv_charmap.c: Likewise.
19306 * iconv/iconvconfig.c: Likewise.
19307 * iconv/strtab.c: Likewise.
19308 * locale/programs/locale.c: Likewise.
19309 * locale/programs/localedef.h: Likewise.
19310 * locale/programs/simple-hash.c: Likewise.
19311 * nscd/nscd.h: Likewise.
19312 * nss/makedb.c: Likewise.
19313 * sysdeps/generic/ldconfig.h: Likewise.
19315 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19317 * Versions.def: Add GLIBC_2.18.
19318 * include/link.h (struct link_map): New member l_tls_dtor_count.
19319 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19320 (__call_tls_dtors): Likewise.
19321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19322 __cxa_thread_atexit_impl.
19323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19339 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19340 (tests): Add test case tst-tls-atexit.
19341 (modules-names): Add shared library for tst-tls-atexit.
19342 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19343 (GLIBC_PRIVATE): Add __call_tls_dtors.
19344 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19346 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19347 * stdlib/tst-tls-atexit.c: New test case.
19348 * stdlib/tst-tls-atexit-lib.c: New test case.
19350 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19352 * elf/Versions (ld): Add _dl_find_dso_for_object.
19353 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19354 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19355 (dl_open_worker): Use _dl_find_dso_for_object.
19356 * elf/dl-sym.c (do_sym): Likewise.
19357 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19359 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19361 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19362 Syntactic changes only.
19363 (_dl_runtime_profile): Do a tail-call to the resolved function.
19365 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19368 * sysdeps/x86_64/bp-asm.h: Remove file.
19369 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19370 <bp-sym.h> and <bp-asm.h>.
19371 (__clone): Do not use BP_SYM.
19372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19373 <bp-sym.h> and <bp-asm.h>.
19374 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19375 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19377 (_setjmp): Do not use BP_SYM.
19378 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19380 (setjmp): Do not use BP_SYM.
19381 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19383 (mempcpy): Do not use BP_SYM in weak_alias.
19384 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19386 (strchr): Do not use BP_SYM.
19387 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19389 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19390 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19391 (_start): Do not use BP_SYM.
19392 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19394 (strcat): Do not use BP_SYM.
19395 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19397 (STRCMP): Do not use BP_SYM.
19398 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19400 (STRCPY): Do not use BP_SYM.
19401 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19403 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19405 (FUNCTION): Do not use BP_SYM.
19406 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19408 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19410 2013-02-17 Andreas Jaeger <aj@suse.de>
19412 * time/Versions: Sort entries.
19413 * string/Versions: Likewise.
19414 * resolv/Versions: Likewise.
19415 * posix/Versions: Likewise.
19416 * iconv/Versions: Likewise.
19417 * elf/Versions: Likewise.
19418 * wcsmbs/Versions: Likewise.
19420 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19422 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19423 loop termination condition.
19425 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19426 variable to calculate EZ.
19429 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19430 the lower precision input.
19432 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19435 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19436 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19437 (run-via-rtld-prefix): Do not handle %-bp tests.
19438 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19439 (all-object-suffixes): Remove .ob.
19440 (bppfx): Remove variable.
19441 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19442 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19443 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19444 [$(build-bounded) = yes] (libtype.ob): Likewise.
19445 * Makerules (elide-routines.ob): Remove variable.
19446 (do-tests-clean): Do not handle *-bp.out.
19447 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19448 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19449 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19450 (tests): Do not include $(tests-bp.out).
19451 (xtests): Do not include $(xtests-bp.out).
19452 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19453 [$(build-bounded) = yes] ($(addprefix
19454 $(objpfx),$(binaries-bounded))): Remove rule.
19455 ($(objpfx)%-bp.out): Remove rule.
19456 * config.make.in (build-bounded): Remove variable.
19457 * crypt/Makefile [$(build-bounded) = yes]
19458 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19459 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19460 append to variable.
19461 [$(build-bounded) = yes] (install-lib): Likewise.
19462 [$(build-bounded) = yes] (generated): Likewise.
19463 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19465 * intl/Makefile [$(build-bounded) = yes]
19466 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19467 * math/Makefile [$(build-bounded) = yes]
19468 ($(tests:%=$(objpfx)%-bp): Likewise.
19469 * misc/Makefile [$(build-bounded) = yes]
19470 ($(objpfx)tst-tsearch-bp): Likewise.
19471 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19472 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19474 * string/Makefile (o-objects.ob): Remove variable.
19475 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19476 (CFLAGS-.ob): Remove variable.
19477 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19478 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19479 both definitions of variable.
19480 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19481 (ASFLAGS-.ob): Remove variable.
19483 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19486 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19487 Remove __BOUNDED_POINTERS__ from condition.
19488 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19489 * string/bits/string2.h [!__NO_STRING_INLINES &&
19490 !__BOUNDED_POINTERS__]: Likewise.
19491 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19493 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19494 Remove conditional code.
19495 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19496 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19497 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19501 * csu/libc-start.c: Do not include <bp-sym.h>.
19502 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19503 * elf/dl-open.c: Do not include <bp-sym.h>.
19504 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19505 * math/fegetenv.c: Do not include <bp-sym.h>.
19506 (fegetenv): Do not use BP_SYM in versioned symbols.
19507 * nptl/sysdeps/pthread/bits/libc-lockP.h
19508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19511 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19513 (__pthread_mutex_destroy): Likewise.
19514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19515 (__pthread_mutex_lock): Likewise.
19516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19517 (__pthread_mutex_trylock): Likewise.
19518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19519 (__pthread_mutex_unlock): Likewise.
19520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19521 (__pthread_mutexattr_init): Likewise.
19522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19523 (__pthread_mutexattr_destroy): Likewise.
19524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19525 (__pthread_mutexattr_settype): Likewise.
19526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19527 (__pthread_rwlock_init): Likewise.
19528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19529 (__pthread_rwlock_destroy): Likewise.
19530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19531 (__pthread_rwlock_rdlock): Likewise.
19532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19533 (__pthread_rwlock_tryrdlock): Likewise.
19534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19535 (__pthread_rwlock_wrlock): Likewise.
19536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19537 (__pthread_rwlock_trywrlock): Likewise.
19538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19539 (__pthread_rwlock_unlock): Likewise.
19540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19541 (__pthread_key_create): Likewise.
19542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19543 (__pthread_setspecific): Likewise.
19544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19545 (__pthread_getspecific): Likewise.
19546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19549 (_pthread_cleanup_push_defer): Likewise.
19550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19551 (_pthread_cleanup_pop_restore): Likewise.
19552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19553 (pthread_setcancelstate): Likewise.
19554 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19556 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19557 (memchr): Do not use BP_SYM in weak_alias.
19558 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19559 (fegetenv): Do not use BP_SYM in versioned symbols.
19560 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19561 (fesetenv): Do not use BP_SYM in versioned symbols.
19562 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19563 (feupdateenv): Do not use BP_SYM in versioned symbols.
19564 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19565 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19566 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19567 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19568 (open64): Do not use BP_SYM in weak_alias.
19569 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19570 (fegetenv): Do not use BP_SYM in versioned symbols.
19571 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19572 (fesetenv): Do not use BP_SYM in versioned symbols.
19573 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19574 (feupdateenv): Do not use BP_SYM in versioned symbols.
19575 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19576 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19577 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19578 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19579 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19580 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19581 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19583 (__libc_start_main): Do not use BP_SYM.
19585 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19587 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19588 redundant return line.
19590 (denorm): Likewise.
19591 (dbl_mp): Likewise.
19592 (sub_magnitudes): Likewise.
19598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19600 (denorm): Likewise.
19601 (dbl_mp): Likewise.
19602 (sub_magnitudes): Likewise.
19609 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19611 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19612 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19615 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19616 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19618 of __mul for squares.
19619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19623 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19624 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19626 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19629 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19631 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19632 prototype or function definition. Rename ubp_* variables and
19633 parameters. Remove argv definitions conditional on
19634 [__BOUNDED_POINTERS__].
19635 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19636 * elf/dl-runtime.c (_dl_fixup): Likewise.
19637 * include/set-hooks.h (RUN_HOOK): Likewise.
19638 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19640 * string/strcpy.c (strcpy): Do not use __unbounded.
19641 * sysdeps/generic/frame.h (struct layout): Likewise.
19642 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19643 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19644 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19645 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19646 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19647 (__backtrace): Likewise.
19648 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19650 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19651 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19652 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19654 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19655 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19656 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19657 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19658 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19659 Do not use __unbounded.
19660 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19661 Rename __unboundedrlimits parameter to rlimits in prototype.
19662 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19663 Do not use __unbounded.
19664 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19665 not use __ptrvalue.
19666 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19667 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19668 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19669 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19670 __ptrvalue or __unbounded.
19671 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19672 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19674 (__new_msgctl): Do not use __ptrvalue.
19675 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19677 (__libc_msgrcv): Do not use __ptrvalue.
19678 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19679 startup_info): Do not use __unbounded.
19680 (__libc_start_main): Likewise. Rename ubp_* variables and
19681 parameters. Remove argv definitions conditional on
19682 [__BOUNDED_POINTERS__].
19683 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19685 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19687 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19689 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19691 (__new_shmctl): Do not use __ptrvalue.
19692 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19693 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19695 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19697 (__libc_sigaction): Likewise.
19698 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19699 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19701 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19703 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19705 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19707 * string/mempcpy.c: Implement by calling memcpy.
19709 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19711 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19716 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19717 values in the mantissa.
19719 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19720 minimize writes to Z.
19721 (sub_magnitudes): Simplify code a bit.
19723 2013-02-12 Roland McGrath <roland@hack.frob.com>
19725 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19726 from the message. The linker prefixes all warnings with that already.
19728 2013-02-12 Andreas Schwab <schwab@suse.de>
19731 * posix/regexec.c (extend_buffers): Add parameter min_len.
19732 (check_matching): Pass minimum needed length.
19733 (clean_state_log_if_needed): Likewise.
19734 (get_subexp): Likewise.
19735 * posix/Makefile (tests): Add bug-regex34.
19736 (bug-regex34-ENV): Define.
19737 * posix/bug-regex34.c: New file.
19740 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19741 elements compare against the byte sequence of it, not its name.
19742 * posix/Makefile (tests): Add bug-regex35.
19743 (bug-regex35-ENV): Define.
19744 * posix/bug-regex35.c: New file.
19746 2013-02-11 Tom de Vries <tom@codesourcery.com>
19748 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19750 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19751 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19752 (CHECK_EOL): Add undef.
19754 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19756 * bits/stdlib-bsearch.h: New file.
19757 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19758 * stdlib/stdlib.h: Likewise.
19760 2013-02-11 Roland McGrath <roland@hack.frob.com>
19762 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19763 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19765 * manual/search.texi (Array Search Function): Add missing const in
19767 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19768 declaration to use rlim_t.
19769 (Basic Scheduling Functions): Remove erroneous const from
19770 sched_getparam prototype. Remove erroneous * from
19771 sched_get_priority_max and sched_get_priority_min prototypes.
19772 (Resource Usage): Fix summary @comment on vtimes to refer to
19773 sys/vtimes.h rather than vtimes.h.
19774 Add missing *s in vtimes prototype.
19775 (Limits on Resources): Fix ulimit prototype to return long int.
19776 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19777 prototypes to use long int rather than double.
19778 (BSD Random): Fix initstate and setstate to use char *, not void *.
19779 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19780 prototype to make second argument 'struct aiocb64 *const[]'.
19781 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19782 (Status of AIO Operations): Remove erroneous const in aio_return and
19783 aio_return64 prototypes.
19784 (Synchronizing I/O): Fix sync prototype to return void.
19785 * manual/startup.texi (Suboptions): Remove an erroneous const in
19786 getsubopt prototype.
19787 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19788 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19789 use size_t rather than int.
19790 (Scanning All Users): Likewise for getpwent_r.
19791 (Setting Groups): Add missing const to setgroups prototype.
19792 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19793 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19794 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19795 'const void *' rather than 'const char *'.
19796 (Host Address Functions): Likewise for inet_ntop.
19797 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19798 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19799 ssize_t for return value.
19800 (Sending Data): Likewise for send, sendto, sendmsg.
19801 (Socket Option Functions): Add a missing const in setsockopt prototype.
19802 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19803 use wchar_t for the argument.
19804 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19805 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19807 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19808 double/float/long double for second argument.
19809 Fix return types of significand, significandf, significandl.
19810 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19811 argument in fchmod prototype.
19812 (File Owner): Use uid_t and gid_t in fchown prototype.
19813 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19814 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19815 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19816 use 'const struct dirent **' as argument types to CMP function pointer
19818 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19819 (File Times): Fix summary magic @comment for struct utimbuf and utime
19820 to refer to utime.h, not time.h.
19821 * manual/string.texi (Argz Functions): Add missing const in
19822 argz_extract and argz_next prototypes.
19823 (Finding Tokens in a String): Likewise for basename.
19824 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19825 (Copying and Concatenation): Fix typo in wmemmove prototype.
19826 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19827 (Signal Stack): Remove erroneous const in sigstack prototype.
19828 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19830 (Simple Calendar Time): Likewise for stime.
19831 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19833 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19834 say sys/sysctl.h instead.
19835 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19836 and vsyslog prototypes.
19838 2013-02-11 Tom de Vries <tom@codesourcery.com>
19840 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19843 2013-02-11 Roland McGrath <roland@hack.frob.com>
19845 * misc/sys/mman.h: Fix typo in mremap comment.
19847 2013-02-08 Roland McGrath <roland@hack.frob.com>
19849 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19850 the '\0' terminator.
19852 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19855 * debug/segfault.c: Don't include <bp-checks.h>.
19856 * sysdeps/generic/bp-checks.h: Remove file.
19857 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19858 (__GETDENTS): Don't use CHECK_N.
19859 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19860 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19861 (__getgroups): Don't use CHECK_N.
19862 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19863 (setgroups): Don't use CHECK_N.
19864 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19865 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19866 (__libc_msgrcv): Don't use CHECK_N.
19867 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19868 (__libc_msgsnd): Don't use CHECK_N.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19871 (__libc_pread): Don't use CHECK_N.
19872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19873 include <bp-checks.h>.
19874 (__libc_pread64): Don't use CHECK_N.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19876 include <bp-checks.h>.
19877 (__libc_pwrite): Don't use CHECK_N.
19878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19879 include <bp-checks.h>.
19880 (__libc_pwrite64): Don't use CHECK_N.
19881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19883 (__libc_pread): Don't use CHECK_N.
19884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19885 include <bp-checks.h>.
19886 (__libc_pread64): Don't use CHECK_N.
19887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19888 include <bp-checks.h>.
19889 (__libc_pwrite): Don't use CHECK_N.
19890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19891 include <bp-checks.h>.
19892 (__libc_pwrite64): Don't use CHECK_N.
19893 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19894 (do_pread): Don't use CHECK_N.
19895 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19896 (do_pread64): Don't use CHECK_N.
19897 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19898 (do_pwrite): Don't use CHECK_N.
19899 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19900 (do_pwrite64): Don't use CHECK_N.
19901 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19902 (__libc_readv): Don't use CHECK_N.
19903 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19904 (semop): Don't use CHECK_N.
19905 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19907 (semtimedop): Don't use CHECK_N.
19908 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19909 (__libc_pread): Don't use CHECK_N.
19910 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19912 (__libc_pread64): Don't use CHECK_N.
19913 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19915 (__libc_pwrite): Don't use CHECK_N.
19916 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19918 (__libc_pwrite64): Don't use CHECK_N.
19919 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19921 (__libc_msgrcv): Don't use CHECK_N.
19922 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19923 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19924 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19925 (__libc_writev): Don't use CHECK_N.
19927 2013-02-08 Roland McGrath <roland@hack.frob.com>
19929 * string/strcpy.c: Removed unused variable.
19931 * Makeconfig (+sysdep-includes): Define with := rather than =.
19932 Use an existing include/ subdir of each sysdeps dir before it.
19934 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19936 * nscd/connection.c (register_traced_file): Comment function.
19937 [HAVE_INOTIFY] (union __inev): Define.
19938 [HAVE_INOTIFY] (inotify_check_files): New function.
19939 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19940 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19942 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19944 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19946 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19947 loaded if not already and that a failure is permanent.
19949 2013-02-08 Carlos O'Donell <carlos@redhat.com>
19952 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19953 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19955 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19958 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19959 (CHECK_1_NULL_OK): Likewise.
19960 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19961 (__fxstat): Do not use CHECK_1.
19962 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19964 (___fxstat64): Do not use CHECK_1.
19965 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19967 (__fxstatat): Do not use CHECK_1.
19968 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19970 (__fxstatat64): Do not use CHECK_1.
19971 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19973 (__fxstat): Do not use CHECK_1.
19974 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19976 (__fxstatat): Do not use CHECK_1.
19977 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19979 (__getresgid): Do not use CHECK_1.
19980 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19982 (__getresuid): Do not use CHECK_1.
19983 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19985 (__lxstat): Do not use CHECK_1.
19986 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19988 (__old_msgctl): Do not use CHECK_1.
19989 (__new_msgctl): Likewise.
19990 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19992 (__new_setrlimit): Do not use CHECK_1.
19993 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19995 (__old_shmctl): Do not use CHECK_1.
19996 (__new_shmctl): Likewise.
19997 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19999 (__xstat): Do not use CHECK_1.
20000 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20001 (__lxstat): Do not use CHECK_1.
20002 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20004 (___lxstat64): Do not use CHECK_1.
20005 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20006 (__old_msgctl): Do not use CHECK_1.
20007 (__new_msgctl): Likewise.
20008 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20010 (__gettimeofday): Do not use CHECK_1.
20011 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20012 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20013 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20015 (__gettimeofday): Do not use CHECK_1.
20016 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20017 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20018 (__new_shmctl): Do not use CHECK_1.
20019 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20021 (do_sigtimedwait): Do not use CHECK_1.
20022 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20024 (do_sigwaitinfo): Do not use CHECK_1.
20025 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20027 (msgctl): Do not use CHECK_1.
20028 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20030 (shmctl): Do not use CHECK_1.
20031 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20032 (ustat): Do not use CHECK_1.
20033 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20035 (__fxstat): Do not use CHECK_1.
20036 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20038 (__fxstatat): Do not use CHECK_1.
20039 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20041 (__lxstat): Do not use CHECK_1.
20042 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20044 (__xstat): Do not use CHECK_1.
20045 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20046 (__xstat): Do not use CHECK_1.
20047 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20048 (___xstat64): Do not use CHECK_1.
20051 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20053 (CHECK_BOUNDS_HIGH): Likewise.
20054 * string/strcpy.c: Do not include <bp-checks.h>.
20055 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20057 2013-02-07 Roland McGrath <roland@hack.frob.com>
20059 * nscd/nscd-client.h (__nscd_drop_map_ref):
20060 Add __attribute__ ((unused)).
20061 * nis/nss-nisplus.h (niserr2nss): Likewise.
20063 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20064 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20066 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20067 Remove inline keyword.
20068 * include/rounding-mode.h (round_away): Likewise.
20069 * libio/wfileops.c (adjust_wide_data): Likewise.
20070 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20071 (__m128i_strloadu_tolower): Likewise.
20072 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20073 (__m128i_strloadu_tolower): Likewise.
20074 * time/mktime.c (ydhms_diff): Likewise.
20075 * locale/elem-hash.h (elem_hash): Likewise.
20076 * locale/setlocale.c (setdata): Likewise.
20077 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20078 (re_string_wchar_at): Likewise.
20079 (bitset_not, bitset_merge, bitset_mask): Likewise.
20080 [!(__GNUC__ > 3)] (inline): Remove macro.
20081 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20082 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20083 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20084 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20085 * string/memcmp.c (memcmp_bytes): Likewise.
20086 * locale/programs/locarchive.c (compute_hashval): Likewise.
20087 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20088 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20089 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20090 * nss/getent.c (print_rpc, print_protocols): Likewise.
20091 (print_passwd, print_group, print_aliases): Likewise.
20092 * nis/nss-nisplus.h (niserr2nss): Likewise.
20093 * nscd/connections.c (restart_p): Likewise.
20094 Change return type to bool.
20096 2013-02-05 Roland McGrath <roland@hack.frob.com>
20098 * Makeconfig (all-Depend-files): Add existing
20099 $(sorted-subdirs:=/Depend) files.
20100 (all-subdirs): Remove nss.
20101 * sysdeps/unix/inet/Subdirs: Add it here instead.
20102 * hesiod/Depend: New file.
20104 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20105 instead of calling alloca.
20107 * io/lseek.c (__lseek): Rename to __libc_lseek.
20108 Define __lseek as an alias.
20110 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20112 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20114 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20115 else clause and remove check for non-standard endianness.
20117 2013-02-04 David S. Miller <davem@davemloft.net>
20119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20121 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20124 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20125 (__ubp_memchr): Remove prototype.
20126 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20127 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20128 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20129 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20130 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20132 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20133 (__ubp_memchr): Likewise.
20134 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20135 (__ubp_memchr): Likewise.
20136 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20137 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20138 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20139 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20141 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20142 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20143 (__getcwd): Do not use CHECK_STRING.
20144 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20146 (__real_chown): Do not use CHECK_STRING.
20147 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20149 (fchownat): Do not use CHECK_STRING.
20150 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20152 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20154 (__lchown): Do not use CHECK_STRING.
20155 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20156 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20157 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20158 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20160 include <bp-checks.h>.
20161 (truncate64): Do not use CHECK_STRING.
20162 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20164 (__real_chown): Do not use CHECK_STRING.
20165 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20167 (__lchown): Do not use CHECK_STRING.
20168 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20170 (__chown): Do not use CHECK_STRING.
20171 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20173 (truncate64): Do not use CHECK_STRING.
20174 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20176 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20177 (__xmknod): Do not use CHECK_STRING.
20178 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20180 (__xmknodat): Do not use CHECK_STRING.
20181 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20182 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20184 2013-02-04 Andreas Schwab <schwab@suse.de>
20187 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20188 * include/netdb.h: Likewise for h_errno.
20189 * elf/tst-stackguard1.c: Include <tls.h>.
20191 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20193 * elf/link.h (struct link_map): Extend the l_addr comment.
20194 * include/link.h (struct link_map): Likewise.
20196 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20199 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20200 (BOUNDED_1): Remove macro.
20201 * debug/backtrace.c: Don't include <bp-checks.h>.
20202 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20203 (__backtrace): Likewise.
20204 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20206 (__backtrace): Don't use BOUNDED_1.
20207 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20209 (__backtrace): Don't use BOUNDED_1.
20210 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20211 (__backtrace): Don't use BOUNDED_1.
20212 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20213 (shmat): Don't use BOUNDED_N.
20215 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20218 * sysdeps/generic/bp-start.h: Remove file.
20219 * csu/libc-start.c: Don't include <bp-start.h>.
20220 (LIBC_START_MAIN): Set up __environ directly instead of using
20221 INIT_ARGV_and_ENVIRON.
20222 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20226 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20228 (CHECK_FCNTL): Likewise.
20229 (CHECK_N_PAGES): Likewise.
20232 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20234 (CHECK_SIGSET_NULL_OK): Likewise.
20235 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20237 (sigpending): Don't use CHECK_SIGSET.
20238 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20240 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20241 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20243 (do_sigsuspend): Don't use CHECK_SIGSET.
20244 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20246 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20247 (do_sigwait): Don't use CHECK_SIGSET.
20248 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20250 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20251 include <bp-checks.h>.
20252 (sigpending): Don't use CHECK_SIGSET.
20253 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20254 include <bp-checks.h>.
20255 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20256 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20258 (sigpending): Don't use CHECK_SIGSET.
20259 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20261 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20264 * sysdeps/generic/bp-semctl.h: Remove file.
20265 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20266 <bp-checks.h> and <bp-semctl.h>.
20267 (__old_semctl): Don't use CHECK_SEMCTL.
20268 (__new_semctl): Likewise.
20269 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20271 (__old_semctl): Don't use CHECK_SEMCTL.
20272 (__new_semctl): Likewise.
20273 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20274 <bp-checks.h> and <bp-semctl.h>.
20275 (__old_semctl): Don't use CHECK_SEMCTL.
20276 (__new_semctl): Likewise.
20277 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20278 <bp-checks.h> and <bp-semctl.h>.
20279 (semctl): Don't use CHECK_SEMCTL.
20282 * Makerules (elide-bp-thunks): Remove variable.
20283 (elide-routines.oS): Don't use $(elide-bp-thunks).
20284 (elide-routines.os): Likewise.
20285 (elide-routines.o): Likewise.
20286 (elide-routines.op): Likewise.
20287 (elide-routines.og): Likewise.
20288 (objects): Don't use $(bp-thunks).
20289 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20291 (common-generated): Do not add s-proto-bp.d.
20292 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20295 Do not generate makefile rules for bounded-pointer thunks.
20296 * sysdeps/generic/bp-thunks.h: Remove file.
20297 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20298 * sysdeps/unix/s-proto-bp.S: Likewise.
20301 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20302 parts of result separately when argument is not close to line from
20303 -i to i and one part of argument is small.
20304 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20305 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20306 * math/libm-test.inc (cacos_test): Add more tests.
20307 (casin_test): Likewise.
20308 (casinh_test): Likewise.
20309 * sysdeps/i386/fpu/libm-test-ulps: Update.
20310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20312 2013-01-31 David S. Miller <davem@davemloft.net>
20314 * po/de.po: Update from translation team.
20316 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20318 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20320 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20322 * configure.in (_AC_PROG_CC_C89): New definition.
20323 * configure: Regenerate.
20325 * configure.in (AC_PROG_CPP): New definition.
20326 * configure: Regenerate.
20328 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20330 * debug/tst-backtrace.h: New file.
20331 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20332 (ret): Remove variable.
20334 (FAIL): Remove macro.
20335 (NO_INLINE): Likewise.
20336 (fn1): Use match function instead of strstr.
20337 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20338 (ret): Remove variable.
20340 (FAIL): Remove macro.
20341 (NO_INLINE): Likewise.
20342 (fn): Use match function instead of strstr.
20343 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20344 (ret): Remove variable.
20346 (FAIL): Remove macro.
20347 (NO_INLINE): Likewise.
20348 (handle_signal): Use match function instead of strstr.
20349 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20350 (ret): Remove variable.
20352 (FAIL): Remove macro.
20353 (NO_INLINE): Likewise.
20354 (handle_signal): Use match function instead of strstr.
20356 2013-01-23 Roland McGrath <roland@hack.frob.com>
20358 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20360 2013-01-23 David S. Miller <davem@davemloft.net>
20362 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20363 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20364 argument of CAS if possible.
20365 * sysdeps/sparc/sparc64/bits/atomic.h
20366 (__arch_compare_and_exchange_val_32_acq): Likewise.
20367 (__arch_compare_and_exchange_val_64_acq): Likewise.
20369 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20371 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20372 * sysdeps/posix/ulimit.c: ... this.
20373 Include <limits.h>.
20374 * sysdeps/unix/bsd/ulimit.c: Remove file.
20376 2013-01-23 Adam Conrad <adconrad@0c3.net>
20378 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20379 (LDFLAGS-tst-array5): Likewise.
20381 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20384 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20385 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20386 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20387 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20389 2013-01-21 David S. Miller <davem@davemloft.net>
20391 * sysdeps/sparc/backtrace.c: New file.
20392 * sysdeps/sparc/sparc32/backtrace.h: New file.
20393 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20394 * sysdeps/sparc/sparc64/backtrace.h: New file.
20395 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20396 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20399 2013-01-21 Andreas Schwab <schwab@suse.de>
20402 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20405 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20411 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20412 Mark Mitchell <mark@codesourcery.com>
20413 Tom de Vries <tom@codesourcery.com>
20414 Paul Pluzhnikov <ppluzhnikov@google.com>
20416 * debug/tst-backtrace2.c: New file.
20417 * debug/tst-backtrace3.c: Likewise.
20418 * debug/tst-backtrace4.c: Likewise.
20419 * debug/tst-backtrace5.c: Likewise.
20420 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20421 (CFLAGS-tst-backtrace3.c): Likewise.
20422 (CFLAGS-tst-backtrace4.c): Likewise.
20423 (CFLAGS-tst-backtrace5.c): Likewise.
20424 (LDFLAGS-tst-backtrace2): Likewise.
20425 (LDFLAGS-tst-backtrace3): Likewise.
20426 (LDFLAGS-tst-backtrace4): Likewise.
20427 (LDFLAGS-tst-backtrace5): Likewise.
20428 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20429 tst-backtrace4 and tst-backtrace5.
20431 2013-01-18 Anton Blanchard <anton@samba.org>
20432 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20434 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20435 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20436 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20437 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20439 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20440 "+r" and remove output regs list as redundant. Add explicit inline
20441 asm to specify register of return val to work around compiler codegen
20442 bug. Remove (int) cast on return value. Add return type parameter to
20443 use in macro so that this macro does not truncate return value for
20445 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20446 pass to INTERNAL_VSYSCALL_NCS.
20447 (INLINE_VSYSCALL): Add 'long int' as return type to
20448 INTERNAL_VSYSCALL_NCS macro invocation.
20449 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20450 INTERNAL_VSYSCALL_NCS macro invocation.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20453 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20456 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20457 Fix application of SIMD FP exception mask.
20459 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20460 mp_no from a power of two.
20461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20462 __mpexp_twomm1. Use __pow_mp.
20464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20467 2013-01-17 David S. Miller <davem@davemloft.net>
20469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20471 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20474 * include/complex.h: Condition contents on [!_COMPLEX_H].
20475 (__kernel_casinhf): New prototype.
20476 (__kernel_casinh): Likewise.
20477 (__kernel_casinhl): Likewise.
20478 * math/Makefile (libm_calls): Add k_casinh.
20479 * math/k_casinh.c: New file.
20480 * math/k_casinhf.c: Likewise.
20481 * math/k_casinhl.c: Likewise.
20482 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20483 finite nonzero arguments.
20484 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20485 finite nonzero arguments.
20486 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20487 finite nonzero arguments.
20488 * math/s_casinh.c: Do not include <float.h>.
20489 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20490 * math/s_casinhf.c: Do not include <float.h>.
20491 (__casinhf): Move code for finite nonzero arguments to
20493 * math/s_casinhl.c: Do not include <float.h>.
20494 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20496 (__casinhl): Move code for finite nonzero arguments to
20498 * math/libm-test.inc (cacos_test): Add more tests.
20499 * sysdeps/i386/fpu/libm-test-ulps: Update.
20500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20502 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20504 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20505 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20506 [!HAVE_MREMAP]: Remove [defined linux] case.
20507 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20509 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20511 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20513 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20515 * elf/elf.h (R_386_SIZE32): New relocation.
20516 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20518 (elf_machine_rela): Likewise.
20519 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20520 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20522 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20524 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20525 (FP_FAST_FMA): Do not define.
20526 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20527 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20528 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20529 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20530 !_SOFT_FLOAT]: Likewise.
20531 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20532 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20534 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20535 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20536 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20537 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20538 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20539 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20542 2013-01-16 Andreas Schwab <schwab@suse.de>
20545 * include/stdlib.h (__mktemp): Add declaration.
20546 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20547 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20549 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20551 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20553 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20554 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20555 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20557 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20558 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20560 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20562 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20563 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20564 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20566 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20567 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20569 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20571 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20573 2013-01-15 David S. Miller <davem@davemloft.net>
20575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20576 trunc{,f} to libm-sysdep_routes.
20577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20587 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20588 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20589 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20590 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20591 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20592 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20595 nearbyint{,f} to libm-sysdep_routes.
20596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20607 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20609 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20612 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20613 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20614 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20616 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20617 libc_feholdexcept and libc_fesetenv.
20619 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20621 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20623 2013-01-14 David S. Miller <davem@davemloft.net>
20625 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20626 (SPARC_ASM_VIS2_IFUNC): Likewise.
20627 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20629 use of 'siam' instruction.
20630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20663 routines to libm-sysdep_routines.
20664 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20667 fdim/fdimf to libm-sysdep_routines.
20668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20676 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20677 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20678 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20679 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20681 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20683 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20684 to optimize copies.
20686 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20691 local variable MPTWO.
20692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20695 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20697 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20700 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20702 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20704 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20706 * manual/pattern.texi (glob_t): Document gl_flags.
20707 (glob64_t): Likewise.
20709 2013-01-11 David S. Miller <davem@davemloft.net>
20711 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20712 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20713 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20714 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20715 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20716 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20717 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20718 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20719 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20720 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20721 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20722 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20723 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20725 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20726 sparc V9 rather than using V8 code.
20727 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20728 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20730 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20732 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20735 2013-01-11 Roland McGrath <roland@hack.frob.com>
20737 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20738 not in the main loop.
20739 * configure: Regenerated.
20741 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20743 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20744 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20746 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20747 [!__GLIBC_HAVE_LONG_LONG] case.
20748 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20749 condition to just #else.
20750 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20751 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20752 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20753 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20755 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20756 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20757 #elif condition to just #else.
20758 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20759 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20760 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20761 #elif condition to just #else.
20763 2013-01-11 Steve Ellcey <sellcey@mips.com>
20765 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20766 (EF_MIPS_ARCH_64): Fix value.
20767 (EF_MIPS_ARCH_32R2): New.
20768 (EF_MIPS_ARCH_64R2): New.
20770 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20772 * Makeconfig (+link-pie-before-libc): New.
20773 (+link-pie-after-libc): Likewise.
20774 (+link-pie-tests): Likewise.
20775 (+link-pie): Rewritten.
20776 (link-before-libc): Remove $(config-LDFLAGS).
20777 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20778 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20779 (config-LDFLAGS): Renamed to ...
20780 (rtld-LDFLAGS): This.
20781 (rtld-tests-LDFLAGS): New macro.
20782 (link-libc-rpath-link): Likewise.
20783 (link-libc-tests-rpath-link): Likewise.
20784 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20785 (link-libc): Prepand $(link-libc-rpath-link).
20786 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20787 (test-program-prefix): New macro.
20788 (test-via-rtld-prefix): Likewise.
20789 (test-program-cmd): Likewise.
20790 (host-test-program-cmd): Likewise.
20791 * Makefile ($(common-objpfx)testrun.sh): Replace
20792 $(run-program-prefix) with $(test-program-prefix).
20793 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20795 ($(common-objpfx)shlib.lds): Likewise.
20796 (build-module-helper): Likewise.
20797 ($(common-objpfx)format.lds): Likewise.
20798 * Rules (binaries-pie-tests): New.
20799 (binaries-pie-notests): Likewise.
20800 (binaries-pie): Rewritten.
20801 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20802 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20803 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20804 (make-test-out): Replace $(host-built-program-cmd) with
20805 $(host-test-program-cmd).
20806 * config.make.in (build-hardcoded-path-in-tests): New variable.
20807 * configure.in (--enable-hardcoded-path-in-tests): New configure
20809 (hardcoded_path_in_tests): New AC_SUBST.
20810 * configure: Regenerated.
20811 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20812 $(built-program-cmd) with $(test-program-cmd).
20813 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20814 (test_program_cmd): This.
20815 * elf/Makefile ($(objpfx)order.out): Run test with
20816 $(test-program-prefix).
20817 ($(objpfx)order2.out): Likewise.
20818 ($(objpfx)tst-initorder.out): Likewise.
20819 ($(objpfx)tst-initorder2.out): Likewise.
20820 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20821 $(test-program-cmd).
20822 ($(objpfx)tst-array1-static.out): Likewise.
20823 ($(objpfx)tst-array2.out): Likewise.
20824 ($(objpfx)tst-array3.out): Likewise.
20825 ($(objpfx)tst-array4.out): Likewise.
20826 ($(objpfx)tst-array5.out): Likewise.
20827 ($(objpfx)tst-array5-static.out): Likewise.
20828 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20829 $(test-program-cmd).
20830 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20831 $(run-program-prefix) with $(test-program-prefix).
20832 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20833 (test_program_prefix): This.
20834 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20835 $(run-program-prefix) with $(test-program-prefix).
20836 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20837 (test_program_prefix): This.
20838 * iconvdata/tst-tables.sh: Likewise.
20839 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20840 $(run-program-prefix) with $(test-program-prefix).
20841 ($(objpfx)tst-translit.out): Likewise.
20842 ($(objpfx)tst-gettext2.out): Likewise.
20843 ($(objpfx)tst-gettext4.out): Likewise.
20844 ($(objpfx)tst-gettext6.out): Likewise.
20845 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20846 (test_program_prefix): This.
20847 * intl/tst-gettext2.sh: Likewise.
20848 * intl/tst-gettext4.sh Likewise.
20849 * intl/tst-gettext6.sh: Likewise.
20850 * intl/tst-translit.sh: Likewise.
20851 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20852 with $(test-program-cmd).
20853 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20854 $(run-program-prefix) with $(test-program-prefix).
20855 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20856 (test_program_prefix): This.
20857 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20858 $(run-program-prefix) with $(test-program-prefix).
20859 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20860 (test_program_prefix): This.
20861 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20862 * posix/Makefile ($(objpfx)globtest.out): Replace
20863 $(run-via-rtld-prefix) and $(test-wrapper) with
20864 $(test-program-prefix) and $(test-via-rtld-prefix).
20865 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20866 $(test-program-prefix).
20867 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20868 $(host-test-program-cmd).
20869 (tst-spawn-ARGS): Likewise.
20870 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20871 $(test-program-prefix).
20872 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20873 (test_via_rtld_prefix): This.
20874 (test_wrapper): Renamed to ...
20875 (test_program_prefix): This.
20876 (run_program_prefix): Replaced by test_program_prefix.
20877 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20878 (test_program_prefix): This.
20879 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20880 with $(host-test-program-cmd).
20881 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20882 $(run-program-prefix) with $(test-program-prefix).
20883 ($(objpfx)tst-printf.out): Likewise.
20884 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20885 $(test-program-cmd).
20886 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20887 (test_program_prefix): This.
20888 * stdio-common/tst-unbputc.sh: Likewise.
20889 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20890 $(run-program-prefix) with $(test-program-prefix).
20891 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20892 (test_program_prefix): This.
20893 * string/Makefile ($(objpfx)tst-svc.out): Replace
20894 $(built-program-cmd) with $(test-program-cmd).
20896 2013-01-11 Andreas Jaeger <aj@suse.de>
20899 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20900 value. Sync with Linux 3.7.
20902 2013-01-10 David S. Miller <davem@davemloft.net>
20904 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20905 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20906 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20908 2013-01-10 Roland McGrath <roland@hack.frob.com>
20910 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20912 * configure: Regenerated.
20914 2013-01-10 David S. Miller <davem@davemloft.net>
20916 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20917 sparc V9 rather than using V8 code.
20918 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20919 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20921 2013-01-10 Roland McGrath <roland@hack.frob.com>
20923 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20924 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20925 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20926 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20927 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20928 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20929 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20930 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20931 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20932 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20933 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20934 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20935 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20936 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20937 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20938 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20939 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20940 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20941 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20942 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20943 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20944 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20945 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20946 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20947 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20948 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20949 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20951 2013-01-10 David S. Miller <davem@davemloft.net>
20953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20955 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20957 * posix/Makefile (tests-static): New variable.
20958 (tests): Add $(tests-static).
20959 (tst-exec-static-ARGS): New variable.
20960 (tst-spawn-static-ARGS): Likewise.
20961 * posix/tst-exec-static.c: New file.
20962 * posix/tst-spawn-static.c: Likewise.
20963 * posix/tst-exec.c: Support run directly.
20964 * posix/tst-spawn.c: Likewise.
20966 2013-01-10 Joseph Myers <joseph@codesourcery.com>
20968 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20970 * math/bits/mathcalls.h (llrint): Likewise.
20971 (llround): Likewise.
20972 * stdlib/stdlib.h (struct drand48_data): Likewise.
20973 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20974 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20975 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20977 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20979 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20980 (elf_greg_t): Likewise.
20981 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20982 (__jmp_buf): Likewise.
20983 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20985 (llrint): Likewise, for all definitions.
20986 (llrintl): Likewise.
20988 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20989 Remove [__GNUC__] condition.
20990 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20991 condition to just [__USE_ISOC99].
20992 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20994 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20997 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20998 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21000 (_POSIX_V6_ILP32_OFF32): Likewise.
21001 (_XBS5_ILP32_OFF32): Likewise.
21002 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21003 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21005 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21007 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21010 doubles __mpexp_twomm1. Adjust usage.
21011 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21014 2013-01-10 Andreas Schwab <schwab@suse.de>
21017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21018 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21020 2013-01-09 David S. Miller <davem@davemloft.net>
21023 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21024 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21025 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21026 (TCP_FASTOPEN): Define.
21027 (tcp_repair_opt): New structure.
21028 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21030 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21031 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21032 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21033 (tcp_cookie_transactions): New structure.
21035 2013-01-09 Anton Blanchard <anton@samba.org>
21037 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21038 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21039 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21040 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21042 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21044 * include/features.h (__USE_ANSI): Remove.
21046 2013-01-09 Roland McGrath <roland@hack.frob.com>
21048 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21050 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21052 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21054 * sysdeps/s390/fpu/libm-test-ulps: Update.
21056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21058 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21062 (denorm): Likewise.
21063 (__mp_dbl): Likewise.
21064 (__dbl_mp): Likewise.
21065 (add_magnitudes): Likewise.
21066 (sub_magnitudes): Likewise.
21072 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21076 (denorm): Likewise.
21077 (__mp_dbl): Likewise.
21078 (__dbl_mp): Likewise.
21079 (add_magnitudes): Likewise.
21080 (sub_magnitudes): Likewise.
21086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21090 (denorm): Likewise.
21091 (__mp_dbl): Likewise.
21092 (__dbl_mp): Likewise.
21093 (add_magnitudes): Likewise.
21094 (sub_magnitudes): Likewise.
21101 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21103 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21104 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21105 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21106 2 && __USE_EXTERN_INLINES]: Likewise.
21108 2013-01-08 Andreas Jaeger <aj@suse.de>
21111 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21113 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21114 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21116 2013-01-07 Anton Blanchard <anton@samba.org>
21118 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21119 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21120 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21121 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21122 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21123 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21124 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21125 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21128 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21129 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21130 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21132 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21133 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21134 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21136 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21137 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21138 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21139 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21141 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21142 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21143 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21144 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21145 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21147 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21148 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21151 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21152 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21153 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21154 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21155 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21156 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21157 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21158 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21160 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21162 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21164 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21165 (__MALLOC_PMT): Likewise.
21166 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21167 [__GNUC__], only on [_LIBC].
21168 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21169 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21170 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21171 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21172 forward declaration.
21173 (realloc_hook_ini): Likewise.
21174 (memalign_hook_ini): Likewise.
21175 (__libc_memalign): Do not use __MALLOC_PMT in variable
21177 (__libc_valloc): Likewise.
21178 (__libc_pvalloc): Likewise.
21179 (__libc_calloc): Likewise.
21180 (__posix_memalign): Likewise.
21183 * math/s_casinh.c: Include <float.h>.
21184 (__casinh): Do not do computation with squaring and square root
21185 for large arguments.
21186 * math/s_casinhf.c: Include <float.h>.
21187 (__casinhf): Do not do computation with squaring and square root
21188 for large arguments.
21189 * math/s_casinhl.c: Include <float.h>.
21190 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21191 (__casinhl): Do not do computation with squaring and square root
21192 for large arguments.
21193 * math/libm-test.inc (casin_test): Add more tests.
21194 (casinh_test): Likewise.
21195 * sysdeps/i386/fpu/libm-test-ulps: Update.
21196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21198 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21200 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21201 (__x86_64_raw_data_cache_size): Likewise.
21202 (__x86_64_data_cache_size_half): Likewise.
21203 (__x86_64_raw_data_cache_size_half): Likewise.
21204 (__x86_64_shared_cache_size): Likewise.
21205 (__x86_64_raw_shared_cache_size): Likewise.
21206 (__x86_64_shared_cache_size_half): Likewise.
21207 (__x86_64_raw_shared_cache_size_half): Likewise.
21208 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21210 (__x86_data_cache_size): This.
21211 (__x86_64_raw_data_cache_size): Renamed to ...
21212 (__x86_raw_data_cache_size): This.
21213 (__x86_64_data_cache_size_half): Renamed to ...
21214 (__x86_data_cache_size_half): This.
21215 (__x86_64_raw_data_cache_size_half): Renamed to ...
21216 (__x86_raw_data_cache_size_half): This.
21217 (__x86_64_shared_cache_size): Renamed to ...
21218 (__x86_shared_cache_size): This.
21219 (__x86_64_raw_shared_cache_size): Renamed to ...
21220 (__x86_raw_shared_cache_size): This.
21221 (__x86_64_shared_cache_size_half): Renamed to ...
21222 (__x86_shared_cache_size_half): This.
21223 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21224 (__x86_raw_shared_cache_size_half): This.
21225 * sysdeps/x86_64/memcpy.S: Updated.
21226 * sysdeps/x86_64/memset.S: Likewise.
21227 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21229 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21231 2013-01-04 David S. Miller <davem@davemloft.net>
21233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21235 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21237 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21238 1 to avoid redefinition warning.
21239 (__USE_GNU): Don't define.
21240 (init_signaling_nan): Protoize.
21242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21244 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21246 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21248 (__cpymn): Likewise.
21249 (norm): Remove commented code.
21250 (denorm): Likewise.
21251 (__mp_dbl): Likewise.
21253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21254 (__cpymn): Likewise.
21255 (norm): Remove commented code.
21256 (denorm): Likewise.
21257 (__mp_dbl): Likewise.
21260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21261 mp_no value for 1.0 and 2.0.
21262 (norm): Use RADIXI instead of radixi.d.
21263 (denorm): Likewise.
21264 (__mul): Use 0.0 instead of zero.d.
21265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21266 mp_no value for 1.0 and 2.0.
21267 (norm): Use RADIXI instead of radixi.d.
21268 (denorm): Likewise.
21269 (__mul): Use 0.0 instead of zero.d.
21271 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21274 * math/s_casinh.c (__casinh): Reduce finite argument to first
21275 quadrant then set signs of results at the end.
21276 * math/s_casinhf.c (__casinhf): Likewise.
21277 * math/s_casinhl.c (__casinhl): Likewise.
21278 * math/libm-test.inc (casin_test): Add more tests.
21279 (casinh_test): Likewise.
21280 * sysdeps/i386/fpu/libm-test-ulps: Update.
21281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21283 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21285 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21287 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21289 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21291 (denorm): Likewise.
21292 (__mp_dbl): Likewise.
21295 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21296 and adjust the header comment.
21298 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21299 variable name from declaration.
21301 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21304 Initialize COMMON_CPUID_INDEX_7 element.
21305 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21306 (CPUID_RTM): Likewise.
21307 (HAS_RTM): Likewise.
21308 (COMMON_CPUID_INDEX_7): New enum.
21310 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21313 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21314 size is zero, record memory as freed.
21316 2013-01-03 Andreas Jaeger <aj@suse.de>
21318 * po/ia.po: Add new Interlingua translation.
21320 2012-01-03 Allan McRae <allan@archlinux.org>
21322 * locale/programs/localedef.c: Fix description of '--posix' flag.
21324 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21326 * NEWS: Update dates in second copyright notice.
21327 * README: Update copyright dates in example.
21328 * manual/libc.texinfo: Update copyright dates.
21329 * scripts/test-installation.pl: Update copyright date in --version
21332 * hurd/ctty-input.c: Fix copyright notice formatting.
21333 * hurd/ctty-output.c: Likewise.
21334 * hurd/dtable.c: Likewise.
21335 * hurd/hurd-raise.c: Likewise.
21336 * hurd/hurdprio.c: Likewise.
21337 * hurd/msgportdemux.c: Likewise.
21338 * misc/sys/file.h: Likewise.
21339 * misc/sys/ioctl.h: Likewise.
21340 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21341 * sysdeps/mach/hurd/chdir.c: Likewise.
21342 * sysdeps/mach/hurd/fchdir.c: Likewise.
21343 * sysdeps/mach/hurd/rename.c: Likewise.
21344 * sysdeps/mach/hurd/rmdir.c: Likewise.
21345 * sysdeps/mach/hurd/seekdir.c: Likewise.
21346 * sysdeps/mach/hurd/setsid.c: Likewise.
21347 * sysdeps/posix/wait3.c: Likewise.
21349 * All files with FSF copyright notices: Update copyright dates
21350 using scripts/update-copyrights.
21351 * intl/plural.c: Regenerated.
21352 * locale/programs/charmap-kw.h: Likewise.
21353 * locale/programs/locfile-kw.h: Likewise.
21355 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21357 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21360 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21361 calculation loop and add branch prediction.
21363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21364 check access beyond bounds of m1np.
21366 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21368 (__inv): Remove local variable MPTWO to use the global
21370 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21371 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21373 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21374 MP3HALFS static const.
21376 2013-01-01 David S. Miller <davem@davemloft.net>
21378 * po/ca.po: Update from translation team.
21380 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21382 * scripts/update-copyrights: New file.
21383 * Makeconfig: Reformat copyright notice.
21384 * ctype/ctype.h: Likewise.
21385 * debug/swprintf_chk.c: Likewise.
21386 * elf/dl-cache.c: Likewise.
21387 * elf/dl-debug.c: Likewise.
21388 * elf/dl-object.c: Likewise.
21389 * grp/initgroups.c: Likewise.
21390 * hurd/Makefile: Likewise.
21391 * hurd/hurd/signal.h: Likewise.
21392 * hurd/hurdfault.c: Likewise.
21393 * hurd/hurdioctl.c: Likewise.
21394 * hurd/hurdlookup.c: Likewise.
21395 * hurd/intr-msg.c: Likewise.
21396 * iconv/gconv_open.c: Likewise.
21397 * libio/swprintf.c: Likewise.
21398 * locale/lc-ctype.c: Likewise.
21399 * locale/nl_langinfo.c: Likewise.
21400 * mach/Machrules: Likewise.
21401 * mach/Makefile: Likewise.
21402 * malloc/obstack.h: Likewise.
21403 * manual/Makefile: Likewise.
21404 * manual/tsort.awk: Likewise.
21405 * misc/bits/stab.def: Likewise.
21406 * nis/nis_print_group_entry.c: Likewise.
21407 * nis/nis_table.c: Likewise.
21408 * nis/nss_compat/compat-pwd.c: Likewise.
21409 * nis/nss_compat/compat-spwd.c: Likewise.
21410 * po/Makefile: Likewise.
21411 * posix/fnmatch.c: Likewise.
21412 * posix/regex.h: Likewise.
21413 * resolv/Makefile: Likewise.
21414 * resolv/nss_dns/dns-network.c: Likewise.
21415 * resolv/res_hconf.c: Likewise.
21416 * scripts/gen-sorted.awk: Likewise.
21417 * soft-fp/soft-fp.h: Likewise.
21418 * stdio-common/printf.h: Likewise.
21419 * stdlib/monetary.h: Likewise.
21420 * stdlib/random.c: Likewise.
21421 * stdlib/random_r.c: Likewise.
21422 * sysdeps/generic/Makefile: Likewise.
21423 * sysdeps/gnu/Makefile: Likewise.
21424 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21426 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21428 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21429 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21431 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21434 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21435 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21436 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21437 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21438 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21439 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21440 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21442 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21444 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21445 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21446 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21447 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21448 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21449 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21450 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21451 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21452 * sysdeps/mach/hurd/errnos.awk: Likewise.
21453 * sysdeps/mach/hurd/fork.c: Likewise.
21454 * sysdeps/mach/hurd/getcwd.c: Likewise.
21455 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21456 * sysdeps/mach/hurd/mmap.c: Likewise.
21457 * sysdeps/mach/hurd/utimes.c: Likewise.
21458 * sysdeps/mach/hurd/xmknod.c: Likewise.
21459 * sysdeps/posix/profil.c: Likewise.
21460 * sysdeps/posix/readdir_r.c: Likewise.
21461 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21462 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21463 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21464 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21466 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21468 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21470 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21471 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21472 * sysdeps/pthread/lio_listio.c: Likewise.
21473 * sysdeps/sparc/dl-procinfo.h: Likewise.
21474 * sysdeps/unix/i386/sysdep.S: Likewise.
21475 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21476 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21477 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21478 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21480 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21481 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21482 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21483 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21484 * sysdeps/wordsize-32/divdi3.c: Likewise.
21485 * time/sys/time.h: Likewise.
21486 * wcsmbs/Makefile: Likewise.
21488 2013-01-01 David S. Miller <davem@davemloft.net>
21490 * po/fr.po: Update from translation team.
21492 * catgets/gencat.c: Update copyright year.
21493 * csu/version.c: Likewise.
21494 * debug/catchsegv.sh: Likewise.
21495 * debug/pcprofiledump.c: Likewise.
21496 * debug/xtrace.sh: Likewise.
21497 * elf/ldconfig.c: Likewise.
21498 * elf/ldd.bash.in: Likewise.
21499 * elf/pldd.c: Likewise.
21500 * elf/sotruss.ksh: Likewise.
21501 * elf/sprof.c: Likewise.
21502 * iconv/iconv_prog.c: Likewise.
21503 * iconv/iconvconfig.c: Likewise.
21504 * locale/programs/locale.c: Likewise.
21505 * locale/programs/localedef.c: Likewise.
21506 * login/programs/pt_chown.c: Likewise.
21507 * malloc/memusage.sh: Likewise.
21508 * malloc/memusagestat.c: Likewise.
21509 * malloc/mtrace.pl: Likewise.
21510 * nscd/nscd.c: Likewise.
21511 * nss/getent.c: Likewise.
21512 * nss/makedb.c: Likewise.
21513 * posix/getconf.c: Likewise.
21515 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21517 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21520 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21522 * math/bits/mathcalls.h (modf): Use __nonnull.
21524 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21526 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21527 (split): Use macro CN instead of the bare value.
21528 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21531 instead of the bare value.
21532 (power1): Likewise.
21534 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21538 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21540 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21542 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21543 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21544 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21545 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21547 2012-12-28 Andreas Jaeger <aj@suse.de>
21549 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21550 values are from Linux 3.7.
21552 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21553 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21555 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21557 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21560 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21562 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21563 variables with preprocessor constants.
21564 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21565 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21566 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21568 2012-12-27 Bruno Haible <bruno@clisp.org>
21571 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21574 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21577 and use variable directly.
21578 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21580 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21582 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21583 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21585 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21586 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21587 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21588 include directive. Remove local variable MPONE.
21589 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21590 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21591 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21593 2012-12-25 David S. Miller <davem@davemloft.net>
21595 * version.h (RELEASE): Set to "development".
21596 (VERSION): Set to "2.17.90".
21597 * NEWS: Add 2.18 section.
21599 2012-12-21 David S. Miller <davem@davemloft.net>
21601 * po/hr.po: Update from translation team.
21603 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21605 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21607 2012-12-19 Steve Ellcey <sellcey@mips.com>
21609 * NEWS: Mention new memcpy for MIPS.
21611 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21613 * manual/contrib.texi (Contributors): Spelling correction.
21615 2012-12-15 David S. Miller <davem@davemloft.net>
21617 * po/ru.po: Update from translation team.
21619 2012-12-13 David S. Miller <davem@davemloft.net>
21621 * NEWS: Mention IFUNC testsuite enhancements.
21623 * po/pl.po: Update from translation team.
21624 * po/bg.po: Likewise.
21626 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21627 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21629 2012-12-11 David S. Miller <davem@davemloft.net>
21631 * po/sv.po: Update from translation team.
21633 * po/vi.po: Update from translation team.
21635 * po/cs.po: Update from translation team.
21637 * po/de.po: Update from translation team.
21638 * po/eo.po: Likewise.
21639 * po/nl.po: Likewise.
21641 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21644 * manual/argp.texi (Argp Helper Functions): Move node to follow
21645 Argp Parsing State.
21648 * manual/conf.texi (Limits on File System Capacity): Mention if
21649 terminating null is included in the max size.
21651 2012-12-10 Andreas Jaeger <aj@suse.de>
21653 * po/cs.po: Update from translation team.
21655 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21657 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21658 void pointer and cast to uintptr_t.
21659 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21661 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21662 * sysdeps/s390/s390-64/memset.S: Likewise.
21664 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21667 * menual/message.texi (Message Translation): Fix typos.
21668 (Helper programs for gettext): Likewise.
21670 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21673 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21676 2012-12-07 David S. Miller <davem@davemloft.net>
21678 * po/libc.pot: Update.
21680 2012-12-07 Richard Henderson <rth@redhat.com>
21683 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21684 normal/normal case to before the switch.
21685 (_FP_DIV): Likewise.
21687 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21688 Mike Frysinger <vapier@gentoo.org>
21690 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21691 check for __NR_fadvise64_64.
21693 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21695 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21696 0, not just to plain "0" as a statement.
21697 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21700 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21702 * NEWS: Use sourceware.org in Bugzilla URL.
21704 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21707 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21709 * stdio-common/tst-put-error.c (do_test): Add newline to the
21710 padded test to ensure flush.
21712 2012-12-05 Jeff Law <law@redhat.com>
21714 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21716 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21718 * README: Don't refer to ports add-on as distributed separately.
21719 Mention AArch64 in list of systems supported in the ports add-on.
21721 * LICENSES: Add more non-FSF copyright and license notices.
21723 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21726 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21728 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21729 10000 as width of padded output.
21731 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21733 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21735 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21736 variable LX with __attribute__ ((unused)).
21737 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21739 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21742 with __attribute__ ((unused)).
21744 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21746 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21748 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21750 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21751 (CFLAGS-nldbl-acos.c): New variable.
21752 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21753 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21754 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21755 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21756 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21757 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21758 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21759 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21760 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21761 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21762 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21763 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21764 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21765 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21766 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21767 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21768 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21769 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21770 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21771 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21772 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21773 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21774 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21775 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21776 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21777 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21778 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21779 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21780 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21781 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21782 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21783 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21784 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21785 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21786 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21787 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21788 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21789 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21790 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21791 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21792 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21793 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21794 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21795 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21796 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21797 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21798 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21799 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21800 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21801 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21802 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21803 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21804 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21805 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21806 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21807 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21808 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21809 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21810 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21811 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21812 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21813 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21814 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21815 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21816 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21817 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21818 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21819 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21820 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21821 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21822 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21823 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21824 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21825 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21826 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21827 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21828 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21829 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21830 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21831 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21832 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21833 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21834 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21835 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21836 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21837 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21838 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21839 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21840 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21841 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21842 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21843 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21844 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21845 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21846 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21847 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21848 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21851 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21854 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21855 whole low double instead of just low 47 bits when splitting values
21858 2012-12-03 Allan McRae <allan@archlinux.org>
21860 * manual/stdio.texi (Predefined Printf Handlers): Remove
21861 @hsep and @vsep usage.
21863 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21865 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21866 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21868 2012-12-03 Jeff Law <law@redhat.com>
21870 * time/sys/time.h (settimeofday): Do not mark TV argument
21873 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21875 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21876 when currently writing and seek to current position when not.
21877 * libio/Makefile (tests): Remove bug-fclose1.
21878 * libio/bug-fclose1.c: Delete.
21880 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21882 * manual/arith.texi (feenableexcept): Fix typo.
21883 (fedisableexcept): Likewise.
21885 2012-11-30 Roland McGrath <roland@hack.frob.com>
21887 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21888 second, differently-typed declaration, rather than a cast.
21890 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21892 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21893 * include/rpc/svc.h: ... here.
21895 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21898 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21899 depending n and resplen2 to catch cases where answer
21902 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21904 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21905 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21907 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21911 2012-11-29 Roland McGrath <roland@hack.frob.com>
21913 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21915 2012-11-28 Jeff Law <law@redhat.com>
21918 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21919 dataset_temporary. Track alloca usage into alloca_used.
21920 If dataset is large allocate and release it via malloc/free.
21922 2012-06-04 Florian Weimer <fweimer@redhat.com>
21925 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21927 2012-11-28 David S. Miller <davem@davemloft.net>
21929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21931 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21934 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21935 of pi/2 rounded to nearest to 64 bits.
21936 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21937 nearest to 64 bits.
21938 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21941 2012-11-28 Jeff Law <law@redhat.com>
21942 Martin Osvald <mosvald@redhat.com>
21945 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21946 * sunrpc/svc.c: Include time.h.
21947 (__svc_accept_failed): New function.
21948 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21949 any reason other than EINTR, call __svc_accept_failed.
21950 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21951 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21953 2012-11-28 Andreas Schwab <schwab@suse.de>
21955 * scripts/abilist.awk: Also handle indirect functions in .opd
21958 2012-11-28 Joseph Myers <joseph@codesourcery.com>
21961 * sysdeps/x86/fpu/powl_helper.c: New file.
21962 * sysdeps/x86/fpu/Makefile: Likewise.
21963 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21965 (__ieee754_powl): Use __powl_helper for finite arguments except
21966 integer exponents below 8.
21967 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21969 (__ieee754_powl): Use __powl_helper for finite arguments except
21970 integer exponents below 8.
21971 * math/libm-test.inc (pow_test): Add more tests and enable some
21972 previously disabled tests.
21973 * sysdeps/i386/fpu/libm-test-ulps: Update.
21974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21976 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21977 Carlos O'Donell <carlos_odonell@mentor.com>
21979 * nss/makedb.c (is_prime): Assert that input is odd and greater
21980 than 4. Note that fact in a comment too.
21981 (next_prime): Add 4 to input.
21983 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21986 * libio/Makefile (tests): Add test case tst-fwrite-error.
21987 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21988 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21989 * libio/tst-fwrite-error.c: New test case.
21991 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21993 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21994 before casting to void *.
21995 * include/libc-internal.h (__pointer_type): New macro.
21996 (__integer_if_pointer_type_sub): Likewise.
21997 (__integer_if_pointer_type): Likewise.
21998 (cast_to_integer): Likewise.
21999 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22000 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22001 before casting to atomic64_t.
22002 (atomic_exchange_acq): Likewise.
22003 (__arch_exchange_and_add_body): Likewise.
22004 (__arch_add_body): Likewise.
22005 (atomic_add_negative): Likewise.
22006 (atomic_add_zero): Likewise.
22008 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22010 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22011 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22012 (add_fdes): Likewise.
22013 (linear_search_fdes): Likewise.
22014 (binary_search_unencoded_fdes): Likewise.
22016 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22018 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22020 2012-11-24 Adam Conrad <adconrad@0c3.net>
22022 * configure.in: Autodetect C++ header directories.
22023 * configure: Regenerated.
22025 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22027 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22029 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22033 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22035 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22036 LDBL_MANT_DIG == 106]: Disable some tests.
22037 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22039 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22044 input for small inputs. Return +/- pi/2 for large inputs.
22045 * math/libm-test.inc (atan_test): Add more tests.
22047 * sysdeps/generic/unwind-dw2-fde-glibc.c
22048 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22049 __attribute__ ((unused)).
22052 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22053 x * y if x and y are nonzero and z is zero.
22056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22057 nonzero exponents with absolute value below 0x1p-117 to +/-
22061 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22062 up arguments below 2**-450, not just those below 2**-500.
22063 * math/libm-test.inc (hypot_test): Add another test.
22066 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22067 Return a+b for ratio over 2**120, not 2**60.
22068 * math/libm-test.inc (hypot_test): Add another test.
22070 * math/libm-test.inc (clog_test): Use
22071 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22072 (clog10_test): Likewise.
22075 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22077 2012-11-22 Andreas Schwab <schwab@suse.de>
22079 * sysdeps/i386/fpu/libm-test-ulps: Update.
22081 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22083 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22084 printf output with newline.
22086 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22089 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22090 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22091 -z nodlopen, -z initfirst and -z execstack support.
22092 * configure: Regenerated.
22094 * elf/elf.h (DF_1_NODIRECT): New macro.
22095 (DF_1_IGNMULDEF): Likewise.
22096 (DF_1_NOKSYMS): Likewise.
22097 (DF_1_NOHDR): Likewise.
22098 (DF_1_EDITED): Likewise.
22099 (DF_1_NORELOC): Likewise.
22100 (DF_1_SYMINTPOSE): Likewise.
22101 (DF_1_GLOBAUDIT): Likewise.
22102 (DF_1_SINGLETON): Likewise.
22103 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22104 DT_1_SUPPORTED_MASK bits.
22105 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22107 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22109 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22111 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22113 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22116 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22117 (sendmmsg): Move declarations...
22118 * socket/sys/socket.h: ... here.
22119 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22120 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22122 * socket/recvmmsg.c: ... this new file.
22123 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22124 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22125 definition of __sendmmsg hidden.
22126 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22127 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22128 Move ENOSYS stub into and include it from...
22129 * socket/sendmmsg.c: ... this new file.
22130 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22131 (sysdep_routines): Move recvmmsg and sendmmsg...
22132 * socket/Makefile (routines): ... here.
22133 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22134 (GLIBC_PRIVATE): Add __sendmmsg.
22135 * include/sys/socket.h (__sendmmsg): Add declarations.
22136 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22139 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22142 variable I1 with __attribute__ ((unused)).
22143 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22145 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22147 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22148 DUMMY variables with __attribute__ ((unused)).
22150 * bits/byteswap.h: Include <bits/types.h>.
22151 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22153 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22155 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22156 string_t. Do not manually set errno.
22157 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22158 length with __strnlen. Make sure to both set errno and return it on
22161 2012-11-19 David S. Miller <davem@davemloft.net>
22163 With help from Joseph Myers.
22164 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22165 very large arguments properly.
22166 * math/libm-test.inc (atan_test): New tests.
22167 (atan2_test): New tests.
22168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22171 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22174 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22177 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22178 [POSIX] (EADDRNOTAVAIL): Likewise.
22179 [POSIX] (EAFNOSUPPORT): Likewise.
22180 [POSIX] (EALREADY): Likewise.
22181 [POSIX] (ECONNABORTED): Likewise.
22182 [POSIX] (ECONNREFUSED): Likewise.
22183 [POSIX] (ECONNRESET): Likewise.
22184 [POSIX] (EDESTADDRREQ): Likewise.
22185 [POSIX] (EDQUOT): Likewise.
22186 [POSIX] (EHOSTUNREACH): Likewise.
22187 [POSIX] (EIDRM): Likewise.
22188 [POSIX] (EISCONN): Likewise.
22189 [POSIX] (ELOOP): Likewise.
22190 [POSIX] (EMULTIHOP): Likewise.
22191 [POSIX] (ENETDOWN): Likewise.
22192 [POSIX] (ENETUNREACH): Likewise.
22193 [POSIX] (ENOBUFS): Likewise.
22194 [POSIX] (ENODATA): Likewise.
22195 [POSIX] (ENOLINK): Likewise.
22196 [POSIX] (ENOMSG): Likewise.
22197 [POSIX] (ENOPROTOOPT): Likewise.
22198 [POSIX] (ENOSR): Likewise.
22199 [POSIX] (ENOSTR): Likewise.
22200 [POSIX] (ENOTCONN): Likewise.
22201 [POSIX] (ENOTSOCK): Likewise.
22202 [POSIX] (EOPNOTSUPP): Likewise.
22203 [POSIX] (EOVERFLOW): Likewise.
22204 [POSIX] (EPROTO): Likewise.
22205 [POSIX] (EPROTONOSUPPORT): Likewise.
22206 [POSIX] (EPROTOTYPE): Likewise.
22207 [POSIX] (ESTALE): Likewise.
22208 [POSIX] (ETIME): Likewise.
22209 [POSIX] (ETXTBSY): Likewise.
22210 [POSIX] (EWOULDBLOCK): Likewise.
22211 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22212 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22213 [POSIX] (SEEK_CUR): Likewise.
22214 [POSIX] (SEEK_END): Likewise.
22215 [POSIX || UNIX98] (mode_t): Do not require.
22216 [POSIX] (off_t): Likewise.
22217 [POSIX] (pid_t): Likewise.
22218 [POSIX] (sys/stat.h): Do not allow header.
22219 [POSIX] (unistd.h): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22221 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22223 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22225 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22226 sigevent): Specify elements.
22227 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22229 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22230 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22232 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22233 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22234 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22235 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22236 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22237 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22238 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22239 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22240 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22241 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22242 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22243 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22244 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22245 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22247 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22249 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22251 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22253 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22254 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22255 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22256 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22257 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22258 Specify lower bound on value.
22259 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22260 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22261 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22262 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22263 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22264 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22265 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22266 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22268 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22270 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22271 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22272 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22273 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22274 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22275 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22276 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22277 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22278 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22279 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22280 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22281 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22282 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22283 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22284 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22285 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22287 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22289 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22290 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22291 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22292 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22293 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22294 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22296 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22297 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22298 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22299 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22300 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22301 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22302 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22304 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22305 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22306 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22307 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22308 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22309 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22310 specify as optional.
22311 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22312 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22313 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22314 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22315 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22316 [XPG3] (NL_LANGMAX): Likewise.
22317 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22318 [POSIX || XPG3] (NL_NMAX): Likewise.
22319 [POSIX || XPG3] (NL_SETMAX): Likewise.
22320 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22321 [XPG3] (NZERO): Likewise.
22322 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22323 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22324 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22325 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22326 (REG_ERANGE): Expect.
22327 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22329 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22330 Use (void) in prototype.
22331 [POSIX] (*_t): Allow.
22332 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22333 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22334 (WRDE_BADVAL): Expect.
22336 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22338 [XPG3 || XPG4] (O_RSYNC): Likewise.
22339 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22341 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22342 [XPG3 || XPG4] (sigqueue): Likewise.
22343 [XPG3 || XPG4] (sigtimedwait): Likewise.
22344 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22345 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22346 [XPG3 || XPG4] (vsnprintf): Likewise.
22347 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22349 [XPG3 || XPG4] (blksize_t): Likewise.
22350 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22352 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22353 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22354 [XPG3 || XPG4] (struct itimerspec): Likewise.
22355 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22356 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22357 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22358 [XPG3 || XPG4] (clockid_t): Likewise.
22359 [XPG3 || XPG4] (timer_t): Likewise.
22360 [XPG3 || XPG4] (clock_getres): Likewise.
22361 [XPG3 || XPG4] (clock_gettime): Likewise.
22362 [XPG3 || XPG4] (clock_settime): Likewise.
22363 [XPG3 || XPG4] (nanosleep): Likewise.
22364 [XPG3 || XPG4] (timer_create): Likewise.
22365 [XPG3 || XPG4] (timer_delete): Likewise.
22366 [XPG3 || XPG4] (timer_gettime): Likewise.
22367 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22368 [XPG3 || XPG4] (timer_settime): Likewise.
22369 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22370 [XPG3 || XPG4] (getlogin_r): Likewise.
22371 [XPG3 || XPG4] (pread): Likewise.
22372 [XPG3 || XPG4] (pthread_atfork): Likewise.
22373 [XPG3 || XPG4] (pwrite): Likewise.
22376 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22379 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22381 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22382 finalizing MALLSTREAM.
22384 * sysdeps/mach/hurd/syncfs.c: New file.
22386 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22389 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22390 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22391 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22392 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22393 (_nss_dns_gethostbyname4_r): Likewise.
22394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22395 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22397 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22400 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22402 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22404 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22405 * elf/cache.c (print_entry): Print ",AArch64" for
22408 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22409 * elf/cache.c (print_entry): Print ",hard-float" for
22412 2012-11-18 David S. Miller <davem@davemloft.net>
22414 With help from Joseph Myers.
22415 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22417 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22419 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22420 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22422 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22423 * math/libm-test.inc (y0_test): New tests.
22424 (y1_test): New tests.
22425 * sysdeps/i386/fpu/libm-test-ulps: Update.
22426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22429 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22431 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22433 * configure: Regenerated.
22435 2012-11-17 David S. Miller <davem@davemloft.net>
22438 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22439 nonzero exponents with absolute value below 0x1p-128 to +/-
22442 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22444 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22446 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22448 * posix/getconf-speclist.c: New file.
22449 * posix/posix-envs.def: Likewise.
22450 * posix/confstr.c (START_ENV_GROUP): New macro.
22451 (END_ENV_GROUP): Likewise.
22452 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22453 (KNOWN_PRESENT_ENV_STRING): Likewise.
22454 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22455 (UNKNOWN_ENVIRONMENT): Likewise.
22456 (confstr): Include posix-envs.def instead of handling
22457 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22458 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22459 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22460 (END_ENV_GROUP): Likewise.
22461 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22462 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22463 (UNKNOWN_ENVIRONMENT): Likewise.
22464 (__sysconf): Include posix-envs.def instead of handling associated
22465 cases directly here.
22466 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22467 preprocessing getconf-speclist.c rather than running getconf or
22468 generating empty file.
22470 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22472 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22474 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22477 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22479 2012-11-16 David S. Miller <davem@davemloft.net>
22481 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22482 smaller than LDBL_EPSILON/2.0L, just return xm1.
22484 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22486 * elf/tst-array1.c (init): Set constructor priority to 1000.
22487 (fini): Set destructor priority to 1000.
22488 * elf/tst-array2dep.c: Likewise.
22490 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22493 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22494 (_IO_new_file_xsputn): Also return EOF if none of the input
22495 data was written when overflow failed.
22496 * libio/iopadn.c (_IO_padn): Likewise.
22497 * libio/iowpadn.c (_IO_wpadn): Likewise.
22498 * stdio-common/tst-put-error.c: Add copyright notice.
22499 (do_test): Add case for printing padded string.
22500 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22501 _IO_padn returned error.
22502 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22503 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22506 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22508 * libio/libioP.h: Add comment note that the references to C++
22509 bits are now obsolete.
22511 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22513 * math/libm-test.inc (check_complex): Use asprintf.
22515 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22517 * debug/pcprofiledump.c (print_version): Update copyright year.
22518 * malloc/memusagestat.c (print_version): Likewise.
22520 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22523 * elf/Makefile (tests): Add tst-audit8.
22524 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22525 ($(objpfx)tst-audit8.out): New target.
22526 (tst-audit8-ENV): New variable.
22527 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22528 audit if l_reloc_result is NULL.
22529 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22530 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22531 * elf/tst-audit8.c: New file.
22533 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22535 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22536 * misc/Makefile (CFLAGS-select.c): Define.
22537 * posix/Makefile (CFLAGS-pause.c): Define.
22539 2012-11-13 David S. Miller <davem@davemloft.net>
22541 * crypt/Makefile: Move test targets after toplevel Rules
22542 inclusion. Grab any necessary sysdep routines when linking.
22543 * crypt/md5.c (md5_process_block): Remove define, we will always
22544 name it __md5_process_block.
22545 (md5_finish_ctx): Update md5_process_block call.
22546 (md5_stream): Likewise.
22547 (md5_process_bytes): Likewise.
22548 (md5_process_block): Rename to __md5_process_block and move to ...
22549 * crypt/md5-block.c: ... here.
22550 * crypt/sha256.c (sha256_process_block): Move to ...
22551 * crypt/sha256-block.c: ... here.
22552 * crypt/sha512.c (sha512_process_block): Move to ...
22553 * crypt/sha512-block.c: ... here.
22554 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22556 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22557 * sysdeps/sparc/sparc64/multiarch/Makefile
22558 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22560 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22561 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22563 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22564 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22565 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22566 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22567 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22568 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22569 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22570 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22571 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22573 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22574 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22576 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22578 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22580 * timezone/tzselect.ksh: Update from tzcode git revision
22581 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22582 * timezone/zdump.c: Likewise.
22583 * timezone/zic.c: Likewise.
22584 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22585 in TZVERSION setting, not $(PKGVERSION).
22586 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22587 REPORT_BUGS_TO settings.
22590 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22593 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22595 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22596 detection to immediately after _FP_ROUND().
22597 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22600 2012-11-11 David S. Miller <davem@davemloft.net>
22602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22604 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22605 __close rather than their public counterparts.
22607 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22609 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22611 [UNIX98] (sem_timedwait): Do not expect.
22612 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22613 [XPG4 || UNIX98] (sockatmark): Do not expect.
22614 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22615 (clock_getcpuclockid): Do not expect.
22616 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22617 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22619 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22620 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22621 [UNIX98] (vwscanf): Likewise.
22622 [UNIX98] (vswscanf): Likewise.
22624 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22626 * timezone/version.h: Remove file.
22627 * timezone/README: Do not refer to version.h.
22628 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22629 $(objpfx)version.h.
22630 ($(objpfx)zdump.o): Likewise.
22631 ($(objpfx)version.h): New target.
22633 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22635 * timezone/README: Don't mention modification to tzselect.ksh.
22636 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22637 work on unmodified tzselect.ksh. Substitute version numbers in
22640 * Makefile (format-me): Remove.
22641 (INSTALL): Adjust indentation. Use commands directly instead of
22642 using $(format-me).
22644 * aclocal.m4 (ACX_PKGVERSION): New macro.
22645 (ACX_BUGURL): Likewise.
22646 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22647 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22648 (REPORT_BUGS_TO): Likewise.
22649 * configure: Regenerated.
22650 * config.h.in (PKGVERSION): New macro.
22651 (REPORT_BUGS_TO): Likewise.
22652 * config.make.in (PKGVERSION): New variable.
22653 (PKGVERSION_TEXI): Likewise.
22654 (REPORT_BUGS_TO): Likewise.
22655 (REPORT_BUGS_TEXI): Likewise.
22656 * Makefile (format-me): Use -I$(common-objpfx)manual.
22657 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22658 ($(common-objpfx)manual/%): New target.
22659 (manual/%): Remove target.
22660 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22661 (print_version): Use PKGVERSION.
22662 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22663 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22664 and REPORT_BUGS_TO.
22665 ($(objpfx)xtrace): Likewise.
22666 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22667 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22668 (print_version): Use PKGVERSION.
22669 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22670 (do_version): Use PKGVERSION.
22671 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22673 (common-ldd-rewrite): Likewise.
22674 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22675 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22676 (print_version): Use PKGVERSION.
22677 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22678 * elf/pldd.c (argp_program_bug_address): Remove variable.
22679 (more_help): New function.
22680 (argp): Use more_help.
22681 (print_version): Use PKGVERSION.
22682 * elf/sln.c (main): Use PKGVERSION.
22683 (usage): Use REPORT_BUGS_TO.
22684 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22685 (top level): Use PKGVERSION.
22686 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22687 (print_version): Use PKGVERSION.
22688 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22689 (print_version): Use PKGVERSION.
22690 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22691 (print_version): Use PKGVERSION.
22692 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22693 (print_version): Use PKGVERSION.
22694 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22695 (print_version): Use PKGVERSION.
22696 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22697 (print_version): Use PKGVERSION.
22698 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22700 ($(objpfx)memusage): Likewise.
22701 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22702 (do_version): Use PKGVERSION.
22703 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22704 (print_version): Use PKGVERSION.
22705 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22706 ($PKGVERSION): New variable.
22707 ($REPORT_BUGS_TO): Likewise.
22708 (usage): Use $REPORT_BUGS_TO.
22709 (top level): Use $PKGVERSION.
22710 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22711 ($(objpfx)pkgvers.texi): New rule.
22712 ($(objpfx)stamp-pkgvers): Likewise.
22713 * manual/install.texi: Include pkgvers.texi.
22714 (--with-pkgversion): Document new configure option.
22715 (--with-bugurl): Likewise.
22716 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22717 than necessarily for this particular distribution. Use
22718 REPORT_BUGS_TO for where to report bugs.
22719 * INSTALL: Regenerated.
22720 * manual/libc.texinfo: Include pkgvers.texi.
22721 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22722 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22723 (print_version): Use PKGVERSION.
22724 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22725 (print_version): Use PKGVERSION.
22726 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22727 (print_version): Use PKGVERSION.
22728 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22729 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22731 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22732 (print_version): Use PKGVERSION.
22733 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22734 (print_version): Use PKGVERSION.
22735 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22738 * timezone/checktab.awk: Update from tzcode 2012i.
22739 * timezone/ialloc.c: Likewise.
22740 * timezone/private.h: Likewise.
22741 * timezone/scheck.c: Likewise.
22742 * timezone/tzfile.h: Likewise.
22743 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22744 (TZVERSION): Hardcode tzcode version number.
22745 * timezone/zdump.c: Update from tzcode 2012i.
22746 * timezone/zic.c: Likewise.
22747 * timezone/version.h: New file.
22748 * timezone/README: Describe version.h. Update upstream location.
22751 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22752 (mktemp): Enable declaration.
22753 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22754 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22755 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22764 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22770 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22771 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22772 for copies of such integer values.
22773 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22774 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22776 2012-11-09 Andreas Jaeger <aj@suse.de>
22778 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22779 definitions and declarations that are provided by
22780 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22782 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22784 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22785 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22786 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22789 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22791 * elf/elf.h: Update comment before AArch64 relocations.
22793 2012-11-07 David S. Miller <davem@davemloft.net>
22795 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22796 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22797 (__start_context): Declare.
22798 (__makecontext_ret): Delete.
22799 (__makecontext): Hook up __start_context instead of
22801 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22802 (sysdep_routines): Add __start_context when in stdlib.
22804 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22806 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22807 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22808 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22810 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22811 (READELF): New variable. Use it instead of hardcoded "readelf".
22813 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22815 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22816 * sysdeps/x86/Makefile: Here.
22817 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22818 * sysdeps/x86/tst-xmmymm.sh: This.
22820 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22822 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22824 [UNIX98] (pthread_barrier_t): Do not expect.
22825 [UNIX98] (pthread_barrierattr_t): Likewise.
22826 [UNIX98] (pthread_spinlock_t): Likewise.
22827 [UNIX98] (pthread_barrier_destroy): Likewise.
22828 [UNIX98] (pthread_barrier_init): Likewise.
22829 [UNIX98] (pthread_barrier_wait): Likewise.
22830 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22831 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22832 [UNIX98] (pthread_barrierattr_init): Likewise.
22833 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22834 [UNIX98] (pthread_getcpuclockid): Likewise.
22835 [UNIX98] (pthread_mutex_timedlock): Likewise.
22836 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22837 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22838 [UNIX98] (pthread_sigmask): Likewise.
22839 [UNIX98] (pthread_spin_destroy): Likewise.
22840 [UNIX98] (pthread_spin_init): Likewise.
22841 [UNIX98] (pthread_spin_lock): Likewise.
22842 [UNIX98] (pthread_spin_trylock): Likewise.
22843 [UNIX98] (pthread_spin_unlock): Likewise.
22844 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22846 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22847 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22848 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22849 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22850 [XPG3 || XPG4] (pthread_key_t): Likewise.
22851 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22852 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22853 [XPG3 || XPG4] (pthread_once_t): Likewise.
22854 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22855 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22856 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22857 [XPG3 || XPG4] (pthread_t): Likewise.
22859 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22861 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22863 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22864 Change function return type to int.
22866 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22867 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22868 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22869 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22870 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22871 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22872 [!POSIX] (posix_madvise): Likewise.
22873 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22875 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22876 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22877 (mode_t): Likewise.
22878 (posix_mem_offset): Likewise.
22879 (posix_typed_mem_get_info): Likewise.
22880 (posix_typed_mem_open): Likewise.
22882 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22883 Change condition to [XOPEN2K8].
22885 * conform/conformtest.pl: Preprocess allow-header data with -x c
22886 instead of from stdin.
22887 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22888 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22889 [C99-based standards] (cerfc): Likewise.
22890 [C99-based standards] (cexp2): Likewise.
22891 [C99-based standards] (cexpm1): Likewise.
22892 [C99-based standards] (clog10): Likewise.
22893 [C99-based standards] (clog1p): Likewise.
22894 [C99-based standards] (clog2): Likewise.
22895 [C99-based standards] (clgamma): Likewise.
22896 [C99-based standards] (ctgamma): Likewise.
22897 [C99-based standards] (cerff): Likewise.
22898 [C99-based standards] (cerfcf): Likewise.
22899 [C99-based standards] (cexp2f): Likewise.
22900 [C99-based standards] (cexpm1f): Likewise.
22901 [C99-based standards] (clog10f): Likewise.
22902 [C99-based standards] (clog1pf): Likewise.
22903 [C99-based standards] (clog2f): Likewise.
22904 [C99-based standards] (clgammaf): Likewise.
22905 [C99-based standards] (ctgammaf): Likewise.
22906 [C99-based standards] (cerfl): Likewise.
22907 [C99-based standards] (cerfcl): Likewise.
22908 [C99-based standards] (cexp2l): Likewise.
22909 [C99-based standards] (cexpm1l): Likewise.
22910 [C99-based standards] (clog10l): Likewise.
22911 [C99-based standards] (clog1pl): Likewise.
22912 [C99-based standards] (clog2l): Likewise.
22913 [C99-based standards] (clgammal): Likewise.
22914 [C99-based standards] (ctgammal): Likewise.
22915 * conform/data/inttypes.h-data [C99-based standards]: Include
22916 stdint.h-data. Remove all expectations for stdint.h contents.
22917 [C99-based standards] (PRI*): Do not allow.
22918 [C99-based standards] (SCN*): Likewise.
22919 [C99-based standards] (*_t): Likewise.
22920 [C99-based-standards] (PRId8): Expect macro.
22921 [C99-based-standards] (PRIi8): Likewise.
22922 [C99-based-standards] (PRIo8): Likewise.
22923 [C99-based-standards] (PRIu8): Likewise.
22924 [C99-based-standards] (PRIx8): Likewise.
22925 [C99-based-standards] (PRIX8): Likewise.
22926 [C99-based-standards] (SCNd8): Likewise.
22927 [C99-based-standards] (SCNi8): Likewise.
22928 [C99-based-standards] (SCNo8): Likewise.
22929 [C99-based-standards] (SCNu8): Likewise.
22930 [C99-based-standards] (SCNx8): Likewise.
22931 [C99-based-standards] (PRIdLEAST8): Likewise.
22932 [C99-based-standards] (PRIiLEAST8): Likewise.
22933 [C99-based-standards] (PRIoLEAST8): Likewise.
22934 [C99-based-standards] (PRIuLEAST8): Likewise.
22935 [C99-based-standards] (PRIxLEAST8): Likewise.
22936 [C99-based-standards] (PRIXLEAST8): Likewise.
22937 [C99-based-standards] (SCNdLEAST8): Likewise.
22938 [C99-based-standards] (SCNiLEAST8): Likewise.
22939 [C99-based-standards] (SCNoLEAST8): Likewise.
22940 [C99-based-standards] (SCNuLEAST8): Likewise.
22941 [C99-based-standards] (SCNxLEAST8): Likewise.
22942 [C99-based-standards] (PRIdFAST8): Likewise.
22943 [C99-based-standards] (PRIiFAST8): Likewise.
22944 [C99-based-standards] (PRIoFAST8): Likewise.
22945 [C99-based-standards] (PRIuFAST8): Likewise.
22946 [C99-based-standards] (PRIxFAST8): Likewise.
22947 [C99-based-standards] (PRIXFAST8): Likewise.
22948 [C99-based-standards] (SCNdFAST8): Likewise.
22949 [C99-based-standards] (SCNiFAST8): Likewise.
22950 [C99-based-standards] (SCNoFAST8): Likewise.
22951 [C99-based-standards] (SCNuFAST8): Likewise.
22952 [C99-based-standards] (SCNxFAST8): Likewise.
22953 [C99-based-standards] (PRId16): Likewise.
22954 [C99-based-standards] (PRIi16): Likewise.
22955 [C99-based-standards] (PRIo16): Likewise.
22956 [C99-based-standards] (PRIu16): Likewise.
22957 [C99-based-standards] (PRIx16): Likewise.
22958 [C99-based-standards] (PRIX16): Likewise.
22959 [C99-based-standards] (SCNd16): Likewise.
22960 [C99-based-standards] (SCNi16): Likewise.
22961 [C99-based-standards] (SCNo16): Likewise.
22962 [C99-based-standards] (SCNu16): Likewise.
22963 [C99-based-standards] (SCNx16): Likewise.
22964 [C99-based-standards] (PRIdLEAST16): Likewise.
22965 [C99-based-standards] (PRIiLEAST16): Likewise.
22966 [C99-based-standards] (PRIoLEAST16): Likewise.
22967 [C99-based-standards] (PRIuLEAST16): Likewise.
22968 [C99-based-standards] (PRIxLEAST16): Likewise.
22969 [C99-based-standards] (PRIXLEAST16): Likewise.
22970 [C99-based-standards] (SCNdLEAST16): Likewise.
22971 [C99-based-standards] (SCNiLEAST16): Likewise.
22972 [C99-based-standards] (SCNoLEAST16): Likewise.
22973 [C99-based-standards] (SCNuLEAST16): Likewise.
22974 [C99-based-standards] (SCNxLEAST16): Likewise.
22975 [C99-based-standards] (PRIdFAST16): Likewise.
22976 [C99-based-standards] (PRIiFAST16): Likewise.
22977 [C99-based-standards] (PRIoFAST16): Likewise.
22978 [C99-based-standards] (PRIuFAST16): Likewise.
22979 [C99-based-standards] (PRIxFAST16): Likewise.
22980 [C99-based-standards] (PRIXFAST16): Likewise.
22981 [C99-based-standards] (SCNdFAST16): Likewise.
22982 [C99-based-standards] (SCNiFAST16): Likewise.
22983 [C99-based-standards] (SCNoFAST16): Likewise.
22984 [C99-based-standards] (SCNuFAST16): Likewise.
22985 [C99-based-standards] (SCNxFAST16): Likewise.
22986 [C99-based-standards] (PRId32): Likewise.
22987 [C99-based-standards] (PRIi32): Likewise.
22988 [C99-based-standards] (PRIo32): Likewise.
22989 [C99-based-standards] (PRIu32): Likewise.
22990 [C99-based-standards] (PRIx32): Likewise.
22991 [C99-based-standards] (PRIX32): Likewise.
22992 [C99-based-standards] (SCNd32): Likewise.
22993 [C99-based-standards] (SCNi32): Likewise.
22994 [C99-based-standards] (SCNo32): Likewise.
22995 [C99-based-standards] (SCNu32): Likewise.
22996 [C99-based-standards] (SCNx32): Likewise.
22997 [C99-based-standards] (PRIdLEAST32): Likewise.
22998 [C99-based-standards] (PRIiLEAST32): Likewise.
22999 [C99-based-standards] (PRIoLEAST32): Likewise.
23000 [C99-based-standards] (PRIuLEAST32): Likewise.
23001 [C99-based-standards] (PRIxLEAST32): Likewise.
23002 [C99-based-standards] (PRIXLEAST32): Likewise.
23003 [C99-based-standards] (SCNdLEAST32): Likewise.
23004 [C99-based-standards] (SCNiLEAST32): Likewise.
23005 [C99-based-standards] (SCNoLEAST32): Likewise.
23006 [C99-based-standards] (SCNuLEAST32): Likewise.
23007 [C99-based-standards] (SCNxLEAST32): Likewise.
23008 [C99-based-standards] (PRIdFAST32): Likewise.
23009 [C99-based-standards] (PRIiFAST32): Likewise.
23010 [C99-based-standards] (PRIoFAST32): Likewise.
23011 [C99-based-standards] (PRIuFAST32): Likewise.
23012 [C99-based-standards] (PRIxFAST32): Likewise.
23013 [C99-based-standards] (PRIXFAST32): Likewise.
23014 [C99-based-standards] (SCNdFAST32): Likewise.
23015 [C99-based-standards] (SCNiFAST32): Likewise.
23016 [C99-based-standards] (SCNoFAST32): Likewise.
23017 [C99-based-standards] (SCNuFAST32): Likewise.
23018 [C99-based-standards] (SCNxFAST32): Likewise.
23019 [C99-based-standards] (PRId64): Likewise.
23020 [C99-based-standards] (PRIi64): Likewise.
23021 [C99-based-standards] (PRIo64): Likewise.
23022 [C99-based-standards] (PRIu64): Likewise.
23023 [C99-based-standards] (PRIx64): Likewise.
23024 [C99-based-standards] (PRIX64): Likewise.
23025 [C99-based-standards] (SCNd64): Likewise.
23026 [C99-based-standards] (SCNi64): Likewise.
23027 [C99-based-standards] (SCNo64): Likewise.
23028 [C99-based-standards] (SCNu64): Likewise.
23029 [C99-based-standards] (SCNx64): Likewise.
23030 [C99-based-standards] (PRIdLEAST64): Likewise.
23031 [C99-based-standards] (PRIiLEAST64): Likewise.
23032 [C99-based-standards] (PRIoLEAST64): Likewise.
23033 [C99-based-standards] (PRIuLEAST64): Likewise.
23034 [C99-based-standards] (PRIxLEAST64): Likewise.
23035 [C99-based-standards] (PRIXLEAST64): Likewise.
23036 [C99-based-standards] (SCNdLEAST64): Likewise.
23037 [C99-based-standards] (SCNiLEAST64): Likewise.
23038 [C99-based-standards] (SCNoLEAST64): Likewise.
23039 [C99-based-standards] (SCNuLEAST64): Likewise.
23040 [C99-based-standards] (SCNxLEAST64): Likewise.
23041 [C99-based-standards] (PRIdFAST64): Likewise.
23042 [C99-based-standards] (PRIiFAST64): Likewise.
23043 [C99-based-standards] (PRIoFAST64): Likewise.
23044 [C99-based-standards] (PRIuFAST64): Likewise.
23045 [C99-based-standards] (PRIxFAST64): Likewise.
23046 [C99-based-standards] (PRIXFAST64): Likewise.
23047 [C99-based-standards] (SCNdFAST64): Likewise.
23048 [C99-based-standards] (SCNiFAST64): Likewise.
23049 [C99-based-standards] (SCNoFAST64): Likewise.
23050 [C99-based-standards] (SCNuFAST64): Likewise.
23051 [C99-based-standards] (SCNxFAST64): Likewise.
23052 [C99-based-standards] (PRIdMAX): Likewise.
23053 [C99-based-standards] (PRIiMAX): Likewise.
23054 [C99-based-standards] (PRIoMAX): Likewise.
23055 [C99-based-standards] (PRIuMAX): Likewise.
23056 [C99-based-standards] (PRIxMAX): Likewise.
23057 [C99-based-standards] (PRIXMAX): Likewise.
23058 [C99-based-standards] (SCNdMAX): Likewise.
23059 [C99-based-standards] (SCNiMAX): Likewise.
23060 [C99-based-standards] (SCNoMAX): Likewise.
23061 [C99-based-standards] (SCNuMAX): Likewise.
23062 [C99-based-standards] (SCNxMAX): Likewise.
23063 [C99-based-standards] (PRIdPTR): Likewise.
23064 [C99-based-standards] (PRIiPTR): Likewise.
23065 [C99-based-standards] (PRIoPTR): Likewise.
23066 [C99-based-standards] (PRIuPTR): Likewise.
23067 [C99-based-standards] (PRIxPTR): Likewise.
23068 [C99-based-standards] (PRIXPTR): Likewise.
23069 [C99-based-standards] (SCNdPTR): Likewise.
23070 [C99-based-standards] (SCNiPTR): Likewise.
23071 [C99-based-standards] (SCNoPTR): Likewise.
23072 [C99-based-standards] (SCNuPTR): Likewise.
23073 [C99-based-standards] (SCNxPTR): Likewise.
23074 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23076 * conform/data/stdint.h-data: Update comments to clarify
23078 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23080 [C99-based standards] (INT8_MAX): Likewise.
23081 [C99-based standards] (INT16_MIN): Likewise.
23082 [C99-based standards] (INT16_MAX): Likewise.
23083 [C99-based standards] (INT32_MIN): Likewise.
23084 [C99-based standards] (INT32_MAX): Likewise.
23085 [C99-based standards] (INT64_MIN): Likewise.
23086 [C99-based standards] (INT64_MAX): Likewise.
23087 [C99-based standards] (UINT8_MAX): Likewise.
23088 [C99-based standards] (UINT16_MAX): Likewise.
23089 [C99-based standards] (UINT32_MAX): Likewise.
23090 [C99-based standards] (UINT64_MAX): Likewise.
23091 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23092 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23093 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23094 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23095 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23096 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23097 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23098 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23099 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23100 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23101 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23102 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23103 [C99-based standards] (INT_FAST8_MIN): Likewise.
23104 [C99-based standards] (INT_FAST8_MAX): Likewise.
23105 [C99-based standards] (INT_FAST16_MIN): Likewise.
23106 [C99-based standards] (INT_FAST16_MAX): Likewise.
23107 [C99-based standards] (INT_FAST32_MIN): Likewise.
23108 [C99-based standards] (INT_FAST32_MAX): Likewise.
23109 [C99-based standards] (INT_FAST64_MIN): Likewise.
23110 [C99-based standards] (INT_FAST64_MAX): Likewise.
23111 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23112 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23113 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23114 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23115 [C99-based standards] (INTPTR_MIN): Likewise.
23116 [C99-based standards] (INTPTR_MAX): Likewise.
23117 [C99-based standards] (UINTPTR_MAX): Likewise.
23118 [C99-based standards] (INTMAX_MIN): Likewise.
23119 [C99-based standards] (INTMAX_MAX): Likewise.
23120 [C99-based standards] (UINTMAX_MAX): Likewise.
23121 [C99-based standards] (PTRDIFF_MIN): Likewise.
23122 [C99-based standards] (PTRDIFF_MAX): Likewise.
23123 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23124 [C99-based standards] (SIZE_MAX): Likewise.
23125 [C99-based standards] (WCHAR_MAX): Likewise.
23126 [C99-based standards] (WINT_MAX): Likewise.
23127 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23128 constraint on value.
23129 [C99-based standards] (WCHAR_MIN): Likewise.
23130 [C99-based standards] (WINT_MIN): Likewise.
23131 [C99-based standards] (*_t): Allow.
23132 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23133 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23134 Include math.h-data and complex.h-data. Remove all expectations
23135 of math.h and complex.h contents.
23136 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23138 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23139 (struct tm): Expect tag.
23140 [C99-based-standards] (wcstof): Expect function.
23141 [C99-based-standards] (wcstold): Likewise.
23142 [C99-based-standards] (wcstoll): Likewise.
23143 [C99-based-standards] (wcstoull): Likewise.
23144 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23145 macro-int-constant. Specify type.
23146 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23147 constraint on value.
23148 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23150 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23152 [ISO C standards]: Do not allow headers.
23153 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23154 wcs[abcdefghijklmnopqrstuvwxyz]*.
23155 [ISO C standards] (*_t): Do not allow.
23156 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23158 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23159 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23161 [ISO C standards]: Do not allow headers.
23162 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23163 is[abcdefghijklmnopqrstuvwxyz]*.
23164 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23165 to[abcdefghijklmnopqrstuvwxyz]*.
23166 [ISO C standards] (*_t): Do not allow.
23167 * conform/data/stdalign.h-data: New file.
23168 * conform/data/stdbool.h-data: Likewise.
23169 * conform/data/stdnoreturn.h-data: Likewise.
23171 2012-11-07 Roland McGrath <roland@hack.frob.com>
23174 * manual/filesys.texi (Directory Entries): Typo fix.
23175 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23177 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23179 * elf/elf.h (EM_AARCH64): New macro.
23180 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23181 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23182 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23183 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23184 (R_AARCH64_TLSDESC): Likewise.
23185 (NT_ARM_TLS): Likewise.
23186 (NT_ARM_HW_BREAK): Likewise.
23187 (NT_ARM_HW_WATCH): Likewise.
23189 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23192 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23193 (__ieee754_powl): Saturate nonzero exponents with absolute value
23194 below 0x1p-79 to +/- 0x1p-79.
23195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23196 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23197 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23198 nonzero exponents with absolute value below 0x1p-32 to +/-
23200 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23201 (__ieee754_powl): Saturate nonzero exponents with absolute value
23202 below 0x1p-79 to +/- 0x1p-79.
23203 * math/libm-test.inc (pow_test): Add more tests.
23205 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23207 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23208 _dl_s390_cap_flags with kernel. Increase string length.
23209 (_dl_s390_platforms): Add z196 and zEC12.
23211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23213 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23214 Change XOPEN21K to XOPEN2K.
23216 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23218 * string/memmove.c: Use memcpy when possible.
23220 2012-11-06 Andreas Jaeger <aj@suse.de>
23222 * po/eo.po: Update from translation team.
23224 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23228 exponent and small x and y exponents, scale x or y up. Increase
23229 by 2 the exponent used in scaling up.
23230 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23231 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23232 * math/libm-test.inc (fma_test): Add more tests.
23233 (fma_test_towardzero): Likewise.
23234 (fma_test_downward): Likewise.
23235 (fma_test_upward): Likewise.
23237 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23240 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23244 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23245 namespace for names of struct fields.
23246 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23248 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23249 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23251 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23254 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23256 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23258 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23262 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23265 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23269 definitely overflow as x * y not x * y + z.
23270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23272 * math/libm-test.inc (fma_test): Add more tests.
23273 (fma_test_towardzero): Likewise.
23274 (fma_test_downward): Likewise.
23275 (fma_test_upward): Likewise.
23277 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23281 * include/stub-tag.h: Remove file.
23282 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23284 * manual/maint.texi (Porting): Don't reference it.
23285 * Makerules ($(objpfx)stubs): Likewise.
23286 * dirent/closedir.c: Don't include <stub-tag.h>.
23287 * dirent/dirfd.c: Likewise.
23288 * dirent/fdopendir.c: Likewise.
23289 * dirent/getdents.c: Likewise.
23290 * dirent/getdents64.c: Likewise.
23291 * dirent/opendir.c: Likewise.
23292 * dirent/readdir.c: Likewise.
23293 * dirent/readdir64.c: Likewise.
23294 * dirent/readdir64_r.c: Likewise.
23295 * dirent/readdir_r.c: Likewise.
23296 * dirent/rewinddir.c: Likewise.
23297 * dirent/seekdir.c: Likewise.
23298 * dirent/telldir.c: Likewise.
23299 * gmon/profil.c: Likewise.
23300 * grp/setgroups.c: Likewise.
23301 * inet/if_index.c: Likewise.
23302 * io/access.c: Likewise.
23303 * io/chdir.c: Likewise.
23304 * io/chmod.c: Likewise.
23305 * io/chown.c: Likewise.
23306 * io/close.c: Likewise.
23307 * io/dup.c: Likewise.
23308 * io/dup2.c: Likewise.
23309 * io/dup3.c: Likewise.
23310 * io/euidaccess.c: Likewise.
23311 * io/faccessat.c: Likewise.
23312 * io/fchdir.c: Likewise.
23313 * io/fchmod.c: Likewise.
23314 * io/fchmodat.c: Likewise.
23315 * io/fchown.c: Likewise.
23316 * io/fchownat.c: Likewise.
23317 * io/fcntl.c: Likewise.
23318 * io/flock.c: Likewise.
23319 * io/fstatfs.c: Likewise.
23320 * io/fstatfs64.c: Likewise.
23321 * io/fstatvfs.c: Likewise.
23322 * io/fstatvfs64.c: Likewise.
23323 * io/futimens.c: Likewise.
23324 * io/fxstat.c: Likewise.
23325 * io/fxstat64.c: Likewise.
23326 * io/fxstatat.c: Likewise.
23327 * io/fxstatat64.c: Likewise.
23328 * io/getcwd.c: Likewise.
23329 * io/isatty.c: Likewise.
23330 * io/lchmod.c: Likewise.
23331 * io/lchown.c: Likewise.
23332 * io/link.c: Likewise.
23333 * io/linkat.c: Likewise.
23334 * io/lseek.c: Likewise.
23335 * io/lseek64.c: Likewise.
23336 * io/lxstat64.c: Likewise.
23337 * io/mkdir.c: Likewise.
23338 * io/mkdirat.c: Likewise.
23339 * io/mkfifo.c: Likewise.
23340 * io/mkfifoat.c: Likewise.
23341 * io/open.c: Likewise.
23342 * io/open64.c: Likewise.
23343 * io/openat.c: Likewise.
23344 * io/openat64.c: Likewise.
23345 * io/pipe.c: Likewise.
23346 * io/pipe2.c: Likewise.
23347 * io/poll.c: Likewise.
23348 * io/posix_fadvise.c: Likewise.
23349 * io/posix_fadvise64.c: Likewise.
23350 * io/posix_fallocate.c: Likewise.
23351 * io/posix_fallocate64.c: Likewise.
23352 * io/read.c: Likewise.
23353 * io/readlink.c: Likewise.
23354 * io/readlinkat.c: Likewise.
23355 * io/rmdir.c: Likewise.
23356 * io/sendfile.c: Likewise.
23357 * io/sendfile64.c: Likewise.
23358 * io/statfs.c: Likewise.
23359 * io/statfs64.c: Likewise.
23360 * io/statvfs.c: Likewise.
23361 * io/statvfs64.c: Likewise.
23362 * io/symlink.c: Likewise.
23363 * io/symlinkat.c: Likewise.
23364 * io/ttyname.c: Likewise.
23365 * io/ttyname_r.c: Likewise.
23366 * io/umask.c: Likewise.
23367 * io/unlink.c: Likewise.
23368 * io/unlinkat.c: Likewise.
23369 * io/utime.c: Likewise.
23370 * io/utimensat.c: Likewise.
23371 * io/write.c: Likewise.
23372 * io/xmknod.c: Likewise.
23373 * io/xmknodat.c: Likewise.
23374 * io/xstat.c: Likewise.
23375 * io/xstat64.c: Likewise.
23376 * login/getpt.c: Likewise.
23377 * login/grantpt.c: Likewise.
23378 * login/unlockpt.c: Likewise.
23379 * math/e_acoshl.c: Likewise.
23380 * math/e_acosl.c: Likewise.
23381 * math/e_asinl.c: Likewise.
23382 * math/e_atan2l.c: Likewise.
23383 * math/e_atanhl.c: Likewise.
23384 * math/e_coshl.c: Likewise.
23385 * math/e_expl.c: Likewise.
23386 * math/e_fmodl.c: Likewise.
23387 * math/e_gammal_r.c: Likewise.
23388 * math/e_hypotl.c: Likewise.
23389 * math/e_j0l.c: Likewise.
23390 * math/e_j1l.c: Likewise.
23391 * math/e_jnl.c: Likewise.
23392 * math/e_lgammal_r.c: Likewise.
23393 * math/e_log10l.c: Likewise.
23394 * math/e_log2l.c: Likewise.
23395 * math/e_logl.c: Likewise.
23396 * math/e_powl.c: Likewise.
23397 * math/e_rem_pio2l.c: Likewise.
23398 * math/e_sinhl.c: Likewise.
23399 * math/e_sqrtl.c: Likewise.
23400 * math/fclrexcpt.c: Likewise.
23401 * math/fedisblxcpt.c: Likewise.
23402 * math/feenablxcpt.c: Likewise.
23403 * math/fegetenv.c: Likewise.
23404 * math/fegetexcept.c: Likewise.
23405 * math/fegetround.c: Likewise.
23406 * math/feholdexcpt.c: Likewise.
23407 * math/fesetenv.c: Likewise.
23408 * math/fesetround.c: Likewise.
23409 * math/feupdateenv.c: Likewise.
23410 * math/fgetexcptflg.c: Likewise.
23411 * math/fraiseexcpt.c: Likewise.
23412 * math/fsetexcptflg.c: Likewise.
23413 * math/ftestexcept.c: Likewise.
23414 * math/k_cosl.c: Likewise.
23415 * math/k_rem_pio2l.c: Likewise.
23416 * math/k_sinl.c: Likewise.
23417 * math/k_tanl.c: Likewise.
23418 * math/s_asinhl.c: Likewise.
23419 * math/s_atanl.c: Likewise.
23420 * math/s_cbrtl.c: Likewise.
23421 * math/s_erfl.c: Likewise.
23422 * math/s_expm1l.c: Likewise.
23423 * math/s_log1pl.c: Likewise.
23424 * math/s_tanhl.c: Likewise.
23425 * misc/acct.c: Likewise.
23426 * misc/brk.c: Likewise.
23427 * misc/chflags.c: Likewise.
23428 * misc/chroot.c: Likewise.
23429 * misc/fchflags.c: Likewise.
23430 * misc/fgetxattr.c: Likewise.
23431 * misc/flistxattr.c: Likewise.
23432 * misc/fremovexattr.c: Likewise.
23433 * misc/fsetxattr.c: Likewise.
23434 * misc/fsync.c: Likewise.
23435 * misc/ftruncate.c: Likewise.
23436 * misc/futimes.c: Likewise.
23437 * misc/futimesat.c: Likewise.
23438 * misc/getdomain.c: Likewise.
23439 * misc/getdtsz.c: Likewise.
23440 * misc/gethostid.c: Likewise.
23441 * misc/gethostname.c: Likewise.
23442 * misc/getloadavg.c: Likewise.
23443 * misc/getpagesize.c: Likewise.
23444 * misc/getsysstats.c: Likewise.
23445 * misc/getxattr.c: Likewise.
23446 * misc/gtty.c: Likewise.
23447 * misc/ioctl.c: Likewise.
23448 * misc/lgetxattr.c: Likewise.
23449 * misc/listxattr.c: Likewise.
23450 * misc/llistxattr.c: Likewise.
23451 * misc/lremovexattr.c: Likewise.
23452 * misc/lsetxattr.c: Likewise.
23453 * misc/lutimes.c: Likewise.
23454 * misc/madvise.c: Likewise.
23455 * misc/mincore.c: Likewise.
23456 * misc/mlock.c: Likewise.
23457 * misc/mlockall.c: Likewise.
23458 * misc/mmap.c: Likewise.
23459 * misc/mprotect.c: Likewise.
23460 * misc/msync.c: Likewise.
23461 * misc/munlock.c: Likewise.
23462 * misc/munlockall.c: Likewise.
23463 * misc/munmap.c: Likewise.
23464 * misc/preadv.c: Likewise.
23465 * misc/preadv64.c: Likewise.
23466 * misc/ptrace.c: Likewise.
23467 * misc/pwritev.c: Likewise.
23468 * misc/pwritev64.c: Likewise.
23469 * misc/readv.c: Likewise.
23470 * misc/reboot.c: Likewise.
23471 * misc/remap_file_pages.c: Likewise.
23472 * misc/removexattr.c: Likewise.
23473 * misc/revoke.c: Likewise.
23474 * misc/select.c: Likewise.
23475 * misc/setdomain.c: Likewise.
23476 * misc/setegid.c: Likewise.
23477 * misc/seteuid.c: Likewise.
23478 * misc/sethostid.c: Likewise.
23479 * misc/sethostname.c: Likewise.
23480 * misc/setregid.c: Likewise.
23481 * misc/setreuid.c: Likewise.
23482 * misc/setxattr.c: Likewise.
23483 * misc/sstk.c: Likewise.
23484 * misc/stty.c: Likewise.
23485 * misc/swapoff.c: Likewise.
23486 * misc/swapon.c: Likewise.
23487 * misc/sync.c: Likewise.
23488 * misc/syncfs.c: Likewise.
23489 * misc/syscall.c: Likewise.
23490 * misc/truncate.c: Likewise.
23491 * misc/ualarm.c: Likewise.
23492 * misc/usleep.c: Likewise.
23493 * misc/ustat.c: Likewise.
23494 * misc/utimes.c: Likewise.
23495 * misc/vhangup.c: Likewise.
23496 * misc/writev.c: Likewise.
23497 * posix/_exit.c: Likewise.
23498 * posix/alarm.c: Likewise.
23499 * posix/execve.c: Likewise.
23500 * posix/fexecve.c: Likewise.
23501 * posix/fork.c: Likewise.
23502 * posix/fpathconf.c: Likewise.
23503 * posix/getaddrinfo.c: Likewise.
23504 * posix/getegid.c: Likewise.
23505 * posix/geteuid.c: Likewise.
23506 * posix/getgid.c: Likewise.
23507 * posix/getgroups.c: Likewise.
23508 * posix/getlogin.c: Likewise.
23509 * posix/getlogin_r.c: Likewise.
23510 * posix/getpgid.c: Likewise.
23511 * posix/getpid.c: Likewise.
23512 * posix/getppid.c: Likewise.
23513 * posix/getresgid.c: Likewise.
23514 * posix/getresuid.c: Likewise.
23515 * posix/getsid.c: Likewise.
23516 * posix/getuid.c: Likewise.
23517 * posix/glob64.c: Likewise.
23518 * posix/nanosleep.c: Likewise.
23519 * posix/pathconf.c: Likewise.
23520 * posix/pause.c: Likewise.
23521 * posix/posix_madvise.c: Likewise.
23522 * posix/pread.c: Likewise.
23523 * posix/pread64.c: Likewise.
23524 * posix/pwrite.c: Likewise.
23525 * posix/pwrite64.c: Likewise.
23526 * posix/sched_getaffinity.c: Likewise.
23527 * posix/sched_getp.c: Likewise.
23528 * posix/sched_gets.c: Likewise.
23529 * posix/sched_primax.c: Likewise.
23530 * posix/sched_primin.c: Likewise.
23531 * posix/sched_rr_gi.c: Likewise.
23532 * posix/sched_setaffinity.c: Likewise.
23533 * posix/sched_setp.c: Likewise.
23534 * posix/sched_sets.c: Likewise.
23535 * posix/sched_yield.c: Likewise.
23536 * posix/setgid.c: Likewise.
23537 * posix/setlogin.c: Likewise.
23538 * posix/setpgid.c: Likewise.
23539 * posix/setresgid.c: Likewise.
23540 * posix/setresuid.c: Likewise.
23541 * posix/setsid.c: Likewise.
23542 * posix/setuid.c: Likewise.
23543 * posix/sleep.c: Likewise.
23544 * posix/spawni.c: Likewise.
23545 * posix/sysconf.c: Likewise.
23546 * posix/times.c: Likewise.
23547 * posix/wait.c: Likewise.
23548 * posix/wait3.c: Likewise.
23549 * posix/wait4.c: Likewise.
23550 * posix/waitpid.c: Likewise.
23551 * resolv/gai_sigqueue.c: Likewise.
23552 * resource/getpriority.c: Likewise.
23553 * resource/getrlimit.c: Likewise.
23554 * resource/getrusage.c: Likewise.
23555 * resource/nice.c: Likewise.
23556 * resource/setpriority.c: Likewise.
23557 * resource/setrlimit.c: Likewise.
23558 * resource/ulimit.c: Likewise.
23559 * rt/aio_cancel.c: Likewise.
23560 * rt/aio_fsync.c: Likewise.
23561 * rt/aio_read.c: Likewise.
23562 * rt/aio_sigqueue.c: Likewise.
23563 * rt/aio_suspend.c: Likewise.
23564 * rt/aio_write.c: Likewise.
23565 * rt/clock_getres.c: Likewise.
23566 * rt/clock_gettime.c: Likewise.
23567 * rt/clock_nanosleep.c: Likewise.
23568 * rt/clock_settime.c: Likewise.
23569 * rt/lio_listio.c: Likewise.
23570 * rt/mq_close.c: Likewise.
23571 * rt/mq_getattr.c: Likewise.
23572 * rt/mq_notify.c: Likewise.
23573 * rt/mq_open.c: Likewise.
23574 * rt/mq_receive.c: Likewise.
23575 * rt/mq_send.c: Likewise.
23576 * rt/mq_setattr.c: Likewise.
23577 * rt/mq_timedreceive.c: Likewise.
23578 * rt/mq_timedsend.c: Likewise.
23579 * rt/mq_unlink.c: Likewise.
23580 * rt/shm_open.c: Likewise.
23581 * rt/shm_unlink.c: Likewise.
23582 * rt/timer_create.c: Likewise.
23583 * rt/timer_delete.c: Likewise.
23584 * rt/timer_getoverr.c: Likewise.
23585 * rt/timer_gettime.c: Likewise.
23586 * rt/timer_settime.c: Likewise.
23587 * setjmp/__longjmp.c: Likewise.
23588 * setjmp/setjmp.c: Likewise.
23589 * signal/kill.c: Likewise.
23590 * signal/killpg.c: Likewise.
23591 * signal/raise.c: Likewise.
23592 * signal/sigaction.c: Likewise.
23593 * signal/sigaltstack.c: Likewise.
23594 * signal/sigblock.c: Likewise.
23595 * signal/sigignore.c: Likewise.
23596 * signal/sigintr.c: Likewise.
23597 * signal/signal.c: Likewise.
23598 * signal/sigpause.c: Likewise.
23599 * signal/sigpending.c: Likewise.
23600 * signal/sigqueue.c: Likewise.
23601 * signal/sigreturn.c: Likewise.
23602 * signal/sigset.c: Likewise.
23603 * signal/sigsetmask.c: Likewise.
23604 * signal/sigstack.c: Likewise.
23605 * signal/sigsuspend.c: Likewise.
23606 * signal/sigtimedwait.c: Likewise.
23607 * signal/sigvec.c: Likewise.
23608 * signal/sigwait.c: Likewise.
23609 * signal/sigwaitinfo.c: Likewise.
23610 * signal/sysv_signal.c: Likewise.
23611 * socket/accept.c: Likewise.
23612 * socket/accept4.c: Likewise.
23613 * socket/bind.c: Likewise.
23614 * socket/connect.c: Likewise.
23615 * socket/getpeername.c: Likewise.
23616 * socket/getsockname.c: Likewise.
23617 * socket/getsockopt.c: Likewise.
23618 * socket/isfdtype.c: Likewise.
23619 * socket/listen.c: Likewise.
23620 * socket/recv.c: Likewise.
23621 * socket/recvfrom.c: Likewise.
23622 * socket/recvmsg.c: Likewise.
23623 * socket/send.c: Likewise.
23624 * socket/sendmsg.c: Likewise.
23625 * socket/sendto.c: Likewise.
23626 * socket/setsockopt.c: Likewise.
23627 * socket/shutdown.c: Likewise.
23628 * socket/sockatmark.c: Likewise.
23629 * socket/socket.c: Likewise.
23630 * socket/socketpair.c: Likewise.
23631 * stdio-common/ctermid.c: Likewise.
23632 * stdio-common/cuserid.c: Likewise.
23633 * stdio-common/remove.c: Likewise.
23634 * stdio-common/rename.c: Likewise.
23635 * stdio-common/renameat.c: Likewise.
23636 * stdio-common/tempname.c: Likewise.
23637 * stdlib/getcontext.c: Likewise.
23638 * stdlib/makecontext.c: Likewise.
23639 * stdlib/setcontext.c: Likewise.
23640 * stdlib/swapcontext.c: Likewise.
23641 * stdlib/system.c: Likewise.
23642 * streams/fattach.c: Likewise.
23643 * streams/fdetach.c: Likewise.
23644 * streams/getmsg.c: Likewise.
23645 * streams/getpmsg.c: Likewise.
23646 * streams/putmsg.c: Likewise.
23647 * streams/putpmsg.c: Likewise.
23648 * sysdeps/unix/bsd/getpt.c: Likewise.
23649 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23650 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23651 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23654 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23655 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23656 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23657 * sysvipc/msgctl.c: Likewise.
23658 * sysvipc/msgget.c: Likewise.
23659 * sysvipc/msgrcv.c: Likewise.
23660 * sysvipc/msgsnd.c: Likewise.
23661 * sysvipc/semctl.c: Likewise.
23662 * sysvipc/semget.c: Likewise.
23663 * sysvipc/semop.c: Likewise.
23664 * sysvipc/semtimedop.c: Likewise.
23665 * sysvipc/shmat.c: Likewise.
23666 * sysvipc/shmctl.c: Likewise.
23667 * sysvipc/shmdt.c: Likewise.
23668 * sysvipc/shmget.c: Likewise.
23669 * termios/tcdrain.c: Likewise.
23670 * termios/tcflow.c: Likewise.
23671 * termios/tcflush.c: Likewise.
23672 * termios/tcgetattr.c: Likewise.
23673 * termios/tcgetpgrp.c: Likewise.
23674 * termios/tcsendbrk.c: Likewise.
23675 * termios/tcsetattr.c: Likewise.
23676 * termios/tcsetpgrp.c: Likewise.
23677 * time/adjtime.c: Likewise.
23678 * time/clock.c: Likewise.
23679 * time/getitimer.c: Likewise.
23680 * time/gettimeofday.c: Likewise.
23681 * time/setitimer.c: Likewise.
23682 * time/settimeofday.c: Likewise.
23683 * time/stime.c: Likewise.
23684 * time/time.c: Likewise.
23686 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23688 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23691 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23693 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23695 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23698 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23699 FE_TONEAREST before applying Dekker multiplication and Knuth
23700 addition. Clear inexact exceptions and check for exact zero
23701 results afterwards.
23702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23703 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23705 * math/libm-test.inc (fma_test): Add more tests.
23706 (fma_test_towardzero): Likewise.
23707 (fma_test_downward): Likewise.
23708 (fma_test_upward): Likewise.
23709 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23711 (libc_fesetround): New macro.
23712 (libc_fesetroundf): Likewise.
23713 (libc_fesetroundl): Likewise.
23714 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23716 (libc_fesetround_387): Likewise.
23717 (libc_fesetroundf): New macro.
23718 (libc_fesetround): Likewise.
23719 (libc_fesetroundl): Likewise.
23720 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23722 (libc_fesetroundf): New macro.
23723 (libc_fesetround): Likewise.
23724 (libc_fesetroundl): Likewise.
23725 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23726 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23727 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23729 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23730 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23732 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23733 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23735 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23739 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23740 integer constant usable in #if and use that to give value to enum
23742 (FE_DIVBYZERO): Likewise.
23743 (FE_UNDERFLOW): Likewise.
23744 (FE_OVERFLOW): Likewise.
23745 (FE_INVALID): Likewise.
23746 (FE_INVALID_SNAN): Likewise.
23747 (FE_INVALID_ISI): Likewise.
23748 (FE_INVALID_IDI): Likewise.
23749 (FE_INVALID_ZDZ): Likewise.
23750 (FE_INVALID_IMZ): Likewise.
23751 (FE_INVALID_COMPARE): Likewise.
23752 (FE_INVALID_SOFTWARE): Likewise.
23753 (FE_INVALID_SQRT): Likewise.
23754 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23755 (FE_TONEAREST): Likewise.
23756 (FE_TOWARDZERO): Likewise.
23757 (FE_UPWARD): Likewise.
23758 (FE_DOWNWARD): Likewise.
23759 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23760 (FE_DIVBYZERO): Likewise.
23761 (FE_OVERFLOW): Likewise.
23762 (FE_UNDERFLOW): Likewise.
23763 (FE_INEXACT): Likewise.
23764 (FE_TONEAREST): Likewise.
23765 (FE_DOWNWARD): Likewise.
23766 (FE_UPWARD): Likewise.
23767 (FE_TOWARDZERO): Likewise.
23768 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23769 (FE_UNDERFLOW): Likewise.
23770 (FE_OVERFLOW): Likewise.
23771 (FE_DIVBYZERO): Likewise.
23772 (FE_INVALID): Likewise.
23773 (FE_TONEAREST): Likewise.
23774 (FE_TOWARDZERO): Likewise.
23775 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23776 (FE_OVERFLOW): Likewise.
23777 (FE_UNDERFLOW): Likewise.
23778 (FE_DIVBYZERO): Likewise.
23779 (FE_INEXACT): Likewise.
23780 (FE_TONEAREST): Likewise.
23781 (FE_TOWARDZERO): Likewise.
23782 (FE_UPWARD): Likewise.
23783 (FE_DOWNWARD): Likewise.
23784 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23785 (FE_DIVBYZERO): Likewise.
23786 (FE_OVERFLOW): Likewise.
23787 (FE_UNDERFLOW): Likewise.
23788 (FE_INEXACT): Likewise.
23789 (FE_TONEAREST): Likewise.
23790 (FE_DOWNWARD): Likewise.
23791 (FE_UPWARD): Likewise.
23792 (FE_TOWARDZERO): Likewise.
23794 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23796 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23798 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23800 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23801 commands. Quote $PWD.
23802 (blacklist_exports): Don't use remove_newlines. Replace "declare
23804 (remove_newlines): Remove.
23806 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23808 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23809 * stdlib/stdlib.h (atof): Moved to ...
23810 * include/bits/stdlib-float.h: Here. New file.
23811 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23812 * stdlib/bits/stdlib-float.h: New file.
23813 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23815 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23818 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23820 * conform/conformtest.pl (@headers): Add fenv.h.
23821 * conform/data/fenv.h-data: New file.
23822 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23823 include of <math/fenv.h>.
23825 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23826 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23827 && !UNIX98]. Enables tests for XOPEN2K8.
23828 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23829 POSIX2008]: Likewise.
23831 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23832 (struct rusage): Do not expect type or its members.
23835 * math/math.h (FP_NAN): Define macro to integer constant usable in
23836 #if and use that to give value to enum constant.
23837 (FP_INFINITE): Likewise.
23838 (FP_ZERO): Likewise.
23839 (FP_SUBNORMAL): Likewise.
23840 (FP_NORMAL): Likewise.
23842 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23844 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23845 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23848 2012-11-02 Roland McGrath <roland@hack.frob.com>
23850 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23851 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23852 autoconf-time if not.
23853 * configure.in: Remove AC_PREREQ.
23855 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23857 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23858 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23859 of the internal implementation.
23861 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23863 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23864 except include of <misc/sys/syslog.h>.
23866 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23869 function returns with a NULL context exit with zero.
23871 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23873 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23875 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23877 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23878 (run_program_cmd): This.
23879 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23880 (tst_langinfo): New variable. Use it.
23882 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23884 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23885 floating point opcodes.
23887 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23889 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23892 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23894 * sysdeps/mach/hurd/powerpc: Remove directory.
23895 * sysdeps/mach/powerpc: Likewise.
23897 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23899 * scripts/check-local-headers.sh: Ignore c++ headers.
23901 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23903 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23904 __libc_cleanup_region_start argument.
23906 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23911 x * y using scaling, not as x * y + z.
23912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23914 * math/libm-test.inc (fma_test): Add more tests.
23915 (fma_test_towardzero): Likewise.
23916 (fma_test_downward): Likewise.
23917 (fma_test_upward): Likewise.
23919 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23921 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23923 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23925 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23928 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23930 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23932 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23939 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23942 Fix the order of the list for glibc 2.17.
23943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23946 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23950 2012-10-31 Joseph Myers <joseph@codesourcery.com>
23953 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23954 for low part of x being zero before using __atanl (y).
23955 * math/libm-test.inc (atan2_test): Add another test.
23957 * manual/install.texi (Configuring and compiling): Document
23958 general use of test-wrapper and test-wrapper-env.
23959 * INSTALL: Regenerated.
23961 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23962 (__fma): Do not extract and scale down low bits on after-rounding
23963 systems when result rounded to normal precision would have normal
23965 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23966 (__fmal): Do not extract and scale down low bits on after-rounding
23967 systems when result rounded to normal precision would have normal
23969 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23970 (__fmal): Do not extract and scale down low bits on after-rounding
23971 systems when result rounded to normal precision would have normal
23973 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23975 (fma_test): Add more tests.
23976 (fma_test_towardzero): Likewise.
23977 (fma_test_downward): Likewise.
23978 (fma_test_upward): Likewise.
23980 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23982 * sysdeps/i386/tininess.h: Renamed to ...
23983 * sysdeps/x86/tininess.h: This.
23984 * sysdeps/x86_64/tininess.h: Removed.
23986 2012-10-30 Joseph Myers <joseph@codesourcery.com>
23988 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23989 input. Use $(build-program-cmd).
23990 ($(objpfx)tst-array1-static.out): Likewise.
23991 ($(objpfx)tst-array2.out): Likewise.
23992 ($(objpfx)tst-array3.out): Likewise.
23993 ($(objpfx)tst-array4.out): Likewise.
23994 ($(objpfx)tst-array5.out): Likewise.
23995 ($(objpfx)tst-array5-static.out): Likewise.
23997 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23999 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24002 * nss/nsswitch.h (nss_interface_function): Provide new
24003 macro for use with NSS functions.
24004 * grp/initgroups.c: Use new macro.
24005 * nss/getXXbyYY.c: Likewise.
24006 * nss/getXXbyYY_r.c: Likewise.
24007 * nss/getXXent.c: Likewise.
24008 * nss/getXXent_r.c: Likewise.
24009 * sysdeps/posix/getaddrinfo.c: Likewise.
24011 2012-10-30 Andreas Jaeger <aj@suse.de>
24013 * po/ru.po: Update Russion translation from translation project.
24015 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24020 result and shift together with sticky bit instead of replicating
24021 round-to-nearest rounding.
24022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24023 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24024 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24025 missing underflow exceptions.
24026 (fma_test_towardzero): Add more tests.
24027 (fma_test_downward): Likewise.
24028 (fma_test_upward): Likewise.
24031 * sysdeps/generic/tininess.h: New file.
24032 * sysdeps/i386/tininess.h: Likewise.
24033 * sysdeps/sh/tininess.h: Likewise.
24034 * sysdeps/x86_64/tininess.h: Likewise.
24035 * stdlib/tst-strtod-underflow.c: Likewise.
24036 * stdlib/tst-tininess.c: Likewise.
24037 * stdlib/strtod_l.c: Include <tininess.h>.
24038 (round_and_return): Do not set errno for exact underflow cases.
24039 Force an underflow exception when setting errno for underflow.
24040 Determine underflow based on rounding to normal precision if
24041 TININESS_AFTER_ROUNDING.
24042 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24043 ERANGE for exact underflow cases.
24044 * stdlib/Makefile (tests): Add tst-tininess and
24045 tst-strtod-underflow.
24046 ($(objpfx)tst-tininess): Use $(link-libm).
24047 ($(objpfx)tst-strtod-underflow): Likewise.
24049 2012-10-30 Andreas Jaeger <aj@suse.de>
24052 * elf/Makefile (tests): Remove conditional for have-initfini-array
24053 since this is now always required and the variable does not exist
24055 (tests-static): Likewise.
24056 (modules-names): Likewise.
24058 * po/eo.po: Add Esperanto translation from translation project.
24060 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24061 merged with constructor/destructor.
24062 (init_array): Likewise.
24063 * elf/tst-array2dep.c (fini_array): Likewise.
24064 (init_array): Likewise.
24066 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24068 * manual/message.texi: Delete @cartouche tags.
24070 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24072 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24074 * sysdeps/mach/hurd/fsync.c: Likewise.
24076 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24077 [_POSIX_REALTIME_SIGNALS]: Change condition to
24078 [_POSIX_REALTIME_SIGNALS > 0].
24080 2012-10-27 Andreas Jaeger <aj@suse.de>
24082 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24083 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24085 [__WORDSIZE != 64]: Likewise.
24087 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24089 * iconvdata/tst-table.sh: Remove ${SHELL}.
24090 * iconvdata/tst-tables.sh: Likewise.
24092 2012-10-25 David S. Miller <davem@davemloft.net>
24094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24095 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24101 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24102 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24105 2012-10-25 Roland McGrath <roland@hack.frob.com>
24107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24108 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24111 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24112 Jim Blandy <jimb@codesourcery.com>
24114 * scripts/cross-test-ssh.sh: New file.
24115 * manual/install.texi (Configuring and compiling): Document use of
24117 * INSTALL: Regenerated.
24119 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24121 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24124 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24126 * Makeconfig (run-program-prefix): Fix comment.
24128 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24129 Jim Blandy <jimb@codesourcery.com>
24131 * Makeconfig (test-wrapper): New variable,
24132 (test-wrapper-env): Likewise.
24133 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24134 (run-built-tests): Define to yes.
24135 (run-program-prefix): Use $(test-wrapper).
24136 (built-program-cmd): Likewise.
24137 * Rules (make-test-out): Use $(test-wrapper-env) and
24138 $(host-built-program-cmd).
24139 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24140 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24142 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24143 $(test-wrapper-env) to tst-rtld-load-self.sh.
24144 ($(objpfx)order2.out): Use $(test-wrapper).
24145 ($(objpfx)tst-initorder.out): Likewise.
24146 ($(objpfx)tst-initorder2.out): Likewise.
24147 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24148 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24149 (test_wrapper_env): New variable. Use it to run ld.so.
24150 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24151 Use it to run ld.so.
24152 (test_wrapper_env): Likewise.
24153 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24154 $(test-wrapper) to run-iconv-test.sh.
24155 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24156 (ICONV): Use $test_wrapper.
24157 * posix/Makefile ($(objpfx)globtest.out): Pass
24158 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24159 globtest.sh, not $(run-program-prefix).
24160 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24161 (test_wrapper): Likewise.
24162 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24163 set together with run_via_rtld_prefix.
24164 (run_program_prefix): Define in terms of test_wrapper and
24165 run_via_rtld_prefix.
24167 2012-10-24 Roland McGrath <roland@hack.frob.com>
24169 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24170 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24174 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24175 Declare __clock_getres, __clock_gettime, __clock_settime,
24176 __clock_nanosleep, and __clock_getcpuclockid.
24177 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24178 Remove librt_hidden_def (clock_gettime).
24179 * sysdeps/unix/clock_gettime.c: Likewise.
24180 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24182 * rt/clock_getres.c: Define __clock_getres as an alias.
24183 * sysdeps/posix/clock_getres.c: Likewise.
24184 * rt/clock_settime.c: Define __clock_settime as an alias.
24185 * sysdeps/unix/clock_settime.c: Likewise.
24186 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24187 * sysdeps/unix/clock_nanosleep.c: Likewise.
24188 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24189 * rt/clock-compat.c: New file.
24190 * rt/Makefile (librt-routines): Add clock-compat and move
24191 $(clock-routines) to ...
24192 (routines): ... here, new variable.
24193 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24194 Don't add get_clockfreq here.
24195 * rt/Versions (libc: GLIBC_2.17): New version set.
24196 Add clock_* symbols here.
24197 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24198 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24199 (GLIBC_2.17): Add clock_* symbols.
24200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24211 * NEWS: Mention the move.
24213 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24214 Use __open, __read, __close rather than their public counterparts.
24215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24216 (__get_clockfreq_via_cpuinfo): Likewise.
24217 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24218 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24220 * config.h.in (HAVE_IFUNC): New #undef.
24221 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24223 * configure: Regenerated.
24225 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24227 * configure.in: Move READELF check to start of file.
24228 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24229 libc_cv_asm_gnu_indirect_function in the process.
24230 * configure: Regenerated.
24232 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24234 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24235 send the output to /dev/null.
24236 (libc_cv_cc_with_libunwind): Likewise.
24237 (libc_cv_as_noexecstack): Likewise.
24238 * configure: Regenerate.
24240 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24242 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24244 * posix/globtest.sh (TMPDIR): Do not set.
24245 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24246 (testout): Likewise.
24248 2012-10-24 Andreas Jaeger <aj@suse.de>
24250 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24251 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24252 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24253 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24254 posix_fadvise64, posix_fallocate64.
24256 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24257 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24258 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24260 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24262 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24265 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24266 <bits/fcntl-linux.h>.
24267 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24269 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24270 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24271 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24272 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24273 [__WORDSIZE != 64]: Likewise.
24275 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24277 * Makeconfig (run-built-tests): New variable.
24278 * Rules [$(cross-compiling) = yes]: Change condition to
24279 [$(run-built-tests) = no].
24280 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24281 to [$(run-built-tests) = yes].
24282 * elf/Makefile [$(cross-compiling) = no]: Likewise
24283 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24284 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24285 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24286 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24287 * io/Makefile [$(cross-compiling) = no]: Likewise.
24288 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24289 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24290 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24291 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24292 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24293 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24294 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24295 * string/Makefile [$(cross-compiling) = no]: Likewise.
24297 * posix/Makefile ($(objpfx)globtest.out): Pass
24298 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24299 $(rtld-installed-name).
24300 * posix/globtest.sh (elf_objpfx): Remove variable.
24301 (rtld_installed_name): Likewise.
24302 (library_path): Likewise.
24303 (run_program_prefix): New variable. Use for running globtest
24306 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24307 Joseph Myers <joseph@codesourcery.com>
24309 * Makeconfig (host-built-program-cmd): New variable.
24310 * elf/Makefile (tst-stackguard1-ARGS): Use
24311 $(host-built-program-cmd).
24312 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24313 (tst-spawn-ARGS): Likewise.
24314 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24316 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24317 Jim Blandy <jimb@codesourcery.com>
24319 * Makeconfig (run-via-rtld-prefix): New variable.
24320 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24321 (built-program-cmd): Likewise.
24323 2012-10-22 Andreas Jaeger <aj@suse.de>
24325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24326 __O_RSYNC if it exists, otherwise to O_SYNC.
24328 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24329 Joseph Myers <joseph@codesourcery.com>
24331 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24333 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24335 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24338 2012-10-22 Andreas Jaeger <aj@suse.de>
24340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24345 bits/fcntl-linux.h.
24347 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24348 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24355 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24356 Joseph Myers <joseph@codesourcery.com>
24358 * config.make.in (NM): New variable.
24360 2012-10-21 Andreas Jaeger <aj@suse.de>
24362 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24363 definitions and declarations that are provided by
24364 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24366 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24369 * elf/Makefile (tests-static): Add tst-leaks1-static.
24370 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24371 ($(objpfx)tst-leaks1-static): New rule.
24372 ($(objpfx)tst-leaks1-static-mem): Likewise.
24373 (tst-leaks1-static-ENV): New macro.
24374 * elf/dl-open.c (dl_open_worker): Check the main application
24375 only if SHARED is defined.
24376 * elf/tst-leaks1-static.c: New file.
24378 2012-10-20 Andreas Jaeger <aj@suse.de>
24380 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24381 generic values for Linux.
24382 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24383 and declarations that are provided by <bits/fcntl-linux.h> and
24384 include <bits/fcntl-linux.h>.
24385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24388 2012-10-20 Roland McGrath <roland@hack.frob.com>
24390 * io/fcntl.h: Move include of <bits/types.h> to the top and
24391 include it unconditionally.
24393 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24395 * wcsmbs/Makefile (tests-ifunc): New variable.
24396 (tests): Add $(tests-ifunc).
24397 * wcsmbs/test-wcschr-ifunc.c: New file.
24398 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24399 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24400 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24401 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24402 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24404 * string/Makefile (tests-ifunc): New variable.
24405 (tests): Add $(tests-ifunc).
24406 * string/test-memccpy.c (TEST_NAME): New macro.
24407 * string/test-memchr.c (TEST_NAME): Likewise.
24408 * string/test-memcmp.c (TEST_NAME): Likewise.
24409 * string/test-memcpy.c (TEST_NAME): Likewise.
24410 * string/test-memmem.c (TEST_NAME): Likewise.
24411 * string/test-memmove.c (TEST_NAME): Likewise.
24412 * string/test-memset.c (TEST_NAME): Likewise.
24413 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24414 * string/test-stpcpy.c (TEST_NAME): Likewise.
24415 * string/test-stpncpy.c (TEST_NAME): Likewise.
24416 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24417 * string/test-strcasestr.c (TEST_NAME): Likewise.
24418 * string/test-strcat.c (TEST_NAME): Likewise.
24419 * string/test-strchr.c (TEST_NAME): Likewise.
24420 * string/test-strcmp.c(TEST_NAME): Likewise.
24421 * string/test-strcpy.c (TEST_NAME): Likewise.
24422 * string/test-strcspn.c (TEST_NAME): Likewise.
24423 * string/test-strlen.c (TEST_NAME): Likewise.
24424 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24425 * string/test-strncmp.c (TEST_NAME): Likewise.
24426 * string/test-strncpy.c (TEST_NAME): Likewise.
24427 * string/test-strnlen.c (TEST_NAME): Likewise.
24428 * string/test-strpbrk.c (TEST_NAME): Likewise.
24429 * string/test-strrchr.c (TEST_NAME): Likewise.
24430 * string/test-strspn.c (TEST_NAME): Likewise.
24431 * string/test-strstr.c (TEST_NAME): Likewise.
24432 * string/test-bcopy-ifunc.c: New file.
24433 * string/test-bzero-ifunc.c: Likewise.
24434 * string/test-memccpy-ifunc.c: Likewise.
24435 * string/test-memchr-ifunc.c: Likewise.
24436 * string/test-memcmp-ifunc.c: Likewise.
24437 * string/test-memcpy-ifunc.c: Likewise.
24438 * string/test-memmem-ifunc.c: Likewise.
24439 * string/test-memmove-ifunc.c: Likewise.
24440 * string/test-mempcpy-ifunc.c: Likewise.
24441 * string/test-memset-ifunc.c: Likewise.
24442 * string/test-rawmemchr-ifunc.c: Likewise.
24443 * string/test-stpcpy-ifunc.c: Likewise.
24444 * string/test-stpncpy-ifunc.c: Likewise.
24445 * string/test-strcasecmp-ifunc.c: Likewise.
24446 * string/test-strcasestr-ifunc.c: Likewise.
24447 * string/test-strcat-ifunc.c: Likewise.
24448 * string/test-strchr-ifunc.c: Likewise.
24449 * string/test-strchrnul-ifunc.c: Likewise.
24450 * string/test-strcmp-ifunc.c: Likewise.
24451 * string/test-strcpy-ifunc.c: Likewise.
24452 * string/test-strcspn-ifunc.c: Likewise.
24453 * string/test-strlen-ifunc.c: Likewise.
24454 * string/test-strncasecmp-ifunc.c: Likewise.
24455 * string/test-strncat-ifunc.c: Likewise.
24456 * string/test-strncmp-ifunc.c: Likewise.
24457 * string/test-strncpy-ifunc.c: Likewise.
24458 * string/test-strnlen-ifunc.c: Likewise.
24459 * string/test-strpbrk-ifunc.c: Likewise.
24460 * string/test-strrchr-ifunc.c: Likewise.
24461 * string/test-strspn-ifunc.c: Likewise.
24462 * string/test-strstr-ifunc.c: Likewise.
24464 * debug/Makefile (tests-ifunc): New variable.
24465 (tests): Add $(tests-ifunc).
24466 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24467 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24468 * debug/test-stpcpy_chk-ifunc.c: New file.
24469 * debug/test-strcpy_chk-ifunc.c: Likewise.
24471 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24474 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24475 header is not read in.
24477 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24479 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24480 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24481 directly. Pass built executable to script as
24482 $(built-program-cmd).
24483 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24484 $testprogram without using LD_LIBRARY_PATH and $ldso.
24486 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24487 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24488 $(rtld-installed-name).
24489 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24490 (rtld_installed_name): Likewise.
24491 (library_path): Likewise.
24492 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24493 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24494 $(run-program-prefix) to tst-tables.sh.
24495 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24496 it to run tst-table-from and tst-table-to.
24497 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24498 Pass it to tst-table.sh.
24499 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24500 $(run-program-prefix) to tst-gettext.sh.
24501 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24503 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24505 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24506 to run tst-gettext.
24507 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24508 to run tst-gettext2.
24509 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24510 to run tst-translit.
24511 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24512 $(run-program-prefix) to tst-mtrace.sh.
24513 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24515 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24516 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24517 $(rtld-installed-name).
24518 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24519 (rtld_installed_name): Likewise.
24520 (run_program_prefix): New variable. Use it to run wordexp-test.
24522 * Makeconfig (ARCH): Remove all definitions.
24523 (machine): Likewise.
24524 [ARCH]: Remove conditional code.
24525 [!objdir]: Give error.
24526 [!objdir] (objpfx): Remove.
24527 [!objdir] (common-objpfx): Likewise.
24528 [!objdir] (common-objdir): Likewise.
24529 * configure.in (config_makefile): Remove. Hardcode Makefile in
24530 AC_CONFIG_FILES call.
24531 * configure: Regenerated.
24534 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24536 (testout): Likewise.
24538 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24539 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24540 $(rtld-installed-name).
24541 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24542 (rtld_installed_name): Likwise.
24543 (runit): Remove function.
24544 (run_getconf): New variable, Use it for running getconf binary.
24546 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24549 * string/test-memmem.c (check_result): New function.
24550 (do_one_test): Use it.
24551 (check1): New function.
24552 (test_main): Use it.
24554 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24556 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24558 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24560 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24561 (_G_LSEEK64): Likewise.
24562 (_G_MMAP64): Likewise.
24563 (_G_FSTAT64): Likewise.
24564 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24565 (_G_LSEEK64): Likewise.
24566 (_G_MMAP64): Likewise.
24567 (_G_FSTAT64): Likewise.
24568 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24569 unconditional. Call __mmap64 directly.
24570 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24571 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24572 __lseek64 directly.
24573 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24574 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24576 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24577 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24578 __lseek64 directly.
24579 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24580 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24581 __lseek64 directly.
24582 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24583 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24584 __lseek64 directly.
24585 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24586 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24587 __fxstat64 directly.
24588 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24589 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24591 (freopen64) [!_G_OPEN64]: Remove conditional code.
24592 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24594 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24595 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24597 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24598 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24600 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24601 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24603 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24604 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24606 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24607 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24609 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24610 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24612 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24614 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24617 * manual/memory.texi (Malloc Tunable Parameters): Add note
24618 about free list pointers overwriting some perturb bytes.
24619 Wording suggested by Roland McGrath.
24621 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24623 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24624 (lgamma_test): Likewise.
24625 (tgamma_test): Likewise.
24627 2012-10-16 Florian Weimer <fweimer@redhat.com>
24630 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24631 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24633 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24635 * NEWS: Mention BZ #14716.
24636 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24637 when removing AVAILABLE1_USES_J macro.
24639 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24641 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24642 (__bswap_64): __uint64_t for unsigned 64-bit int.
24644 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24646 * include/string.h (memmem): Declare libc hidden alias.
24647 * string/memmem.c (memmem): Define libc hidden alias.
24648 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24649 __read, __close instead of open, read, close.
24651 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24654 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24656 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24657 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24658 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24660 (__rawmemchr_sse2): Likewise.
24661 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24662 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24663 (__strchr_sse2): Likewise.
24664 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24665 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24666 (__strcasecmp_sse2): Likewise.
24667 (__strncasecmp_sse2): Likewise.
24668 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24669 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24670 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24671 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24672 (__strrchr_sse2): Likewise.
24673 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24675 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24676 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24677 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24678 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24679 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24680 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24681 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24682 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24683 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24684 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24685 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24686 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24687 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24688 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24689 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24690 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24691 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24692 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24693 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24694 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24695 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24696 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24697 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24698 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24699 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24701 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24702 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24703 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24704 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24706 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24708 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24709 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24710 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24711 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24713 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24715 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24716 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24717 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24718 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24720 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24721 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24722 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24723 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24724 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24725 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24726 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24727 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24728 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24729 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24730 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24731 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24732 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24733 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24734 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24735 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24736 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24737 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24738 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24739 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24740 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24741 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24742 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24743 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24745 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24746 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24747 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24748 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24749 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24750 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24751 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24752 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24753 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24754 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24755 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24756 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24757 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24758 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24759 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24760 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24762 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24763 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24764 * include/ifunc-impl-list.h: New file.
24765 * misc/ifunc-impl-list.c: Likewise.
24766 * misc/Makefile (routines): Add ifunc-impl-list.
24767 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24768 * string/test-string.h: Include <ifunc-impl-list.h>.
24769 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24770 TEST_NAME]: New variables.
24771 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24773 (test_init): Call __libc_ifunc_impl_list to initialize
24774 func_list if TEST_IFUNC and TEST_NAME are defined.
24776 * string/Makefile (strop-tests): Add bcopy and bzero.
24777 * string/test-bcopy.c: New file.
24778 * string/test-bzero.c: Likewise.
24779 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24781 * string/test-memset.c: Support bzero test if TEST_BZERO is
24783 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24785 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24787 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24790 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24792 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24793 * configure: Regenerated.
24795 * Makeconfig (+link-static-before-libc): Don't include
24796 $(link-static-libc).
24798 * libio/libio.h (_IO_pos_t): Remove.
24800 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24802 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24805 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24807 * crypt/crypt-entry.c: Include fips-private.h.
24808 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24809 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24810 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24811 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24813 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24815 * crypt/crypt-private.h: Include stdbool.h.
24816 (_ufc_setup_salt_r): Return bool.
24817 * crypt/crypt-entry.c: Include errno.h.
24818 (__crypt_r): Return NULL with EINVAL for bad salt.
24819 * crypt/crypt_util.c (bad_for_salt): New.
24820 (_ufc_setup_salt_r): Check that salt is long enough and within
24821 the specified alphabet.
24822 * crypt/badsalttest.c: New file.
24823 * crypt/Makefile (tests): Add it.
24824 ($(objpfx)badsalttest): New.
24826 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24828 * NEWS: Add entry for BZ #14602.
24830 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24832 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24834 * math/libm-test.inc: Update comment listing what functions and
24836 (isgreater_test): New function.
24837 (isgreaterequal_test): Likewise.
24838 (isless_test): Likewise.
24839 (islessequal_test): Likewise.
24840 (islessgreater_test): Likewise.
24841 (isunordered_test): Likewise.
24842 (main): Call the new functions.
24844 2012-10-09 Roland McGrath <roland@hack.frob.com>
24846 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24847 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24848 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24849 * sysdeps/i386/configure: Regenerated.
24850 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24851 * sysdeps/mach/configure: Regenerated.
24852 * sysdeps/mach/hurd/configure: Regenerated.
24853 * sysdeps/powerpc/configure: Regenerated.
24854 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24855 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24856 * sysdeps/s390/s390-32/configure: Regenerated.
24857 * sysdeps/s390/s390-64/configure: Regenerated.
24858 * sysdeps/sh/configure: Regenerated.
24859 * sysdeps/sparc/configure: Regenerated.
24860 * sysdeps/unix/sysv/linux/configure: Regenerated.
24861 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24862 * sysdeps/x86_64/configure: Regenerated.
24864 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24865 defined. Don't check if MAP is NULL.
24867 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24869 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24870 (_G_stat64): Likewise.
24871 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24872 (_G_stat64): Likewise.
24873 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24874 instead of struct _G_stat64.
24875 * libio/fileops.c (mmap_remap_check): Likewise.
24876 (decide_maybe_mmap): Likewise.
24877 (_IO_new_file_seekoff): Likewise.
24878 (_IO_file_stat): Likewise.
24879 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24881 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24882 instead of struct _G_stat64.
24883 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24885 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24888 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24890 (CHECK_EOL): New macro.
24891 (two_way_short_needle): Check beginning of haystack for EOL. Use
24893 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24894 Replace with CHECK_EOL.
24895 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24896 Replace with CHECK_EOL.
24898 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24900 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24902 * math/libm-test.inc: Update comment listing what functions and
24904 (finite_test): New function.
24905 (isinf_test): Likewise.
24906 (isnan_test): Likewise.
24907 (fpclassify_test): Test subnormal input.
24908 (isfinite_test): Likewise.
24909 (isnormal_test): Likewise.
24910 (main): Call the new functions.
24912 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24915 * Makerules (%.dynsym): Force C locale when running
24916 $(OBJDUMP) --dynamic-syms.
24918 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24920 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24923 2012-10-06 David S. Miller <davem@davemloft.net>
24925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24926 upper 32-bits of the length value in %o2 since we use branch-on-register
24927 tests which consider the entire 64-bit register.
24929 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24931 * string/test-strstr.c (check2): Add a test for page boundary.
24933 2012-10-05 David S. Miller <davem@davemloft.net>
24935 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24936 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24938 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24940 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24941 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24942 and bzero when HWCAP_SPARC_CRYPTO is present.
24944 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24947 * string/test-strstr.c (check2): New function.
24948 (test_main): Call check2.
24950 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24952 * string/bug-strcasestr1.c (do_test): Moved to ...
24953 * string/test-strcasestr.c (check1): Here. New function.
24954 (do_one_test): Break out result checking code into ...
24955 (check_result): This. New function.
24956 (do_one_test): Call check_result.
24957 (test_main): Call check1.
24958 * string/bug-strchr1.c (do_test): Moved to ...
24959 * string/test-strchr.c (check1): Here. New function.
24960 (do_one_test): Break out result checking code into ...
24961 (check_result): This. New function.
24962 (do_one_test): Call check_result.
24963 (test_main): Call check1.
24964 * string/bug-strstr1.c (main): Moved to ...
24965 * string/test-strstr.c (check1): Here. New function.
24966 (do_one_test): Break out result checking code into ...
24967 (check_result): This. New function.
24968 (do_one_test): Call check_result.
24969 (test_main): Call check1.
24970 * string/bug-strcasestr1.c: Removed.
24971 * string/bug-strchr1.c: Likewise.
24972 * string/bug-strstr1.c: Likewise.
24974 * elf/Makefile (dl-routines): Add hwcaps.
24975 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24976 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24977 (_dl_important_hwcaps): Moved to ...
24978 * elf/dl-hwcaps.c: Here. New file.
24979 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24982 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24983 if IS_IN_rtld isn't defined.
24985 * elf/dl-support.c (_dl_sysinfo_map): New.
24986 Include "get-dynamic-info.h" and "setup-vdso.h".
24987 (_dl_non_dynamic_init): Call setup_vdso.
24988 * elf/dynamic-link.h: Don't include <assert.h>.
24989 (elf_get_dynamic_info): Moved to ...
24990 * elf/get-dynamic-info.h: Here. New file.
24991 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24992 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24993 * elf/setup-vdso.h: Here. New file.
24994 * elf/rtld.c: Include "setup-vdso.h".
24995 (dl_main): Call setup_vdso.
24997 2012-10-05 Joseph Myers <joseph@codesourcery.com>
24999 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25000 creal in comment listing functions tested. List finite, isinf,
25001 isnan, isless, islessequal, isgreater, isgreaterequal,
25002 islessgreater, isunordered, lgamma_r and pow10 as functions and
25003 macros not tested. Mention which functions not tested are aliases
25004 for other functions. Fix typo. Note that signs of NaNs are not
25007 * scripts/config.guess: Update from config.git.
25008 * scripts/config.sub: Likewise.
25010 2012-10-04 Roland McGrath <roland@hack.frob.com>
25012 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25013 * misc/madvise.c (madvise): Renamed to __madvise.
25014 Make madvise a weak alias.
25015 * include/sys/mman.h: Declare __madvise.
25016 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25017 * sysdeps/unix/syscalls.list
25018 (madvise): Make __madvise the strong name, and madvise a weak alias.
25019 * sysdeps/unix/sysv/linux/syscalls.list
25020 (madvise, mmap): Remove redundant entries.
25021 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25022 * malloc/malloc.c (mtrim): Likewise.
25023 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25025 2012-10-03 Roland McGrath <roland@hack.frob.com>
25027 * sysdeps/mach/hurd/dl-cache.c: File removed.
25028 * config.h.in (USE_LDCONFIG): New #undef.
25029 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25030 * configure: Regenerated.
25031 * elf/Makefile (dl-routines): Add dl-cache only under
25032 [$(use-ldconfig) = yes].
25033 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25034 cache on [USE_LDCONFIG].
25035 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25037 * elf/rtld.c (dl_main): Likewise.
25039 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25041 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25042 _SC_LEVEL4_CACHE_LINESIZE.
25044 2012-10-03 Roland McGrath <roland@hack.frob.com>
25046 * sysdeps/unix/bsd/confstr.h: File removed.
25048 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25050 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25053 2012-10-02 Roland McGrath <roland@hack.frob.com>
25055 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25056 Make 'mapoff' field ElfW(Off) rather than off_t.
25058 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25060 * nscd/Makefile: Remove nscd-cflags and all its users.
25061 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25062 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25065 * malloc.c (malloc_printerr): Clarify error message.
25067 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25071 Set bit_FMA_Usable if FMA is supported.
25072 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25074 (bit_FMA4_Usable): Updated.
25075 (index_FMA_Usable): New macro.
25076 (CPUID_FMA): Likewise
25077 (HAS_FMA): Defined with bit_FMA_Usable.
25079 2012-10-01 Roland McGrath <roland@hack.frob.com>
25081 * bits/types.h (__swblk_t): Type removed.
25082 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25083 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25085 (__SWBLK_T_TYPE): Likewise.
25086 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25087 (__SWBLK_T_TYPE): Likewise.
25088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25089 (__SWBLK_T_TYPE): Likewise.
25090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25091 (__SWBLK_T_TYPE): Likewise.
25093 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25094 Honza Horak <hhorak@redhat.com>
25096 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25097 (xdr_mapname): Use YPMAXMAP as maxsize.
25098 (xdr_peername): Use YPMAXPEER as maxsize.
25099 (xdr_keydat): Use YPAXRECORD as maxsize.
25100 (xdr_valdat): Use YPMAXRECORD as maxsize.
25102 2012-10-01 Roland McGrath <roland@hack.frob.com>
25104 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25106 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25107 * csu/init-first.c: ... here.
25108 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25109 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25110 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25111 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25112 * sysdeps/i386/init-first.c: File removed.
25113 * sysdeps/sh/init-first.c: File removed.
25115 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25119 if x * y might underflow to zero and z is zero.
25120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25122 * math/libm-test.inc (min_subnorm_value): New variable.
25123 (fma_test): Add more tests.
25124 (fma_test_towardzero): Likewise.
25125 (fma_test_downward): Likewise
25126 (fma_test_upward): Likewise.
25127 (initialize): Set min_subnorm_value.
25129 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25134 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25135 mode for addition resulting in exact zero.
25136 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25139 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25141 * math/libm-test.inc (fma_test): Add more tests.
25142 (fma_test_towardzero): New function.
25143 (fma_test_downward): Likewise.
25144 (fma_test_upward): Likewise.
25145 (main): Call the new functions.
25147 2012-09-28 David S. Miller <davem@davemloft.net>
25149 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25151 2012-09-28 Roland McGrath <roland@hack.frob.com>
25153 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25154 instead of SIGALRM.
25156 * sysdeps/gnu/_G_config.h: Moved to ...
25157 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25158 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25159 * sysdeps/generic/_G_config.h: ... here.
25161 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25163 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25165 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25166 Conditionalize target on [libnss_test1.so-version].
25168 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25170 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25171 (elfobjdir): Move out of conditionals.
25173 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25174 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25175 (__nss_lookup_function): Conditionalize label remove_from_tree on
25176 [!DO_STATIC_NSS || SHARED], matching its only use.
25178 2012-09-28 David S. Miller <davem@davemloft.net>
25180 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25181 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25183 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25185 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25187 when HWCAP_SPARC_CRYPTO is present.
25189 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25191 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25193 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25196 * stdio-common/vfprintf.c (process_string_arg): Revert
25199 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25201 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25203 * stdio-common/tst-sprintf.c: Include <locale.h>
25204 (main): Test sprintf's handling of incomplete multibyte
25207 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25209 * elf/dl-runtime.c (VERSYMIDX): Removed.
25210 * elf/dl-version.c (VERSYMIDX): Likewise.
25211 * elf/do-rel.h (VERSYMIDX): Likewise.
25212 (VALIDX): Likewise.
25213 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25214 * elf/rtld.c (VALIDX): Likewise.
25215 (ADDRIDX): Likewise.
25216 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25217 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25218 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25219 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25220 (VALIDX): Likewise.
25221 (ADDRIDX): Likewise.
25223 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25225 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25227 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25230 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25232 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25233 addresses are in the same scope as 192.0.2/24.
25234 * posix/gai.conf: Document new scope table defaults.
25236 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25239 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25240 for ftell. Compute offsets from write pointers instead.
25241 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25243 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25246 * libio/Makefile (tests): New test case tst-fseek.
25247 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25248 combination works in wide mode.
25249 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25250 state when the external buffer state changes.
25252 2012-09-27 David S. Miller <davem@davemloft.net>
25255 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25256 pass reloc->r_addend in as the 'high' argument to
25257 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25261 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25263 * rt/tst-aio2.c: Include <pthread.h>.
25264 * rt/tst-aio3.c: Likewise.
25266 2012-09-27 Steve Ellcey <sellcey@mips.com>
25268 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25270 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25272 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25273 contents on [SHARED].
25275 2012-09-26 Marek Polacek <polacek@redhat.com>
25279 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25280 for C++ and GCC <4.3 as well as for non GCC compilers.
25282 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25286 2012-09-25 Roland McGrath <roland@hack.frob.com>
25288 * Makefile.in (all, install): Declare with .PHONY.
25289 Reported by Michael Hope <michael.hope@linaro.org>.
25291 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25293 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25294 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25296 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25298 (sydep_routines): Add the new and the internal functions.
25299 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25300 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25302 (GLIBC_2.17): Add the new function.
25303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25304 (GLIBC_2.17): Likewise.
25305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25306 (GLIBC_2.17): Likewise.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25308 (GLIBC_2.17): Likewise.
25309 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25311 2012-09-25 Alan Modra <amodra@gmail.com>
25313 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25314 Add release barrier before setting once_control to say
25315 initialisation is done. Add hints on lwarx. Use macro in
25317 (clear_once_control): Add release barrier.
25319 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25322 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25324 * math/s_clog10.c (__clog10): Likewise.
25325 * math/s_clog10f.c (__clog10f): Likewise.
25326 * math/s_clog10l.c (__clog10l): Likewise.
25327 * math/s_clogf.c (__clogf): Likewise.
25328 * math/s_clogl.c (__clogl): Likewise.
25329 * math/Makefile (libm-calls): Add x2y2m1.
25330 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25331 (__x2y2m1): Likewise.
25332 (__x2y2m1l): Likewise.
25333 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25334 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25337 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25338 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25339 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25340 * sysdeps/i386/fpu/libm-test-ulps: Update.
25341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25344 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25345 int as type of variable DEPTH.
25346 (glob): Use size_t instead of int as type of variables NEWCOUNT
25349 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25351 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25352 Add s_sincosf-sse2.
25353 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25354 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25355 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25356 macros for using routine as __sincosf_ia32.
25357 Use macro for function declaration and weak_alias.
25358 * sysdeps/i386/fpu/libm-test-ulps: Update.
25360 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25363 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25364 subnormal argument.
25365 * math/s_cexpf.c (__cexpf): Likewise.
25366 * math/s_csinf.c (__csinf): Likewise.
25367 * math/s_csinhf.c (__csinhf): Likewise.
25368 * math/s_ctanf.c (__ctanf): Likewise.
25369 * math/s_ctanhf.c (__ctanhf): Likewise.
25370 * math/s_ccosh.c (__ccoshf): Likewise.
25371 * math/s_cexp.c (__cexpl): Likewise.
25372 * math/s_csin.c (__csin): Likewise.
25373 * math/s_csinh.c (__csinh): Likewise.
25374 * math/s_ctan.c (__ctan): Likewise.
25375 * math/s_ctanh.c (ctanh): Likewise.
25376 * math/s_ccoshl.c (__ccoshl): Likewise.
25377 * math/s_cexpl.c (__cexpl): Likewise.
25378 * math/s_csinl.c (__csinl): Likewise.
25379 * math/s_csinhl.c (__csinhl): Likewise.
25380 * math/s_ctanl.c (__ctanl): Likewise.
25381 * math/s_ctanhl.c (__ctanhl): Likewise.
25383 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25385 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25386 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25387 (_IO_off_t): Define to __off_t, not _G_off_t.
25388 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25389 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25390 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25391 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25392 type of __dummy and __dummy2 fields.
25393 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25394 (_G_ssize_t): Likewise.
25395 (_G_off_t): Likewise.
25396 (_G_pid_t): Likewise.
25397 (_G_uid_t): Likewise.
25398 (_G_wchar_t): Likewise.
25399 (_G_wint_t): Likewise.
25400 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25401 (_G_ssize_t): Likewise.
25402 (_G_off_t): Likewise.
25403 (_G_pid_t): Likewise.
25404 (_G_uid_t): Likewise.
25405 (_G_wchar_t): Likewise.
25406 (_G_wint_t): Likewise.
25407 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25408 (_G_ssize_t): Likewise.
25409 (_G_off_t): Likewise.
25410 (_G_pid_t): Likewise.
25411 (_G_uid_t): Likewise.
25412 (_G_wchar_t): Likewise.
25413 (_G_wint_t): Likewise.
25415 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25417 * malloc/arena.c: Include malloc-sysdep.h.
25418 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25419 is sufficient to shrink the heap or an unmap is needed.
25420 * sysdeps/generic/malloc-sysdep.h: New file. Define
25421 new function check_may_shrink_heap.
25422 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25423 new function check_may_shrink_heap.
25425 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25427 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25430 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25432 * catgets/test-gencat.sh: Add "set -e".
25433 * elf/tst-pathopt.sh: Likewise.
25434 * grp/tst_fgetgrent.sh: Likewise.
25435 * iconvdata/run-iconv-test.sh: Likewise.
25436 * intl/tst-gettext.sh: Likewise.
25437 * intl/tst-gettext2.sh: Likewise.
25438 * intl/tst-gettext4.sh: Likewise.
25439 * intl/tst-gettext6.sh: Likewise.
25440 * intl/tst-translit.sh: Likewise.
25441 * io/ftwtest-sh: Likewise.
25442 * libio/test-freopen.sh: Likewise.
25443 * malloc/tst-mtrace.sh: Likewise.
25444 * posix/globtest.sh: Likewise.
25445 * posix/tst-getconf.sh: Likewise.
25446 * posix/wordexp-tst.sh: Likewise.
25447 * stdio-common/tst-printf.sh: Likewise.
25448 * stdio-common/tst-unbputc.sh: Likewise.
25449 * stdlib/tst-fmtmsg.sh: Likewise.
25450 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25451 * catgets/Makefile: Do not specify -e option when running
25452 testsuite shell scripts.
25453 * elf/Makefile: Likewise.
25454 * grp/Makefile: Likewise.
25455 * iconvdata/Makefile: Likewise.
25456 * intl/Makefile: Likewise.
25457 * io/Makefile: Likewise.
25458 * libio/Makefile: Likewise.
25459 * malloc/Makefile: Likewise.
25460 * posix/Makefile: Likewise.
25461 * stdio-common/Makefile: Likewise.
25462 * stdlib/Makefile: Likewise.
25463 * sysdeps/x86_64/Makefile: Likewise.
25465 * io/ftwtest-sh: Add copyright header.
25466 * posix/globtest.sh: Likewise.
25467 * posix/tst-getconf.sh: Likewise.
25468 * posix/wordexp-tst.sh: Likewise.
25469 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25471 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25474 * Makeconfig (+link): Defined as $(+link-static) if
25475 $(build-shared) isn't yes.
25476 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25478 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25480 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25483 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25484 new chunk size with MALLOC_ALIGN_MASK.
25486 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25489 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25491 (__printf_fphex): Determine rounding using get_rounding_mode and
25493 * stdio-common/tst-printf-round.c (struct hex_test): New
25495 (hex_tests): New variable.
25496 (test_hex_in_one_mode): New function.
25497 (do_test): Also run tests for hex float output.
25499 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25501 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25502 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25503 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25504 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25505 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25506 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25507 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25508 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25510 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25512 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25513 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25514 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25515 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25517 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25520 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25522 * elf/tst-rtld-load-self.sh: New test.
25523 * elf/Makefile: Run it.
25525 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25527 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25528 (tst-writev-ENV): Remove.
25529 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25531 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25533 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25535 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25537 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25539 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25541 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25542 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25543 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25546 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25549 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25550 * config.make.in (have-cpp-asm-debuginfo): Removed.
25551 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25552 * configure: Regenerated.
25554 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25557 * stdio-common/printf_fp.c: Include <stdbool.h> and
25559 (___printf_fp): Determine rounding using get_rounding_mode and
25561 * stdio-common/tst-printf-round.c: New file.
25562 * stdio-common/Makefile (tests): Add tst-printf-round.
25563 (link-libm): New variable.
25564 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25566 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25569 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25570 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25572 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25575 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25577 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25578 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25579 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25580 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25582 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25585 * include/rounding-mode.h: New file.
25586 * sysdeps/generic/get-rounding-mode.h: Likewise.
25587 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25588 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25589 (MAX_VALUE): New macro.
25590 (MIN_VALUE): Likewise.
25591 (overflow_value): New function.
25592 (underflow_value): Likewise.
25593 (round_and_return): Use overflow_value and underflow_value to
25594 determine return values in overflow and underflow cases. Use
25595 round_away to determine rounding depending on rounding mode.
25596 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25597 determine return values in overflow and underflow cases.
25598 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25599 (struct test_results): New structure.
25600 (struct test): Use struct test_results to store expected results
25601 for all rounding modes.
25602 (TEST): Include expected results for all rounding modes.
25603 (test_in_one_mode): New function.
25604 (do_test): Use test_in_one_mode to compute and check results.
25605 Check results for all rounding modes.
25606 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25609 2012-12-09 Allan McRae <allan@archlinux.org>
25611 * sysdeps/i386/fpu/libm-test-ulps: Update
25613 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25615 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25616 (_G_int32_t): Likewise.
25617 (_G_uint16_t): Likewise.
25618 (_G_uint32_t): Likewise.
25619 (_G_HAVE_BOOL): Likewise.
25620 (_G_HAVE_ATEXIT): Likewise.
25621 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25622 (_G_HAVE_IO_FILE_OPEN): Likewise.
25623 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25624 (_G_int32_t): Likewise.
25625 (_G_uint16_t): Likewise.
25626 (_G_uint32_t): Likewise.
25627 (_G_HAVE_BOOL): Likewise.
25628 (_G_HAVE_ATEXIT): Likewise.
25629 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25630 (_G_HAVE_IO_FILE_OPEN): Likewise.
25631 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25632 (_G_int32_t): Likewise.
25633 (_G_uint16_t): Likewise.
25634 (_G_uint32_t): Likewise.
25635 (_G_HAVE_BOOL): Likewise.
25636 (_G_HAVE_ATEXIT): Likewise.
25637 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25638 (_G_HAVE_IO_FILE_OPEN): Likewise.
25640 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25642 * csu/libc-tls.c: Update copyright years.
25644 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25646 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25647 [!_G_USING_THUNKS]: Remove conditional code.
25648 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25649 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25651 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25652 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25653 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25654 (_G_VTABLE_LABEL_PREFIX): Likewise.
25655 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25656 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25657 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25658 (_G_VTABLE_LABEL_PREFIX): Likewise.
25659 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25660 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25661 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25662 (_G_VTABLE_LABEL_PREFIX): Likewise.
25663 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25665 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25667 * libio/Makefile: Include ../Makeconfig before tests.
25668 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25669 only if $(build-shared) is yes.
25671 * iconv/gconv_db.c: Update copyright years.
25673 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25675 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25676 unwind info if defined PIC. Fix special cases description.
25677 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25679 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25681 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25683 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25685 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25687 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25690 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25691 (LDLIBS-tst-chk4): This.
25692 (LDFLAGS-tst-chk5): Renamed to ...
25693 (LDLIBS-tst-chk5): This.
25694 (LDFLAGS-tst-chk6): Renamed to ...
25695 (LDLIBS-tst-chk6): This.
25696 (LDFLAGS-tst-lfschk4): Renamed to ...
25697 (LDLIBS-tst-lfschk4): This.
25698 (LDFLAGS-tst-lfschk5): Renamed to ...
25699 (LDLIBS-tst-lfschk5): This.
25700 (LDFLAGS-tst-lfschk6): Renamed to ...
25701 (LDLIBS-tst-lfschk6): This.
25703 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25704 on $(common-objpfx)soversions.mk.
25706 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25709 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25712 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25714 * malloc/arena.c (arena_get_retry): New function that gets
25715 another arena for the caller to try its request on.
25716 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25717 current arena cannot fulfill the request.
25718 (__libc_memalign): Likewise.
25719 (__libc_memalign): Likewise.
25720 (__libc_pvalloc): Likewise.
25721 (__libc_calloc): Likewise.
25723 2012-09-05 John Tobey <john.tobey@gmail.com>
25726 * manual/arith.texi (Operations on Complex): Fix description
25727 of carg branch cut.
25729 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25732 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25736 * manual/memory.texi (Memory): Make order of menu items match
25739 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25741 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25742 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25743 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25745 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25747 * csu/libc-tls.c (static_dtv): Renamed to ...
25748 (_dl_static_dtv): This. Make it global.
25749 (_dl_initial_dtv): Removed.
25750 (__libc_setup_tls): Updated.
25751 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25752 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25755 2012-09-06 Petr Machata <pmachata@redhat.com>
25757 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25758 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25759 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25760 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25762 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25765 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25766 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25769 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25772 * Makeconfig (link-static-before-libc): Replace $(+prector)
25774 (link-static-after-libc): Replace $(+postctor) with
25776 (link-bounded): Replace $(+prector)/$(+postctor) with
25777 $(+prectorT)/$(+postctorT).
25778 (+prectorT): New macro.
25779 (+postctorT): Likewise.
25781 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25783 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25784 (round_str): Handle values above the maximum for IBM long double
25786 * stdlib/tst-strtod-round.c (tests): Regenerated.
25788 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25790 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25792 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25793 zarch_nohighgprs around the zarch optimized routines.
25794 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25795 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25799 2012-09-05 David S. Miller <davem@davemloft.net>
25801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25803 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25804 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25805 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25806 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25809 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25811 * malloc/arena.c: Fold copyright years.
25812 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25814 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25816 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25818 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25820 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25822 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25824 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25825 change internal state upon failure.
25827 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25829 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25830 * malloc/memusage.c (mmap): Likewise.
25831 (mmap64, mremap): Likewise. Adjust name in comment.
25833 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25835 * libio/fileops.c: Fix typos in comments.
25836 * libio/oldfileops.c: Likewise.
25837 * libio/wfileops.c: Likewise.
25839 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25842 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25843 (tst-malloc-usable-ENV): Set environment for test case.
25844 * malloc/hooks.c (malloc_check_get_size): New function to get
25846 * malloc/malloc.c (musable): Use malloc_check_get_size.
25847 * malloc/tst-malloc-usable.c: New test case.
25849 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25851 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25853 2012-09-05 Allan McRae <allan@archlinux.org>
25856 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25857 determine header location.
25858 * configure: Regenerated.
25860 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25862 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25864 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25865 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25867 (test): Regenerate.
25869 2012-09-04 David S. Miller <davem@davemloft.net>
25871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25873 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25875 2012-09-04 Florian Weimer <fweimer@redhat.com>
25877 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25880 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25882 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25885 * libio/iogetdelim.c: Include <limits.h>.
25886 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25887 + len + 1 would overflow.
25889 2012-09-03 Andreas Jaeger <aj@suse.de>
25891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25892 * sysdeps/i386/fpu/libm-test-ulps: Update.
25894 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25896 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25897 Add s_sinf-sse2, s_conf-sse2.
25899 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25900 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25901 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25902 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25904 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25905 for using routine as __sinf_ia32.
25906 Use macro for function declaration and weak_alias.
25907 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25908 for using routine as __cosf_ia32.
25909 Use macro for function declaration and weak_alias.
25911 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25912 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25914 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25915 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25918 * math/libm-test.inc (cos_test): Add more test cases.
25919 (sin_test): Likewise.
25920 (sincos_test): Likewise.
25922 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25924 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25925 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25927 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25929 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25932 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25933 first element of the GOT.
25934 (elf_machine_load_address): Return the difference between
25935 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25937 2012-09-01 Allan McRae <allan@archlinux.org>
25940 * configure.in (AWK): Require gawk version 3.0 or later.
25941 * configure: Regenerated.
25943 2012-09-01 Joseph Myers <joseph@codesourcery.com>
25945 * sysdeps/unix/sysv/linux/kernel-features.h
25946 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25947 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25948 [__NR_clock_getres]: Make code unconditional.
25949 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25950 (clock_getcpuclockid): Remove code left unreachable by removal of
25952 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25953 code unconditional.
25954 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25955 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25956 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25957 Make code unconditional.
25958 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25959 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25960 * sysdeps/unix/sysv/linux/clock_settime.c
25961 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25963 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25964 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25966 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25969 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25970 scripts/test-installation.pl.
25972 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25973 and $ld_so_version if it is set.
25975 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25978 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25979 failure if reading from procfs failed.
25980 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25982 2012-08-27 Joseph Myers <joseph@codesourcery.com>
25984 * sysdeps/unix/sysv/linux/kernel-features.h
25985 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25986 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25987 Remove conditional code.
25988 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25989 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25990 Remove conditional code.
25991 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25992 * sysdeps/unix/sysv/linux/i386/fxstat.c
25993 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25994 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25995 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25996 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25997 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25998 * sysdeps/unix/sysv/linux/i386/lxstat.c
25999 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26000 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26001 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26002 Remove conditional code.
26003 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26004 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26005 Remove conditional code.
26006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26007 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26008 <kernel-features.h>.
26009 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26011 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26012 Remove conditional code.
26013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26014 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26015 Remove conditional.
26017 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26020 * NEWS: Add fixed bug number.
26022 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26025 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26026 underflowing exponent in case of negative sign.
26027 * stdlib/tst-strtod-round-data: Add more tests.
26028 * stdlib/tst-strtod-round.c (tests): Regenerated.
26031 * stdlib/strtod_l.c (NDIG): Remove.
26032 (HEXNDIG): Likewise.
26033 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26034 smallest representable value.
26035 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26036 lie within an exact representation of 1/2 ulp of the result.
26037 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26039 (TENS_P9_IDX): Define unconditionally.
26040 (TENS_P9_SIZE): Likewise.
26041 (TENS_P10_IDX): Likewise.
26042 (TENS_P10_SIZE): Likewise.
26043 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26044 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26045 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26046 entries for 10^2^13 and 10^2^14.
26047 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26048 (TENS_P13_IDX): Define.
26049 (TENS_P13_SIZE): Likewise.
26050 (TENS_P14_IDX): Likewise.
26051 (TENS_P14_SIZE): Likewise.
26052 (_fpioconst_pow10): Change array size to
26053 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26055 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26056 1024]: Add entries for 10^2^13 and 10^2^14.
26057 [LAST_POW10 > _LAST_POW10]: Remove #error.
26058 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26059 (_fpioconst_pow10): Change array size to
26060 FPIOCONST_POW10_ARRAY_SIZE.
26061 * stdlib/gen-fpioconst.c: New file.
26062 * stdlib/gen-tst-strtod-round.c: Likewise.
26063 * stdlib/tst-strtod-round-data: Likewise.
26064 * stdlib/tst-strtod-round.c: Likewise.
26065 * stdlib/Makefile (tests): Add tst-strtod-round.
26068 * stdlib/strtod_l.c: Include <stdint.h>.
26069 (NDEBUG): Do not define.
26070 (round_and_return): Change EXPONENT parameter to type intmax_t.
26071 Rearrange calculations to avoid internal overflow possibilities.
26072 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26073 Rearrange calculations to avoid internal overflow possibilities.
26074 Assert that number fits inside MPNSIZE limbs.
26075 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26076 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26077 calculations and add assertions to avoid internal overflow
26078 possibilities. Add casts to avoid signed/unsigned operations.
26079 * stdlib/tst-strtod-overflow.c: New file.
26080 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26082 2012-08-25 Marek Polacek <polacek@redhat.com>
26084 * time/time.h: Fix some typos in comments.
26086 2012-08-23 Roland McGrath <roland@hack.frob.com>
26088 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26089 * posix/tst-rfc3484-2.c: Likewise.
26090 * posix/tst-rfc3484-3.c: Likewise.
26092 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26094 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26095 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26097 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26099 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26100 #include of fxstatat64.c.
26102 2012-08-22 Roland McGrath <roland@hack.frob.com>
26104 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26105 * shadow/getspent_r.c: Likewise.
26106 * shadow/getspnam.c: Likewise.
26107 * shadow/getspnam_r.c: Likewise.
26108 * gshadow/getsgent.c: Likewise.
26109 * gshadow/getsgent_r.c: Likewise.
26110 * gshadow/getsgnam.c: Likewise.
26111 * gshadow/getsgnam_r.c: Likewise.
26112 * inet/getnetbyad.c: Likewise.
26113 * inet/getnetbyad_r.c: Likewise.
26114 * inet/getnetbynm.c: Likewise.
26115 * inet/getnetbynm_r.c: Likewise.
26116 * inet/getnetent.c: Likewise.
26117 * inet/getnetent_r.c: Likewise.
26118 * inet/getproto.c: Likewise.
26119 * inet/getproto_r.c: Likewise.
26120 * inet/getprtent.c: Likewise.
26121 * inet/getprtent_r.c: Likewise.
26122 * inet/getprtname.c: Likewise.
26123 * inet/getprtname_r.c: Likewise.
26124 * inet/getrpcbyname.c: Likewise.
26125 * inet/getrpcbyname_r.c: Likewise.
26126 * inet/getrpcbynumber.c: Likewise.
26127 * inet/getrpcbynumber_r.c: Likewise.
26128 * inet/getrpcent.c: Likewise.
26129 * inet/getrpcent_r.c: Likewise.
26130 * inet/getaliasent.c: Likewise.
26131 * inet/getaliasent_r.c: Likewise.
26132 * inet/getaliasname.c: Likewise.
26133 * inet/getaliasname_r.c: Likewise.
26134 * nscd/getgrgid_r.c: Likewise.
26135 * nscd/getgrnam_r.c: Likewise.
26136 * nscd/gethstbyad_r.c: Likewise.
26137 * nscd/gethstbynm3_r.c: Likewise.
26138 * nscd/getpwnam_r.c: Likewise.
26139 * nscd/getpwuid_r.c: Likewise.
26140 * nscd/getsrvbynm_r.c: Likewise.
26141 * nscd/getsrvbypt_r.c: Likewise.
26142 * nscd/gai.c: Likewise.
26144 * configure.in (build_nscd): New substituted variable, set
26145 by --disable-build-nscd and defaults to $use_nscd.
26146 * configure: Regenerated.
26147 * config.make.in (build-nscd): New substituted variable.
26148 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26149 Change conditional to require [$(build-nscd) = yes] as well.
26150 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26153 * configure.in (use_nscd): New substituted variable, set by
26154 --disable-nscd. If enabled, define USE_NSCD.
26155 * configure: Regenerated.
26156 * config.h.in: Add USE_NSCD.
26157 * config.make.in (use-nscd): New substituted variable.
26158 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26159 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26160 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26161 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26162 (CFLAGS-getgrnam_r.c): Likewise.
26163 (CFLAGS-initgroups.c): Likewise.
26164 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26165 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26167 * inet/getnetgrent_r.c
26168 (nscd_setnetgrent): New function, broken out of ...
26169 (setnetgrent): ... here. Call it.
26170 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26171 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26172 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26173 * nscd/Makefile (routines, aux): Move definitions after include of
26174 Makeconfig. Conditionalize on [$(use-nscd) != no].
26175 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26176 Conditionalize on [USE_NSCD].
26177 (is_nscd, nscd_init_cb): Likewise.
26178 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26179 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26180 * nss/nss_db/db-init.c: Likewise.
26181 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26183 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26184 (make_request): Use it.
26185 (cache_valid_p): New function.
26186 (__check_pf): Use it.
26187 * NEWS: Add item for --disable-nscd.
26189 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26191 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26192 to support sed >= 4.2.1-20-ga9bf076.
26193 * configure: Regenerated.
26195 2012-08-22 Roland McGrath <roland@hack.frob.com>
26197 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26198 Conditionalize whole body on [IREL].
26200 2012-08-22 Jeff Law <law@redhat.com>
26203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26204 if the family is PF_UNSPEC.
26206 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26208 * Makerules (lib-version): Rename from V.
26209 (install-lib-nosubdir): Change V to lib-version.
26211 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26214 * powerpc32/power6/wcschr.c: New file.
26215 * powerpc32/power6/wcscpy.c: New file.
26216 * powerpc32/power6/wcsrchr.c: New file.
26217 * powerpc64/power6/wcschr.c: New file.
26218 * powerpc64/power6/wcscpy.c: New file.
26219 * powerpc64/power6/wcsrchr.c: New file.
26221 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26223 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26224 (two_way_short_needle): Use it.
26225 * string/strstr.c (AVAILABLE1_USES_J): Define.
26226 * string/strcasestr.c: Likewise.
26228 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26230 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26233 * NEWS: Add an entry.
26234 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26235 define their defaults.
26236 (two_way_short_needle): Detect end-of-string on-the-fly.
26237 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26238 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26239 * string/bug-strcasestr1.c: New test.
26240 * string/Makefile: Run it.
26242 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26245 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26246 the first character.
26248 2012-08-21 Roland McGrath <roland@hack.frob.com>
26250 * csu/elf-init.c (__libc_csu_irel): Function removed.
26251 * csu/libc-start.c (apply_irel): New function.
26252 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26254 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26256 * sysdeps/unix/sysv/linux/kernel-features.h
26257 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26258 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26259 <kernel-features.h>.
26260 [__NR_fadvise64_64]: Make code unconditional.
26261 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26262 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26263 !__NR_fadvise64_64)]: Likewise.
26264 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26265 !__NR_fadvise64_64))]: Likewise.
26266 [__NR_fadvise64]: Make code unconditional.
26267 [!__NR_fadvise64]: Remove conditional code.
26268 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26269 <kernel-features.h>.
26270 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26272 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26275 not include <kernel-features.h>.
26276 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26278 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26280 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26281 include <kernel-features.h>.
26282 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26284 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26287 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26290 slight instruction rearrangements per scrollpipe analysis.
26291 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26293 2012-08-20 Roland McGrath <roland@hack.frob.com>
26295 * manual/syslog.texi (syslog; vsyslog, closelog):
26296 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26297 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26299 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26300 DSOCAPS to match condition on defining it.
26302 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26304 * sysdeps/unix/sysv/linux/kernel-features.h
26305 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26307 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26308 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26310 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26311 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26313 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26314 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26316 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26317 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26319 * sysdeps/unix/sysv/linux/kernel-features.h
26320 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26321 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26323 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26324 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26325 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26326 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26327 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26328 Make code unconditional.
26329 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26330 (__mmap64) [!__NR_mmap2]: Likewise.
26331 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26332 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26333 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26334 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26335 [__NR_mmap2]: Make code unconditional.
26336 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26337 (__mmap64) [!__NR_mmap2]: Likewise.
26339 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26341 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26343 2012-08-18 Andreas Jaeger <aj@suse.de>
26345 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26347 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26349 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26350 * include/unistd.h (__have_sock_cloexec): Likewise.
26351 (__have_pipe2): Likewise.
26352 (__have_dup3): Likewise.
26354 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26357 * include/unistd.h (__have_pipe2): Change define into an extern int.
26358 (__have_dup3): Likewise.
26359 * socket/have_sock_cloexec.c: Include fcntl.h.
26360 (__have_pipe2): New variable.
26361 (__have_dup3): Likewise.
26363 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26365 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26367 2012-08-17 Marek Polacek <polacek@redhat.com>
26369 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26370 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26372 2012-08-17 Roland McGrath <roland@hack.frob.com>
26374 * configure.in: Add AC_SUBST for sysheaders.
26375 * configure: Regenerated.
26376 * config.make.in (sysheaders): New substituted variable.
26378 * sysdeps/unix/mkfifo.c: Moved ...
26379 * sysdeps/posix/mkfifo.c: ... here.
26380 * sysdeps/unix/mkfifoat.c: Moved ...
26381 * sysdeps/posix/mkfifoat.c: ... here.
26383 * sysdeps/unix/utime.c: Moved ...
26384 * sysdeps/posix/utime.c: ... here.
26386 * sysdeps/unix/time.c: Moved ...
26387 * sysdeps/posix/time.c: ... here.
26388 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26389 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26391 * sysdeps/unix/nice.c: Moved ...
26392 * sysdeps/posix/nice.c: ... here.
26394 * sysdeps/unix/alarm.c: Moved ...
26395 * sysdeps/posix/alarm.c: ... here.
26397 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26399 2012-08-17 Jeff Law <law@redhat.com>
26401 * intl/Makefile (codeset_mo): New variable.
26402 ($(codeset_mo)): New target.
26403 (tst-codeset.out): Depend on that. Remove explicit rule.
26404 (tst-gettext3.out, tst-gettext5.out): Likewise.
26405 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26406 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26407 * intl/tst-codeset.sh: Remove.
26408 * intl/tst-gettext3.sh: Likewise.
26409 * intl/tst-gettext5.sh: Likewise.
26411 2012-08-17 Roland McGrath <roland@hack.frob.com>
26413 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26414 * sysdeps/unix/syscalls.list: ... here.
26416 * sysdeps/posix/getaddrinfo.c
26417 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26418 (gaiconf_init, gaiconf_reload): Use them.
26419 [!_STATBUF_ST_NSEC]
26420 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26421 Define using time_t rather than struct timespec.
26423 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26424 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26426 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26428 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26429 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26432 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26433 __libc_cleanup_push argument.
26435 * bits/param.h: New file.
26436 * misc/sys/param.h: New file.
26437 * include/sys/param.h: New file.
26438 * misc/Makefile (headers): Add bits/param.h.
26439 * sysdeps/generic/sys/param.h: File removed.
26440 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26441 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26442 * sysdeps/mach/hurd/bits/param.h: New file.
26443 * sysdeps/mach/hurd/sys/param.h: File removed.
26445 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26448 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26450 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26451 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26454 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26455 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26456 rather than -D_IO_MTSAFE_IO conditionally.
26457 * stdio-common/Makefile (CPPFLAGS): Likewise.
26458 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26459 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26460 Use $(libio-mtsafe).
26461 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26462 of -D_IO_MTSAFE_IO.
26463 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26464 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26465 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26466 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26467 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26468 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26469 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26470 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26471 (CFLAGS-fread_u_chk.c): Likewise.
26472 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26473 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26474 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26475 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26476 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26477 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26478 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26479 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26480 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26482 * libio/Makefile: Test [$(libc-reentrant) = yes]
26483 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26486 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26487 * sysdeps/pthread/configure: File removed.
26488 * sysdeps/pthread/Makeconfig: New file.
26489 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26490 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26492 2012-08-16 Gary Benson <gbenson@redhat.com>
26494 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26495 unmapping the first object in a namespace.
26497 2012-08-16 Roland McGrath <roland@hack.frob.com>
26499 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26500 (__internal_setnetgrent): ... this. Add internal_function to
26501 definition. Add libc_hidden_def.
26502 (setnetgrent): Update caller.
26503 (internal_endnetgrent): Renamed to ...
26504 (__internal_endnetgrent): ... this. Add internal_function to
26505 definition. Add libc_hidden_def.
26506 (endnetgrent): Update caller.
26507 (internal_getnetgrent_r): Renamed to ...
26508 (__internal_getnetgrent_r): ... this. Add internal_function to
26509 definition. Add libc_hidden_def.
26510 (__getnetgrent_r): Update caller.
26511 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26513 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26515 * stdlib/longlong.h: Update from GCC.
26517 2012-08-16 Roland McGrath <roland@hack.frob.com>
26519 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26520 on _QL, which is set by umul_ppmm but never used.
26521 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26522 variables, which are set by GMP macros but never used.
26523 * stdio-common/_itowa.c (_itowa): Likewise.
26524 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26525 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26527 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26529 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26530 struct La_sh_regs is not constant.
26531 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26532 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26533 and struct La_sparc64_regs are not constant.
26535 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26537 * sysdeps/unix/sysv/linux/kernel-features.h
26538 (__ASSUME_POSIX_TIMERS): Remove.
26539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26540 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26541 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26542 Make code unconditional.
26543 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26544 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26545 Make code unconditional.
26546 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26547 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26548 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26549 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26550 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26551 Make code unconditional.
26552 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26553 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26554 (__libc_missing_posix_timers): Remove.
26556 2012-08-15 Roland McGrath <roland@hack.frob.com>
26558 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26559 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26561 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26563 * elf/dl-sym.c: Include <stdlib.h>.
26565 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26566 constants, which avoids warnings in 32-bit builds.
26568 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26569 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26571 * misc/lseek.c: File moved to ...
26572 * io/lseek.c: ... here.
26574 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26576 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26577 shifting LEN more than 31 bits at once.
26579 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26582 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26583 segmentation fault for a case of two empty input strings.
26584 * string/test-strncasecmp.c (check1): Renamed to...
26585 (bz12205): ...this.
26586 (bz14195): Add new testcase for two empty input strings and N > 0.
26587 (test_main): Call new testcase, adapt for renamed function.
26589 2012-08-15 Andreas Jaeger <aj@suse.de>
26592 * crypt/md5test2.c: New test, based on test supplied by Serge
26593 Belyshev <belyshev@depni.sinp.msu.ru>.
26594 * crypt/Makefile (xtests): Add md5test-giant..
26595 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26597 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26600 * crypt/md5.c (md5_process_block): Don't assume the buffer
26601 length is less than 2**32.
26602 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26603 length is less than 2**64.
26605 2012-08-15 Roland McGrath <roland@hack.frob.com>
26607 * string/str-two-way.h: Include <sys/param.h>.
26608 (MAX): Macro removed.
26610 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26611 Move #define and #undef of memmove to just before and after
26612 including <string.h>.
26614 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26615 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26616 and after including <string.h>. Move declarations of
26617 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26618 to before #include "string/memmove.c".
26620 * include/dirent.h: Declare __getdirentries.
26622 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26623 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26625 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26627 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26628 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26629 * sysdeps/i386/configure: Regenerated.
26630 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26631 STABS_CURRENT_FILE, and STABS_FUN.
26632 (END): Remove call to STABS_FUN_END.
26633 (STABS_CURRENT_FILE1): Delete.
26634 (STABS_CURRENT_FILE): Likewise.
26635 (STABS_FUN): Likewise.
26636 (STABS_FUN_END): Likewise.
26637 (STABS_FUN2): Likewise.
26638 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26639 * sysdeps/x86_64/configure: Regenerated.
26641 2012-08-14 Roland McGrath <roland@hack.frob.com>
26643 * elf/dl-open.c: Include <atomic.h>.
26644 * elf/dl-lookup.c: Likewise.
26646 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26648 * sysdeps/unix/sysv/linux/kernel-features.h
26649 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26650 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26652 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26654 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26655 condition on __ASSUME_CLONE_THREAD_FLAGS.
26657 2012-08-14 Andreas Jaeger <aj@suse.de>
26659 * sysdeps/i386/fpu/libm-test-ulps: Update.
26661 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26663 * include/atomic.h (atomic_exchange_and_add): Split into ...
26664 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26667 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26671 2012-08-13 Jeff Law <law@redhat.com>
26673 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26674 null byte in the output string.
26676 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26678 * sysdeps/unix/sysv/linux/kernel-features.h
26679 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26680 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26681 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26682 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26683 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26684 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26685 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26687 2012-08-09 Jeff Law <law@redhat.com>
26690 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26691 When avoid_arena is set, don't retry in the that arena. Pick the
26692 next one, whatever it might be.
26693 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26694 (arena_lock): Pass in new parameter to arena_get2.
26695 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26697 (__libc_malloc): Unify retrying after main arena failure with
26698 __libc_memalign version.
26699 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26701 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26704 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26705 to __redirect_strstr.
26706 (__strstr_sse42): Use typeof __redirect_strstr.
26707 (__strstr_ia32): Likewise.
26708 (__libc_strstr): New prototype.
26709 (strstr): Renamed to ...
26710 (__libc_strstr): This.
26711 (strstr): New strong alias of __libc_strstr.
26712 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26713 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26716 (__libc_time): New prototype.
26717 (time_ifunc): Replace time with __libc_time.
26718 (time): New strong alias and hidden definition of __libc_time.
26719 (__GI_time): Remove strong alias.
26720 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26721 Include <stddef.h>.
26722 (memmove): Redefined to __redirect_memmove.
26723 (__memmove_sse2): Use typeof __redirect_memmove.
26724 (__memmove_ssse3): Likewise.
26725 (__memmove_ssse3_back): Likewise.
26726 (__libc_memmove): New prototype.
26727 (memmove): Renamed to ...
26728 (__libc_memmove): This.
26729 (memmove): New strong alias of __libc_memmove.
26731 2012-08-08 Mark Salter <msalter@redhat.com>
26734 (R_MN10300_TLS_GD): Define.
26735 (R_MN10300_TLS_LD): Likewise.
26736 (R_MN10300_TLS_LDO): Likewise.
26737 (R_MN10300_TLS_GOTIE): Likewise.
26738 (R_MN10300_TLS_IE): Likewise.
26739 (R_MN10300_TLS_LE): Likewise.
26740 (R_MN10300_TLS_DTPMOD): Likewise.
26741 (R_MN10300_TLS_DTPOFF): Likewise.
26742 (R_MN10300_TLS_TPOFF): Likewise.
26743 (R_MN10300_SYM_DIFF): Likewise.
26744 (R_MN10300_ALIGN): Likewise.
26745 (R_MN10300_NUM): Update.
26747 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26752 2012-08-08 Roland McGrath <roland@hack.frob.com>
26754 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26756 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26757 sysdeps/unix -> sysdeps/posix move.
26758 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26760 2012-08-07 Allan McRae <allan@archlinux.org>
26763 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26764 (SUNOS_CPP): Likewise.
26765 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26767 (open_input): Call CPP using execvp.
26769 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26771 * sysdeps/unix/sysv/linux/kernel-features.h
26772 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26773 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26774 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26775 (__ASSUME_WAITID_SYSCALL): Likewise.
26776 * sysdeps/unix/sysv/linux/dl-execstack.c
26777 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26778 code unconditional.
26779 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26781 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26782 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26783 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26785 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26787 [__ASSUME_WAITID_SYSCALL]: Likewise.
26788 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26790 2012-08-07 Roland McGrath <roland@hack.frob.com>
26792 * sysdeps/unix/closedir.c: Renamed to ...
26793 * sysdeps/posix/closedir.c: ... here.
26794 * sysdeps/unix/dirfd.c: Renamed to ...
26795 * sysdeps/posix/dirfd.c: ... here.
26796 * sysdeps/unix/dirstream.h: Renamed to ...
26797 * sysdeps/posix/dirstream.h: ... here.
26798 * sysdeps/unix/fdopendir.c: Renamed to ...
26799 * sysdeps/posix/fdopendir.c: ... here.
26800 * sysdeps/unix/opendir.c: Renamed to ...
26801 * sysdeps/posix/opendir.c: ... here.
26802 * sysdeps/unix/readdir.c: Renamed to ...
26803 * sysdeps/posix/readdir.c: ... here.
26804 * sysdeps/unix/readdir_r.c: Renamed to ...
26805 * sysdeps/posix/readdir_r.c: ... here.
26806 * sysdeps/unix/rewinddir.c: Renamed to ...
26807 * sysdeps/posix/rewinddir.c: ... here.
26808 * sysdeps/unix/seekdir.c: Renamed to ...
26809 * sysdeps/posix/seekdir.c: ... here.
26810 * sysdeps/unix/telldir.c: Renamed to ...
26811 * sysdeps/posix/telldir.c: ... here.
26812 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26813 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26814 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26815 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26817 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26818 * bits/fcntl.h: ... here.
26820 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26822 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26823 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26824 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26825 (struct flock): Move l_start, l_len to the beginning.
26826 Use __pid_t for l_pid.
26827 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26828 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26829 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26830 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26831 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26832 [__USE_LARGEFILE64] (struct flock64): New type.
26833 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26835 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26836 * bits/dirent.h: ... here.
26838 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26839 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26841 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26844 Change from 2.6.0 to 2.6.16.
26845 * sysdeps/unix/sysv/linux/configure: Regenerated.
26846 * sysdeps/unix/sysv/linux/kernel-features.h
26847 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26848 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26850 (__ASSUME_UTIMES): Likewise.
26851 (__ASSUME_CLONE_STOPPED): Remove.
26852 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26853 architectures, not kernel version.
26854 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26855 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26856 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26857 (__ASSUME_WAITID_SYSCALL): Likewise.
26858 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26859 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26860 * README: State 2.6.16 as minimum Linux kernel version. Do not
26861 refer to older versions.
26863 2012-08-06 Roland McGrath <roland@hack.frob.com>
26865 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26866 Define alphasort64 as an alias.
26867 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26868 Define versionsort64 as an alias.
26869 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26870 Define scandir64 as an alias.
26871 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26872 Define scandirat64 as an alias.
26873 * dirent/alphasort64.c (alphasort64):
26874 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26875 * dirent/versionsort64.c: Likewise.
26876 * dirent/scandir64.c: Likewise.
26877 * dirent/scandirat64.c: Likewise.
26878 * sysdeps/wordsize-64/alphasort.c: File removed.
26879 * sysdeps/wordsize-64/alphasort64.c: File removed.
26880 * sysdeps/wordsize-64/scandir.c: File removed.
26881 * sysdeps/wordsize-64/scandir64.c: File removed.
26882 * sysdeps/wordsize-64/scandirat.c: File removed.
26883 * sysdeps/wordsize-64/scandirat64.c: File removed.
26884 * sysdeps/wordsize-64/versionsort.c: File removed.
26885 * sysdeps/wordsize-64/versionsort64.c: File removed.
26886 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26887 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26888 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26890 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26892 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26893 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26895 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26897 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26899 [defined __arch64__ || defined __sparcv9]
26900 (__INO_T_MATCHES_INO64_T): New macro.
26901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26902 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26903 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26904 * sysdeps/unix/sysv/linux/bits/dirent.h
26905 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26906 (_DIRENT_MATCHES_DIRENT64): New macro.
26908 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26909 Define lockf64 as an alias.
26910 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26911 Define fseeko64 as an alias.
26912 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26913 Define ftello64 as an alias.
26914 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26915 Define _IO_fgetpos64 and fgetpos64 as aliases.
26916 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26917 Define _IO_fsetpos64 and fsetpos64 as aliases.
26918 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26919 Conditionalize body on this.
26920 * libio/fseeko64.c: Likewise.
26921 * libio/ftello64.c: Likewise.
26922 * libio/iofgetpos64.c: Likewise.
26923 * libio/iofsetpos64.c: Likewise.
26924 * sysdeps/wordsize-64/lockf.c: File removed.
26925 * sysdeps/wordsize-64/lockf64.c: File removed.
26926 * sysdeps/wordsize-64/fseeko.c: File removed.
26927 * sysdeps/wordsize-64/fseeko64.c: File removed.
26928 * sysdeps/wordsize-64/ftello.c: File removed.
26929 * sysdeps/wordsize-64/ftello64.c: File removed.
26930 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26931 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26932 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26933 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26936 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26938 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26940 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26941 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26942 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26943 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26945 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26947 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26949 [defined __arch64__ || defined __sparcv9]
26950 (__OFF_T_MATCHES_OFF64_T): New macro.
26951 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26952 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26954 (__OFF_T_MATCHES_OFF64_T): New macro.
26956 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26958 * stdlib/secure-getenv.c (__secure_getenv): Replace
26959 GLIBC_2_16 with GLIBC_2_17.
26961 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26963 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26964 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26966 2012-08-03 David S. Miller <davem@davemloft.net>
26968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26970 2012-08-03 Joseph Myers <joseph@codesourcery.com>
26972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26974 (__ASSUME_CORRECT_SI_PID): Likewise.
26975 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26976 (__ASSUME_TMPFS_NAME): Likewise.
26977 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26978 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26979 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26980 (HAVE_AUX_SECURE): Make definition unconditional.
26981 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26982 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26984 2012-08-03 Roland McGrath <roland@hack.frob.com>
26986 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26987 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26988 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26989 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26990 __eloop_threshold instead of SYMLOOP_MAX.
26992 * sysdeps/generic/eloop-threshold.h: New file.
26993 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26995 * elf/chroot_canon.c (chroot_canon): Likewise.
26997 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27001 Change to 2.6.0 everywhere.
27002 * sysdeps/unix/sysv/linux/configure: Regenerated.
27003 * sysdeps/unix/sysv/linux/kernel-features.h
27004 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27005 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27007 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27008 (__ASSUME_FUTEX_REQUEUE): Remove.
27009 (__ASSUME_STATFS64): Define unconditionally.
27010 (__ASSUME_AT_SECURE): Likewise.
27011 (__ASSUME_CORRECT_SI_PID): Likewise.
27012 (__ASSUME_TGKILL): Define without depending on kernel version for
27014 (__ASSUME_UTIMES): Likewise.
27015 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27017 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27018 (__ASSUME_TMPFS_NAME): Likewise.
27019 * README: Update reference to Linux kernel versions.
27021 2012-08-02 Marek Polacek <polacek@redhat.com>
27024 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27025 libc_cv_asm_type_prefix with %.
27026 * configure: Regenerated.
27027 * include/libc-symbols.h: Remove comment about
27028 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27029 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27030 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27031 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27032 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27033 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27034 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27035 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27036 * elf/tst-unique2mod1.c: Likewise.
27037 * elf/tst-unique1mod2.c: Likewise.
27038 * elf/tst-unique1mod1.c: Likewise.
27039 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27040 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27041 Replace ASM_TYPE_DIRECTIVE with .type.
27042 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27043 * sysdeps/i386/sysdep.h: Likewise.
27044 * sysdeps/x86_64/sysdep.h: Likewise.
27045 * sysdeps/sh/sysdep.h: Likewise.
27046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27047 Do not define ASM_TYPE_DIRECTIVE.
27048 * sysdeps/powerpc/sysdep.h: Likewise.
27049 * sysdeps/powerpc/powerpc32/sysdep.h:
27050 Replace ASM_TYPE_DIRECTIVE with .type.
27051 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27052 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27053 * sysdeps/i386/fpu/e_powf.S: Likewise.
27054 * sysdeps/i386/fpu/e_expl.S: Likewise.
27055 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27056 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27057 * sysdeps/i386/fpu/e_pow.S: Likewise.
27058 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27059 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27060 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27061 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27062 * sysdeps/i386/fpu/e_log2.S: Likewise.
27063 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27064 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27065 * sysdeps/i386/fpu/e_powl.S: Likewise.
27066 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27067 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27068 * sysdeps/i386/fpu/e_logl.S: Likewise.
27069 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27070 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27071 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27072 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27073 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27074 * sysdeps/i386/fpu/e_log.S: Likewise.
27075 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27076 * sysdeps/i386/fpu/e_logf.S: Likewise.
27077 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27078 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27079 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27080 * sysdeps/i386/fpu/e_log10.S: Likewise.
27081 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27082 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27083 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27084 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27085 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27086 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27087 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27088 * sysdeps/i386/i686/strtok.S: Likewise.
27089 * sysdeps/i386/i386-mcount.S: Likewise.
27090 * sysdeps/i386/strtok.S: Likewise.
27091 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27094 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27095 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27096 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27097 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27098 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27099 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27100 * sysdeps/x86_64/_mcount.S: Likewise.
27101 * sysdeps/x86_64/strtok.S: Likewise.
27102 * sysdeps/sh/_mcount.S: Likewise.
27104 2012-08-01 Roland McGrath <roland@hack.frob.com>
27106 * libio/iofopen.c: Include <fcntl.h>.
27107 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27108 (_IO_fopen64, fopen64): Define as aliases.
27109 * libio/iofopen64.c: Include <fcntl.h>.
27110 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27111 Conditionalize body on this.
27112 * sysdeps/wordsize-64/iofopen.c: File removed.
27113 * sysdeps/wordsize-64/iofopen64.c: File removed.
27115 2012-08-01 Marek Polacek <polacek@redhat.com>
27117 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27118 Use dlfcn directly instead of a variable.
27119 (binfmt-subdir): Do not define.
27122 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27125 Remove all definitions.
27126 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27127 <kernel-features.h>.
27128 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27129 (miss_F_GETOWN_EX): Remove all definitions.
27130 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27132 [!__ASSUME_FCNTL64]: Remove conditional code.
27133 [__ASSUME_FCNTL64]: Make code unconditional.
27134 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27135 <kernel-features.h>.
27136 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27137 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27138 (lockf64) [__NR_fcntl64]: Make code unconditional.
27139 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27141 * sysdeps/unix/sysv/linux/kernel-features.h
27142 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27143 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27144 Make code unconditional.
27145 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27146 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27148 [__NR_vfork]: Make code unconditional.
27149 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27150 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27152 [__NR_vfork]: Make code unconditional.
27153 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27154 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27156 2012-08-01 Roland McGrath <roland@hack.frob.com>
27158 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27159 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27161 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27162 Define mkstemp64 as an alias.
27163 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27164 Define mkstemps64 as an alias.
27165 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27166 Define mkostemp64 as an alias.
27167 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27168 Define mkostemps64 as an alias.
27169 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27170 Conditionalize body on this.
27171 * misc/mkostemp64.c: Likewise.
27172 * misc/mkostemps64.c: Likewise.
27173 * misc/mkstemps64.c: Likewise.
27174 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27175 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27176 * sysdeps/wordsize-64/mkostemp.c: File removed.
27177 * sysdeps/wordsize-64/mkstemp.c: File removed.
27178 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27179 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27180 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27181 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27184 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27185 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27186 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27187 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27189 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27190 compat_symbol macros from <shlib-compat.h> rather than the underlying
27191 default_symbol_version and symbol_version macros, so that DEFAULT
27192 lines in shlib-versions are respected.
27193 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27195 2012-08-01 Florian Weimer <fweimer@redhat.com>
27197 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27198 Declare with warn_unused_result.
27199 (setgid, setregid, setegid, setresgid): Likewise.
27200 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27202 * WUR-REPORT: Remove set*id functions.
27204 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27206 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27208 2012-07-31 Roland McGrath <roland@hack.frob.com>
27211 * include/sys/socket.h (__libc_accept, __libc_accept4):
27212 Add attribute_hidden.
27213 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27215 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27217 * inet/getnetgrent_r.c (setup): Likewise.
27219 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27221 2012-07-31 David S. Miller <davem@davemloft.net>
27223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27225 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27228 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27229 value between 1.0 and 2.0 and smaller part has absolute value less
27231 * math/s_clog10.c (__clog10): Likewise.
27232 * math/s_clog10f.c (__clog10f): Likewise.
27233 * math/s_clog10l.c (__clog10l): Likewise.
27234 * math/s_clogf.c (__clogf): Likewise.
27235 * math/s_clogl.c (__clogl): Likewise.
27236 * math/libm-test.inc (clog_test): Add more tests.
27237 (clog10_test): Likewise.
27238 * sysdeps/i386/fpu/libm-test-ulps: Update.
27239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27241 2012-07-31 Florian Weimer <fweimer@redhat.com>
27243 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27244 Exit with zero in case no suitable GID is found, and write a
27245 message to standard error.
27247 2012-07-30 Roland McGrath <roland@hack.frob.com>
27249 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27251 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27252 (MAXPATHLEN): Removed.
27253 (NOGROUP, NODEV): New macros.
27254 (setbit, clrbit, isset, isclr): New macros.
27255 (howmany, roundup, powerof2): New macros.
27256 (DEV_BSIZE): New macro.
27258 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27259 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27261 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27262 definition on [!__NO_LONG_DOUBLE_MATH].
27264 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27265 PTR_MANGLE and PTR_DEMANGLE.
27267 * socket/accept4.c (accept4): Rename to __libc_accept4.
27268 Define accept4 as a weak alias.
27270 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27271 on [_DIRENT_HAVE_D_TYPE].
27272 * io/ftw.c (ftw_dir): Likewise.
27274 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27276 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27278 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27279 Use the BSD numbers rather than the arbitrary ones we had.
27280 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27281 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27282 (SIGXCPU, SIGXFSZ): New macros.
27285 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27286 initializer on [_LIBC_REENTRANT].
27288 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27289 definitions inside [_POSIX_MAPPED_FILES].
27291 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27293 * dirent/opendir.c: Include <fcntl.h>.
27295 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27296 (__libc_getspecific): Likewise.
27297 (__libc_key_create): Likewise.
27299 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27300 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27301 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27302 (tmpfile64): Define as alias.
27303 * sysdeps/wordsize-64/tmpfile.c: File removed.
27304 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27305 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27308 * stdio-common/vfscanf.c: Include <stdbool.h>.
27309 * nss/makedb.c: Likewise.
27310 * stdio-common/_i18n_number.h: Likewise.
27311 * argp/argp-help.c: Likewise.
27312 * posix/wordexp.c: Likewise.
27313 * sysdeps/posix/spawni.c: Likewise.
27314 * nss/nss_files/files-initgroups.c: Likewise.
27315 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27316 * nss/nss_files/files-initgroups.c: Likewise.
27317 * nss/nss_db/db-netgrp.c: Likewise.
27318 * nss/nss_db/db-initgroups.c: Likewise.
27319 * io/fchmodat.c: Include <sys/stat.h>.
27321 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27322 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27324 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27327 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27328 Add multiple inclusion protection.
27330 2012-07-27 David S. Miller <davem@davemloft.net>
27332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27334 2012-07-27 Gary Benson <gbenson@redhat.com>
27337 * elf/rtld.c: Include <stap-probe.h>.
27338 (dl_main): Added static probes "init_start" and "init_complete".
27339 * elf/dl-load.c: Include <stap-probe.h>.
27340 (lose): Take new parameter "nsid".
27341 Added static probe "map_failed".
27342 (_dl_map_object_from_fd): Pass namespace id to lose.
27343 Added static probe "map_start".
27344 (open_verify): Pass namespace id to lose.
27345 * elf/dl-open.c: Include <stap-probe.h>.
27346 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27347 and "reloc_complete".
27348 * elf/dl-close.c: Include <stap-probe.h>.
27349 (_dl_close_worker): Added static probes "unmap_start" and
27351 * elf/rtld-debugger-interface.txt: New file documenting the above.
27353 2012-07-26 Roland McGrath <roland@hack.frob.com>
27355 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27356 rather than a string variable.
27357 * sunrpc/rpc_main.c (h_output): Likewise.
27358 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27360 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27362 * inet/check_native.c: New file.
27364 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27367 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27368 if larger part has absolute value 1.0.
27369 * math/s_clog10.c (__clog10): Likewise.
27370 * math/s_clog10f.c (__clog10f): Likewise.
27371 * math/s_clog10l.c (__clog10l): Likewise.
27372 * math/s_clogf.c (__clogf): Likewise.
27373 * math/s_clogl.c (__clogl): Likewise.
27374 * math/libm-test.inc (clog_test): Add more tests.
27375 (clog10_test): Likewise.
27376 * sysdeps/i386/fpu/libm-test-ulps: Update.
27377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27379 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27380 (pltexit): Likewise.
27381 (La_regs): Likewise.
27382 (La_retval): Likewise.
27383 (int_retval): Likewise.
27384 Update #error for removed macros to refer only to definitions in
27386 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27388 (pltexit): Likewise.
27389 (La_regs): Likewise.
27390 (La_retval): Likewise.
27391 (int_retval): Likewise.
27392 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27394 (pltexit): Likewise.
27395 (La_regs): Likewise.
27396 (La_retval): Likewise.
27397 (int_retval): Likewise.
27398 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27400 (pltexit): Likewise.
27401 (La_regs): Likewise.
27402 (La_retval): Likewise.
27403 (int_retval): Likewise.
27404 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27406 (pltexit): Likewise.
27407 (La_regs): Likewise.
27408 (La_retval): Likewise.
27409 (int_retval): Likewise.
27410 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27412 (pltexit): Likewise.
27413 (La_regs): Likewise.
27414 (La_retval): Likewise.
27415 (int_retval): Likewise.
27416 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27418 (pltexit): Likewise.
27419 (La_regs): Likewise.
27420 (La_retval): Likewise.
27421 (int_retval): Likewise.
27422 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27423 macro definitions in tst-audit.h.
27424 * sysdeps/i386/tst-audit.h: New file.
27425 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27426 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27427 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27428 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27429 * sysdeps/sh/tst-audit.h: Likewise.
27430 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27431 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27432 * sysdeps/x86_64/tst-audit.h: Likewise.
27434 2012-07-26 Andreas Jaeger <aj@suse.de>
27436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27439 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27440 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27441 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27443 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27445 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27447 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27450 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27452 (si_call_addr, si_syscall, si_arch): Define new macro.
27453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27455 (si_call_addr, si_syscall, si_arch): Define new marcro.
27456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27458 (si_call_addr, si_syscall, si_arch): Define new macro.
27459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27461 (si_call_addr, si_syscall, si_arch): Define new macro.
27463 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27467 Change to 2.4.21 where previously 2.4.1.
27468 * sysdeps/unix/sysv/linux/configure: Regenerated.
27469 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27470 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27471 Linux kernel version.
27472 (__ASSUME_STD_AUXV): Remove.
27473 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27475 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27476 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27477 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27478 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27479 (__ASSUME_NETLINK_SUPPORT): Likewise.
27480 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27481 (__no_netlink_support): Remove conditional definition.
27482 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27484 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27485 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27486 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27487 (if_nameindex_ioctl): Remove.
27488 (if_nameindex_netlink): Do not handle __no_netlink_support.
27489 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27491 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27492 Remove conditional code.
27493 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27495 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27497 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27498 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27499 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27501 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27502 [!__ASSUME_STD_AUXV]: Remove conditional code.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27504 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27505 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27507 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27508 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27510 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27512 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27513 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27515 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27517 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27520 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27523 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27524 code unconditional.
27525 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27527 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27529 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27532 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27534 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27537 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27538 code unconditional.
27539 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27541 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27543 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27546 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27547 code unconditional.
27548 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27550 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27552 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27555 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27557 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27558 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27559 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27560 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27561 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27562 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27563 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27564 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27565 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27566 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27567 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27568 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27569 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27570 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27572 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27573 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27575 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27577 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27578 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27579 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27581 2012-07-25 Florian Weimer <fweimer@redhat.com>
27583 * Versions.def: Add GLIBC_2.17.
27584 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27585 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27586 Introduce __libc_secure_getenv.
27587 * stdlib/Versions (2.17): Add secure_getenv
27588 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27589 * stdlib/secure-getenv.c: Rename __secure_getenv to
27590 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27591 symbol __secure_getenv for GLIBC_2.0.
27592 * stdlib/tst-secure-getenv.c: New.
27593 * stdlib/Makefile (tests): Add testcase.
27594 * manual/startup.texi (Environment Access): Document
27596 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27597 __libc_secure_getenv.
27598 * inet/ruserpass.c (ruserpass): Likewise.
27599 * malloc/mtrace.c (mtrace): Likewise.
27600 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27601 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27602 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27603 * sysdeps/posix/tempname.c: Likewise. Evaluate
27604 HAVE_SECURE_GETENV.
27605 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27606 __secure_getenv to __libc_secure_getenv.
27607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27620 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27622 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27623 (struct La_i86_retval): Likewise.
27624 (struct La_x86_64_regs): Likewise.
27625 (struct La_x86_64_retval): Likewise.
27626 (struct La_x32_regs): Likewise.
27627 (struct La_x32_retval): Likewise.
27628 (struct La_ppc32_regs): Likewise.
27629 (struct La_ppc32_retval): Likewise.
27630 (struct La_ppc64_regs): Likewise.
27631 (struct La_ppc64_retval): Likewise.
27632 (struct La_sh_regs): Likewise.
27633 (struct La_sh_retval): Likewise.
27634 (struct La_s390_32_regs): Likewise.
27635 (struct La_s390_32_retval): Likewise.
27636 (struct La_s390_64_regs): Likewise.
27637 (struct La_s390_64_retval): Likewise.
27638 (struct La_sparc32_regs): Likewise.
27639 (struct La_sparc32_retval): Likewise.
27640 (struct La_sparc64_regs): Likewise.
27641 (struct La_sparc64_retval): Likewise.
27642 (struct audit_ifaces): Remove architecture-specific pltenter and
27644 * sysdeps/i386/ldsodefs.h: New file.
27645 * sysdeps/powerpc/ldsodefs.h: Likewise.
27646 * sysdeps/s390/ldsodefs.h: Likewise.
27647 * sysdeps/sh/ldsodefs.h: Likewise.
27648 * sysdeps/sparc/ldsodefs.h: Likewise.
27649 * sysdeps/x86_64/ldsodefs.h: Likewise.
27651 2012-07-25 Marek Polacek <polacek@redhat.com>
27654 * math/libm-test.inc (yn_test): Add another test.
27655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27656 to ERANGE when the result is +-Inf.
27657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27658 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27659 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27660 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27662 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27664 * conform/data/time.h-data (NULL): Use macro-constant. Require
27666 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27668 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27670 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27672 * configure.in <sysdeps resolving>: Correct printing
27674 * configure: Regenerate.
27676 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27678 * math/w_ilogb.c: Include <limits.h>.
27679 * math/w_ilogbl.c: Likewise.
27681 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27683 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27684 va_copy. Document allowing for unavailable va_copy only as
27685 pre-C99 compatibility.
27686 * manual/string.texi (Copying and Concatenation): Use va_copy
27687 instead of __va_copy in concat example.
27689 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27691 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27692 (__sendto): Use create_address_port. Initialize APORT and deallocate
27695 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27696 with O_NOLINK passed to __file_name_lookup.
27698 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27699 with O_NOLINK passed to __file_name_lookup.
27701 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27702 negative N or less than NGIDS.
27704 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27705 type to string_t. Set ERANGE as errno and return it if NAME is not big
27706 enough. Use memcpy instead of strncpy.
27708 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27710 * elf/Makefile (check-data): Remove.
27711 (localplt.data): New vpath directive.
27712 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27713 instead of $(check-data).
27714 * scripts/data/localplt-generic.data: Move to ...
27715 * sysdeps/generic/localplt.data: ... here.
27716 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27717 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27718 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27721 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27724 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27727 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27730 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27733 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27737 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27739 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27740 PPC32 and PPC64 files.
27741 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27742 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27744 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27746 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27747 __makecontext_ret to ...
27748 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27749 ... here and call exit if uc_link is NULL. New file.
27750 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27751 __makecontext_ret.S.
27752 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27753 __makecontext_ret to ...
27754 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27755 ... here and call exit if uc_link is NULL. New file.
27756 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27757 __makecontext_ret.S.
27759 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27761 * elf/elf.h (R_390_IRELATIVE): New definition.
27762 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27763 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27764 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27766 (elf_machine_lazy_rel): Likewise.
27767 * sysdeps/s390/dl-irel.h: New file.
27768 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27769 * sysdeps/s390/s390-64/memset.S: New asm code.
27770 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27771 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27772 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27773 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27774 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27775 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27776 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27777 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27778 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27779 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27780 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27781 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27782 * sysdeps/s390/s390-32/memset.S: New asm code.
27783 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27785 2012-07-17 Marek Polacek <polacek@redhat.com>
27788 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27789 * sysdeps/s390/s390-64/configure.in: Likewise.
27790 * sysdeps/sparc/configure.in: Likewise.
27791 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27792 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27793 * sysdeps/i386/configure.in: Likewise.
27794 * sysdeps/x86_64/configure.in: Likewise.
27795 * sysdeps/sh/configure.in: Likewise.
27796 * sysdeps/s390/s390-32/configure: Regenerated.
27797 * sysdeps/s390/s390-64/configure: Likewise.
27798 * sysdeps/x86_64/configure: Likewise.
27799 * sysdeps/sh/configure: Likewise.
27800 * sysdeps/powerpc/powerpc64/configure: Likewise.
27801 * sysdeps/powerpc/powerpc32/configure: Likewise.
27802 * sysdeps/sparc/configure: Likwise.
27803 * sysdeps/i386/configure: Likewise.
27805 * elf/dl-open.c: Comment fixes.
27807 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27809 * Makefile [CXX] (check-data): Remove.
27810 [CXX] (c++-types.data): New vpath directive.
27811 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27812 vpath. Do not allow for C++ type data being missing.
27813 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27814 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27815 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27816 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27817 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27818 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27819 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27822 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27825 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27828 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27831 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27834 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27837 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27840 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27843 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27844 definitions to architecture-specific files.
27845 (TLS_IE): Likewise.
27846 (TLS_LD): Likewise.
27847 (TLS_GD): Likewise.
27848 * sysdeps/i386/tls-macros.h: New file.
27849 * sysdeps/powerpc/tls-macros.h: Likewise.
27850 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27851 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27852 * sysdeps/sh/tls-macros.h: Likewise.
27853 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27854 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27855 * sysdeps/x86_64/tls-macros.h: Likewise.
27857 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27860 zero value for regular exit case.
27862 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27863 (__start_context): Preserve zero value for regular exit case.
27865 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27866 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27868 * manual/setjmp.texi (setcontext): Clarify normal process
27869 termination when uc_link is the null pointer.
27870 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27873 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27875 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27876 preprocessor. Test for each exception mask separately.
27878 2012-07-16 Andreas Jaeger <aj@suse.de>
27880 * po/ru.po: Update from translation team.
27882 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27884 * conform/data/string.h-data (NULL): Use macro-constant. Require
27886 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27887 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27888 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27889 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27892 2012-07-13 Andreas Jaeger <aj@suse.de>
27894 * po/fr.po: Update from translation team.
27896 2012-07-12 Marek Polacek <polacek@redhat.com>
27899 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27900 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27903 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27907 Change to 2.4.1 where previously 2.4.0.
27908 * sysdeps/unix/sysv/linux/configure: Regenerated.
27909 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27910 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27912 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27913 (__ASSUME_AT_CLKTCK): Remove.
27914 (__ASSUME_AT_PAGESIZE): Likewise.
27915 (__ASSUME_AT_XID): Likewise.
27916 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27917 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27918 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27920 (HAVE_AUX_PAGESIZE): Likewise.
27921 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27922 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27923 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27925 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27929 the temporary buffer used to invoke __gethostbyname2_r,
27930 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27931 host_data / struct gaih_addrtuple.
27932 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27933 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27934 header file nss/nsswitch.h.
27935 * nss/nsswitch.h (global scope): Add definition of implementation
27936 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27937 resolv/nss_dns/dns-host.c).
27939 2012-07-11 Andreas Jaeger <aj@suse.de>
27941 * po/fr.po: Update from translation team.
27943 * po/sv.po: Update from translation team
27944 * po/fr.po: Another update from translation team.
27946 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27948 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27949 for subnormals or multiply small sinh result by itself.
27950 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27953 2012-07-11 David S. Miller <davem@davemloft.net>
27955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27957 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27960 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27961 (INTERNAL_MARK): Shift it here.
27963 2012-07-10 Marek Polacek <polacek@redhat.com>
27966 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27967 libc_cv_asm_global_directive with .globl.
27968 * configure: Regenerated.
27969 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27971 * sysdeps/i386/configure: Regenerated.
27972 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27974 * sysdeps/x86_64/configure: Regenerated.
27975 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27976 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27977 * elf/tst-unique2mod2.c: Likewise.
27978 * elf/tst-unique2mod1.c: Likewise.
27979 * elf/tst-unique1mod2.c: Likewise.
27980 * elf/tst-unique1mod1.c: Likewise.
27981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27982 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27983 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27984 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27985 * sysdeps/mach/sysdep.h: Likewise.
27986 * sysdeps/i386/sysdep.h: Likewise.
27987 * sysdeps/i386/i386-mcount.S: Likewise.
27988 * sysdeps/x86_64/_mcount.S: Likewise.
27989 * sysdeps/x86_64/sysdep.h: Likewise.
27990 * sysdeps/sh/_mcount.S: Likewise.
27991 * sysdeps/sh/sysdep.h: Likewise.
27992 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27993 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27994 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27995 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27996 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27997 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27998 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27999 * locale/localeinfo.h: Likewise.
28000 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28001 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28003 2012-07-09 Roland McGrath <roland@hack.frob.com>
28006 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28008 * manual/message.texi (The Uniforum approach): Likewise.
28009 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28010 (glibc iconv Implementation): Likewise.
28012 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28015 * math/s_clog.c (__clog): Avoid scaling a value down where that
28016 could result in underflow.
28017 * math/s_clog10.c (__clog10): Likewise.
28018 * math/s_clog10f.c (__clog10f): Likewise.
28019 * math/s_clog10l.c (__clog10l): Likewise.
28020 * math/s_clogf.c (__clogf): Likewise.
28021 * math/s_clogl.c (__clogl): Likewise.
28022 * math/libm-test.inc (clog_test): Add more tests.
28023 (clog10_test): Likewise.
28024 * sysdeps/i386/fpu/libm-test-ulps: Update.
28025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28027 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28030 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28031 by 7 not 8 to examine high bit of fractional part.
28034 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28035 for call to __mcount_internal.
28036 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28037 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28038 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28040 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28043 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28044 approximation for values within 0x1p-13f of an odd multiple of
28046 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28047 exception. Add more tests.
28048 * sysdeps/i386/fpu/libm-test-ulps: Update.
28051 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28052 inputs and return -1 for them. Do not check for +Inf in case not
28053 reachable for +Inf.
28054 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28055 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28056 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28057 and return -1 for them. Do not check for +Inf in case not
28058 reachable for +Inf.
28059 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28061 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28062 and return -1 for them. Do not check for +Inf in case not
28063 reachable for +Inf.
28064 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28065 spurious underflow.
28066 * sysdeps/i386/fpu/libm-test-ulps: Update.
28067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28069 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28071 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28073 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28077 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28078 could result in spurious underflow. Scale down values above
28079 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28080 * math/s_csqrtf.c (__csqrtf): Likewise.
28081 * math/s_csqrtl.c (__csqrtl): Likewise.
28082 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28083 spurious underflow.
28084 * sysdeps/i386/fpu/libm-test-ulps: Update.
28085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28087 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28089 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28091 * catgets/xopen-msg.awk: New file.
28092 * catgets/xopen-msg.sed: Removed.
28094 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28096 * intl/po2test.awk: New file.
28097 * intl/po2test.sed: Removed.
28099 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28102 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28103 or multiply small sinh result by itself.
28104 * math/s_ctanf.c (__ctanf): Likewise.
28105 * math/s_ctanh.c (__ctanh): Likewise.
28106 * math/s_ctanhf.c (__ctanhf): Likewise.
28107 * math/s_ctanhl.c (__ctanhl): Likewise.
28108 * math/s_ctanl.c (__ctanl): Likewise.
28109 * math/libm-test.inc (ctan_test_tonearest): New function.
28110 (ctan_test_towardzero): Likewise.
28111 (ctan_test_downward): Likewise.
28112 (ctan_test_upward): Likewise.
28113 (ctanh_test_tonearest): Likewise.
28114 (ctanh_test_towardzero): Likewise.
28115 (ctanh_test_downward): Likewise.
28116 (ctanh_test_upward): Likewise.
28117 (main): Call these new functions.
28118 * sysdeps/i386/fpu/libm-test-ulps: Update.
28119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28123 * .gitignore: Delete /ports entry.
28125 2012-07-03 Andreas Jaeger <aj@suse.de>
28127 * po/bg.po: Update from translation team.
28128 * po/cs.po: Likewise.
28129 * po/de.po: Likewise.
28130 * po/hr.po: Likewise.
28131 * po/nl.pl: Likewise.
28132 * po/pl.po: Likewise.
28133 * po/vi.po: Likewise.
28135 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28137 * Makeconfig [!+link] (+link-before-libc): New variable.
28138 [!+link] (+link-after-libc): Likewise.
28139 [!+link] (+link-tests): Likewise.
28140 [!+link] (+link): Define in terms of $(+link-before-libc) and
28141 $(+link-after-libc).
28142 [!+link-static] (+link-static-before-libc): New variable.
28143 [!+link-static] (+link-static-after-libc): Likewise.
28144 [!+link-static] (+link-static-tests): Likewise.
28145 [!+link-static] (+link-static): Define in terms of
28146 $(+link-static-before-libc) and $(+link-static-after-libc).
28147 [build-shared] (link-libc-before-gnulib): New variable.
28148 [build-shared] (link-libc-tests): Likewise.
28149 [build-shared] (link-libc): Define in terms of
28150 $(link-libc-before-gnulib).
28151 [!build-shared] (link-libc-tests): New variable.
28152 (link-libc-static-tests): New variable.
28153 [!gnulib] (gnulib-arch): New variable.
28154 [!gnulib] (gnulib-tests): Likewise.
28155 [!gnulib] (static-gnulib-arch): Likewise.
28156 [!gnulib] (static-gnulib-tests): Likewise.
28157 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28158 Define with "=" instead of ":=".
28159 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28160 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28161 * Rules (binaries-all-notests): New variable.
28162 (binaries-all-tests): Likewise.
28163 (binaries-static-notests): Likewise.
28164 (binaries-static-tests): Likewise.
28165 (binaries-all): Define using $(binaries-all-notests) and
28166 $(binaries-all-tests).
28167 (binaries-static): Define using $(binaries-static-notests) and
28168 $(binaries-static-tests).
28169 (binaries-shared-tests): New variable.
28170 (binaries-shared-notests): Likewise.
28171 (binaries-shared): Remove variable.
28172 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28173 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28174 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28175 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28176 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28177 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28178 * elf/Makefile (sln-modules): New variable.
28179 (extra-objs): Add $(sln-modules:=.o).
28180 (ldconfig-modules): Add static-stubs.
28181 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28182 * elf/static-stubs.c: New file.
28185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28186 by 7 not 8 to examine high bit of fractional part. Use volatile
28187 variables when splitting into final array of floats if
28188 __FLT_EVAL_METHOD__ != 0.
28189 * math/libm-test.inc (cos_test): Add another test.
28190 (sin_test): Likewise.
28191 * sysdeps/i386/fpu/libm-test-ulps: Update.
28194 * math/libm-test.inc (cosh_test): Add more tests.
28196 * version.h (RELEASE): Set to "development".
28197 (VERSION): Set to "2.16.90".
28199 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28201 * NEWS: Update copyright. Remove last-updated date.
28202 Mention math library bug fixes and timezone data changes.
28203 * README: Mention GNU/Hurd, x32, and HPPA support status.
28205 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28207 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28209 2012-06-27 Andreas Jaeger <aj@suse.de>
28211 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28213 2012-06-25 Andreas Jaeger <aj@suse.de>
28215 * sysdeps/s390/fpu/libm-test-ulps: Update.
28217 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28218 Thomas Schwinge <thomas@codesourcery.com>
28220 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28221 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28225 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28227 * sysdeps/mach/start.c: Remove file.
28228 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28229 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28230 * sysdeps/sh/init-first.c: Likewise.
28232 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28233 registers for frame unwinding purposes, add CFI directives.
28234 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28235 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28236 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28239 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28240 __fortify_fail returning.
28241 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28243 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28244 sysdeps/sh/____longjmp_chk.S.
28245 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28246 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28247 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28248 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28250 * sysdeps/sh/abort-instr.h: New file.
28251 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28252 process in case exit returns.
28254 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28255 initialize the GOT register before use.
28257 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28258 calculation of ARGC > 4.
28260 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28261 meaningful names to some local labels.
28263 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28264 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28266 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28267 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28268 (__arch_compare_and_exchange_val_16_acq): Likewise.
28269 (__arch_compare_and_exchange_val_32_acq): Likewise.
28270 (atomic_exchange_and_add): Fix gUSA sequence.
28271 (atomic_add): Likewise.
28272 (atomic_add_negative): Likewise.
28273 (atomic_add_zero): Likewise.
28274 (atomic_bit_test_set): Likewise.
28276 2012-06-22 Andreas Schwab <schwab@redhat.com>
28279 * include/link.h (struct link_map): Add l_free_initfini.
28280 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28282 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28283 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28284 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28287 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28289 * configure.in: Use AC_LANG_SOURCE.
28290 * configure: Regenerate.
28292 2012-06-22 Roland McGrath <roland@hack.frob.com>
28294 * configure.in (libc_cv_localstatedir): New substituted variable.
28295 * configure: Regenerated.
28296 * config.make.in (localstatedir): New variable, substituted from
28297 libc_cv_localstatedir.
28298 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28299 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28300 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28301 * sysdeps/gnu/configure: Regenerated.
28303 2012-06-21 Jeff Law <law@redhat.com>
28306 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28307 free. Simplify list management for _LIBC case.
28309 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28313 Clear sign bit of 64-bit integer value before comparing against
28316 * sysdeps/mach/configure: Regenerated.
28318 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28321 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28323 2012-06-21 Jeff Law <law@redhat.com>
28326 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28327 uint16_t for elements in the "seen" array to avoid char overflows.
28328 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28329 * elf/dl-open.c (dl_open_worker): Likewise.
28331 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28333 * scripts/list-sources.sh: Scan PORTS for translations.
28334 * po/libc.pot: Regenerated.
28336 2012-06-21 Andreas Jaeger <aj@suse.de>
28339 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28341 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28342 * bits/byteswap-16.h (__bswap_16): Likewise.
28343 * bits/byteswap.h (__bswap_constant_16): Likewise.
28345 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28348 * sysdeps/i386/fpu_control.h: Removed.
28349 * sysdeps/x86_64/fpu_control.h: Moved to ...
28350 * sysdeps/x86/fpu_control.h: Here.
28352 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28353 (_FPU_SETCW): Likewise.
28355 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28358 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28359 * sysdeps/x86/fpu/bits/mathinline.h: This.
28360 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28364 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28365 functions if __x86_64__ is defined.
28367 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28369 * string/endian.h: Add !__ASSEMBLER__ condition for including
28370 conversion interfaces.
28372 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28376 of ABS(x) in calculating zero to negative powers other than odd
28378 * math/libm-test.inc (pow_test): Add more tests.
28380 2012-06-15 Andreas Jaeger <aj@suse.de>
28382 * manual/contrib.texi (Contributors): Update entry of Liubov
28383 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28386 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28388 * string/string.h: Add __wur to GNU version of strerror_r.
28390 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28393 * string/Makefile (tests): Add tst-strtok_r.
28394 * string/tst-strtok_r.c: New file.
28395 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28396 RAX_LP/RDX_LP on SAVE_PTR.
28398 2012-06-14 Roland McGrath <roland@hack.frob.com>
28400 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28402 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28404 * libm_test.inc (csqrt_test): Allow more spurious underflow
28406 (j0_test): Likewise.
28407 (j1_test): Likewise.
28408 (y0_test): Likewise.
28409 (y1_test): Likewise.
28411 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28413 * po/Makefile (libc.pot): Use UTF-8 charset.
28415 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28418 Suppress sign-conversion warning from FD_SET.
28419 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28420 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28421 not unsigned long int.
28422 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28424 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28428 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28429 __extern_always_inline instead of __extern_inline.
28430 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28431 (__signbit): Likewise.
28432 (__signbitl): Support C++ namespace.
28433 (lrintf): New inline function.
28435 (llrintf): Likewise.
28436 (llrint): Likewise.
28446 (floorf): Likewise.
28447 (nearbyint): Likewise.
28448 (nearbyintf): Likewise.
28450 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28453 non-default versions.
28455 2012-06-11 Roland McGrath <roland@hack.frob.com>
28458 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28460 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28462 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28463 (FE_UPWARD, FE_DOWNWARD): Don't define.
28464 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28465 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28467 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28469 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28470 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28472 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28474 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28476 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28477 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28479 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28482 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28483 * sysdeps/i386/fpu/Implies: New file.
28484 * sysdeps/x86_64/fpu/Implies: Likewise.
28485 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28486 * sysdeps/x86/fpu/bits/fenv.h: This.
28488 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28491 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28494 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28495 character 0xffff that matches the last element of the
28498 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28500 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28503 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28505 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28506 values higher than 25.6283.
28508 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28510 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28511 subnormal exponent extraction and add some __builtin_expect.
28512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28513 Fix for subnormal mantissa calculation.
28515 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28517 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28518 cpu2 is -1 and errno is not ENOSYS.
28520 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28523 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28524 * sysdeps/x86/bits/string.h: This.
28525 * sysdeps/x86_64/bits/string.h: Removed.
28527 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28528 if not compiling for x86-64, but compiling for >= i486.
28530 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28531 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28534 New macro from Linux kernel 3.4.0.
28535 (FP_XSTATE_MAGIC2): Likewise.
28536 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28537 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28538 (struct _fpx_sw_bytes): New struct.
28539 (struct _xsave_hdr): Likewise.
28540 (struct _ymmh_state): Likewise.
28541 (struct _xstate): Likewise.
28543 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28544 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28545 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28546 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28547 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28548 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28550 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28552 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28553 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28554 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28555 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28557 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28560 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28561 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28562 (sysdep_headers): Include sys/platform/ppc.h.
28563 * sysdeps/powerpc/test-gettimebase.c: Test for
28564 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28565 * manual/Makefile (appendices): Include platform.texi.
28566 * manual/contrib.texi (Contributors): Update @node pointers.
28567 * manual/maint.texi (Maintenance): Likewise.
28568 (Platform): New node.
28569 * manual/platform.texi: New file. Document the new features.
28571 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28572 Jakub Jelinek <jakub@redhat.com>
28575 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28576 where __builtin_expect is unavailable.
28578 2012-06-03 David S. Miller <davem@davemloft.net>
28580 * stdlib/longlong.h: Updated from GCC.
28582 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28585 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28586 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28589 (GLIBC_2.16): Likewise.
28591 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28593 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28595 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28598 (default-abi): New variable.
28599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28600 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28602 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28604 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28606 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28609 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28610 definition. Document in comment.
28612 2012-06-01 David S. Miller <davem@davemloft.net>
28614 * stdlib/longlong.h: Updated from GCC.
28616 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28619 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28620 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28621 sys/debugreg.h sys/io.h here.
28622 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28623 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28625 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28626 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28627 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28628 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28629 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28630 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28632 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28633 Define only if __x86_64__ is defined.
28635 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28638 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28639 Use int64_t for variable i.
28640 * math/libm-test.inc (fmod_test): Add more tests.
28642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28643 z computation is not scheduled after fetestexcept.
28644 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28645 Use math_force_eval instead of asm to ensure calculation scheduled
28646 before exception test.
28647 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28648 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28650 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28653 computation is not scheduled after fetestexcept.
28655 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28658 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28659 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28661 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28663 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28664 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28666 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28669 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28671 (__WCHAR_MIN): Support __WORDSIZE == 64.
28672 (__WCHAR_MAX): Likewise.
28674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28675 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28679 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28682 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28683 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28685 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28686 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28688 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28689 Defined to 1 if __x86_64__ isn't defined.
28690 (_STAT_VER_LINUX_OLD): New.
28691 (st_atime): Remove duplicate.
28692 (st_mtime): Likewise.
28693 (st_ctime): Likewise.
28695 2012-05-31 David S. Miller <davem@davemloft.net>
28697 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28700 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28702 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28706 * elf/dl-reloc.c: Include <_itoa.h>.
28707 (_dl_reloc_bad_type): Remove use of INTUSE.
28708 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28709 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28710 * stdio-common/psiginfo.c (psiginfo): Likewise.
28711 * stdio-common/psignal.c (psignal): Likewise.
28712 * string/strsignal.c (strsignal): Likewise.
28713 * include/signal.h (_sys_siglist): Declare hidden proto.
28714 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28715 INTVARDEF with libc_hidden_data_def.
28716 * stdio-common/itoa-udigits.c: Likewise.
28717 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28718 (_itoa_lower_digits_internal): Remove declaration.
28719 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28720 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28721 (_sys_sigabbrev_internal): Remove aliases.
28722 (_sys_siglist): Define hidden alias.
28724 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28729 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28732 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28733 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28735 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28736 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28737 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28738 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28739 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28740 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28742 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28743 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28744 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28746 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28754 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28755 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28756 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28758 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28759 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28761 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28762 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28763 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28765 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28766 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28768 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28769 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28771 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28775 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28776 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28778 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28780 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28781 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28782 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28784 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28786 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28788 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28790 * math/math.h (M_El): Use two more decimal places.
28791 (M_LOG2El): Likewise.
28792 (M_LOG10El): Likewise.
28793 (M_LN2l): Likewise.
28794 (M_LN10l): Likewise.
28796 (M_PI_2l): Likewise.
28797 (M_PI_4l): Likewise.
28798 (M_1_PIl): Likewise.
28799 (M_2_PIl): Likewise.
28800 (M_2_SQRTPIl): Likewise.
28801 (M_SQRT2l): Likewise.
28802 (M_SQRT1_2l): Likewise.
28804 2012-05-31 David S. Miller <davem@davemloft.net>
28806 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28807 values between float registers.
28808 * sysdeps/sparc/sparc64/memset.S: Likewise.
28809 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28811 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28813 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28814 -D_FORTIFY_SOURCE=1.
28815 (CPPFLAGS-tst-longjmp_chk.c): Define.
28816 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28817 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28818 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28819 CFLAGS-tst-wchar-h.c.
28821 2012-05-31 Marek Polacek <polacek@redhat.com>
28824 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28825 __endmntent_internal): Remove declaration.
28826 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28827 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28828 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28830 2012-05-30 David S. Miller <davem@davemloft.net>
28832 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28833 (___Q_simulate_exceptions): Use real FP ops rather than writing
28835 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28838 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28841 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28842 * sysdeps/x86/bits/xtitypes.h: This.
28844 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28845 * sysdeps/x86/bits/wordsize.h: This.
28847 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28848 * sysdeps/x86/bits/huge_vall.h: This.
28850 * sysdeps/i386/bits/select.h: Removed.
28851 * sysdeps/x86_64/bits/select.h: Renamed to ...
28852 * sysdeps/x86/bits/select.h: This.
28854 * sysdeps/i386/bits/setjmp.h: Removed.
28855 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28856 * sysdeps/x86/bits/setjmp.h: This.
28858 * sysdeps/i386/bits/mathdef.h: Removed.
28859 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28860 * sysdeps/x86/bits/mathdef.h: This.
28862 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28865 * include/sys/socket.h (__connect_internal)
28866 (__libc_sa_len_internal): Remove declaration.
28867 (__connect, __libc_sa_len): Declare hidden_proto.
28868 (SA_LEN): Remove use of INTUSE.
28869 * socket/connect.c: Add libc_hidden_def.
28870 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28871 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28872 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28874 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28875 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28876 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28877 of adding _internal alias.
28879 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28882 * sysdeps/i386/bits/link.h: Removed.
28883 * sysdeps/i386/bits/linkmap.h: Likewise.
28884 * sysdeps/x86_64/bits/link.h: Renamed to ...
28885 * sysdeps/x86/bits/link.h: This.
28886 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28887 * sysdeps/x86/bits/linkmap.h: This.
28889 * sysdeps/i386/bits/endian.h: Removed.
28890 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28891 * sysdeps/x86/bits/endian.h: This.
28893 * sysdeps/i386/bits/byteswap.h: Removed.
28894 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28895 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28896 * sysdeps/x86/bits/byteswap.h: This.
28897 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28898 * sysdeps/x86/bits/byteswap-16.h: This.
28899 * sysdeps/i386/Implies: Add x86.
28900 * sysdeps/x86_64/Implies: Likewise.
28902 2012-05-30 David S. Miller <davem@davemloft.net>
28904 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28905 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28906 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28907 (FP_TRAPPING_EXCEPTIONS): Define.
28908 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28909 (FP_TRAPPING_EXCEPTIONS): Define.
28910 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28911 subnormals only when inexact has been signalled or underflow
28912 exceptions are enabled.
28913 (_FP_PACK_CANONICAL): Likewise.
28915 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28918 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28919 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28921 2012-05-30 Richard Henderson <rth@twiddle.net>
28923 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28924 with #ifndef NOT_IN_libc.
28926 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28927 marked to avoid plt entry.
28929 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28932 * Makeconfig (default-abi): New macro.
28933 (abi-includes): Likewise.
28934 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28935 $(abi-$(default-abi)-lib-soname) for soname if defined.
28936 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28938 * Makefile (installed-stubs): Likewise.
28939 * include/stubs-biarch.h: Removed.
28940 * scripts/lib-names.awk: Only handle one library at a time.
28941 * scripts/soversions.awk: Remove WORDSIZE support.
28942 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28946 (syscall-list-default-condition): Likewise.
28947 (syscall-list-default-condition): Likewise.
28948 (syscall-list-includes): Likewise.
28949 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28950 syscall-list-* with abi-*. Handle undefined abi-variants.
28951 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28952 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28953 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28956 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28958 (syscall-list-32-options): Likewise.
28959 (syscall-list-32-condition): Likewise.
28960 (syscall-list-64-options): Likewise.
28961 (syscall-list-64-condition): Likewise.
28962 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28964 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28967 (abi-64-ld-soname): New macro.
28968 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28969 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28972 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28973 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28975 2012-05-30 Joseph Myers <joseph@codesourcery.com>
28977 * sysdeps/unix/sysv/linux/kernel-features.h
28978 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28979 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28980 include <kernel-features.h>.
28981 [!__NR_ftruncate64]: Remove conditional code.
28982 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28983 [__NR_ftruncate64]: Make code unconditional.
28984 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28985 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28986 include <kernel-features.h>.
28987 [!__NR_ftruncate64]: Remove conditional code.
28988 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28989 [__NR_ftruncate64]: Make code unconditional.
28990 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28992 include <kernel-features.h>.
28993 [!__NR_ftruncate64]: Remove conditional code.
28994 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28995 [__NR_ftruncate64]: Make code unconditional.
28996 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28998 include <kernel-features.h>.
28999 [!__NR_ftruncate64]: Remove conditional code.
29000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29001 [__NR_ftruncate64]: Make code unconditional.
29002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29004 * configure.in (libc_cv_fpie): Weaken to a compile test using
29005 LIBC_TRY_CC_OPTION.
29006 * configure: Regenerated.
29008 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29023 2012-05-27 David S. Miller <davem@davemloft.net>
29025 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29027 (__Q_simulate_exceptions): Return void. Change to simulate
29028 exceptions by writing into the %fsr.
29029 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29030 (__Qp_handle_exceptions): Likewise.
29032 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29033 __Qp_handle_exceptions.
29034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29035 __Qp_handle_exceptions.
29036 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29037 as unused and give dummy FP_RND_NEAREST initializer.
29038 (FP_INHIBIT_RESULTS): Define.
29039 (___Q_simulate_exceptions): Update declaration.
29040 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29042 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29043 as unused and give dummy FP_RND_NEAREST initializer.
29044 (__Qp_handle_exceptions): Update declaration.
29045 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29048 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29050 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29051 the temporary FPU control word.
29052 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29053 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29054 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29055 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29056 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29057 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29058 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29059 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29060 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29061 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29062 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29064 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29066 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29069 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29071 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29072 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29073 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29074 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29076 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29077 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29080 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29082 * po/h.po: Update from translation team.
29084 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29086 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29088 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29089 handling of denormals.
29090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29091 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29092 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29093 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29099 2012-05-26 Marek Polacek <polacek@redhat.com>
29102 * math/libm-test.inc (fma_test): Don't always expect underflow
29105 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29108 * elf/tst-execstack.c: Include stackinfo.h.
29109 (do_test): Adjust test case to ensure that pthread_getattr_np
29110 behaviour remains the same after marking stack executable.
29112 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29114 * sysdeps/unix/sysv/linux/kernel-features.h
29115 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29116 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29118 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29119 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29120 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29122 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29123 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29125 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29127 * configure.in: Define the default includes to being none.
29128 * configure: Regenerated.
29130 2012-05-25 Roland McGrath <roland@hack.frob.com>
29132 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29133 * sysdeps/x86_64/setjmp.S: Likewise.
29134 * sysdeps/i386/bsd-setjmp.S: Likewise.
29135 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29136 * sysdeps/i386/setjmp.S: Likewise.
29137 * sysdeps/i386/__longjmp.S: Likewise.
29138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29139 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29141 * include/stap-probe.h: New file.
29142 * configure.in: Handle --enable-systemtap.
29143 * configure: Regenerated.
29144 * config.h.in (USE_STAP_PROBE): New #undef.
29145 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29146 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29147 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29149 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29153 to 2.4.0 where earlier.
29154 * sysdeps/unix/sysv/linux/configure: Regenerated.
29155 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29156 <kernel-features.h>.
29157 [__ASSUME_32BITUIDS]: Make code unconditional.
29158 [!__ASSUME_32BITUIDS]: Remove conditional code.
29159 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29160 <kernel-features.h>.
29161 [__ASSUME_32BITUIDS]: Make code unconditional.
29162 [!__ASSUME_32BITUIDS]: Remove conditional code.
29163 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29164 [__ASSUME_32BITUIDS]: Make code unconditional.
29165 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29166 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29167 <kernel-features.h>.
29168 [__ASSUME_32BITUIDS]: Make code unconditional.
29169 [!__ASSUME_32BITUIDS]: Remove conditional code.
29170 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29171 <kernel-features.h>.
29172 [__ASSUME_32BITUIDS]: Make code unconditional.
29173 [!__ASSUME_32BITUIDS]: Remove conditional code.
29174 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29175 <kernel-features.h>.
29176 [__ASSUME_32BITUIDS]: Make code unconditional.
29177 [!__ASSUME_32BITUIDS]: Remove conditional code.
29178 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29179 <kernel-features.h>.
29180 [__ASSUME_32BITUIDS]: Make code unconditional.
29181 [!__ASSUME_32BITUIDS]: Remove conditional code.
29182 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29183 <kernel-features.h>.
29184 [__ASSUME_32BITUIDS]: Make code unconditional.
29185 [!__ASSUME_32BITUIDS]: Remove conditional code.
29186 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29187 <kernel-features.h>.
29188 [__ASSUME_32BITUIDS]: Make code unconditional.
29189 [!__ASSUME_32BITUIDS]: Remove conditional code.
29190 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29191 <kernel-features.h>.
29192 [__ASSUME_32BITUIDS]: Make code unconditional.
29193 [!__ASSUME_32BITUIDS]: Remove conditional code.
29194 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29195 <kernel-features.h>.
29196 [__ASSUME_32BITUIDS]: Make code unconditional.
29197 [!__ASSUME_32BITUIDS]: Remove conditional code.
29198 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29199 <kernel-features.h>.
29200 [__ASSUME_32BITUIDS]: Make code unconditional.
29201 [!__ASSUME_32BITUIDS]: Remove conditional code.
29202 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29203 <kernel-features.h>.
29204 [__ASSUME_32BITUIDS]: Make code unconditional.
29205 [!__ASSUME_32BITUIDS]: Remove conditional code.
29206 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29207 <kernel-features.h>.
29208 [__NR_setresgid] (__setresgid): Do not declare.
29209 [__ASSUME_32BITUIDS]: Make code unconditional.
29210 [!__ASSUME_32BITUIDS]: Remove conditional code.
29211 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29212 <kernel-features.h>.
29213 [__NR_setresuid] (__setresuid): Do not declare.
29214 [__ASSUME_32BITUIDS]: Make code unconditional.
29215 [!__ASSUME_32BITUIDS]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29217 <kernel-features.h>.
29218 [__ASSUME_32BITUIDS]: Make code unconditional.
29219 [!__ASSUME_32BITUIDS]: Remove conditional code.
29220 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29221 <kernel-features.h>.
29222 [__ASSUME_32BITUIDS]: Make code unconditional.
29223 [!__ASSUME_32BITUIDS]: Remove conditional code.
29224 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29225 <kernel-features.h>.
29226 [__ASSUME_32BITUIDS]: Make code unconditional.
29227 [!__ASSUME_32BITUIDS]: Remove conditional code.
29228 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29229 <kernel-features.h>.
29230 [__ASSUME_32BITUIDS]: Make code unconditional.
29231 [!__ASSUME_32BITUIDS]: Remove conditional code.
29232 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29233 <kernel-features.h>.
29234 [__ASSUME_32BITUIDS]: Make code unconditional.
29235 [!__ASSUME_32BITUIDS]: Remove conditional code.
29236 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29237 <kernel-features.h>.
29238 [__ASSUME_32BITUIDS]: Make code unconditional.
29239 [!__ASSUME_32BITUIDS]: Remove conditional code.
29240 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29241 <kernel-features.h>.
29242 [__ASSUME_32BITUIDS]: Make code unconditional.
29243 [!__ASSUME_32BITUIDS]: Remove conditional code.
29244 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29245 <kernel-features.h>.
29246 [__ASSUME_32BITUIDS]: Make code unconditional.
29247 [!__ASSUME_32BITUIDS]: Remove conditional code.
29248 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29249 <kernel-features.h>.
29250 [__ASSUME_32BITUIDS]: Make code unconditional.
29251 [!__ASSUME_32BITUIDS]: Remove conditional code.
29252 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29253 <kernel-features.h>.
29254 [__ASSUME_32BITUIDS]: Make code unconditional.
29255 [!__ASSUME_32BITUIDS]: Remove conditional code.
29256 * sysdeps/unix/sysv/linux/kernel-features.h
29257 (__ASSUME_SETRESUID_SYSCALL): Remove.
29258 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29259 (__ASSUME_32BITUIDS): Likewise.
29260 (__ASSUME_LDT_WORKS): Likewise.
29261 (__ASSUME_O_DIRECTORY): Likewise.
29262 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29263 architecture but not kernel version.
29264 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29265 (__ASSUME_MMAP2_SYSCALL): Likewise.
29266 (__ASSUME_STAT64_SYSCALL): Likewise.
29267 (__ASSUME_IPC64): Likewise.
29268 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29269 <kernel-features.h>.
29270 [__ASSUME_32BITUIDS]: Make code unconditional.
29271 [!__ASSUME_32BITUIDS]: Remove conditional code.
29272 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29273 <kernel-features.h>.
29274 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29275 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29276 132096]: Remove conditional code.
29277 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29278 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29279 <kernel-features.h>.
29280 [__ASSUME_32BITUIDS]: Make code unconditional.
29281 [!__ASSUME_32BITUIDS]: Remove conditional code.
29282 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29283 <kernel-features.h>.
29284 [__ASSUME_32BITUIDS]: Make code unconditional.
29285 [!__ASSUME_32BITUIDS]: Remove conditional code.
29286 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29287 <kernel-features.h>.
29288 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29290 (__setresgid): Do not declare.
29291 [__ASSUME_32BITUIDS]: Make code unconditional.
29292 [!__ASSUME_32BITUIDS]: Remove conditional code.
29293 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29294 <kernel-features.h>.
29295 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29297 (__setresuid): Do not declare.
29298 [__ASSUME_32BITUIDS]: Make code unconditional.
29299 [!__ASSUME_32BITUIDS]: Remove conditional code.
29300 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29301 <kernel-features.h>.
29302 [__ASSUME_32BITUIDS]: Make code unconditional.
29303 [!__ASSUME_32BITUIDS]: Remove conditional code.
29304 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29305 <kernel-features.h>.
29306 [__ASSUME_32BITUIDS]: Make code unconditional.
29307 [!__ASSUME_32BITUIDS]: Remove conditional code.
29309 2012-05-25 Richard Henderson <rth@twiddle.net>
29311 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29312 dl_hwcap to ifunc resolver.
29313 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29315 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29316 dl_hwcap to ifunc resolver.
29317 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29319 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29322 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29323 for |x| <= 2**-26, not 2**-57.
29324 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29327 2012-05-24 Jeff Law <law@redhat.com>
29329 * stdio-common/Makefile (tests): Add bug25.
29330 * stdio-common/bug25.c: New test.
29332 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29335 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29336 multiple of MALLOC_ALIGNMENT in size.
29337 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29339 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29341 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29343 (FILENAME_MAX): Use macro-int-constant.
29344 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29345 (_IOFBF): Use macro-int-constant.
29346 (_IOLBF): Likewise.
29347 (_IONBF): Likewise.
29348 (SEEK_CUR): Likewise.
29349 (SEEK_END): Likewise.
29350 (SEEK_SET): Likewise.
29351 (TMP_MAX): Likewise.
29352 (EOF): Use macro-int-constant. Require < 0.
29353 (NULL): Use macro-constant. Require == 0.
29354 (stdin): Require type to be FILE *.
29355 (stdout): Likewise.
29356 (stderr): Likewise.
29357 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29358 macro-int-constant.
29359 (EXIT_SUCCESS): Likewise.
29360 (NULL): Use macro-constant. Require == 0.
29361 (RAND_MAX): Use macro-int-constant.
29362 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29363 [C99-based standards] (strtof): Require function.
29364 [C99-based standards] (strtold): Likewise.
29365 [C99-based standards] (strtoll): Likewise.
29366 [C99-based standards] (strtoull): Likewise.
29367 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29368 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29369 [ISO || ISO99 || ISO11] (math.h): Likewise.
29370 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29371 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29372 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29374 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29377 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29378 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29379 * intl/dgettext.c (DCGETTEXT): Likewise.
29380 * intl/gettext.c (DCGETTEXT): Likewise.
29381 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29382 * posix/regex_internal.h (gettext): Likewise.
29383 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29384 Remove declaration.
29385 * include/argz.h (__argz_count_internal)
29386 (__argz_stringify_internal): Remove declaration.
29387 (__argz_count, __argz_stringify): Declare hidden proto.
29388 * intl/dcgettext.c: Remove use of INTDEF.
29389 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29390 * string/argz-stringify.c: Likewise.
29391 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29392 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29393 Declare hidden proto.
29394 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29395 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29396 Declare hidden proto.
29397 * include/stdio.h (__asprintf_internal): Don't declare.
29398 (__asprintf): Don't define as macro. Declare hidden proto.
29399 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29400 (__fsetlocking): Declare hidden proto.
29401 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29402 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29404 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29405 (_IO_setlinebuf): Remove use of INTUSE.
29406 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29407 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29408 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29409 Remove declaration.
29410 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29411 (_IO_do_flush): Remove use of INTUSE.
29412 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29413 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29414 (_IO_adjust_column, _IO_least_wmarker)
29415 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29416 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29417 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29418 (_IO_default_doallocate, _IO_wdefault_doallocate)
29419 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29420 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29421 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29422 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29423 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29424 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29425 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29426 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29427 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29428 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29429 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29430 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29431 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29433 (_IO_flush_all_internal, _IO_adjust_column_internal)
29434 (_IO_default_uflow_internal, _IO_default_finish_internal)
29435 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29436 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29437 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29438 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29439 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29440 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29441 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29442 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29443 (_IO_file_close_internal, _IO_file_close_it_internal)
29444 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29445 (_IO_file_init_internal, _IO_file_attach_internal)
29446 (_IO_file_fopen_internal, _IO_file_read_internal)
29447 (_IO_file_sync_internal, _IO_file_seek_internal)
29448 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29449 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29450 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29451 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29452 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29453 (_IO_list_all_internal, _IO_link_in_internal)
29454 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29455 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29456 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29457 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29458 (_IO_do_write_internal, _IO_padn_internal)
29459 (_IO_getline_info_internal, _IO_getline_internal)
29460 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29461 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29462 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29463 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29464 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29465 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29466 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29467 with libc_hidden_ver, remove use of INTUSE.
29468 * libio/genops.c: Likewise.
29469 * libio/freopen.c: Likewise.
29470 * libio/freopen64.c: Likewise.
29471 * libio/iofclose.c: Likewise.
29472 * libio/iofdopen.c: Likewise.
29473 * libio/iofflush.c: Likewise.
29474 * libio/iofflush_u.c: Likewise.
29475 * libio/iofgets.c: Likewise.
29476 * libio/iofgets_u.c: Likewise.
29477 * libio/iofopen.c: Likewise.
29478 * libio/iofopncook.c: Likewise.
29479 * libio/iofread.c: Likewise.
29480 * libio/iofread_u.c: Likewise.
29481 * libio/ioftell.c: Likewise.
29482 * libio/iofwrite.c: Likewise.
29483 * libio/iogetline.c: Likewise.
29484 * libio/iogets.c: Likewise.
29485 * libio/iogetwline.c: Likewise.
29486 * libio/iopadn.c: Likewise.
29487 * libio/iopopen.c: Likewise.
29488 * libio/ioseekoff.c: Likewise.
29489 * libio/ioseekpos.c: Likewise.
29490 * libio/iosetbuffer.c: Likewise.
29491 * libio/iosetvbuf.c: Likewise.
29492 * libio/ioungetc.c: Likewise.
29493 * libio/ioungetwc.c: Likewise.
29494 * libio/iovdprintf.c: Likewise.
29495 * libio/iovsprintf.c: Likewise.
29496 * libio/iovsscanf.c: Likewise.
29497 * libio/memstream.c: Likewise.
29498 * libio/obprintf.c: Likewise.
29499 * libio/oldfileops.c: Likewise.
29500 * libio/oldiofclose.c: Likewise.
29501 * libio/oldiofdopen.c: Likewise.
29502 * libio/oldiofopen.c: Likewise.
29503 * libio/oldiopopen.c: Likewise.
29504 * libio/oldstdfiles.c: Likewise.
29505 * libio/putc.c: Likewise.
29506 * libio/setbuf.c: Likewise.
29507 * libio/setlinebuf.c: Likewise.
29508 * libio/stdfiles.c: Likewise.
29509 * libio/strops.c: Likewise.
29510 * libio/vasprintf.c: Likewise.
29511 * libio/vscanf.c: Likewise.
29512 * libio/vsnprintf.c: Likewise.
29513 * libio/vswprintf.c: Likewise.
29514 * libio/wfiledoalloc.c: Likewise.
29515 * libio/wfileops.c: Likewise.
29516 * libio/wgenops.c: Likewise.
29517 * libio/wmemstream.c: Likewise.
29518 * libio/wstrops.c: Likewise.
29519 * libio/__fpurge.c: Likewise.
29520 * libio/__fsetlocking.c: Likewise.
29521 * assert/assert.c: Likewise.
29522 * debug/fgets_chk.c: Likewise.
29523 * debug/fgets_u_chk.c: Likewise.
29524 * debug/fread_chk.c: Likewise.
29525 * debug/fread_u_chk.c: Likewise.
29526 * debug/gets_chk.c: Likewise.
29527 * debug/obprintf_chk.c: Likewise.
29528 * debug/vasprintf_chk.c: Likewise.
29529 * debug/vdprintf_chk.c: Likewise.
29530 * debug/vsnprintf_chk.c: Likewise.
29531 * debug/vsprintf_chk.c: Likewise.
29532 * malloc/mtrace.c: Likewise.
29533 * misc/error.c: Likewise.
29534 * misc/syslog.c: Likewise.
29535 * stdio-common/asprintf.c: Likewise.
29536 * stdio-common/fxprintf.c: Likewise.
29537 * stdio-common/getw.c: Likewise.
29538 * stdio-common/isoc99_fscanf.c: Likewise.
29539 * stdio-common/isoc99_scanf.c: Likewise.
29540 * stdio-common/isoc99_vfscanf.c: Likewise.
29541 * stdio-common/isoc99_vscanf.c: Likewise.
29542 * stdio-common/isoc99_vsscanf.c: Likewise.
29543 * stdio-common/printf-prs.c: Likewise.
29544 * stdio-common/printf_fp.c: Likewise.
29545 * stdio-common/printf_fphex.c: Likewise.
29546 * stdio-common/printf_size.c: Likewise.
29547 * stdio-common/putw.c: Likewise.
29548 * stdio-common/scanf.c: Likewise.
29549 * stdio-common/sprintf.c: Likewise.
29550 * stdio-common/tmpfile.c: Likewise.
29551 * stdio-common/vfprintf.c: Likewise.
29552 * stdio-common/vfscanf.c: Likewise.
29553 * stdlib/strfmon_l.c: Likewise.
29554 * sunrpc/openchild.c: Likewise.
29555 * sunrpc/xdr_stdio.c: Likewise.
29556 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29557 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29559 2012-05-24 Roland McGrath <roland@hack.frob.com>
29561 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29563 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29564 in the third column, to generate for the shared library an IFUNC
29565 that uses _dl_vdso_vsym.
29566 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29567 * Makeconfig (object-suffixes-noshared): New variable.
29569 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29570 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29571 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29572 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29575 * include/sys/time.h (__gettimeofday): Remove macro.
29576 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29577 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29579 (__gettimeofday): Add libc_hidden_def.
29580 (gettimeofday): Add libc_hidden_weak.
29581 * sysdeps/mach/gettimeofday.c: Likewise.
29582 * sysdeps/posix/gettimeofday.c: Likewise.
29583 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29584 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29586 (__gettimeofday_internal): Remove strong_alias.
29587 (__gettimeofday): Add libc_hidden_def.
29588 (gettimeofday): Add libc_hidden_weak.
29589 * sysdeps/unix/syscalls.list (gettimeofday):
29590 Remove __gettimeofday_internal alias.
29592 2012-05-24 Daniel Jacobowitz <drow@false.org>
29593 H.J. Lu <hongjiu.lu@intel.com>
29596 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29597 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29598 (largebin_index_32_big): New.
29599 (largebin_index): Use it for 16-byte alignment.
29600 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29601 correction with front_misalign.
29603 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29631 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29632 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29634 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29638 * math/libm-test.inc (exp_test): Add test from bug 14036.
29639 (pow_test): Add test from bug 10846.
29641 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29643 (special_function): Do not include flags in test name.
29644 (parse_args): Likewise.
29645 * sysdeps/i386/fpu/libm-test-ulps: Update.
29646 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29647 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29648 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29651 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29653 * math/libm-test.inc ("Philosophy"): Update comment about
29655 (UNDERFLOW_EXCEPTION): New macro.
29656 (UNDERFLOW_EXCEPTION_OK): Likewise.
29657 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29658 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29659 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29660 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29661 (INVALID_EXCEPTION_OK): Update value.
29662 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29663 (OVERFLOW_EXCEPTION_OK): Likewise.
29664 (IGNORE_ZERO_INF_SIGN): Likewise.
29665 (test_exceptions): Handle underflow exceptions.
29666 (acos_test): Update for underflow exception expectations.
29667 (cexp_test): Likewise.
29668 (clog_test): Likewise.
29669 (clog10_test): Likewise.
29670 (csqrt_test): Likewise.
29671 (ctan_test): Likewise.
29672 (ctanh_test): Likewise.
29673 (exp_test): Likewise.
29674 (exp10_test): Likewise.
29675 (exp2_test): Likewise.
29676 (expm1_test): Likewise.
29677 (fma_test): Likewise.
29678 (j0_test): Likewise.
29679 (jn_test): Likewise.
29680 (nexttoward_test): Likewise.
29681 (pow_test): Likewise.
29682 (scalbn_test): Likewise.
29683 (scalbln_test): Likewise.
29684 (tan_test): Likewise.
29685 (y1_test): Likewise.
29686 * sysdeps/i386/fpu/libm-test-ulps: Update.
29687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29689 2012-05-23 David S. Miller <davem@davemloft.net>
29691 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29692 (__libc_sigaction): Remove unused local variables.
29694 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29696 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29698 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29700 mktime: avoid signed integer overflow
29701 * time/mktime.c (__mktime_internal): Do not mishandle the case
29702 where diff == INT_MIN.
29704 mktime: simplify computation of average
29705 * time/mktime.c (ranged_convert): Use new time_t_avg function
29706 instead of rolling our own (probably-slower) code.
29708 mktime: do not assume signed right shift propagates sign bit
29709 * time/mktime.c (isdst_differ): New static function.
29710 (__mktime_internal): No need to normalize tm_isdst now.
29711 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29714 mktime: merge another wrapv change from gnulib
29715 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29716 from some compilers.
29718 mktime: remove incorrect attempt at unusual arithmetics
29719 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29720 The code didn't really work on such machines anyway.
29721 (TYPE_MINIMUM): Assume two's complement.
29722 (twos_complement_arithmetic): Verify that long_int and time_t
29723 are two's complement (or unsigned, in the latter case).
29725 mktime: check signed shifts on long_int and time_t, too
29726 * time/mktime.c (SHR): Check that shifts work as desired
29727 on the types long_int and time_t too, as SHR is used on
29730 mktime: do not assume 'long' is wide enough
29731 * time/mktime.c (verify): Move decl up.
29732 (long_int): New type.
29733 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29734 to remove assumption in the code that 'long' is wide enough to
29735 store year values. This assumption is not true on x32 and on
29736 some non-glibc platforms.
29738 mktime: merge wrapv change from gnulib
29739 * time/mktime.c (WRAPV): New macro.
29740 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29741 (guess_time_tm, __mktime_internal): Do not assume that signed
29742 integer overflow wraps around; modern compilers generate code
29743 where this assumption is no longer valid.
29745 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29747 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29748 Replace "jmp L(pseudo_end)" with "ret".
29749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29752 2012-05-23 Andreas Jaeger <aj@suse.de>
29754 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29755 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29757 2012-05-23 Andreas Jaeger <aj@suse.de>
29758 Maximilian Attems <max@stro.at>
29760 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29763 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29766 code so that pseudo_end is just ret and the stack pointer is
29767 correct also for static library in error case.
29769 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29771 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29772 move to syscalls.list.
29773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29778 * manual/install.texi (Running make install): Do not mention Linux
29779 kernel version for which pt_chown is not needed.
29780 (Linux): Do not mention problems with nscd with 2.0 kernels.
29781 * INSTALL: Regenerated.
29783 2012-05-23 Andreas Jaeger <aj@suse.de>
29785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29786 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29788 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29789 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29790 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29791 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29792 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29794 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29795 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29796 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29797 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29798 * sysdeps/unix/sysv/linux/bits/in.h
29799 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29801 2012-05-22 Roland McGrath <roland@hack.frob.com>
29803 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29804 (PREPARE_VERSION): Just use assert instead, it will be elided
29805 under [NDEBUG] anyway.
29807 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29809 * sysdeps/unix/sysv/linux/Makefile: Include
29810 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29811 (sysdep_routines): Remove sysctl.
29812 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29813 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29814 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29815 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29816 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29818 2012-05-22 Andreas Jaeger <aj@suse.de>
29820 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29821 that pseudo_end is just ret and the stack pointer is correct also
29822 for static library in error case.
29824 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29827 * nss/nsswitch.c (defconfig_entries): New variable.
29828 (__nss_database_lookup): Don't leak defconfig entries.
29829 (nss_parse_service_list): Don't leak on error paths.
29830 (free_database_entries): New function.
29831 (free_defconfig): New function.
29832 (free_mem): Move common code to free_database_entries.
29834 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29836 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29838 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29840 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29841 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29844 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29845 (INTERNAL_SYSCALL_TYPES): Likewise.
29846 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29847 (LOAD_REGS_TYPES_[1-6]): Likewise.
29848 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29849 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29851 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29853 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29854 copysignl for GLIBC_2_0.
29855 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29856 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29858 logbl for GLIBC_2_0.
29859 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29860 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29862 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29864 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29865 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29867 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29870 * time/mktime.c: Update copyright years.
29872 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29874 mktime: merge comment-quoting-style change from gnulib
29875 * time/mktime.c: Quote 'like this' in comments.
29876 The GNU coding standards suggest that we no longer quote `like this',
29877 as "`" and "'" are typically rendered asymmetrically nowadays.
29878 The typical gnulib style is to quote 'like this' when quoting
29879 code, and "like this" when quoting English.
29881 * time/mktime.c (compile-command): Add "-I.".
29883 mktime: merge mktime-internal.h change from gnulib
29884 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29886 mktime: merge time_r change from gnulib
29887 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29889 mktime: merge DEBUG change from gnulib
29890 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29891 case system <time.h> has a #define.
29893 mktime: merge <sys/types.h> change from gnulib
29894 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29895 since <time.t> is now guaranteed to define time_t.
29897 mktime: merge HAVE_CONFIG_H change from gnulib
29898 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29900 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29905 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29907 (struct rusage): Use anonymous union to pad each field to
29910 2012-05-21 David S. Miller <davem@davemloft.net>
29912 * Makefules (o-iterator): Remove .s cases.
29913 (compile-command.s): Delete.
29914 (COMPILE.s): Delete.
29915 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29917 2012-05-21 Joseph Myers <joseph@codesourcery.com>
29919 * configure.in (libc_cv_predef_stack_protector): Only consider
29920 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29921 * configure: Regenerated.
29923 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29926 New macro. Use R*LP on int and pointer.
29927 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29928 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29929 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29930 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29932 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29933 [__WORDSIZE_TIME64_COMPAT32] instead of
29934 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29935 (struct utmp): Likewise.
29936 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29937 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29939 (__WORDSIZE_TIME64_COMPAT32): This.
29940 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29941 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29942 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29943 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29944 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29945 (__WORDSIZE_TIME64_COMPAT32): New macro.
29947 2012-05-21 Andreas Jaeger <aj@suse.de>
29949 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29950 only if [SHARED]. Add prototype for __wcschr_ia32.
29952 2012-05-21 Roland McGrath <roland@hack.frob.com>
29954 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29955 of %rbp unmolested in the jmp_buf while mangling the low bits.
29956 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29957 unmolested high bits of %rbp while demangling the low bits.
29958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29960 2012-05-21 Andreas Jaeger <aj@suse.de>
29962 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29963 * sunrpc/svc_simple.c: Use it for registerrpc.
29964 * sunrpc/xcrypt.c: Use it for passwd2des.
29966 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29968 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29970 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29971 Don't define if [__SYSCALL_WORDSIZE != 32].
29972 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29975 2012-05-21 Bruno Haible <bruno@clisp.org>
29976 Andreas Jaeger <aj@suse.de>
29978 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29979 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29980 inptr and inend for must_buffer_ch.
29981 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29982 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29983 * stdio-common/Makefile (tests): Remove bug15.
29984 (bug15-ENV): Remove macro.
29985 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29988 2012-05-19 Andreas Jaeger <aj@suse.de>
29989 Roland McGrath <roland@hack.frob.com>
29991 * manual/contrib.texi: Completely rewritten. It contains now an
29992 alphabetical list of contributors and their contributions.
29994 2012-05-21 Richard Henderson <rth@twiddle.net>
29996 * misc/getauxval.c (__getauxval): Use unsigned long int.
29997 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29998 (getauxval): Use unsigned long int.
30000 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30002 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30004 2012-05-21 Roland McGrath <roland@hack.frob.com>
30006 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30007 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30008 __alignof__ (long double).
30010 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30014 2012-05-20 Richard Henderson <rth@twiddle.net>
30016 * misc/getauxval.c: New file.
30017 * misc/sys/auxv.h: New file.
30018 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30019 (routines): Add getauxval.
30020 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30021 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30022 * elf/dl-sysdep.c (_dl_auxv): Remove.
30023 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30024 * elf/dl-support.c (_dl_auxv): New variable.
30025 (_dl_aux_init): Initialize it.
30026 * manual/startup.texi (Auxiliary Vector): New node.
30027 * sysdeps/generic/bits/hwcap.h: New file.
30028 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30029 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30030 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30031 * sysdeps/sparc/sysdep.h: ... here. Include it.
30032 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30033 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30045 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30049 2012-05-19 David S. Miller <davem@davemloft.net>
30051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30053 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30056 * math/s_ccosh.c: Include <float.h>
30057 (__ccosh): Avoid internal overflow calculating sinh and cosh
30058 values before multiplying by sin and cos values.
30059 * math/s_ccoshf.c: Likewise.
30060 * math/s_ccoshl.c: Likewise.
30061 * math/s_csin.c: Likewise.
30062 * math/s_csinf.c: Likewise.
30063 * math/s_csinl.c: Likewise.
30064 * math/s_csinh.c: Likewise.
30065 * math/s_csinhf.c: Likewise.
30066 * math/s_csinhl.c: Likewise.
30067 * math/libm-test.inc (ccos_test): Add more tests.
30068 (ccosh_test): Likewise.
30069 (csin_test): Likewise.
30070 (csinh_test): Likewise.
30071 * sysdeps/i386/fpu/libm-test-ulps: Update.
30072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30074 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30076 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30077 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30079 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30081 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30083 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30084 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30085 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30086 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30087 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30088 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30089 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30090 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30091 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30092 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30093 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30094 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30095 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30096 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30097 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30098 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30099 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30100 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30101 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30102 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30103 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30104 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30105 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30106 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30107 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30108 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30109 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30110 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30111 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30112 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30113 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30115 2012-05-18 Andreas Jaeger <aj@suse.de>
30117 * csu/.gitignore: Delete.
30119 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30121 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30122 (timex): Use __syscall_slong_t.
30124 2012-05-18 Andreas Jaeger <aj@suse.de>
30125 Carlos O'Donell <carlos_odonell@mentor.com>
30127 * manual/install.texi (Configuring and compiling): Update
30128 description about files modified in the source directory.
30129 * INSTALL: Regenerated.
30131 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30133 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30134 value. Use "or" to set return value to -1.
30135 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30136 negate return value.
30138 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30140 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30141 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30142 failure if the compiler has Graphite support disabled.
30143 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30145 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30146 (CFLAGS-memmove.c): Likewise.
30147 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30150 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30152 * sysdeps/x86_64/x32/_itoa.h: New file.
30154 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30155 getdents system call only if kernel and user dirents have the
30156 same d_ino and d_off.
30158 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30159 LLONG_MAX != LONG_MAX.
30160 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30161 (_fitoa_word): Likewise.
30163 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30165 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30167 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30169 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30170 include <bits/wordsize.h>. Check __x86_64__ instead of
30172 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30173 if __x86_64__ is defined. Use anonymous union on fpstate.
30175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30178 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30180 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30181 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30182 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30183 Refer to _rtld_local_ro instead of _rtld_global_ro.
30184 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30186 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30188 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30190 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30191 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30192 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30194 * sysdeps/powerpc/powerpc32/dl-machine.c
30195 (__elf_machine_runtime_setup) [PROF]: Don't reference
30198 2012-05-18 Andreas Jaeger <aj@suse.de>
30200 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30201 function only available for GCCs before 3.4 since GCC 3.4
30202 introduced a builtin.
30204 (llrintf): Likewise.
30205 (llrint): Likewise.
30212 (nearbyint): Likewise.
30213 (nearbyintf): Likewise.
30217 (floorf): Likewise.
30219 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30221 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30222 on both fields and cast pointer to __syscall_ulong_t.
30224 * bits/types.h (__fsword_t): New type.
30225 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30226 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30228 (__FSWORD_T_TYPE): Likewise.
30229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30230 (__FSWORD_T_TYPE): Likewise.
30231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30232 (__FSWORD_T_TYPE): Likewise.
30233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30234 (__FSWORD_T_TYPE): Likewise.
30235 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30236 __SWORD_TYPE with __fsword_t.
30237 (statfs64): Likewise.
30239 2012-05-17 David S. Miller <davem@davemloft.net>
30241 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30243 2012-05-17 Andreas Jaeger <aj@suse.de>
30245 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30248 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30250 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30252 2012-05-17 Andreas Jaeger <aj@suse.de>
30254 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30257 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30259 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30261 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30263 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30264 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30266 2012-05-17 Andreas Jaeger <aj@suse.de>
30267 Carlos O'Donell <carlos_odonell@mentor.com>
30270 * sysdeps/x86_64/multiarch/init-arch.h
30271 (bit_YMM_Usable): Rename to...
30272 (bit_AVX_Usable): ... this.
30273 (bit_FMA4_Usable): New macro.
30274 (bit_XMM_state): New macro.
30275 (bit_YMM_state): New macro.
30276 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30277 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30278 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30279 (CPUID_OSXSAVE): New macro.
30280 (CPUID_AVX): New macro.
30281 (CPUID_FMA4): New macro.
30282 (index_YMM_Usable): Rename to...
30283 (index_AVX_Usable): ... this.
30284 (HAS_AVX): Use HAS_ARCH_FEATURE.
30285 (HAS_FMA4): Likewise.
30286 (HAS_YMM_USABLE): Remove.
30287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30288 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30290 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30291 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30292 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30293 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30294 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30296 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30298 * math/libm-test.c: Support platforms without multiple rounding modes.
30299 * math/bug-nextafter.c: Support platforms without FP exceptions.
30300 * math/bug-nexttoward.c: Likewise.
30301 * math/test-fenv.c: Likewise.
30302 * math/test-misc.c: Likewise.
30303 * stdlib/bug-getcontext.c: Likewise.
30305 2012-05-17 Andreas Jaeger <aj@suse.de>
30307 * manual/examples/search.c (critter_cmp): Change signature to
30309 * manual/string.texi (Collation Functions): Likewise.
30311 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30313 * bits/types.h: Fold copyright years.
30314 * bits/typesizes.h: Likewise.
30315 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30319 * time/time.h: Likewise.
30321 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30324 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30325 in instead of returning them. Return void.
30326 (__libc_mallinfo): Accumulate over all arenas.
30327 (__malloc_stats): Adjust for change in int_mallinfo interface.
30329 2012-05-16 Roland McGrath <roland@hack.frob.com>
30332 * configure.in (NM): Add AC_CHECK_TOOL for it.
30333 (libc_extra_cflags): New substituted variable.
30334 Check for -fstack-protector being used implicitly.
30335 * configure: Regenerated.
30336 * config.make.in (config-extra-cflags): New variable,
30337 gets @libc_extra_cflags@.
30338 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30341 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30342 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30343 * configure: Regenerated.
30344 * config.make.in (CPPUNDEFS): New substituted variable.
30345 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30346 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30347 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30349 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30351 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30352 (mq_attr): Use __syscall_slong_t.
30354 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30356 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30357 Check __x86_64__ instead of __WORDSIZE.
30358 (_STAT_VER_LINUX): Likewise.
30359 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30360 __syscall_ulong_t and __syscall_slong_t.
30361 (stat64): Likewise.
30363 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30369 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30371 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30373 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30376 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30377 include <bits/wordsize.h>. Check __x86_64__ instead of
30379 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30381 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30383 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30384 include <bits/wordsize.h>. Check __x86_64__ instead of
30386 (user_regs_struct): Use "__extension__ unsigned long long"
30387 instead of "unsigned long" if __x86_64__ is defined.
30388 (user): Likewise. Pad after pointer field if __ILP32__ is
30391 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30393 * configure.in (makeinfo): Require version 4.5 or later. Allow
30395 * configure: Regenerated.
30396 * manual/install.texi (texinfo): Increase version requirement to
30398 * INSTALL: Regenerated.
30400 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30402 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30404 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30406 * sysdeps/x86_64/x32/ffs.c: New file.
30408 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30410 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30411 defined. Use __syscall_ulong_t.
30412 (shminfo): Use __syscall_ulong_t.
30413 (shm_info): Likewise.
30415 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30418 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30420 (msgqnum_t): Use __syscall_ulong_t.
30421 (msglen_t): Likewise.
30422 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30425 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30426 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30428 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30430 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30431 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30433 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30436 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30437 include <bits/wordsize.h>. Check __x86_64__ instead of
30440 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30441 "unsigned long long int" if __x86_64__ is defined.
30442 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30444 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30445 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30446 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30448 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30450 (GET_PC): Cast to uintptr_t first.
30451 (GET_FRAME): Likewise.
30452 (GET_STACK): Likewise.
30454 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30456 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30458 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30460 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30461 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30462 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30463 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30464 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30465 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30466 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30467 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30468 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30470 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30473 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30479 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30480 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30481 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30482 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30484 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30486 * Makerules (+depfiles): Also collect depfiles from .oS in
30488 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30489 .oS, $(libnldbl-routines)).
30491 * Makerules (native-compile-mkdep-flags): Define.
30492 * sunrpc/Makefile (extra-objs): Add $(addprefix
30493 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30494 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30495 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30496 calling $(make-target-directory).
30498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30500 * bits/types.h (__snseconds_t): Removed.
30501 * time/time.h (struct timespec): Replace __snseconds_t with
30503 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30504 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30507 (__SNSECONDS_T_TYPE): Likewise.
30508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30509 (__SNSECONDS_T_TYPE): Likewise.
30510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30511 (__SNSECONDS_T_TYPE): Likewise.
30513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30515 * sysdeps/mach/hurd/bits/typesizes.h
30516 (__SYSCALL_SLONG_TYPE): New macro.
30517 (__SYSCALL_ULONG_TYPE): Likewise.
30519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30521 * bits/types.h (__syscall_slong_t): New type.
30522 (__syscall_ulong_t): Likewise.
30524 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30525 (__SYSCALL_ULONG_TYPE): Likewise.
30526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30527 (__SYSCALL_SLONG_TYPE): Likewise.
30528 (__SYSCALL_ULONG_TYPE): Likewise.
30529 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30530 (__SYSCALL_SLONG_TYPE): Likewise.
30531 (__SYSCALL_ULONG_TYPE): Likewise.
30532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30533 (__SYSCALL_SLONG_TYPE): Likewise.
30534 (__SYSCALL_ULONG_TYPE): Likewise.
30536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30538 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30539 Add sigaltstack-offsets.sym.
30540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30541 <sigaltstack-offsets.h>.
30542 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30543 longjmp_msg pointer.
30544 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30545 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30547 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30549 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30551 * elf/stackguard-macros.h: Remove file.
30552 * sysdeps/generic/stackguard-macros.h: New file.
30553 * sysdeps/i386/stackguard-macros.h: Likewise.
30554 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30555 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30556 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30557 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30558 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30559 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30560 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30561 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30562 <elf/stackguard-macros.h>.
30565 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30566 __aligned__ in attribute.
30567 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30568 (gregset_t): Likewise.
30570 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30572 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30573 * sysdeps/x86_64/64/Implies-after: Here. New file.
30574 * sysdeps/x86_64/x32/Implies-after: New file.
30576 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30578 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30579 and access return value for _dl_profile_fixup. Use R10_LP to
30582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30584 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30588 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30589 * sysdeps/x86_64/x32/sysdep.h: New file.
30591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30593 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30594 * sysdeps/x86_64/setjmp.S: Likewise.
30596 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30598 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30599 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30600 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30602 remove unused global constant.
30604 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30606 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30607 include of <not-cancel.h>.
30609 2012-05-15 Roland McGrath <roland@hack.frob.com>
30611 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30613 2012-05-15 Jeff Law <law@redhat.com>
30614 Andreas Jaeger <aj@suse.de>
30617 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30619 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30620 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30621 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30622 code changing __hst_map_handle.map.
30624 2012-05-15 Roland McGrath <roland@hack.frob.com>
30626 * configure.in (sysnames): Look for Implies-before and Implies-after
30628 * configure: Regenerated.
30630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30632 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30633 8-byte data alignment with LP_SIZE alignment.
30635 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30637 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30642 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30644 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30646 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30647 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30648 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30650 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30654 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30655 (stackinfo_sub_sp): Likewise.
30657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30662 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30664 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30672 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30674 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30678 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30679 into R11_LP and load __x86_64_shared_cache_size_half into
30682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30687 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30696 powerpc32/power7/fpu/s_logb.c via #include.
30697 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30698 powerpc32/power7/fpu/s_logbf.c via #include.
30699 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30700 powerpc32/power7/fpu/s_logbl.c via #include.
30702 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30704 * README.libm: Remove file.
30706 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30708 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30709 count for x32. Use R*_LP and omit operand-size suffix.
30711 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30713 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30714 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30715 * sysdeps/x86_64/x32/shlib-versions: New file.
30717 2012-05-14 Roland McGrath <roland@hack.frob.com>
30719 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30720 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30721 Use _dl_fatal_printf instead.
30723 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30725 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30726 set if not set by the user. Do not allow for being unset.
30727 * sysdeps/unix/sysv/linux/configure: Regenerated.
30729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30731 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30732 the `q' suffix from lea and replace .quad with ASM_ADDR.
30734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30737 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30739 (PTR_DEMANGLE): Likewise.
30741 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30743 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30745 (ASM_ADDR): Likewise.
30746 (RAX_LP): Likewise.
30747 (RBP_LP): Likewise.
30748 (RBX_LP): Likewise.
30749 (RCX_LP): Likewise.
30750 (RDI_LP): Likewise.
30751 (RSI_LP): Likewise.
30752 (RSP_LP): Likewise.
30755 (R10_LP): Likewise.
30756 (R10_LP): Likewise.
30757 (R11_LP): Likewise.
30758 (R12_LP): Likewise.
30759 (R13_LP): Likewise.
30760 (R14_LP): Likewise.
30761 (R15_LP): Likewise.
30763 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30765 * sysdeps/x86_64/x32/dl-machine.h: New file.
30767 2012-05-14 Andreas Jaeger <aj@suse.de>
30769 * manual/Makefile (subdir): Remove export of subdir.
30770 (all): Remove target.
30771 (.PHONY): Remove all from list.
30772 (mkinstalldirs): Remove.
30773 (.PHONY): Remove installdirs from list.
30774 ($(inst_infodir)/libc.info): Use make-target-directory.
30775 (installdirs): Remove.
30776 (subdir_%): Remove.
30777 (glibc-targets): Remove.
30780 ($(objpfx)stubs ../po/manual.pot): Remove.
30781 ($(objpfx)stamp%): Remove.
30782 (make-target-directory): Remove.
30783 (subdir_install): Remove.
30784 (routines): Remove.
30791 * manual/.gitignore: Remove, it's not needed anymore.
30792 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30794 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30796 (texis): Renamed to $(objpfx)texis.
30797 (texis-path): New, contains path to generated files.
30798 (chapters.%): Use texis-path for complete path, add extra argument
30800 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30801 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30802 (summary,texi, stamp-summary): Use complete path of
30803 files. Generate files in build dir.
30804 (dir-add.texi): Build in build dir.
30805 (libm-err.texi,stamp-libm-err): Likewise.
30806 (version.texi, stamp-version): Likewise.
30807 (.%c.texi): Likewise.
30808 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30809 (mostlyclean): Remove target.
30810 (realclean): Remove target.
30811 (generated): Add new variable with contents from mostlyclean and
30812 realclean, remove entries duplicated in common-mostlyclean, add
30813 stamp-libm-err and stamp-version.
30814 (generated-dirs): Add libc directory.
30815 ($(inst_infodir)/libc.info): Install files from build dir.
30817 * manual/install.texi (Configuring and compiling): Adjust since
30818 the info files are not part of the tar ball anymore.
30820 2012-05-14 Andreas Jaeger <aj@suse.de>
30822 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30825 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30829 to 2.2.0 where earlier.
30830 * sysdeps/unix/sysv/linux/configure: Regenerated.
30831 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30832 Remove conditional code.
30833 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30834 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30835 Remove conditional code.
30836 [!__NR_lchown]: Likewise.
30837 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30838 [__NR_lchown]: Likewise.
30839 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30840 comment referencing __ASSUME_LCHOWN_SYSCALL.
30841 * sysdeps/unix/sysv/linux/i386/sigaction.c
30842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30844 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30845 Remove conditional code.
30846 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30847 (__protocol_available): Remove #if 0 code.
30848 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30850 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30851 * sysdeps/unix/sysv/linux/kernel-features.h
30852 (__ASSUME_GETCWD_SYSCALL): Don't define.
30853 (__ASSUME_REALTIME_SIGNALS): Likewise.
30854 (__ASSUME_PREAD_SYSCALL): Likewise.
30855 (__ASSUME_PWRITE_SYSCALL): Likewise.
30856 (__ASSUME_POLL_SYSCALL): Likewise.
30857 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30858 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30860 (__ASSUME_SIOCGIFNAME): Don't define.
30861 (__ASSUME_MSG_NOSIGNAL): Likewise.
30862 (__ASSUME_SENDFILE): Define unconditionally.
30863 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30864 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30866 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30867 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30868 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30869 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30870 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30871 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30872 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30874 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30877 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30880 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30886 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30892 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30897 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30898 Remove conditional code.
30899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30900 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30901 Remove conditional code.
30902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30903 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30904 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30905 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30906 Remove conditional code.
30907 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30908 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30909 Remove conditional code.
30910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30911 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30912 Remove conditional code.
30913 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30914 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30915 Remove conditional code.
30916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30917 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30918 Remove conditional code.
30919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30920 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30921 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30923 * sysdeps/unix/sysv/linux/sigaction.c
30924 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30925 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30926 * sysdeps/unix/sysv/linux/sigpending.c
30927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30929 * sysdeps/unix/sysv/linux/sigprocmask.c
30930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30932 * sysdeps/unix/sysv/linux/sigsuspend.c
30933 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30934 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30935 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30936 (__libc_missing_rt_sigs): Remove.
30937 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30938 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30939 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30940 Remove conditional code.
30941 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30942 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30944 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30945 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30946 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30947 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30949 2012-05-14 Andreas Jaeger <aj@suse.de>
30951 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30952 it's not used in glibc.
30953 (__coshm1): Likewise.
30954 (__acosh1p): Likewise.
30957 * manual/string.texi (Copying and Concatenation): Add missing
30958 variable in concat example.
30959 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30961 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30965 __builtin_clzl with __builtin_clzll.
30967 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30970 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30973 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30975 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30976 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30977 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30978 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30980 2012-05-14 Mike Frysinger <vapier@gentoo.org>
30982 * NEWS: Update ia64 info.
30984 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30986 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30989 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30991 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30992 * sysdeps/unix/syscalls.list (dup3): Likewise.
30993 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30994 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30996 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30998 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30999 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31001 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31003 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31005 (TLS_IE): Use mov/add instead of movq/addq to load thread
31007 (TLS_GD_PREFIX): New.
31010 2012-05-11 David S. Miller <davem@davemloft.net>
31012 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31013 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31014 (_FPU_SETCW): Likewise.
31016 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31018 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31019 is 32-byte aligned.
31021 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31024 * iconvdata/gb18030.c: Update tables.
31025 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31026 characters specially.
31027 (BODY for TO_LOOP): Add encoding of missing ranges.
31029 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31032 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31033 * sysdeps/mach/hurd/dup3.c: Likewise.
31034 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31035 * sysdeps/powerpc/memmove.c:: Likewise.
31037 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31040 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31042 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31044 * elf/elf.h (R_X86_64_RELATIVE64): New.
31045 (R_X86_64_NUM): Updated.
31046 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31047 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31048 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31049 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31050 tst-quad1pie tst-quad2pie
31051 (modules-names): Add tst-quadmod1 tst-quadmod2.
31052 ($(objpfx)tst-quad1): New dependency.
31053 ($(objpfx)tst-quad2): Likewise.
31054 ($(objpfx)tst-quad1pie): Likewise.
31055 ($(objpfx)tst-quad2pie): Likewise.
31056 * sysdeps/x86_64/tst-quad1.c: New file.
31057 * sysdeps/x86_64/tst-quad1pie.c: New file.
31058 * sysdeps/x86_64/tst-quad2.c: Likewise.
31059 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31060 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31061 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31062 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31063 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31065 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31067 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31068 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31069 * streams/stropts.h (t_scalar_t): Define type.
31071 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31072 (_PATH_PRESERVE): Set to "/var/lib".
31073 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31075 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31078 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31079 if __dir_mkfile succeeded.
31081 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31082 checking for _hurd_dtablesize. Unlock it right after having
31083 finished _hurd_dtable allocation.
31085 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31087 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31088 * sysdeps/mach/hurd/configure: Regenerated.
31089 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31090 special-casing to...
31091 * sysdeps/gnu/configure.in: ... this new file.
31092 * sysdeps/unix/sysv/linux/configure: Regenerated.
31093 * sysdeps/gnu/configure: New generated file.
31095 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31096 for Linux: use nsec instead of usec, as well as:
31097 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31098 members of type struct timespec.
31099 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31101 (struct stat64): Likewise.
31102 (_STATBUF_ST_NSEC): New macro.
31103 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31105 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31106 __strtoul_internal rather than strtoul.
31108 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31110 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31113 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31115 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31116 which preserves existing values.
31117 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31119 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31121 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31122 TIMEOUT values. Return EINVAL for NFDS values either negative or
31123 greater than FD_SETSIZE.
31125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31127 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31128 allocated, call __vm_protect to finish enabling the existing space, and
31129 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31130 allocate the remainder.
31132 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31134 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31135 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31139 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31140 sysdeps/mach/hurd/readlink.c.
31142 * posix/tst-sysconf.c (posix_options): Only use
31143 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31144 _POSIX_SYNCHRONIZED_IO when they are defined
31145 * sysdeps/mach/hurd/bits/posix_opt.h:
31146 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31147 (_XOPEN_REALTIME): Undefine macro.
31148 (_XOPEN_REALTIME_THREADS): Undefine macro.
31149 (_XOPEN_SHM): Undefine macro.
31150 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31152 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31154 (_POSIX_ASYNC_IO): Undefine macro.
31155 (_POSIX_PRIORITIZED_IO): Undefine macro.
31156 (_POSIX_SPIN_LOCKS): Define macro to -1.
31158 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31159 SA_NODEFER, SA_RESETHAND.
31160 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31161 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31164 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31166 * elf/Makefile (pldd-modules): Define unconditionally.
31168 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31170 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31172 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31174 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31175 Return ENOENT when name is empty.
31176 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31180 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31182 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31186 Fix mlock in all cases except non-readable pages.
31187 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31188 instead of VM_PROT_ALL as parameter to __vm_wire function.
31190 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31191 (__mkdir): When path is `/', just fail with EEXIST.
31192 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31194 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31196 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31197 <sys/uio.h> (for writev).
31198 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31199 and <sys/param.h> (for MIN).
31201 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31203 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31204 REQUESTED_TIME. Properly set the remaining time and return EINTR
31207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31209 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31210 Depend on against $(link-rpcuserlibs).
31212 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31214 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31215 (__libc_stack_end): Do not use attribute_relro.
31216 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31217 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31218 to libthread-provided value.
31219 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31222 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31225 * bits/libc-lock.h (__libc_once_get): New macro.
31226 * sysdeps/mach/bits/libc-lock.h: Likewise.
31227 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31229 instead of using implementation details.
31231 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31232 * libio/freopen.c: Likewise.
31233 * libio/freopen64.c: Likewise.
31234 * misc/syslog.c: Likewise.
31235 * nscd/connections.c: Likewise.
31236 * nscd/netgroupcache.c: Likewise.
31237 * sysdeps/posix/getcwd.c: Likewise.
31239 2012-05-10 Roland McGrath <roland@hack.frob.com>
31241 * math/w_ilogbf.c: Add #include <limits.h>.
31243 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31245 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31246 path instead of returning without unlocking.
31248 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31249 immediate-write ioctls.
31250 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31252 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31254 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31255 __builtin_frame_address instead of making assumptions about the
31256 location of the return address relative to DATA. Force early load of
31257 the return address.
31258 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31259 __builtin_frame_address.
31262 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31263 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31264 implement dup3 and do some further code clean-ups.
31265 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31266 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31268 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31270 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31272 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31273 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31274 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31275 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31276 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31279 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31280 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31281 when handler == SIG_ERR, not when handler != SIG_ERR.
31283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31285 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31286 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31289 accept4 for GNU Hurd.
31290 * include/sys/socket.h (__libc_accept4): New prototype.
31291 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31292 to implement __libc_accept4.
31293 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31295 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31297 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31298 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31299 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31300 signal-defines.sym.
31302 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31304 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31308 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31309 assertion on O_CLOEXEC flag.
31310 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31311 * hurd/intern-fd.c: Likewise.
31312 * hurd/port2fd.c: Likewise.
31314 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31317 * bits/in.h (IPV6_PKTINFO): Define new macro.
31318 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31320 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31325 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31327 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31328 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31329 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31331 * math/libm-test.inc (logb_test) : Additional logb tests.
31333 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31334 Andreas Jaeger <aj@suse.de>
31336 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31337 * configure: Regenerated.
31338 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31339 * config.make.in (link-obsolete-rpc): New substituted variable.
31340 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31341 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31342 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31343 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31344 so that libc.a contains the symbols.
31345 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31346 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31347 * sunrpc/auth_none.c: Likewise.
31348 * sunrpc/auth_unix.c: Likewise.
31349 * sunrpc/authdes_prot.c: Likewise.
31350 * sunrpc/authuxprot.c: Likewise.
31351 * sunrpc/clnt_gen.c: Likewise.
31352 * sunrpc/clnt_perr.c: Likewise.
31353 * sunrpc/clnt_raw.c: Likewise.
31354 * sunrpc/clnt_simp.c: Likewise.
31355 * sunrpc/clnt_tcp.c: Likewise.
31356 * sunrpc/clnt_udp.c: Likewise.
31357 * sunrpc/clnt_unix.c: Likewise.
31358 * sunrpc/des_crypt.c: Likewise.
31359 * sunrpc/des_soft.c: Likewise.
31360 * sunrpc/get_myaddr.c: Likewise.
31361 * sunrpc/key_call.c: Likewise.
31362 * sunrpc/key_prot.c: Likewise.
31363 * sunrpc/netname.c: Likewise.
31364 * sunrpc/pm_getmaps.c: Likewise.
31365 * sunrpc/pm_getport.c: Likewise.
31366 * sunrpc/pmap_clnt.c: Likewise.
31367 * sunrpc/pmap_prot.c: Likewise.
31368 * sunrpc/pmap_prot2.c: Likewise.
31369 * sunrpc/pmap_rmt.c: Likewise.
31370 * sunrpc/publickey.c: Likewise.
31371 * sunrpc/rpc_cmsg.c: Likewise.
31372 * sunrpc/rpc_common.c: Likewise.
31373 * sunrpc/rpc_dtable.c: Likewise.
31374 * sunrpc/rpc_prot.c: Likewise.
31375 * sunrpc/rpc_thread.c: Likewise.
31376 * sunrpc/rtime.c: Likewise.
31377 * sunrpc/svc.c: Likewise.
31378 * sunrpc/svc_auth.c: Likewise.
31379 * sunrpc/svc_raw.c: Likewise.
31380 * sunrpc/svc_run.c: Likewise.
31381 * sunrpc/svc_tcp.c: Likewise.
31382 * sunrpc/svc_udp.c: Likewise.
31383 * sunrpc/svc_unix.c: Likewise.
31384 * sunrpc/svcauth_des.c: Likewise.
31385 * sunrpc/xcrypt.c: Likewise.
31386 * sunrpc/xdr.c: Likewise.
31387 * sunrpc/xdr_array.c: Likewise.
31388 * sunrpc/xdr_float.c: Likewise.
31389 * sunrpc/xdr_intXX_t.c: Likewise.
31390 * sunrpc/xdr_mem.c: Likewise.
31391 * sunrpc/xdr_rec.c: Likewise.
31392 * sunrpc/xdr_ref.c: Likewise.
31393 * sunrpc/xdr_sizeof.c: Likewise.
31394 * sunrpc/xdr_stdio.c: Likewise.
31396 2012-05-10 Roland McGrath <roland@hack.frob.com>
31398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31399 change. Update copyright years.
31401 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31403 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31405 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31406 Joseph Myers <joseph@codesourcery.com>
31407 Paul Pluzhnikov <ppluzhnikov@google.com>
31410 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31412 [cross-compiling] (extra-libs): Likewise.
31413 [cross-compiling] (extra-libs-others): Likewise.
31414 [cross-compiling] (librpcsvc-routines): Likewise.
31415 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31416 [cross-compiling] (omit-deps): Likewise.
31417 (sunrpc-CPPFLAGS): New variable.
31418 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31419 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31420 (cross-rpcgen-objs): New variable.
31421 (extra-objs): Append $(cross-rpcgen-objs).
31422 ($(cross-rpcgen-objs)): New rule.
31423 ($(objpfx)cross-rpcgen): Likewise.
31424 (rpcgen-cmd): Define to use $(built-program-file). Expand
31426 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31427 ($(objpfx)x%.stmp): Likewise.
31428 * sunrpc/proto.h [IS_IN_build] (_): Define.
31429 [IS_IN_build] (_libc_intl_domainname): Likewise.
31431 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31434 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31435 and R_X86_64_TPOFF64.
31437 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31439 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31440 sysdeps/unix/sysv/syscalls.list.
31443 * sysdeps/unix/sysv/syscalls.list: Remove file.
31445 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31448 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31449 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31450 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31451 (__LC_IDENTIFICATION): Make these macros useful in #if
31452 expressions, as required by C99.
31454 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31456 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31457 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31460 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31462 * stdlib/longlong.h: Updated from GCC.
31464 2012-05-09 Andreas Jaeger <aj@suse.de>
31466 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31467 default is first entry.
31468 (run_mode): Set type.
31469 (main): Remove informal message about syslog.
31470 (options): Fix typo.
31473 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31476 (llrintf): Likewise.
31477 (llrint): Likewise.
31480 (nearbyint): Likewise.
31481 (nearbyintf): Likewise.
31483 2012-05-09 Andreas Jaeger <aj@suse.de>
31484 Pedro Alves <palves@redhat.com>
31486 * nscd/nscd.c (run_mode): Use enum.
31487 (main): Cleanup coding style issue.
31489 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31490 Andreas Jaeger <aj@suse.de>
31492 * nscd/nscd.c (go_background): Replaced with...
31493 (run_mode): ... this.
31494 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31495 (options): Add -F --foreground.
31496 (main): Implement it.
31497 (parse_opt): Parse it.
31499 2012-05-09 Andreas Jaeger <aj@suse.de>
31502 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31503 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31504 -Wconversion warning.
31505 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31508 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31510 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31512 (LC_ALL): Use macro-int-constant.
31513 (LC_COLLATE): Likewise.
31514 (LC_CTYPE): Likewise.
31515 (LC_MESSAGES): Likewise.
31516 (LC_MONETARY): Likewise.
31517 (LC_NUMERIC): Likewise.
31518 (LC_TIME): Likewise.
31519 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31520 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31522 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31524 [C99-based standards] (float_t): Expect type.
31525 [C99-based standards] (double_t): Expect type.
31526 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31528 [C99-based standards] (HUGE_VALL): Likewise.
31529 [C99-based standards] (INFINITY): Likewise.
31530 [C99-based standards] (NAN): Likewise.
31531 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31532 [C99-based standards] (FP_NAN): Likewise.
31533 [C99-based standards] (FP_NORMAL): Likewise.
31534 [C99-based standards] (FP_SUBNORMAL): Likewise.
31535 [C99-based standards] (FP_ZERO): Likewise.
31536 [C99-based standards] (FP_FAST_FMA): Use
31537 optional-macro-int-constant. Specify type. Require == 1.
31538 [C99-based standards] (FP_FAST_FMAF): Likewise.
31539 [C99-based standards] (FP_FAST_FMAL): Likewise.
31540 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31541 [C99-based standards] (FP_ILOGBNAN): Likewise.
31542 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31544 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31545 [C99-based standards] (math_errhandling): Specify type.
31546 [ISO99 || ISO11] (signgam): Do not allow.
31547 [non-C99-based standards] (copysignf): Do not allow.
31548 [non-C99-based standards] (exp2f): Likewise.
31549 [non-C99-based standards] (log2f): Likewise.
31550 [non-C99-based standards] (modff): Allow.
31551 [non-C99-based standards] (erff): Do not allow.
31552 [non-C99-based standards] (erfcf): Likewise.
31553 [non-C99-based standards] (gammaf): Likewise.
31554 [non-C99-based standards] (hypotf): Likewise.
31555 [non-C99-based standards] (j0f): Likewise.
31556 [non-C99-based standards] (j1f): Likewise.
31557 [non-C99-based standards] (jnf): Likewise.
31558 [non-C99-based standards] (lgammaf): Likewise.
31559 [non-C99-based standards] (tgammaf): Likewise.
31560 [non-C99-based standards] (y0f): Likewise.
31561 [non-C99-based standards] (y1f): Likewise.
31562 [non-C99-based standards] (ynf): Likewise.
31563 [non-C99-based standards] (isnanf): Likewise.
31564 [non-C99-based standards] (acoshf): Likewise.
31565 [non-C99-based standards] (asinhf): Likewise.
31566 [non-C99-based standards] (atanhf): Likewise.
31567 [non-C99-based standards] (cbrtf): Likewise.
31568 [non-C99-based standards] (expm1f): Likewise.
31569 [non-C99-based standards] (ilogbf): Likewise.
31570 [non-C99-based standards] (log1pf): Likewise.
31571 [non-C99-based standards] (logbf): Likewise.
31572 [non-C99-based standards] (nextafterf): Likewise.
31573 [non-C99-based standards] (remainderf): Likewise.
31574 [non-C99-based standards] (rintf): Likewise.
31575 [non-C99-based standards] (scalbf): Likewise.
31576 [non-C99-based standards] (copysignl): Likewise.
31577 [non-C99-based standards] (exp2l): Likewise.
31578 [non-C99-based standards] (log2l): Likewise.
31579 [non-C99-based standards] (modfl): Allow.
31580 [non-C99-based standards] (erfl): Do not allow.
31581 [non-C99-based standards] (erfcl): Likewise.
31582 [non-C99-based standards] (gammal): Likewise.
31583 [non-C99-based standards] (hypotl): Likewise.
31584 [non-C99-based standards] (j0l): Likewise.
31585 [non-C99-based standards] (j1l): Likewise.
31586 [non-C99-based standards] (jnl): Likewise.
31587 [non-C99-based standards] (lgammal): Likewise.
31588 [non-C99-based standards] (tgammal): Likewise.
31589 [non-C99-based standards] (y0l): Likewise.
31590 [non-C99-based standards] (y1l): Likewise.
31591 [non-C99-based standards] (ynl): Likewise.
31592 [non-C99-based standards] (isnanl): Likewise.
31593 [non-C99-based standards] (acoshl): Likewise.
31594 [non-C99-based standards] (asinhl): Likewise.
31595 [non-C99-based standards] (atanhl): Likewise.
31596 [non-C99-based standards] (cbrtl): Likewise.
31597 [non-C99-based standards] (expm1l): Likewise.
31598 [non-C99-based standards] (ilogbl): Likewise.
31599 [non-C99-based standards] (log1pl): Likewise.
31600 [non-C99-based standards] (logbl): Likewise.
31601 [non-C99-based standards] (nextafterl): Likewise.
31602 [non-C99-based standards] (remainderl): Likewise.
31603 [non-C99-based standards] (rintl): Likewise.
31604 [non-C99-based standards] (scalbl): Likewise.
31605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31606 [non-C99-based standards] (FP_*): Do not allow.
31607 [C99-based standards] (FP_*): Change to
31608 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31609 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31611 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31612 (SIG_ERR): Likewise.
31613 [X/Open-based standards] (SIG_HOLD): Likewise.
31614 (SIG_IGN): Likewise.
31615 (SIGABRT): Use macro-int-constant. Specify type. Require
31617 (SIGFPE): Likewise.
31618 (SIGILL): Likewise.
31619 (SIGINT): Likewise.
31620 (SIGSEGV): Likewise.
31621 (SIGTER): Likewise.
31622 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31623 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31624 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31625 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31626 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31627 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31628 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31629 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31630 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31631 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31632 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31633 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31634 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31635 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31636 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31637 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31638 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31639 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31640 [X/Open-based standards] (SIGTRAP): Likewise.
31641 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31642 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31643 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31644 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31645 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31648 2012-05-08 Ian Wienand <ianw@vmware.com>
31651 * time/tzset.c (__tzset_parse_tz): Update default rules for
31652 daylight time changes in the Energy Policy Act of 2005.
31654 2012-05-09 Andreas Jaeger <aj@suse.de>
31657 * elf/ldconfig.c (parse_conf): Change string to make clear that
31658 ldconfig only issued a warning if ld.so.conf does not exist.
31660 2012-05-08 David S. Miller <davem@davemloft.net>
31662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31663 movxtod instead of popping the value on the stack.
31665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31667 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31669 * config.h.in: Add HAVE_ARM_PCS_VFP.
31671 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31674 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31675 checking but the checks are disabled for any reason.
31677 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31679 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31680 and ELF64_R_TYPE with ELFW(R_TYPE).
31682 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31684 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31685 (ulimit): Likewise.
31687 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31688 (settimeofday): Likewise.
31690 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31692 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31693 a struct th_u2 inside the union, and move tu_block/tu_code into
31694 a new th_u3 union of tu_block/tu_code inside of that. Move
31695 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31696 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31697 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31698 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31699 (th_stuff): Change to th_u1.tu_stuff.
31701 (th_msg): Change to th_u1.th_u2.tu_data.
31703 2012-05-07 David S. Miller <davem@davemloft.net>
31705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31708 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31709 (SETUP_PIC_REG): Use it.
31710 (SETUP_PIC_REG_LEAF): Use it.
31712 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31716 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31718 (EXPL_FINITE): Likewise.
31719 (FLDLOG): Likewise.
31720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31721 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31725 (EXPL_FINITE): Likewise.
31726 (FLDLOG): Likewise.
31727 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31728 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31730 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31731 test of -max_value argument for long double.
31732 * sysdeps/i386/fpu/libm-test-ulps: Update.
31733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31735 2012-05-06 David S. Miller <davem@davemloft.net>
31737 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31738 quad soft-float symbols whose references which are compiler
31740 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31742 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31746 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31748 (EXPL_FINITE): Likewise.
31749 (FLDLOG): Likewise.
31752 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31753 Adjust comments for base varying.
31754 (__expl_finite): Change alias to EXPL_FINITE.
31755 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31757 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31758 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31759 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31760 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31761 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31763 (EXPL_FINITE): Likewise.
31764 (FLDLOG): Likewise.
31767 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31768 Adjust comments for base varying.
31769 (__expl_finite): Change alias to EXPL_FINITE.
31770 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31775 * math/libm-test.inc (check_float_internal): Correct ulp
31776 calculation for subnormal expected results.
31778 2012-05-06 Andreas Jaeger <aj@suse.de>
31780 * Makeconfig (+math-flags): New, set to -frounding-math.
31781 (+cflags): Add +math-flags so that all of glibc gets compiled with
31784 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31786 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31788 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31794 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31795 (__ieee754_expl): Allow for and saturate large arguments.
31796 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31797 (u_threshold): Likewise.
31798 (__exp): Call __ieee754_exp before checking for overflow and
31800 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31801 (u_threshold): Likewise.
31802 (__expf): Call __ieee754_expf before checking for overflow and
31804 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31805 (u_threshold): Likewise.
31806 (__expl): Call __ieee754_expl before checking for overflow and
31808 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31809 (__ieee754_expl): Allow for and saturate large arguments.
31810 * math/libm-test.inc (exp_test): Add another test. Do not allow
31811 missing overflow exception on overflow.
31812 (expm1_test): Do not allow missing overflow exception on overflow.
31814 * sysdeps/i386/fpu/e_expl.c: Move to ...
31815 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31816 rather than using inline asm.
31817 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31818 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31819 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31821 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31824 (signal): Likewise.
31828 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31830 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31831 sysdeps/unix/common/syscalls.list.
31832 (fchmod): Likewise.
31833 (fchown): Likewise.
31834 (ftruncate): Likewise.
31835 (getrusage): Likewise.
31836 (gettimeofday): Likewise.
31837 (setpgid): Likewise.
31838 (setregid): Likewise.
31839 (setreuid): Likewise.
31840 (sigaction): Likewise.
31841 (truncate): Likewise.
31842 (vhangup): Likewise.
31843 * sysdeps/unix/common/syscalls.list: Remove file.
31844 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31845 * sysdeps/unix/sysv/linux/Implies: Likewise.
31847 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31849 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31851 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31855 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31858 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31861 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31864 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31867 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31870 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31873 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31877 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31881 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31884 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31888 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31892 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31894 * sysdeps/unix/common/bits/dirent.h: Remove file.
31895 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31897 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31898 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31899 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31900 * sysdeps/unix/bsd/isatty.c: Likewise.
31901 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31902 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31903 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31905 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31908 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31909 long double comparison inaccuracies.
31910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31913 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31915 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31916 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31918 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31921 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31922 nonzero digits before rounding a hex value.
31923 * stdlib/tst-strtod.c (tests): Add another test.
31925 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31927 * sysdeps/s390/fpu/libm-test-ulps: Update.
31929 2012-05-03 Andreas Jaeger <aj@suse.de>
31931 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31932 does not get optimized out.
31933 (malloc_opt_barrier): New.
31935 2012-05-03 Andreas Jaeger <aj@suse.de>
31936 Roland McGrath <roland@hack.frob.com>
31938 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31939 intermediate file deletion.
31940 (generated): Add .symlist files.
31942 2012-05-03 Joseph Myers <joseph@codesourcery.com>
31945 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31946 Redirect under this condition.
31947 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31948 [__USE_GNU] (__dprintf_chk): Not under this condition.
31949 [__USE_GNU] (__vdprintf_chk): Likewise.
31950 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31951 under this condition.
31952 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31953 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31954 [__USE_XOPEN2K8] (vdprintf): Likewise.
31955 [__USE_GNU] (__dprintf_chk): Not under this condition.
31956 [__USE_GNU] (__vdprintf_chk): Likewise.
31957 [__USE_GNU] (dprintf): Likewise.
31958 [__USE_GNU] (vdprintf): Likewise.
31960 2012-05-03 Roland McGrath <roland@hack.frob.com>
31962 * elf/Makefile (common-generated): Set this instead of generated for
31963 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31964 $(all-built-dso)-derived lists.
31966 2012-05-03 Andreas Jaeger <aj@suse.de>
31968 * sysdeps/i386/fpu/libm-test-ulps: Update.
31971 * FAQ.in: Likewise.
31972 * scripts/gen-FAQ.pl: Likewise.
31973 * manual/install.texi (Installation): Point to online location of
31975 * Makefile (files-for-dist): Remove FAQ.
31978 2012-05-02 Allan McRae <allan@archlinux.org>
31980 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31981 (LDFLAGS-reldepmod5.so): Likewise.
31982 (LDFLAGS-reldep6mod1.so): Likewise.
31983 (LDFLAGS-reldep6mod4.so): Likewise.
31984 (LDFLAGS-reldep8mod3.so): Likewise.
31985 (LDFLAGS-unload4mod1.so): Likewise.
31986 (LDFLAGS-unload4mod2.so): Likewise.
31987 (LDFLAGS-tst-initorder): Likewise.
31988 (LDFLAGS-tst-initordera2.so): Likewise.
31989 (LDFLAGS-tst-initordera3.so): Likewise.
31990 (LDFLAGS-tst-initordera4.so): Likewise.
31991 (LDFLAGS-tst-initorderb2.so): Likewise.
31992 (LDFLAGS-noload): Likewise.
31993 (LDFLAGS-next): Likewise.
31994 (LDFLAGS-order2mod1.so): Likewise.
31995 (LDFLAGS-order2mod2.so): Likewise.
31996 (LDFLAGS-tst-initorder2): Likewise.
31997 (LDFLAGS-tst-initorder2a.so): Likewise.
31998 (LDFLAGS-tst-initorder2b.so): Likewise.
31999 (LDFLAGS-tst-initorder2c.so): Likewise.
32000 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32002 2012-05-02 David S. Miller <davem@davemloft.net>
32004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32006 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32009 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32011 2012-05-02 Andreas Jaeger <aj@suse.de>
32013 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32014 since we manipulate rounding mode.
32015 (CPPFLAGS-test-idouble.c): Likewise.
32016 (CPPFLAGS-test-ifloat.c): Likewise.
32017 (CFLAGS-test-ldouble.c): Likewise.
32018 (CFLAGS-test-double.c): Likewise.
32019 (CFLAGS-test-float.c): Likewise.
32020 (CFLAGS-test-misc.c): Likewise.
32021 (CFLAGS-test-test-fenv.c): Likewise.
32023 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32027 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32028 comparisons to determine direction to adjust input.
32030 2012-05-01 Roland McGrath <roland@hack.frob.com>
32032 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32033 output to the target.
32035 * scripts/localplt.awk: New file.
32036 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32037 (check-localplt-CFLAGS): Variable removed.
32038 ($(all-built-dso:=.jmprel)): New static pattern rule.
32039 (generated): Add those targets.
32040 (localplt-built-dso): New variable.
32041 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32043 * elf/check-localplt.c: File removed.
32045 * scripts/check-execstack.awk: New file.
32046 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32047 (check-execstack-CFLAGS): Variable removed.
32048 ($(objpfx)check-execstack.h): Target removed.
32049 ($(objpfx)execstack-default): New target.
32050 (generated): Add that instead of check-execstack.h.
32051 ($(all-built-dso:=.phdr)): New static pattern rule.
32052 (generated): Add those targets.
32053 * elf/check-execstack.c: File removed.
32055 * scripts/check-textrel.awk: New file.
32056 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32057 (check-textrel-CFLAGS): Variable removed.
32058 (all-built-dso): Use := to define.o
32059 ($(all-built-dso:=.dyn)): New static pattern rule.
32060 (generated): Add those targets.
32061 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32062 * config.make.in (READELF): New substituted variable.
32063 * elf/check-textrel.c: File removed.
32065 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32067 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32069 * conform/data/ctype.h-data [C99-based standards] (isblank):
32071 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32072 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32074 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32075 Specify type. Require positive value.
32076 (EILSEQ): Likewise.
32077 (ERANGE): Likewise.
32078 [ISO || POSIX] (EILSEQ): Do not expect.
32079 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32080 Specify type. Require positive value.
32081 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32082 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32083 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32084 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32085 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32086 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32087 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32088 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32089 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32090 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32091 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32092 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32093 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32094 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32095 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32096 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32097 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32098 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32099 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32100 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32101 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32102 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32103 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32104 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32105 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32106 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32107 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32108 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32109 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32110 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32111 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32112 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32113 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32114 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32115 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32116 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32117 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32118 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32119 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32120 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32121 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32122 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32123 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32124 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32125 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32126 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32127 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32128 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32129 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32130 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32131 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32132 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32133 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32134 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32135 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32136 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32137 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32138 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32139 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32140 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32141 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32142 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32143 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32144 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32145 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32146 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32147 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32148 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32149 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32150 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32151 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32152 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32153 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32154 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32155 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32156 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32157 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32159 (FLT_ROUNDS): Expect as macro, not constant.
32160 (FLT_MANT_DIG): Use macro-int-constant.
32161 (DBL_MANT_DIG): Likewise.
32162 (LDBL_MANT_DIG): Likewise.
32163 (FLT_DIG): Likewise.
32164 (DBL_DIG): Likewise.
32165 (LDBL_DIG): Likewise.
32166 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32167 (DBL_MIN_EXP): Likewise.
32168 (LDBL_MIN_EXP): Likewise.
32169 (FLT_MAX_EXP): Use macro-int-constant.
32170 (DBL_MAX_EXP): Likewise.
32171 (LDBL_MAX_EXP): Likewise.
32172 (FLT_MAX_10_EXP): Likewise.
32173 (DBL_MAX_10_EXP): Likewise.
32174 (LDBL_MAX_10_EXP): Likewise.
32175 (FLT_MAX): Use macro-constant.
32176 (DBL_MAX): Likewise.
32177 (LDBL_MAX): Likewise.
32178 (FLT_EPSILON): Use macro-constant. Give upper bound.
32179 (DBL_EPSILON): Likewise.
32180 (LDBL_EPSILON): Likewise.
32181 (FLT_MIN): Likewise.
32182 (DBL_MIN): Likewise.
32183 (LDBL_MIN): Likewise.
32184 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32185 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32186 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32187 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32188 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32189 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32190 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32191 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32192 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32193 [ISO11] (FLT_TRUE_MIN): Likewise.
32194 [ISO11] (LDBL_TRUE_MIN): Likewise.
32195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32196 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32197 (SCHAR_MIN): Use macro-int-constant. Specify type.
32198 (SCHAR_MAX): Likewise.
32199 (UCHAR_MAX): Likewise.
32200 (CHAR_MIN): Likewise.
32201 (CHAR_MAX): Likewise.
32202 (MB_LEN_MAX): Use macro-int-constant.
32203 (SHRT_MIN): Use macro-int-constant. Specify type.
32204 (SHRT_MAX): Likewise.
32205 (USHRT_MAX): Likewise.
32206 (INT_MAX): Likewise.
32207 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32209 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32211 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32213 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32214 bound negative. Suffix upper bound with "L".
32215 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32217 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32219 [C99-based standards] (LLONG_MAX): Likewise.
32220 [C99-based standards] (ULLONG_MAX): Likewise.
32221 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32223 [ISO11] (max_align_t): Require type.
32224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32226 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32227 from $CFLAGS, without defining away __attribute__ calls.
32228 (checknamespace): Use $CFLAGS_namespace.
32230 * conform/conformtest.pl (@keywords): Only include C99 keywords
32231 for standards based on C99 or C11.
32233 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32235 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32238 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32239 usability of symbols in #if.
32241 * conform/conformtest.pl: If macro or constant types start
32242 "promoted:", expect the symbol to be of the following type
32243 promoted by the integer promotions.
32245 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32246 in one place. Also handle "macro-constant".
32248 * conform/conformtest.pl: Only accept expected macro values with
32249 "==". Parse all "macro" lines in one place.
32250 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32252 * conform/conformtest.pl: Handle braced types on "constant" lines
32253 instead of handling "typed-constant".
32254 * conform/data/signal.h-data: Use "constant" instead of
32257 * conform/conformtest.pl: Handle "optional-" at start of lines in
32258 one place rather than duplicating several cases. Handle each
32259 format of "macro" line with initial "optional-".
32261 * conform/conformtest.pl: Only accept expected constant or
32262 optional-constant values with "==". Parse all "constant" lines in
32263 one place. Parse all "optional-constant" lines in one place.
32264 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32265 * conform/data/fmtmsg.h-data: Likewise.
32266 * conform/data/netinet/in.h-data: Likewise.
32267 * conform/data/tar.h-data: Likewise.
32268 * conform/data/limits.h-data: Use "==" form on "constant" and
32269 "optional-constant" lines.
32271 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32272 Use -std=c99 for XOPEN2K.
32273 (@knownproblems): Remove.
32274 (newtoken): Don't check %isknown.
32276 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32277 Do not expect macro.
32278 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32279 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32280 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32281 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32282 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32283 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32284 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32285 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32286 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32287 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32288 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32289 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32290 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32291 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32292 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32293 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32294 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32295 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32296 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32297 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32298 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32299 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32300 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32301 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32302 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32303 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32304 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32305 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32306 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32307 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32308 [XPG3] (acosh): Likewise.
32309 [XPG3] (asinh): Likewise.
32310 [XPG3] (atanh): Likewise.
32311 [XPG3] (cbrt): Likewise.
32312 [XPG3] (expm1): Likewise.
32313 [XPG3] (ilogb): Likewise.
32314 [XPG3] (log1p): Likewise.
32315 [XPG3] (logb): Likewise.
32316 [XPG3] (nextafter): Likewise.
32317 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32318 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32319 [XPG3] (remainder): Likewise.
32320 [XPG3] (rint): Likewise.
32321 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32322 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32323 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32324 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32325 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32326 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32327 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32328 [UNIX98 || XOPEN2K] (scalb): Expect.
32329 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32330 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32331 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32332 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32333 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32334 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32335 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32336 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32337 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32338 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32339 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32340 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32341 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32342 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32343 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32344 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32345 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32346 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32347 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32348 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32349 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32350 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32351 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32352 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32353 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32354 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32355 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32356 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32357 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32358 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32359 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32360 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32361 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32362 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32363 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32364 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32365 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32366 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32367 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32368 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32369 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32370 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32371 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32372 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32373 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32374 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32375 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32376 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32377 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32378 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32379 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32380 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32381 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32382 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32383 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32384 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32385 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32386 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32387 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32388 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32389 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32390 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32391 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32392 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32393 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32394 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32395 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32396 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32397 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32398 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32399 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32400 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32403 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32404 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32405 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32406 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32407 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32408 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32409 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32411 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32412 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32413 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32414 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32415 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32416 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32417 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32418 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32419 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32420 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32421 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32422 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32423 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32424 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32425 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32426 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32427 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32428 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32429 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32430 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32431 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32432 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32433 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32434 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32435 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32436 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32437 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32438 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32439 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32440 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32441 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32442 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32443 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32444 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32445 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32446 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32447 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32448 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32449 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32450 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32451 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32452 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32453 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32454 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32455 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32456 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32457 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32458 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32459 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32460 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32461 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32462 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32463 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32464 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32465 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32467 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32468 _XOPEN_SOURCE_EXTENDED for XPG4.
32470 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32472 * Makeconfig (localtime): Remove variable.
32473 (inst_localtime-file): Likewise.
32475 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32496 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32500 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32501 comparisons to determine direction to adjust input.
32502 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32503 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32506 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32508 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32510 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32511 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32513 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32515 * math/libm-test.inc (nexttoward_test): Add more tests.
32517 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32521 in version GLIBC_2.1, not GLIBC_2.0.
32522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32525 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32528 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32530 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32531 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32532 * math/libm-test.inc (acos_test): Add more tests.
32533 (asin_test): Likewise.
32534 * sysdeps/i386/fpu/libm-test-ulps: Update.
32535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32538 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32540 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32541 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32542 * math/libm-test.inc (acos_test_tonearest): New function.
32543 (acos_test_towardzero): Likewise.
32544 (acos_test_downward): Likewise.
32545 (acos_test_upward): Likewise.
32546 (asin_test_tonearest): Likewise.
32547 (asin_test_towardzero): Likewise.
32548 (asin_test_downward): Likewise.
32549 (asin_test_upward): Likewise.
32550 (main): Call the new functions.
32551 * sysdeps/i386/fpu/libm-test-ulps: Update.
32552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32556 * math/e_exp10.c: Include <float.h>.
32557 (__ieee754_exp10): Handle underflow here rather than multiplying
32558 large negative argument by M_LN10.
32559 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32561 * math/e_exp10l.c: Include <float.h>.
32562 (__ieee754_exp10l): Handle underflow here rather than multiplying
32563 large negative argument by M_LN10l.
32564 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32565 spurious overflow exception on underflow.
32567 2012-04-29 Marek Polacek <polacek@redhat.com>
32569 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32570 (__fortify_function): New macro.
32571 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32572 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32573 __extern_always_inline.
32574 * libio/bits/stdio2.h: Likewise.
32575 * libio/bits/stdio.h: Likewise.
32576 * string/string.h: Likewise.
32577 * string/bits/string3.h: Likewise.
32578 * include/stdio.h: Likewise.
32579 * stdlib/bits/stdlib.h: Likewise.
32580 * stdlib/stdlib.h: Likewise.
32581 * rt/bits/mqueue2.h: Likewise.
32582 * rt/mqueue.h: Likewise.
32583 * posix/bits/unistd.h: Likewise.
32584 * posix/unistd.h: Likewise.
32585 * io/bits/poll2.h: Likewise.
32586 * io/bits/fcntl2.h: Likewise.
32587 * io/fcntl.h: Likewise.
32588 * io/sys/poll.h: Likewise.
32589 * misc/bits/syslog.h: Likewise.
32590 * misc/bits/syslog-ldbl.h: Likewise.
32591 * misc/sys/syslog.h: Likewise.
32592 * socket/bits/socket2.h: Likewise.
32593 * socket/sys/socket.h: Likewise.
32594 * debug/tst-chk1.c: Likewise.
32595 * wcsmbs/bits/wchar2.h: Likewise.
32596 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32597 * wcsmbs/wchar.h: Likewise.
32599 2012-04-29 Andreas Jaeger <aj@suse.de>
32601 * Makerules (tests): Remove enable-check-abi protection.
32602 (check-abi-warn): Remove.
32603 (check-abi-%): Remove check-abi-warn usage.
32605 * configure.in: Remove check-abi configure option.
32606 * configure: Regenerated.
32607 * config.make.in (enable-check-abi): Remove.
32609 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32612 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32613 double functions to double *_finite functions.
32616 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32617 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32619 * stdio-common/Makefile (tests): Add tst-sprintf3.
32620 * stdio-common/tst-sprintf3.c: New file.
32622 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32623 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32625 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32627 * conform/conformtest.pl: Remove duplicate typed-constant
32630 2012-04-28 David S. Miller <davem@davemloft.net>
32632 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32633 (check-abi-%): Remove AWK script prerequisite and explicit
32635 (check-abi): Rewrite to just diff the symlist with the abilist.
32636 (config-tls, config-abi-config): Delete, no longer used.
32637 (update-abi-%): Remove AWK script and explicit abilist directory.
32638 (update-abi): Rewrite to simply compare and conditionally copy the
32639 symlist and the sysdep abilist file. Remove update-abi-config
32641 * abilist/ld.abilist: Remove.
32642 * abilist/libBrokenLocale.abilist: Remove.
32643 * abilist/libanl.abilist: Remove.
32644 * abilist/libcrypt.abilist: Remove.
32645 * abilist/libdl.abilist: Remove.
32646 * abilist/librt.abilist: Remove.
32647 * abilist/libthread_db.abilist: Remove.
32648 * abilist/libutil.abilist: Remove.
32649 * scripts/extract-abilist.awk: Remove.
32650 * scripts/merge-abilist.awk: Remove.
32651 * sysdeps/generic/libcidn.abilist: New file.
32652 * sysdeps/generic/libnss_compat.abilist: New file.
32653 * sysdeps/generic/libnss_db.abilist: New file.
32654 * sysdeps/generic/libnss_dns.abilist: New file.
32655 * sysdeps/generic/libnss_files.abilist: New file.
32656 * sysdeps/generic/libnss_hesiod.abilist: New file.
32657 * sysdeps/generic/libnss_nis.abilist: New file.
32658 * sysdeps/generic/libnss_nisplus.abilist: New file.
32659 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32660 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32661 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32664 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32665 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32666 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32667 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32668 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32669 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32670 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32671 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32673 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32674 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32675 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32676 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32678 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32679 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32680 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32681 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32682 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32683 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32685 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32686 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32687 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32689 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32792 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32793 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32794 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32797 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32798 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32799 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32800 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32801 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32802 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32803 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32804 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32805 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32857 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32859 * conform/conformtest.pl: Fix typo in handling typed-constant from
32862 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32864 * README: Cut down references to pre-2.6 Linux kernels and
32865 Linuxthreads. Update lists of configurations in libc and ports
32866 and sort alphabetically. Say "or newer" with Linux kernel version
32869 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32871 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32874 * math/libm-test.inc (logb_test_downward): New test to expose
32875 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32878 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32881 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32883 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32884 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32886 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32888 * sysdeps/unix/i386/brk.S: Remove file.
32889 * sysdeps/unix/i386/dl-brk.S: Likewise.
32890 * sysdeps/unix/i386/pipe.S: Likewise.
32891 * sysdeps/unix/i386/sigreturn.S: Likewise.
32892 * sysdeps/unix/i386/syscall.S: Likewise.
32893 * sysdeps/unix/i386/vfork.S: Likewise.
32894 * sysdeps/unix/i386/wait.S: Likewise.
32896 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32897 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32899 * configure.in (arm*-none*): Do not allow without
32900 --enable-hacker-mode.
32901 (netbsd*): Remove case setting base_os.
32902 (386bsd*): Likewise.
32903 (freebsd*): Likewise.
32906 (sunos*): Likewise.
32907 (ultrix*): Likewise.
32908 (newsos*): Likewise.
32909 (dynix*): Likewise.
32915 (minix*): Likewise.
32916 (irix4*): Likewise.
32917 (irix6*): Likewise.
32918 (solaris[2-9]*): Likewise.
32920 * configure: Regenerated.
32922 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32926 overflow or cancellation in calculating denominator.
32927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32929 down expression to avoid unexpected rounding in newer GCCs.
32930 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32932 2012-04-26 David S. Miller <davem@davemloft.net>
32934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32935 long-double compat symbols.
32936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32950 2012-04-25 David S. Miller <davem@davemloft.net>
32952 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32953 HWCAP_* values only after the memory barriers have been defined.
32954 (atomic_full_barrier): Define.
32955 (atomic_read_barrier): Define.
32956 (atomic_write_barrier): Define.
32958 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32960 * shlib-versions: Add libgcc_s version information.
32961 * sysdeps/generic/libgcc_s.h: Remove.
32962 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32964 * sysdeps/gnu/unwind-resume.c: Likewise.
32965 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32967 2012-04-25 David S. Miller <davem@davemloft.net>
32969 * sysdeps/unix/sparc/brk.S: Delete.
32970 * sysdeps/unix/sparc/dl-brk.S: Delete.
32971 * sysdeps/unix/sparc/pipe.S: Delete.
32972 * sysdeps/unix/sparc/sysdep.S: Delete.
32973 * sysdeps/unix/sparc/sysdep.h: Delete.
32974 * sysdeps/unix/sparc/vfork.S: Delete.
32975 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32976 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32977 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32978 (ret_ERRVAL, r0, r1, MOVE): Define.
32979 (JUMPTARGET): Remove.
32980 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32981 sysdeps/unix/sparc/sysdep.h
32982 (ENTRY, END): Remove.
32983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32985 2012-04-25 Joseph Myers <joseph@codesourcery.com>
32987 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32988 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32991 * timezone/README: Update upstream location and email address for
32993 * timezone/zdump.c: Update from tzcode 2012b.
32994 * timezone/zic.c: Likewise.
32996 * configure.in (libc_cv_as_needed): Remove test.
32997 * configure: Regenerated.
32998 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32999 conditional definition.
33000 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33001 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33002 * config.make.in (have-as-needed): Remove variable.
33004 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33005 Paul Pluzhnikov <ppluzhnikov@google.com>
33007 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33010 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33012 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33013 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33014 * sysdeps/sh/strlen.S: Likewise.
33016 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33018 * sysdeps/unix/fork.S: Remove file.
33019 * sysdeps/unix/i386/fork.S: Likewise.
33020 * sysdeps/unix/sparc/fork.S: Likewise.
33022 * sysdeps/unix/system.c: Remove file.
33023 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33025 * sysdeps/unix/getegid.S: Remove file.
33026 * sysdeps/unix/geteuid.S: Likewise.
33028 2012-04-24 Roland McGrath <roland@hack.frob.com>
33030 * scripts/check-localplt.awk: New file.
33031 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33033 * scripts/data/localplt-generic.data: Add a comment.
33035 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33036 NODE when __dir_mkfile failed.
33037 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33038 Reported by Ludovic Courtès <ludo@gnu.org>.
33040 2012-04-24 Andreas Jaeger <aj@suse.de>
33042 * Makerules (common-clean): Also remove gen-as-const-headers
33045 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33047 * Makerules (native-compile): Do not change working directory for
33048 build. Use $(OUTPUT_OPTION) in command.
33049 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33051 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33054 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33055 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33056 * math/libm-test.inc (floor_test): Add more tests.
33057 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33059 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33061 * sysdeps/unix/getdents.c: Remove file.
33062 * sysdeps/unix/sysv/getdents.c: Likewise.
33063 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33065 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33066 sysdeps/unix/mman/syscalls.list.
33068 (mprotect): Likewise.
33070 (munmap): Likewise.
33071 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33072 * sysdeps/unix/mman/syscalls.list: Remove.
33073 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33075 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33076 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33077 * configure: Regenerated.
33078 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33079 $(libgcc_s_suffix).
33080 * config.make.in (libgcc_s_suffix): Remove variable.
33082 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33084 * sysdeps/unix/sysv/gethostname.c: Move to ...
33085 * sysdeps/posix/gethostname.c: ... here.
33087 * sysdeps/unix/execve.S: Remove file.
33089 * sysdeps/unix/_exit.S: Remove file.
33091 2012-04-23 Andreas Jaeger <aj@suse.de>
33094 * manual/Makefile: Remove make dist support, there's no
33095 need for a stand-alone documentation tar ball.
33096 (TEXI2DVI): Define always, it's not in Makeconfig.
33099 (edition): Removed.
33100 (glibc-doc-$(edition).tar): Removed
33104 (ETAGS): Remove, it's in Makeconfig.
33105 (move-if-change): Remove, it's in Makeconfig.
33107 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33110 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33111 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33112 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33113 (strtod_l, strtof_l, strtold_l): Remove __wur.
33114 It is not necessarily an error to ignore strtol's return value.
33115 One can reliably look at the stored endptr to decide whether
33116 the number had valid syntax.
33118 2012-04-21 Andreas Jaeger <aj@suse.de>
33121 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33123 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33125 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33126 * sysdeps/unix/sysv/Versions: Remove file.
33128 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33133 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33137 version from __vm86.
33139 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33141 * sysdeps/unix/common/lxstat.c: Remove file.
33142 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33144 * sysdeps/unix/sysv/Makefile: Remove file.
33146 * sysdeps/unix/sysv/direct.h: Remove file.
33148 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33149 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33150 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33151 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33152 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33153 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33154 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33156 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33158 * sysdeps/unix/xmknod.c: Remove file.
33159 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33161 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33163 * sysdeps/unix/sysv/i386/time.S: Remove file.
33165 * sysdeps/unix/fxstat.c: Remove file.
33166 * sysdeps/unix/xstat.c: Likewise.
33167 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33169 * sysdeps/unix/sysv/sigaction.c: Remove file.
33171 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33172 (sysdep_headers): Remove variable.
33173 [termio.h not in sysdep_headers] (generated): Likewise.
33174 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33175 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33176 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33177 * sysdeps/unix/sysv/tcflow.c: Likewise.
33178 * sysdeps/unix/sysv/tcflush.c: Likewise.
33179 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33180 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33181 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33182 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33183 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33185 * sysdeps/unix/siglist.c: Remove file.
33187 * sysdeps/unix/getppid.S: Remove file.
33189 * sysdeps/unix/mkdir.c: Remove file.
33190 * sysdeps/unix/rmdir.c: Likewise.
33192 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33194 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33196 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33197 errlist-compat value.
33199 2012-04-18 David S. Miller <davem@davemloft.net>
33201 * sysdeps/generic/memcopy.h (reg_char): Delete.
33202 * debug/strcat_chk.c: Use char, not reg_char.
33203 * debug/strcpy_chk.c: Likewise.
33204 * debug/strncat_chk.c: Likewise.
33205 * debug/strncpy_chk.c: Likewise.
33206 * string/memchr.c: Likewise.
33207 * string/memrchr.c: Likewise.
33208 * string/rawmemchr.c: Likewise.
33209 * string/strcat.c: Likewise.
33210 * string/strchr.c: Likewise.
33211 * string/strchrnul.c: Likewise.
33212 * string/strcmp.c: Likewise.
33213 * string/strcpy.c: Likewise.
33214 * string/strncat.c: Likewise.
33215 * string/strncmp.c: Likewise.
33216 * string/strncpy.c: Likewise.
33218 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33220 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33221 __builtin_memcopy is called when src and dest ranges are known to not
33224 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33226 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33227 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33228 fwd_align_merge macro call.
33229 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33230 bwd_align_merge macro call.
33231 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33233 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33235 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33236 bwd_align_merge macros.
33237 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33238 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33239 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33241 2012-04-18 David S. Miller <davem@davemloft.net>
33243 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33245 2012-04-18 Andreas Jaeger <aj@suse.de>
33248 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33249 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33250 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33252 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33253 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33254 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33256 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33257 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33258 Adjust for changed ldbl-128 files.
33260 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33261 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33262 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33264 2012-04-17 David S. Miller <davem@davemloft.net>
33266 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33268 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33270 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33271 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33272 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33273 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33274 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33275 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33277 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33280 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33281 * math/libm-test.inc: Add ilogb errno and exception tests.
33282 * math/w_ilogb.c: New file: ilogb wrapper.
33283 * math/w_ilogbf.c: New file: ilogbf wrapper.
33284 * math/w_ilogbl.c: New file: ilogbl wrapper.
33285 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33286 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33287 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33288 exception being thrown with 0.0 as argument.
33289 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33290 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33291 exception being thrown with 0.0 as argument.
33292 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33293 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33294 exception being thrown with 0.0 as argument.
33295 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33296 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33297 exception being thrown with 0.0 as argument.
33298 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33299 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33301 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33302 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33303 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33304 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33305 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33306 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33308 2012-04-17 Petr Baudis <pasky@ucw.cz>
33310 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33313 2012-04-16 Marek Polacek <polacek@redhat.com>
33315 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33317 2012-04-16 Marek Polacek <polacek@redhat.com>
33319 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33320 operands of fdivp instruction.
33322 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33324 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33325 * elf/tst-auditmod3b.c: Likewise.
33326 * elf/tst-auditmod4b.c: Likewise.
33327 * elf/tst-auditmod5b.c: Likewise.
33328 * elf/tst-auditmod6b.c: Likewise.
33329 * elf/tst-auditmod6c.c: Likewise.
33330 * elf/tst-auditmod7b.c: Likewise.
33331 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33332 * sysdeps/x86_64/preconfigure.in: Likewise.
33333 * sysdeps/x86_64/preconfigure: Regenerated.
33335 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33337 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33340 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33342 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33343 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33345 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33348 * locale/iso-639.def: Fix gl language name. Spotted by
33351 2012-04-12 Roland McGrath <roland@hack.frob.com>
33354 * libio/libio.h (__io_write_fn): Update comment.
33356 2012-04-12 Petr Baudis <pasky@ucw.cz>
33359 * stdio.texi (Hook Functions): The user provided writer function
33360 is not allowed to return -1.
33362 2012-04-11 David S. Miller <davem@davemloft.net>
33364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33366 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33368 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33369 Add a leading slash to rtkaio.
33371 2012-04-11 Jim Meyering <meyering@redhat.com>
33374 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33375 It is not necessarily an error to ignore fwrite's return
33376 value. One can reliably use ferror to test for errors after
33379 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33381 * bits/types.h (__snseconds_t): New type.
33382 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33384 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33386 (__SNSECONDS_T_TYPE): Likewise.
33387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33388 (__SNSECONDS_T_TYPE): Likewise.
33389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33390 (__SNSECONDS_T_TYPE): Likewise.
33392 2012-04-10 Andreas Jaeger <aj@suse.de>
33395 * manual/time.texi (Processor Time): Return type of times is
33396 elapsed real time since an arbitrary point in the past.
33397 (CPU Time): Move CLK_TCK from here...
33398 (Processor Time): ...to here. Correct description.
33399 * manual/conf.texi (Constants for Sysconf): Correct description of
33402 2012-04-10 David S. Miller <davem@davemloft.net>
33405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33406 where the is a gap between DT_REL(A) and DT_JMPREL.
33408 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33410 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33411 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33412 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33414 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33416 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33417 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33418 (dl_main): Handle --inhibit-cache.
33419 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33421 * elf/dl-load.c (_dl_map_object): Use it.
33422 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33424 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33427 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33428 (__ieee754_powl): Saturate large exponents rather than testing for
33429 overflow of y*log2(x).
33430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33431 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33435 * math/s_ctan.c: Include <float.h>.
33436 (__ctan): Avoid internal overflow or cancellation in calculating
33438 * math/s_ctanf.c: Likewise.
33439 * math/s_ctanl.c: Likewise.
33440 * math/s_ctanh.c: Likewise.
33441 * math/s_ctanhf.c: Likewise.
33442 * math/s_ctanhl.c: Likewise.
33443 * math/libm-test.inc (ctan_test): Add more tests.
33444 (ctanh_test): Likewise.
33445 * sysdeps/i386/fpu/libm-test-ulps: Update.
33446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33448 2012-04-09 Andreas Jaeger <aj@suse.de>
33451 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33452 is an optional BSD extension.
33455 * manual/stdio.texi (Opening Streams): Document additional fopen
33458 2012-04-09 Roland McGrath <roland@hack.frob.com>
33460 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33461 %eax without telling the compiler.
33463 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33466 * manual/install.texi: Use sourceware.org.
33468 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33471 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33472 (__ieee754_pow): Generate overflow and underflow using huge*huge
33473 and tiny*tiny rather than just returning constant infinity or zero
33474 for large exponents.
33475 * math/libm-test.inc (pow_test): Require overflow exceptions for
33476 applicable cases of large exponents.
33479 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33480 (__ieee754_pow): Use iterative multiplication algorithm only for
33481 integer exponents with absolute value below 1024. Check for odd
33482 integer exponents when using algorithm for real exponents.
33483 * math/libm-test.inc (pow_test): Add more tests.
33484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33486 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33489 * math/libm-test.inc (exp_test): Do not allow overflow exception
33492 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33495 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33496 instead of __kernel_standard_f.
33498 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33500 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33501 * sysdeps/x86_64/memset_chk.S: Likewise.
33503 2012-04-08 Andreas Jaeger <aj@suse.de>
33506 * manual/startup.texi (Environment Access): Describe return value
33507 for putenv and setenv.
33510 * manual/filesys.texi (Directory Entries): Add description for
33514 * manual/filesys.texi (Directory Entries): Clarify that it's file
33515 system not operating system in the description of DT_UNKNOWN.
33518 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33520 2012-04-08 Stephen Compall <s11@member.fsf.org>
33523 * manual/llio.texi (Opening and Closing Files): Add cross
33524 reference to explain mode argument.
33526 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33528 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33529 * sysdeps/x86_64/memset_chk.S: Likewise.
33531 2012-04-07 David S. Miller <davem@davemloft.net>
33533 * elf/elf.h (R_SPARC_WDISP10): Define.
33534 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33536 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33537 R_SPARC_SIZE64 and R_SPARC_H34.
33539 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33542 conditions and remove no longer applicable assertion.
33544 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33546 * bits/byteswap.h: Include <features.h>.
33547 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33548 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33550 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33552 * bits/byteswap.h (__bswap_16): Removed.
33553 Include <bits/byteswap-16.h> to get __bswap_16.
33554 * sysdeps/i386/bits/byteswap.h: Likewise.
33555 * sysdeps/s390/bits/byteswap.h: Likewise.
33556 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33557 * bits/byteswap-16.h: New file.
33558 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33559 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33560 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33561 * string/Makefile (headers): Add bits/byteswap-16.h.
33563 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33566 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33568 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33569 * nss/tst-nss-static.c: New.
33571 2012-04-06 Robert Millan <rmh@gnu.org>
33574 * manual/llio.texi (File Position Primitive): lseek
33575 refers to WHENCE when it really means OFFSET.
33577 2012-04-06 Andreas Jaeger <aj@suse.de>
33579 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33580 strncmp declarations.
33582 * abilist/libc.abilist: Add __poll and __ppoll.
33584 2012-04-05 David S. Miller <davem@davemloft.net>
33586 * scripts/check-local-headers.sh: Accept a host triplet in the
33587 path matched by the exclude regexp.
33589 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33591 * sysdeps/powerpc/powerpc32/dl-machine.h
33592 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33593 * sysdeps/s390/s390-32/dl-machine.h
33594 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33595 * sysdeps/sparc/sparc32/dl-machine.h
33596 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33597 * sysdeps/sparc/sparc64/dl-machine.h
33598 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33600 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33602 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33603 undefined symbol errors.
33605 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33608 2012-04-05 Michael Matz <matz@suse.de>
33611 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33613 2012-04-05 Andreas Jaeger <aj@suse.de>
33616 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33619 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33621 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33622 which ROUND is no valid rounding mode.
33624 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33628 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33630 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33632 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33633 an exception using FPU order intentionally.
33635 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33637 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33638 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33639 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33640 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33642 2012-04-05 Simon Josefsson <simon@josefsson.org>
33645 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33646 EINVAL when BUFLEN is too smal.
33648 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33651 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33652 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33654 2012-04-03 Andreas Jaeger <aj@suse.de>
33657 * manual/setjmp.texi (System V contexts): Fix sentence.
33660 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33661 New macro for this case.
33662 [!__GNUC__] (__bswap_64): New inline function for this case.
33663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33664 * bits/byteswap.h: Likewise.
33665 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33666 ull, guard with __GLIBC_HAVE_LONG_LONG.
33668 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33669 __GLIBC_HAVE_LONG_LONG.
33671 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33672 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33674 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33677 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33678 inptr and inend, rather than using last_ch.
33680 2012-04-02 David S. Miller <davem@davemloft.net>
33682 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33683 * stdio-common/printf-parse.h (read_int): Change return type to
33684 'int', return -1 on INT_MAX overflow.
33685 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33686 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33687 overflows INT_MAX. Check for overflow of in-format-string precision
33688 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33689 SIZE_MAX not INT_MAX for integer overflow test.
33690 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33691 skip the construct in the format string but do not record anything.
33692 * stdio-common/bug22.c: Adjust to test both width/prevision
33693 INT_MAX overflow as well as total length INT_MAX overflow. Check
33694 explicitly for proper errno values.
33696 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33698 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33700 * string/test-strcmp.c [! WIDE]: Likewise.
33701 * time/tst-mktime2.c: Likewise for INT_MAX.
33702 * string/test-string.h: #include <sys/param.h> for MIN.
33704 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33705 * sysdeps/i386/init-first.c (init): Likewise.
33706 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33707 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33708 * sysdeps/sh/init-first.c (init): Likewise.
33710 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33712 * po/ru.po: Update from translation team.
33713 * po/vi.po: Likewise.
33715 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33717 * resolv/nss_dns/dns-host.c: Merge copyright years.
33719 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33722 Optimize memcpy with prefetch if
33723 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33724 src, dst pointers have unequal 16 byte alignments.
33726 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33729 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33730 from a CNAME entry and return the minimum ttl for the query.
33731 (gaih_getanswer_slice): Likewise.
33733 2012-03-30 Jeff Law <law@redhat.com>
33735 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33737 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33738 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33740 * resolv/nss_dns/dns-host.c: Update copyright year.
33742 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33744 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33745 requests to save a system call. Fix check that all bytes are sent.
33747 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33748 comments for sendmmsg.
33750 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33753 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33754 with only 1 character between 0x0041 and 0x01b0.
33755 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33756 * wcsmbs/tst-mbsnrtowcs.c: New file.
33758 2012-03-29 David S. Miller <davem@davemloft.net>
33760 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33761 small copies by hand.
33763 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33766 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33767 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33770 2012-03-28 David S. Miller <davem@davemloft.net>
33772 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33773 that branches into memcpy.
33774 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33775 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33777 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33778 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33780 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33781 implementation too.
33782 * sysdeps/sparc/mempcpy.S: New file.
33784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33785 the IFUNC routine in the libc case.
33786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33788 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33789 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33790 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33791 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33792 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33793 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33794 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33795 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33797 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33798 loop to 256 bytes instead of 64 bytes and fix test signedness.
33800 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33801 * sysdeps/sparc/sparc32/Makefile: rather than here...
33802 * sysdeps/sparc/sparc64/Makefile: and here.
33804 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33806 * malloc/mallocbug.c: Avoid warnings about unused variables.
33808 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33811 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33812 in the right place. Discard and retry query if response is
33813 larger than input buffer size.
33815 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33820 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33821 x for large integer exponent.
33822 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33823 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33824 sign of result as needed afterwards.
33825 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33826 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33827 result for underflowing pow the same as for overflow.
33828 (__kernel_standard_l): Handle powl overflow and underflow here
33829 rather than calling __kernel_standard.
33830 * math/libm-test.inc (pow_test): Add more tests.
33845 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33846 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33847 (__kernel_standard_l): New function.
33848 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33850 * math/w_acosl.c (__acosl): Likewise.
33851 * math/w_asinl.c (__asinl): Likewise.
33852 * math/w_atan2l.c (__atan2l): Likewise.
33853 * math/w_atanhl.c (__atanhl): Likewise.
33854 * math/w_coshl.c (__coshl): Likewise.
33855 * math/w_exp10l.c (__exp10l): Likewise.
33856 * math/w_exp2l.c (__exp2l): Likewise.
33857 * math/w_fmodl.c (__fmodl): Likewise.
33858 * math/w_hypotl.c (__hypotl): Likewise.
33859 * math/w_j0l.c (__j0l, __y0l): Likewise.
33860 * math/w_j1l.c (__j1l, __y1l): Likewise.
33861 * math/w_jnl.c (__jnl, __ynl): Likewise.
33862 * math/w_lgammal.c (__lgammal): Likewise.
33863 * math/w_log10l.c (__log10l): Likewise.
33864 * math/w_log2l.c (__log2l): Likewise.
33865 * math/w_logl.c (__logl): Likewise.
33866 * math/w_powl.c (__powl): Likewise.
33867 * math/w_remainderl.c (__remainderl): Likewise.
33868 * math/w_scalbl.c (sysv_scalbl): Likewise.
33869 * math/w_sinhl.c (__sinhl): Likewise.
33870 * math/w_sqrtl.c (__sqrtl): Likewise.
33871 * math/w_tgammal.c (__tgammal): Likewise.
33872 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33873 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33874 * math/libm-test.inc (acos_test): Add more tests.
33875 (acosh_test): Likewise.
33876 (asin_test): Likewise.
33877 (atanh_test): Likewise.
33878 (exp_test): Likewise.
33879 (exp10_test): Likewise.
33880 (exp2_test): Likewise.
33881 (expm1_test): Likewise.
33882 (lgamma_test): Likewise.
33883 (log_test): Likewise.
33884 (log10_test): Likewise.
33885 (log1p_test): Likewise.
33886 (log2_test): Likewise.
33887 (pow_test): Do not allow some spurious overflow exceptions.
33888 (sqrt_test): Add more tests.
33889 (tgamma_test): Likewise.
33890 (y0_test): Likewise.
33891 (y1_test): Likewise.
33892 (yn_test): Likewise.
33894 2012-03-27 Anton Blanchard <anton@samba.org>
33896 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33898 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33899 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33900 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33902 2012-03-27 David S. Miller <davem@davemloft.net>
33904 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33906 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33907 have-as-vis3 check.
33909 2012-03-27 Andreas Jaeger <aj@suse.de>
33911 * sysdeps/x86_64/elf/configure.in: Moved to ...
33912 * sysdeps/x86_64/configure.in: ... here.
33913 * sysdeps/x86_64/elf/start.S: Moved to ...
33914 * sysdeps/x86_64/start.S: ... here.
33915 * sysdeps/x86_64/elf/configure: Delete.
33917 * sysdeps/x86_64/configure.in: Merge contents from
33918 sysdeps/i386/configure.in (without i686 check).
33920 * sysdeps/i386/elf/Versions: Merge into ...
33921 * sysdeps/i386/Versions: ... this.
33922 * sysdeps/i386/elf/Versions: Delete file.
33923 * sysdeps/i386/elf/start.S: Moved to ...
33924 * sysdeps/i386/start.S: ...here.
33925 * sysdeps/i386/elf/configure.in: Merge into...
33926 * sysdeps/i386/configure.in: ...here.
33927 * sysdeps/i386/elf/configure.in: Delete file.
33928 * sysdeps/i386/elf/configure: Delete file.
33930 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33931 * debug/backtracesyms.c: ... here.
33932 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33933 * debug/backtracesymsfd.c: ... here.
33934 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33935 * sysdeps/generic/ifunc-sel.h: ... here.
33937 * sysdeps/unix/i386/start.c: Delete file.
33938 * sysdeps/unix/sparc/start.c: Delete file.
33939 * sysdeps/unix/start.c: Delete file.
33941 * sysdeps/sh/elf/configure.in: Moved to ...
33942 * sysdeps/sh/configure.in: ... here.
33943 * sysdeps/sh/elf/start.S: Moved to ...
33944 * sysdeps/sh/start.S: ... here.
33945 * sysdeps/sh/elf/configure: Delete file.
33947 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33948 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33949 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33950 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33951 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33952 * sysdeps/powerpc/powerpc64/start.S: here.
33953 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33954 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33955 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33956 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33957 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33959 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33960 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33961 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33962 * sysdeps/powerpc/powerpc32/start.S: ... here.
33963 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33964 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33965 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33967 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33968 * sysdeps/powerpc/ifunc-sel.h: ... here.
33969 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33970 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33972 * sysdeps/sparc/elf/configure.in: Moved to ...
33973 * sysdeps/sparc/configure.in: ... here.
33974 * sysdeps/sparc/elf/configure: Delete file.
33975 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33976 * sysdeps/sparc/sparc32/start.S: ... here.
33977 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33978 * sysdeps/sparc/sparc64/start.S: ... here.
33979 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33980 * sysdeps/sparc/sparc32/Makefile: ... this.
33981 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33982 * sysdeps/sparc/sparc64/Makefile: ... this.
33984 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33985 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33986 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33987 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33988 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33989 * sysdeps/s390/s390-32/setjmp.S: ... here.
33990 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33991 * sysdeps/s390/s390-32/configure.in: ... here.
33992 * sysdeps/s390/s390-32/elf/configure: Delete file.
33993 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33994 * sysdeps/s390/s390-32/start.S: ... here.
33996 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33997 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33998 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33999 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34000 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34001 * sysdeps/s390/s390-64/setjmp.S: ... here.
34002 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34003 * sysdeps/s390/s390-64/configure.in: ... here
34004 * sysdeps/s390/s390-64/elf/configure: Delete file.
34005 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34006 * sysdeps/s390/s390-64/start.S: ... here.
34007 * sysdeps/s390/s390-64/elf/configure: Delete.
34009 * configure.in: Remove support for elf directories in sysdeps.
34011 * configure: Regenerated.
34012 * sysdeps/i386/configure: Regenerated.
34013 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34014 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34015 * sysdeps/s390/s390-32/configure: Regenerated.
34016 * sysdeps/s390/s390-64/configure: Regenerated.
34017 * sysdeps/sh/configure: Regenerated.
34018 * sysdeps/sparc/configure: Regenerated.
34019 * sysdeps/x86_64/configure: Regenerated.
34021 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34025 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34026 denormal result into account.
34028 2012-03-25 Roland McGrath <roland@hack.frob.com>
34030 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34031 Reported by Allan McRae <allan@archlinux.org>.
34033 2012-03-23 Jeff Law <law@redhat.com>
34035 * nss/getnssent.c (__nss_getent): Fix typo.
34037 2012-03-23 David S. Miller <davem@davemloft.net>
34039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34041 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34043 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34044 to pad to uint64_t for each field.
34045 (dl_tls_index): Replace unsigned long with uint64_t.
34047 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34048 Paul Pluzhnikov <ppluzhnikov@google.com>
34051 * grp/Makefile (otherlibs): Don't set it.
34052 * inet/Makefile (otherlibs): Likewise.
34053 * login/Makefile (otherlibs): Likewise.
34054 * nscd/Makefile (otherlibs): Likewise.
34055 * posix/Makefile (otherlibs): Likewise.
34056 * pwd/Makefile (otherlibs): Likewise.
34057 * rt/Makefile (otherlibs): Likewise.
34058 * sunrpc/Makefile (otherlibs): Likewise.
34059 * nss/Makefile (otherlibs): Likewise.
34060 Add libnss_files to routines and static-only-routines.
34061 ($(objpfx)getent): Remove rule.
34062 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34063 static-only-routines.
34065 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34068 * math/s_cexp.c: Include <float.h>.
34069 (__cexp): Handle exp result overflowing not necessarily
34070 overflowing both real and imaginary parts of result.
34071 * math/s_cexpf.c: Likewise.
34072 * math/s_cexpl.c: Likewise.
34073 * math/libm-test.inc (cexp_test): Add more tests.
34074 * sysdeps/i386/fpu/libm-test-ulps: Update.
34075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34077 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34079 * include/link.h (ELFW): New macro.
34080 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34081 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34083 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34085 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34088 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34090 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34092 (struct La_x32_retval): Likewise.
34094 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34096 * sysdeps/x86_64/preconfigure.in: New file.
34097 * sysdeps/x86_64/preconfigure: New generated file.
34099 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34102 * math/e_exp2l.c: Include <float.h>.
34103 (__ieee754_exp2l): Handle overflow and underflow cases
34104 separately. Only pass fractional part of argument to
34106 * math/libm-test.inc (exp2_test): Add more tests.
34108 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34109 negating x to take absolute value.
34110 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34115 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34116 computing low part if x was negated.
34117 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34119 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34121 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34122 la_x32_gnu_pltexit.
34123 (pltexit): Cast int_retval to ptrdiff_t.
34124 * elf/tst-auditmod3b.c: Likewise.
34125 * elf/tst-auditmod4b.c: Likewise.
34126 * elf/tst-auditmod5b.c: Likewise.
34127 * elf/tst-auditmod6b.c: Likewise.
34128 * elf/tst-auditmod6c.c: Likewise.
34129 * elf/tst-auditmod7b.c: Likewise.
34131 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34132 and x32_gnu_pltexit.
34134 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34135 __ELF_NATIVE_CLASS.
34136 (La_x32_regs): New macro.
34137 (La_x32_retval): Likewise.
34138 (la_x32_gnu_pltenter): New function prototype.
34139 (la_x32_gnu_pltexit): Likewise.
34141 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34148 * configure.in (libc_cv_cc_nofma): Check for option to disable
34149 generation of FMA instructions.
34150 * configure: Regenerate.
34151 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34152 * sysdeps/ieee754/dbl-64/Makefile: New file.
34153 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34154 Remove brandred-fma4.
34155 (CFLAGS-brandred-fma4.c): Remove.
34156 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34157 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34159 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34162 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34164 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34165 LLONG_MAX != LONG_MAX.
34166 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34167 (_fitoa_word): Likewise.
34168 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34169 LLONG_MAX != LONG_MAX.
34170 * stdio-common/_itowa.h: Include <_itoa.h>.
34171 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34172 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34173 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34174 only if not defined.
34175 (_ITOA_WORD_TYPE): Likewise.
34176 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34177 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34179 2012-03-21 David S. Miller <davem@davemloft.net>
34181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34183 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34185 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34186 of x86_64 when setting libc_cv_slibdir, libdir and
34188 * sysdeps/unix/sysv/linux/configure: Regenerated.
34190 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34192 * manual/lang.texi (Old Varargs): Remove section.
34193 (How Variadic): Update menu.
34194 (va_start): Do not mention varargs.h.
34196 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34197 Joseph Myers <joseph@codesourcery.com>
34199 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34201 * configure: Regenerated.
34203 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34205 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34206 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34209 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34212 * Makefile (files-for-dist): Remove NOTES.
34213 (NOTES): Remove rule.
34214 * README: Don't refer to NOTES.
34215 * manual/creature.texi: Don't include macros.texi.
34216 * manual/intro.texi (creature.texi): Remove comment referring to
34219 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34220 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34221 * configure: Regenerated.
34222 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34223 LIBC_TRY_CC_OPTION.
34224 (libc_cv_as_i686): Likewise.
34225 (libc_cv_cc_avx): Likewise.
34226 (libc_cv_cc_sse2avx): Likewise.
34227 (libc_cv_cc_fma4): Likewise.
34228 (libc_cv_cc_novzeroupper): Likewise.
34229 * sysdeps/i386/configure: Regenerated.
34232 * sysdeps/i386/fpu/s_cexp.S: Remove.
34233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34234 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34235 * math/libm-test.inc (cexp_test): Add more tests.
34236 * sysdeps/i386/fpu/libm-test-ulps: Update.
34237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34239 2012-03-21 Allan McRae <allan@archlinux.org>
34241 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34243 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34246 * math/w_exp2.c: Do not include <float.h>.
34247 (o_threshold, u_threshold): Remove.
34248 (__exp2): Calculate result before checking finiteness and calling
34250 * math/w_exp2f.c: Likewise.
34251 * math/w_exp2l.c: Likewise.
34252 * math/libm-test.inc (exp2_test): Require overflow exception for
34256 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34257 range of signed 64-bit integers before using fistpll. Remove
34258 checks for whether integers fit in mantissa bits.
34259 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34260 the range of signed 32-bit integers before using fistpl. Remove
34261 checks for whether integers fit in mantissa bits.
34262 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34263 (__ieee754_powl): Test for y outside the range of signed 64-bit
34264 integers before using fistpll. Reduce 64-bit values to 63-bit
34266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34267 divide-by-zero is raised for zero to large negative powers.
34268 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34269 (__ieee754_powl): Test for y outside the range of signed 64-bit
34270 integers before using fistpll. Reduce 64-bit values to 63-bit
34272 * math/libm-test.inc (pow_test): Add more tests.
34274 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34276 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34277 <stdio-common/_itoa.h>.
34278 * debug/segfault.c: Likewise.
34279 * elf/dl-cache.c: Likewise.
34280 * elf/dl-minimal.c: Likewise.
34281 * elf/dl-misc.c: Likewise.
34282 * elf/dl-sysdep.c: Likewise.
34283 * elf/dl-version.c: Likewise.
34284 * elf/rtld.c: Likewise.
34285 * hurd/hurdsock.c: Likewise.
34286 * hurd/lookup-retry.c: Likewise.
34287 * malloc/malloc.c: Likewise.
34288 * malloc/mtrace.c: Likewise.
34289 * nscd/nscd_getgr_r.c: Likewise.
34290 * nscd/nscd_getpw_r.c: Likewise.
34291 * nscd/nscd_getserv_r.c: Likewise.
34292 * posix/getopt_init.c: Likewise.
34293 * posix/wordexp.c: Likewise.
34294 * stdio-common/_itoa.c: Likewise.
34295 * stdio-common/printf_fphex.c: Likewise.
34296 * stdio-common/vfprintf.c: Likewise.
34297 * string/_strerror.c: Likewise.
34298 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34299 * sysdeps/i386/i686/hp-timing.h: Likewise.
34300 * sysdeps/mach/_strerror.c: Likewise.
34301 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34302 * sysdeps/mach/hurd/sethostid.c: Likewise.
34303 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34304 * sysdeps/mach/xpg-strerror.c: Likewise.
34305 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34306 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34307 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34308 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34309 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34310 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34311 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34312 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34313 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34314 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34315 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34316 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34317 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34318 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34319 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34320 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34321 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34322 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34323 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34324 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34325 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34327 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34329 * stdio-common/_itoa.h: Moved to ...
34330 * sysdeps/generic/_itoa.h: Here.
34332 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34334 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34335 instead of "_itoa.h" and "_itowa.h".
34336 * stdio-common/vfprintf.: Likewise.
34338 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34340 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34342 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34343 (__signbit): Likwise.
34344 (llrintf): Likwise.
34347 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34349 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34352 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34354 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34355 OVERFLOW_EXCEPTION_OK.
34356 * math/libm-test.inc ("Philosophy"): Update comment about
34358 (OVERFLOW_EXCEPTION): Define.
34359 (OVERFLOW_EXCEPTION_OK): Likewise.
34360 (INVALID_EXCEPTION_OK): Renumber.
34361 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34362 (IGNORE_ZERO_INF_SIGN): Likewise.
34363 (test_exceptions): Handle FE_OVERFLOW.
34364 (exp10_test): Expect overflow exceptions.
34365 (exp2_test): Likewise.
34366 (expm1_test): Likewise.
34367 (nextafter_test): Likewise.
34368 (pow_test): Likewise.
34369 (scalbn_test): Likewise.
34370 (scalbln_test): Likewise.
34372 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34374 * sysdeps/x86_64/bits/atomic.h
34375 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34377 (atomic_exchange_acq): Likewise.
34378 (__arch_exchange_and_add_body): Likewise.
34379 (__arch_add_body): Likewise.
34380 (atomic_add_negative): Likewise.
34381 (atomic_add_zero): Likewise.
34383 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34385 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34386 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34388 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34390 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34391 Check __x86_64__ instead of __WORDSIZE.
34393 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34395 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34397 2012-03-19 David S. Miller <davem@davemloft.net>
34399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34401 * sysdeps/sparc/fpu/fenv_private.h: New file.
34402 * sysdeps/sparc/fpu/math_private.h: Use it.
34403 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34405 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34406 (libc_feholdexcept_setroundl): Remove.
34407 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34409 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34410 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34412 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34414 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34415 int64_t instead of long int.
34416 (INSERT_WORDS64): Likwise.
34418 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34420 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34421 _Unwind_GetCFA return to _Unwind_Ptr first.
34423 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34426 * math/s_clog.c: Include <float.h>.
34427 (__clog): Scale large or subnormal inputs.
34428 * math/s_clogf.c: Likewise.
34429 * math/s_clogl.c: Likewise.
34430 * math/s_clog10.c: Include <float.h>.
34431 (M_LOG10_2): Define.
34432 (__clog10): Scale large or subnormal inputs.
34433 * math/s_clog10f.c: Likewise.
34434 * math/s_clog10l.c: Likewise.
34435 * math/libm-test.inc (clog_test): Add more tests.
34436 (clog10_test): Likewise.
34437 * sysdeps/i386/fpu/libm-test-ulps: Update.
34438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34441 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34443 * math/libm-test.inc (atan2_test): Add another test.
34445 * Makerules (common-objdir-compile): Remove.
34446 * sysdeps/unix/Makefile (config-generated): Do not add
34447 $(unix-generated) to variable.
34448 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34449 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34451 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34453 [generic bits/local_lim.h] (before-compile): Do not append to
34455 [generic bits/local_lim.h] (common-generated): Likewise.
34456 [generic sys/param.h] (before-compile): Do not append to variable.
34457 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34458 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34459 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34460 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34462 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34463 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34464 [generic sys/param.h] ($(addprefix
34465 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34466 [generic sys/param.h] (common-generated): Do not append to
34468 [generic sys/param.h] (sysdep_headers): Likewise.
34469 [generic bits/errno.h] (before-compile): Do not append to
34471 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34473 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34474 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34475 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34476 [generic bits/errno.h] (common-generated): Do not append to
34478 [generic bits/ioctls.h] (before-compile): Do not append to
34480 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34482 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34483 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34484 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34486 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34487 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34488 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34489 [generic bits/ioctls.h] (common-generated): Do not append to
34491 [generic sys/syscall.h] (syscall.h): Remove variable.
34492 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34494 [generic sys/syscall.h] (before-compile): Do not append to
34496 [generic sys/syscall.h] (common-generated): Likewise.
34497 * sysdeps/unix/errnos-tmpl.c: Remove file.
34498 * sysdeps/unix/errnos.awk: Likewise.
34499 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34500 * sysdeps/unix/ioctls.awk: Likewise.
34501 * sysdeps/unix/mk-local_lim.c: Likewise.
34502 * sysdeps/unix/snarf-ioctls: Likewise.
34504 2012-03-19 Richard Henderson <rth@twiddle.net>
34506 * sysdeps/i386/fpu/fenv_private.h: New file.
34507 * sysdeps/i386/fpu/math_private.h: Use it.
34508 (math_opt_barrier, math_force_eval): Remove.
34509 (libc_feholdexcept_setround_53bit): Remove.
34510 (libc_feupdateenv_53bit): Remove.
34511 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34512 (math_opt_barrier, math_force_eval): Remove.
34513 (libc_feholdexcept): Remove.
34514 (libc_feholdexcept_setround): Remove.
34515 (libc_fetestexcept, libc_fesetenv): Remove.
34516 (libc_feupdateenv_test): Remove.
34517 (libc_feupdateenv, libc_feholdsetround): Remove.
34518 (libc_feresetround): Remove.
34520 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34521 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34523 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34524 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34525 (libc_feupdateenv_testl): New.
34526 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34527 (libc_feupdateenv_testf): New.
34528 (libc_feupdateenv): Use libc_feupdateenv_test.
34529 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34530 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34532 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34533 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34534 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34535 (libc_feresetround_noex): New.
34536 (libc_feresetround_noexf): New.
34537 (libc_feresetround_noexl): New.
34538 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34539 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34540 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34541 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34544 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34546 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34547 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34548 SET_RESTORE_ROUND_NOEX.
34549 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34550 SET_RESTORE_ROUND_NOEXF.
34551 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34552 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34553 (libc_feholdsetroundf): New.
34554 (libc_feresetround, libc_feresetroundf): New.
34556 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34557 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34558 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34560 * sysdeps/generic/math_private.h: Include <fenv.h>.
34561 (default_libc_feholdexcept): New.
34562 (default_libc_feholdexcept_setround): New.
34563 (default_libc_fesetenv, default_libc_feupdateenv): New.
34564 (libc_feholdexcept): Only define if undefined.
34565 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34566 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34567 (libc_feholdexcept_setroundl): Likewise.
34568 (libc_feholdexcept_setround_53bit): Likewise.
34569 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34570 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34571 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34572 (libc_feupdateenv_53bit): Likewise.
34573 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34574 (libc_feholdexcept): Convert from macro to inline function.
34575 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34576 (libc_fesetenv, libc_feupdateenv): Likewise.
34578 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34579 not previously defined.
34580 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34581 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34582 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34583 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34584 * sysdeps/ieee754/flt-32/math_private.h: New file.
34585 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34586 math_private.h below SET_FLOAT_WORD.
34587 (__isnan, __isinf_ns, __finite): Remove.
34588 (__isnanf, __isinf_nsf, __finitef): Remove.
34590 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34594 2012-03-17 David S. Miller <davem@davemloft.net>
34597 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34600 2012-03-16 David S. Miller <davem@davemloft.net>
34602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34606 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34608 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34609 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34610 sysdep_routines when subdir is sysvipc.
34611 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34612 __getshmlba helper.
34614 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34616 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34618 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34621 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34624 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34625 (__lround): Renamed to ...
34626 (__llround): This. Replace long int with long long int.
34627 Define lround functions as aliases of llround functions.
34628 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34630 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34632 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34633 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34634 adresses to uintptr_t. Replace "long int" and "unsigned long
34635 int" with "greg_t" on va_arg.
34637 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34639 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34640 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34642 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34643 Move e_machine check before EI_CLASS check. Handle x32
34644 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34645 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34646 SKIP_EM_IA_64 and include
34647 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34649 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34650 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34651 (add_system_dir): New macro.
34653 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34654 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34656 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34667 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34669 * math/w_j0f.c (j0f): Likewise.
34671 * math/w_j0l.c (__j0l): Likewise.
34673 * math/w_j1.c (j1): Likewise.
34675 * math/w_j1f.c (j1f): Likewise.
34677 * math/w_j1l.c (__j1l): Likewise.
34679 * math/w_jn.c (jn): Likewise.
34681 * math/w_jnf.c (jnf): Likewise.
34683 * math/w_jnl.c (__jnl): Likewise.
34685 * math/libm-test.inc (j0_test): Add more tests.
34686 (j1_test): Likewise.
34687 (jn_test): Likewise. Add trailing semicolon to existing test.
34688 (y0_test): Likewise.
34689 (y1_test): Likewise.
34690 * sysdeps/i386/fpu/libm-test-ulps: Update.
34691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34696 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34697 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34698 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34699 (__tanl): Set errno for infinite argument.
34700 * sysdeps/i386/fpu/mptan.c: Remove.
34701 * sysdeps/i386/fpu/s_tan.S: Likewise.
34702 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34703 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34704 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34705 * math/libm-test.inc (tan_test): Add more tests and enable more
34706 tests for double and long double.
34707 * sysdeps/i386/fpu/libm-test-ulps: Update.
34708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34710 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34712 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34713 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34715 2012-03-16 Roland McGrath <roland@hack.frob.com>
34717 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34718 * configure.in: Use it for both main tree and add-ons.
34719 * configure: Regenerated.
34721 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34723 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34725 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34727 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34731 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34732 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34734 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34737 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34739 != 0 for prec == 2.
34740 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34741 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34742 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34743 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34744 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34745 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34746 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34747 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34748 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34749 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34750 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34751 * math/libm-test.inc (cos_test): Add more tests and enable more
34752 tests for long double.
34753 (sin_test): Likewise.
34754 (sincos_test): Likewise.
34755 * sysdeps/i386/fpu/libm-test-ulps: Update.
34756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34758 2012-03-16 David S. Miller <davem@davemloft.net>
34760 * sysdeps/sparc/fpu/math_private.h: New file.
34762 2012-03-15 David S. Miller <davem@davemloft.net>
34764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34778 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34779 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34781 * sysdeps/sparc/sparc-ifunc.h: New file.
34782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34811 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34820 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34821 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34825 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34827 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34829 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34833 2012-03-15 Andreas Jaeger <aj@suse.de>
34836 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34837 ieee754/flt-32 implementation for sin, cos and sincos.
34838 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34839 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34840 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34841 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34842 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34843 ieee754/flt-32 implementation for tan.
34845 * math/libm-test.inc (cos_test): Enable some large input tests for
34847 (sin_test): Likewise.
34848 (sincos_test): Likewise.
34849 (tan_test): Add tests for large input.
34851 * sysdeps/i386/fpu/libm-test-ulps: Update.
34853 2012-03-15 Andreas Jaeger <aj@suse.de>
34856 * math/libm-test.inc (cos_test): Add more test cases.
34857 (sin_test): Likewise.
34858 (sincos_test): Likewise.
34860 2012-03-15 Andreas Jaeger <aj@suse.de>
34863 * math/libm-test.inc (cos_test): Add a test case for large input
34865 (sin_test): Likewise.
34866 (sincos_test): Likewise.
34868 2012-03-15 Andreas Jaeger <aj@suse.de>
34869 Joseph Myers <joseph@codesourcery.com>
34872 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34873 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34874 * sysdeps/i386/fpu/branred.c: Likewise.
34875 * sysdeps/i386/fpu/dosincos.c: Likewise.
34876 * sysdeps/i386/fpu/mpa.c: Likewise.
34877 * sysdeps/i386/fpu/s_cos.S: Likewise.
34878 * sysdeps/i386/fpu/s_sin.S: Likewise.
34879 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34880 * sysdeps/i386/fpu/sincos32.c: Likewise.
34882 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34884 (libc_feupdateenv_53bit): Define.
34885 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34887 (libc_feupdateenv_53bit): Define.
34889 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34890 53 bit (without extend i386 double precision).
34892 * math/libm-test.inc (sincos_test): Add tests for large input.
34896 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34898 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34902 2012-03-15 David S. Miller <davem@davemloft.net>
34904 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34905 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34906 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34907 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34932 fmin/fmax sysdep routines.
34933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34935 2012-03-14 David S. Miller <davem@davemloft.net>
34937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34963 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34965 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35009 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35014 * sysdeps/sparc/configure.in: New file.
35015 * sysdeps/sparc/configure: Generate.
35016 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35017 * configure: Regenerate.
35018 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35019 * config.make.in (have-as-vis3): New.
35020 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35021 available use -Av9d instead of -Av9a.
35022 * sysdeps/sparc/sparc64/Makefile: Likewise.
35023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35032 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35038 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35039 fzeros/fnegs to load 0x80000000 into a float register instead of
35041 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35043 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35047 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35048 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35049 ($(inst_includedir)/bits/syscall.h): Remove rule.
35050 ($(objpfx)bits/syscall.d): Include instead of
35051 $(objpfx)syscall-list.d.
35052 (generated): Change syscall-list.h and syscall-list.d to
35053 bits/syscall.h and bits/syscall.d.
35055 2012-03-14 Roland McGrath <roland@hack.frob.com>
35058 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35060 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35063 * math/s_csqrt.c: Include <float.h>.
35064 (__csqrt): Scale large or subnormal inputs.
35065 * math/s_csqrtf.c: Likewise.
35066 * math/s_csqrtl.c: Likewise.
35067 * math/libm-test.inc (csqrt_test): Add more tests.
35068 * sysdeps/i386/fpu/libm-test-ulps: Update.
35069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35072 * math/libm-test.inc (hypot_test): Add more tests.
35074 2012-03-13 David S. Miller <davem@davemloft.net>
35077 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35078 double-precision for the calculation instead of scaling.
35080 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35082 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35083 manipulate bits before adding and subtracting TWO52[sx].
35084 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35085 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35087 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35089 2012-03-13 David S. Miller <davem@davemloft.net>
35091 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35092 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35094 rtld-global-offsets.h
35095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35097 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35100 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35102 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35103 'err' in the ifdef scope in which it is actually used.
35105 * nss/nss_db/db-init.c: Include string.h
35107 2012-03-12 David S. Miller <davem@davemloft.net>
35109 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35110 masking out of the most significant byte of random value used.
35111 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35112 Fix coding style in previous change.
35114 * sysdeps/unix/sysv/linux/kernel-features.h
35115 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35116 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35118 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35121 2012-03-11 David S. Miller <davem@davemloft.net>
35123 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35124 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35125 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35126 for 'resultvar' otherwise things get truncated on 64-bit.
35128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35129 Fix masking out of the most significant byte of random value used.
35131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35133 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35137 2012-03-09 David S. Miller <davem@davemloft.net>
35139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35140 variables with appropriate CPP guards.
35141 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35142 from the frame pointer, not the stack pointer. Correct layout
35143 comments. Fix test on resulting framesize and the management of
35144 the outregs buffer for pltexit. Preserve floating point return
35145 values across _dl_call_pltexit call.
35146 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35147 framesize and the management of the outregs buffer for pltexit.
35148 Preserve floating point return values across _dl_call_pltexit
35150 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35151 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35152 (la_sparc64_gnu_pltexit): New functions.
35153 (print_exit): Fix format string for return register value.
35155 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35157 * sunrpc/Makefile (others): Add rpcgen.
35158 ($(objpfx)rpcgen): Remove special build rule and dependency on
35160 * sunrpc/rpcgen.c: New file.
35162 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35165 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35166 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35167 * sysdeps/i386/crti.S: Likewise.
35168 * sysdeps/i386/crtn.S: Likewise.
35169 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35170 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35171 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35172 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35173 * sysdeps/sh/crti.S: Likewise.
35174 * sysdeps/sh/crtn.S: Likewise.
35175 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35178 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35180 * locale/programs/locfile-kw.gperf: Likewise.
35181 * locale/programs/charmap-kw.h: Regenerated.
35182 * locale/programs/locfile-kw.h: Likewise.
35185 * intl/plural.y: Replace FSF snail mail address with URL.
35186 * intl/plural.c: Regenerated.
35188 2012-03-09 Richard Henderson <rth@twiddle.net>
35190 * include/math_private.h: Remove file.
35191 * math/math_private.h: Move file ...
35192 * sysdeps/generic/math_private.h: ... here.
35194 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35195 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35196 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35198 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35199 and <math_private.h>.
35200 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35201 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35202 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35203 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35204 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35205 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35206 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35208 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35209 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35211 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35212 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35213 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35214 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35215 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35216 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35217 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35218 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35219 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35220 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35221 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35222 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35224 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35226 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35227 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35229 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35230 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35231 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35232 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35233 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35234 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35235 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35236 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35237 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35238 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35240 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35241 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35242 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35243 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35244 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35245 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35246 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35247 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35248 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35249 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35250 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35251 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35252 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35253 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35254 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35255 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35257 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35258 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35259 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35260 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35261 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35263 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35264 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35265 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35266 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35267 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35268 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35269 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35270 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35271 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35272 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35274 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35275 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35279 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35280 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35281 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35282 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35283 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35284 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35287 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35288 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35289 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35290 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35291 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35292 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35293 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35294 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35295 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35296 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35297 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35298 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35299 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35300 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35301 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35302 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35303 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35304 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35305 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35306 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35307 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35308 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35310 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35311 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35312 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35313 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35314 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35315 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35316 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35317 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35318 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35319 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35320 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35321 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35322 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35323 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35324 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35325 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35326 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35327 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35328 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35329 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35330 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35331 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35332 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35333 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35334 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35335 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35336 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35337 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35338 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35339 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35340 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35341 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35342 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35343 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35344 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35345 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35346 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35347 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35348 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35349 * sysdeps/ieee754/k_standard.c: Likewise.
35350 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35351 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35352 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35353 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35354 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35355 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35356 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35357 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35358 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35360 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35361 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35362 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35363 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35364 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35365 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35368 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35369 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35370 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35371 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35372 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35373 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35374 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35375 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35376 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35377 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35378 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35379 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35380 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35381 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35382 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35383 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35384 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35385 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35386 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35387 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35388 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35389 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35390 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35391 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35392 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35393 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35394 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35395 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35396 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35398 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35399 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35401 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35402 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35403 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35404 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35405 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35406 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35407 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35408 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35409 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35410 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35411 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35412 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35413 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35416 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35417 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35418 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35419 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35420 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35422 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35423 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35424 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35427 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35428 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35429 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35430 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35432 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35433 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35434 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35437 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35438 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35446 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35448 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35451 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35453 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35454 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35465 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35469 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35470 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35472 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35476 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35477 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35479 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35481 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35482 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35484 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35485 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35486 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35494 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35498 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35499 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35500 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35501 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35505 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35508 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35510 * sysdeps/ieee754/s_lib_version.c: Likewise.
35511 * sysdeps/ieee754/s_matherr.c: Likewise.
35512 * sysdeps/ieee754/s_signgam.c: Likewise.
35513 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35514 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35515 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35516 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35517 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35518 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35519 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35520 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35521 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35522 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35523 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35524 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35525 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35526 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35527 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35528 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35529 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35530 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35531 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35532 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35535 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35537 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35538 * sunrpc/rpc_main.c: Likewise.
35539 * sunrpc/rpc_svcout.c: Likewise.
35541 2012-03-09 David S. Miller <davem@davemloft.net>
35543 * include/math_private.h: New file.
35545 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35547 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35548 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35549 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35550 from <bits/socket_type.h>.
35551 (enum __socket_type): Don't define here.
35552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35554 bits/socket_type.h.
35557 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35558 checking __USE_GNU.
35560 * Makerules ($(inst_includedir)/%.h): New rule.
35561 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35562 (install-others): Remove variable setting.
35563 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35565 2012-03-08 Richard Henderson <rth@twiddle.net>
35567 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35568 from macro to inline function; merge with the
35569 !__LIBC_INTERNAL_MATH_INLINES version.
35570 (__ieee754_sqrtf): Likewise.
35572 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35573 to inline function.
35574 (__rintf, __floor, __floorf): Likewise.
35576 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35577 macro to inline function.
35578 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35580 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35581 not <math/math_private.h>.
35583 2012-03-08 David S. Miller <davem@davemloft.net>
35585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35587 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35589 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35591 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35593 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35594 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35596 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35598 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35599 be defined individually, they must be defined as a block. Define
35600 S for printing a string instead of hidint the different by using a
35601 macro for adding the 'l'.
35602 * stdio-common/tst-fphex-wide.c: Adjust.
35604 2012-03-07 Marek Polacek <polacek@redhat.com>
35606 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35608 2012-03-08 Marek Polacek <polacek@redhat.com>
35611 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35612 * stdio-common/tst-fphex.c: Define a few macros to make the
35613 test reusable. Use them.
35614 * stdio-common/tst-fphex-wide.c: New file.
35616 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35619 * manual/macros.texi (gnusystems): New macro.
35620 (nongnusystems): Likewise.
35621 (gnulinuxhurdsystems): Likewise.
35622 (gnuhurdsystems): Likewise..
35623 (gnulinuxsystems): Likewise.
35624 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35625 variants of the GNU system, not "GNU system".
35626 * manual/conf.texi: Likewise.
35627 * manual/errno.texi: Likewise. Update example of errno macro
35629 * manual/filesys.texi: Likewise.
35630 (getumask): Document as specific to GNU/Hurd.
35631 * manual/install.texi: Likewise. Reword some references to
35633 * manual/intro.texi: Likewise.
35634 * manual/io.texi: Likewise.
35635 (File Name Portability): Detail which constraints are inapplicable
35636 to all GNU systems and which are only inapplicable to GNU/Hurd.
35637 * manual/job.texi: Likewise.
35638 * manual/llio.texi: Likewise.
35639 (O_NOCTTY): Document as present on GNU/Linux.
35640 * manual/maint.texi: Likewise.
35641 * manual/memory.texi: Likewise.
35642 * manual/pattern.texi: Likewise.
35643 * manual/pipe.texi: Likewise.
35644 * manual/process.texi: Likewise.
35645 * manual/resource.texi: Likewise.
35646 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35648 * manual/setjmp.texi: Likewise.
35649 * manual/signal.texi: Likewise.
35650 * manual/startup.texi: Likewise.
35651 * manual/stdio.texi: Likewise.
35652 * manual/terminal.texi: Likewise.
35653 (ONLCR): Document as POSIX.
35654 (OXTABS): Document availability on GNU/Linux as XTABS.
35655 (ONOEOT): Document availability separately from other bits.
35656 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35657 * manual/time.texi: Likewise.
35658 * manual/users.texi: Likewise.
35659 * INSTALL: Regenerated.
35660 * sysdeps/gnu/errlist.c: Regenerated.
35662 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35663 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35664 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35666 * configure: Regenerated.
35668 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35670 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35671 default includes instead of AC_HEADER_CHECK.
35672 * sysdeps/i386/configure: Regenerated.
35675 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35676 * math/s_cacoshf.c (__cacoshf): Likewise.
35677 * math/s_cacoshl.c (__cacoshl): Likewise.
35678 * math/s_casinh.c (__casinh): Set signs of result from argument.
35679 * math/s_casinhf.c (__casinhf): Likewise.
35680 * math/s_casinhl.c (__casinhl): Likewise.
35681 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35682 (casinh_test): Add more tests.
35683 * sysdeps/i386/fpu/libm-test-ulps: Update.
35684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35686 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35688 * po/zh_TW.po: Update from translation team.
35690 * login/Makefile (distribute): Remove variable.
35691 * catgets/Makefile: Likewise.
35692 * mach/Makefile: Likewise.
35693 * malloc/Makefile: Likewise.
35694 * misc/Makefile: Likewise.
35695 * iconv/Makefile: Likewise.
35696 * nscd/Makefile: Likewise.
35697 * hurd/Makefile: Likewise.
35698 * manual/Makefile: Likewise.
35699 * locale/Makefile: Likewise.
35700 * intl/Makefile: Likewise.
35701 * conform/Makefile: Likewise.
35702 * nss/Makefile: Likewise.
35703 * time/Makefile: Likewise.
35704 * soft-fp/Makefile: Likewise.
35705 * dirent/Makefile: Likewise.
35706 * gmon/Makefile: Likewise.
35707 * po/Makefile: Likewise.
35708 * rt/Makefile: Likewise.
35709 * socket/Makefile: Likewise.
35710 * math/Makefile: Likewise.
35711 * signal/Makefile: Likewise.
35712 * debug/Makefile: Likewise.
35713 * elf/Makefile: Likewise.
35714 * timezone/Makefile: Likewise.
35715 * stdlib/Makefile: Likewise.
35716 * iconvdata/Makefile: Likewise.
35717 * sunrpc/Makefile: Likewise.
35718 * io/Makefile: Likewise.
35719 * argp/Makefile: Likewise.
35720 * inet/Makefile: Likewise.
35721 * hesiod/Makefile: Likewise.
35722 * grp/Makefile: Likewise.
35723 * csu/Makefile: Likewise.
35724 * wctype/Makefile: Likewise.
35725 * crypt/Makefile: Likewise.
35726 * libio/Makefile: Likewise.
35727 * string/Makefile: Likewise.
35728 * nis/Makefile: Likewise.
35729 * resolv/Makefile: Likewise.
35730 * stdio-common/Makefile: Likewise.
35731 * wcsmbs/Makefile: Likewise.
35732 * dlfcn/Makefile: Likewise.
35733 * posix/Makefile: Likewise.
35736 * timezone/Makefile: Don't install timezone files, just the programs
35739 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35741 * nss/databases.def: Add missing gshadow entry.
35743 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35745 2012-03-06 Marek Polacek <polacek@redhat.com>
35748 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35749 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35750 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35751 * stdio-common/tst-long-dbl-fphex.c: New file.
35753 2012-03-06 David S. Miller <davem@davemloft.net>
35755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35756 (set_obp_int): New function.
35757 (get_obp_int): New function.
35758 (__get_clockfreq_via_dev_openprom): Likewise.
35759 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35760 Avoid unused variable warnings on 'val' and use builtin_expect.
35761 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35763 (INLINE_CLONE_SYSCALL): Likewise.
35765 2012-03-05 David S. Miller <davem@davemloft.net>
35767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35769 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35774 only for |x| >= 40.
35775 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35777 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35780 Replace gettimeofday with __vdso_gettimeofday.
35782 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35783 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35784 __vdso_clock_gettime and __vdso_getcpu.
35786 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35787 time with __vdso_time.
35789 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35791 * manual/lang.texi (size_t): Note types to which size_t may be
35792 equivalent with the GNU C Library, but do not describe when
35793 differences between them are significant.
35795 2012-03-05 Andreas Jaeger <aj@suse.de>
35797 * sysdeps/i386/fpu/libm-test-ulps: Update.
35799 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35802 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35803 (__ieee754_pow): Save and restore rounding mode and use
35804 round-to-nearest for main computations.
35805 * math/libm-test.inc (pow_test_tonearest): New function.
35806 (pow_test_towardzero): Likewise.
35807 (pow_test_downward): Likewise.
35808 (pow_test_upward): Likewise.
35809 (main): Call the new functions.
35810 * sysdeps/i386/fpu/libm-test-ulps: Update.
35811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35814 * math/libm-test.inc (cosh_test_tonearest): New function.
35815 (cosh_test_towardzero): Likewise.
35816 (cosh_test_downward): Likewise.
35817 (cosh_test_upward): Likewise.
35818 (sinh_test_tonearest): Likewise.
35819 (sinh_test_towardzero): Likewise.
35820 (sinh_test_downward): Likewise.
35821 (sinh_test_upward): Likewise.
35822 (main): Call the new functions.
35823 * sysdeps/i386/fpu/libm-test-ulps: Update.
35824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35826 2012-03-05 Tom de Vries <tom@codesourcery.com>
35828 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35829 default stack guard is set in last bytes.
35830 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35832 2012-03-05 Kees Cook <keescook@chromium.org>
35834 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35837 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35838 possibly allocate from heap instead of stack.
35839 * stdio-common/bug-vfprintf-nargs.c: New file.
35840 * stdio-common/Makefile (tests): Add nargs overflow test.
35842 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35846 2012-03-03 Marek Polacek <polacek@redhat.com>
35848 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35849 * math/math_private.h: Likewise.
35850 * stdlib/tst-strtod.c: Likewise.
35851 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35852 * sysdeps/x86_64/bits/atomic.h: Likewise.
35854 2012-03-02 David S. Miller <davem@davemloft.net>
35856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35860 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35861 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35862 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35863 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35865 2012-03-02 Roland McGrath <roland@hack.frob.com>
35868 * manual/examples/README: New file, says the example source files
35869 can be used under GPL>=2.
35870 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35871 line containing just "*/".
35872 * manual/examples/add.c: Add copyright header (GPL>=2).
35873 * manual/examples/argp-ex1.c: Likewise.
35874 * manual/examples/argp-ex2.c: Likewise.
35875 * manual/examples/argp-ex3.c: Likewise.
35876 * manual/examples/argp-ex4.c: Likewise.
35877 * manual/examples/atexit.c: Likewise.
35878 * manual/examples/db.c: Likewise.
35879 * manual/examples/dir.c: Likewise.
35880 * manual/examples/dir2.c: Likewise.
35881 * manual/examples/execinfo.c: Likewise.
35882 * manual/examples/filecli.c: Likewise.
35883 * manual/examples/filesrv.c: Likewise.
35884 * manual/examples/fmtmsgexpl.c: Likewise.
35885 * manual/examples/genpass.c: Likewise.
35886 * manual/examples/inetcli.c: Likewise.
35887 * manual/examples/inetsrv.c: Likewise.
35888 * manual/examples/isockad.c: Likewise.
35889 * manual/examples/longopt.c: Likewise.
35890 * manual/examples/memopen.c: Likewise.
35891 * manual/examples/memstrm.c: Likewise.
35892 * manual/examples/mkfsock.c: Likewise.
35893 * manual/examples/mkisock.c: Likewise.
35894 * manual/examples/mygetpass.c: Likewise.
35895 * manual/examples/pipe.c: Likewise.
35896 * manual/examples/popen.c: Likewise.
35897 * manual/examples/rprintf.c: Likewise.
35898 * manual/examples/search.c: Likewise.
35899 * manual/examples/select.c: Likewise.
35900 * manual/examples/setjmp.c: Likewise.
35901 * manual/examples/sigh1.c: Likewise.
35902 * manual/examples/sigusr.c: Likewise.
35903 * manual/examples/stpcpy.c: Likewise.
35904 * manual/examples/strdupa.c: Likewise.
35905 * manual/examples/strftim.c: Likewise.
35906 * manual/examples/strncat.c: Likewise.
35907 * manual/examples/subopt.c: Likewise.
35908 * manual/examples/swapcontext.c: Likewise.
35909 * manual/examples/termios.c: Likewise.
35910 * manual/examples/testopt.c: Likewise.
35911 * manual/examples/testpass.c: Likewise.
35912 * manual/examples/timeval_subtract.c: Likewise.
35915 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35917 * manual/timeval_subtract.c.texi: ... here, new file.
35919 2012-03-02 David S. Miller <davem@davemloft.net>
35921 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35923 2012-03-02 Joseph Myers <joseph@codesourcery.com>
35926 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35927 (__sin): Save and restore rounding mode and use round-to-nearest
35928 for all computations.
35929 (__cos): Save and restore rounding mode and use round-to-nearest
35930 for all computations.
35931 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35933 (tan): Save and restore rounding mode and use round-to-nearest for
35935 * math/libm-test.inc (cos_test_tonearest): New function.
35936 (cos_test_towardzero): Likewise.
35937 (cos_test_downward): Likewise.
35938 (cos_test_upward): Likewise.
35939 (sin_test_tonearest): Likewise.
35940 (sin_test_towardzero): Likewise.
35941 (sin_test_downward): Likewise.
35942 (sin_test_upward): Likewise.
35943 (tan_test_tonearest): Likewise.
35944 (tan_test_towardzero): Likewise.
35945 (tan_test_downward): Likewise.
35946 (tan_test_upward): Likewise.
35947 (main): Call the new functions.
35948 * sysdeps/i386/fpu/libm-test-ulps: Update.
35949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35952 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35953 small n, then large n, before computing and testing k+n.
35954 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35959 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35960 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35965 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35967 * math/libm-test.inc (scalbn_test): Add more tests.
35968 (scalbln_test): Likewise.
35970 * manual/filesys.texi (mode_t): Describe constraints on size and
35971 signedness, not exact equivalence to a particular type.
35973 (ino64_t): Likewise.
35975 (nlink_t): Likewise.
35976 (blkcnt_t): Likewise.
35977 (blkcnt64_t): Likewise.
35978 * manual/llio.texi (off_t): Likewise.
35981 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35982 (__ieee754_exp): Save and restore rounding mode and use
35983 round-to-nearest for all computations.
35984 * math/libm-test.inc (exp_test_tonearest): New function.
35985 (exp_test_towardzero): Likewise.
35986 (exp_test_downward): Likewise.
35987 (exp_test_upward): Likewise.
35988 (main): Call the new functions.
35989 * sysdeps/i386/fpu/libm-test-ulps: Update.
35990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35992 2012-03-01 Chris Demetriou <cgd@google.com>
35994 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35995 have predictable order.
35997 2012-03-01 David S. Miller <davem@davemloft.net>
35999 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36001 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36002 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36003 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36004 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36006 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36007 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36008 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36010 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36011 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36012 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36013 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36014 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36018 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36019 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36020 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36022 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36023 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36024 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36025 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36026 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36029 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36030 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36031 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36032 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36033 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36034 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36035 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36036 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36038 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36039 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36040 * sysdeps/sparc/elf/configure: Regenerated.
36042 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36044 * configure.in (AS, LD): Require binutils 2.20 or later.
36045 * configure: Regenerated.
36046 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36047 as required minimum version.
36048 * INSTALL: Regenerated.
36052 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36053 before squaring exponent.
36054 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36055 bottom long double and 27 bits of top long double before squaring
36057 * math/libm-test.inc (erfc_test): Add more tests.
36058 * sysdeps/i386/fpu/libm-test-ulps: Update.
36059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36062 2012-03-01 Kai Tietz <ktietz@redhat.com>
36064 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36065 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36066 containing bit-fields.
36067 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36068 * soft-fp/single.h (_FP_UNION_S): Likewise.
36069 * soft-fp/double.h (_FP_UNION_D): Likewise.
36071 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36074 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36075 not include ../strcmp.S.
36076 [USE_AS_STRNCASECMP_L]: Likewise.
36077 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36078 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36079 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36080 (__strncasecmp_l_ia32): Define as alias to
36081 __strncasecmp_l_nonascii.
36084 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36085 * sysdeps/i386/fpu/libm-test-ulps: Update.
36086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36088 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36091 2012-02-29 Jeff Law <law@redhat.com>
36093 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36094 out of bounds read.
36096 2012-02-29 Marek Polacek <polacek@redhat.com>
36099 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36100 * elf/Makefile: Add rules to run tst-unused-dep.out.
36102 2012-02-28 David S. Miller <davem@davemloft.net>
36104 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36105 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36106 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36107 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36108 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36109 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36111 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36113 * math/libm-test.inc (llround_test): Move one test from
36114 lround_test. Use TEST_f_L in moved test.
36115 (lround_test): Move misplaced test to llround_test. Add testcase
36118 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36120 * sysdeps/x86_64/fpu/e_expf.S: New file.
36121 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36123 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36126 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36127 of remain_len that may cause incomplete multi-byte character and
36129 * posix/bug-regex33.c: New file.
36130 * posix/Makefile (tests): Add bug-regex33.
36132 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36134 * manual/macros.texi: New file.
36135 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36136 * manual/libc.texinfo: Include macros.texi.
36137 * manual/creatute.texi: Likewise.
36138 * manual/install.texi: Likewise.
36139 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36140 @glibcadj{} in references to the GNU C Library.
36141 * manual/charset.texi: Likewise.
36142 * manual/conf.texi: Likewise.
36143 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36144 when not using those macros.
36145 * manual/creature.texi: Likewise.
36146 * manual/crypt.texi: Likewise.
36147 * manual/errno.texi: Likewise.
36148 * manual/filesys.texi: Likewise.
36149 * manual/header.texi: Likewise.
36150 * manual/install.texi: Likewise.
36151 * manual/intro.texi: Likewise.
36152 * manual/io.texi: Likewise.
36153 * manual/job.texi: Likewise.
36154 * manual/lang.texi: Likewise.
36155 * manual/libc.texiinfo: Likewise.
36156 * manual/llio.texi: Likewise.
36157 * manual/locale.texi: Likewise.
36158 * manual/maint.texi: Likewise.
36159 * manual/math.texi: Likewise.
36160 * manual/memory.texi: Likewise.
36161 * manual/message.texi: Likewise.
36162 * manual/nss.texi: Likewise.
36163 * manual/pattern.texi: Likewise.
36164 * manual/process.texi: Likewise.
36165 * manual/resource.texi: Likewise.
36166 * manual/search.texi: Likewise.
36167 * manual/setjmp.texi: Likewise.
36168 * manual/signal.texi: Likewise.
36169 * manual/socket.texi: Likewise.
36170 * manual/startup.texi: Likewise.
36171 * manual/stdio.texi: Likewise.
36172 * manual/string.texi: Likewise.
36173 * manual/sysinfo.texi: Likewise.
36174 * manual/syslog.texi: Likewise.
36175 * manual/terminal.texi: Likewise.
36176 * manual/time.texi: Likewise.
36177 * manual/users.texi: Likewise.
36178 * INSTALL: Regenerated.
36179 * NOTES: Regenerated.
36180 * sysdeps/gnu/errlist.c: Regenerated.
36182 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36184 * include/dirent.h: Include <dirstream.h> before
36187 2012-02-28 David S. Miller <davem@davemloft.net>
36189 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36190 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36191 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36192 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36194 2012-02-27 David S. Miller <davem@davemloft.net>
36196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36198 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36199 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36202 frame pointer instead of stack pointer relative arg slot.
36203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36204 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36205 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36207 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36210 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36212 2012-02-27 David S. Miller <davem@davemloft.net>
36214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36218 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36219 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36220 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36221 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36223 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36225 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36226 later. Allow versions 5-9.
36227 * configure: Regenerated.
36228 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36229 required minimum version and 4.6 as recommended version. Do not
36230 mention bugs in GCC 2.7 and 2.8.
36231 * INSTALL: Regenerated.
36233 2012-02-27 David S. Miller <davem@davemloft.net>
36235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36239 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36240 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36241 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36242 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36244 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36245 manipulate bits before adding and subtracting TWO112[sx].
36246 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36248 2012-02-27 Roland McGrath <roland@hack.frob.com>
36251 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36252 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36253 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36254 being in POSIX, because they are in 1003.1-2008.
36256 * rt/tst-aio.c: Include <fcntl.h>.
36257 * rt/tst-aio7.c: Likewise.
36258 * rt/tst-aio64.c: Likewise.
36260 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36262 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36264 * manual/install.texi (--with-headers): Describe headers as
36265 interface headers, not private headers.
36266 (Specific advice for GNU/Linux systems): Describe use of headers
36267 from "make headers_install", not private headers from older
36269 * INSTALL: Regenerated.
36270 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36272 * sysdeps/unix/sysv/linux/configure: Regenerated.
36274 * manual/llio.texi (fclean): Remove documentation.
36276 * manual/Makefile (libc-texi-generated): New variable. Include
36278 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36279 $(libc-texi-generated), not duplicated list of files.
36280 (version.texi, stamp-version): New rules.
36281 (realclean): Remove $(libc-texi-generated), not individual files
36282 from that list. Do not remove dir-add.texinfo.
36283 * manual/libc.texinfo: Comment out uses of edition numbers and
36284 references to printed manual. Remove last-updated dates.
36285 (EDITION): Comment out.
36287 (VERSION, UPDATED): Remove.
36288 (version.texi): Include.
36290 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36292 * sysdeps/posix/spawni.c: Include <signal.h>.
36293 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36294 * sysdeps/pthread/aio_fsync.c: Likewise.
36296 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36298 * conform/Makefile (tests): Run only when not cross-compiling and
36299 when fast-check is not defined.
36301 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36302 * conform/data/limits.h-data: Fixes for POSIX2008.
36303 * conform/run-conformtest.sh: Run all tests.
36304 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36306 * include/bits/dlfcn.h: Likewise.
36307 * include/langinfo.h: Likewise.
36308 * include/monetary.h: Likewise.
36309 * include/sys/poll.h: Likewise.
36311 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36313 * posix/spawn.h: Define __need_sigset_t.
36314 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36315 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36316 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36317 to get sigevent_t only.
36318 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36319 only for __USE_GNU.
36320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36321 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36322 process_vm_writev only for __USE_GNU.
36323 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36325 * conform/Makefile: For now ignore errors from run-conformtest.
36326 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36327 POSIX to avoid namespace pollution. Don't prepend headers.
36328 * conform/data/aio.h-data: Fixes for POSIX testing.
36329 * conform/data/fcntl.h-data: Likewise.
36330 * conform/data/glob.h-data: Likewise.
36331 * conform/data/grp.h-data: Likewise.
36332 * conform/data/pthread.h-data: Likewise.
36333 * conform/data/pwd.h-data: Likewise.
36334 * conform/data/signal.h-data: Likewise.
36335 * conform/data/spawn.h-data: Likewise.
36336 * conform/data/stdio.h-data: Likewise.
36337 * conform/data/stdlib.h-data: Likewise.
36338 * conform/data/stropts.h-data: Likewise.
36339 * conform/data/sys/mman.h-data: Likewise.
36340 * conform/data/sys/stat.h-data: Likewise.
36341 * conform/data/sys/types.h-data: Likewise.
36342 * conform/data/sys/wait.h-data: Likewise.
36343 * conform/data/time.h-data: Likewise.
36344 * conform/data/unistd.h-data: Likewise.
36345 * conform/data/utime.h-data: Likewise.
36347 * io/sys/stat.h: fchmod was always in POSIX.
36348 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36349 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36350 * rt/aio.h: Define __need_timespec before including <time.h>.
36351 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36352 struct. Add forward declaration of pthread_attr_t and use it in
36354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36356 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36357 always remove CLK_TCK definition.
36359 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36361 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36363 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36365 * conform/run-conformtest.sh: New file.
36366 * conform/Makefile: Run run-conformtest for tests.
36367 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36370 * conform/data/uchar.h-data: New file.
36371 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36372 * conform/data/arpa/inet.h-data: Likewise.
36373 * conform/data/assert.h-data: Likewise.
36374 * conform/data/complex.h-data: Likewise.
36375 * conform/data/cpio.h-data: Likewise.
36376 * conform/data/ctype.h-data: Likewise.
36377 * conform/data/dirent.h-data: Likewise.
36378 * conform/data/dlfcn.h-data: Likewise.
36379 * conform/data/errno.h-data: Likewise.
36380 * conform/data/fcntl.h-data: Likewise.
36381 * conform/data/float.h-data: Likewise.
36382 * conform/data/fmtmsg.h-data: Likewise.
36383 * conform/data/fnmatch.h-data: Likewise.
36384 * conform/data/ftw.h-data: Likewise.
36385 * conform/data/glob.h-data: Likewise.
36386 * conform/data/grp.h-data: Likewise.
36387 * conform/data/iconv.h-data: Likewise.
36388 * conform/data/inttypes.h-data: Likewise.
36389 * conform/data/langinfo.h-data: Likewise.
36390 * conform/data/libgen.h-data: Likewise.
36391 * conform/data/limits.h-data: Likewise.
36392 * conform/data/locale.h-data: Likewise.
36393 * conform/data/math.h-data: Likewise.
36394 * conform/data/monetary.h-data: Likewise.
36395 * conform/data/mqueue.h-data: Likewise.
36396 * conform/data/ndbm.h-data: Likewise.
36397 * conform/data/net/if.h-data: Likewise.
36398 * conform/data/netdb.h-data: Likewise.
36399 * conform/data/netinet/in.h-data: Likewise.
36400 * conform/data/nl_types.h-data: Likewise.
36401 * conform/data/poll.h-data: Likewise.
36402 * conform/data/pthread.h-data: Likewise.
36403 * conform/data/pwd.h-data: Likewise.
36404 * conform/data/regex.h-data: Likewise.
36405 * conform/data/sched.h-data: Likewise.
36406 * conform/data/search.h-data: Likewise.
36407 * conform/data/semaphore.h-data: Likewise.
36408 * conform/data/setjmp.h-data: Likewise.
36409 * conform/data/signal.h-data: Likewise.
36410 * conform/data/spawn.h-data: Likewise.
36411 * conform/data/stdarg.h-data: Likewise.
36412 * conform/data/stdio.h-data: Likewise.
36413 * conform/data/stdlib.h-data: Likewise.
36414 * conform/data/string.h-data: Likewise.
36415 * conform/data/strings.h-data: Likewise.
36416 * conform/data/stropts.h-data: Likewise.
36417 * conform/data/sys/ipc.h-data: Likewise.
36418 * conform/data/sys/mman.h-data: Likewise.
36419 * conform/data/sys/msg.h-data: Likewise.
36420 * conform/data/sys/resource.h-data: Likewise.
36421 * conform/data/sys/select.h-data: Likewise.
36422 * conform/data/sys/sem.h-data: Likewise.
36423 * conform/data/sys/shm.h-data: Likewise.
36424 * conform/data/sys/socket.h-data: Likewise.
36425 * conform/data/sys/stat.h-data: Likewise.
36426 * conform/data/sys/statvfs.h-data: Likewise.
36427 * conform/data/sys/time.h-data: Likewise.
36428 * conform/data/sys/timeb.h-data: Likewise.
36429 * conform/data/sys/times.h-data: Likewise.
36430 * conform/data/sys/types.h-data: Likewise.
36431 * conform/data/sys/uio.h-data: Likewise.
36432 * conform/data/sys/un.h-data: Likewise.
36433 * conform/data/sys/utsname.h-data: Likewise.
36434 * conform/data/sys/wait.h-data: Likewise.
36435 * conform/data/syslog.h-data: Likewise.
36436 * conform/data/tar.h-data: Likewise.
36437 * conform/data/termios.h-data: Likewise.
36438 * conform/data/utime.h-data: Likewise.
36439 * conform/data/utmpx.h-data: Likewise.
36440 * conform/data/varargs.h-data: Likewise.
36441 * conform/data/wchar.h-data: Likewise.
36442 * conform/data/wctype.h-data: Likewise.
36443 * conform/data/wordexp.h-data: Likewise.
36445 * include/stropts.h: New file.
36446 * include/uchar.h: New file.
36447 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36448 * include/assert.h: Likewise.
36449 * include/ctype.h: Likewise.
36450 * include/dirent.h: Likewise.
36451 * include/dlfcn.h: Likewise.
36452 * include/fcntl.h: Likewise.
36453 * include/fnmatch.h: Likewise.
36454 * include/glob.h: Likewise.
36455 * include/grp.h: Likewise.
36456 * include/libio.h: Likewise.
36457 * include/locale.h: Likewise.
36458 * include/math.h: Likewise.
36459 * include/net/if.h: Likewise.
36460 * include/netdb.h: Likewise.
36461 * include/netinet/in.h: Likewise.
36462 * include/pthread.h: Likewise.
36463 * include/pwd.h: Likewise.
36464 * include/regex.h: Likewise.
36465 * include/sched.h: Likewise.
36466 * include/search.h: Likewise.
36467 * include/setjmp.h: Likewise.
36468 * include/signal.h: Likewise.
36469 * include/stdio.h: Likewise.
36470 * include/stdlib.h: Likewise.
36471 * include/string.h: Likewise.
36472 * include/sys/cdefs.h: Likewise.
36473 * include/sys/mman.h: Likewise.
36474 * include/sys/msg.h: Likewise.
36475 * include/sys/resource.h: Likewise.
36476 * include/sys/select.h: Likewise.
36477 * include/sys/socket.h: Likewise.
36478 * include/sys/stat.h: Likewise.
36479 * include/sys/statvfs.h: Likewise.
36480 * include/sys/time.h: Likewise.
36481 * include/sys/times.h: Likewise.
36482 * include/sys/uio.h: Likewise.
36483 * include/sys/utsname.h: Likewise.
36484 * include/sys/wait.h: Likewise.
36485 * include/termios.h: Likewise.
36486 * include/time.h: Likewise.
36487 * include/ulimit.h: Likewise.
36488 * include/unistd.h: Likewise.
36489 * include/utime.h: Likewise.
36490 * include/wchar.h: Likewise.
36491 * include/wctype.h: Likewise.
36492 * include/wordexp.h: Likewise.
36494 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36496 * time/time.h: TIME_UTC must be a macro.
36497 Make timespec_get available for ISO C11 only as well.
36499 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36501 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36502 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36504 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36506 * configure.in: Use -o not -a in test for unsupported multi-arch.
36508 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36510 * manual/texinfo.tex: Update to version 2012-01-19.16.
36512 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36514 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36516 2012-02-24 Roland McGrath <roland@hack.frob.com>
36519 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36520 * manual/fdl-1.3.texi: New file.
36521 * manual/fdl-1.1.texi: File removed.
36524 * manual/libc.texinfo (FDL_VERSION): New @set.
36525 Use it for mention of FDL in cover text.
36526 (Documentation License): Use it in @include file name.
36528 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36529 Roland McGrath <roland@hack.frob.com>
36532 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36533 (not LONG_LONG_MAX and LONG_LONG_MIN.
36534 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36535 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36537 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36539 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36543 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36544 manipulate bits before adding and subtracting TWO23[sx].
36545 * math/libm-test.inc (nearbyint_test): Add more tests.
36547 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36550 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36551 bits before adding and subtracting TWO23[sx].
36552 * math/libm-test.inc (rint_test): Add more tests.
36553 (rint_test_tonearest): Likewise.
36554 (rint_test_towardzero): Likewise.
36555 (rint_test_downward): Likewise.
36556 (rint_test_upward: Likewise.
36558 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36561 * include/stdc-predef.h: New file. Extracted from features.h.
36562 * include/features.h: Include stdc-predef.h.
36563 * Makefile (headers): Add stdc-predef.h.
36564 * CONFORMANCE (Compiler limitations): Update.
36566 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36568 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36570 2012-02-21 David S. Miller <davem@davemloft.net>
36572 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36573 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36575 2012-02-20 David S. Miller <davem@davemloft.net>
36577 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36578 using a normal save/restore sequence, rather than allocating a
36579 dummy stack frame just to store a frame pointer and restore.
36580 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36582 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36584 * manual/install.texi: Fix stray word in line-wrapped comment.
36586 2012-02-20 David S. Miller <davem@davemloft.net>
36588 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36589 both binutils and gcc support GOTDATA.
36591 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36592 "rd %pc" in the PIC register setup sequences.
36594 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36595 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36596 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36597 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36598 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36600 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36601 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36603 (SYSCALL_ERROR_HANDLER): Likewise.
36604 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36605 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36607 (SYSCALL_ERROR_HANDLER): Likewise.
36609 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36610 (HAVE_GCC_GOTDATA): New.
36611 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36612 relocation support in both binutils and gcc.
36613 * sysdeps/sparc/elf/configure: Regenerate.
36615 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36616 * sysdeps/sparc/sparc32/elf/configure: Delete.
36617 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36618 * sysdeps/sparc/sparc64/elf/configure: Delete.
36619 * sysdeps/sparc/elf/configure.in: New file.
36620 * sysdeps/sparc/elf/configure: Generate.
36622 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36623 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36624 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36625 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36626 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36628 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36630 * manual/install.texi: Do not mention specific glibc version
36632 * manual/libc.texinfo (VERSION, UPDATED): Update.
36633 (@copying): Use @copyright{} and range of years.
36635 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36638 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36639 [crti.S not in sysdirs] (generated): Do not append.
36640 [crti.S not in sysdirs] (omit-deps): Likewise.
36641 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36642 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36643 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36644 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36645 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36647 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36648 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36649 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36650 * csu/defs.awk: Remove file.
36651 * sysdeps/generic/initfini.c: Likewise.
36652 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36654 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36657 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36659 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36660 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36661 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36663 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36664 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36666 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36667 (__EPOLL_PACKED): Define to empty if not defined by
36669 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36673 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36675 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36676 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36677 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36678 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36680 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36684 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36686 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36688 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36689 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36690 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36693 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36695 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36698 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36700 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36701 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36703 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36705 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36708 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36710 * math/w_acos.c: Use non-signaling floating-point comparisons.
36711 * math/w_acosf.c: Likewise.
36712 * math/w_acosh.c: Likewise.
36713 * math/w_acoshf.c: Likewise.
36714 * math/w_acoshl.c: Likewise.
36715 * math/w_acosl.c: Likewise.
36716 * math/w_asin.c: Likewise.
36717 * math/w_asinf.c: Likewise.
36718 * math/w_asinl.c: Likewise.
36719 * math/w_atanh.c: Likewise.
36720 * math/w_atanhf.c: Likewise.
36721 * math/w_atanhl.c: Likewise.
36722 * math/w_exp2.c: Likewise.
36723 * math/w_exp2f.c: Likewise.
36724 * math/w_exp2l.c: Likewise.
36725 * math/w_j0.c: Likewise.
36726 * math/w_j0f.c: Likewise.
36727 * math/w_j0l.c: Likewise.
36728 * math/w_j1.c: Likewise.
36729 * math/w_j1f.c: Likewise.
36730 * math/w_j1l.c: Likewise.
36731 * math/w_jn.c: Likewise.
36732 * math/w_jnf.c: Likewise.
36733 * math/w_log.c: Likewise.
36734 * math/w_log10.c: Likewise.
36735 * math/w_log10f.c: Likewise.
36736 * math/w_log10l.c: Likewise.
36737 * math/w_log2.c: Likewise.
36738 * math/w_log2f.c: Likewise.
36739 * math/w_log2l.c: Likewise.
36740 * math/w_logf.c: Likewise.
36741 * math/w_logl.c: Likewise.
36742 * math/w_sqrt.c: Likewise.
36743 * math/w_sqrtf.c: Likewise.
36744 * math/w_sqrtl.c: Likewise.
36745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36746 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36747 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36748 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36749 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36751 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36754 * manual/string.texi (strnlen): Use correct parameter name in
36755 equivalent expression.
36757 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36760 * manual/users.texi (seteuid): Consistently use neweuid for
36763 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36766 * manual/nss.texi (Services in the NSS configuration): Correct
36767 list of services in example configuration file.
36769 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36772 * manual/arith.texi: Remove statements about negative zero
36773 behaving identically to zero.
36775 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36778 * manual/install.texi: Do not document upgrading from libc5.
36780 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36783 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36785 2012-02-18 David S. Miller <davem@davemloft.net>
36787 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36788 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36789 %o7 across the call.
36790 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36793 SETUP_PIC_REG_LEAF.
36794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36795 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36796 * sysdeps/sparc/crtn.S: Likewise.
36798 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36800 * aout/Makefile: Remove.
36802 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36805 * manual/examples/argp-ex1.c (main): Format definition in GNU
36807 * manual/examples/argp-ex2.c (main): Likewise.
36808 * manual/examples/argp-ex3.c (main): Likewise.
36809 * manual/examples/argp-ex4.c (main): Likewise.
36810 * manual/examples/longopt.c (main): Use new-style prototype
36812 * manual/examples/strncat.c (main): Specify return type and use
36813 (void) for arguments.
36814 * manual/examples/subopt.c (main): Use char **argv argument.
36816 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36819 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36822 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36825 * manual/string.texi (strchr): Change when strchrnul is
36828 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36831 * manual/locale.texi (setlocale): Document LOCPATH.
36833 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36836 * manual/process.texi (execle): Move @dots{} before last argument.
36838 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36841 * manual/charset.texi (Generic Charset Conversion): Fix typo
36842 (LC_TYPE -> LC_CTYPE).
36844 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36847 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36848 (scalbnf): Likewise.
36849 (scalbnl): Likewise.
36850 (scalbln): Likewise.
36851 (scalblnf): Likewise.
36852 (scalblnl): Likewise.
36853 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36854 (vwarnx): Likewise.
36857 * manual/filesys.texi (telldir): Use braces around return type.
36858 * manual/llio.texi (mmap): Add space after comma.
36859 (mmap64): Likewise.
36860 * manual/math.texi (jn): Use @var{} on parameter names.
36866 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36868 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36870 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36871 (sched_get_priority_max): Likewise.
36872 * manual/signal.texi (sigvec): Add space after comma.
36873 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36875 (if_indextoname): Likewise.
36876 (if_freenameindex): Likewise.
36877 (sendto): Use ',' instead of '.' in prototype.
36878 * manual/startup.texi (syscall): Use @dots{} instead of literal
36880 * manual/stdio.texi (__fpending): Separate initial words of
36881 paragraph from @deftypefun line.
36882 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36884 (vsyslog): Use @var{} on parameter names.
36885 * manual/terminal.texi (stty): Use @var{} on parameter names.
36886 * manual/users.texi (getutmp): Use @var{} on parameter names.
36887 (getutmpx): Likewise.
36889 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36892 * manual/stdio.texi (fopen): Fix typos in description of
36895 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36898 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36899 get clock_id definition.
36901 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36904 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36905 (madvise): Cast every argument to void on its own.
36907 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36910 * manual/startup.texi (Exit Status): Fix typo.
36912 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36915 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36916 * manual/examples/argp-ex2.c: Likewise.
36917 * manual/examples/argp-ex3.c: Likewise.
36919 2012-02-16 Richard Henderson <rth@redhat.com>
36921 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36922 * sysdeps/s390/s390-32/initfini.c: Remove.
36923 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36924 * sysdeps/s390/s390-64/initfini.c: Remove.
36926 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36928 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36929 compiler output for sysdeps/generic/initfini.c.
36930 * sysdeps/sh/elf/initfini.c: Remove file.
36932 2012-02-16 David S. Miller <davem@davemloft.net>
36935 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36937 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36938 * sysdeps/sparc/crti.S: New file.
36939 * sysdeps/sparc/crtn.S: New file.
36940 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36941 * sysdeps/sparc/sparc64/Makefile: Likewise.
36943 2012-02-15 Mike Frysinger <vapier@gentoo.org>
36946 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36948 2012-02-15 Roland McGrath <roland@hack.frob.com>
36951 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36953 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36954 (write, read, close): Likewise.
36955 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36957 2012-02-15 Joseph Myers <joseph@codesourcery.com>
36959 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36960 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36961 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36962 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36964 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36968 2012-02-14 Marek Polacek <polacek@redhat.com>
36970 * sysdeps/x86_64/crti.S: New file.
36971 * sysdeps/x86_64/crtn.S: New file.
36972 * sysdeps/x86_64/elf/initfini.c: Remove file.
36974 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36976 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36977 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36979 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36981 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36985 2012-02-13 Joseph Myers <joseph@codesourcery.com>
36987 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36988 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36989 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36990 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36992 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36996 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36998 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36999 __feraiseexcept instead of feraiseexcept.
37001 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37002 nanosleep invocations.
37003 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37004 strings, and add error checking for a nanosleep invocations.
37006 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37008 Replace FSF snail mail address with URLs, as per GNU coding standards.
37009 Most of the snail mail addresses were wrong anyway, and omitting
37010 them makes the source code easier to maintain. Almost all of the
37011 changes are to license notices and to locale LC_IDENTIFICATION
37012 addresses, except for this one:
37013 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37014 not its snail mail address.
37016 2012-02-09 Richard Henderson <rth@twiddle.net>
37018 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37019 of kernel-features.h.
37021 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37023 2012-02-08 Marek Polacek <polacek@redhat.com>
37025 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37026 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37027 * sysdeps/gnu/_G_config.h: Likewise.
37028 * sysdeps/generic/_G_config.h: Likewise.
37030 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37032 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37036 * sysdeps/powerpc/powerpc32/crti.S: New file.
37037 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37038 * sysdeps/powerpc/powerpc64/crti.S: New file.
37039 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37041 * Makeconfig (have-initfini): Don't set.
37042 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37043 * configure.in (nopic_initfini): Don't substitute.
37044 * config.h.in (HAVE_INITFINI): Don't #undef.
37045 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37046 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37048 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37050 Support crti.S and crtn.S provided directly by architectures.
37051 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37052 [crti.S in sysdirs] (omit-deps): Likewise.
37053 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37054 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37055 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37056 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37057 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37058 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37059 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37060 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37061 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37062 compiler output for sysdeps/generic/initfini.c.
37063 * sysdeps/i386/elf/Makefile: Remove file.
37064 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37066 2012-02-07 Marek Polacek <polacek@redhat.com>
37068 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37069 * sysdeps/gnu/_G_config.h: Likewise.
37070 * sysdeps/mach/hurd/_G_config.h: Likewise.
37072 2012-02-07 Marek Polacek <polacek@redhat.com>
37074 * math/Makefile (tests): Add tst-CMPLX2.
37075 * math/tst-CMPLX2.c: New file.
37077 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37079 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37081 * math/libm-test.inc (jn_test): Add missing L suffix.
37083 2012-02-06 Marek Polacek <polacek@redhat.com>
37085 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37086 * sysdeps/i386/fpu/e_powf.S: Likewise.
37087 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37088 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37090 * sysdeps/i386/fpu/e_pow.S: Likewise.
37091 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37092 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37093 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37094 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37095 * sysdeps/i386/fpu/e_log2.S: Likewise.
37096 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37097 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37098 * sysdeps/i386/fpu/e_powl.S: Likewise.
37099 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37100 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37101 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37102 * sysdeps/i386/fpu/e_logl.S: Likewise.
37103 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37104 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37105 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37106 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37107 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37108 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37109 * sysdeps/i386/fpu/e_log.S: Likewise.
37110 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37111 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37112 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37113 * sysdeps/i386/fpu/e_logf.S: Likewise.
37114 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37115 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37116 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37117 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37118 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37119 * sysdeps/i386/fpu/e_log10.S: Likewise.
37120 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37121 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37122 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37123 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37124 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37125 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37126 * sysdeps/i386/asm-syntax.h: Likewise.
37127 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37128 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37129 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37130 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37131 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37132 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37133 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37134 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37135 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37136 * sysdeps/powerpc/sysdep.h: Likewise.
37137 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37138 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37140 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37143 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37145 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37147 * sysdeps/i386/sysdep.h: Include <features.h>.
37148 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37151 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37153 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37155 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37158 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37160 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37161 (SETUP_PIC_REG): Use GET_PC_THUNK.
37162 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37165 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37167 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37168 for non-PIC compilation.
37169 (SETUP_PIC_REG): Add .p2align directive.
37170 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37171 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37172 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37173 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37174 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37175 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37176 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37177 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37178 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37179 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37180 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37181 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37182 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37183 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37184 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37185 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37186 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37187 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37188 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37189 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37190 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37191 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37192 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37193 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37196 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37197 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37198 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37199 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37200 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37201 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37202 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37203 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37204 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37205 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37206 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37207 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37208 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37209 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37210 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37212 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37214 * math/tst-CMPLX.c: Include <stdio.h>.
37216 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37218 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37220 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37221 * sysdeps/sparc/bits/mathdef.h: Likewise.
37223 2012-01-31 Marek Polacek <polacek@redhat.com>
37225 * libio/libio.h: Don't define _PARAMS.
37226 * locale/programs/config.h: Don't define PARAMS.
37227 * stdlib/strtol_l.c: Likewise.
37228 (__strtol_l): Remove PARAMS from the prototype.
37230 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37232 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37233 names. Just use the correct names. Remove unnecessary wrapper
37235 * malloc/arena.c: Likewise.
37236 * malloc/hooks.c: Likewise.
37238 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37239 ARENA_TEST says not to. Simplify test for creation of a new arena.
37240 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37242 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37244 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37246 (update_get_addr): New function.
37247 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37248 GET_ADDR_MODULE parameter.
37250 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37252 * crypt/cert.c: Remove __STDC__ conditionals.
37253 * crypt/crypt-entry.c: Likewise.
37254 * crypt/crypt_util.c: Likewise.
37255 * libio/filedoalloc.c: Likewise.
37256 * libio/fileops.c: Likewise.
37257 * libio/genops.c: Likewise.
37258 * libio/iofclose.c: Likewise.
37259 * libio/iofdopen.c: Likewise.
37260 * libio/iofopen.c: Likewise.
37261 * libio/iofopen64.c: Likewise.
37262 * libio/iogetdelim.c: Likewise.
37263 * libio/iopopen.c: Likewise.
37264 * libio/obprintf.c: Likewise.
37265 * libio/oldfileops.c: Likewise.
37266 * libio/oldiofclose.c: Likewise.
37267 * libio/oldiofdopen.c: Likewise.
37268 * libio/oldiofopen.c: Likewise.
37269 * libio/oldiopopen.c: Likewise.
37270 * libio/wfiledoalloc.c: Likewise.
37271 * libio/wgenops.c: Likewise.
37272 * locale/programs/xmalloc.c: Likewise.
37273 * misc/syslog.c: Likewise.
37274 * stdio-common/xbug.c: Likewise.
37275 * string/memchr.c: Likewise.
37276 * string/memcmp.c: Likewise.
37277 * string/memrchr.c: Likewise.
37278 * string/rawmemchr.c: Likewise.
37279 * sysdeps/posix/getcwd.c: Likewise.
37280 * time/strftime_l.c: Likewise.
37282 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37284 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37285 * config.make.in (config-cflags-sse2avx): Define.
37286 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37289 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37291 * scripts/config.guess: Update from upstream config git repository.
37292 * scripts/config.sub: Likewise.
37294 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37296 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37298 (R_TILEPRO_*, R_TILEGX_*): New macros.
37300 * scripts/firstversions.awk: Fix bug in version range handling.
37302 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37304 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37306 * include/sys/epoll.h: New file.
37307 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37310 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37312 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37313 Avoid unnecessary __WORDSIZE == 64 test.
37314 (fmaxf): Use VEX format if possible.
37319 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37320 * math/math_private.h: Remove libc_fegetround* and
37322 * sysdeps/i386/configure.in: Check for -msse2avx.
37323 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37324 also if SSE2AVX is defined.
37325 Remove libc_fegetround* and libc_fesetround*.
37326 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37327 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37331 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37336 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37338 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37340 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37342 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37344 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37347 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37349 * Makeconfig (libm): Define.
37350 * elf/Makefile: Add rules to build and run tst-relsort1.
37351 * elf/tst-relsort1.c: New file.
37352 * elf/tst-relsort1mod1.c: New file.
37353 * elf/tst-relsort1mod2.c: New file.
37355 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37357 * math/s_ldexp.c: Remove __STDC__ conditionals.
37358 * math/s_ldexpf.c: Likewise.
37359 * math/s_ldexpl.c: Likewise.
37360 * math/s_nextafter.c: Likewise.
37361 * math/s_nexttowardf.c: Likewise.
37362 * math/s_significand.c: Likewise.
37363 * math/s_significandf.c: Likewise.
37364 * math/s_significandl.c: Likewise.
37365 * math/w_jnl.c: Likewise.
37366 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37367 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37368 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37369 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37370 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37376 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37377 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37378 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37379 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37380 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37381 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37382 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37383 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37385 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37386 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37387 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37388 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37389 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37390 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37391 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37392 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37393 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37394 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37395 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37396 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37397 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37398 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37399 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37400 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37401 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37402 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37403 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37404 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37405 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37406 * sysdeps/ieee754/k_standard.c: Likewise.
37407 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37408 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37409 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37410 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37411 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37412 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37413 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37414 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37415 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37416 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37417 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37418 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37419 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37420 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37421 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37422 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37423 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37424 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37425 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37426 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37427 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37428 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37429 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37430 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37431 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37432 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37433 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37434 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37435 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37436 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37437 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37438 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37439 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37440 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37441 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37442 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37443 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37444 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37445 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37446 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37447 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37449 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37450 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37451 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37452 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37453 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37454 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37455 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37456 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37457 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37458 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37459 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37460 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37461 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37462 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37463 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37465 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37467 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37468 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37469 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37470 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37471 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37472 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37473 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37474 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37475 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37476 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37477 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37478 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37479 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37480 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37481 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37482 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37483 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37484 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37485 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37486 * sysdeps/ieee754/s_matherr.c: Likewise.
37487 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37488 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37492 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37494 * crypt/md5.h: Remove __STDC__ conditionals.
37495 * libio/libioP.h: Likewise.
37496 * locale/programs/config.h: Likewise.
37497 * sysdeps/generic/sysdep.h: Likewise.
37498 * sysdeps/i386/asm-syntax.h: Likewise.
37499 * sysdeps/s390/asm-syntax.h: Likewise.
37500 * sysdeps/unix/sysdep.h: Likewise.
37501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37504 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37506 * libio/libio.h: Remove __STDC__ conditionals.
37507 * malloc/obstack.h: Likewise.
37508 * math/complex.h: Likewise.
37509 * math/math.h: Likewise.
37510 * sysdeps/generic/_G_config.h: Likewise.
37511 * sysdeps/gnu/_G_config.h: Likewise.
37512 * sysdeps/mach/hurd/_G_config.h: Likewise.
37513 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37514 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37515 * sysdeps/sparc/bits/mathdef.h: Likewise.
37517 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37520 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37521 Clean up HAS_* macros.
37522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37523 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37525 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37527 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37529 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37530 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37531 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37533 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37535 * elf/tst-unique3.cc (gets): Remove declaration.
37536 * elf/tst-unique3lib.cc (gets): Likewise.
37537 * elf/tst-unique3lib2.cc (gets): Likewise.
37538 * elf/tst-unique4.cc (gets): Likewise.
37540 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37542 * include/stdio.h: Add C++ protection. Add gets declarations and
37544 * debug/tst-chk1.c: Don't declare gets here.
37545 * stdio-common/tst-gets.c: Likewise.
37547 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37549 * posix/glob: Remove directory.
37551 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37553 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37555 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37557 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37558 of the non-standard EPFNOSUPPORT.
37560 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37562 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37563 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37564 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37566 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37568 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37570 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37572 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37574 * nscd/grpcache.c (cache_addgr): Likewise.
37575 * nscd/hstcache.c (cache_addhst): Likewise.
37576 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37577 * nscd/pwdcache.c (cache_addpw): Likewise.
37578 * nscd/servicescache.c (cache_addserv): Likewise.
37580 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37582 * malloc/malloc.c: Various cleanups.
37583 * malloc/hooks.c: Likewise.
37585 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37586 * stdlib/bug-fmtmsg1.c: New file.
37588 * stdlib/fmtmsg.c (init): Add missing unlock.
37589 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37591 2012-01-12 Marek Polacek <polacek@redhat.com>
37593 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37596 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37598 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37599 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37600 macro to ensure uniqueness of label name.
37601 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37602 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37604 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37606 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37608 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37609 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37610 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37613 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37615 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37617 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37618 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37619 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37621 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37623 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37624 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37628 * math/bits/math-finite.h: Add ldexp support.
37630 2012-01-10 Marek Polacek <polacek@redhat.com>
37632 * locale/programs/localedef.h (show_archive_content): Add noreturn
37635 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37637 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37639 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37641 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37643 * io/Makefile (headers): Add bits/poll2.h.
37645 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37648 typo #include statement.
37650 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37652 * include/sys/cdefs.h: Define __attribute_alloc_size.
37653 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37654 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37655 * elf/pldd.c: Likewise.
37656 * iconv/iconv_charmap.c: Likewise.
37657 * iconv/iconvconfig.c: Likewise.
37658 * iconv/strtab.c: Likewise.
37659 * locale/programs/locale.c: Likewise.
37660 * locale/programs/localedef.h: Likewise.
37661 * locale/programs/simple-hash.c: Likewise.
37662 * nscd/nscd.h: Likewise.
37663 * nss/makedb.c: Likewise.
37664 * sysdeps/generic/ldconfig.h: Likewise.
37665 * locale/programs/localedef.c: Remove xmalloc prototype.
37666 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37668 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37670 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37673 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37675 * math/Makefile (tests): Add tst-CMPLX.
37676 * math/tst-CMPLX.c: New file.
37678 * math/complex.h (CMPLXL): Fix typo.
37680 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37681 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37683 * debug/tst-chk1.c: Add poll and ppoll tests.
37684 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37685 * include/sys/poll.h: Add hidden proto for ppoll.
37686 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37687 * sysdeps/mach/hurd/ppoll.c: Likewise.
37688 * io/ppoll.c: Likewise.
37689 * debug/poll_chk.c: New file.
37690 * debug/ppoll_chk.c: New file.
37691 * include/bits/poll2.h: New file.
37692 * io/bits/poll2.h: New file.
37695 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37697 * configure.in: static is always set to yes. Remove.
37698 * config.make.in: Don't set build-static.
37699 * Makeconfig: Remove use of build-static.
37700 * dlfcn/Makefile: Likewise.
37701 * elf/Makefile: Likewise.
37702 * math/Makefile: Likewise.
37703 * misc/Makefile: Likewise.
37704 * nptl/Makefile: Likewise.
37705 * sysdeps/mach/hurd/Makefile: Likewise.
37707 * configure.in: PWD_P is not used anymore.
37708 * config.make.in: Remove PWD_P entry.
37710 * configure.in: Remove last remnants of RANLIB.
37711 No need to check for signed size_t anymore.
37712 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37714 Remove __builtin_expect test because we require at least gcc 3.4.
37715 * aclocal.m4: Likewise.
37717 * wcsmbs/mbrtoc16.c: Implement using towc function.
37718 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37719 * wcsmbs/wcsmbsload.c: Likewise.
37720 * iconv/gconv_simple.c: Likewise.
37721 * iconv/gconv_int.h: Likewise.
37722 * iconv/gconv_builtin.h: Likewise.
37723 * iconv/iconv_prog.c: Remove CHAR16 handling.
37725 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37727 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37729 * configure.in: Remove --with-elf and --enable-bounded options.
37730 Dont set base_machine for ia64. More non-ELF conditions removed.
37731 Remove testing and setting of leading underscore information.
37732 * config.make.in (build-bounded): Set to no.
37733 * config.h.in: Remove NO_UNDERSCORES entry.
37734 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37736 * csu/start.c: Remove !NO_UNDERSCORE code.
37737 * locale/localeinfo.h: Likewise.
37738 * sysdeps/generic/machine-gmon.h: Likewise.
37739 * sysdeps/generic/sysdep.h: Likewise.
37740 * sysdeps/i386/sysdep.h: Likewise.
37741 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37742 * sysdeps/mach/sysdep.h: Likewise.
37743 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37744 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37745 * sysdeps/sh/sysdep.h: Likewise.
37746 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37747 * sysdeps/unix/i386/sysdep.S: Likewise.
37748 * sysdeps/unix/sparc/start.c: Likewise.
37749 * sysdeps/unix/sparc/sysdep.S: Likewise.
37750 * sysdeps/unix/sparc/sysdep.h: Likewise.
37751 * sysdeps/unix/start.c: Likewise.
37752 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37753 * sysdeps/x86_64/sysdep.h: Likewise.
37755 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37758 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37760 * argp/argp-fmtstream.h: Use const instead __const.
37761 * argp/argp.h: Likewise.
37762 * assert/assert.h: Likewise.
37763 * bits/fenv.h: Likewise.
37764 * bits/sched.h: Likewise.
37765 * bits/sigset.h: Likewise.
37766 * bits/sigthread.h: Likewise.
37767 * catgets/nl_types.h: Likewise.
37768 * conform/data/pthread.h-data: Likewise.
37769 * crypt/crypt-private.h: Likewise.
37770 * crypt/crypt.h: Likewise.
37771 * crypt/crypt_util.c: Likewise.
37772 * ctype/ctype.h: Likewise.
37773 * debug/execinfo.h: Likewise.
37774 * debug/mbsnrtowcs_chk.c: Likewise.
37775 * debug/mbsrtowcs_chk.c: Likewise.
37776 * debug/wcsnrtombs_chk.c: Likewise.
37777 * debug/wcsrtombs_chk.c: Likewise.
37778 * debug/wcstombs_chk.c: Likewise.
37779 * dirent/dirent.h: Likewise.
37780 * dlfcn/dlfcn.h: Likewise.
37781 * elf/neededtest4.c: Likewise.
37782 * grp/grp.h: Likewise.
37783 * gshadow/gshadow.h: Likewise.
37784 * iconv/gconv.h: Likewise.
37785 * iconv/gconv_int.h: Likewise.
37786 * iconv/gconv_simple.c: Likewise.
37787 * iconv/iconv.h: Likewise.
37788 * iconv/loop.c: Likewise.
37789 * iconv/skeleton.c: Likewise.
37790 * include/aio.h: Likewise.
37791 * include/aliases.h: Likewise.
37792 * include/argz.h: Likewise.
37793 * include/arpa/inet.h: Likewise.
37794 * include/assert.h: Likewise.
37795 * include/dirent.h: Likewise.
37796 * include/dlfcn.h: Likewise.
37797 * include/execinfo.h: Likewise.
37798 * include/fcntl.h: Likewise.
37799 * include/fenv.h: Likewise.
37800 * include/glob.h: Likewise.
37801 * include/grp.h: Likewise.
37802 * include/libintl.h: Likewise.
37803 * include/mntent.h: Likewise.
37804 * include/netdb.h: Likewise.
37805 * include/pwd.h: Likewise.
37806 * include/rpc/netdb.h: Likewise.
37807 * include/sched.h: Likewise.
37808 * include/search.h: Likewise.
37809 * include/shadow.h: Likewise.
37810 * include/signal.h: Likewise.
37811 * include/stdio.h: Likewise.
37812 * include/stdlib.h: Likewise.
37813 * include/string.h: Likewise.
37814 * include/sys/socket.h: Likewise.
37815 * include/sys/stat.h: Likewise.
37816 * include/sys/statfs.h: Likewise.
37817 * include/sys/statvfs.h: Likewise.
37818 * include/sys/syslog.h: Likewise.
37819 * include/sys/time.h: Likewise.
37820 * include/sys/uio.h: Likewise.
37821 * include/time.h: Likewise.
37822 * include/unistd.h: Likewise.
37823 * include/utmp.h: Likewise.
37824 * include/wchar.h: Likewise.
37825 * include/wctype.h: Likewise.
37826 * inet/aliases.h: Likewise.
37827 * inet/arpa/inet.h: Likewise.
37828 * inet/netinet/ether.h: Likewise.
37829 * inet/netinet/in.h: Likewise.
37830 * intl/libintl.h: Likewise.
37831 * io/bits/fcntl2.h: Likewise.
37832 * io/fcntl.h: Likewise.
37833 * io/ftw.h: Likewise.
37834 * io/sys/poll.h: Likewise.
37835 * io/sys/stat.h: Likewise.
37836 * io/sys/statfs.h: Likewise.
37837 * io/sys/statvfs.h: Likewise.
37838 * io/utime.h: Likewise.
37839 * libio/bits/stdio.h: Likewise.
37840 * libio/bits/stdio2.h: Likewise.
37841 * libio/libio.h: Likewise.
37842 * libio/libioP.h: Likewise.
37843 * libio/stdio.h: Likewise.
37844 * locale/lc-ctype.c: Likewise.
37845 * locale/locale.h: Likewise.
37846 * login/utmp.h: Likewise.
37847 * malloc/arena.c: Likewise.
37848 * malloc/malloc.c: Likewise.
37849 * malloc/malloc.h: Likewise.
37850 * malloc/mcheck.c: Likewise.
37851 * malloc/mtrace.c: Likewise.
37852 * math/bits/mathcalls.h: Likewise.
37853 * math/fenv.h: Likewise.
37854 * math/math_private.h: Likewise.
37855 * misc/bits/error.h: Likewise.
37856 * misc/bits/syslog.h: Likewise.
37857 * misc/err.h: Likewise.
37858 * misc/error.h: Likewise.
37859 * misc/fstab.h: Likewise.
37860 * misc/mntent.h: Likewise.
37861 * misc/regexp.h: Likewise.
37862 * misc/search.h: Likewise.
37863 * misc/sgtty.h: Likewise.
37864 * misc/sys/mman.h: Likewise.
37865 * misc/sys/syslog.h: Likewise.
37866 * misc/sys/uio.h: Likewise.
37867 * misc/sys/xattr.h: Likewise.
37868 * misc/ttyent.h: Likewise.
37869 * nis/rpcsvc/ypclnt.h: Likewise.
37870 * nss/nss.h: Likewise.
37871 * posix/bits/unistd.h: Likewise.
37872 * posix/fnmatch.h: Likewise.
37873 * posix/glob.h: Likewise.
37874 * posix/sched.h: Likewise.
37875 * posix/spawn.h: Likewise.
37876 * posix/sys/wait.h: Likewise.
37877 * posix/unistd.h: Likewise.
37878 * posix/wordexp.h: Likewise.
37879 * pwd/pwd.h: Likewise.
37880 * resolv/netdb.h: Likewise.
37881 * resource/sys/resource.h: Likewise.
37882 * rt/aio.h: Likewise.
37883 * rt/bits/mqueue2.h: Likewise.
37884 * rt/mqueue.h: Likewise.
37885 * shadow/shadow.h: Likewise.
37886 * signal/signal.h: Likewise.
37887 * socket/send.c: Likewise.
37888 * socket/sendto.c: Likewise.
37889 * socket/sys/socket.h: Likewise.
37890 * stdio-common/printf.h: Likewise.
37891 * stdlib/bits/stdlib.h: Likewise.
37892 * stdlib/fmtmsg.h: Likewise.
37893 * stdlib/monetary.h: Likewise.
37894 * stdlib/stdlib.h: Likewise.
37895 * stdlib/ucontext.h: Likewise.
37896 * streams/stropts.h: Likewise.
37897 * string/argz.h: Likewise.
37898 * string/bits/string2.h: Likewise.
37899 * string/string.h: Likewise.
37900 * string/strings.h: Likewise.
37901 * sunrpc/rpc/auth.h: Likewise.
37902 * sunrpc/rpc/auth_des.h: Likewise.
37903 * sunrpc/rpc/clnt.h: Likewise.
37904 * sunrpc/rpc/netdb.h: Likewise.
37905 * sunrpc/rpc/pmap_clnt.h: Likewise.
37906 * sunrpc/rpc/xdr.h: Likewise.
37907 * sysdeps/generic/inttypes.h: Likewise.
37908 * sysdeps/generic/net/if.h: Likewise.
37909 * sysdeps/generic/sys/swap.h: Likewise.
37910 * sysdeps/gnu/net/if.h: Likewise.
37911 * sysdeps/gnu/utmpx.h: Likewise.
37912 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37913 * sysdeps/i386/i486/bits/string.h: Likewise.
37914 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37915 * sysdeps/s390/bits/string.h: Likewise.
37916 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37917 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37918 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37919 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37920 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37921 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37922 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37923 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37924 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37925 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37926 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37927 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37928 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37929 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37930 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37931 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37932 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37934 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37935 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37936 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37937 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37938 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37939 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37940 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37941 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37942 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37943 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37944 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37945 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37946 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37947 * sysvipc/sys/ipc.h: Likewise.
37948 * sysvipc/sys/msg.h: Likewise.
37949 * sysvipc/sys/sem.h: Likewise.
37950 * sysvipc/sys/shm.h: Likewise.
37951 * termios/termios.h: Likewise.
37952 * time/sys/time.h: Likewise.
37953 * time/time.h: Likewise.
37954 * wcsmbs/bits/wchar2.h: Likewise.
37955 * wcsmbs/uchar.h: Likewise.
37956 * wcsmbs/wchar.h: Likewise.
37957 * wctype/wctype.h: Likewise.
37960 * Makeconfig: Remove all but ELF support including AIX support.
37961 * Makerules: Likewise.
37962 * config.h.in: Likewise.
37963 * config.make.in: Likewise.
37964 * configure: Likewise.
37965 * configure.in: Likewise.
37966 * csu/Makefile: Likewise.
37967 * csu/version.c: Likewise.
37968 * debug/Makefile: Likewise.
37969 * dlfcn/Makefile: Likewise.
37970 * elf/Makefile: Likewise.
37971 * extra-lib.mk: Likewise.
37972 * iconv/Makefile: Likewise.
37973 * include/libc-symbols.h: Likewise.
37974 * include/shlib-compat.h: Likewise.
37975 * resolv/Makefile: Likewise.
37976 * resolv/res_libc.c: Likewise.
37977 * rt/Makefile: Likewise.
37978 * sysdeps/i386/asm-syntax.h: Likewise.
37979 * sysdeps/i386/sysdep.h: Likewise.
37980 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37981 * sysdeps/mach/sysdep.h: Likewise.
37982 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37983 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37984 * sysdeps/s390/asm-syntax.h: Likewise.
37985 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37986 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37987 * sysdeps/sh/sysdep.h: Likewise.
37988 * sysdeps/unix/sparc/sysdep.h: Likewise.
37989 * sysdeps/wordsize-32/divdi3.c: Likewise.
37990 * sysdeps/x86_64/sysdep.h: Likewise.
37992 * argp/Versions: Remove _argp_unlock_xxx.
37995 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37996 * abilist/libBrokenLocale.abilist: Likewise.
37997 * abilist/libanl.abilist: Likewise.
37998 * abilist/libc.abilist: Likewise.
37999 * abilist/libcrypt.abilist: Likewise.
38000 * abilist/libdl.abilist: Likewise.
38001 * abilist/libm.abilist: Likewise.
38002 * abilist/libnsl.abilist: Likewise.
38003 * abilist/libpthread.abilist: Likewise.
38004 * abilist/libresolv.abilist: Likewise.
38005 * abilist/librt.abilist: Likewise.
38006 * abilist/libthread_db.abilist: Likewise.
38007 * abilist/libutil.abilist: Likewise.
38008 * abilist/libnss_db.abilist: New file.
38010 * scripts/abilist.awk: Add support for indirect functions.
38012 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38014 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38016 * shlib-versions: Remove entries for ports architectures.
38018 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38020 * elf/stackguard-macros.h: Remove support for IA-64.
38021 * elf/tst-auditmod1.c: Likewise.
38022 * sysdeps/generic/ldsodefs.h: Likewise.
38024 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38025 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38029 * configure.in: Remove --enable-omitfp support.
38031 * config.make.in: Likewise.
38032 * Makeconfig: Likewise.
38033 * manual/install.texi: Likewise.
38035 In case anyone cares, the IA-64 architecture could move to ports.
38036 * sysdeps/ia64/*: Removed.
38037 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38038 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38041 * configure.in: Remove entries for unsupported architectures.
38044 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38045 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38047 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38048 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38049 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38050 fall back to using wcrtomb.
38051 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38052 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38054 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38055 * wcsmbs/tst-c16c32-1.c: New file.
38057 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38060 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38062 * elf/tst-unique3.cc: Add explicit declaration of gets.
38063 * elf/tst-unique3lib.cc: Likewise.
38064 * elf/tst-unique3lib2.cc: Likewise.
38065 * elf/tst-unique4.cc: Likewise.
38067 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38069 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38072 * assert/assert.h (static_assert): Don't define for C++.
38073 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38074 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38076 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38078 * iconv/loop.c (single loop): Fix assertion in storing of
38081 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38083 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38085 * posix/getconf.c: Update copyright year.
38086 * nss/getent.c: Likewise.
38087 * nss/makedb.c: Likewise.
38088 * iconv/iconvconfig.c: Likewise.
38089 * iconv/iconv_prog.c: Likewise.
38090 * elf/ldconfig.c: Likewise.
38091 * elf/pldd.c: Likewise.
38092 * elf/sotruss.ksh: Likewise.
38093 * catgets/gencat.c: Likewise.
38094 * csu/version.c: Likewise.
38095 * elf/ldd.bash.in: Likewise.
38096 * elf/sprof.c (print_version): Likewise.
38097 * locale/programs/locale.c: Likewise.
38098 * locale/programs/localedef.c: Likewise.
38099 * login/programs/pt_chown.c: Likewise.
38100 * nscd/nscd.c (print_version): Likewise.
38101 * debug/xtrace.sh: Likewise.
38102 * malloc/memusage.sh: Likewise.
38103 * malloc/mtrace.pl: Likewise.
38104 * debug/catchsegv.sh: Likewise.
38106 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38108 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38111 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38114 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38115 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38117 * iconv/gconv_int.h: Likewise.
38118 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38119 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38120 from libc for GLIBC_2.16.
38121 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38122 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38123 * wcsmbs/uchar.h: Really define mbstate_t.
38124 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38125 * wcsmbs/c16rtomb.c: New file.
38126 * wcsmbs/mbrtoc16.c: New file.
38127 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38128 for C/POSIX locale.
38129 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38130 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38132 * wcsmbs/wchar.h: Add missing __restrict.
38134 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38137 * time/Makefile (routines): Add timespec_get.
38138 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38139 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38140 timespec for ISO C11.
38141 * time/timespec_get.c: New file.
38142 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38143 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38146 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38147 * stdlib/stdlib.h: Declare aligned_alloc.
38148 * Versions.def: Add GLIBC_2.16 for libc.
38149 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38152 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38155 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38159 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38162 * assert/assert.h (static_assert): Define.
38164 * version.h: Update for 2.16 development version.
38167 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38170 * version.h (RELEASE): Bump for 2.15 release.
38171 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38173 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38174 Patch by Marek Polacek <mpolacek@redhat.com>.
38176 * bits/byteswap.h: Protect long long constants with __extension__.
38177 * sysdeps/i386/bits/byteswap.h: Likewise.
38178 * sysdeps/ia64/bits/byteswap.h: Likewise.
38179 * sysdeps/s390/bits/byteswap.h: Likewise.
38180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38182 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38185 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38186 destination buffer.
38187 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38189 2011-12-23 Marek Polacek <polacek@redhat.com>
38191 * elf/dl-addr.c (determine_info): Add inline keyword.
38192 * elf/tst-auditmod4b.c (check_avx): Likewise.
38193 * elf/tst-auditmod6b.c (check_avx): Likewise.
38194 * elf/tst-auditmod6c.c (check_avx): Likewise.
38195 * elf/tst-auditmod7b.c (check_avx): Likewise.
38197 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38199 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38202 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38205 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38206 processing for last bytes.
38208 2011-08-06 Bruno Haible <bruno@clisp.org>
38211 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38212 U+0385, not to U+1FEE.
38215 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38216 entry for U+00A5 U+0301.
38218 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38221 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38222 buffer for the output is too small.
38224 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38228 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38229 SSE flags if possible.
38231 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38235 processing for last bytes.
38237 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38239 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38240 (syscall-list-default-options, syscall-list-default-condition)
38241 (syscall-list-includes): Define.
38242 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38243 list of ABIs and options and #if conditions for each ABI. Do not
38244 handle common syscalls between ABIs specially.
38245 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38247 (syscall-list-variants, syscall-list-32bit-options)
38248 (syscall-list-32bit-condition, syscall-list-64bit-options)
38249 (syscall-list-64bit-condition): Define.
38250 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38251 (syscall-list-variants, syscall-list-32bit-options)
38252 (syscall-list-32bit-condition, syscall-list-64bit-options)
38253 (syscall-list-64bit-condition): Define.
38254 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38256 (syscall-list-variants, syscall-list-32bit-options)
38257 (syscall-list-32bit-condition, syscall-list-64bit-options)
38258 (syscall-list-64bit-condition): Define.
38259 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38261 (syscall-list-variants, syscall-list-32bit-options)
38262 (syscall-list-32bit-condition, syscall-list-64bit-options)
38263 (syscall-list-64bit-condition): Define.
38265 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38267 * locale/iso-639.def: Add brx entry.
38270 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38271 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38273 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38274 __feraiseexcept_renamed.
38276 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38279 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38280 EPOLLET with unsigned values.
38281 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38282 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38284 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38285 to large cancellation.
38286 * math/s_cacoshf.c: Likewise.
38287 * math/s_cacoshl.c: Likewise.
38289 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38293 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38294 * math/s_cacoshf.c: Likewise.
38295 * math/s_cacoshl.c: Likewise.
38297 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38300 * iconv/gconv.h: Define __GCONV_SWAP.
38301 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38302 * iconvdata/utf-16.c: Likewise.
38303 * iconvdata/utf-32.c: Likewise.
38305 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38308 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38309 numerator after shifting it by one limb.
38311 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38313 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38314 under [__USE_EXTERN_INLINES].
38316 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38319 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38321 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38323 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38324 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38326 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38327 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38328 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38329 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38330 for strncasecmp/strncasecmp_l compilation.
38331 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38332 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38334 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38337 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38340 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38343 * time/tzfile.c (__tzfile_read): Check values from file header.
38345 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38347 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38348 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38349 * powerpc/powerpc32/dl-start.S: Likewise.
38350 * powerpc/powerpc32/elf/start.S: Likewise.
38351 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38352 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38353 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38354 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38355 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38356 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38357 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38358 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38359 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38360 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38361 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38362 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38363 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38364 * powerpc/powerpc32/memset.S: Likewise.
38365 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38366 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38367 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38368 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38369 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38370 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38371 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38372 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38373 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38374 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38375 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38376 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38377 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38379 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38381 * math/libm-test.inc: Added more nearbyint tests.
38382 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38383 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38387 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38389 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38392 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38394 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38395 Add wcscpy-ssse3 wcscpy-c.
38396 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38397 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38398 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38399 * sysdeps/x86_64/wcschr.S: New file.
38400 * sysdeps/x86_64/wcsrchr.S: New file.
38401 * string/test-strcmp.c: Remove checking of wcscmp function for
38403 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38404 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38405 wcsrchr-sse2 wcsrchr-c.
38406 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38407 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38408 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38409 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38410 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38411 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38412 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38413 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38414 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38415 * wcsmbc/wcschr.c (WCSCHR): New macro.
38417 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38419 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38420 * wcsmbs/test-wcsrchr.c: New file.
38421 * string/test-strrchr.c: Add wcsrchr support.
38423 * wcsmbs/test-wcscpy.c: New file.
38424 * string/test-strcpy.c: Add wcscpy support.
38427 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38429 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38432 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38435 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38437 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38439 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38440 Minor optimizations.
38442 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38443 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38444 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38446 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38448 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38449 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38450 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38451 for gcc to avoid warnings.
38452 * inet/Makefile (tests): Add tst-checks.
38453 * inet/tst-checks.c: New file.
38455 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38458 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38461 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38462 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38464 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38466 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38468 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38471 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38473 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38475 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38476 conditional on GCC version.
38477 (__arch_compare_and_exchange_val_8_acq)
38478 (__arch_compare_and_exchange_val_16_acq)
38479 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38480 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38481 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38483 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38485 * sysdeps/sh/backtrace.c: New file.
38487 2011-12-02 Andreas Schwab <schwab@redhat.com>
38489 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38492 2011-12-01 Andreas Schwab <schwab@redhat.com>
38494 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38495 falling back to utime.
38497 2011-11-30 Andreas Schwab <schwab@redhat.com>
38499 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38500 expectations for float.
38502 2011-11-29 Andreas Schwab <schwab@redhat.com>
38504 * locale/weight.h (findidx): Add parameter len.
38505 * locale/weightwc.h (findidx): Likewise.
38506 * posix/fnmatch_loop.c (FCT): Adjust caller.
38507 * posix/regcomp.c (build_equiv_class): Likewise.
38508 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38509 * posix/regexec.c (check_node_accept_bytes): Likewise.
38510 * string/strcoll_l.c (STRCOLL): Likewise.
38511 * string/strxfrm_l.c (STRXFRM): Likewise.
38513 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38515 * Makefile.in: Remove CVSOPT handling.
38516 * configure.in: Remove use of AC_REVISION.
38517 * iconvdata/Makefile (distribute): No need to filter out CVS.
38518 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38521 2011-11-16 Andreas Schwab <schwab@redhat.com>
38523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38524 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38525 [USE_AS_STRNCASECMP_L]: Likewise.
38526 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38527 NO_TLS_DIRECT_SEG_REFS.
38528 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38529 Fix argument offsets for non-PIC.
38530 [USE_AS_STRNCASECMP_L]: Likewise.
38531 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38532 NO_TLS_DIRECT_SEG_REFS.
38534 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38536 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38538 * locale/loadlocale.c (_nl_load_locale): Likewise.
38540 2011-11-15 Andreas Schwab <schwab@redhat.com>
38542 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38543 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38544 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38545 (SYSCALL_GETTIME): Set errno on error.
38547 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38548 count references to noai6ai_cached.
38550 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38552 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38554 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38555 FD_CLOEXEC for /proc/self/maps.
38557 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38558 FD_CLOEXEC for /proc/meminfo.
38560 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38563 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38564 FD_CLOEXEC for given file.
38566 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38568 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38569 FD_CLOEXEC for /etc/hosts.
38570 (_gethtent): Likewise.
38572 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38574 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38575 cancellation and set FD_CLOEXEC for /etc/netgroup.
38577 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38578 reading /etc/publickey.
38580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38581 allow cancellation when reading /etc/group.
38583 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38585 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38587 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38588 when using data file.
38590 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38592 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38593 (write_nis_obj): Use "c" and "e" in fopen.
38595 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38597 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38599 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38601 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38603 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38606 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38608 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38610 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38612 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38613 file parsing and set FD_CLOEXEC.
38615 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38617 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38619 2011-11-14 Andreas Schwab <schwab@redhat.com>
38621 * malloc/arena.c (arena_get2): Don't call reused_arena when
38622 _int_new_arena failed.
38624 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38626 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38627 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38628 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38629 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38630 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38631 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38632 to compile strcasecmp and strncasecmp.
38633 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38634 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38638 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38640 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38641 locale-defines.sym to gen-as-const-headers.
38642 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38643 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38645 to compile strcasecmp and strncasecmp.
38646 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38647 strcasecmp_l and strncasecmp_l.
38648 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38649 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38650 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38651 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38652 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38653 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38654 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38655 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38656 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38657 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38658 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38660 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38662 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38663 result of SYSDEP_GETTIME_CPU to retval.
38664 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38665 parameter list to macro. Remove trailing semicolon. Adjust users.
38667 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38670 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38672 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38674 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38675 from unused variable.
38677 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38679 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38682 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38685 * sunrpc/rpc_prot.c (rejected): Fix case value.
38687 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38688 unsigned long long int to avoid warnings in shift.
38690 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38692 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38695 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38696 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38697 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38699 * nis/nis_table.c (nis_list): Use variable of correct type for
38700 result of __follow_path call.
38702 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38704 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38705 of math functions ceil, trunc, floor, round, and sqrt, when
38706 avaliable on the platform.
38707 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38709 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38710 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38711 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38713 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38715 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38716 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38718 2011-11-11 Roland McGrath <roland@hack.frob.com>
38720 * include/unistd.h: Fix __readlink return type.
38721 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38723 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38725 * stdlib/ucontext.h: Undo last change for makecontext.
38727 2011-11-11 Andreas Schwab <schwab@redhat.com>
38729 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38731 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38732 * setjmp/setjmp.h: Mark functions as non-leaf.
38733 * setjmp/bits/setjmp2.h: Likewise.
38734 * stdlib/ucontext.h: Likewise.
38736 2011-11-10 Andreas Schwab <schwab@redhat.com>
38738 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38739 (reused_arena): Don't check arena limit.
38740 (arena_get2): Atomically check arena limit.
38742 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38744 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38745 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38750 2011-11-07 Andreas Schwab <schwab@redhat.com>
38752 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38753 handler when locking.
38755 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38756 Fix size of allocated buffer.
38758 2011-11-04 Andreas Schwab <schwab@redhat.com>
38761 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38762 declarations for long double functions.
38763 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38765 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38767 2011-11-03 Andreas Schwab <schwab@redhat.com>
38769 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38772 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38775 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38777 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38779 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38781 * include/alloca.h (stackinfo_alloca_round): Define.
38782 (extend_alloca): Use it.
38783 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38784 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38787 * scripts/check-local-headers.sh: Ignore libaudit.h.
38789 * nscd/Makefile (extra-objs): Make recursively expanded.
38791 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38793 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38796 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38797 * posix/tst-rfc3484-2.c: Likewise.
38798 * posix/tst-rfc3484-3.c: Likewise.
38800 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38802 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38804 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38805 process_vm_writev from libc using GLIBC_2.15 version.
38807 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38809 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38811 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38814 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38817 * nss/getent.c (initgroups_keys): Show error message in case no group
38820 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38821 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38822 __bump_nl_timestamp.
38823 * nscd/connections (nscd_init): When host database is served open
38824 netlink socket and request notification about configuration changes.
38825 (main_loop_poll): Track netlink file descriptor and bump timestamp
38826 in case data becomes available.
38827 (main_loop_epoll): Likewise.
38828 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38829 (database_pers_head): Add extra_data fileds.
38830 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38831 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38832 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38835 in6ai data, call __free_in6ai.
38836 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38837 Add -DHAVE_NETLINK.
38838 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38839 interface information. Reuse previous data if netlink timestamp
38841 (__bump_nl_timestamp): New function.
38842 (__free_in6ai): New function.
38844 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38846 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38847 close_not_cancel_no_status here.
38848 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38850 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38853 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38856 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38857 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38858 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38860 2011-07-03 Andreas Jaeger <aj@suse.de>
38863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38864 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38865 * math/libm-test.inc (sin_test): Add test case.
38867 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38870 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38871 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38873 * elf/chroot_canon.c (chroot_canon): Cleanups.
38875 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38878 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38879 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38881 * string/test-strchr.c: Make usable for strchrnul testing.
38882 * string/test-strchrnul.c: New file.
38883 * string/Makefile (strop-tests): Add strchrnul.
38885 * po/it.po: Update from translation team.
38886 * po/es.po: Likewise.
38888 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38890 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38891 the three constants needed as parameters. Drop the others.
38892 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38893 __m128i_strloadu_tolower.
38894 Create and initialize variable zero and use it in all the places
38895 where _mm_setzero_si128 was used.
38897 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38898 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38899 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38900 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38902 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38903 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38904 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38905 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38906 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38907 __mpranred, __mptan.
38908 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38909 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38910 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38911 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38912 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38913 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38914 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38915 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38916 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38918 2011-10-28 Andreas Schwab <schwab@redhat.com>
38920 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38921 redefine if SHARED.
38922 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38925 wide char related routines to wcsmbs subdir.
38927 2011-10-27 Andreas Schwab <schwab@redhat.com>
38930 * misc/sys/cdefs.h (__THROWNL): Define.
38931 * posix/unistd.h: Use __THREADNL instead of __THREAD
38932 for memory synchronization functions.
38934 2011-10-26 Roland McGrath <roland@hack.frob.com>
38937 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38939 * manual/stdio.texi (Obstack Streams): Node removed.
38941 2011-10-26 Andreas Schwab <schwab@redhat.com>
38943 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38944 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38945 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38947 * math/math_private.h (math_force_eval): Allow non-addressable
38949 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38951 2011-10-25 Ulrich Drepper <drepper@gmail.com>
38953 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38954 file is not needed.
38956 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38957 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38958 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38959 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38960 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38961 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38962 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38963 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38965 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38966 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38967 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38968 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38969 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38970 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38971 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38972 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38973 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38974 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38975 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38976 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38977 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38978 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38979 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38980 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38981 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38982 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38983 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38985 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38986 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38989 place. Use VEX encoding when compiling for AVX.
38991 2011-10-25 Andreas Schwab <schwab@redhat.com>
38993 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38994 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38996 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38998 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39000 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39001 useless if() expression.
39002 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39003 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39004 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39006 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39007 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39008 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39010 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39011 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39012 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39013 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39014 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39015 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39016 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39018 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39020 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39022 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39024 2011-10-25 Andreas Schwab <schwab@redhat.com>
39026 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39028 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39030 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39032 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39033 .text section. Avoid duplicate constants.
39034 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39044 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39045 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39046 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39047 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39048 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39049 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39050 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39051 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39052 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39053 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39054 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39055 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39056 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39057 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39058 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39059 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39060 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39061 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39062 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39063 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39064 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39065 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39066 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39067 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39068 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39069 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39070 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39071 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39072 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39073 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39074 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39075 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39076 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39077 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39078 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39080 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39082 * sysdeps/x86_64/dla.h: Move to ...
39083 * sysdeps/x86_64/fpu/dla.h: ...here.
39084 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39085 situations. Use __builtin_fma only for gcc 4.6 and up.
39087 * config.make.in: Add have-mfma4 entry.
39088 * configure.in: Substitute libc_cv_cc_fma4.
39089 * math/Makefile (dbl-only-routines): Add sincostab.
39090 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39091 Use __sincostab not sincos.
39092 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39094 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39099 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39100 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39101 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39102 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39104 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39105 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39107 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39108 define aliases when function name is a macro.
39109 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39110 sysdeps/ieee754/dbl-64/sincos.tbl.
39111 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39112 fma4-enabled routines.
39113 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39114 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39115 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39116 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39117 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39118 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39120 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39122 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39123 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39124 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39125 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39126 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39127 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39128 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39129 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39130 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39131 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39132 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39133 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39134 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39136 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39137 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39138 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39139 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39140 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39141 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39142 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39144 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39152 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39155 2011-10-24 Andreas Schwab <schwab@redhat.com>
39157 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39159 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39161 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39163 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39165 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39167 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39168 Remove unused variable magic_bits.
39169 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39171 * string/strnlen.c: Define and use STRNLEN macro.
39172 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39173 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39174 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39175 * wcsmbs/wcslen.c: Define and use WCSLEN.
39176 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39177 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39178 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39179 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39180 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39181 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39182 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39184 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39187 strnlen-sse2-no-bsf.
39188 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39190 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39191 Add strnlen support.
39192 (USE_AS_STRNLEN): New macro.
39193 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39194 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39195 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39196 * sysdeps/x86_64/wcslen.S: New file.
39198 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39200 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39201 XMM-moves are used for copying on small sizes.
39203 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39205 * wcsmbs/Makefile (strop-tests): Add wcschr.
39206 * wcsmbs/test-wcschr.c: New file.
39207 * string/test-strchr.c: Update.
39208 Add wcschr support.
39211 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39213 * wcsmbs/Makefile (strop-tests): Add wcslen.
39214 * wcsmbs/test-wcslen.c: New file.
39215 * string/test-strlen.c: Update.
39216 Add wcslen support.
39219 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39221 * po/it.po: Update from translation team.
39223 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39225 * sysdeps/x86_64/wcscmp.S: Update.
39226 Fix wrong comparison semantics.
39227 wcscmp shall use signed comparison not unsigned.
39228 Don't use substraction to avoid overflow bug.
39229 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39230 * wcsmbc/wcscmp.c: Likewise.
39231 * string/test-strcmp.c: Likewise.
39232 Add new tests to check cases with negative values.
39234 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39236 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39237 * sysdeps/x86_64/dla.h: ...here. New file.
39238 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39239 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39243 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39245 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39248 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39251 __ynl_finite aliases.
39253 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39257 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39259 [DLA_FMA] (EMULV): Use DLA_FMA.
39260 [DLA_FMA] (MUL12): Use EMULV.
39261 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39262 that are not needed.
39263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39271 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39273 * math/s_nan.c: Undef __nan.
39274 * math/s_nanf.c: Undef __nanf.
39275 * math/s_nanl.c: Undef __nanl.
39276 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39279 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39281 * math/s_catan.c: Add branch predictions.
39282 * math/s_catanf.c: Likewise.
39283 * math/s_catanh.c: Likewise.
39284 * math/s_catanhf.c: Likewise.
39285 * math/s_catanhl.c: Likewise.
39286 * math/s_catanl.c: Likewise.
39287 * math/s_cexp.c: Likewise.
39288 * math/s_cexpf.c: Likewise.
39289 * math/s_cexpl.c: Likewise.
39290 * math/s_clog.c: Likewise.
39291 * math/s_clog10.c: Likewise.
39292 * math/s_clog10f.c: Likewise.
39293 * math/s_clog10l.c: Likewise.
39294 * math/s_clogf.c: Likewise.
39295 * math/s_clogl.c: Likewise.
39296 * math/s_csqrt.c: Likewise.
39297 * math/s_csqrtf.c: Likewise.
39298 * math/s_csqrtl.c: Likewise.
39299 * math/s_ctanf.c: Likewise.
39300 * math/s_ctanh.c: Likewise.
39301 * math/s_ctanhf.c: Likewise.
39302 * math/s_ctanhl.c: Likewise.
39303 * math/s_ctanl.c: Likewise.
39305 * math/math_private.h: Define __nan, __nanf, __nanl.
39306 * math/s_cacosh.c: Include <math_private.h>.
39307 * math/s_cacoshl.c: Likewise.
39308 * math/s_casinh.c: Likewise.
39309 * math/s_casinhf.c: Likewise.
39310 * math/s_casinhl.c: Likewise.
39311 * math/s_ccos.c: Rely entire on ccosh.
39312 * math/s_ccosf.c: Rely entire on ccoshf.
39313 * math/s_ccosl.c: Rely entirely on ccoshl.
39314 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39315 Remove tests for FE_INVALID.
39316 * math/s_ccoshf.c: Likewise.
39317 * math/s_ccoshl.c: Likewise.
39318 * math/s_csin.c: Likewise.
39319 * math/s_csinf.c: Likewise.
39320 * math/s_csinh.c Likewise.
39321 * math/s_csinhf.c: Likewise.
39322 * math/s_csinhl.c: Likewise.
39323 * math/s_csinl.c: Likewise.
39324 * math/s_ctan.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39326 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39327 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39329 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39332 compilation problems.
39334 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39337 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39339 * sysdeps/i386/configure.in: Test for -mfma4 option.
39340 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39341 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39342 COMMON_CPUID_INDEX_80000001.
39343 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39344 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39345 use it if FMA3 is not supported.
39346 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39348 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39349 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39351 2011-10-20 Andreas Schwab <schwab@redhat.com>
39354 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39355 it would create a cycle with a link time dependency.
39357 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39359 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39361 * string/Makefile (strop-tests): Add rawmemchr.
39362 * string/test-rawmemchr.c: New file.
39364 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39365 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39366 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39367 when compiling str{,n}casecmp and when AVX is available. Hook up
39368 new optimized code in initializers.
39370 2011-10-19 Andreas Schwab <schwab@redhat.com>
39372 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39373 __feraiseexcept instead of feraiseexcept.
39375 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39377 * math/math_private.h: Define defaults for libc_fetestexcept and
39379 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39380 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39381 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39382 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39383 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39384 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39385 libc_fetestexcept and libc_feupdateenv.
39387 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39388 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39389 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39390 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39391 libc_feholdexcept_setround.
39393 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39394 Add s_nearbyint-c and s_nearbyintf-c.
39395 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39396 nearbyintf inlines.
39397 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39398 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39399 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39400 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39402 * math/math_private.h: Define defaults for libc_fegetround,
39403 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39404 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39405 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39406 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39407 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39408 standard functions.
39409 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39410 Remove comments and hacks for old compiler versions.
39411 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39412 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39413 libc_feholdexceptl.
39415 2011-10-18 Andreas Schwab <schwab@redhat.com>
39417 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39418 (__feraiseexcept_renamed): Add __NTH.
39419 (feraiseexcept): Add __NTH. Rename local variables to fix
39420 namespace violations.
39422 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39424 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39426 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39428 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39429 recently added interfaces.
39430 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39432 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39433 about macro parameter expansion.
39435 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39436 __NO_MATH_INLINES is defined. Cleanups.
39438 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39439 and __floorf is target has SSE4.1.
39440 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39441 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39442 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39443 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39445 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39447 (floorf): Likewise.
39449 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39451 2011-10-17 Andreas Schwab <schwab@redhat.com>
39453 * misc/sys/cdefs.h: Fix last change.
39455 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39458 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39460 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39462 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39463 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39464 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39466 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39467 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39468 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39469 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39470 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39471 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39472 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39473 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39474 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39475 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39476 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39477 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39478 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39479 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39480 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39481 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39482 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39483 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39485 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39486 ceil, ceilf, floor, floorf.
39488 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39489 Perform IRELATIVE relocations last.
39491 * elf/do-rel.h: Add another parameter nrelative, replacing the
39492 local variable with the same name. Change name of the function
39493 to end in Rel or Rela (uppercase).
39494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39495 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39496 elf_dynamic_do_##reloc function.
39498 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39500 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39501 is sufficient, at least on modern CPUs.
39503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39505 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39508 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39510 * math/bits/math-finite.h: Add entries for exp.
39511 * math/e_expl.c: Add __*_finite alias.
39512 * sysdeps/i386/fpu/e_exp.S: Likewise.
39513 * sysdeps/i386/fpu/e_expf.S: Likewise.
39514 * sysdeps/i386/fpu/e_expl.c: Likewise.
39515 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39516 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39517 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39519 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39520 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39521 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39523 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39524 is sufficient, at least on modern CPUs.
39526 * ctype/ctype-info.c (__ctype_init): Define.
39527 * include/ctype.h (__ctype_init): Declare.
39528 (__ctype_b_loc): The variable is always initialized.
39529 (__ctype_toupper_loc): Likewise.
39530 (__ctype_tolower_loc): Likewise.
39531 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39532 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39534 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39536 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39538 * configure.in: Also look in $cxxmachine/include for C++ system
39541 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39543 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39544 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39545 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39546 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39547 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39548 (USE_AS_WMEMCMP): New macro.
39550 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39551 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39552 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39553 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39555 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39556 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39557 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39558 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39559 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39560 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39561 (USE_AS_WMEMCMP): New macro.
39562 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39563 * sysdeps/string/test-memcmp.c: Update.
39564 Fix simple_wmemcmp.
39566 * wcsmbs/wmemcmp.c: Update.
39567 (WMEMCMP): New macro.
39570 2011-10-12 Andreas Jaeger <aj@suse.de>
39573 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39575 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39577 * libio/iofwide.c (do_length): Avoid warning.
39579 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39581 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39583 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39585 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39586 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39587 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39588 * sysdeps/i386/i686/fpu/e_log.S: New file.
39589 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39590 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39592 * ctype/ctype.h: Add support for inlined isXXX functions when
39593 compiling C++ code.
39595 2011-10-14 Andreas Schwab <schwab@redhat.com>
39597 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39601 2011-10-13 Roland McGrath <roland@hack.frob.com>
39604 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39606 2011-10-13 Andreas Schwab <schwab@redhat.com>
39608 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39609 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39612 * sysdeps/x86_64/memrchr.S: Check for zero size.
39614 * string/stratcliff.c: Add memrchr tests.
39616 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39619 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39620 rawmemchr-sse2 rawmemchr-sse2-bsf.
39621 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39622 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39623 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39624 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39625 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39626 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39627 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39628 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39629 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39630 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39631 * string/memrchr.c (MEMRCHR): New macro.
39633 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39635 Add integration with gcc's -ffinite-math-only and optimize wrapper
39637 * Versions.def: Define GLIBC_2.15 version for libm.
39638 * math/Makefile (headers): Add bits/math-finite.h.
39639 * math/bits/math-finite.h: New file.
39640 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39641 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39642 * math/e_acoshl.c: Add __*_finite alias.
39643 * math/e_acosl.c: Likewise.
39644 * math/e_asinl.c: Likewise.
39645 * math/e_atan2l.c: Likewise.
39646 * math/e_atanhl.c: Likewise.
39647 * math/e_coshl.c: Likewise.
39648 * math/e_exp10.c: Likewise.
39649 * math/e_exp10f.c: Likewise.
39650 * math/e_exp10l.c: Likewise.
39651 * math/e_exp2l.c: Likewise.
39652 * math/e_fmodl.c: Likewise.
39653 * math/e_gammal_r.c: Likewise.
39654 * math/e_hypotl.c: Likewise.
39655 * math/e_j0l.c: Likewise.
39656 * math/e_j1l.c: Likewise.
39657 * math/e_jnl.c: Likewise.
39658 * math/e_lgammal_r.c: Likewise.
39659 * math/e_log10l.c: Likewise.
39660 * math/e_log2l.c: Likewise.
39661 * math/e_logl.c: Likewise.
39662 * math/e_powl.c: Likewise.
39663 * math/e_sinhl.c: Likewise.
39664 * math/e_sqrtl.c: Likewise.
39665 * math/e_scalb.c: Completely rewritten and optimized.
39666 * math/e_scalbf.c: Likewise.
39667 * math/e_scalbl.c: Likewise.
39668 * math/w_acos.c: Likewise.
39669 * math/w_acosf.c: Likewise.
39670 * math/w_acosl.c: Likewise.
39671 * math/w_acosh.c: Likewise.
39672 * math/w_acoshf.c: Likewise.
39673 * math/w_acoshl.c: Likewise.
39674 * math/w_asin.c: Likewise.
39675 * math/w_asinf.c: Likewise.
39676 * math/w_asinl.c: Likewise.
39677 * math/w_atan2.c: Likewise.
39678 * math/w_atan2f.c: Likewise.
39679 * math/w_atan2l.c: Likewise.
39680 * math/w_atanh.c: Likewise.
39681 * math/w_atanhf.c: Likewise.
39682 * math/w_atanhl.c: Likewise.
39683 * math/w_exp10.c: Likewise.
39684 * math/w_exp10f.c: Likewise.
39685 * math/w_exp10l.c: Likewise.
39686 * math/w_fmod.c: Likewise.
39687 * math/w_fmodf.c: Likewise.
39688 * math/w_fmodl.c: Likewise.
39689 * math/w_j0.c: Likewise.
39690 * math/w_j0f.c: Likewise.
39691 * math/w_j0l.c: Likewise.
39692 * math/w_j1.c: Likewise.
39693 * math/w_j1f.c: Likewise.
39694 * math/w_j1l.c: Likewise.
39695 * math/w_jn.c: Likewise.
39696 * math/w_jnf.c: Likewise.
39697 * math/w_log.c: Likewise.
39698 * math/w_logf.c: Likewise.
39699 * math/w_logl.c: Likewise.
39700 * math/w_log10.c: Likewise.
39701 * math/w_log10f.c: Likewise.
39702 * math/w_log10l.c: Likewise.
39703 * math/w_log2.c: Likewise.
39704 * math/w_log2f.c: Likewise.
39705 * math/w_log2l.c: Likewise.
39706 * math/w_pow.c: Likewise.
39707 * math/w_powf.c: Likewise.
39708 * math/w_powl.c: Likewise.
39709 * math/w_remainder.c: Likewise.
39710 * math/w_remainderf.c: Likewise.
39711 * math/w_remainderl.c: Likewise.
39712 * math/w_scalb.c: Likewise.
39713 * math/w_scalbf.c: Likewise.
39714 * math/w_scalbl.c: Likewise.
39715 * math/w_sqrt.c: Likewise.
39716 * math/w_sqrtf.c: Likewise.
39717 * math/w_sqrtl.c: Likewise.
39718 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39719 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39721 * math/math_private.h: Declare __kernel_standard_f.
39722 * math/w_cosh.c: Remove cruft and optimize a bit.
39723 * math/w_coshf.c: Likewise.
39724 * math/w_coshl.c: Likewise.
39725 * math/w_exp2.c: Likewise.
39726 * math/w_exp2f.c: Likewise.
39727 * math/w_exp2l.c: Likewise.
39728 * math/w_hypot.c: Likewise.
39729 * math/w_hypotf.c: Likewise.
39730 * math/w_hypotl.c: Likewise.
39731 * math/w_lgamma.c: Likewise.
39732 * math/w_lgamma_r.c: Likewise.
39733 * math/w_lgammaf.c: Likewise.
39734 * math/w_lgammaf_r.c: Likewise.
39735 * math/w_lgammal.c: Likewise.
39736 * math/w_lgammal_r.c: Likewise.
39737 * math/w_sinh.c: Likewise.
39738 * math/w_sinhf.c: Likewise.
39739 * math/w_sinhl.c: Likewise.
39740 * math/w_tgamma.c: Likewise.
39741 * math/w_tgammaf.c: Likewise.
39742 * math/w_tgammal.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39744 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39745 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39746 Minor optimizations. Pretty printing. Remove cruft.
39747 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39748 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39749 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39750 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39751 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39752 * sysdeps/i386/fpu/e_asin.S: Likewise.
39753 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39754 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39755 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39756 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39757 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39758 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39759 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39760 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39761 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39762 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39763 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39764 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39765 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39766 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39767 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39768 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39769 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39770 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39771 * sysdeps/i386/fpu/e_log.S: Likewise.
39772 * sysdeps/i386/fpu/e_log10.S: Likewise.
39773 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39774 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39775 * sysdeps/i386/fpu/e_log2.S: Likewise.
39776 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39777 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39778 * sysdeps/i386/fpu/e_logf.S: Likewise.
39779 * sysdeps/i386/fpu/e_logl.S: Likewise.
39780 * sysdeps/i386/fpu/e_pow.S: Likewise.
39781 * sysdeps/i386/fpu/e_powf.S: Likewise.
39782 * sysdeps/i386/fpu/e_powl.S: Likewise.
39783 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39784 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39785 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39786 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39787 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39788 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39789 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39790 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39791 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39795 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39796 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39797 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39798 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39808 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39809 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39810 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39812 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39813 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39814 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39815 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39816 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39817 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39818 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39819 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39820 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39821 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39822 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39823 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39824 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39825 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39826 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39827 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39828 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39829 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39830 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39831 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39832 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39833 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39834 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39835 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39836 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39837 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39838 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39839 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39840 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39841 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39842 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39843 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39844 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39846 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39847 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39848 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39849 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39850 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39851 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39852 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39863 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39864 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39865 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39866 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39868 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39869 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39870 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39872 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39873 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39875 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39877 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39880 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39883 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39884 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39885 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39886 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39887 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39888 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39889 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39890 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39891 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39892 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39893 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39894 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39895 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39896 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39898 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39899 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39900 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39901 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39902 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39903 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39904 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39905 (__isnanf): Likewise.
39906 (__isinf_ns): Likewise.
39907 (__isinf_nsf): Likewise.
39908 (__finite): Likewise.
39909 (__finitef): Likewise.
39910 (__ieee754_sqrt): Define as macro.
39911 (__ieee754_sqrtf): Define as macro.
39912 (__ieee754_sqrtl): Define as macro.
39913 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39915 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39916 __FINITE_MATH_ONLY__ consistent.
39917 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39919 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39921 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39924 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39926 2011-10-09 Ulrich Drepper <drepper@gmail.com>
39928 * po/ja.po: Update from translation team.
39930 2011-10-08 Roland McGrath <roland@hack.frob.com>
39932 * locale/programs/locarchive.c (prepare_address_space): New function.
39933 (create_archive, enlarge_archive, open_archive): Use it.
39935 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39936 inside [SHARED], where it is used.
39938 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39940 * nss/getent.c (netgroup_keys): Remove unused variable.
39941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39943 2011-10-08 Ulrich Drepper <drepper@gmail.com>
39945 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39946 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39947 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39948 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39949 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39950 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39951 * math/Makefile (libm-calls): Add s_isinf_ns.
39952 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39953 * math/multc3.c: Likewise.
39954 * math/s_casin.c: Likewise.
39955 * math/s_casinf.c: Likewise.
39956 * math/s_casinl.c: Likewise.
39957 * math/s_ccos.c: Likewise.
39958 * math/s_ccosf.c: Likewise.
39959 * math/s_ccosl.c: Likewise.
39960 * math/s_ctan.c: Likewise.
39961 * math/s_ctanf.c: Likewise.
39962 * math/s_ctanh.c: Likewise.
39963 * math/s_ctanhf.c: Likewise.
39964 * math/s_ctanhl.c: Likewise.
39965 * math/s_ctanl.c: Likewise.
39966 * math/w_fmod.c: Likewise.
39967 * math/w_fmodf.c: Likewise.
39968 * math/w_fmodl.c: Likewise.
39969 * math/w_remainder.c: Likewise.
39970 * math/w_remainderf.c: Likewise.
39971 * math/w_remainderl.c: Likewise.
39972 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39973 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39974 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39975 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39976 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39977 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39978 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39979 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39981 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39983 * stdio-common/printf_fphex.c: Likewise.
39984 * stdio-common/printf_size.c: Likewise.
39986 * math/e_exp10.c: Include math_private.h using <...> not "...".
39987 * math/e_exp10f.c: Likewise.
39988 * math/e_exp10l.c: Likewise.
39989 * math/e_exp2l.c: Likewise.
39990 * math/e_j0l.c: Likewise.
39991 * math/e_j1l.c: Likewise.
39992 * math/e_jnl.c: Likewise.
39993 * math/e_lgammal_r.c: Likewise.
39994 * math/e_rem_pio2l.c: Likewise.
39995 * math/e_scalb.c: Likewise.
39996 * math/e_scalbf.c: Likewise.
39997 * math/e_scalbl.c: Likewise.
39998 * math/k_cosl.c: Likewise.
39999 * math/k_sinl.c: Likewise.
40000 * math/k_tanl.c: Likewise.
40001 * math/s_cacoshf.c: Likewise.
40002 * math/s_catan.c: Likewise.
40003 * math/s_catanf.c: Likewise.
40004 * math/s_catanh.c: Likewise.
40005 * math/s_catanhf.c: Likewise.
40006 * math/s_catanhl.c: Likewise.
40007 * math/s_catanl.c: Likewise.
40008 * math/s_ccosh.c: Likewise.
40009 * math/s_ccoshf.c: Likewise.
40010 * math/s_ccoshl.c: Likewise.
40011 * math/s_cexp.c: Likewise.
40012 * math/s_cexpf.c: Likewise.
40013 * math/s_cexpl.c: Likewise.
40014 * math/s_clog.c: Likewise.
40015 * math/s_clog10.c: Likewise.
40016 * math/s_clog10f.c: Likewise.
40017 * math/s_clog10l.c: Likewise.
40018 * math/s_clogf.c: Likewise.
40019 * math/s_clogl.c: Likewise.
40020 * math/s_csin.c: Likewise.
40021 * math/s_csinf.c: Likewise.
40022 * math/s_csinh.c: Likewise.
40023 * math/s_csinhf.c: Likewise.
40024 * math/s_csinhl.c: Likewise.
40025 * math/s_csinl.c: Likewise.
40026 * math/s_csqrt.c: Likewise.
40027 * math/s_csqrtf.c: Likewise.
40028 * math/s_csqrtl.c: Likewise.
40029 * math/s_ctan.c: Likewise.
40030 * math/s_ctanf.c: Likewise.
40031 * math/s_ctanh.c: Likewise.
40032 * math/s_ctanhf.c: Likewise.
40033 * math/s_ctanhl.c: Likewise.
40034 * math/s_ctanl.c: Likewise.
40035 * math/s_ldexp.c: Likewise.
40036 * math/s_ldexpf.c: Likewise.
40037 * math/s_ldexpl.c: Likewise.
40038 * math/s_significand.c: Likewise.
40039 * math/s_significandf.c: Likewise.
40040 * math/s_significandl.c: Likewise.
40041 * math/w_acos.c: Likewise.
40042 * math/w_acosf.c: Likewise.
40043 * math/w_acosh.c: Likewise.
40044 * math/w_acoshf.c: Likewise.
40045 * math/w_acoshl.c: Likewise.
40046 * math/w_acosl.c: Likewise.
40047 * math/w_asin.c: Likewise.
40048 * math/w_asinf.c: Likewise.
40049 * math/w_asinl.c: Likewise.
40050 * math/w_atan2.c: Likewise.
40051 * math/w_atan2f.c: Likewise.
40052 * math/w_atan2l.c: Likewise.
40053 * math/w_atanh.c: Likewise.
40054 * math/w_atanhf.c: Likewise.
40055 * math/w_atanhl.c: Likewise.
40056 * math/w_cosh.c: Likewise.
40057 * math/w_coshf.c: Likewise.
40058 * math/w_coshl.c: Likewise.
40059 * math/w_dremf.c: Likewise.
40060 * math/w_exp10.c: Likewise.
40061 * math/w_exp10f.c: Likewise.
40062 * math/w_exp10l.c: Likewise.
40063 * math/w_exp2.c: Likewise.
40064 * math/w_exp2f.c: Likewise.
40065 * math/w_fmod.c: Likewise.
40066 * math/w_fmodf.c: Likewise.
40067 * math/w_fmodl.c: Likewise.
40068 * math/w_hypot.c: Likewise.
40069 * math/w_hypotf.c: Likewise.
40070 * math/w_hypotl.c: Likewise.
40071 * math/w_j0.c: Likewise.
40072 * math/w_j0f.c: Likewise.
40073 * math/w_j0l.c: Likewise.
40074 * math/w_j1.c: Likewise.
40075 * math/w_j1f.c: Likewise.
40076 * math/w_j1l.c: Likewise.
40077 * math/w_jn.c: Likewise.
40078 * math/w_jnf.c: Likewise.
40079 * math/w_jnl.c: Likewise.
40080 * math/w_lgamma.c: Likewise.
40081 * math/w_lgamma_r.c: Likewise.
40082 * math/w_lgammaf.c: Likewise.
40083 * math/w_lgammaf_r.c: Likewise.
40084 * math/w_lgammal.c: Likewise.
40085 * math/w_lgammal_r.c: Likewise.
40086 * math/w_log.c: Likewise.
40087 * math/w_log10.c: Likewise.
40088 * math/w_log10f.c: Likewise.
40089 * math/w_log10l.c: Likewise.
40090 * math/w_log2.c: Likewise.
40091 * math/w_log2f.c: Likewise.
40092 * math/w_log2l.c: Likewise.
40093 * math/w_logf.c: Likewise.
40094 * math/w_logl.c: Likewise.
40095 * math/w_pow.c: Likewise.
40096 * math/w_powf.c: Likewise.
40097 * math/w_powl.c: Likewise.
40098 * math/w_remainder.c: Likewise.
40099 * math/w_remainderf.c: Likewise.
40100 * math/w_remainderl.c: Likewise.
40101 * math/w_scalb.c: Likewise.
40102 * math/w_scalbf.c: Likewise.
40103 * math/w_scalbl.c: Likewise.
40104 * math/w_sinh.c: Likewise.
40105 * math/w_sinhf.c: Likewise.
40106 * math/w_sinhl.c: Likewise.
40107 * math/w_sqrt.c: Likewise.
40108 * math/w_sqrtf.c: Likewise.
40109 * math/w_sqrtl.c: Likewise.
40110 * math/w_tgamma.c: Likewise.
40111 * math/w_tgammaf.c: Likewise.
40112 * math/w_tgammal.c: Likewise.
40114 * po/ja.po: Update from translation team.
40116 2011-09-29 Andreas Jaeger <aj@suse.de>
40119 * sunrpc/netname.c (netname2host): Fix logic.
40123 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40125 * math/w_remainder.c (__remainder): Likewise.
40126 * math/w_remainderf.c (__remainderf): Likewise.
40127 * math/libm-test.inc (remainder_test): Add test cases.
40129 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40131 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40134 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40136 * string/test-memcmp.c: Avoid unncessary #defines.
40137 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40139 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40141 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40142 Use new sse2 version for core i3 - i7 as it's faster
40143 than sse42 version.
40144 (bit_Prefer_PMINUB_for_stringop): New.
40145 * sysdeps/x86_64/rawmemchr.S: Update.
40146 Replace with faster SSE2 version.
40147 * sysdeps/x86_64/memrchr.S: New file.
40148 * sysdeps/x86_64/memchr.S: Update.
40149 Replace with faster SSE2 version.
40151 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40153 * elf/dl-load.c (lose): Add cast to avoid warning.
40155 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40157 * po/ca.po: Update from translation team.
40159 * inet/getnetgrent_r.c: Hook up nscd.
40160 * nscd/Makefile (routines): Add nscd_netgroup.
40161 (nscd-modules): Add netgroupcache.
40162 (CFLAGS-netgroupcache.c): Define.
40163 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40164 (cache_search): Add const to second parameter.
40165 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40167 (dbs): Add netgrdb entry.
40168 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40169 (verify_persistent_db): Handle netgrdb.
40170 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40171 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40173 (netgroup_response_header): Define.
40174 (innetgroup_response_header): Define.
40175 (datahead): Add netgroup_response_header and innetgroup_response_header
40177 * nscd/nscd.conf: Add entries for netgroup cache.
40178 * nscd/nscd.h (dbtype): Add netgrdb.
40179 (_PATH_NSCD_NETGROUP_DB): Define.
40180 (netgroup_iov_disabled): Declare.
40181 (xmalloc, xcalloc, xrealloc): Move declarations here.
40182 (cache_search): Adjust prototype.
40183 Add netgroup-related prototypes.
40184 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40185 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40186 (__nscd_innetgr): Declare.
40187 * nscd/selinux.c (perms): Use access_vector_t as element type and
40188 add netgroup-related initializers.
40189 * nscd/netgroupcache.c: New file.
40190 * nscd/nscd_netgroup.c: New file.
40191 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40192 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40193 For four parameters use innetgr.
40194 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40195 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40196 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40197 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40199 * nscd/connections.c (register_traced_file): Don't register file
40200 for disabled databases.
40202 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40204 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40206 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40207 from tree and freeing node.
40209 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40211 * nss/nsswitch.c (__nss_database_lookup): Handle
40212 nss_parse_service_list out of memory case.
40214 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40216 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40217 out of memory case.
40219 2011-10-04 Andreas Schwab <schwab@redhat.com>
40221 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40222 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40224 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40225 elf_machine_rela, elf_machine_lazy_rel.
40226 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40227 (ELF_DYNAMIC_DO_REL): Likewise.
40228 (ELF_DYNAMIC_DO_RELA): Likewise.
40229 (ELF_DYNAMIC_RELOCATE): Likewise.
40230 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40231 to ELF_DYNAMIC_DO_REL.
40232 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40233 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40234 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40236 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40237 skip_ifunc, don't call ifunc function if non-zero.
40238 (elf_machine_rela): Likewise.
40239 (elf_machine_lazy_rel): Likewise.
40240 (elf_machine_lazy_rela): Likewise.
40241 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40242 (elf_machine_lazy_rel): Likewise.
40243 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40245 (elf_machine_lazy_rel): Likewise.
40246 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40248 (elf_machine_lazy_rel): Likewise.
40249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40250 (elf_machine_lazy_rel): Likewise.
40251 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40252 (elf_machine_lazy_rel): Likewise.
40253 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40254 (elf_machine_lazy_rel): Likewise.
40255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40256 (elf_machine_lazy_rel): Likewise.
40257 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40258 (elf_machine_lazy_rel): Likewise.
40259 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40260 (elf_machine_lazy_rel): Likewise.
40262 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40264 * nss/nss_files/files-init.c (_nss_files_init): Use static
40265 initialization for all the *_traced_file variables.
40267 2011-09-28 Andreas Schwab <schwab@redhat.com>
40269 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40271 2011-09-27 Roland McGrath <roland@hack.frob.com>
40274 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40276 2011-09-27 Andreas Schwab <schwab@redhat.com>
40278 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40279 Reread the line before reparsing it.
40281 2011-09-26 Andreas Schwab <schwab@redhat.com>
40283 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40285 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40286 Maxim Kuvyrkov <maxim@codesourcery.com>
40287 Joseph Myers <joseph@codesourcery.com>
40289 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40290 if needed for __stack_chk_guard.
40292 2011-09-19 Roland McGrath <roland@hack.frob.com>
40294 * sysdeps/posix/spawni.c (script_execute): Always define it.
40295 It will be optimized away if unused.
40296 (maybe_script_execute): New function.
40297 (__spawni): Call it.
40299 * Makerules: Don't include tls.make.
40300 (config-tls): Always set to thread.
40301 * tls.make.c: File removed.
40303 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40305 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40306 * config.make.in (CPPFLAGS-config): New substituted variable.
40308 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40310 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40313 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40314 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40316 2011-09-15 Roland McGrath <roland@hack.frob.com>
40318 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40319 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40320 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40321 (CALL_FAIL): Likewise.
40322 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40323 (CALL_FAIL): Macro removed.
40324 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40326 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40328 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40329 for __FINITE_MATH_ONLY__ == 1.
40331 2011-09-15 Andreas Schwab <schwab@redhat.com>
40333 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40334 __ieee754_sqrt instead of sqrt.
40335 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40336 __ieee754_sqrtf instead of sqrtf.
40337 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40338 __floorf instead of floorf.
40339 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40340 __floorf, __truncf instead of floorf, truncf.
40342 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40344 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40346 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40347 __extern_always_inline.
40348 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40351 2011-09-14 Andreas Schwab <schwab@redhat.com>
40353 * elf/rtld.c (dl_main): Also relocate in dependency order when
40354 doing symbol dependency testing.
40356 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40359 Always define `refsym'.
40361 2011-09-13 Andreas Schwab <schwab@redhat.com>
40363 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40364 (__FD_ELT): Renamed from __FDELT.
40365 * misc/bits/select2.h (__FD_ELT): Likewise.
40366 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40367 __FD_MASK instead of __FDELT, __FDMASK.
40368 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40370 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40373 * elf/Makefile (gen-ldd): Fix pattern.
40375 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40376 (init_tls): Likewise.
40378 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40380 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40382 2011-09-12 Andreas Schwab <schwab@redhat.com>
40384 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40385 `struct cmsghdr *' instead of `void *'.
40386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40389 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40391 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40393 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40394 ldd_rewrite_script.
40396 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40398 * configure.in: Remove --with-tls option.
40399 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40400 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40401 out in case it is missing.
40402 * sysdeps/ia64/elf/configure.in: Likewise.
40403 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40404 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40405 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40406 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40407 * sysdeps/sh/elf/configure.in: Likewise.
40408 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40409 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40410 * sysdeps/x86_64/elf/configure.in: Likewise.
40411 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40412 * sysdeps/mach/hurd/tls.h: Likewise.
40415 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40418 * configure.in: Fix use of AC_INIT.
40420 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40422 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40424 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40426 * malloc/hooks.c: Likewise.
40429 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40430 variables statically.
40431 (narenas): Initialize.
40432 (list_lock): Initialize.
40433 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40434 initializtion of main_arena and list_lock. Small cleanups.
40435 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40436 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40437 Add initializers to main_arena and mp_.
40438 (malloc_state): Remove pagesize member. Change all users to use
40441 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40442 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40443 is always initialized.
40445 * malloc/malloc.c: Removed unused configurations and dead code.
40446 * malloc/arena.c: Likewise.
40447 * malloc/hooks.c: Likewise.
40448 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40450 * include/tls.h: Removed. USE___THREAD must always be defined.
40451 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40452 * elf/dl-libc.c: Likewise.
40453 * elf/dl-tsd.c: Likewise.
40454 * include/errno.h: Likewise.
40455 * include/netdb.h: Likewise.
40456 * include/resolv.h: Likewise.
40457 * inet/herrno-loc.c: Likewise.
40458 * inet/herrno.c: Likewise.
40459 * malloc/arena.c: Likewise.
40460 * malloc/hooks.c: Likewise.
40461 * malloc/malloc.c: Likewise.
40462 * resolv/res-state.c: Likewise.
40463 * resolv/res_libc.c: Likewise.
40464 * sysdeps/i386/dl-machine.h: Likewise.
40465 * sysdeps/ia64/dl-machine.h: Likewise.
40466 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40467 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40468 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40469 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40470 * sysdeps/sh/dl-machine.h: Likewise.
40471 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40472 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40473 * sysdeps/unix/i386/sysdep.S: Likewise.
40474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40475 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40476 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40480 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40484 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40485 * sysdeps/x86_64/dl-machine.h: Likewise.
40486 * tls.make.c: Likewise.
40488 * configure.in: Remove --with-__thread option. Make tests for
40489 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40490 tls_model attribute fail if no support is available. Remove
40492 * Makeconfig: Adjust for dropped configure option. All features are
40494 * Makerules: Likewise.
40495 * Versions.def: Likewise.
40496 * argp/argp-fmtstream.c: Likewise.
40497 * argp/argp-fmtstream.h: Likewise.
40498 * argp/argp-help.c: Likewise.
40499 * assert/assert.c: Likewise.
40500 * config.h.in: Likewise.
40501 * config.make.in: Likewise.
40502 * configure: Likewise.
40503 * configure.in: Likewise.
40504 * csu/Versions: Likewise.
40505 * csu/init.c: Likewise.
40506 * elf/tst-audit2.c: Likewise.
40507 * elf/tst-tls10.c: Likewise.
40508 * elf/tst-tls10.h: Likewise.
40509 * elf/tst-tls11.c: Likewise.
40510 * elf/tst-tls12.c: Likewise.
40511 * elf/tst-tls14.c: Likewise.
40512 * elf/tst-tlsmod11.c: Likewise.
40513 * elf/tst-tlsmod12.c: Likewise.
40514 * elf/tst-tlsmod13.c: Likewise.
40515 * elf/tst-tlsmod13a.c: Likewise.
40516 * elf/tst-tlsmod14a.c: Likewise.
40517 * elf/tst-tlsmod15b.c: Likewise.
40518 * elf/tst-tlsmod16a.c: Likewise.
40519 * elf/tst-tlsmod16b.c: Likewise.
40520 * elf/tst-tlsmod7.c: Likewise.
40521 * elf/tst-tlsmod8.c: Likewise.
40522 * elf/tst-tlsmod9.c: Likewise.
40523 * gmon/gmon.c: Likewise.
40524 * grp/fgetgrent_r.c: Likewise.
40525 * grp/putgrent.c: Likewise.
40526 * hurd/fopenport.c: Likewise.
40527 * include/libc-symbols.h: Likewise.
40528 * include/tls.h: Likewise.
40529 * intl/gettextP.h: Likewise.
40530 * intl/loadinfo.h: Likewise.
40531 * locale/global-locale.c: Likewise.
40532 * locale/localeinfo.h: Likewise.
40533 * mach/devstream.c: Likewise.
40534 * malloc/arena.c: Likewise.
40535 * malloc/set-freeres.c: Likewise.
40536 * misc/err.c: Likewise.
40537 * misc/getttyent.c: Likewise.
40538 * misc/mntent_r.c: Likewise.
40539 * posix/getopt.c: Likewise.
40540 * posix/wordexp.c: Likewise.
40541 * pwd/fgetpwent_r.c: Likewise.
40542 * resolv/Versions: Likewise.
40543 * resolv/res_hconf.c: Likewise.
40544 * shadow/fgetspent_r.c: Likewise.
40545 * shadow/putspent.c: Likewise.
40546 * stdio-common/printf_fphex.c: Likewise.
40547 * stdio-common/tmpfile.c: Likewise.
40548 * stdlib/abort.c: Likewise.
40549 * stdlib/fmtmsg.c: Likewise.
40550 * sunrpc/auth_unix.c: Likewise.
40551 * sunrpc/clnt_perr.c: Likewise.
40552 * sunrpc/clnt_tcp.c: Likewise.
40553 * sunrpc/clnt_udp.c: Likewise.
40554 * sunrpc/clnt_unix.c: Likewise.
40555 * sunrpc/openchild.c: Likewise.
40556 * sunrpc/svc_simple.c: Likewise.
40557 * sunrpc/svc_tcp.c: Likewise.
40558 * sunrpc/svc_udp.c: Likewise.
40559 * sunrpc/svc_unix.c: Likewise.
40560 * sunrpc/xdr.c: Likewise.
40561 * sunrpc/xdr_array.c: Likewise.
40562 * sunrpc/xdr_rec.c: Likewise.
40563 * sunrpc/xdr_ref.c: Likewise.
40564 * sunrpc/xdr_stdio.c: Likewise.
40566 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40568 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40570 2011-07-03 Andreas Jaeger <aj@suse.de>
40572 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40573 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40574 regenerate with gen-libm-tests.pl.
40576 2010-05-12 Petr Baudis <pasky@suse.cz>
40579 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40580 around j0() zero points by switching to j1().
40581 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40582 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40584 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40586 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40588 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40590 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40593 Patch in part by Pavel Roskin <proski@gnu.org>.
40596 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40598 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40599 Free memory block if necessary.
40602 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40603 be NULL. Don't lock in this case.
40605 2011-09-09 Roland McGrath <roland@hack.frob.com>
40607 * elf/elf.h (ELFOSABI_GNU): New macro.
40608 (ELFOSABI_LINUX): Define to that.
40610 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40612 * string/strncat.c (strncat): Undef the symbol in case it has been
40613 defined in bits/string.h.
40615 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40617 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40619 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40622 2011-08-17 Andreas Jaeger <aj@suse.de>
40624 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40626 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40627 Ian Lance Taylor <iant@google.com>
40629 * math/libm-test.inc (lround_test): New testcase.
40630 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40632 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40634 * Makefile: Remove support for automatic cvs check-ins.
40635 * Makerules: Likewise.
40636 * config.make.in: Likewise.
40637 * configure.in: Likewise.
40638 * intl/Makefile: Likewise.
40639 * locale/Makefile: Likewise.
40640 * po/Makefile: Likewise.
40641 * posix/Makefile: Likewise.
40642 * sysdeps/gnu/Makefile: Likewise.
40643 * sysdeps/mach/hurd/Makefile: Likewise.
40644 * sysdeps/sparc/sparc32/Makefile: Likewise.
40647 * posix/Makefile (bug-regex32-ENV): Define.
40648 Patch by John Stanley <jpsinthemix@verizon.net>.
40650 * misc/Makefile (headers): Add bits/select2.h.
40651 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40652 * misc/bits/select2.h: New file.
40653 * include/bits/select2.h: New file.
40654 * debug/Makefile (routines): Add fdelt_chk.
40655 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40656 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40658 * debug/fdelt_chk.c: New file.
40660 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40661 * wcsmbs/test-wmemcmp.c: Likewise.
40662 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40663 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40665 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40667 * string/Makefile (strop-tests): Add memcmp.
40668 * string/test-wmemcmp.c: New file.
40669 * string/test-memcmp.c: Add wmemcmp support.
40671 2011-09-08 Roland McGrath <roland@hack.frob.com>
40674 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40677 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40678 garbage value in a __mach_port_mod_refs call in the cases of the
40679 task-self and thread-self ports.
40681 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40683 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40685 2011-09-08 Andreas Schwab <schwab@redhat.com>
40687 * elf/dl-load.c (lose): Check for non-null L.
40689 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40691 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40693 * elf/dl-libc.c (dlerror_run): Pass back error code from
40697 * elf/dl-load.c (lose): Free l_origin if it is valid.
40699 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40701 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40702 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40703 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40704 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40705 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40706 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40708 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40710 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40711 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40712 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40713 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40714 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40715 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40716 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40717 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40718 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40719 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40721 2011-08-15 Alan Modra <amodra@gmail.com>
40724 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40725 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40726 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40727 ppc_mcount to static-only-routines.
40728 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40730 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40731 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40733 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40735 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40736 for finite and infinity parameters.
40738 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40740 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40741 and add nop instructions for throughput optimization.
40742 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40744 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40746 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40747 aligned copy for power7 with vector-scalar instructions.
40748 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40750 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40755 2011-09-07 Andreas Schwab <schwab@redhat.com>
40758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40761 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40763 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40764 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40765 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40766 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40769 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40771 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40772 Forgot to demangle the pointer.
40774 * sysdeps/i386/sysdep.h: Define atom_text_section.
40775 * sysdeps/x86_64/sysdep.h: Likewise.
40776 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40777 section with atom_text_section.
40778 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40779 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40780 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40782 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40784 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40785 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40786 already be defined. Change to take two parameters and don't assign
40787 result to variable. Adjust all users.
40788 Define INTERNAL_GETTIME if not already defined.
40789 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40792 HAVE_CLOCK_GETTIME_VSYSCALL.
40793 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40795 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40796 gettimeofday vsyscall, just use time.
40798 2011-09-06 Andreas Schwab <schwab@redhat.com>
40800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40803 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40805 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40807 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40809 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40810 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40811 syscall if possible.
40813 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40815 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40816 e_ident. Don't pass to find_mapsXX.
40817 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40819 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40822 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40823 * sysdeps/x86_64/multiarch/strchr.S: Update.
40824 Check bit_slow_BSF bit.
40825 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40826 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40827 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40829 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40832 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40834 (tryshell): Define.
40835 (__spawni): Change last parameter to be flag. Test
40836 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40837 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40838 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40839 * posix/spawni.c: Likewise.
40840 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40841 * posix/spawnp.c: Likewise. Change normal version to use
40842 SPAWN_XFLAGS_USE_PATH.
40843 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40844 SPAWN_XFLAGS_TRY_SHELL.
40847 * posix/glob.h: Remove gcc 1.x support.
40850 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40852 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40855 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40857 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40858 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40859 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40860 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40861 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40862 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40864 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40866 * sysdeps/x86_64/wcscmp.S: New file.
40868 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40869 wcscmp-c wcscmp-sse2
40870 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40871 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40872 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40873 * wcsmbs/wcscmp.c: Allow renaming.
40875 2011-09-05 David S. Miller <davem@davemloft.net>
40877 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40878 stack slot, rather than the struct return pointer slot.
40879 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40880 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40882 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40884 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40886 * po/ja.po: Update from translation team.
40889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40890 kernel in 64-bit binaries.
40892 2011-09-01 David S. Miller <davem@davemloft.net>
40894 * elf/elf.h (HWCAP_SPARC_*): Move to..
40895 * sysdeps/sparc/sysdep.h: this new file and add new values.
40896 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40897 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40898 _DL_HWCAP_COUNT to 24.
40899 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40901 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40902 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40903 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40905 instead of magic constants.
40906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40908 2011-08-31 David S. Miller <davem@davemloft.net>
40910 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40912 Reimplement to do errno handling inline.
40913 (SYSCALL_ERROR_HANDLER): New macro.
40914 (__SYSCALL_STRING): Do not do errno handling in asm.
40915 (__CLONE_SYSCALL_STRING): Delete.
40916 (__INTERNAL_SYSCALL_STRING): Delete.
40917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40918 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40919 (PSEUDO): Reimplement to do errno handling inline.
40920 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40921 (SYSCALL_ERROR_HANDLER): New macro.
40922 (__SYSCALL_STRING): Do not do errno handling in asm.
40923 (__CLONE_SYSCALL_STRING): Delete.
40924 (__INTERNAL_SYSCALL_STRING): Delete.
40925 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40926 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40928 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40929 (inline_syscall*): Add 'err' argument.
40930 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40931 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40932 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40933 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40935 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40936 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40938 2011-08-30 Andreas Schwab <schwab@redhat.com>
40940 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40942 2011-08-29 Jiri Olsa <jolsa@redhat.com>
40944 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40947 2011-08-24 David S. Miller <davem@davemloft.net>
40949 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40951 2011-08-24 Andreas Schwab <schwab@redhat.com>
40953 * elf/Makefile: Add rules to build and run unload8 test.
40954 * elf/unload8.c: New file.
40955 * elf/unload8mod1.c: New file.
40956 * elf/unload8mod1x.c: New file.
40957 * elf/unload8mod2.c: New file.
40958 * elf/unload8mod3.c: New file.
40960 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40963 2011-08-23 David S. Miller <davem@davemloft.net>
40965 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40966 subtract stack bias.
40967 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40968 %sp not %fp in calculations.
40969 (_JMPBUF_UNWINDS_ADJ): Likewise.
40971 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40972 (aio_suspend): Call it to force an exception region around the
40973 AIO_MISC_WAIT() invocation.
40975 2011-08-23 Andreas Schwab <schwab@redhat.com>
40977 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40980 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40982 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40984 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40985 and <dl-machine.h>.
40986 (Elf64_FuncDesc): Remove.
40988 2011-08-22 David S. Miller <davem@davemloft.net>
40990 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40991 sigaltstack check, add missing cfi directives.
40992 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40993 missing cfi directives, and sigaltstack handling.
40995 2011-08-16 Andreas Schwab <schwab@redhat.com>
40998 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40999 object is seen twice.
41000 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41002 * elf/Makefile (distribute): Add tst-initorder2.c.
41003 (tests): Add tst-initorder2.
41004 (modules-names): Add tst-initorder2a tst-initorder2b
41005 tst-initorder2c tst-initorder2d. Add rules to build them.
41006 ($(objpfx)tst-initorder2.out): New rule.
41007 * elf/tst-initorder2.c: New file.
41008 * elf/tst-initorder2.exp: New file.
41010 2011-08-22 Andreas Schwab <schwab@redhat.com>
41012 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41014 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41015 dependencies back to end of function.
41017 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41018 $(elfobjdir)/ld.so.
41020 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41022 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41023 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41024 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41025 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41026 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41027 of __vdso_gettimeofday.
41028 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41029 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41031 (_libc_vdso_platform_setup): Remove initialization of
41032 __vdso_gettimeofday and __vdso_time.
41034 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41036 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41037 and fgetc_unlocked.
41038 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41041 * elf/dl-open.c (add_to_global): Report additions to the global scope
41042 for LD_DEBUG=scopes.
41043 (dl_open_worker): Also print scope of newly loaded dependencies.
41044 (_dl_show_scope): Indicate if there is no scope.
41047 * stdio-common/Makefile (tests): Add bug24.
41048 * stdio-common/bug24.c: New file.
41050 2011-08-19 Andreas Jaeger <aj@suse.de>
41053 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41054 non-existant file when using close-on-exec mode.
41056 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41058 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41059 the very first instruction.
41061 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41062 the CFI state in the end.
41063 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41064 inclusion of dl-trampoline.h.
41065 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41067 2011-08-19 Andreas Schwab <schwab@redhat.com>
41069 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41070 expectations for long double.
41072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41073 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41075 2011-08-14 David S. Miller <davem@davemloft.net>
41077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41078 artificual limit depends upon the system page size.
41080 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41082 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41083 * resolv/Makefile: Define CFLAGS-libresolv.
41085 2011-08-17 Andreas Schwab <schwab@redhat.com>
41087 * nss/makedb.c (compute_tables): Make variables used in nested
41090 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41092 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41093 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41094 if buffer was too small.
41096 * elf/pldd.c (main): Attach to all threads in the process.
41097 Rewrite /proc handling to use *at functions.
41099 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41101 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41102 specifies first scope to show.
41103 (dl_open_worker): Update callers. Move printing scope of new
41104 object to before the relocation.
41105 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41106 * sysdeps/generic/ldsodefs.h: Update declaration.
41108 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41109 string for the scope number.
41111 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41113 * nscd/servicescache.c (cache_addserv): Make sure written is always
41116 2011-08-14 Roland McGrath <roland@hack.frob.com>
41118 * sysdeps/i386/i486/bits/atomic.h
41119 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41120 statement expression, so as to suppress "set but not used" warning.
41121 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41123 * string/strncat.c (STRNCAT): Use prototype definition.
41125 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41126 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41128 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41129 (localedef-modules): Add localedef.
41130 (locale-modules): Add locale.
41132 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41133 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41134 to avoid a warning.
41136 2011-08-14 David S. Miller <davem@davemloft.net>
41138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41139 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41141 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41143 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41144 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41145 * elf/rtld.c (dl_main): Set l_name of vDSO.
41146 Call _dl_show_scope when DL_DEBUG_SCOPES.
41147 (process_dl_debug): Recognize scopes flag and also set it for all.
41148 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41149 Declare _dl_show_scope.
41151 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41152 (do_dlopen): Pass caller_dlopen to dl_open.
41153 (__libc_dlopen_mode): Initialize caller_dlopen.
41155 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41156 of libc. Make tolower call locale-independent. Optimize a bit by
41157 using isdigit instead of isalnum.
41158 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41160 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41162 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41163 was a dependency or dynamically loaded.
41165 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41167 * intl/l10nflist.c: Allow architecture-specific pop function.
41168 * sysdeps/x86_64/l10nflist.c: New file.
41170 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41173 2011-08-10 Andreas Schwab <schwab@redhat.com>
41175 * include/dirent.h: Add libc_hidden_proto for scandirat and
41176 scandirat64. Don't declare __scandirat64.
41177 * dirent/scandirat.c: Add libc_hidden_def.
41178 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41179 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41181 2011-08-10 David S. Miller <davem@davemloft.net>
41183 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41186 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41187 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41189 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41191 * Versions.def [libc]: Add GLIBC_2.15.
41192 * dirent/Makefile (routines): Add scandirat and scandirat64.
41193 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41195 * dirent/dirent.h: Declare scandirat and scandirat64.
41196 * dirent/scandirat.c: New file.
41197 * dirent/scandirat64.c: New file.
41198 * sysdeps/wordsize-64/scandirat.c: New file.
41199 * sysdeps/wordsize-64/scandirat64.c: New file.
41200 * dirent/opendir.c: Define opendirat.
41201 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41203 * dirent/scandir64.c: Adjust for scandir.c change.
41204 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41205 __scandirat64, and __scandir_cancel_handler.
41206 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41207 additional parameter and use openat instead of open (outside of ld.so).
41208 Add new __opendir as wrapper around __opendirat.
41209 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41210 here without requiring old scandirat implementation.
41212 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41214 * dirent/scandir.c (cancel_handler): Renamed to
41215 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41216 defined. Adjust users.
41217 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41218 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41220 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41222 * string/test-string.h (IMPL): Use __STRING to expand name and then
41225 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41228 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41230 * string/Makefile: Update.
41231 (strop-tests): Append strncat.
41232 * string/test-wcscmp.c: New file.
41233 New comprehensive test for wcscmp.
41234 * string/test-strcmp.c: Update.
41235 (WIDE): New define.
41237 2011-07-22 Andreas Schwab <schwab@redhat.com>
41239 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41242 2011-07-26 Andreas Schwab <schwab@redhat.com>
41244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41245 encoding to ACE if AI_IDN.
41247 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41249 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41250 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41252 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41254 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41255 Fix overflow bug in strncat.
41256 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41258 * string/test-strncat.c: Update.
41259 Add new tests for checking overflow bugs.
41261 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41264 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41265 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41266 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41267 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41268 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41269 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41270 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41271 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41274 (USE_AS_STRCAT): Define.
41275 Add strcat and strncat support.
41276 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41278 2011-07-25 Andreas Schwab <schwab@redhat.com>
41280 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41281 __n bigger than INT_MAX+1.
41282 (__strncmp_g): Likewise.
41284 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41286 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41287 * libio/stido.h: Likewise.
41289 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41291 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41294 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41296 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41297 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41301 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41306 (_dl_x86_64_save_sse): Likewise.
41308 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41310 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41312 (_dl_x86_64_save_sse): Likewise.
41314 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41316 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41318 2011-07-21 Andreas Schwab <schwab@redhat.com>
41320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41322 (_dl_x86_64_save_sse): Use correct AVX check.
41324 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41326 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41327 bug in strncpy/strncat.
41328 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41330 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41332 * string/tester.c (test_strcat): Add tests for different alignments
41333 of source and destination.
41334 (test_strncat): Likewise.
41336 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41339 * posix/glob.c (glob): Check passed in values before using them in
41340 expressions to avoid some overflows.
41341 (glob_in_dir): Likewise.
41344 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41345 check for AVX enablement so that we don't crash with old kernels and
41347 * elf/tst-audit4.c: Add same checks here.
41348 * elf/tst-audit6.c: Likewise.
41350 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41352 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41354 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41356 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41358 * po/cs.po: Update from translation team.
41359 * po/bg.po: Likewise.
41361 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41363 * misc/sys/cdefs.h: Add support for const attribute.
41364 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41365 to gnu_dev_{major,minor,makedev} functions.
41367 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41369 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41371 2011-07-20 Andreas Schwab <schwab@redhat.com>
41373 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41376 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41378 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41379 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41380 register in order to avoid conflicts with the soft frame pointer
41381 being held in r11 when necessary.
41382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41383 (INTERNAL_VSYSCALL_NCS): Likewise.
41385 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41387 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41388 * elf/dl-fini.c (_dl_fini): Adjust caller.
41389 * elf/dl-close.c (_dl_close_worker): Likewise.
41390 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41392 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41394 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41395 "aux_cache->nlibs < 0".
41397 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41398 in the reload-count case.
41400 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41403 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41404 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41405 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41406 * sysdeps/x86_64/multiarch/strcat.S: New file.
41407 * sysdeps/x86_64/multiarch/strncat.S: New file.
41408 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41409 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41410 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41411 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41413 (USE_AS_STRCAT): Define.
41414 Add strcat and strncat support.
41415 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41416 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41417 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41418 * string/strncat.c: Update.
41419 (USE_AS_STRNCAT): Define.
41420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41421 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41423 * sysdeps/x86_64/multiarch/init-arch.h
41424 (bit_Prefer_PMINUB_for_stringop): New.
41425 (index_Prefer_PMINUB_for_stringop): Likewise.
41426 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41427 bit_Prefer_PMINUB_for_stringop.
41429 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41431 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41433 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41434 of casting of buffer.
41435 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41436 buffer32 and buffer64.
41437 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41438 writes instead of casting of buffer.
41439 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41441 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41444 2011-07-19 Andreas Schwab <schwab@redhat.com>
41446 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41448 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41450 * nscd/nscd.c (termination_handler): Don't do anything for a database
41451 if it has not yet been initialized.
41453 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41455 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41457 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41459 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41461 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41463 * po/nl.po: Update from translation team.
41464 * po/sv.po: Likewise.
41466 2011-07-16 Roland McGrath <roland@hack.frob.com>
41468 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41469 now disallowed by GCC.
41471 * configure.in (use-default-link): Default to yes if a test -shared
41472 link meets our qualifications.
41473 * configure: Regenerated.
41475 * config.make.in (output-format): New variable.
41476 * configure.in: Check for ld --print-output-format support.
41477 * configure: Regenerated.
41478 * Makerules ($(common-objpfx)format.lds)
41479 [$(output-format) != unknown]: Just use $(output-format),
41480 instead of the linker-script munging.
41482 2011-07-14 Roland McGrath <roland@hack.frob.com>
41484 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41485 of $(common-objpfx)shlib.lds.
41486 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41488 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41489 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41491 * configure.in (-z relro check): Adjust test code to add a large
41492 writable data section after it.
41493 * configure: Regenerated.
41495 2011-07-11 Roland McGrath <roland@hack.frob.com>
41497 * configure.in (-z relro check): Fix test code to make the variable
41499 * configure: Regenerated.
41501 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41503 * nscd/nscd.h (struct traced_file): Define.
41504 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41505 elements. Add traced_files.
41506 (inotify_fd): Declare.
41507 (register_traced_file): Declare.
41508 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41509 (inotify_fd): Export.
41510 (resolv_conf_descr): Remove.
41511 (nscd_init): Move inotify descriptor creation to main.
41512 Don't register files for notification here.
41513 (register_traced_file): New function.
41514 (invalidate_cache): Don't use reset_res to determine whether to call
41515 res_init, go through the list of registered files.
41516 (main_loop_poll): The inotify descriptors are now stored in the
41517 structures for the traced files.
41518 (main_loop_epoll): Likewise
41519 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41520 to __nss_disable_nscd.
41521 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41522 for a database anymore. Check the records for all the registered
41524 * nss/Makefile (libnss_files-routines): Add files-init.
41525 (libnss_db-routines): Add db-init.
41526 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41527 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41528 * nss/nss_db/db-init.c: New file.
41529 * nss/nss_files/files-init.c: New file.
41530 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41531 __nss_lookup_function.
41532 (__nss_lookup_function): Call nss_load_library.
41533 (nss_load_all_libraries): New function.
41534 (__nss_disable_nscd): Take parameter with callback function for files
41535 to register. Set is_nscd. Load all the DSOs for the NSS modules
41536 used for the cached services.
41537 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41538 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41539 options for features to all the files in nscd.
41541 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41543 2011-07-10 Roland McGrath <roland@hack.frob.com>
41545 * csu/elf-init.c (__libc_csu_init): Comment typo.
41547 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41549 * po/pl.po: Update from translation team.
41550 * po/ja.po: Likewise.
41551 * po/ru.po: Likewise.
41552 * po/ko.po: Likewise.
41553 * po/fr.po: Likewise.
41555 2011-07-09 Roland McGrath <roland@hack.frob.com>
41557 * configure.in (.ctors/.dtors header and trailer check):
41558 Use an empirical test on a built program.
41559 * configure: Regenerated.
41561 * configure.in (-z relro check): Use an empirical test on a built DSO.
41562 Detect, but do not require, on ia64.
41563 * configure: Regenerated.
41565 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41566 Update tests that use readelf to use $READELF instead.
41567 * configure: Regenerated.
41569 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41571 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41572 if the result is not used.
41574 2011-07-05 Andreas Jaeger <aj@suse.de>
41577 * stdlib/tst-strtod.c: Add testcase.
41579 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41581 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41582 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41583 The latter has a higher limit. Take additional parameter to pass to
41585 (__pathconf): Pass file to __statfs_link_max.
41586 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41588 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41592 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41593 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41595 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41596 (__statfs_filesize_max): Likewise.
41597 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41599 2011-07-05 Andreas Jaeger <aj@suse.de>
41601 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41603 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41605 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41607 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41610 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41612 * Makefile (strop-tests): Add strncat.
41613 * string/test-strncat.c: New file.
41615 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41617 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41619 2011-06-21 Andreas Jaeger <aj@suse.de>
41621 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41622 Copy rule from iconvdata/Makefile.
41624 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41627 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41628 but no long options are defined, just return 'W'.
41630 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41633 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41635 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41637 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41639 (innetgr): Likewise.
41641 2011-07-05 Roland McGrath <roland@hack.frob.com>
41643 * config.make.in (install_root): Default to $(DESTDIR).
41645 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41647 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41649 2011-07-02 Roland McGrath <roland@hack.frob.com>
41651 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41653 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41654 containing directory rather than embedding absolute directory names.
41656 * scripts/check-local-headers.sh: Rewritten using awk.
41657 Match by word, not by line. Print error messages for matches.
41658 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41660 * Makerules [shlib-lds-flags empty]:
41661 ($(common-objpfx)libc_pic.opts): New target.
41662 ($(common-objpfx)libc_pic.os.clean): New target.
41663 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41665 * config.make.in (OBJCOPY): New variable.
41666 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41667 * configure: Regenerated.
41669 * config.make.in (use-default-link): New variable.
41670 * configure.in (use_default_link): Grok --with-default-link to set it.
41671 * configure: Regenerated.
41672 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41673 (shlib-lds, shlib-lds-flags): Define to empty.
41675 * Makerules (shlib-lds): New variable.
41676 (shlib-lds-flags): New variable.
41677 (build-shlib, build-moduile, build-module-asneeded): Use it.
41678 ($(common-objpfx)libc.so): Use $(shlib-lds).
41679 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41680 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41682 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41683 DT_FLAGS/DT_FLAGS_1 with zero flags.
41685 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41686 linker script munging.
41688 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41690 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41692 * crypt/sha512.c (sha512_process_block): Perform total addition using
41693 128-bit if possible.
41694 (__sha512_finish_ctx): Likewise.
41695 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41697 * crypt/sha256.c (SWAP64): Define.
41698 (sha256_process_block): Perform total addition using 64-bit if
41700 (__sha256_finish_ctx): Likewise.
41702 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41704 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41705 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41706 * nscd/hstcache.c (cache_addhst): Likewise.
41707 * nscd/grpcache.c (cache_addgr): Likewise.
41708 * nscd/aicache.c (addhstaiX): Likewise
41709 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41711 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41713 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41714 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41715 * nscd/hstcache.c (cache_addhst): Likewise.
41716 * nscd/grpcache.c (cache_addgr): Likewise.
41717 * nscd/aicache.c (addhstaiX): Likewise
41719 2011-07-01 Andreas Schwab <schwab@redhat.com>
41721 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41722 domain only when needed.
41724 2011-06-30 Andreas Schwab <schwab@redhat.com>
41726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41727 is always restored.
41729 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41731 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41732 are re-adding the entry.
41733 * nscd/servicescache.c (cache_addserv): Likewise.
41735 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41737 * sysdeps/generic/dl-irel.h: fix protection against multiple
41739 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41741 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41744 * malloc/memusage.sh: Fix quoting in message.
41745 * debug/xtrace.sh: Likewise.
41747 * configure.in: Remove support for --experimental-malloc option, make
41749 * config.make.in: Likewise.
41750 * malloc/Makefile: Likewise.
41752 2011-06-27 Andreas Schwab <schwab@redhat.com>
41754 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41755 two-byte characters.
41757 2011-06-27 Roland McGrath <roland@hack.frob.com>
41759 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41760 AC_CACHE_CHECK invocation.
41761 * configure: Regenerated.
41763 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41765 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41768 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41769 bit from old_res_options.
41771 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41773 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41774 value type for setfct.
41776 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41779 __gettimeofday instead of gettimeofday.
41781 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41783 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41785 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41787 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41792 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41795 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41796 strcpy-sse2-unaligned strncpy-sse2-unaligned
41797 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41798 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41799 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41800 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41801 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41802 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41803 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41804 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41805 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41806 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41807 (STRCPY): Support SSE2 and SSSE3 versions.
41809 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41812 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41813 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41814 kernels which artificially limit size of requests.
41816 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41819 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41820 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41821 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41822 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41823 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41824 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41825 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41826 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41827 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41828 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41829 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41830 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41831 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41832 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41834 Enable unaligned load optimization for Intel Core i3, i5 and i7
41836 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41838 (index_Fast_Unaligned_Load): Define.
41839 (HAS_FAST_UNALIGNED_LOAD): Define.
41841 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41843 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41845 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41848 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41849 until it is clear that the information is realy needed.
41850 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41852 2011-06-22 Andreas Schwab <schwab@redhat.com>
41854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41856 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41858 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41859 /sys/devices/system/cpu/online if it is usable.
41861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41862 reading the information from the /proc filesystem to once a second.
41864 2011-06-21 Andreas Jaeger <aj@suse.de>
41866 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41867 NULL after inclusion of kernel headers.
41869 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41871 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41872 calls to internal_setent.
41875 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41876 addresses using gethostbyname4_r ignore IPv4 addresses.
41878 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41879 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41881 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41883 2011-06-20 David S. Miller <davem@davemloft.net>
41885 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41887 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41889 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41890 (elf_irel): Use it.
41891 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41892 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41893 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41894 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41895 * sysdeps/x86_64/dl-irel.h: Likewise.
41897 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41898 * elf/dl-sym.c: Likewise.
41900 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41902 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41903 need to dereference resplen2.
41905 2011-06-14 Andreas Schwab <schwab@redhat.com>
41907 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41909 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41911 * Makeconfig: Define vardbdir and inst_vardbdir.
41912 * nss/Makefile: Add rules to install db-Makefile.
41914 * nss/nss_db/db-XXX.c: Cleanup.
41916 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41917 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41919 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41920 * nss/makedb.c: Implement -g option to specify that value strings
41921 are generated and should not be added to table iterated over for
41923 * nss/nss_db/db-initgroups.c: New file.
41925 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41928 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41929 (internal_getgrouplist): Adjust to name change.
41930 Update use_initgroups_entry if this is not the first call.
41931 * nss/databases.def: Add initgroups entry.
41933 * nss/makedb.c (compute_tables): Check result of multiple hash table
41934 sizes to minimize maximum chain length.
41936 2011-06-14 Ulrich Drepper <drepper@gmail.com>
41938 * Versions.def: Add entry for libnss_db.
41939 * shlib-versions: Likewise.
41940 * nss/Makefile: Add rules to build libnss_db.
41941 * nss/Versions: Add libnss_db information. Organize libnss_files
41943 * nss/db-Makefile: Add gshadow support. Change rules for the new
41944 makedb progra. Some minor improvements to generate smaller files.
41945 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41947 * nss/makedb.c: ...here.
41948 Improve database format to be smaller and require less memory at
41950 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41952 * nss/nss_db/db-netgrp.c: Likewise.
41953 * nss/nss_db/db-open.c: Likewise.
41954 * nss/nss_files/flies-XXX.x: Adjust comments.
41955 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41956 * nss/nss_files/files-grp.c: Likewise.
41957 * nss/nss_files/files-hosts.c: Likewise.
41958 * nss/nss_files/files-network.c: Likewise.
41959 * nss/nss_files/files-proto.c: Likewise.
41960 * nss/nss_files/files-pwd.c: Likewise.
41961 * nss/nss_files/files-rpc.c: Likewise.
41962 * nss/nss_files/files-service.c: Likewise.
41963 * nss/nss_files/files-sgrp.c: Likewise.
41964 * nss/nss_files/files-spwd.c: Likewise.
41965 * nss/nss_db/db-alias.c: Removed.
41966 * nss/nss_db/dummy-db.h: Removed.
41968 2011-06-02 Ulrich Drepper <drepper@gmail.com>
41970 * nss/makedb.c: Rewritten to not use database library.
41971 * nss/Makefile: Update to build new makedb program.
41973 2011-06-14 Andreas Jaeger <aj@suse.de>
41975 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41976 memset declaration.
41978 2011-06-10 Andreas Schwab <schwab@redhat.com>
41980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41983 2011-06-10 Roland McGrath <roland@hack.frob.com>
41985 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41986 * elf/Makefile ($(objpfx)ld.so): Likewise.
41988 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41989 Don't list ld.so twice in dependencies.
41991 * posix/bug-regex31.c: Include <stdlib.h>.
41993 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41995 * nis/nss_compat/compat-spwd.c
41996 (getspent_next_nss_netgr): Remove unused variable.
41997 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41999 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42000 nonmembers" output to use the right array.
42002 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42004 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42006 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42007 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42008 * catgets/gencat.c (read_input_file): Likewise.
42009 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42011 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42012 variable definition inside #if's controlling its use.
42014 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42016 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42018 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42020 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42023 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42025 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42026 * configure: Regenerated.
42028 * Makerules: Revert last change.
42029 * elf/Makefile: Likewise.
42031 2011-06-09 Roland McGrath <roland@hack.frob.com>
42033 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42034 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42035 (reloc-link): Likewise.
42037 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42039 * elf/Makefile: Add rules to build pldd.
42040 * elf/pldd.c: New file.
42041 * elf/pldd-xx.c: New file.
42043 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42045 * version.h: Update for 2.15 development version.
42047 2011-06-07 David S. Miller <davem@davemloft.net>
42049 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42051 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42052 elf_machine_lazy_rel): Likewise.
42053 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42054 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42055 elf_machine_lazy_rel): Likewise.
42056 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42057 dl_hwcap via passed in argument.
42058 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42061 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42063 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42065 2011-06-06 Roland McGrath <roland@hack.frob.com>
42068 * manual/fdl-1.1.texi: New file, verbatim from:
42069 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42070 * manual/lgpl-2.1.texi: New file, verbatim from:
42071 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42072 * manual/Makefile (licenses): New variable, list those new file names.
42074 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42076 * manual/fdl.texi: File removed.
42077 * manual/lesser.texi: File removed.
42078 * manual/libc.texinfo (Copying, Documentation License):
42079 Use new @include file names, put @appendix directive before @include.
42081 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42084 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42085 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42086 (mq_open): Add __NTH.
42088 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42091 Assume Intel Core i3/i5/i7 processor if AVX is available.
42093 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42098 2011-05-31 Andreas Schwab <schwab@redhat.com>
42100 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42101 memory. Use alloca_account. Fix memory leak when retrying.
42103 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42105 * version.h (RELEASE): Bump for 2.14 release.
42106 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42108 * config.make.in (RANLIB): Remove entry.
42110 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42112 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42113 (libc.pot): Work around missing support for .ksh extension in xgettext.
42116 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42117 if both request failed.
42118 (send_dg): In case of server errors clear resplen or *resplen2.
42121 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42122 when there are multiple maps.
42123 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42124 (_dl_fini): Remove test here.
42126 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42128 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42131 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42132 bit from old_res_options.
42133 (gaih_inet): Likewise.
42136 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42139 * resolv/res_init.c (res_setoptions): Make the code more compact.
42142 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42146 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42148 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42151 * malloc/malloc.h: Declare malloc hook variables as volatile.
42153 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42157 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42158 raise in the comment.
42159 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42161 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42163 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42166 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42167 grow the buffers more if it already has to be sufficient.
42168 (build_wcs_upper_buffer): Likewise.
42169 * posix/regexec.c (check_matching): Likewise.
42170 (clean_state_log_if_needed): Likewise.
42171 (extend_buffers): Don't enlarge buffers beyond size of the input
42173 Patches mostly by Emil Wojak <emil@wojak.eu>.
42174 * posix/bug-regex32.c: New file.
42175 * posix/Makefile (tests): Add bug-regex32.
42177 * locale/findlocale.c (_nl_find_locale): Return right away if
42178 _nl_explode_name failed.
42179 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42181 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42183 * debug/xtrace.sh: Unify messages.
42184 * malloc/memusage.sh: Likewise.
42187 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42188 time symbol from vDSO. Substitute with vsyscall if not available.
42189 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42192 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42193 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42194 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42195 Add sendmmsg and internal_sendmmsg.
42196 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42197 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42198 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42200 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42201 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42202 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42204 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42207 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42208 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42210 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42214 * iconvdata/Makefile (tests): Add bug-iconv9.
42215 * iconvdata/bug-iconv9.c: New file.
42217 2011-05-27 Andreas Schwab <schwab@redhat.com>
42220 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42222 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42225 (struct user_regs_struct): Change intcs field back to cs.
42227 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42229 * po/ja.po: Update from translation team.
42231 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42234 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42235 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42237 2011-05-20 Andreas Schwab <schwab@redhat.com>
42239 * stdlib/longlong.h: Update from GCC.
42241 2011-05-23 Andreas Schwab <schwab@redhat.com>
42243 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42245 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42246 Add parameter name.
42247 (__sysconf): Pass it down.
42249 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42252 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42254 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42255 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42256 add in in __libc_use_alloca calls. Adjust callers.
42257 (glob): Use malloc in some situations.
42259 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42260 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42263 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42265 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42266 and CLOCK_BOOTTIME_ALARM.
42269 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42272 * string/_strerror.c (__strerror_r): Print negative errors as signed
42276 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42277 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42278 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42280 * configure.in: Fix typo in redirection and correct removal of test
42281 files in two cases.
42284 * locale/setlocale.c (new_composite_name): Fix test to check for
42285 identical name of all categories.
42288 * libio/filedoalloc.c (local_isatty): New function.
42289 (_IO_file_doallocate): Use local_isatty.
42290 * stdio-common/perror.c (perror): In case a new stream is used
42291 forward the stream error.
42292 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42295 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42300 * include/alloca.h (extend_alloca_account): Define.
42303 * posix/regex.h: Fix comments with documentation of user-accessible
42304 fields after compilation and describe correct free'ing of pattern
42305 after re_compile_pattern.
42306 Patch by Reuben Thomas <rrt@sc3d.org>.
42308 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42310 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42311 and -mno-altivec to prevent the compiler from using Altivec and/or
42312 VSX instructions when the corresponding registers are not available.
42314 2011-05-19 Andreas Schwab <schwab@redhat.com>
42316 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42318 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42320 * libio/freopen.c (freopen): Use __dup2, not dup2.
42321 * libio/freopen64.c (freopen64): Likewise.
42323 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42326 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42327 * math/Makefile (tests): Add test-powl.
42328 (CFLAGS-test-powl.c): Define.
42329 * math/test-powl.c: New file.
42331 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42333 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42335 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42338 * iconvdata/gb18030.c: Update to GB18020-2005.
42340 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42342 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42343 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42344 Patch by Aharon Robbins <arnold@skeeve.com>.
42347 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42351 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42352 through underflows.
42355 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42356 point to strings before performing equality test for error_one_per_line
42360 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42364 (struct user_fpregs_struct): Avoid __uint*_t types.
42367 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42368 symbol info. Use it instead of calling _dl_addr locally.
42369 (lock_and_info): New function.
42370 (tr_freehook): Call lock_and_info and pass symbol info as additional
42371 parameter to tr_where.
42372 (tr_mallochook): Likewise.
42373 (tr_reallochook): Likewise.
42374 (tr_memalignhook): Likewise.
42376 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42377 used and couldn't be at all thread-safe.
42379 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42381 * libio/freopen.c (freopen): Don't close old file descriptor
42382 before the new one is opened. Instead dup the new file descriptor
42383 to the old one after the new stream is created.
42384 * libio/freopen64.c (freopen64): Likewise.
42385 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42386 * libio/fileops.c (_IO_new_file_close_it): Handle new
42387 _IO_FLAGS2_NOCLOSE flag.
42388 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42389 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42390 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42391 _IO_FLAGS2_NOCLOSE flag.
42392 * include/unistd.h: Add hidden_proto for dup3.
42393 Define __have_dup3.
42394 * io/dup3.c: Define hidden symbol.
42395 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42398 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42399 when an incomplete long option is used.
42400 * posix/tst-getopt_long1.c: New file.
42401 * posix/Makefile (tests): Add tst-getopt_long1.
42404 * scripts/config.guess: Update from autoconf-2.68.
42405 * scripts/config.sub: Likewise.
42408 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42410 (has_cpuclock): ...this. New function.
42411 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42412 macro here based on has_cpuclock code.
42415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42416 First byte (not low byte) is now always NUL.
42417 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42420 Use non-cancelable interfaces.
42423 * locale/iso-639.def: Add entry for Sorani.
42426 * include/stdlib.h: Move include protection to the right place.
42427 Define abort_msg_s. Declare __abort_msg with it.
42428 * stdlib/abort.c (__abort_msg): Adjust type.
42429 * assert/assert.c (__assert_fail_base): New function. Majority
42430 of code from __assert_fail. Allocate memory for __abort_msg with
42432 (__assert_fail): Now call __assert_fail_base.
42433 * assert/assert-perr.c: Remove bulk of implementation. Use
42434 __assert_fail_base.
42435 * include/assert.hL Declare __assert_fail_base.
42436 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42438 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42440 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42444 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42445 until all modules are registered in the DTV.
42446 * elf/Makefile: Add rules to build and run tst-tls19.
42447 * elf/tst-tls19.c: New file.
42448 * elf/tst-tls19mod1.c: New file.
42449 * elf/tst-tls19mod2.c: New file.
42450 * elf/tst-tls19mod3.c: New file.
42451 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42454 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42458 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42459 two-byte sequence errors.
42460 * iconvdata/Makefile (tests): Add bug-iconv8.
42461 * iconvdata/bug-iconv8.c: New file.
42464 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42467 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42470 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42471 (dummy_getcfa): New function.
42472 (init): Get _Unwind_GetCFA address, use dummy if not found.
42473 (backtrace_helper): In recursion check, also check whether CFA changes.
42474 (__backtrace): Completely initialize arg.
42476 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42477 storing incomplete byte sequence in state object. Avoid testing for
42478 guaranteed too small input if we know there is enough data available.
42480 2011-05-11 Andreas Schwab <schwab@redhat.com>
42482 * Makeconfig (+link-pie): Indent.
42483 * Rules (binaries-pie): Define if $(have-fpie) and
42485 (binaries-shared): Also filter out $(binaries-pie).
42486 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42487 * nscd/Makefile (others-pie): Add nscd.
42488 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42489 ($(objpfx)nscd): Remove command override.
42490 * login/Makefile (others-pie): Add pt_chown.
42491 ($(objpfx)pt_chown): Remove command override.
42492 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42493 remove command overrides.
42495 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42497 * libio/tst_putwc.c: Fix error messages.
42500 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42501 currently writing and seek to current position when not.
42502 * libio/Makefile (tests): Add bug-fclose1.
42503 * libio/bug-fclose1.c: New file.
42505 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42508 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42509 don't set DF_1_NODELETE here.
42510 (do_lookup_x): When entering new entry test for copy relocation
42511 and if necessary set DF_1_NODELETE flag.
42512 * elf/tst-unique4.cc: New file.
42513 * elf/tst-unique4.h: New file.
42514 * elf/tst-unique4lib.cc: New file.
42515 * elf/Makefile: Add rules to build and run tst-unique4.
42516 Patch by Piotr Bury <pbury@goahead.com>.
42518 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42521 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42524 * misc/mntent_r.c (addmntent): Flush the stream after the output
42527 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42528 (is_trusted_path_normalize): Skip initial colon. Append slash
42529 to empty buffer. Duplicate is_trusted_path code but allow
42530 constructed patch to be prefix.
42531 (is_dst): Allow $ORIGIN followed by /.
42532 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42533 Correct testing of result of is_trusted_path_normalize
42534 (decompose_rpath): Fix warning.
42536 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42539 * grp/initgroups.c (internal_getgrouplist): When we found the service
42540 list through the initgroups entry in nsswitch.conf do not always
42541 continue on a successful lookup. Don't always use the
42542 __nss_group_database value if it is set.
42543 * nss/nsswitch.conf (initgroups): Change action for successful db
42544 lookup to continue for compatibility.
42546 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42549 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42551 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42553 * iconvdata/tst-tables.sh: Likewise.
42554 * iconvdata/cp770.c: New file.
42555 * iconvdata/cp771.c: New file.
42556 * iconvdata/cp772.c: New file.
42557 * iconvdata/cp773.c: New file.
42558 * iconvdata/cp774.c: New file.
42559 * iconvdata/testdata/CP770: New file.
42560 * iconvdata/testdata/CP770..UTF8: New file.
42561 * iconvdata/testdata/CP771: New file.
42562 * iconvdata/testdata/CP771..UTF8: New file.
42563 * iconvdata/testdata/CP772: New file.
42564 * iconvdata/testdata/CP772..UTF8: New file.
42565 * iconvdata/testdata/CP773: New file.
42566 * iconvdata/testdata/CP773..UTF8: New file.
42567 * iconvdata/testdata/CP774: New file.
42568 * iconvdata/testdata/CP774..UTF8: New file.
42570 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42572 * iconvdata/gen-8bit-gap.sh: Likewise.
42573 * iconvdata/gen-8bit.sh: Likewise.
42575 * locale/iso-639.def: Add ary entry.
42578 * locale/C-translit.h.in: Add U20A1 transliteration.
42581 * locale/iso-639.def: Add wae entry.
42582 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42585 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42589 * locale/C-translit.h.in: Add entry for U20B9.
42590 Patch by pravin.d.s@gmail.com.
42592 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42595 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42596 ENAMETOOLONG use generic getcwd.
42597 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42598 in rtld. Use *stat64.
42599 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42600 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42601 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42602 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42603 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42604 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42605 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42606 __fstatat64 macros.
42607 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42608 * dirent/rewinddir.c: Add libc_hidden_def.
42609 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42610 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42612 * include/dirent.h (__alloc_dir): Add flags parameter.
42613 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42614 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42616 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42617 from fdopendir if O_CLOEXEC is already set.
42619 2011-03-15 Alan Modra <amodra@gmail.com>
42621 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42622 l_tls_firstbyte_offset non-zero. Save padding offset in
42623 l_tls_firstbyte_offset for later use.
42624 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42625 freeing static tls block.
42627 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42629 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42630 where #ifdef was intended. The intent is to prevent ARG_MAX from
42631 being defined by the kernel headers.
42633 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42636 * resolv/resolv.h: Define RES_NOTLDQUERY.
42637 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42638 no-tld-query and set RES_NOTLDQUERY.
42639 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42640 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42641 modern BIND to search name as TLD unless forbidden.
42643 2011-05-07 Petr Baudis <pasky@suse.cz>
42644 Ulrich Drepper <drepper@gmail.com>
42647 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42648 (is_trusted_path): ...to here.
42649 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42650 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42651 using is_trusted_path_normalize() in setuid scripts.
42653 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42655 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42656 __BEGIN/__END_DECLS.
42658 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42660 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42661 NSS_STATUS_NOTFOUND if no record was found.
42663 2011-05-05 Andreas Schwab <schwab@redhat.com>
42665 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42666 (headers-not-in-tirpc): Remove rpc/netdb.h
42667 * resolv/netdb.h: Revert last change.
42669 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42671 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42672 circular dependency between libgcc.a and libc.a.
42674 2011-05-05 Andreas Schwab <schwab@redhat.com>
42676 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42677 * nis/Makefile: Don't install rpcsvc/*.
42678 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42679 instead of <rpc/types.h>.
42680 (MAXHOSTNAMELEN): Define.
42682 2011-05-03 Andreas Schwab <schwab@redhat.com>
42684 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42686 2011-04-28 Maciej Babinski <mbabinski@google.com>
42689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42690 gethostbyname4_r when IPv6 results are possible.
42692 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42695 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42696 _PC_PIPE_BUF handling.
42698 2011-04-30 Bruno Haible <bruno@clisp.org>
42701 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42702 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42704 * inet/getnameinfo.c (getnameinfo): Likewise.
42706 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42708 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42709 to groups setting in database lookup.
42710 * nss/nsswitch.conf: Add initgroups entry.
42712 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42715 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42717 Patch by Eric Blake <eblake@redhat.com>.
42719 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42721 * sunrpc/Makefile (need-export-routines): Add svc_run.
42722 (routines): Remove svc_run.
42723 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42724 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42725 * sunrpc/svc_run.c (svc_run): Likewise.
42726 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42728 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42731 problem in reallocation in last patch.
42733 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42735 * sunrpc/Makefile: Move inclusion of Rules.
42737 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42739 * nss/nss_files/files-initgroups.c: New file.
42740 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42741 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42742 _nss_files_initgroups_dyn.
42744 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42746 * elf/elf.h (R_ARM_IRELATIVE): Define.
42748 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42750 * po/ru.po: Update from translation team.
42752 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42754 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42757 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42761 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42762 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42764 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42766 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42768 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42770 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42772 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42774 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42777 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42779 * stdlib/bug-getcontext.c: New file.
42780 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42782 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42784 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42785 instructions into .machine "z9-109".
42786 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42787 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42789 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42791 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42792 between environment variables and auxiliary vector.
42794 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42796 * Makefile: Add rules to build linkobj/libc.so.
42797 * include/libc-symbols.h: Define libc_hidden_nolink.
42798 * include/rpc/auth.h: Mark functions which are to be hidden.
42799 * include/rpc/auth_des.h: Likewise.
42800 * include/rpc/auth_unix.h: Likewise.
42801 * include/rpc/clnt.h: Likewise.
42802 * include/rpc/des_crypt.h: Likewise.
42803 * include/rpc/key_prot.h: Likewise.
42804 * include/rpc/pmap_clnt.h: Likewise.
42805 * include/rpc/pmap_prot.h: Likewise.
42806 * include/rpc/pmap_rmt.h: Likewise.
42807 * include/rpc/rpc_msg.h: Likewise.
42808 * include/rpc/svc.h: Likewise.
42809 * include/rpc/svc_auth.h: Likewise.
42810 * include/rpc/xdr.h: Likewise.
42811 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42812 * nss/Makefile: Likewise.
42813 * sunrpc/Makefile: Don't install headers. Build library with normal
42814 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42815 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42816 for the compat linking library. Remove use of INTDEF/INTUSE.
42817 * sunrpc/auth_none.c: Likewise.
42818 * sunrpc/auth_unix.c: Likewise.
42819 * sunrpc/authdes_prot.c: Likewise.
42820 * sunrpc/authuxprot.c: Likewise.
42821 * sunrpc/clnt_gen.c: Likewise.
42822 * sunrpc/clnt_perr.c: Likewise.
42823 * sunrpc/clnt_raw.c: Likewise.
42824 * sunrpc/clnt_simp.c: Likewise.
42825 * sunrpc/clnt_tcp.c: Likewise.
42826 * sunrpc/clnt_udp.c: Likewise.
42827 * sunrpc/clnt_unix.c: Likewise.
42828 * sunrpc/des_crypt.c: Likewise.
42829 * sunrpc/des_soft.c: Likewise.
42830 * sunrpc/get_myaddr.c: Likewise.
42831 * sunrpc/key_call.c: Likewise.
42832 * sunrpc/key_prot.c: Likewise.
42833 * sunrpc/netname.c: Likewise.
42834 * sunrpc/pm_getmaps.c: Likewise.
42835 * sunrpc/pm_getport.c: Likewise.
42836 * sunrpc/pmap_clnt.c: Likewise.
42837 * sunrpc/pmap_prot.c: Likewise.
42838 * sunrpc/pmap_prot2.c: Likewise.
42839 * sunrpc/pmap_rmt.c: Likewise.
42840 * sunrpc/publickey.c: Likewise.
42841 * sunrpc/rpc_cmsg.c: Likewise.
42842 * sunrpc/rpc_common.c: Likewise.
42843 * sunrpc/rpc_dtable.c: Likewise.
42844 * sunrpc/rpc_prot.c: Likewise.
42845 * sunrpc/rpc_thread.c: Likewise.
42846 * sunrpc/rtime.c: Likewise.
42847 * sunrpc/svc.c: Likewise.
42848 * sunrpc/svc_auth.c: Likewise.
42849 * sunrpc/svc_authux.c: Likewise.
42850 * sunrpc/svc_raw.c: Likewise.
42851 * sunrpc/svc_run.c: Likewise.
42852 * sunrpc/svc_simple.c: Likewise.
42853 * sunrpc/svc_tcp.c: Likewise.
42854 * sunrpc/svc_udp.c: Likewise.
42855 * sunrpc/svc_unix.c: Likewise.
42856 * sunrpc/svcauth_des.c: Likewise.
42857 * sunrpc/xcrypt.c: Likewise.
42858 * sunrpc/xdr.c: Likewise.
42859 * sunrpc/xdr_array.c: Likewise.
42860 * sunrpc/xdr_float.c: Likewise.
42861 * sunrpc/xdr_intXX_t.c: Likewise.
42862 * sunrpc/xdr_mem.c: Likewise.
42863 * sunrpc/xdr_rec.c: Likewise.
42864 * sunrpc/xdr_ref.c: Likewise.
42865 * sunrpc/xdr_sizeof.c: Likewise.
42866 * sunrpc/xdr_stdio.c: Likewise.
42868 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42871 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42872 * sysdeps/ia64/dl-tls.h: Likewise.
42873 * sysdeps/powerpc/dl-tls.h: Likewise.
42874 * sysdeps/s390/dl-tls.h: Likewise.
42875 * sysdeps/sh/dl-tls.h: Likewise.
42876 * sysdeps/sparc/dl-tls.h: Likewise.
42877 * sysdeps/x86_64/dl-tls.h: Likewise.
42878 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42880 2011-03-14 Andreas Schwab <schwab@redhat.com>
42882 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42883 rpath element also skip the following colon.
42884 (expand_dynamic_string_token): Add is_path parameter and pass
42885 down to DL_DST_REQUIRED and _dl_dst_substitute.
42886 (decompose_rpath): Call expand_dynamic_string_token with
42887 non-zero is_path. Ignore empty rpaths.
42888 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42891 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42896 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42899 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42900 Patch by Filipe David Manana <fdmanana@apache.org>.
42902 2011-04-07 Andreas Schwab <schwab@redhat.com>
42904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42905 Maintain aligned stack.
42906 (CHECK_RSP): Remove unused macro.
42908 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42910 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42911 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42913 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42915 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42917 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42919 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42922 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42923 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42924 * sysdeps/x86_64/memmove.c: New file.
42925 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42926 (memcpy): Renamed to ...
42927 (__new_memcpy): This.
42928 (memcpy): Provide GLIBC_2_14 memcpy.
42929 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42930 (memcpy): Provide GLIBC_2_2_5 memcpy.
42932 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42935 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42937 2011-03-30 Andreas Schwab <schwab@redhat.com>
42939 * misc/syncfs.c: New file.
42940 * misc/Makefile (routines): Add syncfs.
42941 * posix/unistd.h: Declare syncfs.
42942 * sysdeps/unix/syscalls.list: Add syncfs.
42944 2011-04-01 Andreas Schwab <schwab@redhat.com>
42946 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42948 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42949 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42951 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42952 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42953 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42954 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42956 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42960 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42962 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42964 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42966 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42967 sync_file_range.c with -fexceptions.
42968 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42969 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42970 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42971 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42972 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42973 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42974 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42975 sync_file_range as cancellation point
42976 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42977 now a wrapper around __call_sync_file_range with cancellation handling.
42978 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42979 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42980 function name to __call_sync_file_range.
42981 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42982 Add call_sync_file_range.
42984 2011-04-01 Andreas Schwab <schwab@redhat.com>
42986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42989 2011-04-01 Ulrich Drepper <drepper@gmail.com>
42991 * iconv/iconv.h: Fix typo in comment.
42992 * io/fcntl.h: Likewise.
42993 * libio/stdio.h: Likewise.
42994 * posix/spawn.h: Likewise.
42995 * posix/unistd.h: Likewise.
42996 * stdlib/stdlib.h: Likewise.
42997 * time/time.h: Likewise.
42998 * wcsmbs/wchar.h: Likewise.
43000 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43001 open_by_handle): Add.
43002 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43003 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43004 Augment a few comments.
43005 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43006 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43007 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43010 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43013 * io/fcntl.h (AT_EMPTY_PATH): Define.
43015 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43017 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43018 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43019 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43021 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43022 * Versions.def: Add GLIBC_2.14.
43023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43026 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43028 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43030 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43032 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43035 * string/test-strncmp.c (do_page_test): New function.
43036 (check2): Likewise.
43037 (test_main): Call check2.
43038 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43040 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43043 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43044 Handle cache information in CPU leaf 4.
43045 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43047 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43050 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43051 character representation.
43052 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43054 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43056 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43057 END(__isnan) to END(__isnanf) to match function entry point/label
43058 EALIGN(__isnanf,...).
43060 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43062 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43064 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43067 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43068 copy from the symbol referenced in the relocation to initialize the
43070 Patch by Piotr Bury <pbury@goahead.com>.
43071 * elf/Makefile: Add rules to build and tst-unique3.
43072 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43073 * elf/tst-unique3.cc: New file.
43074 * elf/tst-unique3.h: New file.
43075 * elf/tst-unique3lib.cc: New file.
43076 * elf/tst-unique3lib2.cc: New file.
43078 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43080 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43082 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43083 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43086 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43088 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43089 to-be-loaded object along a path to loader is ld.so.
43091 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43092 Ulrich Drepper <drepper@gmail.com>
43094 * sysdeps/x86_64/memset.S: After aligning destination, code
43095 branches to different locations depending on the value of
43096 misalignment, when multiarch is enabled. Fix this.
43098 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43100 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43101 Set _x86_64_preferred_memory_instruction for AMD processsors.
43102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43103 Set bit_Prefer_SSE_for_memop for AMD processors.
43105 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43107 * libio/fmemopen.c (fmemopen): Optimize a bit.
43109 2011-03-03 Andreas Schwab <schwab@redhat.com>
43111 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43113 2011-03-03 Roland McGrath <roland@redhat.com>
43115 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43117 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43119 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43120 __bzero_ultra1 instead of __memset_ultra1.
43122 2011-02-23 Andreas Schwab <schwab@redhat.com>
43123 Ulrich Drepper <drepper@gmail.com>
43126 * include/link.h (struct link_map): Add l_orig_initfini.
43127 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43128 returning unsuccessfully.
43129 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43130 close of a file loaded at startup, restore the original l_initfini
43132 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43133 list, store the pointer.
43134 * elf/Makefile ($(objpfx)noload-mem): New rule.
43135 (noload-ENV): Define.
43136 (tests): Add $(objpfx)noload-mem.
43137 * elf/noload.c: Include <memcheck.h>.
43138 (main): Call mtrace. Close all opened handles.
43140 2011-02-17 Andreas Schwab <schwab@redhat.com>
43143 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43144 dependencies are missing.
43146 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43148 Fix __if_freereq crash: Unlike the generic version which uses free,
43150 * sysdeps/mach/hurd/ifreq.h: New file.
43152 2011-01-27 Petr Baudis <pasky@suse.cz>
43153 Ulrich Drepper <drepper@gmail.com>
43156 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43157 to extend_alloca().
43158 * stdio-common/bug23.c: New file.
43159 * stdio-common/Makefile (tests): Add bug23.
43161 2010-09-28 Andreas Schwab <schwab@redhat.com>
43162 Ulrich Drepper <drepper@gmail.com>
43165 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43166 before performing relro protection. At old place add assertion
43167 to make sure nothing changed.
43169 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43170 Glauber de Oliveira Costa <glommer@gmail.com>
43172 * elf/elf.h: Add new ARM TLS relocs.
43174 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43177 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43179 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43181 * sysdeps/wordsize-64/tst-writev.c: New file.
43183 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43185 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43186 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43187 insns in _dl_start to prevent a TOC reference before relocs are
43190 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43193 * Makeconfig: Remove RANLIB definition.
43194 * Makerules: Don't use RANLIB.
43195 * aclocal.m4: Remove ranlib test.
43196 * configure.in: No need to check for ranlib.
43197 * elf/rtld-Rules: Don't use RANLIB.
43199 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43201 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43203 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43204 inclusion protection macro.
43206 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43207 SIGRTMIN and SIGRTMAX and print information in that case only when
43208 SIGRTMIN is defined.
43210 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43212 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43213 arginfo fn returning -1.
43215 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43216 and thousands string is zero terminated.
43218 2011-02-03 Andreas Schwab <schwab@redhat.com>
43220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43221 sysdeps/unix/sysv/linux/bits/socket.h.
43223 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43225 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43226 (__CPU_COUNT): Remove old macros.
43227 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43228 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43229 (__CPU_ALLOC, __CPU_FREE): Add macros.
43230 (__sched_cpualloc, __sched_cpufree): Add declarations.
43232 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43234 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43235 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43236 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43237 (readdhstai): Return value of addhstaiX call.
43238 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43239 (addgrbyX): Return value returned by cache_addgr.
43240 (readdgrbyname): Return value returned by addgrbyX.
43241 (readdgrbygid): Likewise.
43242 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43243 (addpwbyX): Return value returned by cache_addpw.
43244 (readdpwbyname): Return value returned by addhstbyX.
43245 (readdpwbyuid): Likewise.
43246 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43247 (addservbyX): Return value returned by cache_addserv.
43248 (readdservbyname): Return value returned by addservbyX:
43249 (readdservbyport): Likewise.
43250 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43251 (addhstbyX): Return value returned by cache_addhst.
43252 (readdhstbyname): Return value returned by addhstbyX.
43253 (readdhstbyaddr): Likewise.
43254 (readdhstbynamev6): Likewise.
43255 (readdhstbyaddrv6): Likewise.
43256 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43257 (readdinitgroups): Return value returned by addinitgroupsX.
43258 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43259 (prune_cache): Keep track of timeout value of re-added entries.
43260 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43261 * nscd/nscd.h: Adjust prototypes of readd* functions.
43263 2011-02-04 Roland McGrath <roland@redhat.com>
43265 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43266 (nis_stats): Likewise.
43267 * nis/nis_modify.c (nis_modify): Likewise.
43268 * nis/nis_remove.c (nis_remove): Likewise.
43269 * nis/nis_add.c (nis_add): Likewise.
43271 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43273 * posix/fnmatch_loop.c: Add some consts.
43275 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43277 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43280 * config.make.in (config-cflags-novzeroupper): Define.
43281 * configure.in: Substitute libc_cv_cc_novzeroupper.
43282 * elf/Makefile (AVX-CFLAGS): Define.
43283 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43284 (CFLAGS-tst-auditmod4a.c): Likewise.
43285 (CFLAGS-tst-auditmod4b.c): Likewise.
43286 (CFLAGS-tst-auditmod6b.c): Likewise.
43287 (CFLAGS-tst-auditmod6c.c): Likewise.
43288 (CFLAGS-tst-auditmod7b.c): Likewise.
43289 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43291 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43293 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43294 function to the callback.
43295 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43297 2011-02-02 Andreas Schwab <schwab@redhat.com>
43299 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43302 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43305 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43307 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43309 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43312 * elf/Makefile: Add rules to build and run new test.
43313 * elf/tst-initorder.c: New file.
43314 * elf/tst-initorder.exp: New file.
43315 * elf/tst-initordera1.c: New file.
43316 * elf/tst-initordera2.c: New file.
43317 * elf/tst-initordera3.c: New file.
43318 * elf/tst-initordera4.c: New file.
43319 * elf/tst-initorderb1.c: New file.
43320 * elf/tst-initorderb2.c: New file.
43321 * elf/tst-order-a1.c: New file.
43322 * elf/tst-order-a2.c: New file.
43323 * elf/tst-order-a3.c: New file.
43324 * elf/tst-order-a4.c: New file.
43325 * elf/tst-order-b1.c: New file.
43326 * elf/tst-order-b2.c: New file.
43327 * elf/tst-order-main.c: New file.
43328 New test case by George Gensure <werkt0@gmail.com>.
43330 2010-10-01 Andreas Schwab <schwab@redhat.com>
43332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43333 decoding ACE if AI_CANONIDN.
43335 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43337 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43339 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43341 * version.h (RELEASE): Bump for 2.13 release.
43342 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43344 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43346 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43348 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43349 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43350 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43351 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43352 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43353 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43355 * posix/getconf.c: Update copyright year.
43356 * catgets/gencat.c: Likewise.
43357 * csu/version.c: Likewise.
43358 * debug/catchsegv.sh: Likewise.
43359 * debug/xtrace.sh: Likewise.
43360 * elf/ldconfig.c: Likewise.
43361 * elf/ldd.bash.in: Likewise.
43362 * elf/sprof.c (print_version): Likewise.
43363 * iconv/iconv_prog.c: Likewise.
43364 * iconv/iconvconfig.c: Likewise.
43365 * locale/programs/locale.c: Likewise.
43366 * locale/programs/localedef.c: Likewise.
43367 * malloc/memusage.sh: Likewise.
43368 * malloc/mtrace.pl: Likewise.
43369 * nscd/nscd.c (print_version): Likewise.
43370 * nss/getent.c: Likewise.
43372 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43373 PF_CAIF, and PF_ALG.
43374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43376 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43378 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43379 (modules-names): Use them.
43380 (ifunc-test-modules, ifunc-pie-tests): Define.
43381 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43382 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43383 (test-extras): Likewise.
43384 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43385 $(compile-command.c).
43386 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43387 (all-built-dso): Define.
43388 (check-textrel.out, check-execstack.out): Depend on it.
43390 * configure.in: Don't override --enable-multi-arch.
43392 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43395 * nscd/hstcache.c (tryagain): Define.
43396 (cache_addhst): Return tryagain not notfound for temporary errors.
43397 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43400 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43403 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43404 to make the syscall.
43405 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43408 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43409 and fall back to matching as normal character if the string ends before
43410 the matching ']' is found. This is what POSIX requires.
43411 * posix/testfnm.c: Adjust test result.
43412 * posix/globtest.sh: Adjust test result. Add new test.
43413 * posix/tst-fnmatch.input: Likewise.
43414 * posix/tst-fnmatch2.c: Add new test.
43416 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43418 * elf/Makefile (check-execstack): Revert last change. Depend on
43420 (check-execstack.h): New target.
43421 (generated): Add check-execstack.h.
43422 * elf/check-execstack.c: Include "check-execstack.h".
43423 (main): Revert last change.
43424 (handle_file): Return zero if GNU_STACK is absent and
43425 DEFAULT_STACK_PERMS doesn't include PF_X.
43427 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43429 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43430 in child fails because the descriptor is already closed.
43431 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43432 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43433 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43436 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43440 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43441 temporary buffer used to handle multi lookups locally.
43442 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43444 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43446 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43449 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43451 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43452 alignment for SSE2.
43454 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43457 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43458 characters. When rounding increased number of integer digits recompute
43460 * stdio-common/tst-grouping.c: New file.
43461 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43463 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43465 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43466 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43468 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43470 * bits/select.h: Likewise.
43472 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43474 * po/ja.po: Update from translation team.
43476 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43479 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43480 implementation just like for lxstat, fxstatat, et al.
43482 2010-12-27 Jim Meyering <meyering@redhat.com>
43485 * posix/regexec.c (build_trtable): Return failure indication upon
43486 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43488 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43491 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43492 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43493 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43494 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43497 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43500 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43501 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43503 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43505 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43506 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43507 script has SORT_BY_INIT_PRIORITY.
43508 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43509 NO_CTORS_DTORS_SECTIONS is defined.
43510 * elf/soinit.c: Likewise.
43511 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43512 NO_CTORS_DTORS_SECTIONS is defined.
43513 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43514 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43515 * sysdeps/sh/init-first.c: Likewise.
43516 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43518 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43520 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43521 always use the slow path.
43523 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43525 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43526 similar rule which adds the sysdep directories to the header search in
43527 order to pick up the correct platform stackinfo.h.
43528 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43529 perform test if it is, otherwise return successfully without testing.
43530 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43531 DEFAULT_STACK_PERMS define in stackinfo.h.
43532 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43533 defined in stackinfo.h.
43534 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43535 DEFAULT_STACK_PERMS defined in stackinfo.h.
43536 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43537 * sysdeps/ia64/stackinfo.h: Likewise.
43538 * sysdeps/s390/stackinfo.h: Likewise.
43539 * sysdeps/sh/stackinfo.h: Likewise.
43540 * sysdeps/sparc/stackinfo.h: Likewise.
43541 * sysdeps/x86_64/stackinfo.h: Likewise.
43542 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43543 PF_X for powerpc64. Retain PF_X for powerpc32.
43545 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43547 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43549 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43550 GETDENTS_64BIT_ALIGNED.
43552 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43554 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43556 2010-12-10 Andreas Schwab <schwab@redhat.com>
43558 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43561 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43562 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43564 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43565 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43567 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43570 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43573 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43575 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43577 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43579 * po/it.po: Update from translation team.
43581 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43586 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43588 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43590 2010-11-24 Andreas Schwab <schwab@redhat.com>
43592 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43594 (gaih_getanswer_slice): Likewise.
43596 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43600 2010-05-31 Petr Baudis <pasky@suse.cz>
43603 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43604 silently even in the chroot mode.
43606 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43608 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43609 last patch a bit. Pretty printing
43611 2010-05-31 Petr Baudis <pasky@suse.cz>
43614 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43615 initialization of skip_initgroups_dyn.
43617 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43619 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43620 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43622 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43624 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43626 2010-11-11 Andreas Schwab <schwab@redhat.com>
43628 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43629 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43630 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43631 ($(objpfx)tst-fnmatch-mem): New rule.
43632 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43633 * posix/tst-fnmatch.c (main): Call mtrace.
43635 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43638 Support Intel processor model 6 and model 0x2c.
43640 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43642 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43645 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43648 * string/test-strncasecmp.c (check_result): New function.
43649 (do_one_test): Use it.
43650 (check1): New function.
43651 (test_main): Use it.
43652 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43653 Support strcasecmp and strncasecmp.
43655 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43658 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43659 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43661 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43663 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43667 * sysdeps/x86_64/multiarch/bzero.S: New file.
43668 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43669 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43670 * sysdeps/x86_64/multiarch/memset.S: New file.
43671 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43673 Set bit_Prefer_SSE_for_memop for Intel processors.
43674 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43676 (index_Prefer_SSE_for_memop): Define.
43677 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43679 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43681 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43682 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43684 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43687 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43688 (__x86_64_raw_data_cache_size_half): Likewise.
43689 (__x86_64_raw_shared_cache_size): Likewise.
43690 (__x86_64_raw_shared_cache_size_half): Likewise.
43692 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43693 (__x86_64_raw_data_cache_size_half): Likewise.
43694 (__x86_64_raw_shared_cache_size): Likewise.
43695 (__x86_64_raw_shared_cache_size_half): Likewise.
43696 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43697 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43698 and __x86_64_raw_shared_cache_size_half. Round
43699 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43700 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43701 to multiple of 256 bytes.
43703 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43706 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43707 of inacessible symlinks. Verify result of symlink before returning it.
43708 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43709 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43711 2010-10-28 Erich Ritz <erichritz@gmail.com>
43713 * math/math.h (isinf): Fix typo in comment.
43715 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43717 * po/da.po: Update from translation team.
43719 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43721 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43722 is added to the list.
43724 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43725 Ulrich Drepper <drepper@gmail.com>
43727 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43728 the global list here. Move code to...
43729 (_dl_add_to_namespace_list): ...here. New function.
43730 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43731 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43732 * elf/dl-load.c (lose): Don't remove the element from the list.
43733 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43734 (_dl_map_object): Likewise.
43736 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43739 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43740 into all bytes of SSE register.
43741 Patch by Richard Li <richardpku@gmail.com>.
43743 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43746 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43749 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43751 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43752 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43754 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43759 2010-10-22 Andreas Schwab <schwab@redhat.com>
43761 * include/dlfcn.h (__RTLD_SECURE): Define.
43762 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43763 mode & __RTLD_SECURE instead.
43764 (open_path): Rename preloaded parameter to secure.
43765 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43766 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43767 * elf/dl-deps.c (openaux): Likewise.
43768 * elf/rtld.c (struct map_args): Remove is_preloaded.
43769 (map_doit): Don't use it.
43770 (dl_main): Likewise.
43771 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43772 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43774 2010-09-09 Andreas Schwab <schwab@redhat.com>
43776 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43777 (sysd-rules-targets): Remove duplicates.
43778 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43779 rtld-%.$o dependency.
43781 2010-10-18 Andreas Schwab <schwab@redhat.com>
43783 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43784 _dl_map_object do it.
43786 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43788 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43789 fast fma builtins, define the macros in the C99 standard.
43790 (FP_FAST_FMAF): Likewise.
43791 (FP_FAST_FMAL): Likewise.
43792 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43794 * bits/mathdef.h: Update copyright year.
43795 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43797 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43799 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43800 builtins, define the macros in the C99 standard.
43801 (FP_FAST_FMAF): Likewise.
43802 (FP_FAST_FMAL): Likewise.
43803 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43805 (FP_FAST_FMAF): Likewise.
43807 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43810 * math/libm-test.inc (fma_test): Some new testcases.
43811 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43812 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43813 y and infinite z. Do multiplication by C already in long double.
43814 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43816 y and infinite z. Do bitwise or of inexact bit into u.d.
43817 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43818 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43819 * sysdeps/i386/fpu/s_fma.S: Removed.
43820 * sysdeps/i386/fpu/s_fmal.S: Removed.
43822 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43825 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43827 computation is not scheduled after fetestexcept. Fix value
43828 of minimum denormal long double.
43830 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43833 * math/libm-test.inc (fma_test): Add some more tests.
43834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43837 2010-10-15 Andreas Schwab <schwab@redhat.com>
43839 * scripts/data/localplt-s390-linux-gnu.data: New file.
43840 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43842 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43845 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43846 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43848 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43850 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43852 if one of x and y is very large and the other is subnormal.
43853 * sysdeps/s390/fpu/s_fmaf.c: New file.
43854 * sysdeps/s390/fpu/s_fma.c: New file.
43855 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43856 * sysdeps/powerpc/fpu/s_fma.S: New file.
43857 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43858 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43859 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43861 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43864 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43866 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43867 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43868 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43869 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43870 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43871 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43872 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43874 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43877 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43878 * posix/bug-regex31.input: Add test case.
43880 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43882 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43883 * posix/bug-regex31.input: New file.
43886 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43887 (parse_sub_exp): Fix last change, use postorder.
43889 * posix/bug-regex31.c: New file.
43890 * posix/Makefile: Add rules to build and run bug-regex31.
43892 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43895 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43898 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43899 to have entries in sys_siglist.
43902 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43905 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43908 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43909 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43910 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43911 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43912 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43913 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43914 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43915 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43916 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43917 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43918 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43919 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43920 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43921 * math/ftestexcept.c (fetestexcept): Likewise.
43922 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43923 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43924 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43925 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43926 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43927 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43928 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43930 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43933 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43936 2010-10-06 Ulrich Drepper <drepper@gmail.com>
43938 * string/bug-strstr1.c: New file.
43939 * string/Makefile: Add rules to build and run bug-strstr1.
43941 2010-10-05 Eric Blake <eblake@redhat.com>
43944 * string/str-two-way.h (two_way_long_needle): Always clear memory
43945 when skipping input due to the shift table.
43947 2010-10-03 Ulrich Drepper <drepper@gmail.com>
43950 * malloc/mcheck.c: Handle large requests.
43953 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43954 for strncmp and strncasecmp.
43955 * string/stratcliff.c: Add tests for strcmp and strncmp.
43956 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43958 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43960 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43963 2010-09-30 Andreas Jaeger <aj@suse.de>
43965 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43966 (CGROUP_SUPER_MAGIC): Define.
43967 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43968 Handle btrfs and cgroup file systems.
43969 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43972 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
43974 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43975 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43977 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43980 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43981 trying to locate the ELF header.
43983 2010-09-27 Andreas Schwab <schwab@redhat.com>
43986 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43987 Mask out sign-bit copies when constructing f_fsid.
43989 2010-09-24 Petr Baudis <pasky@suse.cz>
43991 * debug/stack_chk_fail_local.c: Add missing licence exception.
43992 * debug/warning-nop.c: Likewise.
43994 2010-09-15 Joseph Myers <joseph@codesourcery.com>
43996 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43997 implementing getdents64 using getdents syscall, set d_type if
43998 __ASSUME_GETDENTS32_D_TYPE.
44000 2010-09-16 Andreas Schwab <schwab@redhat.com>
44002 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44003 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44005 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44008 * posix/unistd.h: Undo change of feature selection for ftruncate from
44011 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44013 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44016 2010-09-20 Andreas Schwab <schwab@redhat.com>
44018 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44020 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44022 2010-09-14 Andreas Schwab <schwab@redhat.com>
44024 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44025 variables after CHECK_SP call.
44026 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44028 2010-09-13 Andreas Schwab <schwab@redhat.com>
44029 Ulrich Drepper <drepper@redhat.com>
44031 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44032 re-relocationg ld.so.
44033 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44034 _dl_init_paths call.
44035 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44038 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44040 * resolv/res_init.c (__res_vinit): Count the default server we added.
44042 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44043 Ulrich Drepper <drepper@redhat.com>
44046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44047 (____longjmp_chk): Use %ebx for saving value across system call.
44050 2010-09-06 Andreas Schwab <schwab@redhat.com>
44052 * manual/Makefile: Don't mix pattern rules with normal rules.
44054 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44056 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44058 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44059 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44060 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44061 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44062 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44065 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44068 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44069 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44071 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44073 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44074 * sysdeps/x86_64/addmul_1.S: Likewise.
44075 * sysdeps/x86_64/lshift.S: Likewise.
44076 * sysdeps/x86_64/mul_1.S: Likewise.
44077 * sysdeps/x86_64/rshift.S: Likewise.
44078 * sysdeps/x86_64/sub_n.S: Likewise.
44079 * sysdeps/x86_64/submul_1.S: Likewise.
44081 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44083 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44084 Define __sched_param instead of SCHED_* and sched_param when
44085 <bits/sched.h> is included with __need_schedparam defined.
44086 * bits/sched.h [__need_schedparam]
44087 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44088 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44089 (__defined_schedparam): Define to 1.
44090 (__sched_param): New structure, identical to sched_param.
44091 (__need_schedparam): Undefine.
44093 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44095 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44096 (epoll_create1): Declare.
44098 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44100 2010-08-31 Andreas Schwab <schwab@redhat.com>
44103 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44104 shifting retval into place.
44106 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44108 * nis/rpcsvc/nis.h: Update copyright notice.
44109 * nis/rpcsvc/nis.x: Likewise.
44110 * nis/rpcsvc/nis_callback.h: Likewise.
44111 * nis/rpcsvc/nis_callback.x: Likewise.
44112 * nis/rpcsvc/nis_object.x: Likewise.
44113 * nis/rpcsvc/nis_tags.h: Likewise.
44114 * nis/rpcsvc/yp.h: Likewise.
44115 * nis/rpcsvc/yp.x: Likewise.
44116 * nis/rpcsvc/ypupd.h: Likewise.
44117 * nis/yp_xdr.c: Likewise.
44118 * nis/ypupdate_xdr.c: Likewise.
44120 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44121 mainly the body of pmap_getport. Add parameters to specify timeouts.
44122 (pmap_getport): Use __libc_rpc_getport.
44123 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44124 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44125 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44127 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44132 2010-08-27 Roland McGrath <roland@redhat.com>
44134 * sysdeps/i386/i686/multiarch/Makefile
44135 (CFLAGS-varshift.c): New variable.
44137 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44139 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44140 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44142 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44144 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44146 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44148 * sysdeps/x86_64/strlen.S: Unroll the loop.
44149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44150 strlen-sse2 strlen-sse2-bsf.
44151 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44152 __strlen_no_bsf if bit_Slow_BSF is set.
44153 (__strlen_sse42): Removed.
44154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44155 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44157 2010-08-25 Roland McGrath <roland@redhat.com>
44159 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44160 * sysdeps/x86_64/multiarch/varshift.c: New file.
44161 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44162 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44163 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44164 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44166 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44169 strlen-sse2 strlen-sse2-bsf.
44170 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44171 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44172 (__strlen_sse2): Removed.
44173 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44174 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44176 bit_Slow_BSF for Atom.
44177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44178 (index_Slow_BSF): Define.
44179 (HAS_SLOW_BSF): Define.
44181 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44184 * resolv/res_init.c (__res_vinit): When no server address at all
44185 is given default to loopback.
44187 2010-08-24 Roland McGrath <roland@redhat.com>
44189 * configure.in: Remove config-name.h generation.
44190 * configure: Regenerated.
44191 * config-name.in: File removed.
44192 * scripts/config-uname.sh: New file.
44193 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44194 ($(objdir)config-name.h): New target.
44196 * sunrpc/rpc_parse.h: Avoid nested comment.
44198 2010-08-24 Richard Henderson <rth@redhat.com>
44199 Ulrich Drepper <drepper@redhat.com>
44200 H.J. Lu <hongjiu.lu@intel.com>
44202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44204 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44205 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44206 _mm_alignr_epi8 with _mm_loadu_si128.
44207 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44208 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44209 (__m128i_shift_right): Removed.
44210 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44211 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44212 * sysdeps/x86_64/multiarch/varshift.h: New file.
44213 * sysdeps/x86_64/multiarch/varshift.S: New file.
44215 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44217 * configure.in: Move assembler checks to before sysdep dir checking.
44219 2010-08-20 Petr Baudis <pasky@suse.cz>
44221 * LICENSES: Sync the sunrpc license.
44223 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44225 * sunrpc/auth_des.c: Update copyright notice once again.
44226 * sunrpc/auth_none.c: Likewise.
44227 * sunrpc/auth_unix.c: Likewise.
44228 * sunrpc/authdes_prot.c: Likewise.
44229 * sunrpc/authuxprot.c: Likewise.
44230 * sunrpc/bindrsvprt.c: Likewise.
44231 * sunrpc/clnt_gen.c: Likewise.
44232 * sunrpc/clnt_perr.c: Likewise.
44233 * sunrpc/clnt_raw.c: Likewise.
44234 * sunrpc/clnt_simp.c: Likewise.
44235 * sunrpc/clnt_tcp.c: Likewise.
44236 * sunrpc/clnt_udp.c: Likewise.
44237 * sunrpc/clnt_unix.c: Likewise.
44238 * sunrpc/des_crypt.c: Likewise.
44239 * sunrpc/des_soft.c: Likewise.
44240 * sunrpc/get_myaddr.c: Likewise.
44241 * sunrpc/getrpcport.c: Likewise.
44242 * sunrpc/key_call.c: Likewise.
44243 * sunrpc/key_prot.c: Likewise.
44244 * sunrpc/openchild.c: Likewise.
44245 * sunrpc/pm_getmaps.c: Likewise.
44246 * sunrpc/pm_getport.c: Likewise.
44247 * sunrpc/pmap_clnt.c: Likewise.
44248 * sunrpc/pmap_prot.c: Likewise.
44249 * sunrpc/pmap_prot2.c: Likewise.
44250 * sunrpc/pmap_rmt.c: Likewise.
44251 * sunrpc/rpc/auth.h: Likewise.
44252 * sunrpc/rpc/auth_unix.h: Likewise.
44253 * sunrpc/rpc/clnt.h: Likewise.
44254 * sunrpc/rpc/des_crypt.h: Likewise.
44255 * sunrpc/rpc/key_prot.h: Likewise.
44256 * sunrpc/rpc/netdb.h: Likewise.
44257 * sunrpc/rpc/pmap_clnt.h: Likewise.
44258 * sunrpc/rpc/pmap_prot.h: Likewise.
44259 * sunrpc/rpc/pmap_rmt.h: Likewise.
44260 * sunrpc/rpc/rpc.h: Likewise.
44261 * sunrpc/rpc/rpc_des.h: Likewise.
44262 * sunrpc/rpc/rpc_msg.h: Likewise.
44263 * sunrpc/rpc/svc.h: Likewise.
44264 * sunrpc/rpc/svc_auth.h: Likewise.
44265 * sunrpc/rpc/types.h: Likewise.
44266 * sunrpc/rpc/xdr.h: Likewise.
44267 * sunrpc/rpc_clntout.c: Likewise.
44268 * sunrpc/rpc_cmsg.c: Likewise.
44269 * sunrpc/rpc_common.c: Likewise.
44270 * sunrpc/rpc_cout.c: Likewise.
44271 * sunrpc/rpc_dtable.c: Likewise.
44272 * sunrpc/rpc_hout.c: Likewise.
44273 * sunrpc/rpc_main.c: Likewise.
44274 * sunrpc/rpc_parse.c: Likewise.
44275 * sunrpc/rpc_parse.h: Likewise.
44276 * sunrpc/rpc_prot.c: Likewise.
44277 * sunrpc/rpc_sample.c: Likewise.
44278 * sunrpc/rpc_scan.c: Likewise.
44279 * sunrpc/rpc_scan.h: Likewise.
44280 * sunrpc/rpc_svcout.c: Likewise.
44281 * sunrpc/rpc_tblout.c: Likewise.
44282 * sunrpc/rpc_util.c: Likewise.
44283 * sunrpc/rpc_util.h: Likewise.
44284 * sunrpc/rpcinfo.c: Likewise.
44285 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44286 * sunrpc/rpcsvc/key_prot.x: Likewise.
44287 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44288 * sunrpc/rpcsvc/mount.x: Likewise.
44289 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44290 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44291 * sunrpc/rpcsvc/rex.x: Likewise.
44292 * sunrpc/rpcsvc/rstat.x: Likewise.
44293 * sunrpc/rpcsvc/rusers.x: Likewise.
44294 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44295 * sunrpc/rpcsvc/spray.x: Likewise.
44296 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44297 * sunrpc/rtime.c: Likewise.
44298 * sunrpc/svc.c: Likewise.
44299 * sunrpc/svc_auth.c: Likewise.
44300 * sunrpc/svc_authux.c: Likewise.
44301 * sunrpc/svc_raw.c: Likewise.
44302 * sunrpc/svc_run.c: Likewise.
44303 * sunrpc/svc_simple.c: Likewise.
44304 * sunrpc/svc_tcp.c: Likewise.
44305 * sunrpc/svc_udp.c: Likewise.
44306 * sunrpc/svc_unix.c: Likewise.
44307 * sunrpc/svcauth_des.c: Likewise.
44308 * sunrpc/xcrypt.c: Likewise.
44309 * sunrpc/xdr.c: Likewise.
44310 * sunrpc/xdr_array.c: Likewise.
44311 * sunrpc/xdr_float.c: Likewise.
44312 * sunrpc/xdr_mem.c: Likewise.
44313 * sunrpc/xdr_rec.c: Likewise.
44314 * sunrpc/xdr_ref.c: Likewise.
44315 * sunrpc/xdr_sizeof.c: Likewise.
44316 * sunrpc/xdr_stdio.c: Likewise.
44318 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44321 2010-08-19 Andreas Schwab <schwab@redhat.com>
44323 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44325 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44327 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44328 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44329 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44330 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44331 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44332 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44333 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44334 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44335 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44336 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44337 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44338 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44339 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44340 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44342 2010-07-26 Anton Blanchard <anton@samba.org>
44344 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44345 * malloc/arena.c (heap_trim): Likewise.
44347 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44349 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44352 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44354 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44356 * sysdeps/i386/elf/Makefile: New file.
44358 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44360 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44361 from fanotify_init.
44362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44365 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44367 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44369 * sysdeps/multiarch/strcmp.S: Likewise.
44371 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44373 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44374 strncase_l-nonascii.
44375 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44376 Add strncase_l-ssse3.
44377 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44378 * sysdeps/x86_64/strcmp.S: Likewise.
44379 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44380 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44381 * sysdeps/x86_64/strncase.S: New file.
44382 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44383 * sysdeps/x86_64/strncase_l.S: New file.
44384 * string/Makefile (strop-tests): Add strncasecmp.
44385 * string/test-strncasecmp.c: New file.
44387 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44390 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44391 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44393 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44395 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44397 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44399 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44400 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44401 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44403 2010-05-01 Alan Modra <amodra@gmail.com>
44405 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44406 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44407 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44408 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44409 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44410 tidying. Don't tail-call __sigjmp_save for static lib.
44411 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44413 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44414 (CALL_MCOUNT): Add eh info, and nop after bl.
44415 (TAIL_CALL_SYSCALL_ERROR): New macro.
44416 (PSEUDO_RET): Use it.
44417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44418 Correct save location of integer regs and cr.
44419 (_dl_profile_resolve): Correct cr save location. Delete nops
44420 after bl when SHARED. Reduce cfi size a little by better
44421 placement of cfi directives.
44422 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44423 make a stack frame. Instead use parm save area as a temp.
44424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44425 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44427 Don't make a stack frame for parent, use parm save area.
44428 Increase child stack frame to 112 bytes. Don't save unused reg,
44429 and adjust reg usage. Set up cfi on error recovery and
44430 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44432 (__makecontext): Add dummy nop after jump to exit.
44433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44434 Use correct parm save area and cr save, reduce stack frame.
44435 Correct cfi for possible PSEUDO_RET frame setup.
44436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44437 Branch to local label emitted by PSEUDO_RET rather than
44440 2010-08-12 Andreas Schwab <schwab@redhat.com>
44443 * locale/programs/locale.c (print_assignment): New function.
44444 (show_locale_vars): Use it.
44446 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44448 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44450 (struct statfs64): Likewise.
44451 (_STATFS_F_FLAGS): Define.
44452 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44453 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44454 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44455 (ST_VALID): Define locally.
44456 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44457 __statvfs_getflags, use the provided value.
44458 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44459 __ASSUME_STATFS_F_FLAGS.
44461 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44463 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44464 Add sys/fanotify.h.
44465 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44466 fanotify_mask for GLIBC_2.13.
44467 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44468 fanotify_init and fanotify_mark.
44469 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44470 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44472 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44474 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44475 prlimit64 for GLIBC_2.13.
44476 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44478 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44481 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44482 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44483 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44486 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44489 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44490 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44492 * nss/Makefile: Add rules to build and run tst-nss-test1.
44493 * shlib-versions: Add entry for libnss_test1.
44494 * nss/nss_test1.c: New file.
44495 * nss/tst-nss-test1.c: New file.
44497 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44498 (__nss_configure_lookup): Set appropriate entry in
44499 __nss_configure_lookup to true.
44500 * nss/nsswitch.h: Define enum with indeces of databases in
44501 databases and __nss_database_custom arrays. Declare
44502 __nss_database_custom.
44503 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44504 to avoid using nscd when custom rules are installed.
44505 * nss/getXXbyYY_r.c: Likewise.
44506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44508 * nss/nss_files/files-parse.c: Whitespace fixes.
44510 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44513 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44514 * posix/fnmatch_loop.c: Likewise.
44516 2010-07-17 Andi Kleen <ak@linux.intel.com>
44518 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44519 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44520 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44521 * Versions.def [GLIBC_2.13]: Add.
44523 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44525 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44526 Also fail if tpwd after pwuid call is NULL.
44528 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44530 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44531 when converting to ms.
44533 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44535 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44536 EOPNOTSUPP errors with ENOTTY.
44537 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44538 EOPNOTSUPP errors with ENOTTY.
44540 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44542 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44543 Add strcasecmp_l-ssse3.
44544 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44546 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44547 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44548 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44550 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44552 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44554 * string/Makefile (strop-tests): Add strcasecmp.
44555 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44556 strcasecmp_l-nonascii.
44557 (gen-as-const-headers): Add locale-defines.sym.
44558 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44559 * sysdeps/x86_64/strcasecmp.S: New file.
44560 * sysdeps/x86_64/strcasecmp_l.S: New file.
44561 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44562 * sysdeps/x86_64/locale-defines.sym: New file.
44563 * string/test-strcasecmp.c: New file.
44565 * string/test-strcasestr.c: Test both ends of the range of characters.
44566 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44568 2010-07-29 Roland McGrath <roland@redhat.com>
44571 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44573 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44575 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44578 2010-07-27 Andreas Schwab <schwab@redhat.com>
44580 * manual/memory.texi (Malloc Tunable Parameters): Document
44583 2010-07-26 Roland McGrath <roland@redhat.com>
44586 * configure.in (-fgnu89-inline check): Set and substitute
44587 gnu89_inline, not libc_cv_gnu89_inline.
44588 * configure: Regenerated.
44589 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44591 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44593 * string/test-strnlen.c: New file.
44594 * string/Makefile (strop-tests): Add strnlen.
44595 * string/tester.c (test_strnlen): Add a few more test cases.
44596 * string/tst-strlen.c: Better error reporting.
44598 * sysdeps/x86_64/strnlen.S: New file.
44600 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44602 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44603 lower-latency instructions.
44605 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44607 * string/test-strcasestr.c: New file.
44608 * string/test-strstr.c: New file.
44609 * string/Makefile (strop-tests): Add strstr and strcasestr.
44610 * string/str-two-way.h: Don't undefine MAX.
44611 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44613 2010-07-21 Andreas Schwab <schwab@redhat.com>
44615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44616 strcasestr-nonascii.
44617 (CFLAGS-strcasestr-nonascii.c): Define.
44618 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44619 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44620 Remove unused attribute.
44622 2010-07-20 Roland McGrath <roland@redhat.com>
44624 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44625 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44626 ld.so.cache was broken. With it, there is no way to disable dsocaps
44627 like LD_HWCAP_MASK can disable hwcaps.
44629 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44631 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44633 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44635 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44636 call in strcasestr.
44637 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44638 __strcasestr_sse42_nonascii.
44639 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44640 strcasestr-nonascii.c.
44641 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44643 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44645 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44646 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44647 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44648 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44650 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44652 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44655 2010-07-06 Andreas Schwab <schwab@redhat.com>
44658 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44661 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44663 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44664 _PC_PIPE_BUF using F_GETPIPE_SZ.
44666 2010-07-05 Roland McGrath <roland@redhat.com>
44668 * manual/arith.texi (Rounding Functions): Fix rint description
44669 implicit in round description.
44671 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44673 * elf/Makefile: Fix linking for a few tests to make recent linker
44676 2010-06-30 Andreas Schwab <schwab@redhat.com>
44678 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44679 $(common-objpfx)libc_nonshared.a.
44681 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44683 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44684 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44685 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44686 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44687 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44688 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44689 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44690 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44705 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44706 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44707 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44708 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44709 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44710 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44711 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44712 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44713 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44714 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44715 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44716 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44732 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44734 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44735 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44736 * string/memmove.c (memmove): Renamed to ...
44737 (MEMMOVE): ...this. Default to memmove.
44738 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44739 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44742 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44743 mempcpy-ssse3-back memmove-ssse3-back.
44744 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44745 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44746 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44747 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44748 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44749 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44750 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44751 * sysdeps/x86_64/multiarch/memmove.c: New file.
44752 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44753 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44754 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44755 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44756 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44757 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44759 (index_Fast_Copy_Backward): Define.
44760 (HAS_ARCH_FEATURE): Define.
44761 (HAS_FAST_REP_STRING): Define.
44762 (HAS_FAST_COPY_BACKWARD): Define.
44764 2010-06-21 Andreas Schwab <schwab@redhat.com>
44766 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44767 Restore proper fallback handling.
44769 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44772 * posix/group_member.c (__group_member): Correct checking loop.
44774 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44775 OOM in getpwuid_r correctly. Return error number when the caller
44776 should return, otherwise -1.
44777 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44778 call returning > 0 value.
44779 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44781 2010-06-07 Andreas Schwab <schwab@redhat.com>
44783 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44784 libc_nonshared.a from targets in modules-names.
44786 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44788 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44791 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44793 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44794 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44795 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44796 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44798 2010-06-02 Andreas Schwab <schwab@redhat.com>
44800 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44802 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44804 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44806 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44807 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44813 2010-06-14 Roland McGrath <roland@redhat.com>
44815 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44817 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44819 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44820 __REDIRECT followed by __THROW.
44821 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44822 * posix/getopt.h (getopt): Likewise.
44824 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44826 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44827 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44828 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44830 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44831 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44833 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44835 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44837 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44841 Properly check family and model.
44843 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44845 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44847 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44849 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44851 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44853 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44856 2010-05-19 Andreas Schwab <schwab@redhat.com>
44858 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44861 2010-05-21 Andreas Schwab <schwab@redhat.com>
44863 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44864 and internal_recvmmsg.
44865 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44866 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44867 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44868 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44870 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44871 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44872 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44874 2010-05-20 Andreas Schwab <schwab@redhat.com>
44876 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44878 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44880 POWER7 optimizations.
44881 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44882 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44884 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44886 * version.h: Update for 2.13 development version.
44888 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44890 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44891 exceptions. Return 0.
44893 2010-05-07 Roland McGrath <roland@redhat.com>
44895 * elf/ldconfig.c (main): Add a const.
44897 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44899 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44900 (args_options): Add no-idn option.
44901 (ahosts_keys_int): Add idn_flags to ai_flags.
44902 (parse_option): Handle 'i' option to clear idn_flags.
44904 * malloc/malloc.c (_int_free): Possible race in the most recently
44905 added check. Only act on the data if no current modification
44908 See ChangeLog.17 for earlier changes.