1 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
23 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29 conditional [RESET_PID].
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39 (__libc_vfork): New strong alias.
40 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
42 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
47 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48 (__libc_vfork): New strong alias.
49 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
54 2014-05-26 Carlos O'Donell <carlos@redhat.com>
56 * malloc/malloc.c (mi_arena): New function.
57 (malloc_info): Remove nested function mi_arena. Call non-nosted
60 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
64 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
65 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
66 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
67 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
68 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
69 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
70 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
72 2014-05-26 Andreas Schwab <schwab@suse.de>
75 * locale/programs/repertoire.c (repertoire_read): Add slash
76 between I18NPATH element and file name.
77 * locale/programs/locfile.c (locfile_read): Likewise.
79 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
81 * nptl/pthread_mutexattr_settype.c
82 (__pthread_mutexattr_settype):
83 Disable lock elision for PTHREAD_MUTEX_NORMAL.
85 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
87 * nptl/tst-mutex5 (do_test):
88 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
90 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
92 * benchtests/README: Document 'init' directive.
93 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
95 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
96 (parse_file): Recognize 'init' directive.
98 2014-05-26 Kyle McMartin <kyle@redhat.com>
101 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
102 alignment of struct pthread.
104 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
107 * nscd/netgroupcache.c (addgetnetgrentX): Look for
108 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
109 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
110 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
112 2014-05-25 Richard Henderson <rth@twiddle.net>
114 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
115 (SINGLE_THREAD_P_PIC): Remove.
116 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
117 (SINGLE_THREAD_P_PIC): Remove.
119 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
120 branch to syscall error ...
122 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
123 from __local_syscall_error to .Lsyscall_error.
124 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
125 (SYSCALL_ERROR): Update label name.
127 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
128 Do not use DOARGS/UNDOARGS.
129 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
130 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
131 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
132 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
133 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
138 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
139 define if !NOT_IN_libc.
140 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
141 define with non-default symbol versions.
143 2014-05-23 Richard Henderson <rth@twiddle.net>
145 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
146 (vfork, __vfork): Define via compat_symbol.
148 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
149 [!HAVE_IFUNC] (vfork_compat): Remove.
150 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
152 2014-05-23 Joseph Myers <joseph@codesourcery.com>
155 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
156 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
159 2014-05-23 Richard Henderson <rth@twiddle.net>
161 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
162 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
163 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
164 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
166 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
167 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
168 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
169 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
170 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
171 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
172 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
173 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
174 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
175 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
176 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
177 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
178 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
179 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
180 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
181 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
182 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
183 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
184 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
185 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
186 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
187 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
188 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
189 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
190 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
191 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
192 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
193 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
194 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
195 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
196 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
197 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
198 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
199 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
200 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
201 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
202 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
203 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
204 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
205 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
206 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
207 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
208 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
209 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
210 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
211 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
212 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
213 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
214 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
215 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
216 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
217 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
219 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
220 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
221 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
223 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
224 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
225 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
226 before exiting on error.
227 (__libc_vfork): New strong alias.
228 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
229 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
231 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
232 that was previously under [RESET_PID].
233 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
235 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
237 2014-05-23 Joseph Myers <joseph@codesourcery.com>
240 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
241 value when x - 1 is zero.
242 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
243 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
244 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
245 0.0L for an argument of 1.0L.
246 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
248 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
249 value when x - 1 is zero.
250 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
251 * sysdeps/i386/fpu/libm-test-ulps: Update.
252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
254 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
256 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
257 alphasort and versionsort.
259 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
263 [copysignf]: Likewise.
265 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
267 * crypt/md5-crypt.c: Fix formatting.
269 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
271 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
272 (b64_from_24bit): New function.
274 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
276 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
277 libc_hidden_builtin_def to ifunc.
278 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
279 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
281 2014-05-21 Roland McGrath <roland@hack.frob.com>
283 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
284 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
286 2014-05-21 Joseph Myers <joseph@codesourcery.com>
288 * nscd/Depend (linuxthreads): Remove.
290 * resolv/Depend (linuxthreads): Remove.
291 * rt/Depend (linuxthreads): Remove.
293 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
294 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
295 $(common-objpfx)elf/.
296 (link-libc-before-gnulib): Likewise.
297 (elfobjdir): Remove variable.
298 * Makefile (install): Use $(elf-objpfx) instead of
299 $(common-objpfx)elf/.
300 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
302 (link-libc-deps): Likewise.
303 ($(common-objpfx)libc.so): Likewise.
304 ($(common-objpfx)linkobj/libc.so): Likewise.
305 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
306 instead of $(common-objpfx)elf/.
307 (symbolic-link-list): Likewise.
308 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
309 [$(cross-compiling) = no]: Likewise.
310 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
312 (static-gnulib-arch): Likewise.
313 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
314 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
315 $(common-objpfx)elf/.
317 2014-05-21 Richard Henderson <rth@redhat.com>
319 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
320 (SINGLE_THREAD_P): Use the correct width load. Fold
323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
324 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
326 2014-05-20 Joseph Myers <joseph@codesourcery.com>
328 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
329 (libgcc_s_resume): Use __attribute_used__.
330 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
333 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
335 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
336 optimization when used with float constants.
338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
340 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
343 * locale/nl_langinfo_l.c: Make direct reference to every
344 _nl_current_CATEGORY symbol.
345 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
346 (tests-static): Add tst-langinfo-static.
347 (tests-special): Add tst-langinfo-static.out.
348 ($(objpfx)tst-langinfo.out): Redirect output.
349 ($(objpfx)tst-langinfo-static.out): New.
350 * localedata/tst-langinfo.sh: Send output to stdout.
351 * localedata/tst-langinfo-static.c: New file.
354 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
355 when the shift amount is modulo the limb size.
357 2014-05-20 Richard Henderson <rth@redhat.com>
360 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
361 Change type of sa_flags from unsigned int to int.
364 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
366 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
368 2014-05-20 Will Newton <will.newton@linaro.org>
370 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
371 Test the return value of the system call in the nocancel case.
373 2014-05-20 Will Newton <will.newton@linaro.org>
374 Yvan Roux <yvan.roux@linaro.org>
376 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
377 #include of asm/ptrace.h.
378 (PTRACE_GET_THREAD_AREA): Remove #undef.
379 (PTRACE_GETHBPREGS): Likewise.
380 (PTRACE_SETHBPREGS): Likewise.
381 (struct user_regs_struct): New structure.
382 (struct user_fpsimd_struct): New structure.
383 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
384 #include of asm/ptrace.h and second #include of sys/user.h.
385 (PTRACE_GET_THREAD_AREA): Remove #undef.
386 (PTRACE_GETHBPREGS): Likewise.
387 (PTRACE_SETHBPREGS): Likewise.
388 (ELF_NGREG): Use new struct user_regs_struct.
389 (elf_fpregset_t): Use new struct user_fpsimd_struct.
391 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
393 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
394 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
396 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
400 membar to avoid block loads/stores to overlap previous stores.
402 2014-05-17 Richard Henderson <rth@redhat.com>
404 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
405 Create the __##syscall_name##_nocancel entry point.
406 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
407 Remove; let the sysdep-cancel.h code create it.
409 2014-05-17 David S. Miller <davem@davemloft.net>
411 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
412 Protect with __USE_GNU.
413 (TIOCSET_TEMPT): Likewise.
414 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
415 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
416 these are already provided in bits/ioctl-types.h
418 2014-05-16 Roland McGrath <roland@hack.frob.com>
420 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
421 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
423 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
424 Use wait4 regardless of [__NR_waitpid].
426 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
429 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
430 (_FP_NANSIGN_Q): Set the quiet bit.
432 2014-05-16 Joseph Myers <joseph@codesourcery.com>
434 * benchtests/Makefile
435 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
436 not $(common-objpfx)math/libm.so.
437 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
438 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
439 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
440 $(common-objpfx)dlfcn/libdl.so.
441 ($(objpfx)tst-audit8): Depend on $(libm), not
442 $(common-objpfx)math/libm.so.
443 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
444 not $(common-objpfx)dlfcn/libdl.so.
446 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
447 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
448 [$(build-shared) = yes].
449 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
450 $(common-objpfx)nptl/libpthread.so.
451 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
452 $(common-objpfx)math/libm.so$(libm.so-version) or
453 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
454 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
455 $(common-objpfx)dlfcn/libdl.so.
456 * setjmp/Makefile (link-libm): Remove variable.
457 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
458 * stdio-common/Makefile (link-libm): Remove variable.
459 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
460 * stdlib/Makefile (link-libm): Remove variable.
461 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
462 ($(objpfx)tst-strtod-round): Likewise.
463 ($(objpfx)tst-tininess): Likewise.
464 ($(objpfx)tst-strtod-underflow): Likewise.
465 ($(objpfx)tst-strtod6): Likewise.
466 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
467 $(libdl), not $(common-objpfx)nptl/libpthread.so and
468 $(common-objpfx)dlfcn/libdl.so.
470 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
472 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
473 BSD terminal modes definitions.
475 2014-05-16 Roland McGrath <roland@hack.frob.com>
477 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
478 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
480 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
481 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
482 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
483 Don't do #include_next.
484 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
485 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
486 Don't do #include_next.
487 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
488 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
489 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
490 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
492 2014-05-16 Allan McRae <allan@archlinux.org>
494 * po/sv.po: Update Swedish translation from translation project.
496 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
499 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
502 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
503 errno if the TIOCGPTN ioctl fails with an error different than
505 * login/tst-ptsname.c: New file.
506 * login/Makefile (tests): Add tst-ptsname.
509 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
512 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
516 herrno to return EAI_AGAIN.
518 2014-05-14 Roland McGrath <roland@hack.frob.com>
520 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
521 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
522 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
523 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
524 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
526 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
527 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
528 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
529 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
530 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
532 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
533 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
534 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
535 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
536 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
538 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
540 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
542 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
544 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
546 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
547 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
548 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
549 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
551 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
553 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
556 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
580 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
582 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
585 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
587 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
601 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
603 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
606 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
608 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
610 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
611 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
612 (libpthread-sysdep_routines): Add elision-related stuff here instead.
613 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
614 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
615 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
616 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
617 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
618 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
619 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
620 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
621 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
622 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
623 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
624 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
625 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
626 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
627 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
628 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
629 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
630 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
631 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
632 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
633 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
634 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
635 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
636 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
637 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
638 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
639 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
640 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
642 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
643 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
645 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
646 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
647 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
648 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
649 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
650 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
652 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
653 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
655 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
656 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
658 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
659 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
661 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
662 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
663 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
664 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
666 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
667 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
668 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
669 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
670 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
671 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
672 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
673 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
675 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
678 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
680 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
681 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
682 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
683 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
684 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
686 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
688 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
690 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
691 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
692 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
693 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
694 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
695 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
697 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
698 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
700 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
701 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
703 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
704 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
706 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
707 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
708 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
709 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
711 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
712 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
713 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
714 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
715 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
716 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
717 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
718 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
720 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
723 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
725 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
726 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
727 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
728 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
729 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
731 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
733 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
735 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
736 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
737 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
738 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
739 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
740 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
741 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
742 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
743 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
744 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
746 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
747 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
749 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
750 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
752 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
753 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
755 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
756 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
757 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
758 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
759 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
760 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
762 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
763 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
764 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
765 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
766 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
767 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
768 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
769 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
771 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
772 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
774 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
776 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
777 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
778 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
779 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
780 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
782 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
784 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
786 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
787 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
788 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
789 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
790 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
791 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
792 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
793 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
794 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
795 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
796 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
798 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
799 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
801 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
802 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
804 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
805 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
806 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
807 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
808 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
809 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
810 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
811 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
812 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
814 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
815 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
816 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
817 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
818 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
819 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
820 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
821 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
823 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
824 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
825 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
826 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
828 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
829 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
830 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
831 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
832 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
833 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
834 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
837 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
838 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
840 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
841 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
842 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
843 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
844 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
845 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
846 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
847 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
848 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
849 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
850 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
851 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
852 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
853 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
854 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
855 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
856 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
858 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
859 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
860 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
861 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
862 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
864 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
865 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
866 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
867 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
868 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
869 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
870 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
871 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
872 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
873 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
875 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
878 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
879 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
880 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
881 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
882 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
883 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
884 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
885 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
886 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
887 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
888 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
889 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
890 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
891 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
896 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
898 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
900 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
912 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
913 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
916 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
917 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
918 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
919 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
920 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
921 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
922 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
923 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
924 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
925 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
926 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
929 that was previously under [RESET_PID].
930 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
931 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
932 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
934 * sysdeps/i386/nptl/Implies: New file.
935 * sysdeps/x86_64/nptl/Implies: New file.
936 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
937 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
938 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
939 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
941 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
942 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
943 (__libc_vfork): New strong alias.
944 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
945 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
947 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
948 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
949 (__libc_vfork): New strong alias.
950 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
951 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
953 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
954 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
955 (__libc_vfork): New strong alias.
956 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
957 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
958 * nptl/pt-vfork.c: New file.
959 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
960 (libpthread: GLIBC_2.20): New version set (empty).
962 2014-05-14 Will Newton <will.newton@linaro.org>
964 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
967 2014-05-14 Joseph Myers <joseph@codesourcery.com>
970 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
971 arguments with exponent 65 or above.
972 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
973 arguments 0x1p113L or above.
974 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
975 to arguments 0x1p107L or above.
976 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
977 positive arguments with exponent 65 or above.
978 * math/auto-libm-test-in: Add more tests of log1p.
979 * math/auto-libm-test-out: Regenerated.
982 * math/s_cacos.c (__cacos): Ensure zero real part of result from
983 non-finite arguments is +0.
984 * math/s_cacosf.c (__cacosf): Likewise.
985 * math/s_cacosl.c (__cacosl): Likewise.
986 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
987 * sysdeps/i386/fpu/libm-test-ulps: Update.
988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
991 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
993 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
994 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
995 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
996 for explicit high bit of mantissa when testing for argument equal
998 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
999 * sysdeps/i386/fpu/libm-test-ulps: Update.
1000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1003 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1004 (__erf): Scale by 16 instead of 8 in potentially underflowing
1005 case. Ensure exception if result actually underflows.
1006 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1007 (__erff): Scale by 16 instead of 8 in potentially underflowing
1008 case. Ensure exception if result actually underflows.
1009 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1010 (efx8): Remove variable.
1011 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1012 case. Ensure exception if result actually underflows.
1013 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1014 (efx8): Remove variable.
1015 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1016 case. Ensure exception if result actually underflows.
1017 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1018 (efx8): Remove variable.
1019 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1020 case. Ensure exception if result actually underflows.
1021 * math/auto-libm-test-in: Add more tests of erf.
1022 * math/auto-libm-test-out: Regenerated.
1024 2014-05-14 Andreas Schwab <schwab@suse.de>
1026 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1027 Remove code conditionalized on USE___THREAD.
1029 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1030 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1033 2014-05-14 Joseph Myers <joseph@codesourcery.com>
1035 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1036 Define unconditionally.
1037 (__ASSUME_O_CLOEXEC): Likewise.
1038 (__ASSUME_SOCK_CLOEXEC): Likewise.
1039 (__ASSUME_IN_NONBLOCK): Likewise.
1040 (__ASSUME_PIPE2): Likewise.
1041 (__ASSUME_EVENTFD2): Likewise.
1042 (__ASSUME_SIGNALFD4): Likewise.
1043 (__ASSUME_DUP3): Likewise.
1044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1045 (__ASSUME_DUP3): Do not define.
1046 (__ASSUME_EVENTFD2): Likewise.
1047 (__ASSUME_IN_NONBLOCK): Likewise.
1048 (__ASSUME_O_CLOEXEC): Likewise.
1049 (__ASSUME_PIPE2): Likewise.
1050 (__ASSUME_SIGNALFD4): Likewise.
1051 (__ASSUME_SOCK_CLOEXEC): Likewise.
1052 (__ASSUME_UTIMES): Undefine.
1053 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1054 (__ASSUME_UTIMES): Do not define.
1055 (__ASSUME_O_CLOEXEC): Likewise.
1056 (__ASSUME_SOCK_CLOEXEC): Likewise.
1057 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1058 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1060 (__ASSUME_PIPE2): Likewise.
1061 (__ASSUME_EVENTFD2): Likewise.
1062 (__ASSUME_SIGNALFD4): Likewise.
1063 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1064 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1066 (__ASSUME_EVENTFD2): Likewise.
1067 (__ASSUME_SIGNALFD4): Likewise.
1068 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1069 (__ASSUME_32BITUIDS): Likewise.
1070 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1071 (__ASSUME_IPC64): Likewise.
1072 (__ASSUME_ST_INO_64_BIT): Likewise.
1073 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1074 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1075 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1076 (__ASSUME_UTIMES): Do not define.
1077 (__ASSUME_PSELECT): Likewise.
1078 (__ASSUME_PPOLL): Likewise.
1079 (__ASSUME_O_CLOEXEC): Likewise.
1080 (__ASSUME_SOCK_CLOEXEC): Likewise.
1081 (__ASSUME_IN_NONBLOCK): Likewise.
1082 (__ASSUME_PIPE2): Likewise.
1083 (__ASSUME_EVENTFD2): Likewise.
1084 (__ASSUME_SIGNALFD4): Likewise.
1085 (__ASSUME_DUP3): Likewise.
1086 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1087 (__ASSUME_UTIMES): Likewise.
1088 (__ASSUME_O_CLOEXEC): Likewise.
1089 (__ASSUME_SOCK_CLOEXEC): Likewise.
1090 (__ASSUME_IN_NONBLOCK): Likewise.
1091 (__ASSUME_PIPE2): Likewise.
1092 (__ASSUME_EVENTFD2): Likewise.
1093 (__ASSUME_SIGNALFD4): Likewise.
1094 (__ASSUME_DUP3): Likewise.
1095 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1096 (__ASSUME_UTIMES): Likewise.
1097 (__ASSUME_O_CLOEXEC): Likewise.
1098 (__ASSUME_SOCK_CLOEXEC): Likewise.
1099 (__ASSUME_IN_NONBLOCK): Likewise.
1100 (__ASSUME_PIPE2): Likewise.
1101 (__ASSUME_EVENTFD2): Likewise.
1102 (__ASSUME_SIGNALFD4): Likewise.
1103 (__ASSUME_DUP3): Likewise.
1104 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1106 (__ASSUME_UTIMES): Likewise.
1107 (__ASSUME_EVENTFD2): Likewise.
1108 (__ASSUME_SIGNALFD4): Likewise.
1109 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1110 (__ASSUME_O_CLOEXEC): Likewise.
1111 (__ASSUME_SOCK_CLOEXEC): Likewise.
1112 (__ASSUME_IN_NONBLOCK): Likewise.
1113 (__ASSUME_PIPE2): Likewise.
1114 (__ASSUME_EVENTFD2): Likewise.
1115 (__ASSUME_SIGNALFD4): Likewise.
1116 (__ASSUME_DUP3): Likewise.
1117 (__ASSUME_UTIMES): Undefine.
1119 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1120 feclearexcept. Remove symbol versioning code.
1121 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1122 symbol versioning code.
1123 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1124 symbol versioning code.
1125 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1126 feupdateenv. Remove symbol versioning code.
1127 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1128 fegetexceptflag. Remove symbol versioning code.
1129 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1130 fesetexceptflag. Remove symbol versioning code.
1131 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1132 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1133 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1134 (__posix_fadvise64_l32): Remove prototype.
1135 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1138 2014-05-13 Roland McGrath <roland@hack.frob.com>
1140 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1141 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1142 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1143 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1145 2014-05-13 Sami Kerola <kerolasa@iki.fi>
1147 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1148 current working directory
1150 2014-05-13 Roland McGrath <roland@hack.frob.com>
1152 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1153 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1154 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1155 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1156 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1157 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1158 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1159 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1161 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1162 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1185 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1186 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1187 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1188 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1189 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1190 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1191 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1192 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1193 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1195 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1196 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1198 * sysdeps/unix/sysv/linux/arm/Makefile
1199 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1200 Add rt-aeabi_unwind_cpp_pr1.
1201 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1202 Add nptl-aeabi_unwind_cpp_pr1.
1203 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1204 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1205 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1206 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1207 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1208 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1210 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1211 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1212 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1213 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1215 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1216 Deconditionalize the code that was previously under [RESET_PID].
1217 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1219 * sysdeps/generic/exit-thread.h: New file.
1220 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1221 * include/unistd.h (__exit_thread): Remove declaration.
1222 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1223 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1224 * csu/libc-start.c: Include <exit-thread.h>.
1225 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1226 * nptl/pthread_create.c: Include <exit-thread.h>.
1227 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1228 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1229 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1230 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1231 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1232 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1233 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1234 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1235 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1236 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1237 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1238 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1239 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1240 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1241 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1242 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1243 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1245 2014-05-13 Andreas Schwab <schwab@suse.de>
1247 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1249 2014-05-12 Joseph Myers <joseph@codesourcery.com>
1251 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1252 (__ASSUME_UTIMES): Do not condition on kernel version.
1253 (__ASSUME_PSELECT): Define unconditionally.
1254 (__ASSUME_PPOLL): Likewise.
1255 (__ASSUME_ATFCTS): Likewise.
1256 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1257 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1258 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1259 (__ASSUME_UTIMENSAT): Define unconditionally.
1260 (__ASSUME_PRIVATE_FUTEX): Likewise.
1261 (__ASSUME_FALLOCATE): Likewise.
1262 (__ASSUME_O_CLOEXEC): Likewise.
1263 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1264 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1265 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1266 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1267 (__ASSUME_IN_NONBLOCK): Likewise.
1268 (__ASSUME_PIPE2): Likewise.
1269 (__ASSUME_EVENTFD2): Likewise.
1270 (__ASSUME_SIGNALFD4): Likewise.
1271 (__ASSUME_DUP3): Likewise.
1272 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1273 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1274 (__ASSUME_AT_RANDOM): Likewise.
1275 (__ASSUME_PREADV): Likewise.
1276 (__ASSUME_PWRITEV): Likewise.
1277 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1278 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1279 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1280 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1281 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1282 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1283 (__ASSUME_O_CLOEXEC): Define unconditionally.
1284 (__ASSUME_PSELECT): Do not undefine conditionally.
1285 (__ASSUME_PPOLL): Likewise.
1286 (__ASSUME_ATFCTS): Likewise.
1287 (__ASSUME_SET_ROBUST_LIST): Likewise.
1288 (__ASSUME_UTIMENSAT): Likewise.
1289 (__ASSUME_FDATASYNC): Define unconditionally.
1290 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1291 (__ASSUME_SIGFRAME_V2): Likewise.
1292 )__ASSUME_EVENTFD2): Likewise.
1293 (__ASSUME_SIGNALFD4): Likewise.
1294 (__ASSUME_PSELECT): Do not undefine conditionally.
1295 (__ASSUME_PPOLL): Likewise.
1296 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1297 (__ASSUME_PSELECT): Define unconditionally.
1298 (__ASSUME_PPOLL): Likewise.
1299 (__ASSUME_O_CLOEXEC): Likewise.
1300 (__ASSUME_SOCK_CLOEXEC): Likewise.
1301 (__ASSUME_IN_NONBLOCK): Likewise.
1302 (__ASSUME_PIPE2): Likewise.
1303 (__ASSUME_EVENTFD2): Likewise.
1304 (__ASSUME_SIGNALFD4): Likewise.
1305 (__ASSUME_DUP3): Likewise.
1306 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1307 (__ASSUME_O_CLOEXEC): Likewise.
1308 (__ASSUME_SOCK_CLOEXEC): Likewise.
1309 (__ASSUME_IN_NONBLOCK): Likewise.
1310 (__ASSUME_PIPE2): Likewise.
1311 (__ASSUME_EVENTFD2): Likewise.
1312 (__ASSUME_SIGNALFD4): Likewise.
1313 (__ASSUME_DUP3): Likewise.
1314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1315 (__ASSUME_EVENTFD2): Likewise.
1316 (__ASSUME_SIGNALFD4): Likewise.
1317 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1319 2014-05-12 Andreas Schwab <schwab@suse.de>
1322 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1323 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1324 than maximum RPC packet size.
1325 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1326 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1327 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1328 (_nss_nis_getservbyport_r): Likewise.
1330 2014-05-12 Will Newton <will.newton@linaro.org>
1332 * malloc/Makefile (tests): Add tst-mallopt.
1333 * malloc/tst-mallopt.c: New file.
1335 2014-05-09 Roland McGrath <roland@hack.frob.com>
1337 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1338 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1340 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1343 (tst-tlsmod6.so): Likewise.
1345 2014-05-09 Roland McGrath <roland@hack.frob.com>
1347 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1349 2014-05-09 Joseph Myers <joseph@codesourcery.com>
1352 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1353 and <dl-procinfo.h>.
1354 (__fegetenv): Save SSE state in envp->__eip if supported.
1355 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1356 envp->__eip if supported.
1357 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1358 and <dl-procinfo.h>.
1359 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1360 __data_offset and __data_selector in environment to 0. Set SSE
1362 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1364 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1366 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1368 2014-05-09 Will Newton <will.newton@linaro.org>
1370 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1371 and libc_relro_required for ARM.
1372 * sysdeps/arm/preconfigure: Regenerate.
1374 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1375 Stefan Liebler <stli@linux.vnet.ibm.com>
1377 * config.make.in (enable-lock-elision): New Makefile variable.
1378 * configure.ac: Likewise.
1379 * configure: Regenerate.
1380 * sysdeps/s390/configure.ac:
1381 Add check for gcc transactions support.
1382 * sysdeps/s390/configure: Regenerate.
1383 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1384 Build elision files if enabled.
1385 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1386 Add lock elision support for s390.
1387 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1388 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1389 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1390 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1391 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1392 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1393 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1395 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1397 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1399 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1401 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1402 (__lll_timedlock_elision, __lll_lock_elision)
1403 (__lll_unlock_elision, __lll_trylock_elision)
1404 (lll_timedlock_elision, lll_lock_elision)
1405 (lll_unlock_elision, lll_trylock_elision): Add.
1406 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1407 (pthread_mutex_t): Add lock elision support for s390.
1409 2014-05-14 Wilco <wdijkstr@arm.com>
1411 * sysdeps/arm/fclrexcpt.c: Cleanup.
1412 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1413 * sysdeps/arm/feenablxcpt.c: Cleanup.
1414 * sysdeps/arm/fegetenv.c: Cleanup.
1415 * sysdeps/arm/fegetexcept.c: Cleanup.
1416 * sysdeps/arm/fegetround.c: Cleanup.
1417 * sysdeps/arm/feholdexcpt.c: Cleanup.
1418 * sysdeps/arm/fesetenv.c: Cleanup.
1419 * sysdeps/arm/fesetround.c: Cleanup.
1420 * sysdeps/arm/feupdateenv.c: Cleanup.
1421 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1422 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1423 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1424 * sysdeps/arm/ftestexcept.c: Cleanup.
1425 * sysdeps/arm/get-rounding-mode.h: Cleanup.
1426 * sysdeps/arm/setfpucw.c: Cleanup.
1428 2014-05-09 Will Newton <will.newton@linaro.org>
1430 * sysdeps/arm/armv7/strcmp.S: New file.
1431 * NEWS: Mention addition of ARMv7 optimized strcmp.
1433 2014-05-08 Roland McGrath <roland@hack.frob.com>
1435 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1436 look for %.ac rather than %.in.
1438 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1439 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1440 * sysdeps/mach/hurd/configure: Regenerated.
1441 * sysdeps/unix/sysv/linux/configure: Regenerated.
1443 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1445 2014-05-07 Steve Ellcey <sellcey@mips.com>
1448 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1452 2014-05-07 Andreas Schwab <schwab@suse.de>
1454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1455 when skipping over non-matching result from nscd.
1457 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
1460 * nptl/sockperf.c (client): Check socket return value.
1463 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1464 nscd security class.
1466 2014-05-06 Roland McGrath <roland@hack.frob.com>
1468 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1469 * sysdeps/arm/unwind.h: ... here.
1471 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1474 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1477 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1479 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1480 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1481 multiarch strncpy for PPC64.
1482 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1483 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1485 multiarch optimizations.
1486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1487 (__libc_ifunc_impl_list): Likewise.
1488 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1489 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1490 multiarch stpncpy for PPC64.
1491 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1492 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1494 2014-05-06 Andreas Schwab <schwab@suse.de>
1497 * gmon/mcount.c (_MCOUNT_DECL): Use
1498 atomic_compare_and_exchange_bool_acq instead of
1499 catomic_compare_and_exchange_bool_acq.
1501 2014-05-05 Roland McGrath <roland@hack.frob.com>
1503 * elf/Makefile (others, install-bin): Remove pldd.
1504 (pldd-modules): Variable removed.
1505 ($(objpfx)pldd): Target removed.
1506 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1507 (others, install-bin): Append pldd here.
1508 ($(objpfx)pldd): New target.
1510 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1511 to 0, so the first #if test emitted later doesn't see it undefined.
1512 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1513 * sysdeps/gnu/errlist.c: Regenerated.
1515 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1518 [libc_hidden_builtin_def]: Define to empty value.
1519 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1520 [libc_hidden_builtin_def]: Likewise.
1521 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1522 [libc_hidden_builtin_def]: Likewise.
1523 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1524 [libc_hidden_builtin_def]: Likewise.
1525 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1526 __redirect_memcpy and define ifunc as default hidden symbol.
1527 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1528 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1530 2014-05-04 Adam Conrad <adconrad@0c3.net>
1532 * locale/iso-4217.def: Reintroduce XDR currency.
1534 2014-05-04 Allan McRae <allan@archlinux.org>
1536 * po/eo.po: Update Esperanto translation from translation project.
1538 2014-05-02 Carlos O'Donell <carlos@redhat.com>
1540 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1541 and FEATURE_INDEX_MAX to 1.
1542 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1544 2014-05-01 Steve Ellcey <sellcey@mips.com>
1546 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1547 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1548 * iconvdata/big5.c (ONE_DIRECTION): Define.
1549 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1550 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1551 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1552 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1553 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1554 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1555 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1556 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1557 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1558 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1559 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1560 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1561 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1562 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1563 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1564 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1565 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1566 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1567 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1568 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1569 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1570 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1571 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1572 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1573 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1574 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1575 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1576 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1577 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1578 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1579 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1580 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1581 * iconvdata/johab.c (ONE_DIRECTION): Define.
1582 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1583 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1584 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1585 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1586 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1587 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1588 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1589 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1590 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1591 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1593 2014-05-01 Roland McGrath <roland@hack.frob.com>
1595 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1596 (_IO_JUMPS_OFFSET): Define to 0.
1598 * nptl/sysdeps/pthread/bits/libc-lock.h
1599 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1600 (__libc_lock_define_initialized_recursive): Always define using
1601 initializer. Modern compilers treat uninitialized (implicit zero) and
1602 explicit zero initializers the same (i.e. put the datum in bss).
1604 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1606 * nscd/nscd-client.h: Include <string.h>.
1608 2014-05-01 David S. Miller <davem@davemloft.net>
1611 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1612 multiple zero bytes exist at the end of a string.
1613 Reported by Aurelien Jarno <aurelien@aurel32.net>
1615 * string/test-strcmp.c (check): Add explicit test for situations where
1616 there are multiple zero bytes after the first.
1618 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1621 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1622 when compiling wprintf.
1623 * stdio-common/tstdiomisc.c (t3): New function.
1626 2014-05-01 Steve Ellcey <sellcey@mips.com>
1628 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1629 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1630 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1631 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1633 2014-05-01 Steve Ellcey <sellcey@mips.com>
1635 * stdlib/longlong.h: Updated from GCC.
1637 2014-05-01 Will Newton <will.newton@linaro.org>
1638 Bernard Ogden <bernie.ogden@linaro.org>
1640 * NEWS: Update fixed bug list.
1643 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1645 2014-04-30 David S. Miller <davem@davemloft.net>
1647 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1648 (libc_feholdexcept_setround_sparc_ctx): New function.
1649 (libc_fesetenv_sparc_ctx): Likewise.
1650 (libc_feupdateenv_sparc_ctx): Likewise.
1651 (libc_feholdsetround_sparc_ctx): Likewise.
1652 (libc_feholdexcept_setround_ctx): Define.
1653 (libc_feholdexcept_setroundf_ctx): Likewise.
1654 (libc_feholdexcept_setroundl_ctx): Likewise.
1655 (libc_fesetenv_ctx): Likewise.
1656 (libc_fesetenvf_ctx): Likewise.
1657 (libc_fesetenvl_ctx): Likewise.
1658 (libc_feupdateenv_ctx): Likewise.
1659 (libc_feupdateenvf_ctx): Likewise.
1660 (libc_feupdateenvl_ctx): Likewise.
1661 (libc_feresetround_ctx): Likewise.
1662 (libc_feresetroundf_ctx): Likewise.
1663 (libc_feresetroundl_ctx): Likewise.
1664 (libc_feholdsetround_ctx): Likewise.
1665 (libc_feholdsetroundf_ctx): Likewise.
1666 (libc_feholdsetroundl_ctx): Likewise.
1668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1669 with __USE_GNU instead of XOPEN cpp guards.
1671 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1675 with XOPEN cpp guards.
1677 2014-04-30 Julian Brown <julian@codesourcery.com>
1680 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1683 2014-04-30 Joseph Myers <joseph@codesourcery.com>
1686 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1688 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1689 * sysdeps/unix/sysv/linux/configure: Regenerated.
1690 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1691 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1692 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1693 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1694 * README: Update reference to required Linux kernel version.
1695 * manual/install.texi (Linux): Update reference to required Linux
1696 kernel headers version.
1697 * INSTALL: Regenerated.
1699 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1701 [POSIX] (limits.h): Likewise.
1702 [POSIX] (math.h): Likewise.
1703 [POSIX] (sys/wait.h): Likewise.
1704 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1706 [POSIX] (stddef.h): Do not allow header inclusion.
1708 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1712 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1714 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1715 Return immediately after lll_futex_wake.
1717 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1720 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1722 (datahead_init_pos): Call datahead_init_common early.
1723 (datahead_init_neg): Likewise.
1725 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1726 datahead_init_neg): New functions.
1727 * nscd/aicache.c (addhstaiX): Use them.
1728 * nscd/grpcache.c (cache_addgr): Likewise.
1729 * nscd/hstcache.c (cache_addhst): Likewise.
1730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1731 * nscd/netgroupcache.c (do_notfound): Likewise.
1732 (addgetnetgrentX): Likewise.
1733 (addinnetgrX): Likewise.
1734 * nscd/pwdcache.c (cache_addpw): Likewise.
1735 * nscd/servicescache.c (cache_addserv): Likewise.
1737 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1738 Atsushi Onoe <atsushi@onoe.org>
1743 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1744 one response is valid.
1745 * resolv/res_send.c (send_dg): Check for validity of other
1746 response if the current response is a referral.
1748 2014-04-29 Steve Ellcey <sellcey@mips.com>
1750 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1752 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1755 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1756 Always divide by positive zero when computing -Inf result.
1757 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1758 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1760 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1762 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1763 FPSCR if value do not change.
1764 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1765 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1766 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1767 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1768 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1769 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1772 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1774 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1775 * sysdeps/unix/sysv/linux/hppa: Move directory from
1776 ports/systeps/unix/sysv/linux/hppa.
1777 * README: Update listing for hppa-*-linux-gnu.
1779 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
1782 * manual/stdio.texi (Hook functions): Fix types of stream hook
1785 * socket/sys/socket.h: Fix typo in comment.
1787 2014-04-28 Wilco <wdijkstr@arm.com>
1789 * sysdeps/arm/fenv_private.h: New file.
1790 * sysdeps/arm/math_private.h: New file.
1791 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1793 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1795 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1797 (La_x86_64_retval): Likewise.
1799 2014-04-24 Ian Bolton <ian.bolton@arm.com>
1801 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1802 fpsr if value didn't change.
1803 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1804 to fpcr if value didn't change.
1805 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1806 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1807 fpsr or fpcr if value didn't change.
1808 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1809 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1810 fpcr if value didn't change.
1811 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1812 to fpsr if value didn't change.
1814 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1816 * nptl/tst-sem3.c: Use test-skeleton.c
1817 (main): Rename to do_test. Use return instead of
1819 * nptl/tst-sem4.c: Use test-skeleton.c
1820 (main): Rename to do_test.
1822 2014-04-22 David S. Miller <davem@davemloft.net>
1824 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1825 (struct sigaction): New struct member __glibc_reserved0, change
1826 type of sa_flags to int.
1828 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1830 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1831 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1833 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1835 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1836 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1838 2014-04-22 Will Newton <will.newton@linaro.org>
1839 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1841 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1842 (__longjmp): Add longjmp and longjmp_target SystemTap
1844 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1845 (__sigsetjmp): Add setjmp SystemTap probe.
1847 2014-04-17 Carlos O'Donell <carlos@redhat.com>
1849 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1852 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1856 * sysdeps/powerpc/fpu/fenv_private.h
1857 (libc_feholdexcept_setroundl_ctx): Define to
1858 libc_feholdexcept_setround_ppc_ctx.
1859 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1860 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1861 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1862 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1864 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1866 * sysdeps/aarch64/math-tests.h: New file.
1868 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1870 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1873 Check and set bit_AVX2_Usable.
1874 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1876 (bit_AVX2): Likewise.
1877 (index_AVX2_Usable): Likewise.
1878 (CPUID_AVX2): Likewise.
1879 (HAS_AVX2): Likewise.
1881 2014-04-17 Will Newton <will.newton@linaro.org>
1883 * manual/setjmp.texi (System V contexts): Add note that
1884 calling setcontext on a context created by a call to a
1885 signal handler is undefined. Update text to note that
1886 setcontext from a signal handler is possible but not
1890 * stdlib/tst-setcontext.c: Include signal.h.
1891 (main): Check that the signal stack before and
1892 after swapcontext is the same.
1894 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1895 Re-implement to restore registers in user code and avoid
1896 rt_sigreturn system call.
1898 2014-04-17 Wilco <wdijkstr@arm.com>
1900 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1901 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1902 * math/test-fenv.c: Skip exception trap tests on targets which only
1903 support non-stop mode.
1905 2014-04-17 Ian Bolton <ian.bolton@arm.com>
1906 Wilco Dijkstra <wilco.dijkstra@arm.com>
1908 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1909 (libc_feholdsetround_aarch64_ctx)
1910 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1911 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1912 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1913 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1914 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1915 (libc_feresetround_noexl_ctx): Define.
1917 2014-04-16 Richard Henderson <rth@redhat.com>
1919 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1921 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1924 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1925 const from the non-libc, non-ldso copy.
1927 * sysdeps/alpha/libm-test-ulps: Regenerate.
1929 2014-04-16 Ian Bolton <ian.bolton@arm.com>
1930 Wilco Dijkstra <wilco.dijkstra@arm.com>
1932 * sysdeps/aarch64/fpu/math_private.h: New file.
1934 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1936 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1938 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1940 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1941 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1943 Intel MPX bound registers before _dl_profile_fixup.
1944 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1945 registers after _dl_profile_fixup. Save and restore bound
1946 registers bnd0/bnd1 when calling _dl_call_pltexit.
1947 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1948 (LR_BND_OFFSET): Likewise.
1949 (LRV_BND0_OFFSET): Likewise.
1950 (LRV_BND1_OFFSET): Likewise.
1952 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1954 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1956 * sysdeps/mach/hurd/i386/tls.h: ... here.
1957 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1958 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1961 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1963 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1965 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1967 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1969 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1972 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1973 * sysdeps/s390/configure: Regenerate.
1976 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1977 Set round-to-nearest internally to reduce error accumulation.
1979 2014-04-16 Alan Modra <amodra@gmail.com>
1983 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1984 * math/libm-test.inc (frexp_test_data): Add tests.
1985 * NEWS: Update fixed bug list.
1987 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1989 * benchtests/Makefile: Depend on libraries in build directory.
1990 (bench-math): Separate out math tests.
1991 (bench-pthread): Separate out pthread tests.
1992 (bench): Include math and pthread tests.
1994 2014-04-14 Carlos O'Donell <carlos@redhat.com>
1997 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1998 _dl_debug_initialize.
2000 * configure.ac: Remove SELinux header check.
2001 * configure: Regenerate.
2002 * nscd/selinux.c (perms): Array of const char* to permission names.
2003 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2004 default policy. Call string_to_security_class and string_to_av_perm to
2005 translate strings. Enforce default policy and call avs_has_perm with
2006 results of translated strings.
2008 2014-04-13 David S. Miller <davem@davemloft.net>
2010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2012 2014-04-12 Allan McRae <allan@archlinux.org>
2015 * manual/string.texi (Collation Functions): Fix qsort argument
2017 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2019 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2021 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2022 Make the test a no-op if there are no exceptions defined.
2024 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2026 * elf/Makefile (tests): make tst-dlopen-aout conditional on
2027 enable-hardcoded-path-in-tests
2029 2014-04-11 Will Newton <will.newton@linaro.org>
2031 * benchtests/Makefile (extra-objs): Add json-lib.o.
2032 (bench-func): Tidy up JSON output.
2033 * benchtests/bench-skeleton.c: Include json-lib.h.
2034 (main): Use JSON library functions to do output of
2036 * benchtests/bench-timing-type.c (main): Output the
2037 timing type simply, leaving formatting to the user.
2038 * benchtests/json-lib.c: New file.
2039 * benchtests/json-lib.h: Likewise.
2041 2014-04-11 Torvald Riegel <triegel@redhat.com>
2044 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2045 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2046 memory barriers. Add comments.
2047 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2048 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2049 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2050 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2051 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2052 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2054 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2056 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2057 * sysdeps/s390/s390-64/configure.ac: ... this ...
2058 * sysdeps/s390/configure.ac: ... to here.
2059 * sysdeps/s390/s390-32/configure: Delete file.
2060 * sysdeps/s390/s390-64/configure: Delete file.
2061 * sysdeps/s390/configure: Regenerate.
2063 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2065 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2067 2014-04-11 Will Newton <will.newton@linaro.org>
2069 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2070 to zero if it is not defined elsewhere. (mtrim): Test
2071 the value of MALLOC_DEBUG with #if rather than #ifdef.
2073 2014-04-10 Torvald Riegel <triegel@redhat.com>
2075 * benchtests/pthread_once-inputs: New file.
2076 * benchtests/pthread_once-source.c: New file.
2077 * benchtests/README: Update documentation.
2079 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2080 H.J. Lu <hongjiu.lu@intel.com>
2082 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2083 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2084 * sysdeps/x86_64/configure: Regenerated.
2085 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2087 (REGISTER_SAVE_RAX): Likewise.
2088 (REGISTER_SAVE_RCX): Likewise.
2089 (REGISTER_SAVE_RDX): Likewise.
2090 (REGISTER_SAVE_RSI): Likewise.
2091 (REGISTER_SAVE_RDI): Likewise.
2092 (REGISTER_SAVE_R8): Likewise.
2093 (REGISTER_SAVE_R9): Likewise.
2094 (REGISTER_SAVE_BND0): Likewise.
2095 (REGISTER_SAVE_BND1): Likewise.
2096 (REGISTER_SAVE_BND2): Likewise.
2097 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2098 bound registers when calling _dl_fixup.
2100 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2102 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2103 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2105 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2106 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2107 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2108 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2109 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2110 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2111 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2113 2014-04-09 Peter Brett <peter@peter-b.co.uk>
2116 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2117 pathconf(_PC_NAME_MAX).
2119 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2121 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2123 (__PTHREAD_SPINS): Move definition to ...
2124 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2125 (__PTHREAD_SPINS): ... here.
2126 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2127 (__PTHREAD_SPIN): Likewise.
2128 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2129 (__PTHREAD_SPIN): Likewise.
2130 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2131 (__PTHREAD_SPIN): Likewise.
2132 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2133 (__PTHREAD_SPIN): Likewise.
2134 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2135 (__PTHREAD_SPIN): Likewise.
2136 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2137 (__PTHREAD_SPIN): Likewise.
2138 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2139 (__PTHREAD_SPIN): Likewise.
2140 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2141 (__PTHREAD_SPIN): Likewise.
2142 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2143 (__PTHREAD_SPIN): Likewise.
2144 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2145 (__PTHREAD_SPIN): Likewise.
2146 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2147 (__PTHREAD_SPIN): Likewise.
2148 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2149 (__PTHREAD_SPIN): Likewise.
2151 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2152 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2153 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2154 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2156 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2157 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2158 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2159 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2161 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2162 strlen symbol for non multi-arch builds.
2163 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2164 missing hidden_def and weak_alias.
2166 2014-04-08 Carlos O'Donell <carlos@redhat.com>
2168 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2170 2014-04-07 Will Newton <will.newton@linaro.org>
2172 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2173 and contents. [!_LIBC] Remove #ifndef and contents.
2174 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2175 * string/memccpy.c (__memccpy): Use ANSI prototype.
2176 * string/memfrob.c (memfrob): Likewise.
2177 * string/strcoll.c (STRCOLL): Likewise.
2178 * string/strlen.c (strlen): Likewise.
2179 * string/strtok.c (STRTOK): Likewise.
2180 * string/strcat.c: Remove unused #include of memcopy.h.
2181 (strcat): Use ANSI prototype.
2182 * string/strchr.c: Remove unused #include of memcopy.h.
2183 (strchr): Use ANSI prototype.
2184 * string/strcmp.c: Remove unused #include of memcopy.h.
2185 (strcmp): Use ANSI prototype.
2186 * string/strcpy.c: Remove unused #include of memcopy.h.
2187 (strcpy): Use ANSI prototype.
2189 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2191 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2192 * config.make.in (config-extra-cppflags): Set it from
2193 libc_extra_cppflags.
2194 * configure.ac (libc_extra_cflags): Make it accumulate over
2195 configure fragments.
2196 (libc_extra_cppflags): New flag.
2197 * configure. Regenerate.
2198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2199 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2200 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2204 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2205 result for FE_DOWNWARD rounding mode.
2206 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2210 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2212 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2213 in function argument name.
2215 2014-04-03 David Svoboda <svoboda@cert.org>
2218 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2221 2014-04-03 Roland McGrath <roland@hack.frob.com>
2223 * elf/dl-unmap-segments.h: New file.
2224 * sysdeps/generic/ldsodefs.h
2225 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2226 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2227 * elf/dl-fptr.c: Likewise.
2228 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2229 * sysdeps/aarch64/tlsdesc.c: Likewise.
2230 * sysdeps/arm/tlsdesc.c: Likewise.
2231 * sysdeps/i386/tlsdesc.c: Likewise.
2232 * sysdeps/tile/dl-runtime.c: Likewise.
2233 * sysdeps/x86_64/tlsdesc.c: Likewise.
2234 * elf/dl-load.h: New file.
2235 * elf/dl-load.c: Include it.
2236 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2237 Macros moved to dl-load.h.
2238 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2239 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2240 Use _dl_unmap_segments in place of __munmap.
2241 Break out segment-mapping loop into ...
2242 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2244 2014-04-03 Will Newton <will.newton@linaro.org>
2246 * elf/dl-lookup.c (do_lookup_x): Remove comment
2247 referring to nested function and move variable
2248 declarations down to before first use.
2250 2014-04-02 Joseph Myers <joseph@codesourcery.com>
2254 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2256 * math/s_catanf.c (__catanf): Likewise.
2257 * math/s_catanh.c (__catanh): Likewise.
2258 * math/s_catanhf.c (__catanhf): Likewise.
2259 * math/s_catanhl.c (__catanhl): Likewise.
2260 * math/s_catanl.c (__catanl): Likewise.
2261 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2262 by positive zero when computing -Inf result.
2263 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2264 (catanh_test): Likewise.
2265 * sysdeps/i386/fpu/libm-test-ulps: Update.
2266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2269 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2270 instead of using underflowing value in computing result.
2271 * math/s_clog10.c (__clog10): Likewise.
2272 * math/s_clog10f.c (__clog10f): Likewise.
2273 * math/s_clog10l.c (__clog10l): Likewise.
2274 * math/s_clogf.c (__clogf): Likewise.
2275 * math/s_clogl.c (__clogl): Likewise.
2276 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2277 (clog10_test): Likewise.
2278 * sysdeps/i386/fpu/libm-test-ulps: Update.
2279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2281 2014-04-02 Alan Modra <amodra@gmail.com>
2284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2285 output when value is near a power of two. Use int64_t for lx and
2286 remove casts. Use decimal rather than hex exponent constants.
2287 Don't use long double multiplication when double will suffice.
2288 * math/libm-test.inc (nextafter_test_data): Add tests.
2289 * NEWS: Add 16739 and 16786 to bug list.
2291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2293 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2295 2014-04-01 Will Newton <will.newton@linaro.org>
2297 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2298 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2300 2014-04-01 Florian Weimer <fweimer@redhat.com>
2303 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2304 * nptl/tst-setuid2.c: New file.
2305 * nptl/Makefile (xtests): Add tst-setuid2.
2307 2014-04-01 Alan Modra <amodra@gmail.com>
2310 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2312 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2316 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2317 set errno as appropriate.
2318 * math/w_scalbf.c (__scalbf): Likewise.
2319 * math/w_scalbl.c (__scalbl): Likewise.
2320 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2321 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2322 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2326 * math/w_atan2.c: Include <errno.h>.
2327 (__atan2): Set errno for result underflowing to zero.
2328 * math/w_atan2f.c: Include <errno.h>.
2329 (__atan2f): Set errno for result underflowing to zero.
2330 * math/w_atan2l.c: Include <errno.h>.
2331 (__atan2l): Set errno for result underflowing to zero.
2332 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2334 * math/auto-libm-test-out: Regenerated.
2336 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2338 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2339 Encode instruction correctly in little endian.
2340 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2344 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2346 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2349 2014-03-31 Joseph Myers <joseph@codesourcery.com>
2352 * sysdeps/unix/sysv/linux/kernel-features.h
2353 [__sparc__ && !__arch64__ && !__sparc_v9__]
2354 (__ASSUME_SET_ROBUST_LIST): Do not define.
2355 [__sparc__ && !__arch64__ && !__sparc_v9__]
2356 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2357 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2359 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2360 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2361 (__ASSUME_REQUEUE_PI): Likewise.
2362 (__ASSUME_SET_ROBUST_LIST): Likewise.
2363 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2364 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2366 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2367 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2369 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2371 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2373 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2374 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2376 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2377 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2381 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2382 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2383 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2385 2014-03-31 Will Newton <will.newton@linaro.org>
2387 * benchtests/Makefile (bench): Add ffs and ffsll to list
2389 * benchtests/ffs-inputs: New file.
2390 * benchtests/ffsll-inputs: Likewise.
2392 2014-03-29 Joseph Myers <joseph@codesourcery.com>
2395 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2396 too large before casting to int.
2397 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2398 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2399 * math/libm-test.inc (scalb_test_data): Add more tests.
2401 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2403 * benchtests/Makefile (DETAILED_OPT): New make option.
2404 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2406 * benchtests/bench-skeleton.c: Include stdbool.h.
2407 (main): Store and print timings per input.
2408 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2409 member to each argument value.
2410 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2411 (_print_arg_data): Initialize per-input timing to 0.
2413 * benchtests/Makefile (timing-type): New binary.
2414 (bench-clean): Also remove bench-timing-type.
2415 (bench): New target for timing-type.
2416 (bench-func): Print output in JSON format.
2417 * benchtests/bench-skeleton.c (main): Print output in JSON
2419 * benchtests/bench-timing-type.c: New file.
2420 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2421 (TIMING_PRINT_STATS): Remove.
2422 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2425 * benchtests/bench-modf.c: Remove.
2426 * benchtests/modf-inputs: New inputs file.
2428 2014-03-28 Joseph Myers <joseph@codesourcery.com>
2431 * math/s_clog10.c (M_PI_LOG10E): New macro.
2432 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2433 imaginary parts are 0.
2434 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2435 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2436 imaginary parts are 0.
2437 * math/s_clog10l.c (M_PI_LOG10El): New macro.
2438 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2439 imaginary parts are 0.
2440 * math/libm-test.inc (clog10_test_data): Update expected results
2441 for when real and imaginary parts are 0.
2443 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
2445 * elf/dl-load.c: Finish conversion of __builtin_expect into
2448 2014-03-27 Joseph Myers <joseph@codesourcery.com>
2451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2452 1+x for argument with exponent below -67.
2453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2455 * math/auto-libm-test-in: Add more tests of exp.
2456 * math/auto-libm-test-out: Regenerated.
2458 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2461 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2462 (nscd_getnetgrent): Use it.
2465 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2468 2014-03-27 Andi Kleen <ak@linux.intel.com>
2470 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2471 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2472 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2473 (lll_robust_unlock): Remove out of line section. Use cfi
2475 (LLL_STUB_UNWIND_INFO*): Remove.
2476 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2477 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2478 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2479 (lll_robust_unlock): Remove out of line section. Use cfi
2481 (LLL_STUB_UNWIND_INFO*): Remove.
2483 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2486 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2489 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2491 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2493 2014-03-26 Joseph Myers <joseph@codesourcery.com>
2496 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2498 * math/test-fenv-preserve.c: New file.
2499 * math/Makefile (tests): Add test-fenv-preserve.
2501 2014-03-26 Will Newton <will.newton@linaro.org>
2503 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2505 2014-03-25 Roland McGrath <roland@hack.frob.com>
2507 * scripts/versionlist.awk: Partition the version sets and emit all
2508 GLIBC_* (sorted) before all others (sorted).
2510 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2512 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2513 GLIBC_2.2.5 version.
2515 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2517 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2520 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2525 2014-03-25 Andreas Schwab <schwab@suse.de>
2527 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2528 label to be used after in6ailist is initialized.
2530 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2533 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2535 2014-03-25 Joseph Myers <joseph@codesourcery.com>
2539 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2541 (fp_formats): Update initializers.
2542 (init_fp_formats): Initialize new field.
2543 (output_for_one_input_case): Allow underflow for results up to
2545 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2546 * math/auto-libm-test-in: Don't mark some underflows from asin and
2548 * math/auto-libm-test-out: Regenerated.
2549 * sysdeps/i386/fpu/libm-test-ulps: Update.
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2552 2014-03-25 Andreas Schwab <schwab@suse.de>
2554 * libio/Makefile (tst-ftell-partial-wide-ENV)
2555 (tst-ftell-active-handler-ENV): Define.
2557 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2559 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2561 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2563 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2565 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2567 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2568 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2569 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2571 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2574 * elf/dl-load.c (open_verify): Add mode parameter.
2575 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2576 (open_path): Change from boolean 'secure' to complete flag 'mode'
2577 (_dl_map_object): Adjust.
2578 * elf/Makefile (tests): Add tst-dlopen-aout.
2579 * elf/tst-dlopen-aout.c: New test.
2581 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2584 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2585 (struct stat): Rename member pad0 to __glibc_reserved0.
2588 * sysdeps/s390/s390-32/bits/wordsize.h
2589 (__WORDSIZE32_SIZE_ULONG): New define.
2590 * sysdeps/s390/s390-64/bits/wordsize.h
2591 (__WORDSIZE32_SIZE_ULONG): Likewise.
2592 * sysdeps/generic/stdint.h (SIZE_MAX):
2593 Define as UL if __WORDSIZE32_SIZE_ULONG.
2596 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2597 (__glibc_reserved0): New variable.
2598 (sa_flags): Change type to int.
2600 * posix/Makefile (before-compile): Use += before-compile instead
2603 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2604 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2606 2014-03-20 Andreas Schwab <schwab@suse.de>
2609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2610 non-matching result from nscd.
2612 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2614 * scripts/bench.py: Moved to ...
2615 * benchtests/scripts/bench.py: ... here.
2616 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2618 2014-03-24 Andreas Schwab <schwab@suse.de>
2621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2622 alloca_account and account alloca use for struct in6ailist.
2624 2014-03-24 Joseph Myers <joseph@codesourcery.com>
2627 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2628 rounding mode to recompute results that overflow to infinity or
2630 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2632 * math/auto-libm-test-out: Regenerated.
2633 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2634 (ccosh_test): Likewise.
2635 (csin_test_data): Use plus_oflow.
2636 (csin_test): Use ALL_RM_TEST.
2637 (csinh_test_data): Use plus_oflow.
2638 (csinh_test): Use ALL_RM_TEST.
2639 * sysdeps/i386/fpu/libm-test-ulps: Update.
2640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2642 2014-03-21 Joseph Myers <joseph@codesourcery.com>
2644 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2645 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2646 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2649 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2651 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2652 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2653 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2656 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2657 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2659 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2660 * sysdeps/i386/fpu/libm-test-ulps: Update.
2661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2663 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2665 * scripts/bench.pl: Remove file.
2666 * scripts/bench.py: New benchmark script.
2667 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2668 * benchtests/README: Mention python dependency.
2669 * scripts/pylintrc: New file.
2670 * scripts/pylint: New file.
2672 * bits/mathdef.h: Use #ifdef instead of #if.
2673 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2674 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2675 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2676 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2677 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2678 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2680 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2681 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2683 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2685 and strpbrk-ppc64 objects.
2686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2687 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2688 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2689 multiarch strpbrk for POWER7.
2690 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2691 multiarch strpbrk for PPC64.
2692 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2694 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2697 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2699 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2700 (atan_test): Likewise.
2701 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2702 (atanh_test): Use ALL_RM_TEST.
2703 (atan2_test_data): Likewise.
2704 (cabs_test): Likewise.
2705 (cacosh_test): Likewise.
2706 (carg_test): Likewise.
2707 (casin_test): Likewise.
2708 (casinh_test): Likewise.
2709 (cbrt_test): Likewise.
2710 (csqrt_test): Likewise.
2711 (erf_test): Likewise.
2712 (erfc_test): Likewise.
2713 (pow10_test): Likewise.
2714 (exp2_test): Likewise.
2715 (hypot_test): Likewise.
2716 (j0_test): Likewise.
2717 (j1_test): Likewise.
2718 (lgamma_test): Likewise.
2719 (gamma_test): Likewise.
2720 (sincos_test): Likewise.
2721 (tanh_test): Likewise.
2722 (y0_test): Likewise.
2723 (y1_test): Likewise.
2724 * sysdeps/i386/fpu/libm-test-ulps: Update.
2725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2729 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2731 and strcspn-ppc64 objects.
2732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2733 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2734 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2735 multiarch strcspn for POWER7.
2736 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2737 multiarch strcspn for PPC64.
2738 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2740 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2743 2014-03-20 Joseph Myers <joseph@codesourcery.com>
2745 * math/gen-libm-test.pl (generate_testfile): Expect only function
2746 name as argument to AUTO_TESTS_* and pass results for all rounding
2747 modes to parse_args.
2748 (parse_auto_input): Separate inputs of automatic tests from
2749 outputs before storing in %auto_tests.
2750 * math/libm-test.inc (acos_test_data): Update call to
2752 (acos_test): Use ALL_RM_TEST.
2753 (acos_tonearest_test_data): Remove.
2754 (acos_test_tonearest): Likewise.
2755 (acos_towardzero_test_data): Likewise.
2756 (acos_test_towardzero): Likewise.
2757 (acos_downward_test_data): Likewise.
2758 (acos_test_downward): Likewise.
2759 (acos_upward_test_data): Likewise.
2760 (acos_test_upward): Likewise.
2761 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2762 (asin_test_data): Likewise.
2763 (asin_test): Use ALL_RM_TEST.
2764 (asin_tonearest_test_data): Remove.
2765 (asin_test_tonearest): Likewise.
2766 (asin_towardzero_test_data): Likewise.
2767 (asin_test_towardzero): Likewise.
2768 (asin_downward_test_data): Likewise.
2769 (asin_test_downward): Likewise.
2770 (asin_upward_test_data): Likewise.
2771 (asin_test_upward): Likewise.
2772 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2773 (atan_test_data): Likewise.
2774 (atanh_test_data): Likewise.
2775 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2776 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2777 (carg_test_data): Likewise.
2778 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2779 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2780 (ccosh_test_data): Likewise.
2781 (cexp_test_data): Likewise.
2782 (clog_test_data): Likewise.
2783 (clog10_test_data): Likewise.
2784 (cos_test_data): Update call to AUTO_TESTS_f_f.
2785 (cos_test): Use ALL_RM_TEST.
2786 (cos_tonearest_test_data): Remove.
2787 (cos_test_tonearest): Likewise.
2788 (cos_towardzero_test_data): Likewise.
2789 (cos_test_towardzero): Likewise.
2790 (cos_downward_test_data): Likewise.
2791 (cos_test_downward): Likewise.
2792 (cos_upward_test_data): Likewise.
2793 (cos_test_upward): Likewise.
2794 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2795 (cosh_test): Use ALL_RM_TEST.
2796 (cosh_tonearest_test_data): Remove.
2797 (cosh_test_tonearest): Likewise.
2798 (cosh_towardzero_test_data): Likewise.
2799 (cosh_test_towardzero): Likewise.
2800 (cosh_downward_test_data): Likewise.
2801 (cosh_test_downward): Likewise.
2802 (cosh_upward_test_data): Likewise.
2803 (cosh_test_upward): Likewise.
2804 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2805 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2806 (ctan_test_data): Likewise.
2807 (ctan_test): Use ALL_RM_TEST.
2808 (ctan_tonearest_test_data): Remove.
2809 (ctan_test_tonearest): Likewise.
2810 (ctan_towardzero_test_data): Likewise.
2811 (ctan_test_towardzero): Likewise.
2812 (ctan_downward_test_data): Likewise.
2813 (ctan_test_downward): Likewise.
2814 (ctan_upward_test_data): Likewise.
2815 (ctan_test_upward): Likewise.
2816 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2817 (ctanh_test): Use ALL_RM_TEST.
2818 (ctanh_tonearest_test_data): Remove.
2819 (ctanh_test_tonearest): Likewise.
2820 (ctanh_towardzero_test_data): Likewise.
2821 (ctanh_test_towardzero): Likewise.
2822 (ctanh_downward_test_data): Likewise.
2823 (ctanh_test_downward): Likewise.
2824 (ctanh_upward_test_data): Likewise.
2825 (ctanh_test_upward): Likewise.
2826 (erf_test_data): Update call to AUTO_TESTS_f_f.
2827 (erfc_test_data): Likewise.
2828 (exp_test_data): Likewise.
2829 (exp_test): Use ALL_RM_TEST.
2830 (exp_tonearest_test_data): Remove.
2831 (exp_test_tonearest): Likewise.
2832 (exp_towardzero_test_data): Likewise.
2833 (exp_test_towardzero): Likewise.
2834 (exp_downward_test_data): Likewise.
2835 (exp_test_downward): Likewise.
2836 (exp_upward_test_data): Likewise.
2837 (exp_test_upward): Likewise.
2838 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2839 (exp10_test): Use ALL_RM_TEST.
2840 (exp10_tonearest_test_data): Remove.
2841 (exp10_test_tonearest): Likewise.
2842 (exp10_towardzero_test_data): Likewise.
2843 (exp10_test_towardzero): Likewise.
2844 (exp10_downward_test_data): Likewise.
2845 (exp10_test_downward): Likewise.
2846 (exp10_upward_test_data): Likewise.
2847 (exp10_test_upward): Likewise.
2848 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2849 (expm1_test_data): Likewise.
2850 (expm1_test): Use ALL_RM_TEST.
2851 (expm1_tonearest_test_data): Remove.
2852 (expm1_test_tonearest): Likewise.
2853 (expm1_towardzero_test_data): Likewise.
2854 (expm1_test_towardzero): Likewise.
2855 (expm1_downward_test_data): Likewise.
2856 (expm1_test_downward): Likewise.
2857 (expm1_upward_test_data): Likewise.
2858 (expm1_test_upward): Likewise.
2859 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2860 (fma_test): Use ALL_RM_TEST.
2861 (fma_towardzero_test_data): Remove.
2862 (fma_test_towardzero): Likewise.
2863 (fma_downward_test_data): Likewise.
2864 (fma_test_downward): Likewise.
2865 (fma_upward_test_data): Likewise.
2866 (fma_test_upward): Likewise.
2867 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2868 (j0_test_data): Update call to AUTO_TESTS_f_f.
2869 (j1_test_data): Likewise.
2870 (jn_test_data): Update call to AUTO_TESTS_if_f.
2871 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2872 (log_test_data): Update call to AUTO_TESTS_f_f.
2873 (log10_test_data): Likewise.
2874 (log1p_test_data): Likewise.
2875 (log2_test_data): Likewise.
2876 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2877 (pow_tonearest_test_data): Likewise.
2878 (sin_test_data): Update call to AUTO_TESTS_f_f.
2879 (sin_test): Use ALL_RM_TEST.
2880 (sin_tonearest_test_data): Remove.
2881 (sin_test_tonearest): Likewise.
2882 (sin_towardzero_test_data): Likewise.
2883 (sin_test_towardzero): Likewise.
2884 (sin_downward_test_data): Likewise.
2885 (sin_test_downward): Likewise.
2886 (sin_upward_test_data): Likewise.
2887 (sin_test_upward): Likewise.
2888 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2889 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2890 (sinh_test): Use ALL_RM_TEST.
2891 (sinh_tonearest_test_data): Remove.
2892 (sinh_test_tonearest): Likewise.
2893 (sinh_towardzero_test_data): Likewise.
2894 (sinh_test_towardzero): Likewise.
2895 (sinh_downward_test_data): Likewise.
2896 (sinh_test_downward): Likewise.
2897 (sinh_upward_test_data): Likewise.
2898 (sinh_test_upward): Likewise.
2899 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2900 (sqrt_test): Use ALL_RM_TEST.
2901 (sqrt_tonearest_test_data): Remove.
2902 (sqrt_test_tonearest): Likewise.
2903 (sqrt_towardzero_test_data): Likewise.
2904 (sqrt_test_towardzero): Likewise.
2905 (sqrt_downward_test_data): Likewise.
2906 (sqrt_test_downward): Likewise.
2907 (sqrt_upward_test_data): Likewise.
2908 (sqrt_test_upward): Likewise.
2909 (tan_test_data): Update call to AUTO_TESTS_f_f.
2910 (tan_test): Use ALL_RM_TEST.
2911 (tan_tonearest_test_data): Remove.
2912 (tan_test_tonearest): Likewise.
2913 (tan_towardzero_test_data): Likewise.
2914 (tan_test_towardzero): Likewise.
2915 (tan_downward_test_data): Likewise.
2916 (tan_test_downward): Likewise.
2917 (tan_upward_test_data): Likewise.
2918 (tan_test_upward): Likewise.
2919 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2920 (tgamma_test_data): Likewise.
2921 (y0_test_data): Likewise.
2922 (y1_test_data): Likewise.
2923 (yn_test_data): Update call to AUTO_TESTS_if_f.
2924 (main): Do not call removed functions.
2926 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2928 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2929 (ldexp_test_data): Remove.
2930 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2932 (scalb_test): Use ALL_RM_TEST.
2934 2014-03-19 Andreas Schwab <schwab@suse.de>
2936 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2938 2014-03-19 Joseph Myers <joseph@codesourcery.com>
2941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2942 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2945 (__ASSUME_PREADV): Undefine.
2946 (__ASSUME_PWRITEV): Likewise.
2948 2014-03-18 Roland McGrath <roland@hack.frob.com>
2950 * bits/mman-linux.h: Add comment about non-Linux use.
2951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2952 bits/mman-linux.h resting place.
2954 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2955 * bits/mman-linux.h: ... here.
2957 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2959 * conform/conformtest.pl: Add standard definition when calling C
2960 preprocessor on data files.
2961 (checknamespace): Remove unused variable.
2963 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2965 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2966 minus_oflow, plus_uflow and minus_uflow in expected results.
2967 * math/libm-test.inc (scalbn_test_data): Add more tests of
2968 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2970 (scalbn_test): Use ALL_RM_TEST.
2971 (scalbln_test_data): Add more tests of negative arguments. Use
2972 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2973 (scalbln_test): Use ALL_RM_TEST.
2975 2014-03-18 Roland McGrath <roland@hack.frob.com>
2977 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2979 2014-03-18 Will Newton <will.newton@linaro.org>
2981 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2984 2014-03-18 Joseph Myers <joseph@codesourcery.com>
2986 * Makerules [!subdir] (check-abi): Exit with error status if a
2989 2014-03-17 Joseph Myers <joseph@codesourcery.com>
2991 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2992 for rint. Include results for all rounding modes.
2993 (nearbyint_test): Use ALL_RM_TEST.
2994 (rint_test_data): Include all tests used for nearbyint.
2996 2014-03-17 Will Newton <will.newton@linaro.org>
2998 * nptl/sysdeps/pthread/pthread.h: Revert previous
3001 * sysdeps/generic/ldsodefs.h: Revert previous
3004 * libio/genops.c: Revert previous change.
3005 * libio/libioP.h: Likewise.
3006 * stdio-common/vfprintf.c: Likewise.
3008 * sysdeps/generic/math_private.h: Revert previous
3011 * sysdeps/generic/math_private.h: Check whether
3012 HAVE_RM_CTX is defined with #ifdef rather
3015 * argp/argp-fmtstream.h: Check whether
3016 __STRICT_ANSI__ is defined with #ifdef rather
3018 * argp/argp.h: Likewise.
3020 * libio/genops.c: Check whether
3021 _IO_JUMPS_OFFSET is defined with #ifdef rather
3023 * libio/libioP.h: Likewise.
3024 * stdio-common/vfprintf.c: Likewise.
3026 * sysdeps/generic/ldsodefs.h: Check whether
3027 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3030 * nptl/sysdeps/pthread/pthread.h: Check
3031 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3034 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3036 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3038 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3042 * libio/fileops.c (_IO_file_open): Seek to end of file but
3043 don't cache the offset.
3044 (get_file_offset): Remove function.
3045 (do_ftell): Use cached offset when available.
3046 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3047 don't cache the offset.
3048 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3050 (do_one_test): Call it.
3051 (do_ftell_test): Fix up expected old offset for a+ mode.
3052 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3055 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3056 up test status with function return status.
3057 (do_write_test): Likewise.
3058 (do_append_test): Likewise.
3060 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3061 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3064 2014-03-17 Joseph Myers <joseph@codesourcery.com>
3066 * math/gen-libm-test.pl (parse_args): Handle results specified for
3067 each rounding mode separately.
3068 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3069 tests and results from lrint_tonearest_test_data,
3070 lrint_towardzero_test_data, lrint_downward_test_data and
3071 lrint_upward_test_data.
3072 (lrint_test): Use ALL_RM_TEST.
3073 (lrint_tonearest_test_data): Remove.
3074 (lrint_test_tonearest): Likewise.
3075 (lrint_towardzero_test_data): Likewise.
3076 (lrint_test_towardzero): Likewise.
3077 (lrint_downward_test_data): Likewise.
3078 (lrint_test_downward): Likewise.
3079 (lrint_upward_test_data): Likewise.
3080 (lrint_test_upward): Likewise.
3081 (llrint_test_data): Merge in per-rounding-mode tests and results
3082 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3083 llrint_downward_test_data and llrint_upward_test_data.
3084 (llrint_test): Use ALL_RM_TEST.
3085 (llrint_tonearest_test_data): Remove.
3086 (llrint_test_tonearest): Likewise.
3087 (llrint_towardzero_test_data): Likewise.
3088 (llrint_test_towardzero): Likewise.
3089 (llrint_downward_test_data): Likewise.
3090 (llrint_test_downward): Likewise.
3091 (llrint_upward_test_data): Likewise.
3092 (llrint_test_upward): Likewise.
3093 (rint_test_data): Merge in per-rounding-mode tests and results
3094 from rint_tonearest_test_data, rint_towardzero_test_data,
3095 rint_downward_test_data and rint_upward_test_data. Add
3096 per-rounding-mode results for tests not in those arrays.
3097 (rint_test): Use ALL_RM_TEST.
3098 (rint_tonearest_test_data): Remove.
3099 (rint_test_tonearest): Likewise.
3100 (rint_towardzero_test_data): Likewise.
3101 (rint_test_towardzero): Likewise.
3102 (rint_downward_test_data): Likewise.
3103 (rint_test_downward): Likewise.
3104 (rint_upward_test_data): Likewise.
3105 (rint_test_upward): Likewise.
3106 (main): Don't call removed functions.
3108 2014-03-14 Roland McGrath <roland@hack.frob.com>
3110 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3111 "Compiled on ..." crapola. It is anti-useful.
3113 2014-03-14 Joseph Myers <joseph@codesourcery.com>
3115 * scripts/evaluate-test.sh: Handle fourth argument to determine
3116 whether test run should stop on failure.
3117 * Makeconfig (stop-on-test-failure): New variable.
3118 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3119 $(stop-on-test-failure).
3120 * Makefile (tests): Give a summary of results from testing and
3121 exit with failure status if they include an ERROR or FAIL.
3123 * manual/install.texi (Configuring and compiling): Mention
3124 stop-on-test-failure=y.
3125 * INSTALL: Regenerated.
3127 2014-03-14 Roland McGrath <roland@hack.frob.com>
3129 * scripts/versionlist.awk: New file.
3130 * Makerules [$(build-shared) = yes]
3131 (postclean-generated): Add Versions.def, not Versions.def.v and
3133 ($(common-objpfx)Versions.def.v.i): Target removed.
3134 ($(common-objpfx)Versions.def): New target.
3135 ($(common-objpfx)Versions.all): Depend on that rather that
3136 $(common-objpfx)Versions.def.v.
3137 * Versions.def: File removed.
3139 * Makeconfig (+gccwarn): Add -Wundef.
3140 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3141 a dl-sysdep.h breaking its contract.
3142 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3143 * include/stackinfo.h: New file.
3144 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3145 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3146 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3147 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3148 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3149 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3150 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3151 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3152 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3153 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3154 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3155 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3156 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3157 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3158 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3160 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3163 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3165 * math/libm-test.inc (round_test_data): Add more tests.
3168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3170 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3173 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3175 * math/libm-test.inc (ceil_test_data): Add more tests.
3177 * math/libm-test.inc (trunc_test_data): Add more tests related to
3180 2014-03-14 Roland McGrath <roland@hack.frob.com>
3182 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3183 with #if rather than #ifdef.
3184 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3186 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3188 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3189 first. Disable AVX-512 GCC support if assembler doesn't support
3191 * sysdeps/x86_64/configure: Regenerated.
3193 2014-03-13 Carlos O'Donell <carlos@redhat.com>
3195 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3196 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3197 (__old_pthread_attr_setstack): Likewise.
3198 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3199 [!_STACK_GROWS_DOWN]: Likewise.
3201 2014-03-13 Mike Frysinger <vapier@gentoo.org>
3203 * config.make.in (have-bash2): Delete.
3204 * configure.ac (libc_cv_have_bash2): Delete.
3205 * configure: Regenerate.
3206 * elf/Makefile (common-ldd-rewrite): Rename to ...
3207 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3208 (sh-ldd-rewrite): Delete.
3209 (bash-ldd-rewrite): Delete.
3210 (have-bash2): Delete checks.
3211 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3214 * config.make.in (have-ksh): Delete.
3216 * configure.ac (libc_cv_have_ksh): Delete.
3217 * configure: Regenerate.
3219 * elf/Makefile: Delete $(have-ksh) check.
3220 ($(objpfx)sotruss): Change KSH to BASH.
3221 * elf/sotruss.ksh: Rename to ...
3222 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3223 function style to match POSIX. Drop ksh vim mode setting.
3225 * manual/time.texi (Specifying the Time Zone with TZ): Change
3226 Tuesday to Thursday.
3228 * debug/tst-longjmp_chk2.c: Update header comment.
3229 (stackoverflow_handler): Add comment. Call assert on pass value.
3231 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3233 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3234 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3235 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3236 (La_x86_64_vector): Add zmm.
3237 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3238 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3239 ($(objpfx)tst-audit10): New target.
3240 ($(objpfx)tst-audit10.out): Likewise.
3241 (tst-audit10-ENV): New.
3242 (AVX512-CFLAGS): Likewise.
3243 (CFLAGS-tst-audit10.c): Likewise.
3244 (CFLAGS-tst-auditmod10a.c): Likewise.
3245 (CFLAGS-tst-auditmod10b.c): Likewise.
3246 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3247 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3248 * sysdeps/x86_64/configure: Regenerated.
3249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3250 AVX-512 zmm register support.
3251 (_dl_x86_64_save_sse): Likewise.
3252 (_dl_x86_64_restore_sse): Likewise.
3253 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3254 size vector registers.
3255 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3256 (ZMM_SIZE): Likewise.
3257 * sysdeps/x86_64/tst-audit10.c: New file.
3258 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3259 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3261 2014-03-13 Roland McGrath <roland@hack.frob.com>
3263 * configure.ac (HAVE_EHDR_START): New check.
3264 * configure: Regenerated.
3265 * config.h.in (HAVE_EHDR_START): New #undef.
3266 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3267 assuming the lowest-addressed segment maps the start of the file.
3269 2014-03-13 Joseph Myers <joseph@codesourcery.com>
3271 * INSTALL: Regenerated.
3273 2014-03-13 Will Newton <will.newton@linaro.org>
3275 * manual/setjmp.texi (System V contexts): Improve
3276 clarity and grammar of documentation.
3278 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3281 * elf/Makefile (tests): Add tst-pie2.
3282 (tests-pie): Add tst-pie2.
3283 * elf/tst-pie2.c: New file.
3284 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3286 * elf/rtld.c (map_doit): Load executable as lt_executable.
3287 (dl_main): Likewise.
3289 2014-03-12 Joseph Myers <joseph@codesourcery.com>
3292 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3293 (__ASSUME_PSELECT): Undefine.
3295 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3298 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3299 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3302 selector for static builds.
3304 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3307 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3310 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3312 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3313 IFUNC selector for static builds.
3315 2014-03-11 Joseph Myers <joseph@codesourcery.com>
3317 * sysdeps/mips/math_private.h [__mips_hard_float]
3318 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3319 libc_feresetround_mips_ctx.
3320 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3321 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3322 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3325 * math/s_nextafter.c (__nextafter): Do not return value from
3326 overflowing computation.
3327 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3328 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3333 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3334 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3336 2014-03-11 Roland McGrath <roland@hack.frob.com>
3338 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3339 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3340 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3341 the new mov targetting sp.
3343 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3346 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3347 Define it for static builds as well.
3348 (NO_BZERO_IMPL): Likewise.
3350 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3352 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3353 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3354 multiarch strspn for PPC64.
3355 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3356 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3358 (__libc_ifunc_impl_list): Likewise.
3359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3360 multiarch optimizations
3361 * string/strspn.c (strspn): Using macro to redefine symbol name.
3363 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3364 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3366 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3367 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3368 multiarch strncat for PPC64.
3369 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3370 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3372 (__libc_ifunc_impl_list): Likewise.
3373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3374 multiarch optimizations
3376 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * nscd/nscd.service: Make service type forking.
3381 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3383 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3384 sign in non default rounding modes.
3385 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3387 2014-03-08 Joseph Myers <joseph@codesourcery.com>
3389 * math/libm-test.inc (ALL_RM_TEST): New macro.
3390 (ceil_test): Use ALL_RM_TEST.
3391 (cimag_test): Likewise.
3392 (conj_test): Likewise.
3393 (copysign_test): Likewise.
3394 (cproj_test): Likewise.
3395 (creal_test): Likewise.
3396 (fabs_test): Likewise.
3397 (floor_test): Likewise.
3398 (fmax_test): Likewise.
3399 (fmin_test): Likewise.
3400 (fmod_test): Likewise.
3401 (fpclassify_test): Likewise.
3402 (frexp_test): Likewise.
3403 (ilogb_test): Likewise.
3404 (isfinite_test): Likewise.
3405 (finite_test): Likewise.
3406 (isgreater_test): Likewise.
3407 (isgreaterequal_test): Likewise.
3408 (isinf_test): Likewise.
3409 (isless_test): Likewise.
3410 (islessequal_test): Likewise.
3411 (islessgreater_test): Likewise.
3412 (isnan_test): Likewise.
3413 (isnormal_test): Likewise.
3414 (issignaling_test): Likewise.
3415 (isunordered_test): Likewise.
3416 (logb_test): Likewise.
3417 (logb_downward_test_data): Remove.
3418 (logb_test_downward): Likewise.
3419 (lround_test): Use ALL_RM_TEST.
3420 (llround_test): Likewise.
3421 (modf_test): Likewise.
3422 (nexttoward_test): Likewise.
3423 (remainder_test): Likewise.
3424 (drem_test): Likewise.
3425 (remainder_tonearest_test_data): Likewise.
3426 (remainder_test_tonearest): Likewise.
3427 (drem_test_tonearest): Likewise.
3428 (remainder_towardzero_test_data): Likewise.
3429 (remainder_test_towardzero): Likewise.
3430 (drem_test_towardzero): Likewise.
3431 (remainder_downward_test_data): Likewise.
3432 (remainder_test_downward): Likewise.
3433 (drem_test_downward): Likewise.
3434 (remainder_upward_test_data): Likewise.
3435 (remainder_test_upward): Likewise.
3436 (drem_test_upward): Likewise.
3437 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
3438 (round_test): Use ALL_RM_TEST.
3439 (signbit_test): Likewise.
3440 (trunc_test): Likewise.
3441 (significand_test): Likewise.
3442 (main): Don't call removed functions.
3444 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3447 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3449 (ILL_ILLOPN): Likewise.
3450 (ILL_ILLADR): Likewise.
3451 (ILL_ILLTRP): Likewise.
3452 (ILL_PRVOPC): Likewise.
3453 (ILL_PRVREG): Likewise.
3454 (ILL_COPROC): Likewise.
3455 (ILL_BADSTK): Likewise.
3456 (FPE_INTDIV): Likewise.
3457 (FPE_INTOVF): Likewise.
3458 (FPE_FLTDIV): Likewise.
3459 (FPE_FLTOVF): Likewise.
3460 (FPE_FLTUND): Likewise.
3461 (FPE_FLTRES): Likewise.
3462 (FPE_FLTINV): Likewise.
3463 (FPE_FLTSUB): Likewise.
3464 (SEGV_MAPERR): Likewise.
3465 (SEGV_ACCERR): Likewise.
3466 (BUS_ADRALN): Likewise.
3467 (BUS_ADRERR): Likewise.
3468 (BUS_OBJERR): Likewise.
3469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3470 (TRAP_TRACE): Likewise.
3471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3473 (CLD_KILLED): Likewise.
3474 (CLD_DUMPED): Likewise.
3475 (CLD_TRAPPED): Likewise.
3476 (CLD_STOPPED): Likewise.
3477 (CLD_CONTINUED): Likewise.
3478 (POLL_IN): Likewise.
3479 (POLL_OUT): Likewise.
3480 (POLL_MSG): Likewise.
3481 (POLL_ERR): Likewise.
3482 (POLL_PRI): Likewise.
3483 (POLL_HUP): Likewise.
3484 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3486 (ILL_ILLOPN): Likewise.
3487 (ILL_ILLADR): Likewise.
3488 (ILL_ILLTRP): Likewise.
3489 (ILL_PRVOPC): Likewise.
3490 (ILL_PRVREG): Likewise.
3491 (ILL_COPROC): Likewise.
3492 (ILL_BADSTK): Likewise.
3493 (FPE_INTDIV): Likewise.
3494 (FPE_INTOVF): Likewise.
3495 (FPE_FLTDIV): Likewise.
3496 (FPE_FLTOVF): Likewise.
3497 (FPE_FLTUND): Likewise.
3498 (FPE_FLTRES): Likewise.
3499 (FPE_FLTINV): Likewise.
3500 (FPE_FLTSUB): Likewise.
3501 (SEGV_MAPERR): Likewise.
3502 (SEGV_ACCERR): Likewise.
3503 (BUS_ADRALN): Likewise.
3504 (BUS_ADRERR): Likewise.
3505 (BUS_OBJERR): Likewise.
3506 (BUS_MCEERR_AR): Likewise.
3507 (BUS_MCEERR_AO): Likewise.
3508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3509 (TRAP_TRACE): Likewise.
3510 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3512 (CLD_KILLED): Likewise.
3513 (CLD_DUMPED): Likewise.
3514 (CLD_TRAPPED): Likewise.
3515 (CLD_STOPPED): Likewise.
3516 (CLD_CONTINUED): Likewise.
3517 (POLL_IN): Likewise.
3518 (POLL_OUT): Likewise.
3519 (POLL_MSG): Likewise.
3520 (POLL_ERR): Likewise.
3521 (POLL_PRI): Likewise.
3522 (POLL_HUP): Likewise.
3523 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3524 (ILL_ILLOPN): Likewise.
3525 (ILL_ILLADR): Likewise.
3526 (ILL_ILLTRP): Likewise.
3527 (ILL_PRVOPC): Likewise.
3528 (ILL_PRVREG): Likewise.
3529 (ILL_COPROC): Likewise.
3530 (ILL_BADSTK): Likewise.
3531 (FPE_INTDIV): Likewise.
3532 (FPE_INTOVF): Likewise.
3533 (FPE_FLTDIV): Likewise.
3534 (FPE_FLTOVF): Likewise.
3535 (FPE_FLTUND): Likewise.
3536 (FPE_FLTRES): Likewise.
3537 (FPE_FLTINV): Likewise.
3538 (FPE_FLTSUB): Likewise.
3539 (SEGV_MAPERR): Likewise.
3540 (SEGV_ACCERR): Likewise.
3541 (BUS_ADRALN): Likewise.
3542 (BUS_ADRERR): Likewise.
3543 (BUS_OBJERR): Likewise.
3544 (BUS_MCEERR_AR): Likewise.
3545 (BUS_MCEERR_AO): Likewise.
3546 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3547 (TRAP_TRACE): Likewise.
3548 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3550 (CLD_KILLED): Likewise.
3551 (CLD_DUMPED): Likewise.
3552 (CLD_TRAPPED): Likewise.
3553 (CLD_STOPPED): Likewise.
3554 (CLD_CONTINUED): Likewise.
3555 (POLL_IN): Likewise.
3556 (POLL_OUT): Likewise.
3557 (POLL_MSG): Likewise.
3558 (POLL_ERR): Likewise.
3559 (POLL_PRI): Likewise.
3560 (POLL_HUP): Likewise.
3561 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3563 (ILL_ILLOPN): Likewise.
3564 (ILL_ILLADR): Likewise.
3565 (ILL_ILLTRP): Likewise.
3566 (ILL_PRVOPC): Likewise.
3567 (ILL_PRVREG): Likewise.
3568 (ILL_COPROC): Likewise.
3569 (ILL_BADSTK): Likewise.
3570 (ILL_BADIADDR): Likewise.
3571 (ILL_BREAK): 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 (FPE_DECOVF): Likewise.
3581 (FPE_DECDIV): Likewise.
3582 (FPE_DECERR): Likewise.
3583 (FPE_INVASC): Likewise.
3584 (FPE_INVDEC): Likewise.
3585 (SEGV_MAPERR): Likewise.
3586 (SEGV_ACCERR): Likewise.
3587 (SEGV_PSTKOVF): Likewise.
3588 (BUS_ADRALN): Likewise.
3589 (BUS_ADRERR): Likewise.
3590 (BUS_OBJERR): Likewise.
3591 (BUS_MCEERR_AR): Likewise.
3592 (BUS_MCEERR_AO): Likewise.
3593 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3594 (TRAP_TRACE): Likewise.
3595 (TRAP_BRANCH): Likewise.
3596 (TRAP_HWBKPT): Likewise.
3597 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3599 (CLD_KILLED): Likewise.
3600 (CLD_DUMPED): Likewise.
3601 (CLD_TRAPPED): Likewise.
3602 (CLD_STOPPED): Likewise.
3603 (CLD_CONTINUED): Likewise.
3604 (POLL_IN): Likewise.
3605 (POLL_OUT): Likewise.
3606 (POLL_MSG): Likewise.
3607 (POLL_ERR): Likewise.
3608 (POLL_PRI): Likewise.
3609 (POLL_HUP): Likewise.
3610 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3611 (ILL_ILLOPN): Likewise.
3612 (ILL_ILLADR): Likewise.
3613 (ILL_ILLTRP): Likewise.
3614 (ILL_PRVOPC): Likewise.
3615 (ILL_PRVREG): Likewise.
3616 (ILL_COPROC): Likewise.
3617 (ILL_BADSTK): Likewise.
3618 (FPE_INTDIV): Likewise.
3619 (FPE_INTOVF): Likewise.
3620 (FPE_FLTDIV): Likewise.
3621 (FPE_FLTOVF): Likewise.
3622 (FPE_FLTUND): Likewise.
3623 (FPE_FLTRES): Likewise.
3624 (FPE_FLTINV): Likewise.
3625 (FPE_FLTSUB): Likewise.
3626 (SEGV_MAPERR): Likewise.
3627 (SEGV_ACCERR): Likewise.
3628 (BUS_ADRALN): Likewise.
3629 (BUS_ADRERR): Likewise.
3630 (BUS_OBJERR): Likewise.
3631 (BUS_MCEERR_AR): Likewise.
3632 (BUS_MCEERR_AO): Likewise.
3633 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3634 (TRAP_TRACE): Likewise.
3635 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3637 (CLD_KILLED): Likewise.
3638 (CLD_DUMPED): Likewise.
3639 (CLD_TRAPPED): Likewise.
3640 (CLD_STOPPED): Likewise.
3641 (CLD_CONTINUED): Likewise.
3642 (POLL_IN): Likewise.
3643 (POLL_OUT): Likewise.
3644 (POLL_MSG): Likewise.
3645 (POLL_ERR): Likewise.
3646 (POLL_PRI): Likewise.
3647 (POLL_HUP): Likewise.
3648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3649 (ILL_ILLOPN): Likewise.
3650 (ILL_ILLADR): Likewise.
3651 (ILL_ILLTRP): Likewise.
3652 (ILL_PRVOPC): Likewise.
3653 (ILL_PRVREG): Likewise.
3654 (ILL_COPROC): Likewise.
3655 (ILL_BADSTK): Likewise.
3656 (FPE_INTDIV): Likewise.
3657 (FPE_INTOVF): Likewise.
3658 (FPE_FLTDIV): Likewise.
3659 (FPE_FLTOVF): Likewise.
3660 (FPE_FLTUND): Likewise.
3661 (FPE_FLTRES): Likewise.
3662 (FPE_FLTINV): Likewise.
3663 (FPE_FLTSUB): Likewise.
3664 (SEGV_MAPERR): Likewise.
3665 (SEGV_ACCERR): Likewise.
3666 (BUS_ADRALN): Likewise.
3667 (BUS_ADRERR): Likewise.
3668 (BUS_OBJERR): Likewise.
3669 (BUS_MCEERR_AR): Likewise.
3670 (BUS_MCEERR_AO): Likewise.
3671 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3672 (TRAP_TRACE): Likewise.
3673 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3675 (CLD_KILLED): Likewise.
3676 (CLD_DUMPED): Likewise.
3677 (CLD_TRAPPED): Likewise.
3678 (CLD_STOPPED): Likewise.
3679 (CLD_CONTINUED): Likewise.
3680 (POLL_IN): Likewise.
3681 (POLL_OUT): Likewise.
3682 (POLL_MSG): Likewise.
3683 (POLL_ERR): Likewise.
3684 (POLL_PRI): Likewise.
3685 (POLL_HUP): Likewise.
3686 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3687 (ILL_ILLOPN): Likewise.
3688 (ILL_ILLADR): Likewise.
3689 (ILL_ILLTRP): Likewise.
3690 (ILL_PRVOPC): Likewise.
3691 (ILL_PRVREG): Likewise.
3692 (ILL_COPROC): Likewise.
3693 (ILL_BADSTK): Likewise.
3694 (FPE_INTDIV): Likewise.
3695 (FPE_INTOVF): Likewise.
3696 (FPE_FLTDIV): Likewise.
3697 (FPE_FLTOVF): Likewise.
3698 (FPE_FLTUND): Likewise.
3699 (FPE_FLTRES): Likewise.
3700 (FPE_FLTINV): Likewise.
3701 (FPE_FLTSUB): Likewise.
3702 (SEGV_MAPERR): Likewise.
3703 (SEGV_ACCERR): Likewise.
3704 (BUS_ADRALN): Likewise.
3705 (BUS_ADRERR): Likewise.
3706 (BUS_OBJERR): Likewise.
3707 (BUS_MCEERR_AR): Likewise.
3708 (BUS_MCEERR_AO): Likewise.
3709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3710 (TRAP_TRACE): Likewise.
3711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3713 (CLD_KILLED): Likewise.
3714 (CLD_DUMPED): Likewise.
3715 (CLD_TRAPPED): Likewise.
3716 (CLD_STOPPED): Likewise.
3717 (CLD_CONTINUED): Likewise.
3718 (POLL_IN): Likewise.
3719 (POLL_OUT): Likewise.
3720 (POLL_MSG): Likewise.
3721 (POLL_ERR): Likewise.
3722 (POLL_PRI): Likewise.
3723 (POLL_HUP): Likewise.
3724 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3725 (ILL_ILLOPN): Likewise.
3726 (ILL_ILLADR): Likewise.
3727 (ILL_ILLTRP): Likewise.
3728 (ILL_PRVOPC): Likewise.
3729 (ILL_PRVREG): Likewise.
3730 (ILL_COPROC): Likewise.
3731 (ILL_BADSTK): Likewise.
3732 (ILL_DBLFLT): Likewise.
3733 (ILL_HARDWALL): Likewise.
3734 (FPE_INTDIV): Likewise.
3735 (FPE_INTOVF): Likewise.
3736 (FPE_FLTDIV): Likewise.
3737 (FPE_FLTOVF): Likewise.
3738 (FPE_FLTUND): Likewise.
3739 (FPE_FLTRES): Likewise.
3740 (FPE_FLTINV): Likewise.
3741 (FPE_FLTSUB): Likewise.
3742 (SEGV_MAPERR): Likewise.
3743 (SEGV_ACCERR): Likewise.
3744 (BUS_ADRALN): Likewise.
3745 (BUS_ADRERR): Likewise.
3746 (BUS_OBJERR): Likewise.
3747 (BUS_MCEERR_AR): Likewise.
3748 (BUS_MCEERR_AO): Likewise.
3749 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3750 (TRAP_TRACE): Likewise.
3751 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3753 (CLD_KILLED): Likewise.
3754 (CLD_DUMPED): Likewise.
3755 (CLD_TRAPPED): Likewise.
3756 (CLD_STOPPED): Likewise.
3757 (CLD_CONTINUED): Likewise.
3758 (POLL_IN): Likewise.
3759 (POLL_OUT): Likewise.
3760 (POLL_MSG): Likewise.
3761 (POLL_ERR): Likewise.
3762 (POLL_PRI): Likewise.
3763 (POLL_HUP): Likewise.
3764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3765 (ILL_ILLOPN): Likewise.
3766 (ILL_ILLADR): Likewise.
3767 (ILL_ILLTRP): Likewise.
3768 (ILL_PRVOPC): Likewise.
3769 (ILL_PRVREG): Likewise.
3770 (ILL_COPROC): Likewise.
3771 (ILL_BADSTK): Likewise.
3772 (FPE_INTDIV): Likewise.
3773 (FPE_INTOVF): Likewise.
3774 (FPE_FLTDIV): Likewise.
3775 (FPE_FLTOVF): Likewise.
3776 (FPE_FLTUND): Likewise.
3777 (FPE_FLTRES): Likewise.
3778 (FPE_FLTINV): Likewise.
3779 (FPE_FLTSUB): Likewise.
3780 (SEGV_MAPERR): Likewise.
3781 (SEGV_ACCERR): Likewise.
3782 (BUS_ADRALN): Likewise.
3783 (BUS_ADRERR): Likewise.
3784 (BUS_OBJERR): Likewise.
3785 (BUS_MCEERR_AR): Likewise.
3786 (BUS_MCEERR_AO): Likewise.
3787 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3788 (TRAP_TRACE): Likewise.
3789 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3791 (CLD_KILLED): Likewise.
3792 (CLD_DUMPED): Likewise.
3793 (CLD_TRAPPED): Likewise.
3794 (CLD_STOPPED): Likewise.
3795 (CLD_CONTINUED): Likewise.
3796 (POLL_IN): Likewise.
3797 (POLL_OUT): Likewise.
3798 (POLL_MSG): Likewise.
3799 (POLL_ERR): Likewise.
3800 (POLL_PRI): Likewise.
3801 (POLL_HUP): Likewise.
3802 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3803 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3806 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3807 before #include of <time.h>.
3808 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3809 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3810 (test-xfail-UNIX98/sched.h/conform): Likewise.
3812 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3814 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3815 error absence of trapping exception support.
3816 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3818 2014-03-07 Joseph Myers <joseph@codesourcery.com>
3820 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3821 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3822 * timezone/Makefile (testdata): Move definition above include of
3824 (test-zones): New variable.
3825 (tests-special): Add zone files.
3826 (build-testdata): Use $(evaluate-test).
3828 * elf/Makefile (tests-special): Rename tests to end with .out.
3829 ($(objpfx)noload-mem): Likewise.
3830 ($(objpfx)tst-leaks1-mem): Likewise.
3831 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3832 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3833 $(objpfx)test-iconvconfig.out.
3834 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3835 set -e inside subshell and redirect output to file.
3836 * iconvdata/Makefile (generated): Rename tests to end with .out.
3838 (tests-special): Rename tests to end with .out.
3839 ($(objpfx)mtrace-tst-loading): Likewise.
3840 * intl/Makefile (generated): Likewise.
3841 (tests-special): Likewise.
3842 ($(objpfx)mtrace-tst-gettext): Likewise.
3843 * misc/Makefile (generated): Likewise.
3844 (tests-special): Likewise.
3845 ($(objpfx)tst-error1-mem): Likewise.
3846 * nptl/Makefile (tests-special): Likewise.
3847 ($(objpfx)tst-stack3-mem): Likewise.
3848 (generated): Likewise.
3849 * posix/Makefile (generated): Likewise.
3850 (tests-special): Likewise.
3851 (xtests-special): Likewise.
3852 ($(objpfx)tst-fnmatch-mem): Likewise.
3853 ($(objpfx)bug-regex2-mem): Likewise.
3854 ($(objpfx)bug-regex14-mem): Likewise.
3855 ($(objpfx)bug-regex21-mem): Likewise.
3856 ($(objpfx)bug-regex31-mem): Likewise.
3857 ($(objpfx)tst-vfork3-mem): Likewise.
3858 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3859 ($(objpfx)tst-pcre-mem): Likewise.
3860 ($(objpfx)tst-boost-mem): Likewise.
3861 ($(objpfx)bug-ga2-mem): Likewise.
3862 ($(objpfx)bug-glob2-mem): Likewise.
3863 * resolv/Makefile (generate): Likewise.
3864 (tests-special): Likewise.
3865 (xtests-special): Likewise.
3866 (generated): Likewise.
3867 ($(objpfx)mtrace-tst-leaks): Likewise.
3868 ($(objpfx)mtrace-tst-leaks2): Likewise.
3870 * scripts/merge-test-results.sh: New file.
3871 * Makefile (tests-special-notdir): New variable.
3872 (tests): Run merge-test-results.sh.
3874 * Rules (tests-special-notdir): New variable.
3875 (xtests-special-notdir): Likewise.
3876 (tests): Run merge-test-results.sh
3879 * Makeconfig (test-xfail-name): New variable.
3880 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3881 compute variable name for expected failures.
3882 * conform/Makefile (conformtest-headers-data): New variable.
3883 (conformtest-standards): Likewise.
3884 (conformtest-headers-ISO): Likewise.
3885 (conformtest-headers-ISO99): Likewise.
3886 (conformtest-headers-ISO11): Likewise.
3887 (conformtest-headers-POSIX): Likewise.
3888 (conformtest-headers-XPG3): Likewise.
3889 (conformtest-headers-XPG4): Likewise.
3890 (conformtest-headers-UNIX98): Likewise.
3891 (conformtest-headers-XOPEN2K): Likewise.
3892 (conformtest-headers-POSIX2008): Likewise.
3893 (conformtest-headers-XOPEN2K8): Likewise.
3894 (conformtest-header-list-base): Likewise.
3895 (conformtest-header-list-tests): Likewise.
3896 (conformtest-header-base): Likewise.
3897 (conformtest-header-tests): Likewise.
3898 (tests-special): Add $(conformtest-header-list-tests). If
3899 [$(fast-check) && !$(cross-compiling)], add
3900 $(conformtest-header-tests) instead of
3901 $(objpfx)run-conformtest.out.
3902 (generated): Add $(conformtest-header-list-base). If
3903 [$(fast-check) && !$(cross-compiling)], add
3904 $(conformtest-header-base). Remove previous setting.
3905 ($(conformtest-header-list-tests)): New target.
3906 (test-xfail-run-conformtest): Remove variable.
3907 ($(objpfx)run-conformtest.out): Remove target.
3908 (test-xfail-ISO11/complex.h/conform): New variable.
3909 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3910 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3911 (test-xfail-XPG3/varargs.h/conform): Likewise.
3912 (test-xfail-XPG4/varargs.h/conform): Likewise.
3913 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3914 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3915 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3916 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3917 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3918 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3919 (test-xfail-XPG3/ftw.h/conform): Likewise.
3920 (test-xfail-XPG3/grp.h/conform): Likewise.
3921 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3922 (test-xfail-XPG3/limits.h/conform): Likewise.
3923 (test-xfail-XPG3/pwd.h/conform): Likewise.
3924 (test-xfail-XPG3/search.h/conform): Likewise.
3925 (test-xfail-XPG3/signal.h/conform): Likewise.
3926 (test-xfail-XPG3/stdio.h/conform): Likewise.
3927 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3928 (test-xfail-XPG3/string.h/conform): Likewise.
3929 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3930 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3931 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3932 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3933 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3934 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3935 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3936 (test-xfail-XPG3/termios.h/conform): Likewise.
3937 (test-xfail-XPG3/time.h/conform): Likewise.
3938 (test-xfail-XPG3/unistd.h/conform): Likewise.
3939 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3940 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3941 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3942 (test-xfail-XPG4/netdb.h/conform): Likewise.
3943 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3944 (test-xfail-XPG4/signal.h/conform): Likewise.
3945 (test-xfail-XPG4/stdio.h/conform): Likewise.
3946 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3947 (test-xfail-XPG4/stropts.h/conform): Likewise.
3948 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3949 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3950 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3951 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3952 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3953 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3954 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3955 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3956 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3957 (test-xfail-XPG4/termios.h/conform): Likewise.
3958 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3959 (test-xfail-XPG4/unistd.h/conform): Likewise.
3960 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3961 (test-xfail-POSIX/sched.h/conform): Likewise.
3962 (test-xfail-POSIX/signal.h/conform): Likewise.
3963 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3964 (test-xfail-POSIX/tar.h/conform): Likewise.
3965 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3966 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3967 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3968 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3969 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3970 (test-xfail-UNIX98/sched.h/conform): Likewise.
3971 (test-xfail-UNIX98/signal.h/conform): Likewise.
3972 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3973 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3974 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3975 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3976 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3977 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3978 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3979 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3980 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3981 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3982 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3983 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3984 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3985 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3986 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3987 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3988 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3989 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3990 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3991 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3992 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3993 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3994 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3995 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3996 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3997 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3998 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3999 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4000 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4001 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4002 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4003 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4004 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4005 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4006 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4007 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4008 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4009 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4010 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4011 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4012 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4013 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4014 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4015 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4016 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4017 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4018 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4019 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4020 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4021 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4022 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4023 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4024 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4025 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4026 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4027 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4028 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4029 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4030 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4031 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4032 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4033 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4034 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4035 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4036 (conformtest-cc-flags): Likewise.
4037 ($(conformtest-header-tests): New target.
4038 * conform/check-header-lists.sh: New file.
4039 * conform/run-conformtest.sh: Remove.
4041 * conform/conformtest.pl: Allow ' and \ in values given for
4043 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4045 [POSIX] (sys/types.h): Likewise.
4046 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4048 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4050 * conform/data/signal.h-data (SIGIO): Remove expectation.
4051 [XPG3] (SIGBUS): Do not expect.
4052 [POSIX || XPG3] (SIGPOLL): Likewise.
4053 [POSIX || XPG3] (SIGPROF): Likewise.
4054 [POSIX || XPG3] (SIGSYS): Likewise.
4055 [XPG3] (SIGTRAP): Likewise.
4056 [POSIX || XPG3] (SIGURG): Likewise.
4057 [POSIX || XPG3] (SIGVTALRM): Likewise.
4058 [POSIX || XPG3] (SIGXCPU): Likewise.
4059 [POSIX || XPG3] (SIGXFSZ): Likewise.
4060 [POSIX] (SA_SIGINFO): Expect.
4061 [XPG3] (siginfo_t): Do not expect type or contents.
4062 [POSIX] (si_pid): Do not expect element.
4063 [POSIX] (si_uid): Likewise.
4064 [POSIX] (si_addr): Likewise.
4065 [POSIX] (si_status): Likewise.
4066 [POSIX] (si_band): Likewise.
4067 [XPG4] (si_value): Likewise.
4068 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4069 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4070 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4071 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4072 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4073 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4074 [POSIX || XPG3] (ILL_COPROC): Likewise.
4075 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4076 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4077 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4078 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4079 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4080 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4081 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4082 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4083 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4084 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4085 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4086 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4087 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4088 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4089 [POSIX || XPG3] (CLD_EXITED): Likewise.
4090 [POSIX || XPG3] (CLD_KILLED): Likewise.
4091 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4092 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4093 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4094 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4095 [POSIX || XPG3] (POLL_IN): Likewise.
4096 [POSIX || XPG3] (POLL_OUT): Likewise.
4097 [POSIX || XPG3] (POLL_MSG): Likewise.
4098 [POSIX || XPG3] (POLL_ERR): Likewise.
4099 [POSIX || XPG3] (POLL_PRI): Likewise.
4100 [POSIX || XPG3] (POLL_HUP): Likewise.
4101 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4102 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4103 (SIG*): Do not allow.
4104 [XPG3] (si_*): Likewise.
4105 [XPG3] (SI_*): Likewise.
4106 [XPG3 || XPG4] (sigev_*): Likewise.
4107 [XPG3 || XPG4] (SIGEV_*): Likewise.
4108 [XPG3 || XPG4] (sival_*): Likewise.
4109 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4110 [POSIX || XPG3] (BUS_*): Likewise.
4111 [POSIX || XPG3] (CLD_*): Likewise.
4112 [POSIX || XPG3] (FPE_*): Likewise.
4113 [POSIX || XPG3] (ILL_*): Likewise.
4114 [POSIX || XPG3] (POLL_*): Likewise.
4115 [POSIX || XPG3] (SEGV_*): Likewise.
4116 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4117 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4118 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4119 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4120 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4121 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4122 Specify type and value.
4123 (TVERSLEN): Likewise.
4124 (REGTYPE): Likewise.
4125 (AREGTYPE): Likewise.
4126 (LNKTYPE): Likewise.
4127 (SYMTYPE): Likewise.
4128 (CHRTYPE): Likewise.
4129 (BLKTYPE): Likewise.
4130 (DIRTYPE): Likewise.
4131 (FIFOTYPE): Likewise.
4132 (CONTTYPE): Likewise.
4137 (TUWRITE): Likewise.
4140 (TGWRITE): Likewise.
4143 (TOWRITE): Likewise.
4145 [POSIX] (TSVTX): Expect constant.
4147 2014-03-06 Joseph Myers <joseph@codesourcery.com>
4149 * Makefile (tests): Change dependencies to ....
4150 (tests-special): ... additions to this variable.
4151 (tests): Depend on $(tests-special).
4152 * Makerules (check-abi-list): New variable.
4153 (check-abi): Depend on $(check-abi-list).
4154 [$(subdir) = elf] (tests-special): Add
4155 $(objpfx)check-abi-libc.out.
4156 [$(build-shared) = yes && subdir] (tests-special): Add
4158 [$(build-shared) = yes && subdir] (tests): Do not depend on
4160 * Rules (tests): Depend on $(tests-special).
4161 (xtests): Depend on $(xtests-special).
4162 * catgets/Makefile (tests): Change dependencies to ....
4163 (tests-special): ... additions to this variable.
4164 * conform/Makefile (tests): Change dependencies to ....
4165 (tests-special): ... additions to this variable.
4166 * elf/Makefile (tests): Change dependencies to ....
4167 (tests-special): ... additions to this variable.
4168 * grp/Makefile (tests): Change dependencies to ....
4169 (tests-special): ... additions to this variable.
4170 * iconv/Makefile (xtests): Change dependencies to ....
4171 (xtests-special): ... additions to this variable.
4172 * iconvdata/Makefile (tests): Change dependencies to ....
4173 (tests-special): ... additions to this variable.
4174 * intl/Makefile (tests): Change dependencies to ....
4175 (tests-special): ... additions to this variable. Also add
4176 $(objpfx)tst-gettext.out.
4177 * io/Makefile (tests): Change dependencies to ....
4178 (tests-special): ... additions to this variable.
4179 * libio/Makefile (tests): Change dependencies to ....
4180 (tests-special): ... additions to this variable.
4181 * malloc/Makefile (tests): Change dependencies to ....
4182 (tests-special): ... additions to this variable.
4183 * misc/Makefile (tests): Change dependencies to ....
4184 (tests-special): ... additions to this variable.
4185 * nptl/Makefile (tests): Change dependencies to ....
4186 (tests-special): ... additions to this variable.
4187 * nptl_db/Makefile (tests): Change dependencies to ....
4188 (tests-special): ... additions to this variable.
4189 * posix/Makefile (tests): Change dependencies to ....
4190 (tests-special): ... additions to this variable.
4191 (xtests): Change dependencies to ....
4192 (xtests-special): ... additions to this variable.
4193 * resolv/Makefile (tests): Change dependencies to ....
4194 (tests-special): ... additions to this variable.
4195 (xtests): Change dependencies to ....
4196 (xtests-special): ... additions to this variable.
4197 * stdio-common/Makefile (tests): Change dependencies to ....
4198 (tests-special): ... additions to this variable.
4199 (do-tst-unbputc): Remove target.
4200 (do-tst-printf): Likewise.
4201 * stdlib/Makefile (tests): Change dependencies to ....
4202 (tests-special): ... additions to this variable.
4203 * string/Makefile (tests): Change dependencies to ....
4204 (tests-special): ... additions to this variable.
4205 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4206 (tests-special): ... additions to this variable.
4208 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4210 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4212 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4213 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4215 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4216 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4217 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4218 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4219 * conform/data/libgen.h-data [XPG3]: Likewise.
4220 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4221 * conform/data/ndbm.h-data [XPG3]: Likewise.
4222 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4223 * conform/data/netdb.h-data [XPG3]: Likewise.
4224 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4225 * conform/data/poll.h-data [XPG3]: Likewise.
4226 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4227 * conform/data/strings.h-data [XPG3]: Likewise.
4228 * conform/data/stropts.h-data [XPG3]: Likewise.
4229 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4230 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4231 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4233 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4234 * conform/data/sys/time.h-data [XPG3]: Likewise.
4235 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4236 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4237 * conform/data/sys/un.h-data [XPG3]: Likewise.
4238 * conform/data/syslog.h-data [XPG3]: Likewise.
4239 * conform/data/ucontext.h-data [XPG3]: Likewise.
4240 * conform/data/utmpx.h-data [XPG3]: Likewise.
4241 * conform/data/varargs.h-data [UNIX98]: Enable file.
4243 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4245 * math/libm-test.inc (struct test_f_f_data): Move expected results
4246 into structure for each rounding mode.
4247 (struct test_ff_f_data): Likewise.
4248 (struct test_ff_f_data_nexttoward): Likewise.
4249 (struct test_fi_f_data): Likewise.
4250 (struct test_fl_f_data): Likewise.
4251 (struct test_if_f_data): Likewise.
4252 (struct test_fff_f_data): Likewise.
4253 (struct test_c_f_data): Likewise.
4254 (struct test_f_f1_data): Likewise.
4255 (struct test_fF_f1_data): Likewise.
4256 (struct test_ffI_f1_data): Likewise.
4257 (struct test_c_c_data): Likewise.
4258 (struct test_cc_c_data): Likewise.
4259 (struct test_f_i_data): Likewise.
4260 (struct test_ff_i_data): Likewise.
4261 (struct test_f_l_data): Likewise.
4262 (struct test_f_L_data): Likewise.
4263 (struct test_fFF_11_data): Likewise.
4265 (RM_FE_DOWNWARD): Likewise.
4266 (RM_FE_TONEAREST): Likewise.
4267 (RM_FE_TOWARDZERO): Likewise.
4268 (RM_FE_UPWARD): Likewise.
4269 (RUN_TEST_LOOP_f_f): Update references to expected results.
4270 (RUN_TEST_LOOP_2_f): Likewise.
4271 (RUN_TEST_LOOP_fff_f): Likewise.
4272 (RUN_TEST_LOOP_c_f): Likewise.
4273 (RUN_TEST_LOOP_f_f1): Likewise.
4274 (RUN_TEST_LOOP_fF_f1): Likewise.
4275 (RUN_TEST_LOOP_fI_f1): Likewise.
4276 (RUN_TEST_LOOP_ffI_f1): Likewise.
4277 (RUN_TEST_LOOP_c_c): Likewise.
4278 (RUN_TEST_LOOP_cc_c): Likewise.
4279 (RUN_TEST_LOOP_f_i): Likewise.
4280 (RUN_TEST_LOOP_f_i_tg): Likewise.
4281 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4282 (RUN_TEST_LOOP_f_b): Likewise.
4283 (RUN_TEST_LOOP_f_b_tg): Likewise.
4284 (RUN_TEST_LOOP_f_l): Likewise.
4285 (RUN_TEST_LOOP_f_L): Likewise.
4286 (RUN_TEST_LOOP_fFF_11): Likewise.
4287 * math/gen-libm-test.pl (parse_args): Output four copies of
4288 expected results for each test.
4290 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4291 (__ASSUME_UTIMES): Remove.
4292 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4293 (__ASSUME_UTIMES): Likewise.
4295 * math/gen-auto-libm-tests.c: Update comment on output format.
4296 (output_for_one_input_case): Generate before-rounding and
4297 after-rounding information as conditions on output flags not
4298 floating-point format.
4299 * math/auto-libm-test-out: Regenerated.
4300 * math/gen-libm-test.pl (cond_value): New function.
4301 (or_cond_value): Use cond_value.
4302 (generate_testfile): Handle conditional exceptions.
4304 2014-03-05 Joseph Myers <joseph@codesourcery.com>
4306 * math/libm-test.inc (max_valid_error): New variable.
4307 (init_max_error): Take new argument specifying whether function
4308 results are exactly determined. Set max_valid_error and bound
4309 other variables for errors based on this argument.
4310 (set_max_error): Do not record results above max_valid_error.
4311 (check_float_internal): Only accept errors of up to 0.5ulps if
4312 also at most max_valid_error.
4313 (START): Take new argument EXACT and pass it to init_max_error.
4314 (acos_test): Update call to START.
4315 (acos_test_tonearest): Likewise.
4316 (acos_test_towardzero): Likewise.
4317 (acos_test_downward): Likewise.
4318 (acos_test_upward): Likewise.
4319 (acosh_test): Likewise.
4320 (asin_test): Likewise.
4321 (asin_test_tonearest): Likewise.
4322 (asin_test_towardzero): Likewise.
4323 (asin_test_downward): Likewise.
4324 (asin_test_upward): Likewise.
4325 (asinh_test): Likewise.
4326 (atan_test): Likewise.
4327 (atanh_test): Likewise.
4328 (atan2_test): Likewise.
4329 (cabs_test): Likewise.
4330 (cacos_test): Likewise.
4331 (cacosh_test): Likewise.
4332 (carg_test): Likewise.
4333 (casin_test): Likewise.
4334 (casinh_test): Likewise.
4335 (catan_test): Likewise.
4336 (catanh_test): Likewise.
4337 (cbrt_test): Likewise.
4338 (ccos_test): Likewise.
4339 (ccosh_test): Likewise.
4340 (ceil_test): Likewise.
4341 (cexp_test): Likewise.
4342 (cimag_test): Likewise.
4343 (clog_test): Likewise.
4344 (clog10_test): Likewise.
4345 (conj_test): Likewise.
4346 (copysign_test): Likewise.
4347 (cos_test): Likewise.
4348 (cos_test_tonearest): Likewise.
4349 (cos_test_towardzero): Likewise.
4350 (cos_test_downward): Likewise.
4351 (cos_test_upward): Likewise.
4352 (cosh_test): Likewise.
4353 (cosh_test_tonearest): Likewise.
4354 (cosh_test_towardzero): Likewise.
4355 (cosh_test_downward): Likewise.
4356 (cosh_test_upward): Likewise.
4357 (cpow_test): Likewise.
4358 (cproj_test): Likewise.
4359 (creal_test): Likewise.
4360 (csin_test): Likewise.
4361 (csinh_test): Likewise.
4362 (csqrt_test): Likewise.
4363 (ctan_test): Likewise.
4364 (ctan_test_tonearest): Likewise.
4365 (ctan_test_towardzero): Likewise.
4366 (ctan_test_downward): Likewise.
4367 (ctan_test_upward): Likewise.
4368 (ctanh_test): Likewise.
4369 (ctanh_test_tonearest): Likewise.
4370 (ctanh_test_towardzero): Likewise.
4371 (ctanh_test_downward): Likewise.
4372 (ctanh_test_upward): Likewise.
4373 (erf_test): Likewise.
4374 (erfc_test): Likewise.
4375 (exp_test): Likewise.
4376 (exp_test_tonearest): Likewise.
4377 (exp_test_towardzero): Likewise.
4378 (exp_test_downward): Likewise.
4379 (exp_test_upward): Likewise.
4380 (exp10_test): Likewise.
4381 (exp10_test_tonearest): Likewise.
4382 (exp10_test_towardzero): Likewise.
4383 (exp10_test_downward): Likewise.
4384 (exp10_test_upward): Likewise.
4385 (pow10_test): Likewise.
4386 (exp2_test): Likewise.
4387 (expm1_test): Likewise.
4388 (expm1_test_tonearest): Likewise.
4389 (expm1_test_towardzero): Likewise.
4390 (expm1_test_downward): Likewise.
4391 (expm1_test_upward): Likewise.
4392 (fabs_test): Likewise.
4393 (fdim_test): Likewise.
4394 (floor_test): Likewise.
4395 (fma_test): Likewise.
4396 (fma_test_towardzero): Likewise.
4397 (fma_test_downward): Likewise.
4398 (fma_test_upward): Likewise.
4399 (fmax_test): Likewise.
4400 (fmin_test): Likewise.
4401 (fmod_test): Likewise.
4402 (fpclassify_test): Likewise.
4403 (frexp_test): Likewise.
4404 (hypot_test): Likewise.
4405 (ilogb_test): Likewise.
4406 (isfinite_test): Likewise.
4407 (finite_test): Likewise.
4408 (isgreater_test): Likewise.
4409 (isgreaterequal_test): Likewise.
4410 (isinf_test): Likewise.
4411 (isless_test): Likewise.
4412 (islessequal_test): Likewise.
4413 (islessgreater_test): Likewise.
4414 (isnan_test): Likewise.
4415 (isnormal_test): Likewise.
4416 (issignaling_test): Likewise.
4417 (isunordered_test): Likewise.
4418 (j0_test): Likewise.
4419 (j1_test): Likewise.
4420 (jn_test): Likewise.
4421 (ldexp_test): Likewise.
4422 (lgamma_test): Likewise.
4423 (gamma_test): Likewise.
4424 (lrint_test): Likewise.
4425 (lrint_test_tonearest): Likewise.
4426 (lrint_test_towardzero): Likewise.
4427 (lrint_test_downward): Likewise.
4428 (lrint_test_upward): Likewise.
4429 (llrint_test): Likewise.
4430 (llrint_test_tonearest): Likewise.
4431 (llrint_test_towardzero): Likewise.
4432 (llrint_test_downward): Likewise.
4433 (llrint_test_upward): Likewise.
4434 (log_test): Likewise.
4435 (log10_test): Likewise.
4436 (log1p_test): Likewise.
4437 (log2_test): Likewise.
4438 (logb_test): Likewise.
4439 (logb_test_downward): Likewise.
4440 (lround_test): Likewise.
4441 (llround_test): Likewise.
4442 (modf_test): Likewise.
4443 (nearbyint_test): Likewise.
4444 (nextafter_test): Likewise.
4445 (nexttoward_test): Likewise.
4446 (pow_test): Likewise.
4447 (pow_test_tonearest): Likewise.
4448 (pow_test_towardzero): Likewise.
4449 (pow_test_downward): Likewise.
4450 (pow_test_upward): Likewise.
4451 (remainder_test): Likewise.
4452 (drem_test): Likewise.
4453 (remainder_test_tonearest): Likewise.
4454 (drem_test_tonearest): Likewise.
4455 (remainder_test_towardzero): Likewise.
4456 (drem_test_towardzero): Likewise.
4457 (remainder_test_downward): Likewise.
4458 (drem_test_downward): Likewise.
4459 (remainder_test_upward): Likewise.
4460 (drem_test_upward): Likewise.
4461 (remquo_test): Likewise.
4462 (rint_test): Likewise.
4463 (rint_test_tonearest): Likewise.
4464 (rint_test_towardzero): Likewise.
4465 (rint_test_downward): Likewise.
4466 (rint_test_upward): Likewise.
4467 (round_test): Likewise.
4468 (scalb_test): Likewise.
4469 (scalbn_test): Likewise.
4470 (scalbln_test): Likewise.
4471 (signbit_test): Likewise.
4472 (sin_test): Likewise.
4473 (sin_test_tonearest): Likewise.
4474 (sin_test_towardzero): Likewise.
4475 (sin_test_downward): Likewise.
4476 (sin_test_upward): Likewise.
4477 (sincos_test): Likewise.
4478 (sinh_test): Likewise.
4479 (sinh_test_tonearest): Likewise.
4480 (sinh_test_towardzero): Likewise.
4481 (sinh_test_downward): Likewise.
4482 (sinh_test_upward): Likewise.
4483 (sqrt_test): Likewise.
4484 (sqrt_test_tonearest): Likewise.
4485 (sqrt_test_towardzero): Likewise.
4486 (sqrt_test_downward): Likewise.
4487 (sqrt_test_upward): Likewise.
4488 (tan_test): Likewise.
4489 (tan_test_tonearest): Likewise.
4490 (tan_test_towardzero): Likewise.
4491 (tan_test_downward): Likewise.
4492 (tan_test_upward): Likewise.
4493 (tanh_test): Likewise.
4494 (tgamma_test): Likewise.
4495 (trunc_test): Likewise.
4496 (y0_test): Likewise.
4497 (y1_test): Likewise.
4498 (yn_test): Likewise.
4499 (significand_test): Likewise.
4501 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4502 individual tests in comment.
4503 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4504 (prev_max_error): New variable.
4505 (prev_real_max_error): Likewise.
4506 (prev_imag_max_error): Likewise.
4507 (compare_ulp_data): Don't refer to test names in comment.
4508 (find_test_ulps): Remove function.
4509 (find_function_ulps): Likewise.
4510 (find_complex_function_ulps): Likewise.
4511 (init_max_error): Take function name as argument. Look up ulps
4513 (print_ulps): Remove function.
4514 (print_max_error): Use prev_max_error instead of calling
4516 (print_complex_max_error): Use prev_real_max_error and
4517 prev_imag_max_error instead of calling find_complex_function_ulps.
4518 (check_float_internal): Take max_ulp parameter instead of calling
4519 find_test_ulps. Don't call print_ulps.
4520 (check_float): Update call to check_float_internal.
4521 (check_complex): Update calls to check_float_internal.
4522 (START): Pass argument to init_max_error.
4523 * math/gen-libm-test.pl (%results): Don't include "kind"
4525 (parse_ulps): Don't handle ulps of individual tests.
4526 (print_ulps_file): Likewise.
4527 (output_ulps): Likewise.
4528 * math/README.libm-test: Update.
4529 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4531 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4532 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4533 * sysdeps/arm/libm-test-ulps: Likewise.
4534 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4535 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4536 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4537 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4538 * sysdeps/microblaze/libm-test-ulps: Likewise.
4539 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4540 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4541 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4542 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4544 * sysdeps/sh/libm-test-ulps: Likewise.
4545 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4546 * sysdeps/tile/libm-test-ulps: Likewise.
4547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4549 2014-03-04 Joseph Myers <joseph@codesourcery.com>
4551 * math/libm-test.inc (print_complex_max_error): Check separately
4552 whether real and imaginary errors are within allowed range and
4553 pass 0 to print_complex_function_ulps instead of value within
4556 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4558 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4560 (get_handles_fopen): Likewise.
4561 (do_write_test): Likewise.
4563 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4565 * libio/fileops.c (do_ftell): Use cached offset when
4567 * libio/iofwide.c (do_ftell_wide): Likewise.
4568 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4570 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4573 * libio/libioP.h (get_file_offset): New function.
4574 * libio/fileops.c (get_file_offset): Likewise.
4575 (do_ftell): Likewise.
4576 (_IO_new_file_seekoff): Split out ftell logic.
4577 * libio/wfileops.c (do_ftell_wide): Likewise.
4578 (_IO_wfile_seekoff): Split out ftell logic.
4579 * libio/tst-ftell-active-handler.c: New test case.
4580 * libio/Makefile (tests): Add it.
4582 2014-03-03 Roland McGrath <roland@hack.frob.com>
4584 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4585 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4587 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4590 * nscd/connections.c (nscd_init): Call do_exit.
4591 (start_threads): Call do_exit and notify_parent.
4592 (begin_drop_privileges): Call do_exit.
4593 (finish_drop_privileges): Likewise.
4594 * nscd/selinux.c (preserve_capabilities): Likewise.
4595 (install_real_capabilities): Likewise.
4596 (nscd_selinux_enabled): Likewise.
4597 (avc_create_thread): Likewise.
4598 (avc_alloc_lock): Likewise.
4599 (nscd_avc_init): Likewise.
4600 * nscd/nscd.c (parent_fd): New static variable.
4601 (main): Create a pipe between parent and child processes.
4602 Skip closing parent_fd.
4603 (monitor_child): New function.
4604 (do_exit): Likewise.
4605 (notify_parent): Likewise.
4606 * nscd/nscd.h (notify_parent): Likewise.
4607 (do_exit): Likewise.
4609 2014-03-03 Carlos O'Donell <carlos@redhat.com>
4611 * malloc/malloc.c (__libc_calloc): Revert last change.
4613 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4617 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4619 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4623 (__libc_ifunc_impl_list): Likewise.
4624 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4625 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4626 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4627 * string/strrchr.c: Define STRRCHR.
4629 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
4631 * benchtest/bench-strtok.c (simple_strtok): Delete.
4632 (strtok_string): Use as benchmark.
4633 * string/strtok (STRTOK): New macro.
4635 2014-02-28 Carlos O'Donell <carlos@redhat.com>
4637 * manual/threads.texi: Add header and standard comments to all
4640 * elf/dl-lookup.c (check_match): New function.
4641 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4642 (do_lookup_x): Remove nested function check_match. Use non-nested
4643 function check_match.
4645 2014-02-28 Roland McGrath <roland@hack.frob.com>
4647 * csu/Makefile (generated, before-compile): Use += rather than =.
4648 * catgets/Makefile (generated, generated-dirs): Likewise.
4649 * debug/Makefile (generated): Likewise.
4650 * dlfcn/Makefile (generated): Likewise.
4651 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4652 * iconvdata/Makefile (before-compile, generated): Likewise.
4653 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4654 * libio/Makefile (generated): Likewise.
4655 * malloc/Makefile (generated): Likewise.
4656 * manual/Makefile (generated, generated-dirs): Likewise.
4657 * misc/Makefile (generated): Likewise.
4658 * posix/Makefile (generated): Likewise.
4659 * resolv/Makefile (generated): Likewise.
4660 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4661 * timezone/Makefile (generated, generated-dirs): Likewise.
4663 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4665 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4668 power8 implementation.
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4670 file: POWER8 llround ifunc implementation.
4671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4672 (__lllround): Add POWER8 implementation.
4673 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4674 POWER8 llround implementation.
4676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4677 power8 implementation.
4678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4679 file: POWER8 llrint ifunc implementation.
4680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4681 Add POWER8 implementation.
4682 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4683 POWER8 llrint implementation.
4685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4686 power8 implementation.
4687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4688 file: POWER8 finite ifunc implementation.
4689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4690 Add POWER8 implementation.
4691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4693 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4694 POWER8 finite implementation.
4695 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4698 power8 implementation.
4699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4700 file: POWER8 isinf ifunc implementation.
4701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4702 POWER8 implementation.
4703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4705 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4706 isinf implementation.
4707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4709 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4710 (INIT_ARCH): Add hwcap2 initialization.
4711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4712 power8 implementation.
4713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4714 file: POWER8 isnan ifunc implementation.
4715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4716 POWER8 implementation.
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4719 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4720 isnan implementation.
4721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4723 2014-02-27 Joey Ye <joey.ye@arm.com>
4725 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4726 (_FP_NANFRAC_Q): Set to zero.
4728 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4731 * math/auto-libm-test-in: New test inputs.
4732 * math/auto-libm-test-out: Regenerate.
4733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4736 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4738 2014-02-27 Joseph Myers <joseph@codesourcery.com>
4740 * scripts/evaluate-test.sh: Take new argument indicating whether
4741 failure is expected.
4742 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4743 indicating whether failure is expected.
4744 * conform/Makefile (test-xfail-run-conformtest): New variable.
4745 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4747 * posix/Makefile (test-xfail-annexc): New variable.
4748 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4750 2014-02-26 Joseph Myers <joseph@codesourcery.com>
4752 * argp/Makefile: Include Makeconfig immediately after defining
4754 * assert/Makefile: Likewise.
4755 * benchtests/Makefile: Likewise.
4756 * catgets/Makefile: Likewise.
4757 * conform/Makefile: Likewise.
4758 * crypt/Makefile: Likewise.
4759 * csu/Makefile: Likewise.
4760 (all): Remove target.
4761 * ctype/Makefile: Include Makeconfig immediately after defining
4763 * debug/Makefile: Likewise.
4764 * dirent/Makefile: Likewise.
4765 * dlfcn/Makefile: Likewise.
4766 * gmon/Makefile: Likewise.
4767 * gnulib/Makefile: Likewise.
4768 * grp/Makefile: Likewise.
4769 * gshadow/Makefile: Likewise.
4770 * hesiod/Makefile: Likewise.
4771 * hurd/Makefile: Likewise.
4772 (all): Remove target.
4773 * iconvdata/Makefile: Include Makeconfig immediately after
4775 * inet/Makefile: Likewise.
4776 * intl/Makefile: Likewise.
4777 * io/Makefile: Likewise.
4778 * libio/Makefile: Likewise.
4779 (all): Remove target.
4780 * locale/Makefile: Include Makeconfig immediately after defining
4782 * login/Makefile: Likewise.
4783 * mach/Makefile: Likewise.
4784 (all): Remove target.
4785 * malloc/Makefile: Include Makeconfig immediately after defining
4787 (all): Remove target.
4788 * manual/Makefile: Include Makeconfig immediately after defining
4790 * math/Makefile: Likewise.
4791 * misc/Makefile: Likewise.
4792 * nis/Makefile: Likewise.
4793 * nss/Makefile: Likewise.
4794 * po/Makefile: Likewise.
4795 (all): Remove target.
4796 * posix/Makefile: Include Makeconfig immediately after defining
4798 * pwd/Makefile: Likewise.
4799 * resolv/Makefile: Likewise.
4800 * resource/Makefile: Likewise.
4801 * rt/Makefile: Likewise.
4802 * setjmp/Makefile: Likewise.
4803 * shadow/Makefile: Likewise.
4804 * signal/Makefile: Likewise.
4805 * socket/Makefile: Likewise.
4806 * soft-fp/Makefile: Likewise.
4807 * stdio-common/Makefile: Likewise.
4808 * stdlib/Makefile: Likewise.
4809 * streams/Makefile: Likewise.
4810 * string/Makefile: Likewise.
4811 * sunrpc/Makefile: Likewise.
4812 (all): Remove target.
4813 * sysvipc/Makefile: Include Makeconfig immediately after defining
4815 * termios/Makefile: Likewise.
4816 * time/Makefile: Likewise.
4817 * timezone/Makefile: Likewise.
4818 (all): Remove target.
4819 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4821 * wctype/Makefile: Likewise.
4823 2014-02-26 Steve Ellcey <sellcey@mips.com>
4825 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4826 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4827 (libc_feholdexcept_setround_mips): Ditto.
4828 (libc_feholdsetround): New.
4829 (libc_feholdsetroundf): New.
4830 (libc_feholdsetroundl): New.
4831 (libc_feupdateenv_test_mips): New.
4832 (libc_feupdateenv_test): New.
4833 (libc_feupdateenv_testf): New.
4834 (libc_feupdateenv_testl): New.
4835 (libc_feresetround): New.
4836 (libc_feresetroundf): New.
4837 (libc_feresetroundl): New.
4838 (libc_fetestexcept_mips): New.
4839 (libc_fetestexcept): New.
4840 (libc_fetestexceptf): New.
4841 (libc_fetestexceptl): New.
4843 (libc_feholdexcept_setround_mips_ctx): New.
4844 (libc_feholdexcept_setround_ctx): New.
4845 (libc_feholdexcept_setroundf_ctx): New.
4846 (libc_feholdexcept_setroundl_ctx): New.
4847 (libc_fesetenv_mips_ctx): New.
4848 (libc_fesetenv_ctx): New.
4849 (libc_fesetenv_ctxf): New.
4850 (libc_fesetenv_ctxl): New.
4851 (libc_feupdateenv_mips_ctx): New.
4852 (libc_feupdateenv_ctx): New.
4853 (libc_feupdateenvf_ctx): New.
4854 (libc_feupdateenvl_ctx): New.
4855 (libc_feholdsetround_mips_ctx): New.
4856 (libc_feholdsetround_ctx): New.
4857 (libc_feholdsetroundf_ctx): New.
4858 (libc_feholdsetroundl_ctx): New.
4859 (libc_feresetround_mips_ctx): New.
4860 (libc_feresetround_ctx): New.
4861 (libc_feresetroundf_ctx): New.
4862 (libc_feresetroundl_ctx): New.
4864 2014-02-26 Carlos O'Donell <carlos@redhat.com>
4866 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4868 * manual/ipc.texi: New file.
4869 * manual/Makefile (chapters): Add ipc.
4870 * manual/job.texi: Add "Inter-Process Communication" to next.
4871 * manual/process.texi: Add "Inter-Process Communication" to prev.
4873 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4877 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
4879 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4881 * manual/arith.texi: Fix spaces after sentences.
4882 * manual/charset.texi: Likewise.
4883 * manual/errno.texi: Likewise.
4884 * manual/install.texi: Likewise.
4885 * manual/llio.texi: Likewise.
4886 * manual/locale.texi: Likewise.
4887 * manual/maint.texi: Likewise.
4888 * manual/math.texi: Likewise.
4889 * manual/memory.texi: Likewise.
4890 * manual/message.texi: Likewise.
4891 * manual/probes.texi: Likewise.
4892 * manual/resource.texi: Likewise.
4893 * manual/signal.texi: Likewise.
4894 * manual/socket.texi: Likewise.
4895 * manual/stdio.texi: Likewise.
4896 * manual/string.texi: Likewise.
4897 * manual/time.texi: Likewise.
4898 * manual/users.texi: Likewise.
4900 2014-02-25 Carlos O'Donell <carlos@redhat.com>
4903 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4904 _DEFAULT_SOURCE is defined.
4906 2014-02-25 Ulrich Drepper <drepper@gmail.com>
4907 Carlos O'Donell <carlos@redhat.com>
4910 * elf/dl-tls.c (_dl_count_modids): New function.
4911 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4912 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4913 audit library and increment generation counter.
4914 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4915 * elf/tst-audit9.c: New file.
4916 * elf/tst-auditmod9a.c: New file.
4917 * elf/tst-auditmod9b.c: New file.
4918 * elf/Makefile: Add rules to build and run tst-audit9.
4920 2014-02-25 Florian Weimer <fweimer@redhat.com>
4923 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4925 2014-02-25 Will Newton <will.newton@linaro.org>
4927 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4928 (__longjmp): Restore sp and lr before restoring callee
4929 saved registers. Add longjmp and longjmp_target
4930 SystemTap probe point.
4931 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4932 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4933 Define to zero to match jmpbuf layout.
4934 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4935 (__sigsetjmp): Save sp and lr before saving callee
4936 saved registers. Add setjmp SystemTap probe point.
4938 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4940 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4942 2014-02-24 Andreas Schwab <schwab@suse.de>
4945 * elf/pldd.c (wait_for_ptrace_stop): New function.
4946 (main): Call it after attaching.
4948 2014-02-22 Roland McGrath <roland@hack.frob.com>
4950 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4951 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4952 Versions files is now verboten.
4953 * hurd/Versions (libc: GLIBC_2.0):
4954 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4955 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4956 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4957 * mach/Versions: Likewise.
4959 * csu/Versions: Remove unused %include.
4960 * resolv/Versions: Likewise.
4962 2014-02-21 Joseph Myers <joseph@codesourcery.com>
4964 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4965 ($(objpfx)check-local-headers.out): Likewise.
4966 ($(objpfx)begin-end-check.out): Likewise.
4967 * Makerules (check-abi-%.out): Likewise.
4968 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4969 ($(objpfx)test2.cat): Likewise.
4970 ($(objpfx)de/libc.cat): Likewise.
4971 ($(objpfx)test-gencat.out): Likewise.
4972 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4973 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4974 ($(objpfx)noload-mem): Likewise.
4975 ($(objpfx)tst-pathopt.out): Likewise.
4976 ($(objpfx)tst-rtld-load-self.out): Likewise.
4977 ($(objpfx)tst-array1-cmp.out): Likewise.
4978 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4979 ($(objpfx)tst-array2-cmp.out): Likewise.
4980 ($(objpfx)tst-array3-cmp.out): Likewise.
4981 ($(objpfx)tst-array4-cmp.out): Likewise.
4982 ($(objpfx)tst-array5-cmp.out): Likewise.
4983 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4984 ($(objpfx)check-textrel.out): Likewise.
4985 ($(objpfx)check-execstack.out): Likewise.
4986 ($(objpfx)check-localplt.out): Likewise.
4987 ($(objpfx)order2-cmp.out): Likewise.
4988 ($(objpfx)tst-leaks1-mem): Likewise.
4989 ($(objpfx)tst-leaks1-static-mem): Likewise.
4990 ($(objpfx)tst-initorder-cmp.out): Likewise.
4991 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4992 ($(objpfx)tst-unused-dep.out): Likewise.
4993 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4994 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4995 * iconv/Makefile (test-iconvconfig): Likewise.
4996 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4997 ($(objpfx)iconv-test.out): Likewise.
4998 ($(objpfx)tst-tables.out): Likewise.
4999 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5000 ($(objpfx)tst-gettext.out): Likewise.
5001 ($(objpfx)tst-translit.out): Likewise.
5002 ($(objpfx)tst-gettext2.out): Likewise.
5003 ($(objpfx)tst-gettext4.out): Likewise.
5004 ($(objpfx)tst-gettext6.out): Likewise.
5005 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5006 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5007 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5008 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5009 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5010 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5011 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5012 ($(objpfx)wordexp-tst.out): Likewise.
5013 ($(objpfx)annexc.out): Likewise.
5014 ($(objpfx)tst-fnmatch-mem): Likewise.
5015 ($(objpfx)bug-regex2-mem): Likewise.
5016 ($(objpfx)bug-regex14-mem): Likewise.
5017 ($(objpfx)bug-regex21-mem): Likewise.
5018 ($(objpfx)bug-regex31-mem): Likewise.
5019 ($(objpfx)tst-vfork3-mem): Likewise.
5020 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5021 ($(objpfx)tst-pcre-mem): Likewise.
5022 ($(objpfx)tst-boost-mem): Likewise.
5023 ($(objpfx)tst-getconf.out): Likewise.
5024 ($(objpfx)bug-ga2-mem): Likewise.
5025 ($(objpfx)bug-glob2-mem): Likewise.
5026 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5027 ($(objpfx)mtrace-tst-leaks2): Likewise.
5028 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5029 ($(objpfx)tst-printf.out): Likewise.
5030 ($(objpfx)tst-setvbuf1.out): Likewise.
5031 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5032 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5033 ($(objpfx)tst-fmtmsg.out): Likewise.
5034 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5035 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5037 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5038 * bits/sigaction.h [__USE_MISC]: Likewise.
5039 * bits/waitstatus.h: Update #endif comments.
5040 * ctype/ctype.h: Likewise.
5041 * dirent/dirent.h: Likewise.
5042 [__USE_MISC]: Remove redundant conditionals.
5043 * grp/grp.h: Update #endif comments.
5044 [__USE_GNU]: Remove redundant conditionals.
5045 [__USE_MISC]: Likewise.
5046 * inet/netinet/in.h [__USE_GNU]: Likewise.
5047 * io/sys/stat.h [__USE_MISC]: Likewise.
5048 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5049 * libio/bits/stdio.h: Update #endif comments.
5050 [__USE_MISC]: Remove redundant conditionals.
5051 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5052 * libio/stdio.h: Update #endif comments.
5053 [__USE_MISC]: Remove redundant conditionals.
5054 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5055 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5056 * math/math.h: Update #else and #endif comments.
5057 [__USE_MISC]: Remove redundant conditionals.
5058 * misc/sys/uio.h: Update #endif comments.
5059 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5060 * posix/glob.h [__USE_MISC]: Likewise.
5061 * posix/sys/types.h: Update #endif comments.
5062 [__USE_MISC]: Remove redundant conditionals.
5063 * posix/sys/wait.h: Update #endif comments.
5064 [__USE_MISC]: Remove redundant conditionals.
5065 * posix/unistd.h: Update #endif comments.
5066 [__USE_MISC]: Remove redundant conditionals.
5067 * pwd/pwd.h [__USE_GNU]: Likewise.
5068 [__USE_MISC]: Likewise.
5069 * resolv/netdb.h [__USE_GNU]: Likewise.
5070 * signal/signal.h: Update #endif comments.
5071 [__USE_MISC]: Remove redundant conditionals.
5072 * stdlib/stdlib.h: Update #else and #endif comments.
5073 [__USE_MISC]: Remove redundant conditionals.
5074 [__USE_GNU]: Likewise.
5075 * string/bits/string2.h [__USE_MISC]: Likewise.
5076 * string/string.h: Update #endif comments.
5077 [__USE_MISC]: Remove redundant conditionals.
5078 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5080 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5081 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5082 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5084 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5086 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5088 [__USE_MISC]: Remove redundant conditionals.
5089 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5090 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5091 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5092 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5093 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5095 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5096 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5098 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5101 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5103 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5104 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5106 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5108 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5109 * sysdeps/x86/bits/string.h: Update #endif comments.
5110 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5112 * time/sys/time.h: Update #endif comments.
5113 * time/time.h: Likewise.
5114 [__USE_MISC]: Remove redundant conditionals.
5116 2014-02-21 Yury Gribov <y.gribov@samsung.com>
5119 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5121 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5123 * Versions.def (librt): Add GLIBC_2.17.
5125 2014-02-21 Adam Conrad <adconrad@0c3.net>
5127 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5128 synonym for _SYS_AUXV_H to allow direct inclusion.
5129 * sysdeps/sparc/bits/hwcap.h: Likewise.
5130 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5131 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5132 * sysdeps/sparc/sysdep.h: Likewise.
5134 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5136 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5138 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5140 * benchtests/bench-strrchr.c: Print length instead of position.
5142 2014-02-20 Joseph Myers <joseph@codesourcery.com>
5145 * sysdeps/unix/sysv/linux/kernel-features.h
5146 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5147 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5148 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5149 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5151 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5152 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5153 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5154 (__ASSUME_SENDMMSG): Define instead of using previous
5155 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5156 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5157 (__ASSUME_SENDMMSG_SYSCALL): Define.
5158 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5159 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5162 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5164 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5165 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5167 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5168 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5169 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5170 [__ASSUME_SENDMMSG]: Change conditionals to
5171 [__ASSUME_SENDMMSG_SOCKETCALL].
5172 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5173 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5175 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5176 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5178 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5179 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5180 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5181 [!__ASSUME_SENDMMSG]: Change conditional to
5182 [!__ASSUME_SENDMMSG_SOCKETCALL].
5183 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5184 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5188 * sysdeps/unix/sysv/linux/kernel-features.h
5189 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5190 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5191 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5192 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5193 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5194 [__i386__ || __sparc__]
5195 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5196 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5197 (__ASSUME_RECVMMSG): Define instead of using previous
5198 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5199 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5200 (__ASSUME_RECVMMSG_SYSCALL): Define.
5201 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5202 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5204 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5205 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5207 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5208 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5210 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5211 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5212 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5213 [__ASSUME_RECVMMSG]: Change condition to
5214 [__ASSUME_RECVMMSG_SOCKETCALL].
5215 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5216 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5218 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5219 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5220 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5222 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5223 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5224 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5225 [!__ASSUME_RECVMMSG]: Change condition to
5226 [!__ASSUME_RECVMMSG_SOCKETCALL].
5227 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5228 (__ASSUME_RECVMMSG_SYSCALL): Define.
5231 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5232 __powerpc__ || __s390__ || __sh__ || __sparc__]
5233 (__ASSUME_SOCKETCALL): Define.
5234 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5235 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5236 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5237 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5238 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5239 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5240 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5241 (__ASSUME_ACCEPT4): Define instead of using previous
5242 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5243 __powerpc__ || __sparc__ || __s390__)] condition.
5244 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5245 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5246 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5247 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5248 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5249 [!__ASSUME_ACCEPT4]: Change condition to
5250 [!__ASSUME_ACCEPT4_SOCKETCALL].
5251 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5252 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5253 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5254 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5255 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5256 __ASSUME_ACCEPT4_SYSCALL.
5257 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5258 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5259 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5260 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5261 __ASSUME_ACCEPT4_SYSCALL.
5262 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5263 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5264 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5265 [__ASSUME_ACCEPT4]: Change condition to
5266 [__ASSUME_ACCEPT4_SOCKETCALL].
5267 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5268 (__ASSUME_SOCKETCALL): Define.
5269 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5270 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5271 (__ASSUME_SOCKETCALL): Define.
5272 (__ASSUME_ACCEPT4): Remove.
5273 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5275 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5276 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5278 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5279 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5281 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5283 (HWCAP_ARM_LPAE): Likewise.
5284 (HWCAP_ARM_EVTSTRM): Likewise.
5285 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5286 Add vpfd32, lpae and evtstrm.
5287 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5290 2014-02-19 Joseph Myers <joseph@codesourcery.com>
5292 * math/auto-libm-test-in: Add tests of clog10.
5293 * math/auto-libm-test-out: Regenerated.
5294 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5295 * sysdeps/i386/fpu/libm-test-ulps: Update.
5296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5298 2014-02-18 Andreas Schwab <schwab@suse.de>
5301 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5302 Store non-zero if the second buffer was newly allocated.
5303 (send_dg): Likewise.
5304 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5305 to send_vc and send_dg.
5306 (res_nsend): Pass NULL for ansp2_malloced.
5307 * resolv/res_query.c (__libc_res_nquery): Add parameter
5308 answerp2_malloced and pass it down to __libc_res_nsend.
5309 (res_nquery): Pass additional NULL to __libc_res_nquery.
5310 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5311 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5312 second answer buffer if answerp2_malloced was set.
5313 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5314 (__libc_res_nquerydomain): Add parameter
5315 answerp2_malloced and pass it down to __libc_res_nquery.
5316 (res_nquerydomain): Pass additional NULL to
5317 __libc_res_nquerydomain.
5318 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5319 additional NULL to __libc_res_nsend and __libc_res_nquery.
5320 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5321 additional NULL to __libc_res_nsearch.
5322 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5323 parameter of __libc_res_nsearch to check for separately allocated
5325 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5327 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5328 additional NULL to __libc_res_nquery.
5329 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5331 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5332 * include/resolv.h: Update prototypes of __libc_res_nquery,
5333 __libc_res_nsearch, __libc_res_nsend.
5335 2014-02-18 Joseph Myers <joseph@codesourcery.com>
5337 * math/auto-libm-test-in: Add tests of fma.
5338 * math/auto-libm-test-out: Regenerated.
5339 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5340 (fma_towardzero_test_data): Likewise.
5341 (fma_downward_test_data): Likewise.
5342 (fma_upward_test_data): Likewise.
5343 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5345 (rounding_modes): Add values for new field.
5346 (func_calc_method): Add value mpfr_fff_f.
5347 (func_calc_desc): Add mpfr_fff_f union field.
5348 (test_function): Add field exact_args.
5349 (FUNC): Add macro argument EXACT_ARGS.
5350 (FUNC_mpfr_f_f): Update call to FUNC.
5351 (FUNC_mpfr_f_f): Likewise.
5352 (FUNC_mpfr_ff_f): Likewise.
5353 (FUNC_mpfr_if_f): Likewise.
5354 (FUNC_mpc_c_f): Likewise.
5355 (FUNC_mpc_c_c): Likewise.
5356 (test_functions): Add fma. Update calls to FUNC.
5357 (handle_input_arg): Add argument exact_args.
5358 (add_test): Update call to handle_input_arg.
5359 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5360 (output_for_one_input_case): Update call to calc_generic_results.
5361 Recalculate exact zero results in each rounding mode.
5363 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5364 non-negative before setting low bit.
5365 * math/auto-libm-test-in: Mark one asin test possibly having
5367 * math/auto-libm-test-out: Regenerated.
5368 * sysdeps/i386/fpu/libm-test-ulps: Update.
5369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5371 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5373 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5374 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5375 ports/sysdeps/unix/sysv/linux/microblaze.
5376 * README: Add missing listing for microblaze*-*-linux-gnu.
5378 2014-02-16 Mike Frysinger <vapier@gentoo.org>
5380 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5381 * sysdeps/unix/sysv/linux/ia64: Move directory from
5382 ports/sysdeps/unix/sysv/linux/ia64.
5383 * README: Update listing for ia64-*-linux-gnu.
5385 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5386 Joseph Myers <joseph@codesourcery.com>
5388 * Makeconfig (test-name): New variable.
5389 (evaluate-test): Likewise.
5390 * Makerules (do-test-clean): Remove .test-result files.
5391 (common-mostlyclean): Likewise.
5392 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5393 * scripts/evaluate-test.sh: New file.
5395 2014-02-14 Joseph Myers <joseph@codesourcery.com>
5397 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5398 separate $(objpfx)tst-fopenloc-cmp.out and
5399 $(objpfx)tst-fopenloc-mem.out targets.
5400 (tests): Update dependencies.
5401 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5402 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5403 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5404 (tst-rxspencer-no-utf8-ARGS): New variable.
5405 (tst-rxspencer-no-utf8-ENV): Likewise.
5406 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5407 instead of $(objpfx)tst-rxspencer-mem.
5408 ($(objpfx)tst-rxspencer-mem): Change target to
5409 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5410 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5411 * posix/tst-rxspencer-no-utf8.c: New file.
5413 * elf/Makefile ($(objpfx)order.out): Remove rule.
5414 [$(run-built-tests) = yes] (tests): Depend on
5415 $(objpfx)order-cmp.out.
5416 ($(objpfx)order-cmp.out): New rule.
5417 [$(run-built-tests) = yes] (tests): Depend on
5418 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5419 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5420 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5421 $(objpfx)tst-array5-static-cmp.out.
5422 ($(objpfx)tst-array1.out): Remove rule.
5423 ($(objpfx)tst-array1-cmp.out): New rule.
5424 ($(objpfx)tst-array1-static.out): Remove rule.
5425 ($(objpfx)tst-array1-static-cmp.out): New rule.
5426 ($(objpfx)tst-array2.out): Remove rule.
5427 ($(objpfx)tst-array2-cmp.out): New rule.
5428 ($(objpfx)tst-array3.out): Remove rule.
5429 ($(objpfx)tst-array3-cmp.out): New rule.
5430 ($(objpfx)tst-array4.out): Remove rule.
5431 ($(objpfx)tst-array4-cmp.out): New rule.
5432 ($(objpfx)tst-array5.out): Remove rule.
5433 ($(objpfx)tst-array5-cmp.out): New rule.
5434 ($(objpfx)tst-array5-static.out): Remove rule.
5435 ($(objpfx)tst-array5-static-cmp.out): New rule.
5436 [$(run-built-tests) = yes] (tests): Depend on
5437 $(objpfx)order2-cmp.out.
5438 ($(objpfx)order2.out): Remove rule.
5439 ($(objpfx)order2-cmp.out): New rule.
5440 ($(objpfx)tst-initorder.out): Remove rule.
5441 [$(run-built-tests) = yes] (tests): Depend on
5442 $(objpfx)tst-initorder-cmp.out.
5443 ($(objpfx)tst-initorder-cmp.out): New rule.
5444 ($(objpfx)tst-initorder2.out): Remove rule.
5445 [$(run-built-tests) = yes] (tests): Depend on
5446 $(objpfx)tst-initorder2-cmp.out.
5447 ($(objpfx)tst-initorder2-cmp.out): New rule.
5448 [$(run-built-tests) = yes] (tests): Depend on
5449 $(objpfx)tst-unused-dep-cmp.out.
5450 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5451 ($(objpfx)tst-unused-dep-cmp.out): New rule.
5452 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5453 on $(objpfx)tst-setvbuf1-cmp.out.
5454 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5455 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5456 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5457 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5458 ($(objpfx)tst-svc.out): Remove rule.
5459 ($(objpfx)tst-svc-cmp.out): New rule.
5461 2014-02-13 Joseph Myers <joseph@codesourcery.com>
5463 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5464 * ctype/ctype.h [__USE_MISC]: Likewise.
5465 * dirent/dirent.h [__USE_MISC]: Likewise.
5466 * grp/grp.h [__USE_MISC]: Likewise.
5467 * io/fcntl.h [__USE_MISC]: Likewise.
5468 * io/sys/stat.h [__USE_MISC]: Likewise.
5469 * libio/stdio.h [__USE_MISC]: Likewise.
5470 * posix/unistd.h [__USE_MISC]: Likewise.
5471 * pwd/pwd.h [__USE_MISC]: Likewise.
5472 * stdlib.h [__USE_MISC]: Likewise.
5473 * string/bits/string2.h [__USE_MISC]: Likewise.
5474 * string/string.h [__USE_MISC]: Likewise.
5475 * time/time.h [__USE_MISC]: Likewise.
5477 2014-02-13 Andreas Schwab <schwab@suse.de>
5480 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5481 second answer buffer if it was separately allocated.
5483 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5485 * sysdeps/mips/math-tests.h: Include <features.h>.
5486 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5487 (ROUNDING_TESTS_long_double): Do not define.
5488 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5489 (EXCEPTION_TESTS_long_double): Likewise.
5490 * sysdeps/mips/mips64/libm-test-ulps: Update.
5492 * include/features.h (__USE_BSD): Remove macro definitions.
5493 (__USE_SVID): Likewise.
5494 (_BSD_SOURCE): Likewise.
5495 (_SVID_SOURCE): Likewise.
5496 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5497 from definition of _DEFAULT_SOURCE.
5498 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5500 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5501 * bits/mman.h [__USE_BSD]: Likewise.
5502 * bits/termios.h [__USE_BSD]: Likewise.
5503 * bits/waitstatus.h [__USE_BSD]: Likewise.
5504 * ctype/ctype.h [__USE_SVID]: Likewise.
5505 * dirent/dirent.h [__USE_BSD]: Likewise.
5506 * grp/grp.h [__USE_SVID]: Likewise.
5507 [__USE_BSD]: Likewise.
5508 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5509 * io/fcntl.h [__USE_BSD]: Likewise.
5510 * io/ftw.h [__USE_BSD]: Likewise.
5511 * io/sys/stat.h [__USE_BSD]: Likewise.
5512 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5513 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5514 * libio/stdio.h [__USE_SVID]: Likewise.
5515 [__USE_BSD]: Likewise.
5516 * math/math.h [__USE_SVID]: Likewise.
5517 [__USE_BSD]: Likewise.
5518 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5519 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5520 * misc/search.h [__USE_SVID]: Likewise.
5521 * misc/sys/mman.h [__USE_BSD]: Likewise.
5522 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5523 * misc/sys/uio.h [__USE_BSD]: Likewise.
5524 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5525 * posix/glob.h [__USE_BSD]: Likewise.
5526 * posix/regex.h [__USE_BSD]: Likewise.
5527 * posix/sys/types.h [__USE_BSD]: Likewise.
5528 [__USE_SVID]: Likewise.
5529 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5530 * posix/sys/wait.h [__USE_BSD]: Likewise.
5531 [__USE_SVID]: Likewise.
5532 * posix/unistd.h [__USE_BSD]: Likewise.
5533 [__USE_SVID]: Likewise.
5534 * pwd/pwd.h [__USE_SVID]: Likewise.
5535 * resolv/netdb.h [__USE_BSD]: Likewise.
5536 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5537 * signal/signal.h [__USE_BSD]: Likewise.
5538 [__USE_SVID]: Likewise.
5539 * socket/sys/socket.h [__USE_BSD]: Likewise.
5540 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5541 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5542 [__USE_SVID]: Likewise.
5543 * string/bits/string2.h [__USE_BSD]: Likewise.
5544 [__USE_SVID]: Likewise.
5545 * string/bits/string3.h [__USE_BSD]: Likewise.
5546 * string/endian.h [__USE_BSD]: Likewise.
5547 * string/string.h [__USE_SVID]: Likewise.
5548 [__USE_BSD]: Likewise.
5549 * string/strings.h [__USE_BSD]: Likewise.
5550 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5551 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5552 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5553 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5554 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5555 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5557 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5559 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5560 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5562 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5563 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5565 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5567 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5568 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5571 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5573 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5574 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5575 * termios/termios.h [__USE_BSD]: Likewise.
5576 * time/sys/time.h [__USE_BSD]: Likewise.
5577 * time/time.h [__USE_BSD]: Likewise.
5578 [__USE_SVID]: Likewise.
5580 * Makefile (subdir_targets): Remove subdir_lint.out.
5582 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5583 (do-tst-printf): Likewise.
5584 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5585 $(objpfx)tst-printf.out.
5587 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5589 * Makerules (check-abi-%): Change target to
5590 $(objpfx)check-abi-%.out.
5591 (check-abi target): Update dependencies.
5592 (check-abi-pattern variable): Redirect output of diff to $@.
5593 (check-abi variable): Likewise.
5594 * elf/Makefile (check-abi): Update dependencies.
5596 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5598 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5599 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5601 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5602 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5603 value has largest subnormal exponent.
5604 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5605 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5606 * sysdeps/aarch64/soft-fp/sfp-machine.h
5607 (_FP_TININESS_AFTER_ROUNDING): New macro.
5608 * sysdeps/alpha/soft-fp/sfp-machine.h
5609 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5610 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5612 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5613 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5614 * sysdeps/mips/soft-fp/sfp-machine.h
5615 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5616 * sysdeps/powerpc/soft-fp/sfp-machine.h
5617 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5618 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5620 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5621 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5622 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5623 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5624 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5627 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
5630 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5633 2014-02-12 Richard Henderson <rth@redhat.com>
5635 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5636 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5637 * sysdeps/unix/sysv/linux/alpha: Move directory from
5638 ports/sysdeps/unix/sysv/linux/alpha.
5639 * README: Update listing for alpha-*-linux-gnu.
5641 2014-02-11 Joseph Myers <joseph@codesourcery.com>
5643 * include/features.h: Update comment documenting feature test
5645 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5647 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5648 (_SVID_SOURCE): Likewise.
5649 (_DEFAULT_SOURCE): Update description of default features.
5650 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5652 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5653 (S_ISVTX): Likewise.
5654 * manual/math.texi (Mathematical Constants): Likewise.
5655 * manual/signal.texi (Interrupted Primitives): Likewise.
5656 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5657 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5658 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5659 Don't refer to _SVID_SOURCE in warning text.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5663 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5665 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5666 * sysdeps/mips/dl-lookup.c: Remove.
5667 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5669 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5672 * math/auto-libm-test-in: Add testcase for expl.
5673 * math/auto-libm-test-out: Regenerate.
5674 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5675 calculation of unsafe.
5676 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5678 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5680 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5681 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5682 ports/sysdeps/unix/sysv/linux/aarch64.
5683 * README: Update listing for aarch64*-*-linux-gnu.
5685 2014-02-11 Will Newton <will.newton@linaro.org>
5687 * manual/probes.texi (Mathematical Function Probes): Use
5688 "triggered" instead of "hit".
5690 * manual/probes.texi (Internal Probes): Add documentation
5691 of setjmp, longjmp and longjmp_target probes.
5693 * include/stap-probe.h: Add comment about probe argument
5696 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5697 definition. (tr_where, tr_freehook, tr_mallochook,
5698 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5700 2014-02-11 David S. Miller <davem@davemloft.net>
5702 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5703 processing int_tests.
5705 2014-02-10 Joseph Myers <joseph@codesourcery.com>
5707 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5708 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5709 * sysdeps/unix/sysv/linux/mips: Move directory from
5710 ports/sysdeps/unix/sysv/linux/mips.
5711 * README: Update listing for mips-*-linux-gnu and
5714 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5716 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5717 * sysdeps/unix/sysv/linux/m68k: Move directory from
5718 ports/sysdeps/unix/sysv/linux/m68k.
5719 * README: Update listing for m68k-*-linux-gnu.
5721 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5723 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5724 * sysdeps/unix/sysv/linux/generic: Move directory from
5725 ports/sysdeps/unix/sysv/linux/generic.
5726 * sysdeps/unix/sysv/linux/tile: Move directory from
5727 ports/sysdeps/unix/sysv/linux/tile.
5728 * README: Update listing for tile*-*-linux-gnu.
5730 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
5732 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5734 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5735 * catgets/open_catalog.c (__open_catalog): Likewise.
5736 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5737 * debug/confstr_chk.c: Likewise.
5738 * debug/fread_chk.c (__fread_chk): Likewise.
5739 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5740 * debug/getgroups_chk.c: Likewise.
5741 * debug/mbsnrtowcs_chk.c: Likewise.
5742 * debug/mbsrtowcs_chk.c: Likewise.
5743 * debug/mbstowcs_chk.c: Likewise.
5744 * debug/memcpy_chk.c: Likewise.
5745 * debug/memmove_chk.c: Likewise.
5746 * debug/mempcpy_chk.c: Likewise.
5747 * debug/memset_chk.c: Likewise.
5748 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5749 * debug/strcat_chk.c (__strcat_chk): Likewise.
5750 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5751 * debug/strncat_chk.c (__strncat_chk): Likewise.
5752 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5753 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5754 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5755 * debug/wcpncpy_chk.c: Likewise.
5756 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5757 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5758 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5759 * debug/wcsncpy_chk.c: Likewise.
5760 * debug/wcsnrtombs_chk.c: Likewise.
5761 * debug/wcsrtombs_chk.c: Likewise.
5762 * debug/wcstombs_chk.c: Likewise.
5763 * debug/wmemcpy_chk.c: Likewise.
5764 * debug/wmemmove_chk.c: Likewise.
5765 * debug/wmempcpy_chk.c: Likewise.
5766 * debug/wmemset_chk.c: Likewise.
5767 * dirent/scandirat.c (SCANDIRAT): Likewise.
5768 * dlfcn/dladdr1.c (dladdr1): Likewise.
5769 * dlfcn/dladdr.c (dladdr): Likewise.
5770 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5771 * dlfcn/dlerror.c (__dlerror): Likewise.
5772 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5773 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5774 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5775 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5776 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5777 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5778 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5779 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5781 * elf/dl-conflict.c: Likewise.
5782 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5783 * elf/dl-dst.h: Likewise.
5784 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5785 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5786 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5787 * elf/dl-init.c (call_init, _dl_init): Likewise.
5788 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5789 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5790 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5792 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5794 * elf/dl-minimal.c (__libc_memalign): Likewise.
5795 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5796 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5797 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5798 * elf/dl-sym.c (do_sym): Likewise.
5799 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5800 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5801 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5802 * elf/dl-writev.h (_dl_writev): Likewise.
5803 * elf/ldconfig.c (search_dir): Likewise.
5804 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5805 (dl_main): Likewise.
5806 * elf/setup-vdso.h (setup_vdso): Likewise.
5807 * grp/compat-initgroups.c (compat_call): Likewise.
5808 * grp/fgetgrent.c (fgetgrent): Likewise.
5809 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5810 * grp/putgrent.c (putgrent): Likewise.
5811 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5813 * hurd/hurdinit.c: Likewise.
5814 * iconvdata/8bit-gap.c (struct): Likewise.
5815 * iconvdata/ansi_x3.110.c : Likewise.
5816 * iconvdata/big5.c : Likewise.
5817 * iconvdata/big5hkscs.c : Likewise.
5818 * iconvdata/cp1255.c: Likewise.
5819 * iconvdata/cp1258.c : Likewise.
5820 * iconvdata/cp932.c : Likewise.
5821 * iconvdata/euc-cn.c: Likewise.
5822 * iconvdata/euc-jisx0213.c : Likewise.
5823 * iconvdata/euc-jp.c: Likewise.
5824 * iconvdata/euc-jp-ms.c : Likewise.
5825 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5826 * iconvdata/gb18030.c : Likewise.
5827 * iconvdata/gbbig5.c (const): Likewise.
5828 * iconvdata/gbgbk.c: Likewise.
5829 * iconvdata/gbk.c : Likewise.
5830 * iconvdata/ibm1364.c : Likewise.
5831 * iconvdata/ibm930.c : Likewise.
5832 * iconvdata/ibm932.c: Likewise.
5833 * iconvdata/ibm933.c : Likewise.
5834 * iconvdata/ibm935.c : Likewise.
5835 * iconvdata/ibm937.c : Likewise.
5836 * iconvdata/ibm939.c : Likewise.
5837 * iconvdata/ibm943.c: Likewise.
5838 * iconvdata/iso_11548-1.c: Likewise.
5839 * iconvdata/iso-2022-cn.c : Likewise.
5840 * iconvdata/iso-2022-cn-ext.c : Likewise.
5841 * iconvdata/iso-2022-jp-3.c: Likewise.
5842 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5843 * iconvdata/iso-2022-kr.c : Likewise.
5844 * iconvdata/iso646.c (gconv_end): Likewise.
5845 * iconvdata/iso_6937-2.c : Likewise.
5846 * iconvdata/iso_6937.c : Likewise.
5847 * iconvdata/iso8859-1.c: Likewise.
5848 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5849 * iconvdata/shift_jisx0213.c : Likewise.
5850 * iconvdata/sjis.c : Likewise.
5851 * iconvdata/t.61.c : Likewise.
5852 * iconvdata/tcvn5712-1.c : Likewise.
5853 * iconvdata/tscii.c: Likewise.
5854 * iconvdata/uhc.c : Likewise.
5855 * iconvdata/unicode.c (gconv_end): Likewise.
5856 * iconvdata/utf-16.c (gconv_end): Likewise.
5857 * iconvdata/utf-32.c (gconv_end): Likewise.
5858 * iconvdata/utf-7.c (base64): Likewise.
5859 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5860 * iconv/gconv_close.c (__gconv_close): Likewise.
5861 * iconv/gconv_open.c (__gconv_open): Likewise.
5862 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5863 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5864 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5865 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5866 (ucs4le_internal_loop_single): Likewise.
5867 * iconv/iconv.c (iconv): Likewise.
5868 * iconv/iconv_close.c: Likewise.
5869 * iconv/loop.c (SINGLE): Likewise.
5870 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5871 * include/atomic.h: Likewise.
5872 * inet/inet6_option.c (option_alloc): Likewise.
5873 * intl/bindtextdom.c (set_binding_values): Likewise.
5874 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5875 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5876 * intl/localealias.c (read_alias_file): Likewise.
5877 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5878 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5879 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5880 * libio/fmemopen.c (fmemopen): Likewise.
5881 * libio/iofgets.c (_IO_fgets): Likewise.
5882 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5883 * libio/iofgetws.c (fgetws): Likewise.
5884 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5885 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5886 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5887 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5888 * locale/findlocale.c (_nl_find_locale): Likewise.
5889 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5890 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5892 * locale/setlocale.c (setlocale): Likewise.
5893 * login/programs/pt_chown.c (main): Likewise.
5894 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5895 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5896 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5897 (mmap, mmap64, mremap, munmap): Likewise.
5898 * math/e_exp2l.c: Likewise.
5899 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5900 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5901 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5902 * math/s_catan.c (__catan): Likewise.
5903 * math/s_catanf.c (__catanf): Likewise.
5904 * math/s_catanh.c (__catanh): Likewise.
5905 * math/s_catanhf.c (__catanhf): Likewise.
5906 * math/s_catanhl.c (__catanhl): Likewise.
5907 * math/s_catanl.c (__catanl): Likewise.
5908 * math/s_ccosh.c (__ccosh): Likewise.
5909 * math/s_ccoshf.c (__ccoshf): Likewise.
5910 * math/s_ccoshl.c (__ccoshl): Likewise.
5911 * math/s_cexp.c (__cexp): Likewise.
5912 * math/s_cexpf.c (__cexpf): Likewise.
5913 * math/s_cexpl.c (__cexpl): Likewise.
5914 * math/s_clog10.c (__clog10): Likewise.
5915 * math/s_clog10f.c (__clog10f): Likewise.
5916 * math/s_clog10l.c (__clog10l): Likewise.
5917 * math/s_clog.c (__clog): Likewise.
5918 * math/s_clogf.c (__clogf): Likewise.
5919 * math/s_clogl.c (__clogl): Likewise.
5920 * math/s_csin.c (__csin): Likewise.
5921 * math/s_csinf.c (__csinf): Likewise.
5922 * math/s_csinh.c (__csinh): Likewise.
5923 * math/s_csinhf.c (__csinhf): Likewise.
5924 * math/s_csinhl.c (__csinhl): Likewise.
5925 * math/s_csinl.c (__csinl): Likewise.
5926 * math/s_csqrt.c (__csqrt): Likewise.
5927 * math/s_csqrtf.c (__csqrtf): Likewise.
5928 * math/s_csqrtl.c (__csqrtl): Likewise.
5929 * math/s_ctan.c (__ctan): Likewise.
5930 * math/s_ctanf.c (__ctanf): Likewise.
5931 * math/s_ctanh.c (__ctanh): Likewise.
5932 * math/s_ctanhf.c (__ctanhf): Likewise.
5933 * math/s_ctanhl.c (__ctanhl): Likewise.
5934 * math/s_ctanl.c (__ctanl): Likewise.
5935 * math/w_pow.c: Likewise.
5936 * math/w_powf.c: Likewise.
5937 * math/w_powl.c: Likewise.
5938 * math/w_scalb.c (sysv_scalb): Likewise.
5939 * math/w_scalbf.c (sysv_scalbf): Likewise.
5940 * math/w_scalbl.c (sysv_scalbl): Likewise.
5941 * misc/error.c (error_tail): Likewise.
5942 * misc/pselect.c (__pselect): Likewise.
5943 * nis/nis_callback.c (__nis_create_callback): Likewise.
5944 * nis/nis_call.c (__nisfind_server): Likewise.
5945 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5946 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5947 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5948 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5949 * nis/nis_lookup.c (nis_lookup): Likewise.
5950 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5951 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5952 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5953 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5954 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5955 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5956 * nis/nss_compat/compat-initgroups.c (add_group)
5957 (internal_getgrent_r): Likewise.
5958 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5959 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5960 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5961 (internal_getspnam_r): Likewise.
5962 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5963 (_nss_nis_getaliasbyname_r): Likewise.
5964 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5965 (_nss_nis_getntohost_r): Likewise.
5966 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5967 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5968 (_nss_nis_getgrgid_r): Likewise.
5969 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5970 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5971 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5972 (_nss_nis_gethostbyname4_r): Likewise.
5973 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5974 (initgroups_netid): Likewise.
5975 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5976 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5977 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5978 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5979 (_nss_nis_getprotobynumber_r): Likewise.
5980 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5981 (_nss_nis_getsecretkey): Likewise.
5982 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5983 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5984 (_nss_nis_getpwuid_r): Likewise.
5985 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5986 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5987 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5988 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5989 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5990 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5991 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5993 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5994 (_nss_nisplus_getntohost_r): Likewise.
5995 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5996 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5997 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5998 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6000 * nis/nss_nisplus/nisplus-initgroups.c
6001 (_nss_nisplus_initgroups_dyn): Likewise.
6002 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6003 (_nss_nisplus_getnetbyaddr_r): Likewise.
6004 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6005 (_nss_nisplus_getprotobynumber_r): Likewise.
6006 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6007 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6008 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6010 * nis/nss_nisplus/nisplus-service.c
6011 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6012 (_nss_nisplus_getservbyport_r): Likewise.
6013 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6014 (_nss_nisplus_getspnam_r): Likewise.
6015 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6017 * nscd/aicache.c (addhstaiX): Likewise.
6018 * nscd/cache.c (cache_search, prune_cache): Likewise.
6019 * nscd/connections.c (register_traced_file, send_ro_fd)
6020 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6021 (main_loop_epoll): Likewise.
6022 * nscd/grpcache.c (addgrbyX): Likewise.
6023 * nscd/hstcache.c (addhstbyX): Likewise.
6024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6025 * nscd/mem.c (gc, mempool_alloc): Likewise.
6026 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6027 (addinnetgrX): Likewise.
6028 * nscd/nscd-client.h (__nscd_acquire_maplock)
6029 (__nscd_drop_map_ref): Likewise.
6030 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6031 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6032 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6034 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6035 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6036 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6037 (__nscd_get_map_ref): Likewise.
6038 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6039 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6041 * nscd/pwdcache.c (addpwbyX): Likewise.
6042 * nscd/selinux.c (preserve_capabilities): Likewise.
6043 * nscd/servicescache.c (addservbyX): Likewise.
6044 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6045 * posix/fnmatch.c (fnmatch): Likewise.
6046 * posix/getopt.c (_getopt_internal_r): Likewise.
6047 * posix/glob.c (glob, glob_in_dir): Likewise.
6048 * posix/wordexp.c (exec_comm_child): Likewise.
6049 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6050 (getanswer_r, gaih_getanswer_slice): Likewise.
6051 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6052 * resolv/res_init.c: Likewise.
6053 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6054 * resolv/res_query.c (__libc_res_nquery): Likewise.
6055 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6057 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6058 * stdio-common/perror.c (perror): Likewise.
6059 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6060 * stdio-common/tmpnam.c (tmpnam): Likewise.
6061 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6062 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6063 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6065 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6066 * stdlib/putenv.c (putenv): Likewise.
6067 * stdlib/setenv.c (__add_to_environ): Likewise.
6068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6069 * stdlib/strtol_l.c (INTERNAL): Likewise.
6070 * string/memmem.c (memmem): Likewise.
6071 * string/strerror.c (strerror): Likewise.
6072 * string/strnlen.c (__strnlen): Likewise.
6073 * string/test-memmem.c (simple_memmem): Likewise.
6074 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6075 * sunrpc/pm_getport.c (__get_socket): Likewise.
6076 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6077 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6078 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6079 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6081 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6082 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6083 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6084 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6085 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6086 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6088 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6090 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6091 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6093 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6094 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6096 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6097 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6098 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6099 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6100 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6101 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6107 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6109 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6110 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6111 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6112 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6113 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6122 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6124 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6126 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6128 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6130 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6131 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6132 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6134 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6135 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6136 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6137 * sysdeps/posix/sleep.c: Likewise.
6138 * sysdeps/posix/tempname.c: Likewise.
6139 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6140 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6142 * sysdeps/powerpc/powerpc32/dl-machine.h
6143 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6144 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6145 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6146 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6147 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6149 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6150 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6151 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6152 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6153 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6154 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6155 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6156 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6157 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6158 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6160 (elf_machine_lazy_rel): Likewise.
6161 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6163 (elf_machine_lazy_rel): Likewise.
6164 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6165 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6166 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6167 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6168 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6169 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6170 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6173 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6174 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6175 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6176 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6177 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6178 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6179 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6180 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6181 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6182 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6183 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6185 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6186 (__posix_fallocate64_l64): Likewise.
6187 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6188 (posix_fallocate): Likewise.
6189 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6191 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6192 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6193 (getifaddrs_internal): Likewise.
6194 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6195 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6196 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6197 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6198 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6199 (__posix_fallocate64_l64): Likewise.
6200 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6202 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6204 (__get_clockfreq): Likewise.
6205 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6206 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6207 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6210 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6211 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6212 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6214 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6215 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6216 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6217 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6219 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6220 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6222 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6223 (posix_fallocate): Likewise.
6224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6225 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6226 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6227 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6228 (elf_machine_rela, elf_machine_rela_relative)
6229 (elf_machine_lazy_rel): Likewise.
6230 * time/asctime.c (asctime_internal): Likewise.
6231 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6232 * time/tzset.c (__tzset_parse_tz): Likewise.
6233 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6234 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6235 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6236 * wcsmbs/wcsmbsload.h: Likewise.
6239 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6241 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6242 (arena_get2): Remove THREAD_STATS conditionals.
6243 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6244 (__malloc_stats, int): Likewise.
6246 2014-02-08 Mike Frysinger <vapier@gentoo.org>
6248 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6249 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6251 * manual/setjmp.texi: Fix typos/grammar errors.
6253 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6254 Only return early when n is <= 0. Delete unused return statement.
6256 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6257 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6258 * debug/tst-longjmp_chk3.c: New file.
6260 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6261 (test_main): Replace code with set_fortify_handler call.
6262 * debug/test-strcpy_chk.c: Likewise.
6263 * debug/tst-chk1.c: Likewise.
6264 * debug/tst-longjmp_chk.c: Likewise.
6265 * test-skeleton.c: Include fcntl.h & paths.h
6266 (set_fortify_handler): Define.
6268 * debug/tst-longjmp_chk.c: Add header comment and include
6270 (do_test): Mark static.
6271 (TEST_FUNCTION): Define.
6273 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6274 (IP_PMTUDISC_INTERFACE): Likewise.
6275 (IP_MULTICAST_IF): Likewise.
6276 (IP_MULTICAST_TTL): Likewise.
6277 (IP_MULTICAST_LOOP): Likewise.
6278 (IP_ADD_MEMBERSHIP): Likewise.
6279 (IP_DROP_MEMBERSHIP): Likewise.
6280 (IP_UNBLOCK_SOURCE): Likewise.
6281 (IP_BLOCK_SOURCE): Likewise.
6282 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6283 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6284 (IP_MSFILTER): Likewise.
6285 (MCAST_JOIN_GROUP): Likewise.
6286 (MCAST_BLOCK_SOURCE): Likewise.
6287 (MCAST_UNBLOCK_SOURCE): Likewise.
6288 (MCAST_LEAVE_GROUP): Likewise.
6289 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6290 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6291 (MCAST_MSFILTER): Likewise.
6292 (IP_MULTICAST_ALL): Likewise.
6293 (IP_UNICAST_IF): Likewise.
6295 * timezone/Makefile: Delete $(have-ksh) check.
6296 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6297 * timezone/tzselect.ksh: Add +x mode bits.
6299 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6300 (ANON_INODE_FS_MAGIC): Likewise.
6301 (BDEVFS_MAGIC): Likewise.
6302 (BINFMTFS_MAGIC): Likewise.
6303 (BTRFS_TEST_MAGIC): Likewise.
6304 (CRAMFS_MAGIC_WEND): Likewise.
6305 (DEBUGFS_MAGIC): Likewise.
6306 (ECRYPTFS_SUPER_MAGIC): Likewise.
6307 (EXT3_SUPER_MAGIC): Likewise.
6308 (EXT4_SUPER_MAGIC): Likewise.
6309 (FUTEXFS_SUPER_MAGIC): Likewise.
6310 (HOSTFS_SUPER_MAGIC): Likewise.
6311 (HUGETLBFS_MAGIC): Likewise.
6312 (MINIX3_SUPER_MAGIC): Likewise.
6313 (MTD_INODE_FS_MAGIC): Likewise.
6314 (NILFS_SUPER_MAGIC): Likewise.
6315 (OPENPROM_SUPER_MAGIC): Likewise.
6316 (PIPEFS_MAGIC): Likewise.
6317 (PSTOREFS_MAGIC): Likewise.
6318 (QNX6_SUPER_MAGIC): Likewise.
6319 (RAMFS_MAGIC): Likewise.
6320 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6321 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6322 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6323 (SECURITYFS_MAGIC): Likewise.
6324 (SELINUX_MAGIC): Likewise.
6325 (SMACK_MAGIC): Likewise.
6326 (SOCKFS_MAGIC): Likewise.
6327 (SQUASHFS_MAGIC): Likewise.
6328 (STACK_END_MAGIC): Likewise.
6329 (TMPFS_MAGIC): Likewise.
6330 (USBDEVICE_SUPER_MAGIC): Likewise.
6331 (V9FS_MAGIC): Likewise.
6332 (XENFS_SUPER_MAGIC): Likewise.
6333 (CRAMFS_MAGIC): Fix typo in comment.
6334 (EXT2_SUPER_MAGIC): Update comment.
6335 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6337 2014-02-08 Joseph Myers <joseph@codesourcery.com>
6339 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6340 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6341 * sysdeps/unix/sysv/linux/arm: Move directory from
6342 ports/sysdeps/unix/sysv/linux/arm.
6343 * README: Update listing for arm-*-linux-gnueabi.
6345 * README: Remove mention of am33.
6347 2014-02-07 Roland McGrath <roland@hack.frob.com>
6349 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6350 than the comma operator, to avoid "rhs of comma has no effect"
6352 (__sigfillset, __sigandset, __sigorset): Likewise.
6353 * include/signal.h (__sigemptyset): Likewise.
6354 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6356 2014-02-07 Allan McRae <allan@archlinux.org>
6358 * version.h (RELEASE): Set to "development".
6359 (VERSION): Set to "2.19.90"
6360 * NEWS: Add 2.20 section.
6362 2014-02-06 Carlos O'Donell <carlos@redhat.com>
6365 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6367 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6369 * manual/contrib.texi: Update entry for Carlos O'Donell,
6370 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6372 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
6374 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6376 * sysdeps/unix/sysv/linux/kernel-features.h
6377 [__LINUX_KERNEL_VERSION >= 0x020621]
6378 (__ASSUME_PROC_PID_TASK_COMM): Define.
6380 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6383 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6384 conversion when destination buffer does not have enough space.
6385 * libio/tst-ftell-partial-wide.c: New test case.
6386 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6388 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6389 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6390 Leonard and Allan McRae.
6392 2014-02-04 David S. Miller <davem@davemloft.net>
6394 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6397 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6426 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6428 * nptl/shlib-versions: Change powerpc*le start to 2.17.
6429 * shlib-versions: Likewise.
6431 2014-02-04 Roland McGrath <roland@hack.frob.com>
6432 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6434 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6435 (abilist-pattern): New variable, set to %-le.abilist.
6437 * Makerules (abilist-pattern): New variable.
6438 (vpath): Use $(abilist-pattern) in place of %.abilist.
6439 (check-abi-% pattern rule): Likewise.
6440 (check-abi, update-abi): Likewise.
6442 2014-02-04 Eric Wong <normalperson@yhbt.net>
6444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6446 2014-02-03 Carlos O'Donell <carlos@redhat.com>
6448 * manual/startup.texi: Add next, previous, and top entries for
6449 the `Program Arguments' and `Environment Variables' nodes.
6451 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
6453 * manual/macros.texi: Add comments before MTASC-safety macros.
6455 * manual/users.texi: Document MTASC-safety properties.
6457 * manual/threads.texi (pthread_key_create, pthread_key_delete)
6458 (pthread_getspecific, pthread_setspecific): Format with
6459 @deftypefun, and add @safety note.
6460 * manual/signal.texi: Move comments that analyze the above
6461 functions to their home place.
6463 2014-02-03 Allan McRae <allan@archlinux.org>
6465 * po/sl.po: Update Slovenian translation from translation project.
6467 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
6469 * manual/time.texi (timegm): Add missing blank after @c.
6470 Reported by Joseph Myers <joseph@codesourcery.com>.
6472 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
6474 * manual/check-safety.sh: New.
6475 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6477 * manual/terminal.texi: Document MTASC-safety properties.
6479 * manual/filesys.texi: Document MTASC-safety properties.
6481 * manual/errno.texi: Document MTASC-safety properties.
6483 * manual/intro.texi: Document safety identifiers and
6486 * manual/string.texi (wcstok): Fix prototype.
6487 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6489 * manual/time.texi: Document MTASC-safety properties.
6491 * manual/string.texi: Document MTASC-safety properties.
6493 * manual/threads.texi: Document MTASC-safety properties.
6495 * manual/stdio.texi: Document MTASC-safety properties.
6497 * manual/syslog.texi: Document MTASC-safety properties.
6499 * manual/sysinfo.texi: Document MTASC-safety properties.
6501 * manual/startup.texi: Document MTASC-safety properties.
6503 * manual/socket.texi: Document MTASC-safety properties.
6505 * manual/signal.texi: Document MTASC-safety properties.
6507 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6509 * manual/setjmp.texi: Document MTASC-safety properties.
6511 * manual/search.texi: Document MTASC-safety properties.
6513 * manual/resource.texi: Document MTASC-safety properties.
6515 * manual/process.texi: Document MTASC-safety properties.
6517 * manual/platform.texi: Document MTASC-safety properties.
6519 * manual/pipe.texi: Document MTASC-safety properties.
6521 * manual/pattern.texi: Document MTASC-safety properties.
6523 * manual/message.texi: Document MTASC-safety properties.
6526 * manual/memory.texi: Document MTASC-safety properties.
6528 * manual/math.texi: Document MTASC-safety properties.
6530 * manual/locale.texi: Document MTASC-safety properties.
6532 * manual/llio.texi: Document MTASC-safety properties.
6534 * manual/libdl.texi: New.
6536 * manual/lang.texi: Document MTASC-safety properties.
6538 * manual/job.texi: Document MTASC-safety properties.
6540 * manual/getopt.texi: Document MTASC-safety properties.
6542 * manual/ctype.texi: Document MTASC-safety properties.
6544 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6547 * csu/libc-tls.c (static_map): Remove variable.
6548 (__libc_setup_tls): Use main executable's link map for TLS data.
6549 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6550 casing for LM_ID_BASE and GL(dl_nns).
6551 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6552 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6553 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6554 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6555 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6557 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6560 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
6562 * manual/debug.texi: Document MTASC-safety properties.
6564 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6567 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6568 of __x86_64__ when disabling x87 inline functions.
6570 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
6572 * manual/charset.texi: Document MTASC-safety properties.
6574 * manual/crypt.texi: Document MTASC-safety properties.
6576 * manual/conf.texi: Document MTASC-safety properties.
6578 * manual/arith.texi: Document MTASC-safety properties.
6580 * manual/argp.texi: Document MTASC-safety properties.
6582 * manual/macros.texi: Introduce macros to document multi
6583 thread, asynchronous signal and asynchronous cancellation
6585 * manual/intro.texi: Introduce the properties themselves.
6587 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6589 * sysdeps/sh/sh4/Makefile: New file.
6591 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6593 * math/gen-libm-test.pl ($srcdir): New variable.
6594 ($auto_input): Use it.
6596 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6599 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6600 access beyond array bounds when parsing netgroups file.
6602 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6603 the old buffer before realloc.
6605 2014-01-27 Allan McRae <allan@archlinux.org>
6607 * po/fr.po: Update French translation from translation project.
6609 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6611 * sysdeps/sh/libm-test-ulps: Regenerate.
6613 2014-01-24 David S. Miller <davem@davemloft.net>
6615 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6617 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6619 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6620 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6622 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6625 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6626 string pointers after reallocation.
6628 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6630 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6631 __SH4A__ instead of __SH_FPU_ANY__.
6633 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6635 * sysdeps/sh/fpu_control.h: New file.
6636 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6637 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6638 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6639 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6640 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6641 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6642 * sysdeps/sh/sys/ucontext.h: Remove.
6643 * sysdeps/sh/sys: Remove directory.
6645 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6647 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6648 s390/sys/ucontext.h.
6649 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6650 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6652 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6655 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6657 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6661 Adjust the vDSO correctly for internal calls.
6662 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6664 2014-01-20 Allan McRae <allan@archlinux.org>
6666 * po/ca.po: Update Catalan translation from translation project.
6668 2014-01-16 Mike Frysinger <vapier@gentoo.org>
6670 * sysdeps/s390/sotruss-lib.c: New file.
6672 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6675 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6676 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6677 local calls issues by not having a PLT stub required for IFUNC calls.
6678 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6680 2014-01-16 Joseph Myers <joseph@codesourcery.com>
6682 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6683 * math/test-fpucw-static.c: Likewise.
6685 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6690 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6692 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6693 implementation for powerpc.
6695 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
6698 * sysdeps/posix/system.c (__libc_system): Do not enable
6699 asynchronous cancellation.
6701 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6704 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6705 handling only for numbers special also in the IEEE case.
6707 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6709 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6711 2014-01-11 Allan McRae <allan@archlinux.org>
6713 * po/bg.po: Update Bulgarian translation from translation project.
6715 * po/de.po: Update German translation from translation project.
6717 2014-01-10 Roland McGrath <roland@hack.frob.com>
6719 * sysdeps/generic/gcc-compat.h: New file.
6721 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6723 * benchtests/asin-inputs: Correct slow inputs.
6724 * benchtests/acos-inputs: Likewise.
6726 2014-01-10 Allan McRae <allan@archlinux.org>
6728 * po:sv.po: Update Swedish translation from translation project.
6730 * po/vi.po: Update Vietnamese translation from translation project.
6732 * po/eo.po: Update Esperanto translation from translation project.
6734 * po/cs.po: Update Czech translation from translation project.
6736 * po/nl.po: Update Dutch translation from translation project.
6738 * po/pl.po: Update Polish translation from translation project.
6740 * po/ru.po: Update Russian translation from translation project.
6742 * po/uk.po: Update Ukrainian translation from translation project.
6744 2014-01-08 Brooks Moses <bmoses@google.com>
6746 * elf/dl-load.c: Fix comment typo.
6748 2014-01-08 Carlos O'Donell <carlos@redhat.com>
6750 * po/header.pot: Rename to...
6751 * po/pot.header: ... this.
6752 * po/Makefile: Use pot.header.
6754 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6755 Maxim Kuvyrkov <maxim@kugelworks.com>
6758 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6759 SRC and DEST against LEN.
6761 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6764 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6766 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6768 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6772 2014-01-08 Joseph Myers <joseph@codesourcery.com>
6775 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6776 for large positive arguments.
6778 2014-01-07 Joseph Myers <joseph@codesourcery.com>
6780 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6782 * math/auto-libm-test-in: Mark various tests with
6783 xfail-rounding:ldbl-128ibm.
6784 * math/auto-libm-test-out: Regenerated.
6787 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6788 Increase overflow threshold.
6790 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
6793 * stdio-common/vfprintf.c: Check for integer overflow.
6795 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6797 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6798 the first argument and return value of __tls_get_addr_internal.
6800 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6802 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6803 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6805 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6807 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6808 * sysdeps/s390/rtld-global-offsets.sym: New file.
6809 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6811 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6812 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6813 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6815 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6816 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6822 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6823 halfs of GPRs for high_gprs contexts.
6824 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6825 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6827 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6829 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6831 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6832 for high GPRs (uc_high_gprs) and for future extensions
6834 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6835 for future extensions (__reserved).
6836 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6838 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6839 SC_HIGHGPRS offset definition.
6840 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6841 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6843 * Versions.def: Add GLIBC_2.19 for libpthread.
6844 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6845 siglongjmp for libpthread with GLIBC_2.19 symver.
6846 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6847 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6848 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6849 * sysdeps/s390/__longjmp.c: New file.
6850 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6851 * sysdeps/s390/longjmp.c: New file.
6852 * sysdeps/s390/setjmp.S: New file.
6853 * sysdeps/s390/sigjmp.S: New file.
6854 * sysdeps/s390/v1-longjmp.c: New file.
6855 * sysdeps/s390/v1-setjmp.h: New file.
6856 * sysdeps/s390/v1-sigjmp.c: New file.
6857 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6858 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6860 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6861 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6862 versioned symbols for ____longjmp_chk.
6863 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6873 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6874 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6875 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6876 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6877 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6878 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6879 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6880 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6881 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6882 * sysdeps/s390/rtld-__longjmp.c: New file.
6883 * sysdeps/s390/rtld-setjmp.S: New file.
6885 2014-01-06 Joseph Myers <joseph@codesourcery.com>
6888 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6889 Return -__logl (x) for small positive arguments without evaluating
6892 2014-01-06 Mike Frysinger <vapier@gentoo.org>
6894 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6896 (__ptrace_peeksiginfo_args): ... this.
6897 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6898 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6901 2014-01-06 Allan McRae <allan@archlinux.org>
6903 * inet/netinet/in.h: Fix typo in comment.
6905 2014-01-05 Andreas Jaeger <aj@suse.de>
6907 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 2014-01-05 Allan McRae <allan@archlinux.org>
6911 * po/libc.pot: Regenerated.
6913 * malloc/memusagestat.c: Fix gettext call formatting.
6915 2014-01-04 Sami Kerola <kerolasa@iki.fi>
6917 * nscd/nscd.c: Improve usage() output.
6919 2014-01-04 Mike Frysinger <vapier@gentoo.org>
6921 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6922 * sysdeps/unix/sysv/linux/configure: Regenerated.
6923 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6924 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6926 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6929 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6930 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6932 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6935 extra tokens at end of #undef directive.
6936 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6937 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6938 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6940 2014-01-03 Joseph Myers <joseph@codesourcery.com>
6942 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6944 * math/auto-libm-test-in: Mark various tests with
6945 xfail-rounding:ldbl-128ibm.
6946 * math/auto-libm-test-out: Regenerated.
6948 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6951 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6952 numbers with subnormal high part when calculating exponent.
6955 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6959 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6961 (__ieee754_acoshl): Use __log1pl not __log1p.
6963 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
6965 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6966 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6967 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6968 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6969 (reused_arena, arena_get2): Convert to GNU style.
6970 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6971 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6972 (memalign_check, __malloc_set_state): Likewise.
6973 * malloc/mallocbug.c (main): Likewise.
6974 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6975 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6976 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6977 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6978 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6979 (__posix_memalign, malloc_info): Likewise.
6980 * malloc/malloc.h: Likewise.
6981 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6982 (mallochook, memalignhook, reallochook, mabort): Likewise.
6983 * malloc/mcheck.h: Likewise.
6984 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6985 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6986 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6987 * malloc/morecore.c (__default_morecore): Likewise.
6988 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6989 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6990 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6991 (print_and_abort): Likewise.
6992 * malloc/obstack.h: Likewise.
6993 * malloc/set-freeres.c (__libc_freeres): Likewise.
6994 * malloc/tst-mallocstate.c (main): Likewise.
6995 * malloc/tst-mtrace.c (main): Likewise.
6996 * malloc/tst-realloc.c (do_test): Likewise.
6998 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7001 * nscd/netgroupcache.c (do_notfound): New function.
7002 (addgetnetgrentX): Use it.
7005 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7006 NSS_STATUS_NOTFOUND.
7008 2014-01-01 Joseph Myers <joseph@codesourcery.com>
7010 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7013 2014-01-01 Allan McRae <allan@archlinux.org>
7015 * scripts/update-copyrights: Update configure input file suffix.
7017 * NEWS: Update copyright year.
7018 * catgets/gencat.c: Likewise.
7019 * csu/version.c: Likewise.
7020 * debug/catchsegv.sh: Likewise.
7021 * debug/pcprofiledump.c: Likewise.
7022 * debug/xtrace.sh: Likewise.
7023 * elf/ldconfig.c: Likewise.
7024 * elf/ldd.bash.in: Likewise.
7025 * elf/pldd.c: Likewise.
7026 * elf/sotruss.ksh: Likewise.
7027 * elf/sprof.c: Likewise.
7028 * iconv/iconv_prog.c: Likewise.
7029 * iconv/iconvconfig.c: Likewise.
7030 * locale/programs/locale.c: Likewise.
7031 * locale/programs/localedef.c: Likewise.
7032 * login/programs/pt_chown.c: Likewise.
7033 * malloc/memusage.sh: Likewise.
7034 * malloc/memusagestat.c: Likewise.
7035 * malloc/mtrace.pl: Likewise.
7036 * manual/libc.texinfo: Likewise.
7037 * nscd/nscd.c: Likewise.
7038 * nss/getent.c: Likewise.
7039 * nss/makedb.c: Likewise.
7040 * posix/getconf.c: Likewise.
7041 * scripts/test-installation.pl: Likewise.
7043 * All files with FSF copyright notices: Update copyright dates
7044 using scripts/update-copyrights.
7045 * intl/plural.c: Regenerated.
7046 * locale/programs/charmap-kw.h: Likewise.
7047 * locale/programs/locfile-kw.h: Likewise.
7049 2013-12-31 Mike Frysinger <vapier@gentoo.org>
7051 * sysdeps/unix/sysv/linux/configure: Regenerated.
7052 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7053 the linux/fanotify.h header.
7054 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7055 HAVE_LINUX_FANOTIFY_H is defined.
7057 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7059 * benchtests/cos-inputs: New inputs.
7060 * benchtests/sin-inputs: Likewise.
7062 * benchtests/atan-inputs: New inputs. Fix name of multiple
7063 precision fallback inputs.
7065 * benchtests/atanh-inputs: New inputs.
7066 * benchtests/tanh-inputs: Likewise.
7068 * benchtests/acosh-inputs: New inputs.
7069 * benchtests/asinh-inputs: Likewise.
7071 * benchtests/cosh-inputs: New inputs.
7072 * benchtests/sinh-inputs: Likewise.
7074 * benchtests/acos-inputs: Add more inputs.
7075 * benchtests/asin-inputs: Likewise.
7077 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
7080 * manual/arith.texi: Fix spelling.
7081 * manual/charset.texi: Likewise.
7082 * manual/errno.texi: Likewise.
7083 * manual/filesys.texi: Likewise.
7084 * manual/lang.texi: Likewise.
7085 * manual/llio.texi: Likewise.
7086 * manual/locale.texi: Likewise.
7087 * manual/message.texi: Likewise.
7088 * manual/resource.texi: Likewise.
7089 * manual/search.texi: Likewise.
7090 * manual/setjmp.texi: Likewise.
7091 * manual/stdio.texi: Likewise.
7092 * manual/string.texi: Likewise.
7093 * manual/sysinfo.texi: Likewise.
7094 * manual/time.texi: Likewise.
7096 2013-12-27 Carlos O'Donell <carlos@redhat.com>
7098 * po/sl.po: New file.
7100 2013-12-27 Mike Frysinger <vapier@gentoo.org>
7102 * .gitignore: Add core/.gdbinit/.gdb_history.
7104 2013-12-27 Allan McRae <allan@archlinux.org>
7107 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7108 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7110 2013-12-24 Brooks Moses <bmoses@google.com>
7112 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7113 all compilers that claim C++98 compliance, not just GCC.
7114 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7117 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7119 * NEWS: Restore accidentally deleted bug-fix entries.
7121 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7122 Ondřej Bílka <neleai@seznam.cz>
7125 * malloc/malloc.c (_int_free): Perform sanity check only if we
7128 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
7131 * manual/stdio.texi (String Input Conversions): Clarify that character
7132 classes are not supported.
7134 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7138 2013-12-22 Joseph Myers <joseph@codesourcery.com>
7141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7142 Calculate results for small negative arguments directly rather
7143 than using reflection formula with special underflow handling.
7145 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7146 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7147 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7148 (fchflags): Likewise.
7150 (setlogin): Likewise.
7151 (sigaltstack): Likewise.
7154 (sigsetmask): Likewise.
7156 (waitpid): Likewise.
7157 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7158 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7160 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7161 * sysdeps/unix/bsd/Makefile: ... here.
7162 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7163 * sysdeps/unix/bsd/Versions: ... here.
7164 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7165 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7166 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7167 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7168 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7169 * sysdeps/unix/bsd/sigblock.c: ... here.
7170 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7171 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7172 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7173 * sysdeps/unix/bsd/sigvec.c: ... here.
7174 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7175 * sysdeps/unix/bsd/tcdrain.c: ... here.
7176 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7177 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7178 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7179 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7180 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7181 * sysdeps/unix/bsd/wait.c: ... here.
7182 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7183 * sysdeps/unix/bsd/wait3.c: ... here.
7184 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7185 * sysdeps/unix/bsd/waitpid.c: ... here.
7187 2013-12-21 Joseph Myers <joseph@codesourcery.com>
7190 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7191 round-to-nearest for [!USE_AS_EXPM1L].
7192 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7193 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7194 more tests of exp and exp10. Expect some exp10 tests to miss
7195 exceptions or fail in directed rounding modes.
7196 * math/auto-libm-test-out: Regenerated.
7197 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7198 (exp10_test_tonearest): New function.
7199 (exp10_towardzero_test_data): New array.
7200 (exp10_test_towardzero): New function.
7201 (exp10_downward_test_data): New array.
7202 (exp10_test_downward): New function.
7203 (exp10_upward_test_data): New array.
7204 (exp10_test_upward): New function.
7205 (main): Call the new functions.
7206 * sysdeps/i386/fpu/libm-test-ulps: Update.
7207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7209 2013-12-20 Joseph Myers <joseph@codesourcery.com>
7211 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7212 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7213 * math/auto-libm-test-out: Regenerated.
7214 * math/libm-test.inc (acosh_test_data): Add more tests.
7215 (atanh_test_data): Likewise.
7216 (ceil_test_data): Likewise.
7217 (copysign_test_data): Likewise.
7218 * sysdeps/i386/fpu/libm-test-ulps: Update.
7219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221 * timezone/checktab.awk: Update from tzcode 2013i.
7222 * timezone/private.h: Likewise.
7223 * timezone/scheck.c: Likewise.
7224 * timezone/tzfile.h: Likewise.
7225 * timezone/tzselect.ksh: Likewise.
7226 * timezone/zdump.c: Likewise.
7227 * timezone/zic.c: Likewise.
7229 * math/auto-libm-test-in: Add tests of cpow.
7230 * math/auto-libm-test-out: Regenerated.
7231 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7232 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7234 (func_calc_desc): Add mpc_cc_c union field.
7235 (test_functions): Add cpow.
7236 (special_fill_2pi): New function.
7237 (special_real_inputs): Add 2pi.
7238 (calc_generic_results): Handle mpc_cc_c.
7239 * sysdeps/i386/fpu/libm-test-ulps: Update.
7240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7242 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7243 csqrt, ctan and ctanh.
7244 * math/auto-libm-test-out: Regenerated.
7245 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7246 (TEST_COND_x86): Likewise.
7247 (ccos_test_data): Use AUTO_TESTS_c_c.
7248 (ccosh_test_data): Likewise.
7249 (cexp_test_data): Likewise.
7250 (clog_test_data): Likewise.
7251 (csqrt_test_data): Likewise.
7252 (ctan_test_data): Likewise.
7253 (ctan_tonearest_test_data): Likewise.
7254 (ctan_towardzero_test_data): Likewise.
7255 (ctan_downward_test_data): Likewise.
7256 (ctan_upward_test_data): Likewise.
7257 (ctanh_test_data): Likewise.
7258 (ctanh_tonearest_test_data): Likewise.
7259 (ctanh_towardzero_test_data): Likewise.
7260 (ctanh_downward_test_data): Likewise.
7261 (ctanh_upward_test_data): Likewise.
7262 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7264 (func_calc_desc): Add mpc_c_c union field.
7265 (FUNC_mpc_c_c): New macro.
7266 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7267 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7269 (special_fill_min_subnorm_p120): New function.
7270 (special_real_inputs): Add min_subnorm_p120.
7271 (calc_generic_results): Handle mpc_c_c.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7275 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7277 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7278 (do_sin_slow): New functions.
7279 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7280 (cslow2, csloww1, csloww2): Use the new functions.
7282 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7283 Use M to change sign of result instead of X. Assume X is
7285 (csloww1): Likewise.
7289 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7294 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7296 (sloww1): Don't adjust sign of DX.
7297 (csloww1): Likewise.
7298 (sloww2): Use X directly and don't adjust sign of DX.
7299 (csloww2): Likewise.
7301 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7303 * math/auto-libm-test-in: Add tests of cabs and carg.
7304 * math/auto-libm-test-out: Regenerated.
7305 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7306 (carg_test_data): Likewise.
7307 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7309 (func_calc_desc): Add mpc_c_f union field.
7310 (test_functions): Add cabs and carg.
7311 (calc_generic_results): Handle mpc_c_f.
7313 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7314 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7315 as a macro and a compat symbol.
7316 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7317 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7318 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7319 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7320 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7321 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7323 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7325 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7327 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7329 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7331 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7333 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7334 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7337 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7341 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7343 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7344 trailing whitespace removed.
7345 * scripts/config.guess: Update to version 2013-11-29.
7346 * scripts/config.sub: Update to version 2013-10-01.
7348 * math/auto-libm-test-in: Add tests of sincos.
7349 * math/auto-libm-test-out: Regenerated.
7350 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7351 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7353 (func_calc_desc): Add mpfr_f_11 union field.
7354 (test_functions): Add sincos.
7355 (calc_generic_results): Handle mpfr_f_11.
7356 * sysdeps/i386/fpu/libm-test-ulps: Update.
7357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7359 2013-12-19 Andreas Schwab <schwab@suse.de>
7361 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7363 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7364 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7365 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7367 2013-12-19 Joseph Myers <joseph@codesourcery.com>
7369 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7370 * sysdeps/i386/fpu/libm-test-ulps: Update.
7371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7375 round-to-nearest mode when using frndint.
7376 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7377 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7378 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7380 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7382 * math/auto-libm-test-out: Regenerated.
7383 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7384 (TEST_COND_x86): Likewise.
7385 (expm1_tonearest_test_data): New array.
7386 (expm1_test_tonearest): New function.
7387 (expm1_towardzero_test_data): New array.
7388 (expm1_test_towardzero): New function.
7389 (expm1_downward_test_data): New array.
7390 (expm1_test_downward): New function.
7391 (expm1_upward_test_data): New array.
7392 (expm1_test_upward): New function.
7393 (main): Run the new test functions.
7394 * sysdeps/i386/fpu/libm-test-ulps: Update.
7395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7397 * include/features.h: Update comment documenting feature test
7398 macros. Mention _DEFAULT_SOURCE in comment.
7399 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7400 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7401 _BSD_SOURCE and _SVID_SOURCE.
7402 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7403 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7404 !_SVID_SOURCE]: Likewise.
7405 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7406 (__USE_POSIX_IMPLICITLY): Define.
7407 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7408 (_POSIX_SOURCE): Undefine and redefine.
7409 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7410 (_POSIX_C_SOURCE): Likewise.
7411 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7412 (Feature Test Macros): Update documentation of default features.
7414 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7416 * benchtests/Makefile: Add bench-strtok.
7417 * benchtests/bench-strtok.c: New file: strtok benchtest.
7419 2013-12-19 Allan McRae <allan@archlinux.org>
7421 * manual/install.texi: Suppress menu for plain text output.
7422 * INSTALL: Regenerated.
7424 2013-12-18 Brooks Moses <bmoses@google.com>
7427 * misc/getauxval.c: Include errno.h.
7428 (__getauxval): Set errno to ENOENT if the requested type is not
7430 * misc/sys/auxv.h (getauxval): Document that it may set errno;
7431 don't declare with __attribute_const__.
7432 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7433 * manual/startup.texi: Document that getauxval sets errno.
7435 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7437 * math/auto-libm-test-in: Add tests of jn and yn.
7438 * math/auto-libm-test-out: Regenerated.
7439 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7440 (yn_test_data): Likewise.
7441 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7443 (func_calc_desc): Add mpfr_if_f union field.
7444 (FUNC_mpfr_if_f): New macro.
7445 (test_functions): Add jn and yn.
7446 (calc_generic_results): Assert type of second input for
7447 mpfr_ff_f. Handle mpfr_if_f.
7448 (output_for_one_input_case): Disable all checking for arguments
7449 fitting floating-point types in case of an integer argument.
7450 * sysdeps/i386/fpu/libm-test-ulps: Update.
7451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7454 Don't expect fegetround reference in libm.so.
7456 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7458 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7459 $(config-cflags-nofma).
7461 2013-12-18 Joseph Myers <joseph@codesourcery.com>
7463 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7464 * math/auto-libm-test-out: Regenerated.
7467 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7468 to determine exponent and adjust argument to have exponent of -1.
7469 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7471 * math/auto-libm-test-out: Regenerated.
7472 * sysdeps/i386/fpu/libm-test-ulps: Update.
7473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
7477 * manual/probes.texi: Remove cases when per-thread arenas are
7480 2013-12-18 Andreas Schwab <schwab@suse.de>
7482 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7483 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7484 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7485 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7486 * sysdeps/i386/i686/multiarch/Makefile: Update.
7487 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7489 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7492 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7494 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7497 Support TZ transition times < 00:00:00.
7498 This is needed for version-3 tz-format files; it supports time
7499 stamps past 2037 for America/Godthab (the only entry in the tz
7500 database for which this change is relevant).
7501 * manual/time.texi (TZ Variable): Document transition times
7502 from -167:59:59 through -00:00:01.
7503 * time/tzset.c (tz_rule): Time of day is now signed.
7504 (__tzset_parse_tz): Parse negative time of day.
7506 Document TZ transition times >= 25:00:00.
7507 * manual/time.texi (TZ Variable): Document transition times from
7508 25:00:00 through 167:59:59. These are already supported, and this
7509 support will help with version-3 tz-format files.
7511 * manual/time.texi (TZ Variable): Modernize North America example
7512 to reflect current (i.e., 2007-and-later) daylight saving rules.
7514 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7516 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7518 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7519 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7520 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7522 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7523 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7524 * sysdeps/unix/bsd/clock.c: Likewise.
7525 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7526 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7527 * sysdeps/unix/bsd/init-posix.c: Likewise.
7528 * sysdeps/unix/bsd/poll.c: Likewise.
7529 * sysdeps/unix/bsd/ptsname.c: Likewise.
7530 * sysdeps/unix/bsd/seekdir.c: Likewise.
7531 * sysdeps/unix/bsd/setegid.c: Likewise.
7532 * sysdeps/unix/bsd/seteuid.c: Likewise.
7533 * sysdeps/unix/bsd/setgid.c: Likewise.
7534 * sysdeps/unix/bsd/setrgid.c: Likewise.
7535 * sysdeps/unix/bsd/setruid.c: Likewise.
7536 * sysdeps/unix/bsd/setsid.c: Likewise.
7537 * sysdeps/unix/bsd/setuid.c: Likewise.
7538 * sysdeps/unix/bsd/sigaction.c: Likewise.
7539 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7540 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7541 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7542 * sysdeps/unix/bsd/telldir.c: Likewise.
7543 * sysdeps/unix/bsd/times.c: Likewise.
7544 * sysdeps/unix/bsd/usleep.c: Likewise.
7546 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7547 ($(objpfx)libbsd-compat.a): Remove rule.
7549 * include/features.h (__FAVOR_BSD): Do not define.
7550 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7551 features conflicting with POSIX.
7552 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7553 (_BSD_SOURCE): Remove description of not being a subset of other
7554 feature test macros.
7555 * manual/job.texi (getpgrp): Do not document BSD version.
7556 (getpgid): Do not document by reference to BSD getpgrp.
7557 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7558 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7559 * signal/signal.h [__FAVOR_BSD]: Likewise.
7560 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7561 instead of making contents conditional on [__FAVOR_BSD].
7562 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7564 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7568 2013-12-17 Joseph Myers <joseph@codesourcery.com>
7571 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7572 values below 2**-450, not 2**-500.
7573 * math/auto-libm-test-in: Don't allow spurious underflow from
7575 * math/auto-libm-test-out: Regenerated.
7579 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7580 values of ha and hb and sort them after adjusting subnormal
7582 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7584 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7585 values of ea and eb and sort them after adjusting subnormal
7587 * math/auto-libm-test-in: Do not expect some hypot tests of
7588 subnormals to fail. Add more hypot tests.
7589 * math/auto-libm-test-out: Regenerated.
7591 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7594 * sysdeps/sh/s_fma.c: New file.
7595 * sysdeps/sh/s_fmaf.c: New file.
7596 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7598 * sysdeps/sh/Implies: Add sh/soft-fp.
7600 2013-12-16 Roland McGrath <roland@hack.frob.com>
7602 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7603 level of indirection to members `objname', `errstring', `malloced'.
7604 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7605 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7606 it as the __longjmp argument (just pass 1 instead).
7607 (_dl_catch_error): Initialize C with argument pointers and address of
7608 volatile local ERRCODE rather than copying values out of C at return.
7610 2013-12-16 Joseph Myers <joseph@codesourcery.com>
7612 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7613 * math/auto-libm-test-out: Regenerated.
7614 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7615 (hypot_test_data): Likewise.
7616 (pow_test_data): Likewise.
7617 (pow_tonearest_test_data): Likewise.
7618 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7620 (func_calc_desc): Add mpfr_ff_f union field.
7621 (FUNC_mpfr_ff_f): New macro.
7622 (test_functions): Add atan2, hypot and pow.
7623 (special_fill_min): New function.
7624 (special_fill_minus_min): Likewise.
7625 (special_fill_min_subnorm): Likewise.
7626 (special_fill_minus_min_subnorm): Likewise.
7627 (special_real_inputs): Add min, -min, min_subnorm and
7629 (calc_generic_results): Handle mpfr_ff_f.
7630 * sysdeps/i386/fpu/libm-test-ulps: Update.
7631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633 2013-12-16 Will Newton <will.newton@linaro.org>
7635 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7636 (Aligned Memory Blocks): Add documentation for aligned_alloc
7637 and suggest it as an alternative to posix_memalign.
7638 (Hooks for Malloc): Document __memalign_hook is also called
7639 for aligned_alloc. (Summary of Malloc): Add summary for
7640 aligned alloc. Document __memalign_hook is also called
7643 2013-12-16 Will Newton <will.newton@linaro.org>
7645 * manual/memory.texi (Malloc Examples): Clarify default
7646 alignment documentation. Suggest posix_memalign rather
7647 than memalign or valloc.
7648 (Aligned Memory Blocks): Remove suggestion to use memalign
7649 or valloc. Remove obsolete comment about BSD.
7650 Document memalign errno values and mark the function obsolete.
7651 Document posix_memalign returned error codes. Mark valloc
7652 as obsolete. (Hooks for Malloc): __memalign_hook is also
7653 called for posix_memalign and valloc.
7654 (Summary of Malloc): Add posix_memalign to function summary.
7655 __memalign_hook is also called for posix_memalign and valloc.
7657 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7659 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7663 (sloww): Use mynumber union. Expand ternary operator into
7665 (cslow): use mynumber union.
7667 2013-12-16 Allan McRae <allan@archlinux.org>
7669 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7670 * configure: Regenerated.
7672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7675 * configure.ac: Added --enable-maintainer-mode. Check for
7676 autoconf when enabled.
7677 * configure: Regenerated.
7679 * nscd/nscd.service: New file.
7680 * nscd/nscd.tmpfiles: New file.
7682 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
7685 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7686 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7687 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7688 (strstr): Add __strstr_sse2_unaligned ifunc.
7689 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7690 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7691 (strcasestr): Remove __strcasestr_sse42 ifunc.
7692 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7693 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7696 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7698 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7699 * sysdeps/sh/bits/fenv.h: ... here.
7700 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7702 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7704 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7707 hypotf multiarch implementations.
7708 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7709 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7710 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7711 multiarch hypot for PPC64.
7712 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7713 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7714 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7715 multiarch hypotf for PPC64.
7717 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7718 modff multiarch implementations.
7719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7722 multiarch modf for PPC64.
7723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7726 multiarch modff for PPC64.
7728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7729 and logl multiarch implementations.
7730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7733 multiarch logb for PPC64.
7734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7737 multiarch logb for PPC64.
7738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7741 multiarch logb for PPC64.
7743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7744 isinff multiarch implementation.
7745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7749 multiarch isinf for PPC64.
7750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7753 multiarch isinff for PPC64.
7755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7756 finitef multiarch implementation.
7757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7761 multiarch finite for PPC64.
7762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7765 multiarch finitef for PPC64.
7767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7768 lrint multiarch implementation.
7769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7773 multiarch llrint for PPC64.
7774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7775 multiarch lrint for PPC64.
7777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7778 copysignf multiarch implementation.
7779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7784 multiarch copysign for PPC64.
7785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7786 multiarch copysignf for PPC64.
7788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7789 multiarch implementation.
7790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7798 multiarch llround for PPC64.
7799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7800 multiarch trunc for PPC64.
7801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7802 multiarch truncf for PPC64.
7804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7805 multiarch implementation.
7806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7814 multiarch llround for PPC64.
7815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7816 multiarch round for PPC64.
7817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7818 multiarch roundf for PPC64.
7820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7821 multiarch implementation.
7822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7830 multiarch llround for PPC64.
7831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7832 multiarch floor for PPC64.
7833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7834 multiarch floorf for PPC64.
7836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7837 multiarch implementation.
7838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7846 multiarch llround for PPC64.
7847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7848 multiarch ceil for PPC64.
7849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7850 multiarch ceilf for PPC64.
7852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7853 multiarch implementation.
7854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7861 multiarch llround for PPC64.
7862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7863 multiarch lround for PPC64.
7865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7866 multiarch implementation.
7867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7874 multiarch isnan for PPC64.
7875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7876 multiarch isnanf for PPC64.
7878 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7879 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7880 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7881 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7882 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7885 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7886 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7887 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7888 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7891 multiarch implementations.
7892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7893 (__libc_ifunc_impl_list): Likewise.
7894 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7895 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7896 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7897 multiarch stpcpy for PPC64.
7899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7900 multiarch implementations.
7901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7902 (__libc_ifunc_impl_list): Likewise.
7903 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7904 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7905 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7906 multiarch strcpy for PPC64.
7908 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7909 redefine function name.
7910 (_wordcopy_fwd_dest_aligned): Likewise.
7911 (_wordcopy_bwd_aligned): Likewise.
7912 (_wordcopy_bwd_dest_aligned): Likewise.
7913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7914 multiarch implementations.
7915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7916 (__libc_ifunc_impl_list): Likewise.
7917 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7918 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7919 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7920 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7921 multiarch wcscpy for PPC64.
7923 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7924 multiarch implementations.
7925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7926 (__libc_ifunc_impl_list): Likewise.
7927 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7928 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7929 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7930 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7931 multiarch wcscpy for PPC64.
7933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7934 multiarch implementations.
7935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7936 (__libc_ifunc_impl_list): Likewise.
7937 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7938 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7939 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7940 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7941 multiarch wcsrchr for PPC64.
7943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7944 multiarch implementations.
7945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7946 (__libc_ifunc_impl_list): Likewise.
7947 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7948 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7949 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7950 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7951 multiarch wcschr for PPC64.
7953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7954 multiarch implementations.
7955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7956 (__libc_ifunc_impl_list): Likewise.
7957 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7958 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7959 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7960 multiarch strchrnul for PPC64.
7962 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7965 (__libc_ifunc_impl_list): Likewise.
7966 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7967 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7968 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7969 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7975 (__libc_ifunc_impl_list): Likewise.
7976 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7977 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7978 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7979 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7983 multiarch implementations.
7984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7985 (__libc_ifunc_impl_list): Likewise.
7986 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7987 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7988 strncasecmp for PPC64.
7989 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7990 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7991 multiarch strncasecmp_l for PPC64.
7993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7994 multiarch implementations.
7995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7996 (__libc_ifunc_impl_list): Likewise.
7997 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7998 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7999 multiarch strcasecmp for PPC64.
8000 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8002 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8003 multiarch strcasecmp_l for PPC64.
8005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8008 (__libc_ifunc_impl_list): Likewise.
8009 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8010 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8011 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8017 (__libc_ifunc_impl_list): Likewise.
8018 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8019 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8020 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8026 (__libc_ifunc_impl_list): Likewise.
8027 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8028 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8029 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8030 rawmemrchr for PPC64.
8032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8035 (__libc_ifunc_impl_list): Likewise.
8036 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8037 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8038 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8044 (__libc_ifunc_impl_list): Likewise.
8045 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8046 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8047 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8053 (__libc_ifunc_impl_list): Likewise.
8054 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8055 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8056 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8059 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8060 avoid cretion of __bzero symbol.
8061 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8063 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8065 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8068 multiarch implementations.
8069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8070 (__libc_ifunc_impl_list): Likewise.
8071 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8072 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8073 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8074 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8076 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8077 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8078 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8079 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8080 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8082 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8084 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8088 (__libc_ifunc_impl_list): Likewise.
8089 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8090 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8091 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8092 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8096 multiarch for POWER/PPC64.
8097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8098 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8099 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8100 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8101 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8102 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8103 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8104 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8105 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8108 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8109 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8110 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8111 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8112 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8113 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8114 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8115 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8116 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8117 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8118 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8119 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8120 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8121 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8122 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8131 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8133 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8135 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8137 * benchtests/Makefile (bench): Add exp2 and log2.
8138 (LDLIBS-bench-exp2): Add -lm.
8139 (LDLIBS-bench-log2): Likewise.
8140 * benchtests/exp2-inputs: New inputs file.
8141 * benchtests/log2-inputs: New inputs file.
8142 * benchtests/log-inputs: Add new inputs.
8143 * benchtests/tan-inputs: Likewise.
8145 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8147 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8149 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8150 (csloww2): ... from here.
8152 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8153 instead of structures.
8154 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8155 (POLYNOMIAL): Likewise.
8156 (TAYLOR_SLOW): Likewise.
8164 (bsloww1): Likewise.
8165 (bsloww2): Likewise.
8168 (csloww1): Likewise.
8169 (csloww2): Likewise.
8171 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
8173 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8174 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8175 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8176 * malloc/hooks.c (realloc_check): Likewise.
8178 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8179 * malloc/arena.c: Remove PER_THREAD conditional.
8180 [!PER_THREAD]: Remove code.
8181 (ptmalloc_unlock_all2): Likewise.
8182 (ptmalloc_init): Likewise.
8183 (_int_new_arena): Likewise.
8184 (arena_get2): Likewise.
8185 * malloc/hooks.c (__malloc_get_state): Likewise.
8186 (__malloc_set_state): Likewise.
8187 * malloc/malloc.c: Likewise.
8188 (struct malloc_state): Likewise.
8189 (struct malloc_par): Likewise.
8190 (__libc_realloc): Likewise.
8191 (__libc_mallopt): Likewise.
8193 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8195 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8197 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
8199 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8200 macro to a function. Check for zero perturb_byte.
8201 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8203 * malloc/malloc.c: (force_reg): Remove.
8204 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8205 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8206 force_reg by atomic_forced_read.
8207 * malloc/arena.c (ptmalloc_init): Likewise.
8208 * malloc/hooks.c (top_check): Likewise.
8210 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8214 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8218 2013-12-08 Joseph Myers <joseph@codesourcery.com>
8220 * math/auto-libm-test-in: Add tests of lgamma.
8221 * math/auto-libm-test-out: Regenerated.
8222 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8223 (M_LOG_2_SQRT_PIl): Likewise.
8224 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8225 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8227 (func_calc_desc): Add mpfr_f_f1 union field.
8236 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8237 (test_functions): Add lgamma.
8238 (calc_generic_results): Handle mpfr_f_f1.
8239 * sysdeps/i386/fpu/libm-test-ulps: Update.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8242 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8244 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8245 __mpn_add_n for PowerPC64/POWER7.
8246 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8247 __mpn_sub_n for PowerPC64/POWER7.
8249 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8250 __mpn_addmul_1 for PowerPC64.
8251 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8252 __mpn_submul_1 for PowerPC64.
8253 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8255 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8258 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8261 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8263 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8265 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8267 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8268 add multiarch folders.
8269 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8270 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8271 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8272 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8273 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8274 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8275 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8276 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8277 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8278 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8279 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8288 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8294 multiarch __ieee754_hypot for PowerPC32.
8295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8300 multiarch __ieee754_hypotf for PowerPC32.
8302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8303 long_double_symbol only if __logbl is defined.
8304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8305 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8307 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8309 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8311 path for implementation.
8312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8313 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8315 logb, and logbl multiarch implementations for PowerPC32.
8316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8321 multiarch logb for PowerPC32.
8322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8327 multiarch logbf for PowerPC32.
8328 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8332 multiarch logbl implementation for PowerPC32.
8334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8335 and modff multiarch implementations.
8336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8341 multiarch modf for PowerPC32.
8342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8347 multiarch modff for PowerPC32.
8349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8350 and lrintf multiarch implementations.
8351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8356 multiarch lrint for PowerPC32.
8357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8358 file: multiarch lrintf for PowerPC32.
8360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8361 and lroundf multiarch implementations.
8362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8369 multiarch lround for PowerPC32.
8370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8371 file: multiarch lroundf for PowerPC32.
8373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8374 copysign and copysignf multiarch implementations.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8380 file: multiarch copysign for PowerPC32.
8381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8382 file: multiarch copysignf for PowerPC32.
8384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8385 and truncf multiarch implementations.
8386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8391 multiarch trunc for PowerPC32.
8392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8397 multiarch truncf for PowerPC32.
8399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8400 and roundf multiarch implementations.
8401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8406 multiarch round for PowerPC32.
8407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8412 multiarch roundf for PowerPC32.
8414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8415 and floorf multiarch implementations.
8416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8421 multiarch floor for PowerPC32.
8422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8427 multiarch floorf for PowerPC32.
8429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8430 and ceilf multiarch implementations.
8431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8436 multiarch ceil for PowerPC32.
8437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8442 multiarch ceilf for PowerPC32.
8444 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8446 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8449 and finitef multiarch implementations.
8450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8455 multiarch finite for PowerPC32.
8456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8459 file: multiarch finitef for PowerPC32.
8461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8462 and isinff multiarch implementations.
8463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8468 multiarch isinf for PowerPC32.
8469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8472 multiarch isinff for PowerPC32.
8474 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8475 alias when __isnan is defined.
8476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8477 and isnanf multiarch implementations.
8478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8487 multiarch isnan for PowerPC32.
8488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8493 multiarch isnanf for PowerPC32.
8495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8496 and sqrtf multiarch implementations.
8497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8502 multiarch sqrt for PowerPC32.
8503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8508 multiarch sqrtf for PowerPC32.
8510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8511 and llroundf multiarch implementations.
8512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8519 file: multiarch llround for PowerPC32.
8520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8521 file: multiarch llroundf for PowerPC32.
8523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8524 multiarch PowerPC32 fpu implementations.
8525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8530 multiarch llrint for PowerPC32.
8531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8540 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8542 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8544 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8547 multiarch wordcopy for PPC32.
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8551 (__libc_ifunc_impl_list): Likewise.
8552 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8553 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8554 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8555 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8556 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8557 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8559 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8560 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8564 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8567 multiarch wcscpy for PPC32.
8568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8571 (__libc_ifunc_impl_list): Likewise.
8572 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8573 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8574 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8575 sysdeps/powerpc/power6/wcscpy.c.
8577 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8584 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8585 multiarch wcsrchr for PPC32.
8586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8589 (__libc_ifunc_impl_list): Likewise.
8590 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8591 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8592 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8593 sysdeps/powerpc/power6/wcsrchr.c.
8595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8601 multiarch wcschr for PPc32.
8602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8605 (__libc_ifunc_impl_list): Likewise.
8606 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8607 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8608 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8609 sysdeps/powerpc/power6/wcschr.c.
8611 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8612 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8614 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8615 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8616 file: multiarch strchr for PPC32.
8617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8620 (__libc_ifunc_impl_list): Likewise.
8622 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8624 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8628 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8629 multiarch strchrnul for PPC32.
8630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8632 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8633 (__libc_ifunc_impl_list): Likewise.
8635 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8637 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8638 multiarch strncasecmp for PPC32.
8639 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8641 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8642 multiarch strncasecmp_l for PPC32.
8643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8644 strncasecmp multiarch objects.
8645 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8646 (__libc_ifunc_impl_list): Likewise.
8648 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8651 multiarch strncasecmp for PPC32.
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8655 multiarch strcasecmp_l for PPC32.
8656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8659 (__libc_ifunc_impl_list): Likewise.
8661 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8663 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8665 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8666 multiarch strncmp for PPC32.
8667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8670 (__libc_ifunc_impl_list): Likewise.
8672 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8673 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8675 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8676 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8680 (__libc_ifunc_impl_list): Likewise.
8682 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8684 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8686 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8690 (__libc_ifunc_impl_list): Likewise.
8692 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8694 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8696 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8697 multiarch rawmemchr for PPC32.
8698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8701 (__libc_ifunc_impl_list): Likewise.
8703 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8705 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8707 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8708 file: memrchr multiarch for PPC32.
8709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8712 (__libc_ifunc_impl_list): Likewise.
8714 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8715 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8717 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8718 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8719 multiarch memchr for PPC32.
8720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8723 (__libc_ifunc_impl_list): Likewise.
8725 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8726 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8728 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8730 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8731 file: multiarch mempcpy for PPC32.
8732 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8735 (__libc_ifunc_impl_list): Likewise.
8737 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8738 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8739 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8740 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8741 multiarch bzero for PPC32.
8742 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8744 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8746 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8747 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8748 file: multiarch memset for PPC32.
8749 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8751 memset multiarch objects.
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8753 (__libc_ifunc_impl_list): Likewise.
8755 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8757 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8758 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8760 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8764 (__libc_ifunc_impl_list): Likewise.
8766 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8767 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8770 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8774 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8775 multiarch memcpy for PPC32.
8776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8779 (__libc_ifunc_impl_list): Likewise.
8781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8782 support multiarch for POWER/PPC32.
8783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8785 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8787 Implies file to make multiarch folder appers before the fpu and
8788 default folder for power4 configuration.
8790 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8792 * scripts/bench.pl: Append volatile keyword to type.
8794 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8796 * sysdeps/sh/sotruss-lib.c: New file.
8797 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8799 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8803 2013-12-05 Joseph Myers <joseph@codesourcery.com>
8806 * math/w_tgamma.c: Include <errno.h>.
8807 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8808 * math/w_tgammaf.c: Include <errno.h>.
8809 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8810 * math/w_tgammal.c: Include <errno.h>.
8811 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8812 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8813 underflow. Add more tgamma tests.
8814 * math/auto-libm-test-out: Regenerated.
8815 * sysdeps/i386/fpu/libm-test-ulps: Update.
8816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8818 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8819 sin, sinh, tan, tanh, tgamma, y0 and y1.
8820 * math/auto-libm-test-out: Regenerated.
8821 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8822 (TEST_COND_x86): Likewise.
8823 (M_E2l): Remove macro.
8825 (M_2_SQRT_PIl): Likewise.
8826 (M_SQRT_PIl): Likewise.
8827 (M_1_DIV_El): Likewise.
8828 (log_test_data): Use AUTO_TESTS_f_f.
8829 (log10_test_data): Likewise.
8830 (log1p_test_data): Likewise.
8831 (log2_test_data): Likewise.
8832 (sin_test_data): Likewise.
8833 (sin_tonearest_test_data): Likewise.
8834 (sin_towardzero_test_data): Likewise.
8835 (sin_downward_test_data): Likewise.
8836 (sin_upward_test_data): Likewise.
8837 (sinh_test_data): Likewise.
8838 (sinh_tonearest_test_data): Likewise.
8839 (sinh_towardzero_test_data): Likewise.
8840 (sinh_downward_test_data): Likewise.
8841 (sinh_upward_test_data): Likewise.
8842 (tan_test_data): Likewise.
8843 (tan_tonearest_test_data): Likewise.
8844 (tan_towardzero_test_data): Likewise.
8845 (tan_downward_test_data): Likewise.
8846 (tan_upward_test_data): Likewise.
8847 (tanh_test_data): Likewise.
8848 (tgamma_test_data): Likewise.
8849 (y0_test_data): Likewise.
8850 (y1_test_data): Likewise.
8851 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8852 (special_real_inputs): Add pi/4.
8853 * sysdeps/i386/fpu/libm-test-ulps: Update.
8854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8856 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8858 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8859 "longjmp_target" static probes.
8860 (__longjmp): Rename to __longjmp_symbol.
8861 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8862 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8863 on which longjmp to generate.
8864 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8865 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8867 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8868 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8869 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8870 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8871 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8872 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8874 __longjmp_symbol based on which __longjmp to generate.
8875 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8877 (setjmp): Rename to setjmp_symbol.
8878 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8879 (_setjmp): Rename to _setjmp_symbol.
8880 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8881 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8882 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8883 which setjmp to generate.
8884 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8885 "longjmp_target" static probes.
8887 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8889 * benchtests/README: Add note about output arguments.
8890 * benchtests/bench-sincos.c: Remove file.
8891 * benchtests/sincos-inputs: New file.
8892 * scripts/bench.pl: Identify output arguments and define
8893 static variables for them.
8895 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8898 * Makefile (INSTALL): Add install-plain.texi as the primary
8900 * manual/install-plain.texi: New file.
8901 * manual/install.texi: Include node directive only for
8902 non-plaintext output.
8904 2013-12-04 Joseph Myers <joseph@codesourcery.com>
8906 * stdlib/longlong.h: Update from GCC.
8910 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8911 * math/w_j0f.c (y0f): Likewise.
8912 * math/w_j0l.c (__y0l): Likewise.
8913 * math/w_j1.c (y1): Likewise.
8914 * math/w_j1f.c (y1f): Likewise.
8915 * math/w_j1l.c (__y1l): Likewise
8916 * math/w_jn.c (yn): Likewise.
8917 * math/w_jnf.c (ynf): Likewise.
8918 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8919 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8920 value for Bessel function domain errors outside _SVID_ mode.
8921 Adjust sign of return value for yn (negative integer, 0).
8922 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8923 by zero in return for negative x and set sign appropriately for
8925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8926 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8927 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8928 expectations in error cases.
8929 (y1_test_data): Likewise.
8930 (yn_test_data): Likewise.
8931 * sysdeps/i386/fpu/libm-test-ulps: Update.
8932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8934 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8936 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8937 "64" to "64-v1". Add "64-v2".
8938 (abi-64-options): Rename to ...
8939 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8940 (abi-64-condition): Rename to ...
8941 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8942 (abi-64-ld-soname): Rename to ...
8943 (abi-64-v1-ld-soname): ... this.
8944 (abi-64-v2-options): Define.
8945 (abi-64-v2-condition): Likewise.
8946 (abi-64-v2-ld-soname): Likewise.
8947 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8948 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8953 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8954 Alan Modra <amodra@gmail.com>
8956 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8957 New versions for use with the ELFv2 ABI.
8958 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8959 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8961 (struct La_ppc64v2_retval): Likewise.
8962 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8963 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8964 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8965 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8966 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8968 Do not save or restore CR.
8969 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8970 (_dl_profile_resolve): Do no save or restore CR. Support extended
8971 return values for ELFv2 ABI. Fix location of FPR return registers.
8972 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8973 updated values for _CALL_ELF == 2.
8974 (La_regs, La_retval, int_retval): Likewise.
8976 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8978 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8979 (FRAME_MIN_SIZE_PARM): Likewise.
8980 (FRAME_BACKCHAIN): Likewise.
8981 (FRAME_CR_SAVE): Likewise.
8982 (FRAME_LR_SAVE): Likewise.
8983 (FRAME_TOC_SAVE): Likewise.
8984 (FRAME_PARM_SAVE): Likewise.
8985 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8986 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8987 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8988 (call_mcount_parm_offset): New macro.
8989 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8990 (PROF): Use symbolic stack frame offsets.
8991 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8992 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8993 Redefine in terms of FRAME_MIN_SIZE.
8994 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8995 (_dl_profile_resolve): Likewise. Update comment.
8996 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8997 symbols stack frame offsets.
8998 (__sigsetjmp): Likewise.
8999 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9000 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9001 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9002 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9005 (FRAME_BACKCHAIN): Remove.
9006 (FRAME_CR_SAVE): Likewise.
9007 (FRAME_LR_SAVE): Likewise.
9008 (FRAME_COMPILER_DW): Likewise.
9009 (FRAME_LINKER_DW): Likewise.
9010 (FRAME_TOC_SAVE): Likewise.
9011 (FRAME_PARM_SAVE): Likewise.
9012 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9013 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9014 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9016 (CHECK_SP): Use symbolic stack frame offsets.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9018 zone" instead of caller's parameter save area for temp storage.
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9020 Likewise. Also, use symbolic stack frame offsets.
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9022 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9023 our own stack frame instead of the caller's.
9024 (__socket): Use symbolic stack frame offsets.
9026 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9027 Alan Modra <amodra@gmail.com>
9029 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9031 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9032 (PPC64_LOCAL_ENTRY_OFFSET): Define.
9033 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9035 (elf_machine_fixup_plt): Call it.
9036 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9038 (elf_machine_rela): Update call to elf_machine_plt_conflict.
9039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9040 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9041 r2 before calling target.
9043 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9044 Alan Modra <amodra@gmail.com>
9046 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9047 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9048 versions of macros to support ELFv2 ABI.
9049 (LOCALENTRY): New macro.
9050 (ENTRY, EALIGN): Use it.
9051 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9052 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9053 fall through into ENTRY entry point.
9054 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9055 Only define if _CALL_ELF != 2.
9057 (elf_machine_matches_host): Verify ABI version matches.
9058 (RTLD_START): Use LOCALENTRY.
9059 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9060 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9061 (PLT_ENTRY_WORDS): New macro.
9062 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9063 (elf_machine_runtime_setup): Support ELFv2 ABI.
9064 (elf_machine_fixup_plt): Likewise.
9065 (elf_machine_plt_conflict): Likewise.
9066 (resolve_ifunc): Likewise.
9067 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9071 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9073 (makecontext): Support ELFv2 ABI.
9074 * elf/elf.h (EF_PPC64_ABI): Define.
9076 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9078 * sysdeps/powerpc/powerpc64/sysdep.h
9079 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9080 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9081 (ENTRY) [ASSEMBLER]: ... but instead here ...
9082 (EALIGN) [ASSEMBLER]: ... and here.
9083 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9084 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9085 (ENTRY_2) [!ASSEMBLER]: Use it.
9086 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9087 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
9088 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9089 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9090 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9092 Use PPC64_LOAD_FUNCPTR.
9094 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9096 2013-12-04 Alan Modra <amodra@gmail.com>
9098 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9099 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9100 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9101 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9104 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9105 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9106 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9107 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9108 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9110 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9113 (__makecontext): Fix incorrect CFI when backtracing out of
9114 context created via makecontext.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9116 (__setcontext): Fix incorrect CFI during switch to new context.
9117 (__novec_setcontext): Likewise.
9119 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9122 * time/strptime_l.c (__strptime_internal): Allow modifiers
9124 * time/tst-strptime.c (day_tests): Add testcase.
9126 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9128 * scripts/bench.pl: Skip over blank lines.
9130 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9133 * manual/time.texi (Calendar Time): Clarify what timezone functions
9136 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9140 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
9142 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9144 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9145 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9146 * debug/memset_chk.c (__memset_chk): Likewise.
9147 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9148 * debug/strncpy_chk.c: Likewise.
9150 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9154 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9155 (__ieee754_exp): For possibly underflowing results, check size of
9156 result and force underflow exception if required.
9157 * math/auto-libm-test-in: Add more tests of exp.
9158 * math/auto-libm-test-out: Regenerated.
9159 * sysdeps/i386/fpu/libm-test-ulps: Update.
9160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9163 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9164 * math/w_exp2f.c (__exp2f): Likewise.
9165 * math/w_exp2l.c (__exp2l): Likewise.
9166 * math/auto-libm-test-in: Do not allow missing errno on exp2
9168 * math/auto-libm-test-out: Regenerated.
9170 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
9173 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9174 handle filename validation.
9175 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9178 2013-12-03 Joseph Myers <joseph@codesourcery.com>
9181 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9182 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9183 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9185 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9186 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9187 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9189 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9191 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9192 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9193 Add more erfc tests.
9194 * math/auto-libm-test-out: Regenerated.
9195 * sysdeps/i386/fpu/libm-test-ulps: Update.
9196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9198 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9199 exp2, expm1, j0 and j1.
9200 * math/auto-libm-test-out: Regenerated.
9201 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9202 (erfc_test_data): Likewise.
9203 (exp_test_data): Likewise.
9204 (exp_tonearest_test_data): Likewise.
9205 (exp_towardzero_test_data): Likewise.
9206 (exp_downward_test_data): Likewise.
9207 (exp_upward_test_data): Likewise.
9208 (exp10_test_data): Likewise.
9209 (exp2_test_data): Likewise.
9210 (expm1_test_data): Likewise.
9211 (j0_test_data): Likewise.
9212 (j1_test_data): Likewise.
9213 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9214 (input_flag_type): Add flag_xfail_rounding.
9215 (input_flags): Add xfail-rounding.
9216 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9217 (output_for_one_input_case): Handle flag_xfail_rounding.
9218 * sysdeps/i386/fpu/libm-test-ulps: Update.
9219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9221 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9224 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9227 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9230 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9231 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9232 (STAP_PROBE0): New macro.
9233 (STAP_PROBE1): Likewise.
9234 (STAP_PROBE2): Likewise.
9235 (STAP_PROBE3): Likewise.
9236 (STAP_PROBE4): Likewise.
9238 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
9240 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9242 2013-12-02 Steve Ellcey <sellcey@mips.com>
9244 * benchtests/Makefile (bench): Add sqrt.
9245 (LDLIBS-bench-sqrt): New.
9246 * benchtests/sqrt-input: New.
9248 2013-12-02 Pavel Simerda <psimerda@redhat.com>
9250 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9251 (GAIH_EAI): Likewise.
9252 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9253 (gaih_inet): Likewise.
9254 (getaddrinfo): Don't use GAIH_EAI.
9256 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9257 (struct gaih): Remove definition.
9259 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9261 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9262 Use HERRNOP directly.
9264 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9268 2013-11-30 Joseph Myers <joseph@codesourcery.com>
9270 * math/gen-auto-libm-tests.c (test_functions): Add more
9271 single-argument functions.
9272 (special_fill_pi_2): New function.
9273 (special_fill_minus_pi_2): Likewise.
9274 (special_fill_pi_6): Likewise.
9275 (special_fill_minus_pi_6): Likewise.
9276 (special_fill_pi_3): Likewise.
9277 (special_fill_2pi_3): Likewise.
9278 (special_fill_e): Likewise.
9279 (special_fill_1_e): Likewise.
9280 (special_fill_e_minus_1): Likewise.
9281 (special_real_inputs): Add more special inputs.
9282 (output_for_one_input_case): Do not require ERANGE on underflow to
9283 zero if round-to-nearest result does not underflow to zero, unless
9284 exact results required.
9285 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9286 atan, atanh, cbrt, cos and cosh.
9287 * math/auto-libm-test-out: Regenerated.
9288 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9289 (acos_tonearest_test_data): Likewise.
9290 (acos_towardzero_test_data): Likewise.
9291 (acos_downward_test_data): Likewise.
9292 (acos_upward_test_data): Likewise.
9293 (acosh_test_data): Likewise.
9294 (asin_test_data): Likewise.
9295 (asin_tonearest_test_data): Likewise.
9296 (asin_towardzero_test_data): Likewise.
9297 (asin_upward_test_data): Likewise.
9298 (asinh_test_data): Likewise.
9299 (atan_test_data): Likewise.
9300 (atanh_test_data): Likewise.
9301 (cbrt_test_data): Likewise.
9302 (cos_test_data): Likewise.
9303 (cos_tonearest_test_data): Likewise.
9304 (cos_towardzero_test_data): Likewise.
9305 (cos_downward_test_data): Likewise.
9306 (cos_upward_test_data): Likewise.
9307 (cosh_test_data): Likewise.
9308 (cosh_tonearest_test_data): Likewise.
9309 (cosh_towardzero_test_data): Likewise.
9310 (cosh_downward_test_data): Likewise.
9311 (cosh_upward_test_data): Likewise.
9312 * sysdeps/i386/fpu/libm-test-ulps: Update.
9313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9315 2013-11-29 Joseph Myers <joseph@codesourcery.com>
9318 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9319 * math/w_exp10f.c (__exp10f): Likewise.
9320 * math/w_exp10l.c (__exp10l): Likewise.
9321 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9322 errno settings in existing tests.
9325 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9326 precision control set to double precision.
9327 * sysdeps/i386/fpu/w_sqrt.c: New file.
9328 * math/auto-libm-test-in: Add more tests.
9329 * math/auto-libm-test-out: Update.
9331 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9332 (sqrt_test_tonearest): New function.
9333 (sqrt_towardzero_test_data): New variable.
9334 (sqrt_test_towardzero): New function.
9335 (sqrt_downward_test_data): New variable.
9336 (sqrt_test_downward): New function.
9337 (sqrt_upward_test_data): New variable.
9338 (sqrt_test_upward): New function.
9339 (main): Call the new functions.
9341 * math/gen-auto-libm-tests.c: New file.
9342 * math/auto-libm-test-in: Likewise.
9343 * math/auto-libm-test-out: New generated file.
9344 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9346 (%beautify): Add generated representations of zero.
9347 (top level): Set $auto_input and call parse_auto_input.
9348 (beautify): Remove trailing "f" from hex float constants.
9349 (parse_args): Handle XFAIL_TEST.
9350 (convert_condition): New function.
9351 (or_value): Likewise.
9352 (or_cond_value): Likewise.
9353 (generate_testfile): Handle AUTO_TESTS_* lines.
9354 (parse_auto_input): New function.
9355 * math/libm-test.inc (XFAIL_TEST): New macro.
9356 (ERRNO_UNCHANGED): Update value.
9357 (ERRNO_EDOM): Likewise.
9358 (ERRNO_ERANGE): Likewise.
9359 (IGNORE_RESULT): Likewise.
9360 (TEST_COND_flt_32): New macro.
9361 (TEST_COND_dbl_64): Likewise.
9362 (TEST_COND_ldbl_96_intel): Likewise.
9363 (TEST_COND_ldbl_96_m68k): Likewise.
9364 (TEST_COND_ldbl_128): Likewise.
9365 (TEST_COND_ldbl_128ibm): Likewise.
9366 (TEST_COND_long32): Likewise.
9367 (TEST_COND_long64): Likewise.
9368 (TEST_COND_before_rounding): Likewise.
9369 (TEST_COND_after_rounding): Likewise.
9370 (enable_test): Handle XFAIL_TEST flag.
9371 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9372 with finite results.
9373 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9376 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9377 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9380 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9381 __tls_get_addr_internal instead of __tls_get_offset in order to
9382 avoid GOT pointer dependency. Make rtld export
9383 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9384 __tls_get_addr since we are a __tls_get_offset platform.
9385 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9386 GOT pointer being set up before.
9387 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9389 2013-11-28 Joseph Myers <joseph@codesourcery.com>
9391 * manual/math.texi (Errors in Math Functions): Document accuracy
9395 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9396 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9398 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9399 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9401 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9403 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9412 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9413 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9414 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9415 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9416 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9418 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9420 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9422 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9423 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9424 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9425 atomic-feupdateenv and flt-rounds.
9426 * sysdeps/powerpc/nofpu/Versions (libc): Add
9427 __atomic_feholdexcept, __atomic_feclearexcept,
9428 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9429 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9430 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9431 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9432 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9437 * manual/arith.texi (FP Exceptions): Document that exceptions may
9438 not be raised when matherr is used.
9439 (Math Error Reporting): Document overflow in directed rounding
9440 modes. Document that errno may not be set when finite values are
9441 returned on overflow. Document intent to set errno on underflow
9442 only for underflow to zero.
9445 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9446 round-to-nearest then adjust result for other rounding modes.
9447 * include/fenv.h (fegetround): Use libm_hidden_proto.
9448 * math/fegetround.c (fegetround): Use libm_hidden_def.
9449 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9450 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9451 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9452 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9454 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9455 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9456 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9457 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9459 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9462 * nss/Versions (libnss_files): Add
9463 _nss_files_gethostbyname3_r.
9464 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9466 (HOST_DB_LOOKUP): Remove macro.
9467 (_nss_files_gethostbyname_r): Implement function without the
9468 HOST_DB_LOOKUP macro.
9469 (_nss_files_gethostbyname2_r): Likewise.
9471 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
9473 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9475 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
9477 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9478 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9481 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9483 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9484 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9485 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9486 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9487 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9488 __fe_nomask_env_priv and attribute_hidden.
9489 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9490 (libc_feupdateenv_test_ppc): Likewise.
9491 (libc_feresetround_ppc): Likewise.
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9493 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9494 compat_symbol macro.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9496 (__fe_nomask_env): Likewise.
9497 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9499 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9501 * string/Makefile: Remove ifunc tests.
9502 * string/test-string.h: Define TEST_IFUNC.
9503 * string/test-bcopy-ifunc.c: Remove.
9504 * string/test-bzero-ifunc.c: Likewise.
9505 * string/test-memccpy-ifunc.c: Likewise.
9506 * string/test-memchr-ifunc.c: Likewise.
9507 * string/test-memcmp-ifunc.c: Likewise.
9508 * string/test-memcpy-ifunc.c: Likewise.
9509 * string/test-memmem-ifunc.c: Likewise.
9510 * string/test-memmove-ifunc.c: Likewise.
9511 * string/test-mempcpy-ifunc.c: Likewise.
9512 * string/test-memrchr-ifunc.c: Likewise.
9513 * string/test-memset-ifunc.c: Likewise.
9514 * string/test-rawmemchr-ifunc.c: Likewise.
9515 * string/test-stpcpy-ifunc.c: Likewise.
9516 * string/test-stpncpy-ifunc.c: Likewise.
9517 * string/test-strcasecmp-ifunc.c: Likewise.
9518 * string/test-strcasestr-ifunc.c: Likewise.
9519 * string/test-strcat-ifunc.c: Likewise.
9520 * string/test-strchr-ifunc.c: Likewise.
9521 * string/test-strchrnul-ifunc.c: Likewise.
9522 * string/test-strcmp-ifunc.c: Likewise.
9523 * string/test-strcpy-ifunc.c: Likewise.
9524 * string/test-strcspn-ifunc.c: Likewise.
9525 * string/test-strlen-ifunc.c: Likewise.
9526 * string/test-strncasecmp-ifunc.c: Likewise.
9527 * string/test-strncat-ifunc.c: Likewise.
9528 * string/test-strncmp-ifunc.c: Likewise.
9529 * string/test-strncpy-ifunc.c: Likewise.
9530 * string/test-strnlen-ifunc.c: Likewise.
9531 * string/test-strpbrk-ifunc.c: Likewise.
9532 * string/test-strrchr-ifunc.c: Likewise.
9533 * string/test-strspn-ifunc.c: Likewise.
9534 * string/test-strstr-ifunc.c: Likewise.
9536 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9538 * benchtests/Makefile: Remove ifunc tests.
9539 * benchtests/bench-string.h: Define TEST_IFUNC.
9540 * benchtests/bench-bcopy-ifunc.c: Remove.
9541 * benchtests/bench-bzero-ifunc.c: Likewise.
9542 * benchtests/bench-memccpy-ifunc.c: Likewise.
9543 * benchtests/bench-memchr-ifunc.c: Likewise.
9544 * benchtests/bench-memcmp-ifunc.c: Likewise.
9545 * benchtests/bench-memcpy-ifunc.c: Likewise.
9546 * benchtests/bench-memmem-ifunc.c: Likewise.
9547 * benchtests/bench-memmove-ifunc.c: Likewise.
9548 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9549 * benchtests/bench-memrchr-ifunc.c: Likewise.
9550 * benchtests/bench-memset-ifunc.c: Likewise.
9551 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9552 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9553 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9554 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9555 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9556 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9557 * benchtests/bench-strcat-ifunc.c: Likewise.
9558 * benchtests/bench-strchr-ifunc.c: Likewise.
9559 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9560 * benchtests/bench-strcmp-ifunc.c: Likewise.
9561 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9562 * benchtests/bench-strcpy-ifunc.c: Likewise.
9563 * benchtests/bench-strcspn-ifunc.c: Likewise.
9564 * benchtests/bench-strlen-ifunc.c: Likewise.
9565 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9566 * benchtests/bench-strncat-ifunc.c: Likewise.
9567 * benchtests/bench-strncmp-ifunc.c: Likewise.
9568 * benchtests/bench-strncpy-ifunc.c: Likewise.
9569 * benchtests/bench-strnlen-ifunc.c: Likewise.
9570 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9571 * benchtests/bench-strrchr-ifunc.c: Likewise.
9572 * benchtests/bench-strsep-ifunc.c: Likewise.
9573 * benchtests/bench-strspn-ifunc.c: Likewise.
9574 * benchtests/bench-strstr-ifunc.c: Likewise.
9576 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9578 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9580 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
9582 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9583 * rt/aio.h: Likewise.
9584 * sysdeps/gnu/bits/utmp.h: Likewise.
9585 * sysdeps/gnu/bits/utmpx.h: Likewise.
9586 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9587 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9588 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9589 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9590 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9591 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9592 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9593 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9594 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9595 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9596 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9597 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9598 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9600 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9601 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9602 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9603 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9604 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9605 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9606 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9607 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9608 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9609 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9610 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9612 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9613 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9614 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9615 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9616 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9618 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9619 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9620 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9621 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9622 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9623 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9624 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9625 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9626 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9627 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9629 2013-11-25 Carlos O'Donell <carlos@redhat.com>
9632 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9633 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9635 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9637 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9638 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9641 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9644 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9645 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9646 (__fesetround): Remove define.
9647 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9648 rounding and exceptions handling.
9649 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9650 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9651 (__fe_nomask_env): Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9653 __fegetround instead of fegetround.
9654 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9657 2013-11-21 Roland McGrath <roland@hack.frob.com>
9659 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9662 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9664 2013-11-21 Meador Inge <meadori@codesourcery.com>
9667 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9668 (encrypt_r): Likewise.
9669 * malloc/obstack.h (obstack_free): Likewise.
9670 * posix/unistd.h (encrypt): Likewise.
9672 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9674 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9675 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9676 DL_CALL_DT_FINI() that call the functions directly.
9677 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9678 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9679 * elf/dl-fini.c: Likewise.
9681 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
9683 * malloc/hooks.c (memalign_check): Add alignment rounding.
9684 * malloc/malloc.c (_mid_memalign): New function.
9685 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9686 Implement by calling _mid_memalign.
9687 * manual/probes.texi (Memory Allocation Probes): Remove
9688 memory_valloc_retry and memory_pvalloc_retry.
9690 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9692 * locale/programs/locarchive.c (open_archive): Add const
9693 qualifier to ARCHIVEFNAME and copy default fname to
9697 * libio/tst-widetext.input: Rename Oriya to Odia.
9698 * locale/iso-639.def: Likewise.
9700 * manual/probes.texi (Mathematical Function Probes): Add
9701 documentation for sin, cos, asin and acos probes.
9702 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9703 (__sin32): Add slowasin probe.
9704 (__cos32): Add slowacos probe.
9705 (__mpsin): Add slowsin probe.
9706 (__mpcos): Add slowcos probe.
9708 2013-11-19 Joseph Myers <joseph@codesourcery.com>
9711 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9712 thread-local __sim_exceptions_thread and global
9713 __sim_exceptions_global.
9714 (__sim_disabled_exceptions): Change to thread-local
9715 __sim_disabled_exceptions_thread and global
9716 __sim_disabled_exceptions_global.
9717 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9718 and global __sim_round_mode_global.
9719 (__simulate_exceptions): Use thread-local floating-point state and
9720 set global state from it as needed.
9721 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9722 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9723 __sim_round_mode_thread.
9724 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9725 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9726 and global __sim_exceptions_global.
9727 (__sim_disabled_exceptions): Change to thread-local
9728 __sim_disabled_exceptions_thread and global
9729 __sim_disabled_exceptions_global.
9730 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9731 and global __sim_round_mode_global.
9732 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9733 (SIM_SET_GLOBAL): Likewise.
9734 * sysdeps/powerpc/soft-fp/sfp-machine.h
9735 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9736 __sim_round_mode_thread.
9737 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9738 __sim_disabled_exceptions_thread.
9739 (__sim_exceptions): Change to __sim_exceptions_thread.
9740 (__sim_disabled_exceptions): Change to
9741 __sim_disabled_exceptions_thread.
9742 (__sim_round_mode): Change to __sim_round_mode_thread.
9743 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9744 thread-local floating-point state and set global state from it as
9746 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9747 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9748 (__sim_disabled_exceptions): Remove extern declaration.
9749 (feenableexcept): Use thread-local floating-point state and set
9750 global state from it as needed.
9751 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9753 (__sim_disabled_exceptions): Likewise.
9754 (__sim_round_mode): Likewise.
9755 (__fegetenv): Use thread-local floating-point state.
9756 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9757 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9758 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9759 floating-point state and set global state from it as needed.
9760 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9761 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9762 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9764 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9765 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9767 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9768 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9769 Use __sim_round_mode_thread.
9770 * math/test-fenv-tls.c: New file.
9771 * math/Makefile (tests): Add test-fenv-tls.
9772 ($(objpfx)test-fenv-tls): Depend on
9773 $(common-objpfx)nptl/libpthread.so.
9775 2013-11-19 Andreas Schwab <schwab@suse.de>
9777 * locale/programs/locale.c (show_info): Decode wordarray elements.
9778 * locale/categories.def (LC_MONETARY): Add element for
9779 _NL_MONETARY_CRNCYSTR.
9780 * locale/C-monetary.c (conversion_rate): New variable.
9781 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9784 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9786 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9787 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9789 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9791 * elf/Makefile (tst-auxv): New test.
9792 * elf/tst-auxv.c: New
9793 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9795 2013-11-18 Joseph Myers <joseph@codesourcery.com>
9797 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9798 (hidden_proto): Caller changed.
9799 (hidden_tls_proto): New macro.
9800 (libc_hidden_tls_proto): Likewise.
9801 (rtld_hidden_tls_proto): Likewise.
9802 (libm_hidden_tls_proto): Likewise.
9803 (libresolv_hidden_tls_proto): Likewise.
9804 (librt_hidden_tls_proto): Likewise.
9805 (libdl_hidden_tls_proto): Likewise.
9806 (libnss_files_hidden_tls_proto): Likewise.
9807 (libnsl_hidden_tls_proto): Likewise.
9808 (libnss_nisplus_hidden_tls_proto): Likewise.
9809 (libutil_hidden_tls_proto): Likewise.
9811 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
9814 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9815 (decompose_rpath): Defer expansion to fillin_rpath.
9816 (_dl_init_paths): Pass linkmap to fillin_rpath.
9818 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9820 * benchtests/Makefile: Add strsep.
9821 * benchtests/bench-strsep.c: New file: strsep benchtest.
9822 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9824 2013-11-18 Andreas Schwab <schwab@suse.de>
9826 * locale/programs/locale.c (show_info) [case byte]: Check for
9827 '\377' instead of '\177'.
9828 * locale/C-monetary.c (not_available): Always use "\377".
9829 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9830 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9831 detect unavailable sign_posn locale elements.
9832 * locale/localeconv.c (__localeconv): For grouping and
9833 mon_grouping handle "\177" and "\377" like no grouping.
9834 (INT_ELEM): New macro. Use it to set all numeric members.
9835 * locale/programs/ld-monetary.c (monetary_read)
9836 <tok_mon_grouping>: Normalize single -1 to the empty string.
9837 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9840 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
9843 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9844 when we match (nil).
9845 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9847 2013-11-16 Joseph Myers <joseph@codesourcery.com>
9849 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9850 (NO_TEST_INLINE): Update value.
9851 (ERRNO_UNCHANGED): Likewise.
9852 (ERRNO_EDOM): Likewise.
9853 (ERRNO_ERANGE): Likewise.
9854 (IGNORE_RESULT): Likewise.
9855 (check_float_internal): Check signs of NaN results if
9857 (check_complex): Pass TEST_NAN_SIGN flag through to second
9858 check_float_internal call.
9859 (copysign_test_data): Add tests with quiet NaNs as second
9860 argument. Use TEST_NAN_SIGN.
9861 (fabs_test_data): Add test of negative quiet NaN argument. Use
9863 (signbit_test_data): Add tests of quiet NaN argument.
9864 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9866 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9868 (parse_args): Handle function results specified as IGNORE.
9869 * math/libm-test.inc (IGNORE_RESULT): New macro.
9870 (check_float_internal): Do not check numerical result if flag
9872 (check_complex): Pass through IGNORE_RESULT to second
9873 check_float_internal call.
9874 (check_int): Do not check numerical result if flag IGNORE_RESULT
9876 (check_long): Likewise.
9877 (check_bool): Likewise.
9878 (check_longlong): Likewise.
9879 (lrint_test_data): Add tests of infinite and NaN arguments.
9880 (lrint_tonearest_test_data): Likewise.
9881 (lrint_towardzero_test_data): Likewise.
9882 (lrint_downward_test_data): Likewise.
9883 (lrint_upward_test_data): Likewise.
9884 (llrint_test_data): Likewise.
9885 (llrint_tonearest_test_data): Likewise.
9886 (llrint_towardzero_test_data): Likewise.
9887 (llrint_downward_test_data): Likewise.
9888 (llrint_upward_test_data): Likewise.
9889 (lround_test_data): Likewise.
9890 (llround_test_data): Likewise.
9892 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9893 (ERRNO_UNCHANGED): Update value.
9894 (ERRNO_EDOM): Likewise.
9895 (ERRNO_ERANGE): Likewise.
9896 (NO_TEST_INLINE_FLOAT): New macro.
9897 (NO_TEST_INLINE_DOUBLE): Likewise.
9898 (enable_test): New function.
9899 (RUN_TEST_f_f): Check enable_test before running test.
9900 (RUN_TEST_2_f): Likewise.
9901 (RUN_TEST_fff_f): Likewise.
9902 (RUN_TEST_c_f): Likewise.
9903 (RUN_TEST_f_f1): Likewise.
9904 (RUN_TEST_fF_f1): Likewise.
9905 (RUN_TEST_fI_f1): Likewise.
9906 (RUN_TEST_ffI_f1): Likewise.
9907 (RUN_TEST_c_c): Likewise.
9908 (RUN_TEST_cc_c): Likewise.
9909 (RUN_TEST_f_i): Likewise.
9910 (RUN_TEST_f_i_tg): Likewise.
9911 (RUN_TEST_ff_i_tg): Likewise.
9912 (RUN_TEST_f_b): Likewise.
9913 (RUN_TEST_f_b_tg): Likewise.
9914 (RUN_TEST_f_l): Likewise.
9915 (RUN_TEST_f_L): Likewise.
9916 (RUN_TEST_fFF_11): Likewise.
9917 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9919 (cosh_test_data): Likewise.
9920 (exp_test_data): Likewise.
9921 (expm1_test_data): Likewise.
9922 (hypot_test_data): Likewise.
9923 (pow_test_data): Likewise.
9924 (sinh_test_data): Likewise.
9925 (tanh_test_data): Likewise.
9926 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9929 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9930 tests with quiet NaN input and output.
9931 (acosh_test_data): Likewise.
9932 (asin_test_data): Likewise.
9933 (asinh_test_data): Likewise.
9934 (atan_test_data): Likewise.
9935 (atanh_test_data): Likewise.
9936 (atan2_test_data): Likewise.
9937 (cbrt_test_data): Likewise.
9938 (cos_test_data): Likewise.
9939 (cosh_test_data): Likewise.
9940 (erf_test_data): Likewise.
9941 (erfc_test_data): Likewise.
9942 (exp_test_data): Likewise.
9943 (exp10_test_data): Likewise.
9944 (exp2_test_data): Likewise.
9945 (expm1_test_data): Likewise.
9946 (hypot_test_data): Likewise.
9947 (j0_test_data): Likewise.
9948 (j1_test_data): Likewise.
9949 (jn_test_data): Likewise.
9950 (lgamma_test_data): Likewise.
9951 (log_test_data): Likewise.
9952 (log10_test_data): Likewise.
9953 (log1p_test_data): Likewise.
9954 (log2_test_data): Likewise.
9955 (pow_test_data): Likewise.
9956 (scalb_test_data): Likewise.
9957 (sin_test_data): Likewise.
9958 (sincos_test_data): Likewise.
9959 (sinh_test_data): Likewise.
9960 (tan_test_data): Likewise.
9961 (tanh_test_data): Likewise.
9962 (tgamma_test_data): Likewise.
9963 (y0_test_data): Likewise.
9964 (y1_test_data): Likewise.
9965 (yn_test_data): Likewise.
9968 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9969 argument being NaN and avoid computations with second argument in
9971 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9972 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9973 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9975 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9977 * locale/iso-639.def: Add Chitwani Tharu (the).
9979 2013-11-14 Andreas Schwab <schwab@suse.de>
9981 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9982 word instead of empty string.
9984 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9987 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9989 (__fe_nomask_env): Likewise.
9991 2013-11-13 Steve Ellcey <sellcey@mips.com>
9993 * benchtests/bench-timing.h: Include time.h.
9995 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9998 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10000 * sysdeps/unix/sysv/linux/configure: Regenerated.
10002 2013-11-13 Joseph Myers <joseph@codesourcery.com>
10005 * stdlib/strtod_l.c (round_and_return): Do not consider
10006 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10007 exponent one less than half the least subnormal exponent.
10008 * stdlib/test-strtod-round-data: Add more tests.
10009 * stdlib/tst-strtod-round.c (tests): Regenerated.
10011 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10014 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10015 (__fe_mask_env): Likewise.
10016 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10017 libm_hidden_proto and add function prototype.
10018 (__fe_mask_env): Add function prototype.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10020 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10022 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10024 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10026 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10028 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10029 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10031 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10033 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10034 of htab_find_slot().
10036 2013-11-11 David S. Miller <davem@davemloft.net>
10039 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10040 symbol in the non-vis3 case in static builds.
10041 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10042 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10043 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10044 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10046 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10049 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10052 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10054 * benchtests/Makefile: Add bench-strtod.
10055 * benchtests/bench-strtod.c: New file: strtod benchtest
10057 2013-11-11 Andreas Schwab <schwab@suse.de>
10060 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10061 terminating NUL in key length.
10063 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10065 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10066 Add artificial ODP entry for vDSO symbol for PPC64.
10067 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10068 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10070 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10073 * nss/getent.c (services_keys): Recognize services starting with digit.
10075 2013-11-06 David S. Miller <davem@davemloft.net>
10078 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10079 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10081 2013-11-06 Will Newton <will.newton@linaro.org>
10083 * manual/memory.texi (Malloc Examples): Remove register
10084 keyword from examples.
10086 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
10088 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10090 2013-11-04 Joseph Myers <joseph@codesourcery.com>
10093 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10094 depending on [__GCC_IEC_559 > 0].
10095 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10096 depending on [__GCC_IEC_559_COMPLEX > 0].
10098 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
10100 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10103 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
10105 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10107 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
10110 * malloc/malloc (malloc_info): Do not handle first bin as
10113 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
10115 * locale/iso-639.def: Add Central Nahuatl (nhn).
10117 2013-11-01 Bruno Haible <bruno@clisp.org>
10120 * manual/math.texi (BSD Random): Specify range upper bound as
10123 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
10125 * locale/iso-639.def: Add Meadow Mari (mhr).
10127 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
10129 [BZ #14752], [BZ #15763]
10130 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10132 * rt/tst_shm.c: Add test for escaping directory.
10134 2013-10-31 Andreas Schwab <schwab@suse.de>
10137 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10138 followed by 'x' as part of digit sequence.
10139 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10141 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10144 * configure.ac: allow GNU Make 4.0 and greater.
10145 * configure: Regenerated.
10147 2013-10-30 Will Newton <will.newton@linaro.org>
10150 * malloc/hooks.c (memalign_check): Limit alignment to the
10151 maximum representable power of two.
10152 * malloc/malloc.c (__libc_memalign): Likewise.
10153 * malloc/tst-memalign.c (do_test): Add test for very
10154 large alignment values.
10155 * malloc/tst-posix_memalign.c (do_test): Likewise.
10157 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10160 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10161 (munmap_chunk): Likewise.
10162 (mremap_chunk): Likewise.
10164 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
10167 * stdlib/div.c (div): Remove obsolete code.
10168 * stdlib/ldiv.c (ldiv): Likewise.
10169 * stdlib/lldiv.c (lldiv): Likewise.
10171 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10174 * nss/nss_files/files-XXX.c (get_contents_ret): New
10176 (get_contents): New function.
10177 (internal_getent): Use it. Expand size of LINEBUFLEN.
10179 2013-10-30 Mike Frysinger <vapier@gentoo.org>
10181 * configure.in: Moved to ...
10182 * configure.ac: ... here. Change reference to configure.in
10184 * sysdeps/arm/preconfigure.ac: ... here.
10185 configure.in to configure.ac.
10186 * sysdeps/gnu/configure.in: Moved to ...
10187 * sysdeps/gnu/configure.ac: ... here.
10188 * sysdeps/i386/configure.in: Moved to ...
10189 * sysdeps/i386/configure.ac: ... here.
10190 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10191 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10192 * sysdeps/mach/configure.in: Moved to ...
10193 * sysdeps/mach/configure.ac: ... here.
10194 * sysdeps/mach/hurd/configure.in: Moved to ...
10195 * sysdeps/mach/hurd/configure.ac: ... here.
10196 * sysdeps/powerpc/configure.in: Moved to ...
10197 * sysdeps/powerpc/configure.ac: ... here.
10198 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10199 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10200 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10201 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10202 * sysdeps/s390/s390-32/configure.in: Moved to ...
10203 * sysdeps/s390/s390-32/configure.ac: ... here.
10204 * sysdeps/s390/s390-64/configure.in: Moved to ...
10205 * sysdeps/s390/s390-64/configure.ac: ... here.
10206 * sysdeps/sh/configure.in: Moved to ...
10207 * sysdeps/sh/configure.ac: ... here.
10208 * sysdeps/sparc/configure.in: Moved to ...
10209 * sysdeps/sparc/configure.ac: ... here.
10210 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10211 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10212 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10213 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10214 * sysdeps/x86_64/configure.in: Moved to ...
10215 * sysdeps/x86_64/configure.ac: ... here.
10216 * sysdeps/x86_64/preconfigure.in: Moved to ...
10217 * sysdeps/x86_64/preconfigure.ac: ... here.
10218 * aclocal.m4: Change reference to configure.in to configure.ac.
10219 * config.h.in: Likewise.
10220 * manual/install.texi: Likewise.
10221 * manual/maint.texi: Likewise.
10222 * Makefile: Likewise.
10223 * malloc/Makefile: Likewise.
10224 * nscd/Makefile: Likewise.
10225 * Makeconfig: Change reference to configure.in and
10226 preconfigure.in to configure.ac and preconfigure.ac
10228 * INSTALL: Regenerated.
10229 * configure: Likewise.
10230 * sysdeps/gnu/configure: Likewise.
10231 * sysdeps/i386/configure: Likewise.
10232 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10233 * sysdeps/mach/configure: Likewise.
10234 * sysdeps/mach/hurd/configure: Likewise.
10235 * sysdeps/powerpc/configure: Likewise.
10236 * sysdeps/powerpc/powerpc32/configure: Likewise.
10237 * sysdeps/powerpc/powerpc64/configure: Likewise.
10238 * sysdeps/s390/s390-32/configure: Likewise.
10239 * sysdeps/s390/s390-64/configure: Likewise.
10240 * sysdeps/sh/configure: Likewise.
10241 * sysdeps/sparc/configure: Likewise.
10242 * sysdeps/unix/sysv/linux/configure: Likewise.
10243 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10244 * sysdeps/x86_64/configure: Likewise.
10245 * sysdeps/x86_64/preconfigure: Likewise.
10247 2013-10-29 Andreas Schwab <schwab@suse.de>
10249 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10251 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10253 * benchtests/pow-inputs: Add new inputs.
10255 * benchtests/exp-inputs: Add new inputs.
10257 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10258 conditional check for return value.
10259 (__cos32): Likewise.
10261 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10263 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10264 to provide a boost for large inputs with word alignment.
10265 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10266 implementation based on optimized PPC64 strcpy.
10267 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10268 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10269 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10270 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10272 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10275 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10277 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10280 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10281 * time/tst-strptime.c (day_tests): Add testcase.
10283 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
10286 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10288 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10291 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10292 MAP_FAILED on error.
10294 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10297 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10298 heap for large requests.
10300 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10303 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10304 result if the result has no associated interface.
10305 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10306 interface for all 127.X.Y.Z addresses.
10308 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
10310 * locale/iso-639.def: Add Ligurian (lij)
10312 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
10315 * sunrpc/rpc_main.c: Document rpcgen -5.
10317 2013-10-19 Michael Stahl <mstahl@redhat.com>
10319 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10321 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10324 * posix/glob.c: Match only directories when trailing slash is present.
10325 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10326 (main): Add testcase.
10328 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
10331 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10333 2013-10-18 Carlos O'Donell <carlos@redhat.com>
10335 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10336 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10337 AUTH_DES and cindex for FIPS 140-2.
10338 (DES Encryption): Add cindex FIPS 46-3.
10340 * locale/locarchive.h (struct locarhandle): Add fname.
10341 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10342 if an optional argument was specified to --list-archive,
10344 * locale/programs/locarchive.c (show_archive_content): Take new
10345 argument fname and pass it via ah.fname to open_archive.
10346 * locale/programs/localedef.h: Update decl.
10347 (open_archive): If AH->fname is non-null, open that file
10348 rather than the default file name, and don't ignore ENOENT.
10349 (create_archive): Set AH.fname to NULL.
10350 (delete_locales_from_archive): Likewise.
10351 (add_locales_to_archive): Likewise.
10352 * locale/programs/locfile.c (write_all_categories): Likewise.
10354 2013-10-18 Joseph Myers <joseph@codesourcery.com>
10355 Aldy Hernandez <aldyh@redhat.com>
10357 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10358 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10359 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10360 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10361 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10362 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10363 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10364 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10365 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10366 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10367 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10368 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10369 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10370 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10371 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10373 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10375 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10377 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10379 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10380 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10382 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10383 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10384 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10385 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10387 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10388 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10389 * sysdeps/powerpc/preconfigure: Likewise.
10390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10392 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10393 Replace contents of file by #include of <fenv_libc.h>.
10394 * sysdeps/powerpc/soft-fp/sfp-machine.h
10395 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10397 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10398 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10399 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10400 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10401 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10402 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10404 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10405 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10406 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10407 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10408 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10410 Allow copysignl PLT reference to be missing.
10412 2013-10-18 Richard Sandiford <richard@codesourcery.com>
10413 Joseph Myers <joseph@codesourcery.com
10416 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10418 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10420 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10422 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10423 * elf/tst-tls1.c: Likewise.
10424 * elf/tst-tls10.h: Likewise.
10425 * elf/tst-tls14.c: Likewise.
10426 * elf/tst-tls2.c: Likewise.
10427 * elf/tst-tls3.c: Likewise.
10428 * elf/tst-tls4.c: Likewise.
10429 * elf/tst-tls5.c: Likewise.
10430 * elf/tst-tls6.c: Likewise.
10431 * elf/tst-tls7.c: Likewise.
10432 * elf/tst-tls8.c: Likewise.
10433 * elf/tst-tls9.c: Likewise.
10434 * elf/tst-tlsmod1.c: Likewise.
10435 * elf/tst-tlsmod13.c: Likewise.
10436 * elf/tst-tlsmod13a.c: Likewise.
10437 * elf/tst-tlsmod14a.c: Likewise.
10438 * elf/tst-tlsmod16a.c: Likewise.
10439 * elf/tst-tlsmod16b.c: Likewise.
10440 * elf/tst-tlsmod2.c: Likewise.
10441 * elf/tst-tlsmod3.c: Likewise.
10442 * elf/tst-tlsmod4.c: Likewise.
10443 * elf/tst-tlsmod5.c: Likewise.
10444 * elf/tst-tlsmod6.c: Likewise.
10446 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
10449 * malloc/malloc.c: remove checks for statistics.
10451 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10454 * inet/inet_net.c (inet_network): Detect additional invalid strings.
10455 * inet/tst-network.c: Add testcase.
10457 2013-10-17 Andreas Schwab <schwab@suse.de>
10460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10461 to determine canonical name.
10463 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
10465 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10466 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10467 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10469 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10483 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10489 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10490 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10495 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10497 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10498 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10499 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10500 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10502 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10503 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10507 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10522 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10524 2013-10-17 Joseph Myers <joseph@codesourcery.com>
10527 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10528 make result into a quiet NaN.
10530 2013-10-16 Joseph Myers <joseph@codesourcery.com>
10532 * soft-fp/adddf3.c: Fix horizontal whitespace.
10533 * soft-fp/addsf3.c: Likewise.
10534 * soft-fp/addtf3.c: Likewise.
10535 * soft-fp/divdf3.c: Likewise.
10536 * soft-fp/divsf3.c: Likewise.
10537 * soft-fp/divtf3.c: Likewise.
10538 * soft-fp/double.h: Likewise.
10539 * soft-fp/eqdf2.c: Likewise.
10540 * soft-fp/eqsf2.c: Likewise.
10541 * soft-fp/eqtf2.c: Likewise.
10542 * soft-fp/extenddftf2.c: Likewise.
10543 * soft-fp/extended.h: Likewise.
10544 * soft-fp/extendsfdf2.c: Likewise.
10545 * soft-fp/extendsftf2.c: Likewise.
10546 * soft-fp/extendxftf2.c: Likewise.
10547 * soft-fp/fixdfdi.c: Likewise.
10548 * soft-fp/fixdfsi.c: Likewise.
10549 * soft-fp/fixdfti.c: Likewise.
10550 * soft-fp/fixsfdi.c: Likewise.
10551 * soft-fp/fixsfsi.c: Likewise.
10552 * soft-fp/fixsfti.c: Likewise.
10553 * soft-fp/fixtfdi.c: Likewise.
10554 * soft-fp/fixtfsi.c: Likewise.
10555 * soft-fp/fixtfti.c: Likewise.
10556 * soft-fp/fixunsdfdi.c: Likewise.
10557 * soft-fp/fixunsdfsi.c: Likewise.
10558 * soft-fp/fixunsdfti.c: Likewise.
10559 * soft-fp/fixunssfdi.c: Likewise.
10560 * soft-fp/fixunssfsi.c: Likewise.
10561 * soft-fp/fixunssfti.c: Likewise.
10562 * soft-fp/fixunstfdi.c: Likewise.
10563 * soft-fp/fixunstfsi.c: Likewise.
10564 * soft-fp/fixunstfti.c: Likewise.
10565 * soft-fp/floatdidf.c: Likewise.
10566 * soft-fp/floatdisf.c: Likewise.
10567 * soft-fp/floatditf.c: Likewise.
10568 * soft-fp/floatsidf.c: Likewise.
10569 * soft-fp/floatsisf.c: Likewise.
10570 * soft-fp/floatsitf.c: Likewise.
10571 * soft-fp/floattidf.c: Likewise.
10572 * soft-fp/floattisf.c: Likewise.
10573 * soft-fp/floattitf.c: Likewise.
10574 * soft-fp/floatundidf.c: Likewise.
10575 * soft-fp/floatundisf.c: Likewise.
10576 * soft-fp/floatunditf.c: Likewise.
10577 * soft-fp/floatunsidf.c: Likewise.
10578 * soft-fp/floatunsisf.c: Likewise.
10579 * soft-fp/floatunsitf.c: Likewise.
10580 * soft-fp/floatuntidf.c: Likewise.
10581 * soft-fp/floatuntisf.c: Likewise.
10582 * soft-fp/floatuntitf.c: Likewise.
10583 * soft-fp/fmadf4.c: Likewise.
10584 * soft-fp/fmasf4.c: Likewise.
10585 * soft-fp/fmatf4.c: Likewise.
10586 * soft-fp/gedf2.c: Likewise.
10587 * soft-fp/gesf2.c: Likewise.
10588 * soft-fp/getf2.c: Likewise.
10589 * soft-fp/ledf2.c: Likewise.
10590 * soft-fp/lesf2.c: Likewise.
10591 * soft-fp/letf2.c: Likewise.
10592 * soft-fp/muldf3.c: Likewise.
10593 * soft-fp/mulsf3.c: Likewise.
10594 * soft-fp/multf3.c: Likewise.
10595 * soft-fp/negdf2.c: Likewise.
10596 * soft-fp/negsf2.c: Likewise.
10597 * soft-fp/negtf2.c: Likewise.
10598 * soft-fp/op-1.h: Likewise.
10599 * soft-fp/op-2.h: Likewise.
10600 * soft-fp/op-4.h: Likewise.
10601 * soft-fp/op-8.h: Likewise.
10602 * soft-fp/op-common.h: Likewise.
10603 * soft-fp/quad.h: Likewise.
10604 * soft-fp/single.h: Likewise.
10605 * soft-fp/soft-fp.h: Likewise.
10606 * soft-fp/sqrtdf2.c: Likewise.
10607 * soft-fp/sqrtsf2.c: Likewise.
10608 * soft-fp/sqrttf2.c: Likewise.
10609 * soft-fp/subdf3.c: Likewise.
10610 * soft-fp/subsf3.c: Likewise.
10611 * soft-fp/subtf3.c: Likewise.
10612 * soft-fp/truncdfsf2.c: Likewise.
10613 * soft-fp/trunctfdf2.c: Likewise.
10614 * soft-fp/trunctfsf2.c: Likewise.
10615 * soft-fp/trunctfxf2.c: Likewise.
10616 * soft-fp/unorddf2.c: Likewise.
10617 * soft-fp/unordsf2.c: Likewise.
10618 * soft-fp/unordtf2.c: Likewise.
10620 2013-10-15 Joseph Myers <joseph@codesourcery.com>
10622 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10623 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10625 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
10627 * elf/dl-libc.c: Clear initfini list after freeing.
10629 2013-10-14 Joseph Myers <joseph@codesourcery.com>
10631 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10632 * soft-fp/addsf3.c: Likewise.
10633 * soft-fp/addtf3.c: Likewise.
10634 * soft-fp/divdf3.c: Likewise.
10635 * soft-fp/divsf3.c: Likewise.
10636 * soft-fp/divtf3.c: Likewise.
10637 * soft-fp/double.h: Likewise.
10638 * soft-fp/eqdf2.c: Likewise.
10639 * soft-fp/eqsf2.c: Likewise.
10640 * soft-fp/eqtf2.c: Likewise.
10641 * soft-fp/extenddftf2.c: Likewise.
10642 * soft-fp/extended.h: Likewise.
10643 * soft-fp/extendsfdf2.c: Likewise.
10644 * soft-fp/extendsftf2.c: Likewise.
10645 * soft-fp/extendxftf2.c: Likewise.
10646 * soft-fp/fixdfdi.c: Likewise.
10647 * soft-fp/fixdfsi.c: Likewise.
10648 * soft-fp/fixdfti.c: Likewise.
10649 * soft-fp/fixsfdi.c: Likewise.
10650 * soft-fp/fixsfsi.c: Likewise.
10651 * soft-fp/fixsfti.c: Likewise.
10652 * soft-fp/fixtfdi.c: Likewise.
10653 * soft-fp/fixtfsi.c: Likewise.
10654 * soft-fp/fixtfti.c: Likewise.
10655 * soft-fp/fixunsdfdi.c: Likewise.
10656 * soft-fp/fixunsdfsi.c: Likewise.
10657 * soft-fp/fixunsdfti.c: Likewise.
10658 * soft-fp/fixunssfdi.c: Likewise.
10659 * soft-fp/fixunssfsi.c: Likewise.
10660 * soft-fp/fixunssfti.c: Likewise.
10661 * soft-fp/fixunstfdi.c: Likewise.
10662 * soft-fp/fixunstfsi.c: Likewise.
10663 * soft-fp/fixunstfti.c: Likewise.
10664 * soft-fp/floatdidf.c: Likewise.
10665 * soft-fp/floatdisf.c: Likewise.
10666 * soft-fp/floatditf.c: Likewise.
10667 * soft-fp/floatsidf.c: Likewise.
10668 * soft-fp/floatsisf.c: Likewise.
10669 * soft-fp/floatsitf.c: Likewise.
10670 * soft-fp/floattidf.c: Likewise.
10671 * soft-fp/floattisf.c: Likewise.
10672 * soft-fp/floattitf.c: Likewise.
10673 * soft-fp/floatundidf.c: Likewise.
10674 * soft-fp/floatundisf.c: Likewise.
10675 * soft-fp/floatunsidf.c: Likewise.
10676 * soft-fp/floatunsisf.c: Likewise.
10677 * soft-fp/floatuntidf.c: Likewise.
10678 * soft-fp/floatuntisf.c: Likewise.
10679 * soft-fp/floatuntitf.c: Likewise.
10680 * soft-fp/fmadf4.c: Likewise.
10681 * soft-fp/fmasf4.c: Likewise.
10682 * soft-fp/fmatf4.c: Likewise.
10683 * soft-fp/gedf2.c: Likewise.
10684 * soft-fp/gesf2.c: Likewise.
10685 * soft-fp/getf2.c: Likewise.
10686 * soft-fp/ledf2.c: Likewise.
10687 * soft-fp/lesf2.c: Likewise.
10688 * soft-fp/letf2.c: Likewise.
10689 * soft-fp/muldf3.c: Likewise.
10690 * soft-fp/mulsf3.c: Likewise.
10691 * soft-fp/multf3.c: Likewise.
10692 * soft-fp/negdf2.c: Likewise.
10693 * soft-fp/negsf2.c: Likewise.
10694 * soft-fp/negtf2.c: Likewise.
10695 * soft-fp/op-1.h: Likewise.
10696 * soft-fp/op-2.h: Likewise.
10697 * soft-fp/op-4.h: Likewise.
10698 * soft-fp/op-8.h: Likewise.
10699 * soft-fp/op-common.h: Likewise.
10700 * soft-fp/quad.h: Likewise.
10701 * soft-fp/single.h: Likewise.
10702 * soft-fp/soft-fp.h: Likewise.
10703 * soft-fp/sqrtdf2.c: Likewise.
10704 * soft-fp/sqrtsf2.c: Likewise.
10705 * soft-fp/sqrttf2.c: Likewise.
10706 * soft-fp/subdf3.c: Likewise.
10707 * soft-fp/subsf3.c: Likewise.
10708 * soft-fp/subtf3.c: Likewise.
10709 * soft-fp/truncdfsf2.c: Likewise.
10710 * soft-fp/trunctfdf2.c: Likewise.
10711 * soft-fp/trunctfsf2.c: Likewise.
10712 * soft-fp/trunctfxf2.c: Likewise.
10713 * soft-fp/unorddf2.c: Likewise.
10714 * soft-fp/unordsf2.c: Likewise.
10715 * soft-fp/unordtf2.c: Likewise.
10717 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
10720 * misc/error.c (error_tail): Fix possible buffer overflow.
10722 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10725 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10728 2013-10-14 P. J. McDermott <pj@pehjota.net>
10731 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10732 testing pipefail option.
10734 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10736 * soft-fp/double.h: Indent preprocessor directives inside #if.
10737 * soft-fp/extended.h: Likewise.
10738 * soft-fp/op-2.h: Likewise.
10739 * soft-fp/op-4.h: Likewise.
10740 * soft-fp/op-common.h: Likewise.
10741 * soft-fp/quad.h: Likewise.
10742 * soft-fp/single.h: Likewise.
10743 * soft-fp/soft-fp.h: Likewise.
10745 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10747 * iconv/iconv_prog.c: Fix typos.
10748 * stdio-common/psiginfo-data.h: Likewise.
10750 2013-10-12 Reuben Thomas <rrt@sc3d.org>
10753 * locale/setlocale.c: Fix typo.
10755 2013-10-12 Joseph Myers <joseph@codesourcery.com>
10758 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10759 signaling NaN arguments.
10760 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10761 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10764 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10765 unordered operands.
10766 * soft-fp/gesf2.c (__gesf2): Likewise.
10767 * soft-fp/getf2.c (__getf2): Likewise.
10768 * soft-fp/ledf2.c (__ledf2): Likewise.
10769 * soft-fp/lesf2.c (__lesf2): Likewise.
10770 * soft-fp/letf2.c (__letf2): Likewise.
10772 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10773 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10774 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10775 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10776 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10777 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10778 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10779 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10780 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10781 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10782 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10783 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10784 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10785 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10786 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10787 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10788 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10789 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10790 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10791 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10792 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10793 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10794 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10795 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10796 * soft-fp/floattidf.c (__floattidf): Likewise.
10797 * soft-fp/floattisf.c (__floattisf): Likewise.
10798 * soft-fp/floattitf.c (__floattitf): Likewise.
10799 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10800 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10801 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10802 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10803 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10804 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10805 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10806 * soft-fp/gesf2.c (__gesf2): Likewise.
10807 * soft-fp/getf2.c (__getf2): Likewise.
10808 * soft-fp/ledf2.c (__ledf2): Likewise.
10809 * soft-fp/lesf2.c (__lesf2): Likewise.
10810 * soft-fp/letf2.c (__letf2): Likewise.
10812 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10813 Undefine and redefine.
10814 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10815 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10816 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10817 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10818 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10819 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10820 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10821 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10822 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10823 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10824 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10825 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10826 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10827 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10828 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10831 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10832 without decrementing exponent if mantissa >= that for the
10833 denominator, not >.
10834 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10835 denominator, not >. Decrement exponent in < case instead of
10836 incrementing in >= case.
10837 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10838 without decrementing exponent if mantissa >= that for the
10839 denominator, not >.
10841 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10842 computing saturated result for unsigned overflow.
10844 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10845 Jeff Law <law@redhat.com>
10847 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10848 (atan2Mp): Add systemtap probe marker.
10849 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10850 (__ieee754_log): Add systemtap probe marker.
10851 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10852 (atanMp): Add systemtap probe marker.
10853 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10854 (tanMp): Add systemtap probe marker.
10855 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10856 (__slowexp): Add systemtap probe marker.
10857 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10858 (__slowpow): Add systemtap probe marker.
10859 * manual/probes.texi: Document probes.
10861 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
10864 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10866 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10868 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10869 written to buffer but not flushed.
10870 * libio/iofwrite_u.c: Likewise.
10871 * libio/iopadn.c: Return bytes returned even if EOF was
10873 * libio/iowpadn.c: Likewise.
10874 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10875 if _IO_padn does not write the whole buffer.
10876 [!COMPILE_WPRINTF] (PAD): Likewise.
10878 2013-10-10 David S. Miller <davem@davemloft.net>
10880 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10883 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10885 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10886 instead of FSF address.
10887 * soft-fp/fixdfti.c: Likewise.
10888 * soft-fp/fixsfti.c: Likewise.
10889 * soft-fp/fixtfti.c: Likewise.
10890 * soft-fp/fixunsdfti.c: Likewise.
10891 * soft-fp/fixunssfti.c: Likewise.
10892 * soft-fp/fixunstfti.c: Likewise.
10893 * soft-fp/floattidf.c: Likewise.
10894 * soft-fp/floattisf.c: Likewise.
10895 * soft-fp/floattitf.c: Likewise.
10896 * soft-fp/floatuntidf.c: Likewise.
10897 * soft-fp/floatuntisf.c: Likewise.
10898 * soft-fp/floatuntitf.c: Likewise.
10899 * soft-fp/trunctfxf2.c: Likewise.
10901 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10902 * soft-fp/fixdfti.c: Likewise.
10903 * soft-fp/fixsfti.c: Likewise.
10904 * soft-fp/fixtfti.c: Likewise.
10905 * soft-fp/fixunsdfti.c: Likewise.
10906 * soft-fp/fixunssfti.c: Likewise.
10907 * soft-fp/fixunstfti.c: Likewise.
10908 * soft-fp/floattidf.c: Likewise.
10909 * soft-fp/floattisf.c: Likewise.
10910 * soft-fp/floattitf.c: Likewise.
10911 * soft-fp/floatuntidf.c: Likewise.
10912 * soft-fp/floatuntisf.c: Likewise.
10913 * soft-fp/floatuntitf.c: Likewise.
10914 * soft-fp/trunctfxf2.c: Likewise.
10916 2013-10-10 David S. Miller <davem@davemloft.net>
10918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10920 2013-10-10 Joseph Myers <joseph@codsourcery.com>
10922 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10923 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10924 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10925 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10926 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10927 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10928 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10931 for NaNs before doing comparisons on argument.
10932 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10935 2013-10-10 Will Newton <will.newton@linaro.org>
10937 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10938 passed to _int_memalign does not overflow.
10940 2013-10-10 Torvald Riegel <triegel@redhat.com>
10942 * scripts/bench.pl: Add include-sources directive.
10943 * benchtests/README: Update documentation.
10945 2013-10-10 Joseph Myers <joseph@codesourcery.com>
10947 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10948 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10949 instead of FP_INIT_ROUNDMODE.
10950 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10951 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10954 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10955 copy class of input value.
10956 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10957 not handle exceptions.
10958 * soft-fp/negsf2.c (__negsf2): Likewise.
10959 * soft-fp/negtf2.c (__negtf2): Likewise.
10960 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10962 2013-10-09 Joseph Myers <joseph@codesourcery.com>
10964 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10965 semicolon. From Linux kernel.
10967 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10969 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10971 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10974 * manual/socket.texi: Added statement about buffer
10975 for gethostbyname2_r.
10977 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
10979 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10980 Use .p2align directive instead, throughout.
10981 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10982 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10983 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10984 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10986 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10987 * sysdeps/x86_64/strchr.S: Likewise.
10988 * sysdeps/x86_64/strrchr.S: Likewise.
10990 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10992 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10994 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10996 * sysdeps/generic/math_private.h (__mpsin1): Remove
10998 (__mpcos1): Likewise.
10999 (__mpsin): New argument __range_reduce.
11000 (__mpcos): Likewise.
11001 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11002 (slow): Use __mpsin and __mpcos.
11006 (sloww1): Likewise.
11007 (sloww2): Likewise.
11008 (bsloww): Likewise.
11009 (bsloww1): Likewise.
11010 (bsloww2): Likewise.
11011 (cslow2): Likewise.
11012 (csloww): Likewise.
11013 (csloww1): Likewise.
11014 (csloww2): Likewise.
11015 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11016 range_reduce. Merge in __mpsin1.
11017 (__mpcos): Likewise.
11018 (__mpsin1): Remove.
11019 (__mpcos1): Likewise.
11021 2013-10-07 Joseph Myers <joseph@codesourcery.com>
11023 * locale/loadlocale.c (_nl_intern_locale_data): Use
11025 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11026 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11027 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11028 obstack data is appropriately aligned.
11029 (obstack_int32_grow_fast): Likewise.
11030 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11031 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11032 (add_locale_uint32_array): Likewise.
11034 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11036 * benchtests/Makefile: Remove ARGLIST and RET variables.
11037 ($(objpfx)bench-%.c): Pass only function name to the script.
11038 * benchtests/README: Update documentation.
11039 * benchtests/acos-inputs: Add new directives.
11040 * benchtests/acosh-inputs: Likewise.
11041 * benchtests/asin-inputs: Likewise.
11042 * benchtests/asinh-inputs: Likewise.
11043 * benchtests/atan-inputs: Likewise.
11044 * benchtests/atanh-inputs: Likewise.
11045 * benchtests/cos-inputs: Likewise.
11046 * benchtests/cosh-inputs: Likewise.
11047 * benchtests/exp-inputs: Likewise.
11048 * benchtests/log-inputs: Likewise.
11049 * benchtests/pow-inputs: Likewise.
11050 * benchtests/rint-inputs: Likewise.
11051 * benchtests/sin-inputs: Likewise.
11052 * benchtests/sinh-inputs: Likewise.
11053 * benchtests/tan-inputs: Likewise.
11054 * benchtests/tanh-inputs: Likewise.
11055 * scripts/bench.pl: Add support for new directives.
11057 2013-10-07 Alan Modra <amodra@gmail.com>
11059 * README: Fix careless merge.
11061 2013-10-05 Alan Modra <amodra@gmail.com>
11063 * NEWS: Mention powerpc64le support and bugs fixed.
11064 * README: Both big-endian and little-endian powerpc64 supported.
11066 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11068 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11069 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11070 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11071 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11073 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11075 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11078 2013-10-04 Joseph Myers <joseph@codesourcery.com>
11080 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11081 Move -mhard-float appending from
11082 ports/sysdeps/powerpc/powerpc32/Makefile.
11083 [$(with-fp) = yes] (ASFLAGS): Likewise.
11084 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11085 * sysdeps/powerpc/nofpu: Move directory from
11086 ports/sysdeps/powerpc/nofpu.
11087 * sysdeps/powerpc/soft-fp: Move directory from
11088 ports/sysdeps/powerpc/soft-fp.
11089 * sysdeps/powerpc/powerpc32/405: Move directory from
11090 ports/sysdeps/powerpc/powerpc32/405.
11091 * sysdeps/powerpc/powerpc32/440: Move directory from
11092 ports/sysdeps/powerpc/powerpc32/440.
11093 * sysdeps/powerpc/powerpc32/464: Move directory from
11094 ports/sysdeps/powerpc/powerpc32/464.
11095 * sysdeps/powerpc/powerpc32/476: Move directory from
11096 ports/sysdeps/powerpc/powerpc32/476.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11098 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11100 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11102 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11104 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11106 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11107 * README: Update for powerpc-*-linux-gnu software floating point
11110 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11111 case to powerpc/powerpc32*.
11112 * sysdeps/unix/sysv/linux/configure: Regenerated.
11114 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11115 (_FPU_MASK_OM): Define as 0x04.
11116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11124 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11127 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11130 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11131 and setcontext_e500.
11133 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11135 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11137 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11139 * manual/threads.texi (Default Thread Attributes): Fix typo.
11141 2013-10-04 Will Newton <will.newton@linaro.org>
11143 * malloc/Makefile: Add tst-memalign.
11144 * malloc/tst-memalign.c: New file.
11146 * malloc/tst-posix_memalign.c: Add comments.
11147 (do_test): Add comments and call free on all potentially
11148 allocated pointers. Add space after cast.
11150 * malloc/tst-pvalloc.c: Add comments.
11151 (do_test): Add comments and call free on all potentially
11152 allocated pointers. Remove duplicate check for NULL pointer.
11153 Add space after cast.
11155 * malloc/tst-valloc.c: Add comments.
11156 (do_test): Add comments and call free on all potentially
11157 allocated pointers. Remove duplicate check for NULL pointer.
11158 Add space after cast.
11160 2013-10-04 Alan Modra <amodra@gmail.com>
11162 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11163 Use stdint types in rather than __attribute__((mode())).
11164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11166 2013-10-04 Alan Modra <amodra@gmail.com>
11168 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11169 Correct handling of unaligned relocs for little-endian.
11170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11172 2013-10-04 Alan Modra <amodra@gmail.com>
11174 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11175 * configure: Regenerate.
11176 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11177 * shlib-versions: Likewise.
11179 2013-10-04 Alan Modra <amodra@gmail.com>
11181 * string/tester.c (test_memrchr): Increment reported test cycle.
11183 2013-10-04 Alan Modra <amodra@gmail.com>
11185 * string/test-memcpy.c (do_one_test): When reporting errors, print
11186 string address and don't overrun end of string.
11188 2013-10-04 Alan Modra <amodra@gmail.com>
11190 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11191 insrdi. Make better use of reg selection to speed exit slightly.
11192 Schedule entry path a little better. Remove useless "are we done"
11193 checks on entry to main loop. Handle wrapping around zero address.
11194 Correct main loop count. Handle single left-over word from main
11195 loop inline rather than by using loop_small. Remove extra word
11196 case in loop_small caused by wrong loop count. Add little-endian
11198 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11199 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11201 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11202 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11203 support. Avoid rlwimi.
11204 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11206 2013-10-04 Alan Modra <amodra@gmail.com>
11208 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11209 insrdi. Formatting.
11210 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11211 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11212 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11213 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11214 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11215 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11217 2013-10-04 Alan Modra <amodra@gmail.com>
11219 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11220 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11221 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11222 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11223 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11224 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11225 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11226 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11227 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11228 use of regs. Use power7 mtocrf. Tidy function tails.
11230 2013-10-04 Alan Modra <amodra@gmail.com>
11232 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11233 Formatting. Consistently use rXXX register defines or rN defines.
11234 Use early exit labels that avoid restoring unused non-volatile regs.
11235 Make cr field use more consistent with rWORDn compares. Rename
11236 regs used as shift registers for unaligned loop, using rN defines
11237 for short lifetime/multiple use regs.
11238 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11240 addi 1,1,64 to pop stack frame. Simplify return value code.
11241 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11243 2013-10-04 Alan Modra <amodra@gmail.com>
11245 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11246 support. Correct typos, formatting. Optimize tail. Use insrdi
11247 rather than rlwimi.
11248 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11249 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11250 little-endian support. Correct typos.
11251 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11252 rather than rlwimi.
11253 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11254 in loop and entry code to keep "and." results.
11255 (strchr): Add little-endian support. Comment. Move cntlzd
11257 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11259 2013-10-04 Alan Modra <amodra@gmail.com>
11261 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11262 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11263 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11264 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11266 2013-10-04 Alan Modra <amodra@gmail.com>
11268 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11269 (rTMP): Define as r11.
11270 (strcmp): Add little-endian support. Optimise tail.
11271 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11272 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11273 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11274 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11275 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11277 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11279 2013-10-04 Alan Modra <amodra@gmail.com>
11281 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11282 little-endian support. Remove unnecessary "are we done" tests.
11283 Handle "s" wrapping around zero and extremely large "size".
11284 Correct main loop count. Handle single left-over word from main
11285 loop inline rather than by using small_loop. Correct comments.
11286 Delete "zero" tail, use "end_max" instead.
11287 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11289 2013-10-04 Alan Modra <amodra@gmail.com>
11291 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11292 support. Don't branch over align.
11293 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11294 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11295 support. Rearrange tmp reg use to suit. Comment.
11296 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11298 2013-10-04 Alan Modra <amodra@gmail.com>
11300 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11302 2013-10-04 Alan Modra <amodra@gmail.com>
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11305 conditional form of branch and link when obtaining pc.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11308 2013-10-04 Alan Modra <amodra@gmail.com>
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11315 2013-10-04 Alan Modra <amodra@gmail.com>
11317 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11318 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11319 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11320 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11321 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11322 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11323 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11324 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11325 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11326 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11328 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11329 Alistair Popple <alistair@ozlabs.au.ibm.com>
11330 Alan Modra <amodra@gmail.com>
11333 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11334 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11335 _dl_hwcap access for little-endian.
11336 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11337 destroy vmx regs when saving unaligned.
11338 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11339 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11340 destroy vmx regs when saving unaligned.
11342 2013-10-04 Alan Modra <amodra@gmail.com>
11344 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11345 Don't use a union to pack hi/low value.
11347 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11349 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11351 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11352 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11353 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11354 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11355 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11357 2013-10-04 Alan Modra <amodra@gmail.com>
11359 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11360 constants to usual value for .cst8 section, and remove redundant
11362 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11363 constant for 0x1p52. Load little-endian words of double from
11364 correct stack offsets.
11366 2013-10-04 Alan Modra <amodra@gmail.com>
11368 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11369 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11370 words of double from correct stack offsets.
11371 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11372 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11373 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11374 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11375 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11378 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11379 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11382 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11383 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11384 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11385 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11386 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11387 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11389 2013-10-04 Alan Modra <amodra@gmail.com>
11391 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11392 64-bit int/double union.
11393 (_FPU_SETCW): Likewise.
11394 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11395 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11397 2013-10-04 Alan Modra <amodra@gmail.com>
11399 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11400 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11402 2013-10-04 Alan Modra <amodra@gmail.com>
11404 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11405 use vector int constants.
11406 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11408 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11410 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11411 array with long long.
11412 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11413 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11414 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11415 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11416 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11417 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11418 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11419 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11420 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11421 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11422 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11423 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11424 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11426 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
11428 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11429 (__signbit): Likewise. Correct for little-endian.
11430 (__signbitl): Call __signbit.
11431 (lrint): Correct for little-endian.
11432 (lrintf): Call lrint.
11434 2013-10-04 Alan Modra <amodra@gmail.com>
11436 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11437 union 32-bit int array member with 64-bit int array.
11438 (t515, tm256): Double rather than long double.
11439 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11441 2013-10-04 Alan Modra <amodra@gmail.com>
11443 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11445 (IEEE854_LONG_DOUBLE_BIAS): Delete.
11446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11447 version of math_ldbl.h.
11449 2013-10-04 Alan Modra <amodra@gmail.com>
11451 [BZ #15734], [BZ #15735]
11452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11453 all uses of ieee875 long double macros and unions. Simplify test
11454 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
11455 ldbl_extract_mantissa value for ix,iy exponents. Properly
11456 normalize after ldbl_extract_mantissa, and don't add hidden bit
11457 already handled. Don't treat low word of ieee854 mantissa like
11458 low word of IBM long double and mask off bit when testing for
11460 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11461 all uses of ieee875 long double macros and unions. Simplify tests
11462 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11463 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11464 two1022, instead use their values. Recognise that tests for large
11465 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11466 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11467 Rewrite all uses of ieee875 long double macros and unions. Simplify
11468 test for 0.0L and nan. Correct negation.
11469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11470 ieee875 long double macros and unions. Correct output for large
11471 magnitude x. Correct absolute value calculation.
11472 (__erfcl): Likewise.
11473 * math/libm-test.inc: Add tests for errors discovered in IBM long
11474 double versions of fmodl, remainderl, erfl and erfcl.
11476 2013-10-04 Alan Modra <amodra@gmail.com>
11478 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11479 all uses of ieee854 long double macros and unions. Simplify tests
11480 for long doubles that are fully specified by the high double.
11481 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11483 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11484 Remove dead code too.
11485 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11486 (__ieee754_ynl): Likewise.
11487 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11488 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11489 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11490 Remove dead code too.
11491 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11492 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11494 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11498 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11499 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11501 Comment on variable precision.
11502 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11505 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11509 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11511 2013-10-04 Alan Modra <amodra@gmail.com>
11513 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11514 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11515 all uses of ieee854 long double macros and unions.
11516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11518 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11519 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11520 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11524 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11525 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11526 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11527 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11528 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11529 Simplify sign and nan test too.
11530 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11531 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11532 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11533 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11535 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11536 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11539 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11540 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11541 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11542 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11545 2013-10-04 Alan Modra <amodra@gmail.com>
11547 * stdio-common/printf_size.c (__printf_size): Don't use
11548 union ieee854_long_double in fpnum union.
11549 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11550 signbit macro to retrieve sign from long double.
11551 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11552 retrieve sign from long double.
11553 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11554 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11555 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11556 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11557 * math/test-misc.c (main): Don't use union ieee854_long_double.
11559 2013-10-04 Alan Modra <amodra@gmail.com>
11562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11563 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11564 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11565 calculation. Remove unnecessary test for denormal exponent.
11566 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11567 Correct handling of denormals. Avoid undefined shift behaviour.
11568 Correct normalisation of low mantissa when low double is denormal.
11569 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11570 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11571 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11572 Correct normalisation of low mantissa. Test for overflow of high
11573 mantissa and normalise.
11574 (ldbl_nearbyint): Use more readable constant for two52.
11575 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11576 (__mpn_construct_long_double): Fix test for overflow of high
11577 mantissa and correct normalisation. Avoid undefined shift.
11579 2013-10-04 Alan Modra <amodra@gmail.com>
11581 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11582 (union ibm_extended_long_double): Define as an array of ieee754_double.
11583 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11584 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11585 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11586 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11587 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11590 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11591 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11593 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11595 2013-10-03 Joseph Myers <joseph@codesourcery.com>
11597 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11598 page size instead of calling getpagesize.
11600 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11601 (LOCFILE_ALIGN_MASK): Likewise.
11602 (LOCFILE_ALIGN_UP): Likewise.
11603 (LOCFILE_ALIGNED_P): Likewise.
11604 * locale/programs/ld-collate.c (collate_output): Use the new
11605 macros instead of __alignof__ (int32_t).
11606 * locale/weight.h (findidx): Likewise.
11608 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
11611 * manual/string.texi: Fix strncat and wcsncat.
11613 2013-10-03 Brooks Moses <bmoses@google.com>
11616 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11617 * Makerules: ...here, and adjust associated comments.
11619 2013-10-02 Will Newton <will.newton@linaro.org>
11621 * malloc/Makefile: Add tst-pvalloc.
11622 * malloc/tst-pvalloc.c: New file.
11624 2013-10-02 Will Newton <will.newton@linaro.org>
11626 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11627 improve test coverage.
11629 2013-10-02 Will Newton <will.newton@linaro.org>
11631 * malloc/Makefile: Add tst-posix_memalign.
11632 * malloc/tst-posix_memalign.c: New file.
11634 2013-10-01 Eric Blake <eblake@redhat.com>
11636 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11637 Use __THROWNL rather than __THROW on static functions.
11639 2013-09-30 Petr Machata <pmachata@redhat.com>
11641 * elf/elf.h (R_AARCH64_ABS16): New macro.
11642 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11643 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11644 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11645 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11646 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11647 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11648 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11649 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11650 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11651 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11652 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11653 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11654 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11655 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11656 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11657 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11658 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11659 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11660 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11661 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11662 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11663 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11664 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11665 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11666 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11667 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11668 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11669 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11670 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11671 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11672 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11673 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11674 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11675 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11676 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11677 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11678 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11679 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11680 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11681 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11682 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11683 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11684 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11685 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11686 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11687 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11688 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11689 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11690 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11691 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11692 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11693 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11694 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11695 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11696 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11697 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11698 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11699 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11700 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11701 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11702 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11703 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11704 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11705 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11706 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11707 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11708 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11709 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11710 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11711 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11712 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11713 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11714 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11715 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11716 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11717 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11718 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11719 (R_AARCH64_TLSDESC_LDR): Likewise.
11720 (R_AARCH64_TLSDESC_ADD): Likewise.
11721 (R_AARCH64_TLSDESC_CALL): Likewise.
11723 2013-09-30 Andreas Schwab <schwab@suse.de>
11726 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11727 the nss database lookup.
11728 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11731 2013-09-28 Mike Frysinger <vapier@gentoo.org>
11733 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11735 2013-09-28 P. J. McDermott <pj@pehjota.net>
11737 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11738 ${Bash-specific parameter/pattern/string} parameter expansion.
11739 * sysdeps/unix/make-syscalls.sh: Likewise.
11741 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11743 * sysdeps/sh/stackguard-macros.h: New file.
11745 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
11747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11748 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11749 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11750 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11751 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11752 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11754 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11756 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11757 Fix thread ID register.
11759 2013-09-25 Joseph Myers <joseph@codesourcery.com>
11761 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11762 [POSIX || UNIX98]: Require rather than permitting all symbols from
11764 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11765 element of struct sched_param.
11766 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11767 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11768 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11769 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11772 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11774 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11775 argument calculation.
11777 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11779 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11781 [POSIX] (pthread_attr_t): Do not require type.
11782 [POSIX] (pthread_cond_t): Likewise.
11783 [POSIX] (pthread_condattr_t): Likewise.
11784 [POSIX] (pthread_key_t): Likewise.
11785 [POSIX] (pthread_mutex_t): Likewise.
11786 [POSIX] (pthread_mutexattr_t): Likewise.
11787 [POSIX] (pthread_once_t): Likewise.
11788 [POSIX] (pthread_t): Likewise.
11789 [POSIX-based standards] (pthread_atfork): Expect function.
11791 2013-09-24 Joseph Myers <joseph@codesourcery.com>
11792 Richard Sandiford <richard@codesourcery.com>
11794 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11795 (swap_endianness_p): New extern variable.
11796 (set_big_endian): New inline function.
11797 (maybe_swap_uint32): Likewise.
11798 (maybe_swap_uint32_array): Likewise.
11799 (maybe_swap_uint32_obstack): Likewise.
11800 * locale/programs/locfile.c: Include <stdbool.h>.
11801 (swap_endianness_p): New variable.
11802 (add_locale_uint32): Call maybe_swap_uint32.
11803 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11804 (write_locale_data): Call maybe_swap_uint32_array.
11805 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11807 (obstack_int32_grow_fast): Likewise.
11808 (output_weightwc): Call maybe_swap_uint32_obstack.
11809 (collate_output): Likewise.
11810 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11811 (OPT_LITTLE_ENDIAN): Likewise.
11812 (options): Add --little-endian and --big-endian options.
11813 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11814 * locale/programs/locarchive.c: Include "locfile.h".
11818 (create_archive): Use the new macros to access fields of
11819 structures directly mapped from or written to locale archives.
11820 (oldlocrecentcmp): Likewise.
11821 (enlarge_archive): Likewise.
11822 (insert_name): Likewise.
11823 (add_alias): Likewise.
11824 (add_locale): Likewise.
11825 (delete_locales_from_archive): Likewise.
11826 (show_archive_content): Likewise.
11827 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11830 2013-09-24 Roland McGrath <roland@hack.frob.com>
11832 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11833 http://www.gnu.org/doc/freemanuals.texi.
11834 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11836 2013-09-24 Will Newton <will.newton@linaro.org>
11838 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11841 2013-09-23 Joseph Myers <joseph@codesourcery.com>
11843 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11846 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11848 * manual/threads.texi (POSIX Threads): Fix a typo.
11850 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11853 * string/tst-strcoll-overflow.c: New test case.
11854 * string/Makefile (xtests): Add tst-strcoll-overflow.
11855 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11856 cache if string sizes may cause integer overflow.
11859 * string/strcoll_l.c (coll_seq): New members rule, idx,
11860 save_idx and back_us.
11861 (get_next_seq_nocache): New function.
11862 (do_compare_nocache): New function.
11863 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11866 2013-09-23 Carlos O'Donell <carlos@redhat.com>
11869 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11870 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11871 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11874 * elf/Makefile (tests): Add tst-ptrguard1.
11875 (tests-static): Add tst-ptrguard1-static.
11876 (tst-ptrguard1-ARGS): Define.
11877 (tst-ptrguard1-static-ARGS): Define.
11878 * elf/tst-ptrguard1.c: New file.
11879 * elf/tst-ptrguard1-static.c: New file.
11880 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11881 * sysdeps/i386/stackguard-macros.h: Likewise.
11882 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11883 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11884 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11885 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11886 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11887 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11889 2013-09-23 Hector Marco <hecmargi@upv.es>
11890 Ismael Ripoll <iripoll@disca.upv.es>
11891 Carlos O'Donell <carlos@redhat.com>
11894 * sysdeps/generic/stackguard-macros.h: Define
11895 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11896 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11897 Define __pointer_chk_guard_local.
11898 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11899 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11901 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11904 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11906 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11908 * include/string.h (__ffs): Declare as hidden.
11909 * string/ffs.c (__ffs): Define as hidden.
11910 * sysdeps/i386/ffs.c (__ffs): Likewise.
11911 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11912 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11913 * sysdeps/s390/ffs.c (__ffs): Likewise.
11914 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11916 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
11918 * NEWS: Mention malloc probes.
11920 * malloc/arena.c (new_heap): New memory_heap_new probe.
11921 (grow_heap): New memory_heap_more probe.
11922 (shrink_heap): New memory_heap_less probe.
11923 (heap_trim): New memory_heap_free probe.
11924 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11925 (systrim): New memory_sbrk_less probe.
11926 * manual/probes.texi: Document them.
11928 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11929 * manual/probes.texi: Document it.
11931 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11932 (__libc_realloc): Add memory_realloc_retry probe.
11933 (__libc_memalign): Add memory_memalign_retry probe.
11934 (__libc_valloc): Add memory_valloc_retry probe.
11935 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11936 (__libc_calloc): Add memory_calloc_retry probe.
11937 * manual/probes.texi: Document them.
11939 * malloc/arena.c (get_free_list): Add probe
11940 memory_arena_reuse_free_list.
11941 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11942 and memory_arena_reuse.
11943 (arena_get2) [!PER_THREAD]: Likewise.
11944 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11945 memory_arena_reuse_realloc.
11946 * manual/probes.texi: Document them.
11948 * malloc/malloc.c (__libc_free): Add
11949 memory_mallopt_free_dyn_thresholds probe.
11950 (__libc_mallopt): Add multiple memory_mallopt probes.
11951 * manual/probes.texi: Document them.
11953 * malloc/malloc.c: Include stap-probe.h.
11954 (__libc_mallopt): Add memory_mallopt probe.
11955 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11956 * manual/probes.texi: New.
11957 * manual/Makefile (chapters): Add probes.
11958 * manual/threads.texi: Set next node.
11960 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11962 [BZ #15963, #13985]
11963 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11964 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11965 Add `Chinese' to `nan' entry name.
11967 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11969 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11970 (POLYNOMIAL): Likewise.
11971 (TAYLOR_SINCOS): Likewise.
11972 (TAYLOR_SLOW): Likewise.
11973 (__sin): Use TAYLOR_SINCOS.
11975 (slow): Use TAYLOR_SLOW.
11977 (bsloww): Likewise.
11978 (csloww): Likewise.
11980 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11982 * stdlib/strtod_l.c: Fix buffer overrun.
11984 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11986 * benchtests/Makefile (bench): Add sincos.
11987 * benchtests/bench-sincos.c: New file.
11989 * math/libm-test.inc (cos_test_data): New test inputs.
11990 (sin_test_data): Likewise.
11992 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11998 (sloww1): Likewise.
11999 (sloww2): Likewise.
12000 (bsloww1): Likewise.
12001 (bsloww2): Likewise.
12002 (cslow2): Likewise.
12003 (csloww1): Likewise.
12004 (csloww2): Likewise.
12006 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12015 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12017 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12018 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12019 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12020 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12021 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12022 * elf/cache.c (print_entry): Handle the new cache flags.
12024 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12025 Aldy Hernandez <aldyh@redhat.com>
12027 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12028 Change condition to [_SOFT_FLOAT].
12029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12033 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12034 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12041 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12044 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12047 2013-09-18 Joseph Myers <joseph@codesourcery.com>
12049 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12050 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12051 (__longjmp): Use LOAD_GP to load saved GPRs.
12052 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12053 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12054 (__sigsetjmp): Use SAVE_GP to save GPRs.
12056 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12057 Do not append -msoft-float.
12058 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12060 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12062 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12064 2013-09-17 Joseph Myers <joseph@codesourcery.com>
12067 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12068 (_FPU_GETCW): Use initial "__" on variable and field names but not
12069 on macro parameter name.
12070 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12071 parentheses around reference to macro parameter.
12073 2013-09-13 Richard Sandiford <richard@codesourcery.com>
12075 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12077 (ctype_startup): Use uint32_t in cast and sizeof for
12080 2013-09-11 Jia Liu <proljc@gmail.com>
12082 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12084 [__FreeBSD__]: Likewise.
12086 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
12088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12089 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12090 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12091 (strchr): Remove __strchr_sse42 ifunc selection.
12092 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12093 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12095 2013-09-11 Will Newton <will.newton@linaro.org>
12097 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12098 parameter to RES. Remove hardcoded 1000 value.
12099 * benchtests/bench-skeleton.c (main): Pass RES parameter
12100 to TIMING_INIT and multiply result by 1000.
12102 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12106 2013-09-11 Andreas Schwab <schwab@suse.de>
12108 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12110 (O_TMPFILE) [__USE_GNU]: Define.
12111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12114 2013-09-11 Will Newton <will.newton@linaro.org>
12117 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12120 2013-09-11 Will Newton <will.newton@linaro.org>
12123 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12126 2013-09-11 Will Newton <will.newton@linaro.org>
12129 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12132 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
12134 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12135 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12140 2013-09-10 Allan McRae <allan@archlinux.org>
12143 * manual/arith.texi (Parsing of Floats): Clarify
12147 * manual/install.texi (Running make install): Mention
12149 * INSTALL: Regenerated.
12151 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12153 * csu/init-first.c (_init): Remove the !SHARED condition around
12154 FPU control word initialization.
12155 * elf/dl-support.c (_dl_fpu_control): New variable.
12156 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12157 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12158 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12159 * math/test-fpucw-static.c: New file.
12160 * math/test-fpucw-ieee.c: New file.
12161 * math/test-fpucw-ieee-static.c: New file.
12162 * math/Makefile (tests): Add `test-fpucw-ieee' and
12164 (tests-static): New variable.
12165 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12167 [($(build-shared),yes)]
12168 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12170 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12173 2013-09-09 Allan McRae <allan@archlinux.org>
12176 * manual/string.texi (Collation Functions): Fix typo in
12178 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12181 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12184 * libio/memstream.c (open_memstream): Fix memory leak.
12185 * libio/wmemstream.c (open_wmemstream): Likewise.
12188 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12190 2013-09-09 Will Newton <will.newton@linaro.org>
12192 * malloc/Makefile: Add tst-realloc to tests.
12193 * malloc/tst-realloc.c: New file.
12195 2013-09-09 Allan McRae <allan@archlinux.org>
12198 * COPYING: Update from GNU website to fix FSF address.
12199 * COPYING.LIB: Likewise.
12201 2013-09-06 David S. Miller <davem@davemloft.net>
12203 * po/zh_TW.po: Update Chinese (traditional) translation from
12204 translation project.
12206 2013-09-06 Richard Sandiford <richard@codesourcery.com>
12207 Joseph Myers <joseph@codesourcery.com>
12209 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12211 (obstack_chunk_alloc): New macro.
12212 (obstack_chunk_free): Likewise.
12213 (record_offset): New function.
12214 (init_locale_data): Likewise.
12215 (align_locale_data): Likewise.
12216 (add_locale_empty): Likewise.
12217 (add_locale_raw_data): Likewise.
12218 (add_locale_raw_obstack): Likewise.
12219 (add_locale_string): Likewise.
12220 (add_locale_wstring): Likewise.
12221 (add_locale_uint32): Likewise.
12222 (add_locale_uint32_array): Likewise.
12223 (add_locale_char): Likewise.
12224 (start_locale_structure): Likewise.
12225 (end_locale_structure): Likewise.
12226 (start_locale_prelude): Likewise.
12227 (end_locale_prelude): Likewise.
12228 (write_locale_data): Take locale_file structure rather than an
12230 * locale/programs/locfile.h: Include "obstack.h".
12231 (struct locale_file): Change to store locale file contents instead
12233 (init_locale_data): New prototype.
12234 (align_locale_data): Likewise.
12235 (add_locale_empty): Likewise.
12236 (add_locale_raw_data): Likewise.
12237 (add_locale_raw_obstack): Likewise.
12238 (add_locale_string): Likewise.
12239 (add_locale_wstring): Likewise.
12240 (add_locale_uint32): Likewise.
12241 (add_locale_uint32_array): Likewise.
12242 (add_locale_char): Likewise.
12243 (start_locale_structure): Likewise.
12244 (end_locale_structure): Likewise.
12245 (start_locale_prelude): Likewise.
12246 (end_locale_prelude): Likewise.
12247 (write_locale_data): Update prototype.
12248 * locale/programs/3level.h (struct TABLE): Remove result field.
12249 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12250 Use new locale_file interface.
12251 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12252 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12253 * locale/programs/ld-address.c (address_output): Use new
12254 locale_file interface.
12255 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12257 (collate_finish): Don't call collseq_table_finalize.
12258 (collate_output): Use new locale_file interface.
12259 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12261 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12262 (TABLE): Move defines earlier in file.
12263 (ELEMENT): Likewise.
12264 (DEFAULT): Likewise.
12265 (wctrans_table_add): Move macro and inline function earlier in
12267 (struct wctype_table): Move type earlier in file.
12268 (add_locale_wctype_table): New static prototype.
12269 (struct locale_ctype_t): Use logical types instead of struct iovec
12270 pointers for members.
12271 (ctype_output): Use new locale_file interface.
12272 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12273 new locale_file interface.
12274 (allocate_arrays): Update for use of new locale_file interface.
12275 * locale/programs/ld-identification.c (identification_output): Use
12276 new locale_file interface.
12277 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12278 * locale/programs/ld-messages.c (messages_output): Likewise.
12279 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12280 * locale/programs/ld-name.c (name_output): Likewise.
12281 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12282 * locale/programs/ld-paper.c (paper_output): Likewise.
12283 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12284 * locale/programs/ld-time.c (time_output): Likewise.
12286 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12288 * benchtests/Makefile: Add memrchr benchmark.
12289 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12290 benchmark as memrchr.
12291 * benchtests/bench-memrchr-ifunc.c: New file.
12292 * benchtests/bench-memrchr.c: New file.
12294 2013-09-06 Will Newton <will.newton@linaro.org>
12296 * benchtests/Makefile (string-bench): Add memcpy.
12298 2013-09-05 Carlos O'Donell <carlos@redhat.com>
12299 Cong Wang <amwang@redhat.com>
12302 * sysdeps/unix/sysv/linux/bits/in.h
12303 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12304 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12305 before __USE_KERNEL_IPV6_DEFS uses.
12306 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12308 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12309 sockaddr_in6, or ipv6_mreq.
12311 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12314 memory access for final bytes in some large inputs.
12315 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12317 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12319 * string/test-memrchr.c: New file.
12320 * string/test-memrchr-ifunc.c: New file.
12321 * string/Makefile: Add new memrchr testcase.
12323 2013-09-05 Mike Frysinger <vapier@gentoo.org>
12325 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12326 fanotify_init returns EPERM.
12328 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12330 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12332 (top level): Treat second token from macro or constant entries for
12333 allowed headers as allowed.
12334 * include/complex.h: Condition internal declarations on
12336 * include/fenv.h: Condition include of <stdbool.h> and internal
12337 declarations on [!_ISOMAC].
12339 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12342 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12344 2013-09-04 Joseph Myers <joseph@codesourcery.com>
12346 * configure.in (--enable-versioning): Remove configure option.
12347 (libc_cv_asm_symver_directive): Remove configure test.
12348 (libc_cv_ld_version_script_option): Likewise.
12349 (VERSIONING): Remove variable and AC_SUBST.
12350 (DO_VERSIONING): Remove AC_DEFINE.
12351 * configure: Regenerated.
12352 * config.h.in (DO_VERSIONING): Remove macro.
12353 * Makerules [$(versioning) = yes]: Change conditionals to
12354 [$(build-shared) = yes].
12355 * config.make.in (versioning): Remove variable.
12356 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12357 [$(build-shared) = yes].
12358 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12359 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12360 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12361 [$(build-shared) = yes].
12362 * extra-lib.mk [$(versioning) = yes]: Likewise.
12363 * hurd/Makefile [$(versioning) = yes]: Likewise.
12364 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12366 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12368 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12369 [SHARED && !NO_HIDDEN].
12370 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12372 [SHARED && DO_VERSIONING]: Likewise..
12373 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12374 [$(build-shared) = yes].
12375 * manual/install.texi (--disable-versioning): Remove
12377 * INSTALL: Regenerated.
12378 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12380 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12381 [$(build-shared) = yes].
12382 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12383 * sysdeps/i386/i686/multiarch/strstr-c.c
12384 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12385 [SHARED && !NO_HIDDEN].
12386 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12387 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12388 * sysdeps/powerpc/powerpc32/dl-machine.c
12389 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12390 * sysdeps/powerpc/powerpc32/sysdep.h
12391 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12392 to [SHARED && PIC && !NO_HIDDEN].
12393 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12394 conditional to [SHARED].
12396 2013-09-04 Will Newton <will.newton@linaro.org>
12398 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12399 * benchtests/bench-string.h: Include bench-timing.h instead
12400 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12401 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12402 call to HP_TIMING_DIFF_INIT.
12403 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12404 instead of hp-timing.h macros.
12405 * benchtests/bench-memchr.c: Likewise.
12406 * benchtests/bench-memcmp.c: Likewise.
12407 * benchtests/bench-memcpy.c: Likewise.
12408 * benchtests/bench-memmem.c: Likewise.
12409 * benchtests/bench-memmove.c: Likewise.
12410 * benchtests/bench-memset.c: Likewise.
12411 * benchtests/bench-rawmemchr.c: Likewise.
12412 * benchtests/bench-strcasecmp.c: Likewise.
12413 * benchtests/bench-strcasestr.c: Likewise.
12414 * benchtests/bench-strcat.c: Likewise.
12415 * benchtests/bench-strchr.c: Likewise.
12416 * benchtests/bench-strcmp.c: Likewise.
12417 * benchtests/bench-strcpy.c: Likewise.
12418 * benchtests/bench-strcpy_chk.c: Likewise.
12419 * benchtests/bench-strlen.c: Likewise.
12420 * benchtests/bench-strncasecmp.c: Likewise.
12421 * benchtests/bench-strncat.c: Likewise.
12422 * benchtests/bench-strncmp.c: Likewise.
12423 * benchtests/bench-strncpy.c: Likewise.
12424 * benchtests/bench-strnlen.c: Likewise.
12425 * benchtests/bench-strpbrk.c: Likewise.
12426 * benchtests/bench-strrchr.c: Likewise.
12427 * benchtests/bench-strspn.c: Likewise.
12428 * benchtests/bench-strstr.c: Likewise.
12430 2013-09-04 Will Newton <will.newton@linaro.org>
12432 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12434 2013-09-03 Joseph Myers <joseph@codesourcery.com>
12437 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12438 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12439 * math/libm-test.inc (lgamma_test_data): Add more tests.
12440 * sysdeps/i386/fpu/libm-test-ulps: Update.
12441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12443 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
12445 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12449 Add strcmp-sse2-unaligned
12450 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12452 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12454 * Versions.def (libc): Add GLIBC_2.19.
12456 2013-09-02 Mike Frysinger <vapier@gentoo.org>
12458 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12459 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12461 2013-09-02 Joseph Myers <joseph@codesourcery.com>
12464 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12465 intermediate calculations in recurrence.
12466 (__ieee754_ynf): Likewise.
12467 * math/libm-test.inc (jn_test_data): Do not allow spurious
12468 underflow exception. Add more tests.
12469 (yn_test_data): Add more tests.
12470 * sysdeps/i386/fpu/libm-test-ulps: Update.
12471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12473 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
12475 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12477 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12479 * csu/init-first.c: Fix then/than typos.
12480 * locale/programs/ld-collate.c: Likewise.
12481 * locale/programs/linereader.h: Likewise.
12482 * manual/charset.texi: Likewise.
12483 * manual/filesys.texi: Likewise.
12484 * manual/stdio.texi: Likewise.
12485 * manual/string.texi: Likewise.
12486 * stdlib/fmtmsg.c: Likewise.
12487 * sysdeps/i386/stpncpy.S: Likewise.
12488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12489 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12490 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12493 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12495 * elf/dl-open.c: Fix typos.
12496 * iconvdata/gbbig5.c: Likewise.
12497 * iconvdata/iso-2022-jp.c: Likewise.
12498 * iconv/gconv_int.h: Likewise.
12499 * iconv/loop.c: Likewise.
12500 * nis/rpcsvc/nis.h: Likewise.
12501 * resolv/ns_name.c: Likewise.
12502 * stdio-common/vfscanf.c: Likewise.
12503 * streams/stropts.h: Likewise.
12504 * sunrpc/rpc_thread.c: Likewise.
12505 * sysdeps/i386/strpbrk.S: Likewise.
12506 * sysdeps/ieee754/k_standard.c: Likewise.
12507 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12509 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12510 * sysdeps/mach/hurd/profil.c: Likewise.
12511 * sysdeps/s390/dl-procinfo.h: Likewise.
12512 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12513 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12514 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12515 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12518 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
12520 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12523 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12525 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12526 aix specific files.
12527 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12529 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12530 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12531 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12533 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12534 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12536 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12537 Roland McGrath <roland@hack.frob.com>
12539 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12540 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12542 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12544 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12545 __executable_start symbol instead of _start.
12547 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12549 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12550 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12552 * sysdeps/gnu/ldsodefs.h: ... this new file.
12554 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12555 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12556 instead of ELFOSABI_LINUX.
12558 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12559 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12560 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12561 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12563 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12564 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12565 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12567 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12568 (ibm_extended_long_double): Add ieee_nan member.
12569 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12570 (do_test): New function.
12572 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12574 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12575 functions, renamed from truncdfsf_test, trunctfsf_test,
12577 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12579 (do_test): Run all these.
12581 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
12583 * argp/argp-help.c: Fix typos.
12584 * argp/argp-parse.c: Likewise.
12585 * debug/backtracesyms.c: Likewise.
12586 * elf/elf.h: Likewise.
12587 * malloc/malloc.c: Likewise.
12588 * nis/nis_print.c: Likewise.
12589 * resolv/res_comp.c: Likewise.
12590 * stdlib/stdlib.h: Likewise.
12591 * sunrpc/clnt_tcp.c: Likewise.
12592 * sunrpc/clnt_udp.c: Likewise.
12593 * sunrpc/clnt_unix.c: Likewise.
12594 * sysdeps/unix/bsd/ptsname.c: Likewise.
12595 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12596 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12603 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12605 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12607 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12610 2013-08-27 Mike Frysinger <vapier@gentoo.org>
12613 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12614 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12615 ($(objpfx)bug-dl-leaf): New rule.
12616 ($(objpfx)bug-dl-leaf.so): Likewise.
12617 ($(objpfx)bug-dl-leaf.out): Likewise.
12618 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12619 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12620 * dlfcn/bug-dl-leaf.c: New test.
12621 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12622 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12623 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12624 (dlclose): Likewise.
12625 (dlmopen): Likewise.
12627 2013-08-27 Roland McGrath <roland@hack.frob.com>
12629 * include/netdb.h [!_ISOMAC]:
12630 Don't include <tls.h>.
12631 (h_errno, __libc_h_errno): Move declaration and macros out of
12634 * include/resolv.h [_RESOLV_H_]:
12635 Don't include <tls.h>.
12636 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12637 * resolv/res_libc.c: Don't include <tls.h>.
12638 (_res): Use __attribute__ ((nocommon)) in place of
12639 __attribute__ ((section (".bss"))).
12641 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12642 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12644 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12646 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12647 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12649 * resolv/res_mkquery.c: Include <sys/time.h>.
12651 * inet/ifreq.c: Moved to ...
12652 * sysdeps/unix/ifreq.c: ... here.
12653 * inet/ifreq.c: New file, true stub version.
12655 * socket/sa_len.c: New file.
12656 * socket/Makefile (aux): Add it.
12657 * sysdeps/unix/sysv/linux/Makefile
12658 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12659 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12660 and #include <socket/sa_len.c>.
12661 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12662 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12664 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12665 * bits/socket.h: ... here.
12667 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12668 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12669 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12671 2013-08-27 Andreas Schwab <schwab@suse.de>
12674 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12675 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12676 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12677 * string/test-strcasecmp.c (test_main): Run tests in several
12679 * string/test-strncasecmp.c (test_main): Likewise.
12681 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12682 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12683 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12685 (__strncasecmp_ssse3) [PIC]: Likewise.
12687 2013-08-26 Roland McGrath <roland@hack.frob.com>
12689 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12691 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12692 instead of explicitly declaring xdecrypt.
12693 * nis/nss_nis/nis-publickey.c: Likewise.
12695 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12698 * nscd/aicache.c: Include res_hconf.h.
12699 (addhstaiX): Initialize res_hconf.
12701 2013-08-26 Andreas Schwab <schwab@suse.de>
12703 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12704 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12706 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12708 * nscd/aicache.c (addhstaiX): Fix indentation.
12710 2013-08-25 Mike Frysinger <vapier@gentoo.org>
12712 * configure.ac: Quote $build_pt_chown test.
12713 * configure: Regenerated.
12715 2013-08-23 Joseph Myers <joseph@codesourcery.com>
12718 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12719 * math/s_cexpf.c (__cexpf): Likewise.
12720 * math/s_cexpl.c (__cexpl): Likewise.
12721 * math/libm-test.inc (cexp_test_data): Correct expected return
12722 value for NaN + i0. Add another test.
12724 2013-08-22 David S. Miller <davem@davemloft.net>
12726 * po/ca.po: Update Catalan translation from translation project.
12727 * po/uk.po: Add Ukrainian translations from translation project.
12729 2013-08-21 Joseph Myers <joseph@codesourcery.com>
12732 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12733 is infinite, not alongside NaN test.
12734 * math/s_fdimf.c (__fdimf): Likewise.
12735 * math/s_fdiml.c (__fdiml): Likewise.
12736 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12737 errno is unchanged.
12739 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
12741 * argp/argp-help.c: Fix typos.
12742 * crypt/speeds.c: Likewise.
12743 * csu/check_fds.c: Likewise.
12744 * elf/dl-load.c: Likewise.
12745 * elf/dl-open.c: Likewise.
12746 * elf/reldep3.c: Likewise.
12747 * elf/reldep.c: Likewise.
12748 * elf/sprof.c: Likewise.
12749 * iconv/iconv_charmap.c: Likewise.
12750 * iconv/skeleton.c: Likewise.
12751 * iconv/strtab.c: Likewise.
12752 * io/lockf64.c: Likewise.
12753 * libio/libioP.h: Likewise.
12754 * resolv/gai_notify.c: Likewise.
12755 * resolv/ns_name.c: Likewise.
12756 * resolv/ns_samedomain.c: Likewise.
12757 * resolv/res_send.c: Likewise.
12758 * stdlib/random.c: Likewise.
12759 * sunrpc/rpc/xdr.h: Likewise.
12760 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12761 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12762 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12763 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12765 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12768 * sysdeps/mach/hurd/check_fds.c: Likewise.
12769 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12770 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12771 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12772 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12773 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12774 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12775 * sysdeps/pthread/aio_notify.c: Likewise.
12776 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12777 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12778 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12779 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12780 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12782 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12784 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12785 version if bit_Slow_SSE4_2 is set.
12786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12787 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12789 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12792 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12793 trampoline stack frame information.
12794 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12795 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12796 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12797 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12798 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12799 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12800 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12801 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12803 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12804 interrupting a syscall and set with option SA_SIGINFO.
12806 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12809 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12810 argument is infinite.
12811 * math/s_cprojf.c (__cprojf): Likewise.
12812 * math/s_cprojl.c (__cprojl): Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12814 * math/libm-test.inc (cproj_test_data): Add more tests.
12816 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12818 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12819 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12820 size. Use __ffs to determine corresponding shift.
12822 2013-08-20 Joseph Myers <joseph@codesourcery.com>
12823 Roland McGrath <roland@hack.frob.com>
12825 * Makefile (INSTALL): Remove trailing blank lines from output of
12828 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12830 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12831 Align 32 bit compat elf_greg to 8 bytes.
12833 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12835 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12837 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12839 * string/strcoll_l.c (coll_seq): New structure.
12840 (get_next_seq_cached): New function.
12841 (get_next_seq): New function.
12842 (do_compare): New function.
12843 (STRCOLL): Use GNU style definition. Simplify implementation
12844 by using get_next_seq, get_next_seq_cached and do_compare.
12846 2013-08-16 Florian Weimer <fweimer@redhat.com>
12850 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12852 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12854 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12855 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12856 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12858 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12859 GETDENTS_64BIT_ALIGNED.
12860 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12861 * manual/filesys.texi (Reading/Closing Directory): Document
12862 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12864 * manual/conf.texi (Limits for Files): Add portability note to
12865 NAME_MAX, PATH_MAX.
12866 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12868 2013-08-13 Andreas Schwab <schwab@suse.de>
12871 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12873 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12874 LDBL_MAX_EXP >= 16384]: Add tests for it.
12876 2013-08-12 David S. Miller <davem@davemloft.net>
12878 * version.h (RELEASE): Set to "development".
12879 (VERSION): Set to "2.18.90".
12880 * NEWS: Add 2.19 section.
12882 2013-08-03 David S. Miller <davem@davemloft.net>
12884 * po/ko.po: Update Korean translation from translation project.
12886 2013-08-01 David S. Miller <davem@davemloft.net>
12888 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12889 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12892 2013-07-30 David S. Miller <davem@davemloft.net>
12894 * po/fr.po: Update French translation from translation project.
12896 2013-07-28 David S. Miller <davem@davemloft.net>
12898 * po/cs.po: Update Czech translation from translation project.
12900 * po/sv.po: Update Swedish translation from translation project.
12902 2013-07-27 David S. Miller <davem@davemloft.net>
12904 * po/eo.po: Update Esperanto translation from translation project.
12906 * po/vi.po: Update Vietnamese translation from translation project.
12908 * po/de.po: Update German translation from translation project.
12910 2013-07-26 David S. Miller <davem@davemloft.net>
12912 * po/bg.po: Update Bulgarian translation from translation project.
12914 * po/nl.po: Update Dutch translation from translation project.
12915 * po/pl.po: Update Polish translation from translation project.
12916 * po/ru.po: Update Russian translation from translation project.
12918 2013-07-24 David S. Miller <davem@davemloft.net>
12920 * po/libc.pot: Update.
12922 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12924 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12925 variable page size.
12926 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12927 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12928 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12930 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12932 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12934 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12935 Andreas Schwab <schwab@suse.de>
12936 Roland McGrath <roland@hack.frob.com>
12937 Joseph Myers <joseph@codesourcery.com>
12938 Carlos O'Donell <carlos@redhat.com>
12941 * config.h.in: Define HAVE_PT_CHOWN.
12942 * config.make.in (build-pt-chown): New variable.
12943 * configure.in (--enable-pt_chown): New configure option.
12944 * configure: Regenerate.
12945 * login/Makefile: Include Makeconfig. Build pt_chown only if
12946 build-pt-chown is enabled.
12947 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12948 pt_chown to fix pty ownership.
12949 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12951 * manual/install.texi (Configuring and compiling): Mention
12952 --enable-pt_chown. Add @findex for grantpt.
12953 * INSTALL: Regenerate.
12955 2013-07-20 David S. Miller <davem@davemloft.net>
12957 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12958 difference between 32-bit and 64-bit.
12960 2013-07-15 Carlos O'Donell <carlos@redhat.com>
12963 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12964 Avoid system header dependency with -ffreestanding.
12965 ($(objpfx)bits/syscall%d): Likewise.
12967 2013-07-13 David S. Miller <davem@davemloft.net>
12969 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12970 underflows from atanl/atan2l due to bug 15319.
12971 (casinh_test_data): Likewise.
12973 2013-07-07 David S. Miller <davem@davemloft.net>
12975 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12977 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12979 * sysdeps/i386/fpu/libm-test-ulps: Update.
12980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12982 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12984 * configure.in (--enable-lock-elision): Fix message text.
12985 * INSTALL: Regenerate.
12986 * configure: Regenerate.
12988 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12992 2013-07-03 Andreas Jaeger <aj@suse.de>
12994 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12996 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12997 (ptrace_peeksiginfo_args): Add.
12998 (__ptrace_peeksiginfo_flags): Add.
12999 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13000 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13003 2013-07-03 Allan McRae <allan@archlinux.org>
13005 * sysdeps/i386/fpu/libm-test-ulps: Update.
13007 2013-07-02 David S. Miller <davem@davemloft.net>
13009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13011 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13015 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13017 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13020 2013-07-02 Andi Kleen <ak@linux.intel.com>
13022 * config.h.in (ENABLE_LOCK_ELISION): Add.
13023 * configure.in (--enable-lock-elision): Add option.
13024 * manual/install.texi: Document --enable lock elision.
13025 * configure: Regenerate
13026 * INSTALL: Regenerate.
13028 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13030 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13031 SSE4.2 strcasecmp for libc.a.
13032 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13034 2013-07-02 Joseph Myers <joseph@codesourcery.com>
13037 * soft-fp/op-common.h (_FP_FMA): New macro.
13038 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13039 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13040 (_FP_MUL_MEAT_1_imm): ... here.
13041 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13042 (_FP_MUL_MEAT_1_wide): ... here.
13043 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13044 (_FP_MUL_MEAT_1_hard): ... here.
13045 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13046 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13047 (_FP_MUL_MEAT_2_wide): ... here.
13048 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13049 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13050 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13051 (_FP_MUL_MEAT_2_gmp): ... here.
13052 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13053 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13054 (_FP_MUL_MEAT_4_wide): ... here.
13055 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13056 (_FP_MUL_MEAT_4_gmp): ... here.
13057 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13058 (_FP_WFRACBITS_DW_S): Likewise.
13059 (_FP_WFRACXBITS_DW_S): Likewise.
13060 (_FP_HIGHBIT_DW_S): Likewise.
13061 (FP_FMA_S): Likewise.
13062 (_FP_FRAC_HIGH_DW_S): Likewise.
13063 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13064 (_FP_WFRACBITS_DW_D): Likewise.
13065 (_FP_WFRACXBITS_DW_D): Likewise.
13066 (_FP_HIGHBIT_DW_D): Likewise.
13067 (FP_FMA_D): Likewise.
13068 (_FP_FRAC_HIGH_DW_D): Likewise.
13069 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13070 (_FP_WFRACBITS_DW_E): Likewise.
13071 (_FP_WFRACXBITS_DW_E): Likewise.
13072 (_FP_HIGHBIT_DW_E): Likewise.
13073 (FP_FMA_E): Likewise.
13074 (_FP_FRAC_HIGH_DW_E): Likewise.
13075 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13076 (_FP_WFRACBITS_DW_Q): Likewise.
13077 (_FP_WFRACXBITS_DW_Q): Likewise.
13078 (_FP_HIGHBIT_DW_Q): Likewise.
13079 (FP_FMA_Q): Likewise.
13080 (_FP_FRAC_HIGH_DW_Q): Likewise.
13081 * soft-fp/fmasf4.c: New file.
13082 * soft-fp/fmadf4.c: Likewise.
13083 * soft-fp/fmatf4.c: Likewise.
13085 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13088 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13092 (index_Slow_SSE4_2): Likewise.
13093 (index_Prefer_PMINUB_for_stringop): Likewise.
13094 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13095 bit_Slow_SSE4_2 is set.
13096 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13097 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13099 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13101 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13102 rtld_global._dl_hwcap2.
13103 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13105 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13106 POWER8 feature descriptions defined in _dl_hwcap2.
13107 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13108 string handling for POWER8 feature bits.
13109 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13110 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13111 _dl_powerpc_cap_flags.
13112 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13113 * sysdeps/powerpc/rtld-global-offsets.sym
13114 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13115 _dl_hwcap2 in the rtld_global_ro structure.
13117 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13119 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13120 hardware capabilities in support of AT_HWCAP2.
13121 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13122 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13124 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13125 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13126 explicitly the unknown a_type display mechanism is used.
13127 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13128 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13130 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13131 to macro prototype for AT_HWCAP2 support.
13132 * sysdeps/i386/dl-procinfo.h: Likewise.
13133 * sysdeps/s390/dl-procinfo.h: Likewise.
13134 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13135 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13136 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13137 return -1 for unknown a_type display fallback.
13138 * sysdeps/sparc/dl-procinfo.h: Likewise.
13139 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13140 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13142 2013-06-28 Joseph Myers <joseph@codesourcery.com>
13144 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13145 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13147 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13150 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13151 mprotect making __stack_prot writable.
13153 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13154 Joseph Myers <joseph@codesourcery.com>
13156 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13157 as being properly aligned.
13159 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13161 * dlfcn/modstatic5.c: New file.
13162 * dlfcn/tststatic5.c: New file.
13163 * dlfcn/Makefile (tests): Add tststatic5.
13164 (tests-static): Likewise.
13165 (modules-names): Add modstatic5.
13166 (tststatic5-ENV): New variable.
13167 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13170 * elf/dl-support.c (_dl_main_map): New variable.
13171 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13172 (_dl_nns, _dl_load_adds): Set to 1.
13173 (_dl_initial_searchlist): Refer to _dl_main_map.
13174 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13175 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13176 call to _dl_get_origin.
13177 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13179 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13180 * dlfcn/modstatic3.c: New file.
13181 * dlfcn/tststatic3.c: New file.
13182 * dlfcn/tststatic4.c: New file.
13183 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13184 (tests-static): Likewise.
13185 (modules-names): Add modstatic3.
13186 (tststatic3-ENV, tststatic4-ENV): New variables.
13187 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13188 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13190 2013-06-26 Joseph Myers <joseph@codesourcery.com>
13192 * configure.in (CC): Require GCC version 4.4 or later.
13193 * configure: Regenerated.
13194 * manual/install.texi (Tools for Compilation): Update GCC version
13196 * INSTALL: Regenerated.
13198 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13201 * string/test-memcmp.c (check2): New.
13202 (main): Call check2.
13204 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13206 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13209 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13211 (dl_open_worker) [!SHARED]: ... here.
13213 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13215 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13217 2013-06-25 Richard Henderson <rth@redhat.com>
13219 * locale/programs/locarchive.c: Include <libc-internal.h>
13221 2013-06-25 Joseph Myers <joseph@codesourcery.com>
13223 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13224 trailing whitespace removed.
13226 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13229 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13230 * locale/programs/locarchive.c: Include libc-mmap.h.
13231 (prepare_address_space): Take two new outputs (the mmap base and len).
13232 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13234 (create_archive): Declare new mmap base and len values for
13235 prepare_address_space, and store the result in ah.
13236 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13237 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13238 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13239 Declare new mmap base and len values for
13240 prepare_address_space, and store the result in new_ah.
13241 (open_archive): Declare new mmap base and len values for
13242 prepare_address_space, and store the result in ah.
13243 (close_archive): If ah->mmap_base is not NULL, use that and
13244 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13245 * sysdeps/generic/libc-mmap.h: New file.
13247 2013-06-24 Mike Frysinger <vapier@gentoo.org>
13249 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13250 (ALIGN_UP): Likewise.
13251 (PTR_ALIGN_DOWN): Likewise.
13252 (PTR_ALIGN_UP): Likewise.
13254 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13256 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13257 entry mapped to PPC_PLATFORM_POWER8.
13258 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13260 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13261 (_dl_string_platform): Add case for exporting platform position for
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13264 search path to sysdeps/powerpc/powerpc32/power8 directory.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13266 search path to sysdeps/powerpc/powerpc64/power8 directory.
13267 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13268 power7 directories.
13269 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13270 power7 directories.
13272 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13274 * INSTALL: Regenerate.
13276 * nscd/connections.c (nscd_init): Fix comment.
13278 2013-06-22 Joseph Myers <joseph@codesourcery.com>
13280 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13283 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13284 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13286 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13288 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13290 (DL_DST_REQ_STATIC): Remove macro.
13292 2013-06-21 Joseph Myers <joseph@codesourcery.com>
13295 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13296 with a shift of 0 bits.
13298 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13300 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13303 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13306 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13308 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13310 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13311 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13312 accepts -fno-tree-loop-distribute-patterns.
13313 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13314 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13316 * string/memset.c (memset): Likewise.
13317 * string/test-memmove.c (simple_memmove): Disable loop transformation
13319 * string/test-memset.c (simple_memset): Likewise.
13320 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13321 * benchtests/bench-memset.c (simple_memset): Likewise.
13322 * configure: Regenerated.
13324 2013-06-20 Joseph Myers <joseph@codesourcery.com>
13326 * math/test-misc.c (main): Ignore fesetround failure when failures
13327 of subsequent rounding tests would be ignored.
13330 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13331 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13332 * math/fegetenv.c (__fegetenv): Return 0.
13333 * math/fegetexcept.c (fegetexcept): Return 0.
13334 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13336 * math/feholdexcpt.c (feholdexcept): Return 0.
13337 * math/fesetenv.c (__fesetenv): Return 0.
13338 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13339 argument FE_TONEAREST.
13340 * math/feupdateenv.c (__feupdateenv): Return 0.
13341 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13343 2013-06-18 Roland McGrath <roland@hack.frob.com>
13345 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13346 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13347 ($(objpfx)rtld-%.os rules): Use them.
13349 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13351 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13354 2013-06-17 Roland McGrath <roland@hack.frob.com>
13356 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13357 length of target pattern, then descending length of dependency pattern.
13358 * configure.in (AWK): Require gawk 3.1.2 or newer.
13359 * manual/install.texi (Tools for Compilation): Say that we do.
13360 * configure: Regenerated.
13362 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13363 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13364 * scripts/sysd-rules.awk: ... this new script.
13365 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13366 than a glob-style pattern.
13368 2013-06-17 Joseph Myers <joseph@codesourcery.com>
13370 * math/test-misc.c (main): Do not treat incorrectly rounded
13371 conversions as failure unless ROUNDING_TESTS passes.
13373 2013-06-15 Joseph Myers <joseph@codesourcery.com>
13376 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13377 restore exception state around main square root computation, then
13378 check for inexactness explicitly.
13380 * math/libm-test.inc (fma_test_data): Add another test.
13382 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13384 * manual/threads.texi (Non-POSIX Extensions): New document
13385 node. Document pthread_getattr_default_np and
13386 pthread_setattr_default_np.
13388 * Versions.def (libpthread): Add GLIBC_2.18.
13389 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13398 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13409 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13412 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13414 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13415 H.J. Lu <hjl.tools@gmail.com>
13418 * sysdeps/x86_64/rtld-memset.c: Remove file.
13419 * sysdeps/x86_64/rtld-memset.S: New file.
13421 2013-06-14 Joseph Myers <joseph@codesourcery.com>
13423 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13424 (test_in_one_mode): Take arguments for whether the rounding mode
13425 is supported for each floating-point type.
13426 (do_test): Pass new arguments to test_in_one_mode using
13429 2013-06-13 Roland McGrath <roland@hack.frob.com>
13431 * posix/tst-waitid.c (do_test): Distinguish different instances of
13432 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
13433 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13434 before entering the kernel for waitpid.
13436 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13438 * NEWS: Fix note on clock function precision. Text by Roland
13441 2013-06-13 Roland McGrath <roland@hack.frob.com>
13443 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13444 it into place only when and if the sanity check passes.
13446 2013-06-13 Joseph Myers <joseph@codesourcery.com>
13448 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13449 output for whether conversion result is exact. Take argument
13450 indicating whether type is IBM long double.
13451 (round_for_all): Change need_exact field to ibm_ld.
13452 * stdlib/tst-strtod-round.c (struct exactness): New type.
13453 (struct test): Change bool ld_ok field to struct exactness exact.
13454 (TEST): Update all definitions for change to field.
13455 (tests): Regenerate array contents.
13456 (test_in_one_mode): Take pointer to new field instead of old ld_ok
13457 field value. Check for IBM long double here.
13458 (do_test): Update calls to test_in_one_mode.
13460 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13463 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13464 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13466 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13469 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13470 generated by the compiler on loop optimizations.
13471 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13472 general definitions.
13474 2013-06-12 Joseph Myers <joseph@codesourcery.com>
13476 * math/bug-nextafter.c: Include <math-tests.h>.
13477 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13479 * math/bug-nexttoward.c: Include <math-tests.h>.
13480 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13482 * math/test-misc.c: Include <math-tests.h>.
13483 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13486 2013-06-12 Andreas Jaeger <aj@suse.de>
13488 * po/ia.po: Update Interlingua translation from translation
13491 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13493 * include/fenv.h: Include stdbool.h.
13494 (struct rm_ctx): New structure.
13495 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13497 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13498 (SET_RESTORE_ROUNDF): Likewise.
13499 (SET_RESTORE_ROUNDL): Likewise.
13500 (SET_RESTORE_ROUND_NOEX): Likewise.
13501 (SET_RESTORE_ROUND_NOEXF): Likewise.
13502 (SET_RESTORE_ROUND_NOEXL): Likewise.
13503 (SET_RESTORE_ROUND_53BIT): Likewise.
13504 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13505 (libc_feresetround_noexf_ctx): Likewise.
13506 (libc_feresetround_noexl_ctx): Likewise.
13507 (libc_feholdsetround_53bit_ctx): Likewise.
13508 (libc_feresetround_53bit_ctx): Likewise.
13509 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13510 (libc_feholdexcept_setround_sse_ctx): New function.
13511 (libc_fesetenv_sse_ctx): Likewise.
13512 (libc_feupdateenv_sse_ctx): Likewise.
13513 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13514 (libc_feholdexcept_setround_387_ctx): Likewise.
13515 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13516 (libc_feholdsetround_387_prec_ctx): Likewise.
13517 (libc_feholdsetround_387_ctx): Likewise.
13518 (libc_feholdsetround_387_53bit_ctx): Likewise.
13519 (libc_feholdsetround_sse_ctx): Likewise.
13520 (libc_feresetround_sse_ctx): Likewise.
13521 (libc_feresetround_387_ctx): Likewise.
13522 (libc_feupdateenv_387_ctx): Likewise.
13523 (libc_feholdexcept_setroundf_ctx): Define macro.
13524 (libc_fesetenvf_ctx): Likewise.
13525 (libc_feupdateenvf_ctx): Likewise.
13526 (libc_feholdsetroundf_ctx): Likewise.
13527 (libc_feresetroundf_ctx): Likewise.
13528 (libc_feholdexcept_setround_ctx): Likewise.
13529 (libc_fesetenv_ctx): Likewise.
13530 (libc_feupdateenv_ctx): Likewise.
13531 (libc_feholdsetround_ctx): Likewise.
13532 (libc_feresetround_ctx): Likewise.
13533 (libc_feholdexcept_setroundl_ctx): Likewise.
13534 (libc_feupdateenvl_ctx): Likewise.
13535 (libc_feholdsetroundl_ctx): Likewise.
13536 (libc_feresetroundl_ctx): Likewise.
13537 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13538 (libc_feresetround_53bit_ctx): Likewise.
13540 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13542 * locale/iso-639.def: Convert to UTF-8.
13544 2013-06-11 Joseph Myers <joseph@codesourcery.com>
13546 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13547 (EXCEPTION_TESTS_double): Likewise.
13548 (EXCEPTION_TESTS_long_double): Likewise.
13549 (EXCEPTION_TESTS): Likewise.
13550 * math/libm-test.inc (test_exceptions): Only test exceptions if
13551 EXCEPTION_TESTS (FLOAT).
13553 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13555 * benchtests/Makefile (string-bench): Add strcpy_chk and
13557 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13558 * benchtests/bench-stpcpy_chk.c: New file.
13559 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13560 * benchtests/bench-strcpy_chk.c: New file.
13561 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13563 (do_test): Likewise.
13565 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13567 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13568 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13569 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13570 with tabs where appropriate.
13571 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13573 [PPC_PLATFORM_PPC440]: Likewise.
13574 [PPC_PLATFORM_PPC464]: Likewise.
13575 [PPC_PLATFORM_PPC476]: Likewise.
13576 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13577 ppc464, and ppc476 platform strings merging from ports/
13580 2013-06-11 Andreas Schwab <schwab@suse.de>
13583 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13584 (from_ucs4_idx): Regenerate.
13585 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13586 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13587 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13588 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13589 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13590 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13591 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13592 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13593 from FROM_LOOP and TO_LOOP specific macros.
13594 (BODY): Handle combining characters.
13595 * iconvdata/BIG5HKSCS.irreversible: Update.
13596 * iconvdata/BIG5HKSCS.precomposed: New file.
13597 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13599 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13601 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13603 * include/sys/time.h: Fix indentation and add copyright header.
13605 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13606 (do_test): Likewise.
13607 * string/test-memchr.c (do_one_test): Likewise.
13608 (do_test): Likewise.
13609 * string/test-memcmp.c (do_one_test): Likewise.
13610 (do_test): Likewise.
13611 * string/test-memcpy.c (do_one_test): Likewise.
13612 (do_test): Likewise.
13613 * string/test-memmem.c (do_one_test): Likewise.
13614 (do_test): Likewise.
13615 (do_random_tests): Likewise.
13616 * string/test-memmove.c (do_one_test): Likewise.
13617 (do_test): Likewise.
13618 * string/test-memset.c (do_one_test): Likewise.
13619 (do_test): Likewise.
13620 * string/test-rawmemchr.c (do_one_test): Likewise.
13621 (do_test): Likewise.
13622 * string/test-strcasecmp.c (do_one_test): Likewise.
13623 (do_test): Likewise.
13624 * string/test-strcasestr.c (do_one_test): Likewise.
13625 (do_test): Likewise.
13626 * string/test-strcat.c (do_one_test): Likewise.
13627 (do_test): Likewise.
13628 * string/test-strchr.c (do_one_test): Likewise.
13629 (do_test): Likewise.
13630 * string/test-strcmp.c (do_one_test): Likewise.
13631 (do_test): Likewise.
13632 * string/test-strcpy.c (do_one_test): Likewise.
13633 (do_test): Likewise.
13634 * string/test-string.h: Likewise.
13635 (test_init): Likewise.
13636 * string/test-strlen.c (do_one_test): Likewise.
13637 (do_test): Likewise.
13638 * string/test-strncasecmp.c (do_one_test): Likewise.
13639 (do_test): Likewise.
13640 * string/test-strncat.c (do_one_test): Likewise.
13641 (do_test): Likewise.
13642 * string/test-strncmp.c (do_one_test): Likewise.
13643 (do_test_limit): Likewise.
13644 (do_test): Likewise.
13645 * string/test-strncpy.c (do_one_test): Likewise.
13646 (do_test): Likewise.
13647 * string/test-strnlen.c (do_one_test): Likewise.
13648 (do_test): Likewise.
13649 * string/test-strpbrk.c (do_one_test): Likewise.
13650 (do_test): Likewise.
13651 * string/test-strrchr.c (do_one_test): Likewise.
13652 (do_test): Likewise.
13653 * string/test-strspn.c (do_one_test): Likewise.
13654 (do_test): Likewise.
13655 * string/test-strstr.c (do_one_test): Likewise.
13656 (do_test): Likewise.
13658 * benchtests/Makefile (string-bench): Add string benchmarks.
13659 * benchtests/bench-bcopy-ifunc.c: New file.
13660 * benchtests/bench-bcopy.c: New file.
13661 * benchtests/bench-bzero-ifunc.c: New file.
13662 * benchtests/bench-bzero.c: New file.
13663 * benchtests/bench-memccpy-ifunc.c: New file.
13664 * benchtests/bench-memccpy.c: New file.
13665 * benchtests/bench-memchr-ifunc.c: New file.
13666 * benchtests/bench-memchr.c: New file.
13667 * benchtests/bench-memcmp-ifunc.c: New file.
13668 * benchtests/bench-memcmp.c: New file.
13669 * benchtests/bench-memmem-ifunc.c: New file.
13670 * benchtests/bench-memmem.c: New file.
13671 * benchtests/bench-memmove-ifunc.c: New file.
13672 * benchtests/bench-memmove.c: New file.
13673 * benchtests/bench-mempcpy-ifunc.c: New file.
13674 * benchtests/bench-mempcpy.c: New file.
13675 * benchtests/bench-memset-ifunc.c: New file.
13676 * benchtests/bench-memset.c: New file.
13677 * benchtests/bench-rawmemchr-ifunc.c: New file.
13678 * benchtests/bench-rawmemchr.c: New file.
13679 * benchtests/bench-stpcpy-ifunc.c: New file.
13680 * benchtests/bench-stpcpy.c: New file.
13681 * benchtests/bench-stpncpy-ifunc.c: New file.
13682 * benchtests/bench-stpncpy.c: New file.
13683 * benchtests/bench-strcasecmp-ifunc.c: New file.
13684 * benchtests/bench-strcasecmp.c: New file.
13685 * benchtests/bench-strcasestr-ifunc.c: New file.
13686 * benchtests/bench-strcasestr.c: New file.
13687 * benchtests/bench-strcat-ifunc.c: New file.
13688 * benchtests/bench-strcat.c: New file.
13689 * benchtests/bench-strchr-ifunc.c: New file.
13690 * benchtests/bench-strchr.c: New file.
13691 * benchtests/bench-strchrnul-ifunc.c: New file.
13692 * benchtests/bench-strchrnul.c: New file.
13693 * benchtests/bench-strcmp-ifunc.c: New file.
13694 * benchtests/bench-strcmp.c: New file.
13695 * benchtests/bench-strcpy-ifunc.c: New file.
13696 * benchtests/bench-strcpy.c: New file.
13697 * benchtests/bench-strcspn-ifunc.c: New file.
13698 * benchtests/bench-strcspn.c: New file.
13699 * benchtests/bench-strlen-ifunc.c: New file.
13700 * benchtests/bench-strlen.c: New file.
13701 * benchtests/bench-strncasecmp-ifunc.c: New file.
13702 * benchtests/bench-strncasecmp.c: New file.
13703 * benchtests/bench-strncat-ifunc.c: New file.
13704 * benchtests/bench-strncat.c: New file.
13705 * benchtests/bench-strncmp-ifunc.c: New file.
13706 * benchtests/bench-strncmp.c: New file.
13707 * benchtests/bench-strncpy-ifunc.c: New file.
13708 * benchtests/bench-strncpy.c: New file.
13709 * benchtests/bench-strnlen-ifunc.c: New file.
13710 * benchtests/bench-strnlen.c: New file.
13711 * benchtests/bench-strpbrk-ifunc.c: New file.
13712 * benchtests/bench-strpbrk.c: New file.
13713 * benchtests/bench-strrchr-ifunc.c: New file.
13714 * benchtests/bench-strrchr.c: New file.
13715 * benchtests/bench-strspn-ifunc.c: New file.
13716 * benchtests/bench-strspn.c: New file.
13717 * benchtests/bench-strstr-ifunc.c: New file.
13718 * benchtests/bench-strstr.c: New file.
13720 * benchtests/Makefile: Disable parallel execution of targets.
13721 (string-bench): Add memcpy.
13722 (benchset): New variable to store a list of benchmark sets.
13723 (bench-func): Renamed from bench.
13724 (bench-set): New target.
13725 (bench): Depend on bench-func and bench-set.
13726 * benchtests/README: Add section on benchmark sets.
13727 * benchtests/bench-memcpy-ifunc.c: New file.
13728 * benchtests/bench-memcpy.c: New file.
13729 * benchtests/bench-string.h: New file.
13731 2013-06-11 Andreas Schwab <schwab@suse.de>
13734 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13735 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13736 values in the triple.
13737 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13738 terminator in the group key.
13740 2013-06-11 Andreas Jaeger <aj@suse.de>
13742 * po/zh_TW.po: Update Chinese (traditional) translation from
13743 translation project.
13745 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13747 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13748 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13749 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13751 (clock_getcpuclockid): Likewise.
13752 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13753 Add weak_alias and libc_hidden_def.
13754 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13755 * rt/clock_gettime.c (clock_gettime): Rename to
13756 __clock_gettime. Add weak_alias and libc_hidden_def.
13757 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13758 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13759 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13760 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13761 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13763 * rt/clock_settime.c (clock_settime): Rename to
13764 __clock_settime. Add weak_alias and libc_hidden_def.
13765 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13767 2013-06-10 Joseph Myers <joseph@codesourcery.com>
13769 * mach/err_boot.sub: Remove trailing whitespace.
13770 * mach/err_ipc.sub: Likewise.
13771 * mach/err_mach.sub: Likewise.
13773 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13774 (ROUNDING_TESTS_double): Likewise.
13775 (ROUNDING_TESTS_long_double): Likewise.
13776 (ROUNDING_TESTS): Likewise.
13777 * math/libm-test.inc: Include <math-tests.h>.
13778 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13779 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13780 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13781 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13783 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13785 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13788 2013-06-08 Joseph Myers <joseph@codesourcery.com>
13790 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13791 otherwise empty TRANS lines.
13792 * sysdeps/gnu/errlist.c: Regenerated.
13794 * catgets/gencat.c (error_print): Use (void) in function
13796 * crypt/crypt_util.c (__init_des): Likewise.
13797 * crypt/speeds.c (Stop): Likewise.
13799 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13800 * inet/ruserpass.c (token): Likewise.
13801 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13802 * intl/localealias.c (extend_alias_table): Likewise.
13803 * intl/plural-exp.c (init_germanic_plural): Likewise.
13804 * libio/fcloseall.c (__fcloseall): Likewise.
13805 * libio/genops.c (_IO_flush_all): Likewise.
13806 (_IO_flush_all_linebuffered): Likewise.
13807 (_IO_cleanup): Likewise.
13808 (_IO_iter_begin): Likewise.
13809 (_IO_iter_end): Likewise.
13810 (_IO_list_lock): Likewise.
13811 (_IO_list_unlock): Likewise.
13812 (_IO_list_resetlock): Likewise.
13813 * libio/getchar.c (getchar): Likewise.
13814 * libio/getchar_u.c (getchar_unlocked): Likewise.
13815 * libio/getwchar.c (getwchar): Likewise.
13816 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13817 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13818 * login/getpt.c (__getpt): Likewise.
13819 * login/tst-utmp.c (main): Likewise.
13820 * malloc/hooks.c (__malloc_check_init): Likewise.
13821 * malloc/malloc.c (__malloc_stats): Likewise.
13822 * malloc/mtrace.c (tr_break): Likewise.
13823 (mtrace): Likewise.
13824 (muntrace): Likewise.
13825 * misc/fstab.c (endfsent): Likewise.
13826 * misc/getclktck.c (__getclktck): Likewise.
13827 * misc/getdtsz.c (__getdtablesize): Likewise.
13828 * misc/gethostid.c (gethostid): Likewise.
13829 * misc/getpagesize.c (__getpagesize): Likewise.
13830 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13831 (__get_nprocs): Likewise.
13832 (__get_phys_pages): Likewise.
13833 (__get_avphys_pages): Likewise.
13834 * misc/getttyent.c (getttyent): Likewise.
13835 (setttyent): Likewise.
13836 (endttyent): Likewise.
13837 * misc/getusershell.c (getusershell): Likewise.
13838 (endusershell): Likewise.
13839 (setusershell): Likewise.
13840 (initshells): Likewise.
13841 * misc/hsearch.c (__hdestroy): Likewise.
13842 * misc/sync.c (sync): Likewise.
13843 * misc/syslog.c (closelog_internal): Likewise.
13844 (closelog): Likewise.
13845 * misc/ttyslot.c (ttyslot): Likewise.
13846 * misc/vhangup.c (vhangup): Likewise.
13847 * posix/fork.c (__fork): Likewise.
13848 * posix/getegid.c (__getegid): Likewise.
13849 * posix/geteuid.c (__geteuid): Likewise.
13850 * posix/getgid.c (__getgid): Likewise.
13851 * posix/getpid.c (__getpid): Likewise.
13852 * posix/getppid.c (__getppid): Likewise.
13853 * posix/getuid.c (__getuid): Likewise.
13854 * posix/pause.c (pause): Likewise.
13855 * posix/setpgrp.c (setpgrp): Likewise.
13856 * posix/setsid.c (__setsid): Likewise.
13857 * posix/test-vfork.c (noop): Likewise.
13858 * resolv/gethnamaddr.c (_endhtent): Likewise.
13859 (_gethtent): Likewise.
13860 (ht_endhostent): Likewise.
13861 (gethostent): Likewise.
13862 (dns_service): Likewise.
13863 * stdlib/drand48.c (drand48): Likewise.
13864 * stdlib/lrand48.c (lrand48): Likewise.
13865 * stdlib/mrand48.c (mrand48): Likewise.
13866 * stdlib/rand.c (rand): Likewise.
13867 * stdlib/random.c (__random): Likewise.
13868 * stdlib/setenv.c (clearenv): Likewise.
13869 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13870 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13871 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13872 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13873 (__get_nprocs): Likewise.
13874 (__get_phys_pages): Likewise.
13875 (__get_avphys_pages): Likewise.
13876 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13877 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13878 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13879 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13880 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13881 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13882 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13883 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13884 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13885 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13886 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13887 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13888 * sysdeps/posix/clock.c (clock): Likewise.
13889 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13890 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13891 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13892 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13893 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13895 (__get_nprocs_conf): Likewise.
13896 (__get_phys_pages): Likewise.
13897 (__get_avphys_pages): Likewise.
13898 * time/clock.c (clock): Likewise.
13899 * time/tzset.c (__tzname_max): Likewise.
13901 2013-06-07 Joseph Myers <joseph@codesourcery.com>
13903 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13904 (__bswap_32): Do not use "register".
13905 * crypt/crypt.c (_ufc_doit_r): Likewise.
13906 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13907 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13908 * gmon/gmon.c (__monstartup): Likewise.
13909 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13910 * hurd/hurdmalloc.c (more_memory): Likewise.
13911 (malloc): Likewise.
13913 (realloc): Likewise.
13914 (malloc_fork_prepare): Likewise.
13915 (malloc_fork_parent): Likewise.
13916 (malloc_fork_child): Likewise.
13917 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13918 (_svcauth_des): Likewise.
13919 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13920 * inet/inet_net.c (inet_network): Likewise.
13921 * inet/inet_netof.c (inet_netof): Likewise.
13922 * inet/rcmd.c (__validuser2_sa): Likewise.
13923 * io/fts.c (fts_open): Likewise.
13924 (fts_load): Likewise.
13925 (fts_close): Likewise.
13926 (fts_read): Likewise.
13927 (fts_children): Likewise.
13928 (fts_build): Likewise.
13929 (fts_stat): Likewise.
13930 (fts_sort): Likewise.
13931 (fts_alloc): Likewise.
13932 (fts_lfree): Likewise.
13933 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13934 (_IO_file_xsgetn): Likewise.
13935 (_IO_file_xsgetn_mmap): Likewise.
13936 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13937 (_IO_cookie_write): Likewise.
13938 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13939 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13940 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13941 * malloc/obstack.c (_obstack_begin): Likewise.
13942 (_obstack_begin_1): Likewise.
13943 (_obstack_newchunk): Likewise.
13944 (_obstack_allocated_p): Likewise.
13945 (obstack_free): Likewise.
13946 (_obstack_memory_used): Likewise.
13947 * misc/getttyent.c (getttynam): Likewise.
13948 (getttyent): Likewise.
13951 * misc/getusershell.c (initshells): Likewise.
13952 * misc/syslog.c (__vsyslog_chk): Likewise.
13953 * misc/ttyslot.c (ttyslot): Likewise.
13954 * nis/nis_hash.c (__nis_hash): Likewise.
13955 * posix/fnmatch_loop.c (FCT): Likewise.
13956 * posix/getconf.c (print_all): Likewise.
13958 * posix/getopt.c (exchange): Likewise.
13959 * posix/glob.c (globfree): Likewise.
13960 (prefix_array): Likewise.
13961 (__glob_pattern_type): Likewise.
13962 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13963 (NS_GET32): Likewise.
13964 (NS_PUT16): Likewise.
13965 (NS_PUT32): Likewise.
13966 * resolv/gethnamaddr.c (getanswer): Likewise.
13967 (gethostbyname2): Likewise.
13968 (gethostbyaddr): Likewise.
13969 (_gethtent): Likewise.
13970 (_gethtbyname2): Likewise.
13971 (_gethtbyaddr): Likewise.
13972 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13973 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13974 * resolv/res_init.c (__res_vinit): Likewise.
13975 (net_mask): Likewise.
13976 * resolv/res_mkquery.c (outchar): Likewise.
13978 * stdio-common/printf_fp.c (outchar): Likewise.
13980 * stdio-common/printf_fphex.c (outchar): Likewise.
13982 * stdio-common/printf_size.c (outchar): Likewise.
13984 * stdio-common/test_rdwr.c (main): Likewise.
13985 * stdio-common/tfformat.c (matches): Likewise.
13986 * stdio-common/vfprintf.c (outchar): Likewise.
13987 (printf_unknown): Likewise.
13988 (buffered_vfprintf): Likewise.
13989 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13990 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13991 (ReadFile): Likewise.
13992 * stdlib/qsort.c (SWAP): Likewise.
13993 (_quicksort): Likewise.
13994 * stdlib/setenv.c (__add_to_environ): Likewise.
13995 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13996 * stdlib/strtol_l.c (__strtol_l): Likewise.
13997 * stdlib/tst-strtod.c (main): Likewise.
13998 * stdlib/tst-strtol.c (main): Likewise.
13999 * stdlib/tst-strtoll.c (main): Likewise.
14000 * string/bits/string2.h (__strcmp_cc): Likewise.
14001 (__strcmp_cg): Likewise.
14002 (__strcspn_c1): Likewise.
14003 (__strcspn_c2): Likewise.
14004 (__strcspn_c3): Likewise.
14005 (__strspn_c1): Likewise.
14006 (__strspn_c2): Likewise.
14007 (__strspn_c3): Likewise.
14008 (__strsep_1c): Likewise.
14009 (__strsep_2c): Likewise.
14010 (__strsep_3c): Likewise.
14011 * string/memccpy.c (__memccpy): Likewise.
14012 * string/stpcpy.c (__stpcpy): Likewise.
14013 * string/strcmp.c (strcmp): Likewise.
14014 * string/strrchr.c (strrchr): Likewise.
14015 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14017 * sysdeps/mach/hurd/getcwd.c
14018 (_hurd_canonicalize_directory_name_internal): Likewise.
14019 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14020 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14021 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14022 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14023 Likewise, in both definitions.
14024 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14026 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14027 64] (__bswap_64): Likewise.
14028 * time/test_time.c (main): Likewise.
14029 * time/tzfile.c (__tzfile_read): Likewise.
14030 (__tzfile_compute): Likewise.
14031 * time/tzset.c (__tzset_parse_tz): Likewise.
14032 (tzset_internal): Likewise.
14033 (compute_change): Likewise.
14034 * wcsmbs/wcscat.c (__wcscat): Likewise.
14035 * wcsmbs/wcschr.c (wcschr): Likewise.
14036 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14037 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14038 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14039 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14040 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14041 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14042 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14043 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14044 * wcsmbs/wmemset.c (wmemset): Likewise.
14046 2013-06-06 Joseph Myers <joseph@codesourcery.com>
14048 * scripts/config.guess: Update to version 2013-05-16.
14049 * scripts/config.sub: Update to version 2013-04-24.
14050 * scripts/install-sh: Update to version 2011-11-20.07.
14051 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14052 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14054 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
14056 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14057 * elf/sln.c: Likewise.
14058 * hurd/hurd/ioctl.h: Likewise.
14059 * hurd/hurdmalloc.c: Likewise.
14060 * hurd/xattr.c: Likewise.
14061 * include/shlib-compat.h: Likewise.
14062 * inet/ruserpass.c: Likewise.
14063 * libio/iofgets_u.c: Likewise.
14064 * libio/iofgetws_u.c: Likewise.
14065 * locale/programs/ld-identification.c: Likewise.
14066 * locale/programs/ld-time.c: Likewise.
14067 * mach/msg-destroy.c: Likewise.
14068 * nss/nss_files/files-netgrp.c: Likewise.
14069 * resolv/res_data.c: Likewise.
14070 * soft-fp/op-1.h: Likewise.
14071 * soft-fp/op-2.h: Likewise.
14072 * soft-fp/op-4.h: Likewise.
14073 * soft-fp/op-common.h: Likewise.
14074 * stdio-common/printf_fphex.c: Likewise.
14075 * stdlib/strtod_l.c: Likewise.
14076 * sunrpc/rpc/clnt.h: Likewise.
14077 * sysdeps/generic/framestate.c: Likewise.
14078 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14079 * sysdeps/i386/bsd-setjmp.S: Likewise.
14080 * sysdeps/i386/__longjmp.S: Likewise.
14081 * sysdeps/i386/setjmp.S: Likewise.
14082 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14083 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14085 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14097 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14098 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14099 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14100 * sysdeps/ieee754/support.c: Likewise.
14101 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14102 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14103 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14104 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14105 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14106 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14107 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14108 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14109 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14110 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14111 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14112 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14113 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14114 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14115 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14116 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14117 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14120 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
14122 * posix/transbug.c: Remove executable mode.
14124 2013-06-05 Joseph Myers <joseph@codesourcery.com>
14126 * crypt/speeds.c: Remove trailing whitespace.
14127 * dlfcn/default.c: Likewise.
14128 * elf/ifuncdep2.c: Likewise.
14129 * elf/ifuncmain1.c: Likewise.
14130 * elf/ifuncmain1vis.c: Likewise.
14131 * elf/testobj.h: Likewise.
14132 * elf/tst-stackguard1.c: Likewise.
14133 * gmon/sys/gmon.h: Likewise.
14134 * hurd/hurdmsg.c: Likewise.
14135 * hurd/new-fd.c: Likewise.
14136 * hurd/ports-get.c: Likewise.
14137 * iconvdata/ibm1008_420.c: Likewise.
14138 * inet/tst-getni1.c: Likewise.
14139 * inet/tst-getni2.c: Likewise.
14140 * libio/ioungetc.c: Likewise.
14141 * libio/wfiledoalloc.c: Likewise.
14142 * manual/libm-err-tab.pl: Likewise.
14143 * math/w_dremf.c: Likewise.
14144 * misc/ftruncate.c: Likewise.
14145 * posix/bug-glob2.c: Likewise.
14146 * posix/tst-pcre.c: Likewise.
14147 * posix/wait4.c: Likewise.
14148 * resolv/README: Likewise.
14149 * resolv/res_debug.h: Likewise.
14150 * resolv/tst-inet_ntop.c: Likewise.
14151 * setjmp/bug269-setjmp.c: Likewise.
14152 * soft-fp/extended.h: Likewise.
14153 * soft-fp/op-1.h: Likewise.
14154 * soft-fp/op-2.h: Likewise.
14155 * soft-fp/op-4.h: Likewise.
14156 * soft-fp/op-8.h: Likewise.
14157 * soft-fp/testit.c: Likewise.
14158 * stdio-common/bug16.c: Likewise.
14159 * stdlib/random.c: Likewise.
14160 * sunrpc/rpcsvc/rquota.x: Likewise.
14161 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14166 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14167 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14168 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14169 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14170 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14174 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14188 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14190 * sysdeps/ieee754/s_lib_version.c: Likewise.
14191 * sysdeps/mach/hurd/check_fds.c: Likewise.
14192 * sysdeps/mach/hurd/getsockname.c: Likewise.
14193 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14194 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14195 * sysdeps/powerpc/bits/link.h: Likewise.
14196 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14197 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14198 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14199 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14200 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14201 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14202 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14203 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14204 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14205 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14206 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14207 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14208 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14209 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14210 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14211 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14212 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14213 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14214 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14215 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14216 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14217 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14218 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14219 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14220 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14221 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14222 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14223 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14224 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14225 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14226 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14227 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14228 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14229 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14230 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14231 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14232 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14233 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14234 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14235 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14236 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14237 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14238 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14239 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14240 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14241 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14242 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14243 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14244 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14245 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14248 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14249 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14250 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14251 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14252 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14253 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14254 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14255 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14256 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14257 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14258 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14259 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14260 * sysdeps/powerpc/sysdep.h: Likewise.
14261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14262 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14263 * sysdeps/sh/dl-trampoline.S: Likewise.
14264 * sysdeps/sh/memset.S: Likewise.
14265 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14266 * sysdeps/sh/strlen.S: Likewise.
14267 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14268 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14269 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14270 * sysdeps/sparc/sparc32/rem.S: Likewise.
14271 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14272 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14273 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14274 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14275 * sysdeps/sparc/sparc32/urem.S: Likewise.
14276 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14277 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14278 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14279 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14281 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14282 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14283 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14284 * sysdeps/unix/bsd/times.c: Likewise.
14285 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14286 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14290 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14291 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14292 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14293 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14294 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14295 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14296 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14297 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14298 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14299 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14300 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14301 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14302 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14303 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14304 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14305 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14306 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14307 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14308 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14309 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14310 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14311 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14312 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14313 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14314 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14315 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14316 * sysdeps/x86_64/strcspn.S: Likewise.
14318 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14320 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14321 generated file. Regenerate properly from gen-translit.pl.
14322 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14323 locale/C-translit.h.
14325 2013-06-05 Andreas Schwab <schwab@suse.de>
14328 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14329 week as 6 instead of -1.
14330 * time/tst-strptime.c (day_tests): Add test case.
14332 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14334 * sysdeps/generic/math_private.h
14335 (libc_feholdexcept_setround_53bit): Replace with
14336 libc_feholdsetround_53bit.
14337 (libc_feupdateenv_53bit): Replace with
14338 libc_feresetround_53bit.
14339 (SET_RESTORE_ROUND_53BIT): Adjust.
14341 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14343 * string/test-strchrnul.c: Add copyright header.
14345 * posix/tst-getaddrinfo4.c: Increase test timeout.
14347 2013-06-03 Carlos O'Donell <carlos@redhat.com>
14350 * math/libm-test.inc (MAX_EXP): Remove
14352 (ulp): Use MIN_EXP - MANT_DIG.
14353 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14355 2013-05-31 Carlos O'Donell <carlos@redhat.com>
14357 * po/be.po: Revert last change.
14358 * po/zh_CN.po: Likewise.
14359 * po/header.pot: Likewise.
14361 2013-05-31 Joseph Myers <joseph@codesourcery.com>
14363 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14364 link-libc-deps to empty as target-specific variable.
14365 * Makerules (link-libc-args): New variable.
14366 (libc-for-link): Likewise.
14367 (link-libc-deps): Likewise.
14368 (lib%.so): Depend on $(link-libc-deps). Link with
14370 (build-module): Link with $(link-libc-args).
14371 (build-module-asneeded): Likewise.
14372 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14374 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14375 target-specific variable.
14376 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14377 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14378 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14380 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14382 ($(objpfx)libpcprofile.so): Likewise.
14383 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14385 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14386 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14387 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14389 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14390 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14391 * login/Makefile ($(objpfx)libutil.so): Likewise.
14392 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14393 * math/Makefile ($(objpfx)libm.so): Likewise.
14394 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14395 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14396 variable instead of depending directly on libc.
14397 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14398 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14400 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14402 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14403 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14404 ($(objpfx)libanl.so): Likewise.
14405 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14407 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14409 * sysdeps/i386/fpu/Makefile: Remove file.
14410 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14411 ($(objpfx)libm.so): Remove dependency on ld.so.
14413 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
14416 * nis/yp_xdr.c (XDRMAXNAME): Define.
14417 (XDRMAXRECORD): Define.
14418 (xdr_domainname): Use XDRMAXNAME.
14419 (xdr_mapname): Likewise.
14420 (xdr_peername): Likewise.
14421 (xdr_keydat): Use XDRMAXRECORD.
14422 (xdr_valdat): Likewise.
14424 2013-05-30 Jeff Law <law@redhat.com>
14427 * manual/errno.texi (ESTALE): Update to account for more than
14428 just NFS file systems.
14429 * sysdeps/gnu/errlist.c: Regenerated.
14431 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14434 * elf/Makefile (tests): Add tst-null-argv.
14435 (modules-names): Add tst-null-argv-lib.
14436 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14437 (tst-null-argv-ENV): Set environment for tst-null-argv.
14438 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14439 (RTLD_PROGNAME): New macro.
14440 * elf/tst-null-argv.c: New test case.
14441 * elf/tst-null-argv-lib.c: Library for test case.
14442 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14443 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14444 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14445 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14446 * elf/dl-init.c (call_init): Likewise.
14447 (_dl_init): Likewise.
14448 * elf/dl-load.c (print_search_path): Likewise.
14449 (_dl_map_object): Likewise.
14450 * elf/dl-lookup.c (do_lookup_x): Likewise.
14451 (add_dependency): Likewise.
14452 (_dl_lookup_symbol_x): Likewise.
14453 (_dl_debug_bindings): Likewise.
14454 * elf/dl-open.c (_dl_show_scope): Likewise.
14455 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14456 * elf/dl-version.c (match_symbol): Likewise.
14457 (_dl_check_map_versions): Likewise.
14458 * elf/rtld.c (dl_main): Likewise.
14459 (print_unresolved): Use RTLD_PROGNAME.
14460 (print_missing_version): Likewise.
14461 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14462 (elf_machine_rela): Likewise.
14463 * sysdeps/powerpc/powerpc32/dl-machine.c
14464 (__process_machine_rela): Likewise.
14465 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14467 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14471 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14478 2013-05-28 Carlos O'Donell <carlos@redhat.com>
14480 * po/be.po: Add descriptive title.
14481 * po/zh_CN.po: Likewise.
14482 * po/header.pot: Likewise.
14484 2013-05-28 Mike Frysinger <vapier@gentoo.org>
14486 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14488 (enlarge_archive): Likewise.
14490 2013-05-28 Ben North <ben@redfrontdoor.org>
14492 * manual/arith.texi (frexp): It is the magnitude of the return
14493 value which lies in [0.5, 1), not the return value itself.
14495 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14499 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14501 * stdio-common/bug26.c (main): Correct fscanf template.
14503 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14504 declare _dl_skip_args.
14506 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14509 * manual/platform.texi: Add missing @end deftypefun.
14511 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14514 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14515 bit of mantissa of 2^16382.
14516 * math/libm-test.inc (hypot_test_data): Add more tests.
14518 * math/libm-test.inc: Add drem and pow10 to list of tested
14520 (pow10_test): New function.
14521 (drem_test): Likewise.
14522 (drem_test_tonearest): Likewise.
14523 (drem_test_towardzero): Likewise.
14524 (drem_test_downward): Likewise.
14525 (drem_test_upward): Likewise.
14526 (main): Call the new functions.
14528 * math/libm-test.inc (finite_test_data): Remove.
14529 (finite_test): Run tests from isfinite_test_data.
14530 (gamma_test_data): Remove.
14531 (gamma_test): Run tests from lgamma_test_data.
14532 * sysdeps/i386/fpu/libm-test-ulps: Update.
14533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14535 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14537 * manual/platform.texi: Add PowerPC PPR function set documentation.
14538 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14541 2013-05-24 Carlos O'Donell <carlos@redhat.com>
14543 * math/libm-test.inc (MAX_EXP): Define.
14545 (ulp): New function.
14546 (check_float_internal): Use ULPDIFF.
14547 (cpow_test): Disable failing test.
14548 (check_ulp): Test ulp() implemetnation.
14549 (main): Call check_ulp before starting tests.
14551 2013-05-24 Joseph Myers <joseph@codesourcery.com>
14553 * math/gen-libm-test.pl (generate_testfile): Do not handle
14554 START_DATA and END_DATA.
14555 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14557 (acos_tonearest_test_data): Likewise.
14558 (acos_towardzero_test_data): Likewise.
14559 (acos_downward_test_data): Likewise.
14560 (acos_upward_test_data): Likewise.
14561 (acosh_test_data): Likewise.
14562 (asin_test_data): Likewise.
14563 (asin_tonearest_test_data): Likewise.
14564 (asin_towardzero_test_data): Likewise.
14565 (asin_downward_test_data): Likewise.
14566 (asin_upward_test_data): Likewise.
14567 (asinh_test_data): Likewise.
14568 (atan_test_data): Likewise.
14569 (atanh_test_data): Likewise.
14570 (atan2_test_data): Likewise.
14571 (cabs_test_data): Likewise.
14572 (cacos_test_data): Likewise.
14573 (cacosh_test_data): Likewise.
14574 (carg_test_data): Likewise.
14575 (casin_test_data): Likewise.
14576 (casinh_test_data): Likewise.
14577 (catan_test_data): Likewise.
14578 (catanh_test_data): Likewise.
14579 (cbrt_test_data): Likewise.
14580 (ccos_test_data): Likewise.
14581 (ccosh_test_data): Likewise.
14582 (ceil_test_data): Likewise.
14583 (cexp_test_data): Likewise.
14584 (cimag_test_data): Likewise.
14585 (clog_test_data): Likewise.
14586 (clog10_test_data): Likewise.
14587 (conj_test_data): Likewise.
14588 (copysign_test_data): Likewise.
14589 (cos_test_data): Likewise.
14590 (cos_tonearest_test_data): Likewise.
14591 (cos_towardzero_test_data): Likewise.
14592 (cos_downward_test_data): Likewise.
14593 (cos_upward_test_data): Likewise.
14594 (cosh_test_data): Likewise.
14595 (cosh_tonearest_test_data): Likewise.
14596 (cosh_towardzero_test_data): Likewise.
14597 (cosh_downward_test_data): Likewise.
14598 (cosh_upward_test_data): Likewise.
14599 (cpow_test_data): Likewise.
14600 (cproj_test_data): Likewise.
14601 (creal_test_data): Likewise.
14602 (csin_test_data): Likewise.
14603 (csinh_test_data): Likewise.
14604 (csqrt_test_data): Likewise.
14605 (ctan_test_data): Likewise.
14606 (ctan_tonearest_test_data): Likewise.
14607 (ctan_towardzero_test_data): Likewise.
14608 (ctan_downward_test_data): Likewise.
14609 (ctan_upward_test_data): Likewise.
14610 (ctanh_test_data): Likewise.
14611 (ctanh_tonearest_test_data): Likewise.
14612 (ctanh_towardzero_test_data): Likewise.
14613 (ctanh_downward_test_data): Likewise.
14614 (ctanh_upward_test_data): Likewise.
14615 (erf_test_data): Likewise.
14616 (erfc_test_data): Likewise.
14617 (exp_test_data): Likewise.
14618 (exp_tonearest_test_data): Likewise.
14619 (exp_towardzero_test_data): Likewise.
14620 (exp_downward_test_data): Likewise.
14621 (exp_upward_test_data): Likewise.
14622 (exp10_test_data): Likewise.
14623 (exp2_test_data): Likewise.
14624 (expm1_test_data): Likewise.
14625 (fabs_test_data): Likewise.
14626 (fdim_test_data): Likewise.
14627 (finite_test_data): Likewise.
14628 (floor_test_data): Likewise.
14629 (fma_test_data): Likewise.
14630 (fma_towardzero_test_data): Likewise.
14631 (fma_downward_test_data): Likewise.
14632 (fma_upward_test_data): Likewise.
14633 (fmax_test_data): Likewise.
14634 (fmin_test_data): Likewise.
14635 (fmod_test_data): Likewise.
14636 (fpclassify_test_data): Likewise.
14637 (frexp_test_data): Likewise.
14638 (gamma_test_data): Likewise.
14639 (hypot_test_data): Likewise.
14640 (ilogb_test_data): Likewise.
14641 (isfinite_test_data): Likewise.
14642 (isgreater_test_data): Likewise.
14643 (isgreaterequal_test_data): Likewise.
14644 (isinf_test_data): Likewise.
14645 (isless_test_data): Likewise.
14646 (islessequal_test_data): Likewise.
14647 (islessgreater_test_data): Likewise.
14648 (isnan_test_data): Likewise.
14649 (isnormal_test_data): Likewise.
14650 (issignaling_test_data): Likewise.
14651 (isunordered_test_data): Likewise.
14652 (j0_test_data): Likewise.
14653 (j1_test_data): Likewise.
14654 (jn_test_data): Likewise.
14655 (ldexp_test_data): Likewise.
14656 (lgamma_test_data): Likewise.
14657 (lrint_test_data): Likewise.
14658 (lrint_tonearest_test_data): Likewise.
14659 (lrint_towardzero_test_data): Likewise.
14660 (lrint_downward_test_data): Likewise.
14661 (lrint_upward_test_data): Likewise.
14662 (llrint_test_data): Likewise.
14663 (llrint_tonearest_test_data): Likewise.
14664 (llrint_towardzero_test_data): Likewise.
14665 (llrint_downward_test_data): Likewise.
14666 (llrint_upward_test_data): Likewise.
14667 (log_test_data): Likewise.
14668 (log10_test_data): Likewise.
14669 (log1p_test_data): Likewise.
14670 (log2_test_data): Likewise.
14671 (logb_test_data): Likewise.
14672 (logb_downward_test_data): Likewise.
14673 (lround_test_data): Likewise.
14674 (llround_test_data): Likewise.
14675 (modf_test_data): Likewise.
14676 (nearbyint_test_data): Likewise.
14677 (nextafter_test_data): Likewise.
14678 (nexttoward_test_data): Likewise.
14679 (pow_test_data): Likewise.
14680 (pow_tonearest_test_data): Likewise.
14681 (pow_towardzero_test_data): Likewise.
14682 (pow_downward_test_data): Likewise.
14683 (pow_upward_test_data): Likewise.
14684 (remainder_test_data): Likewise.
14685 (remainder_tonearest_test_data): Likewise.
14686 (remainder_towardzero_test_data): Likewise.
14687 (remainder_downward_test_data): Likewise.
14688 (remainder_upward_test_data): Likewise.
14689 (remquo_test_data): Likewise.
14690 (rint_test_data): Likewise.
14691 (rint_tonearest_test_data): Likewise.
14692 (rint_towardzero_test_data): Likewise.
14693 (rint_downward_test_data): Likewise.
14694 (rint_upward_test_data): Likewise.
14695 (round_test_data): Likewise.
14696 (scalb_test_data): Likewise.
14697 (scalbn_test_data): Likewise.
14698 (scalbln_test_data): Likewise.
14699 (signbit_test_data): Likewise.
14700 (sin_test_data): Likewise.
14701 (sin_tonearest_test_data): Likewise.
14702 (sin_towardzero_test_data): Likewise.
14703 (sin_downward_test_data): Likewise.
14704 (sin_upward_test_data): Likewise.
14705 (sincos_test_data): Likewise.
14706 (sinh_test_data): Likewise.
14707 (sinh_tonearest_test_data): Likewise.
14708 (sinh_towardzero_test_data): Likewise.
14709 (sinh_downward_test_data): Likewise.
14710 (sinh_upward_test_data): Likewise.
14711 (sqrt_test_data): Likewise.
14712 (tan_test_data): Likewise.
14713 (tan_tonearest_test_data): Likewise.
14714 (tan_towardzero_test_data): Likewise.
14715 (tan_downward_test_data): Likewise.
14716 (tan_upward_test_data): Likewise.
14717 (tanh_test_data): Likewise.
14718 (tgamma_test_data): Likewise.
14719 (trunc_test_data): Likewise.
14720 (y0_test_data): Likewise.
14721 (y1_test_data): Likewise.
14722 (yn_test_data): Likewise.
14723 (significand_test_data): Likewise.
14725 * math/gen-libm-test.pl (@functions): Remove variable.
14726 (generate_testfile): Don't handle START and END lines.
14727 * math/libm-test.inc (START): New macro.
14729 (END_COMPLEX): Likewise.
14730 (acos_test): Use END macro without arguments.
14731 (acos_test_tonearest): Likewise.
14732 (acos_test_towardzero): Likewise.
14733 (acos_test_downward): Likewise.
14734 (acos_test_upward): Likewise.
14735 (acosh_test): Likewise.
14736 (asin_test): Likewise.
14737 (asin_test_tonearest): Likewise.
14738 (asin_test_towardzero): Likewise.
14739 (asin_test_downward): Likewise.
14740 (asin_test_upward): Likewise.
14741 (asinh_test): Likewise.
14742 (atan_test): Likewise.
14743 (atanh_test): Likewise.
14744 (atan2_test): Likewise.
14745 (cabs_test): Likewise.
14746 (cacos_test): Use END_COMPLEX macro without arguments.
14747 (cacosh_test): Likewise.
14748 (carg_test): Use END macro without arguments.
14749 (casin_test): Use END_COMPLEX macro without arguments.
14750 (casinh_test): Likewise.
14751 (catan_test): Likewise.
14752 (catanh_test): Likewise.
14753 (cbrt_test): Use END macro without arguments.
14754 (ccos_test): Use END_COMPLEX macro without arguments.
14755 (ccosh_test): Likewise.
14756 (ceil_test): Use END macro without arguments.
14757 (cexp_test): Use END_COMPLEX macro without arguments.
14758 (cimag_test): Use END macro without arguments.
14759 (clog_test): Use END_COMPLEX macro without arguments.
14760 (clog10_test): Likewise.
14761 (conj_test): Likewise.
14762 (copysign_test): Use END macro without arguments.
14763 (cos_test): Likewise.
14764 (cos_test_tonearest): Likewise.
14765 (cos_test_towardzero): Likewise.
14766 (cos_test_downward): Likewise.
14767 (cos_test_upward): Likewise.
14768 (cosh_test): Likewise.
14769 (cosh_test_tonearest): Likewise.
14770 (cosh_test_towardzero): Likewise.
14771 (cosh_test_downward): Likewise.
14772 (cosh_test_upward): Likewise.
14773 (cpow_test): Use END_COMPLEX macro without arguments.
14774 (cproj_test): Likewise.
14775 (creal_test): Use END macro without arguments.
14776 (csin_test): Use END_COMPLEX macro without arguments.
14777 (csinh_test): Likewise.
14778 (csqrt_test): Likewise.
14779 (ctan_test): Likewise.
14780 (ctan_test_tonearest): Likewise.
14781 (ctan_test_towardzero): Likewise.
14782 (ctan_test_downward): Likewise.
14783 (ctan_test_upward): Likewise.
14784 (ctanh_test): Likewise.
14785 (ctanh_test_tonearest): Likewise.
14786 (ctanh_test_towardzero): Likewise.
14787 (ctanh_test_downward): Likewise.
14788 (ctanh_test_upward): Likewise.
14789 (erf_test): Use END macro without arguments.
14790 (erfc_test): Likewise.
14791 (exp_test): Likewise.
14792 (exp_test_tonearest): Likewise.
14793 (exp_test_towardzero): Likewise.
14794 (exp_test_downward): Likewise.
14795 (exp_test_upward): Likewise.
14796 (exp10_test): Likewise.
14797 (exp2_test): Likewise.
14798 (expm1_test): Likewise.
14799 (fabs_test): Likewise.
14800 (fdim_test): Likewise.
14801 (finite_test): Likewise.
14802 (floor_test): Likewise.
14803 (fma_test): Likewise.
14804 (fma_test_towardzero): Likewise.
14805 (fma_test_downward): Likewise.
14806 (fma_test_upward): Likewise.
14807 (fmax_test): Likewise.
14808 (fmin_test): Likewise.
14809 (fmod_test): Likewise.
14810 (fpclassify_test): Likewise.
14811 (frexp_test): Likewise.
14812 (gamma_test): Likewise.
14813 (hypot_test): Likewise.
14814 (ilogb_test): Likewise.
14815 (isfinite_test): Likewise.
14816 (isgreater_test): Likewise.
14817 (isgreaterequal_test): Likewise.
14818 (isinf_test): Likewise.
14819 (isless_test): Likewise.
14820 (islessequal_test): Likewise.
14821 (islessgreater_test): Likewise.
14822 (isnan_test): Likewise.
14823 (isnormal_test): Likewise.
14824 (issignaling_test): Likewise.
14825 (isunordered_test): Likewise.
14826 (j0_test): Likewise.
14827 (j1_test): Likewise.
14828 (jn_test): Likewise.
14829 (ldexp_test): Likewise.
14830 (lgamma_test): Likewise.
14831 (lrint_test): Likewise.
14832 (lrint_test_tonearest): Likewise.
14833 (lrint_test_towardzero): Likewise.
14834 (lrint_test_downward): Likewise.
14835 (lrint_test_upward): Likewise.
14836 (llrint_test): Likewise.
14837 (llrint_test_tonearest): Likewise.
14838 (llrint_test_towardzero): Likewise.
14839 (llrint_test_downward): Likewise.
14840 (llrint_test_upward): Likewise.
14841 (log_test): Likewise.
14842 (log10_test): Likewise.
14843 (log1p_test): Likewise.
14844 (log2_test): Likewise.
14845 (logb_test): Likewise.
14846 (logb_test_downward): Likewise.
14847 (lround_test): Likewise.
14848 (llround_test): Likewise.
14849 (modf_test): Likewise.
14850 (nearbyint_test): Likewise.
14851 (nextafter_test): Likewise.
14852 (nexttoward_test): Likewise.
14853 (pow_test): Likewise.
14854 (pow_test_tonearest): Likewise.
14855 (pow_test_towardzero): Likewise.
14856 (pow_test_downward): Likewise.
14857 (pow_test_upward): Likewise.
14858 (remainder_test): Likewise.
14859 (remainder_test_tonearest): Likewise.
14860 (remainder_test_towardzero): Likewise.
14861 (remainder_test_downward): Likewise.
14862 (remainder_test_upward): Likewise.
14863 (remquo_test): Likewise.
14864 (rint_test): Likewise.
14865 (rint_test_tonearest): Likewise.
14866 (rint_test_towardzero): Likewise.
14867 (rint_test_downward): Likewise.
14868 (rint_test_upward): Likewise.
14869 (round_test): Likewise.
14870 (scalb_test): Likewise.
14871 (scalbn_test): Likewise.
14872 (scalbln_test): Likewise.
14873 (signbit_test): Likewise.
14874 (sin_test): Likewise.
14875 (sin_test_tonearest): Likewise.
14876 (sin_test_towardzero): Likewise.
14877 (sin_test_downward): Likewise.
14878 (sin_test_upward): Likewise.
14879 (sincos_test): Likewise.
14880 (sinh_test): Likewise.
14881 (sinh_test_tonearest): Likewise.
14882 (sinh_test_towardzero): Likewise.
14883 (sinh_test_downward): Likewise.
14884 (sinh_test_upward): Likewise.
14885 (sqrt_test): Likewise.
14886 (tan_test): Likewise.
14887 (tan_test_tonearest): Likewise.
14888 (tan_test_towardzero): Likewise.
14889 (tan_test_downward): Likewise.
14890 (tan_test_upward): Likewise.
14891 (tanh_test): Likewise.
14892 (tgamma_test): Likewise.
14893 (trunc_test): Likewise.
14894 (y0_test): Likewise.
14895 (y1_test): Likewise.
14896 (yn_test): Likewise.
14897 (significand_test): Likewise.
14899 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
14902 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14904 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14907 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14908 __ppc_mdoio and __ppc_mdoom.
14909 * manual/platform.texi: Document new functions __ppc_yield,
14910 __ppc_mdoio and __ppc_mdoom.
14912 2013-05-22 Carlos O'Donell <carlos@redhat.com>
14914 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14915 (main): Mention "tls" pseudo-hwcap is legacy.
14916 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14918 2013-05-22 Joseph Myers <joseph@codesourcery.com>
14920 * math/gen-libm-test.pl (parse_args): Output only string of
14921 arguments as text for test name, not full call or descriptions of
14922 tests for extra outputs.
14923 (generate_testfile): Do not pass function name to parse_args.
14924 Generate this_func variable from START.
14925 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14927 (struct test_ff_f_data): Likewise.
14928 (test_ff_f_data_nexttoward): Likewise.
14929 (struct test_fi_f_data): Likewise.
14930 (struct test_fl_f_data): Likewise.
14931 (struct test_if_f_data): Likewise.
14932 (struct test_fff_f_data): Likewise.
14933 (struct test_c_f_data): Likewise.
14934 (struct test_f_f1_data): Likewise. Remove field extra_name.
14935 (struct test_fF_f1_data): Likewise.
14936 (struct test_ffI_f1_data): Likewise.
14937 (struct test_c_c_data): Rename test_name field to arg_str.
14938 (struct test_cc_c_data): Likewise.
14939 (struct test_f_i_data): Likewise.
14940 (struct test_ff_i_data): Likewise.
14941 (struct test_f_l_data): Likewise.
14942 (struct test_f_L_data): Likewise.
14943 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14945 (COMMON_TEST_SETUP): New macro.
14946 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14947 (COMMON_TEST_CLEANUP): Likewise.
14948 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14949 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14951 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14952 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14954 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14955 (RUN_TEST_fff_f): Take argument string. Call new setup and
14957 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14958 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14960 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14961 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14963 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14964 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14966 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14967 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14969 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14970 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14972 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14973 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14975 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14976 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14978 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14979 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14981 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14982 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14984 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14985 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14987 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14988 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14990 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14991 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14993 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14994 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14996 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14997 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14999 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15000 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15002 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15004 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15006 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15007 to _sifields.sigfault.
15008 (si_addr_lsb): Define new macro.
15009 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15010 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15011 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15013 2013-05-03 Carlos O'Donell <carlos at redhat.com>
15016 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15018 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15020 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15021 loading the domain.
15023 2013-05-22 Joseph Myers <joseph@codesourcery.com>
15025 * math/gen-libm-test.pl (parse_args): Do not include expected
15026 result in test name.
15027 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15028 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15029 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15031 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15036 * benchtests/Makefile: Sort function entries.
15038 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15039 tanh, asinh, acosh, atanh.
15040 * benchtests/acos-inputs: New file.
15041 * benchtests/acosh-inputs: New file.
15042 * benchtests/asin-inputs: New file.
15043 * benchtests/asinh-inputs: New file.
15044 * benchtests/atanh-inputs: New file.
15045 * benchtests/cosh-inputs: New file.
15046 * benchtests/log-inputs: New file.
15047 * benchtests/sinh-inputs: New file.
15048 * benchtests/tanh-inputs: New file.
15050 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15053 * posix/tst-getaddrinfo4.c: New test.
15054 * posix/Makefile (tests): Add it.
15056 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15059 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15060 when no services were used.
15061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15062 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15064 2013-05-21 Andreas Schwab <schwab@suse.de>
15067 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15068 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15070 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15071 redundant variable declarations and reallocation of buffer when
15072 parsing as IPv6 address. Always set NSS status when called from
15073 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15074 buffer too small. Correct computation of needed size.
15075 * nss/Makefile (tests): Add test-digits-dots.
15076 * nss/test-digits-dots.c: New test.
15078 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15080 * benchtests/Makefile: Remove instructions for adding
15082 * benchtests/README: New file to explain how to execute and
15083 enhance the benchmark tests.
15085 2013-05-21 Andreas Schwab <schwab@suse.de>
15088 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15089 * setjmp/tst-sigsetjmp.c: New test.
15091 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15093 * sysdeps/x86_64/memset.S (memset): New implementation.
15094 (__bzero): Likewise.
15095 (__memset_tail): New function.
15097 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
15099 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15100 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15101 __memcpy_sse2_unaligned ifunc selection.
15102 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15103 Add memcpy-sse2-unaligned.S.
15104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15105 Add: __memcpy_sse2_unaligned.
15107 2013-05-19 Joseph Myers <joseph@codesourcery.com>
15110 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15111 math_force_eval before restoring floating-point envrionment.
15112 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15115 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15117 (__nearbyintl): Use math_force_eval before restoring
15118 floating-point environment.
15119 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15121 * math/gen-libm-test.pl (special_functions): Remove.
15122 (parse_args): Don't handle TEST_extra. Handle functions with no
15124 * math/libm-test.inc (struct test_sincos_data): Replace with
15125 struct test_fFF_11_data.
15126 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15127 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15128 (sincos_test_data): Change element type to struct
15129 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15130 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15131 RUN_TEST_LOOP_sincos.
15132 * math/README.libm-test: Don't mention special handling of
15133 individual functions.
15134 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15136 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15137 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15138 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15141 * math/gen-libm-test.pl (get_variable): Remove function.
15142 (parse_args): Don't show pointer parameters to call in test
15143 names. Use "extra output N" in test names for extra outputs
15144 rather than naming variables.
15146 2013-05-18 Joseph Myers <joseph@codesourcery.com>
15149 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15150 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15151 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15153 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15155 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15158 * math/gen-libm-test.pl (@tests): Remove variable.
15159 ($count): Likewise.
15160 (new_test): Remove function.
15161 (show_exceptions): New function.
15162 (special_functions): Use show_exceptions instead of new_test.
15163 (parse_args): Likewise.
15164 (generate_testfile): Pass only function name in generated call to
15165 print_max_error or print_complex_max_error.
15166 (get_ulps): Do not handle complex tests specially.
15167 (output_test): Rename to ...
15168 (get_all_ulps_for_test): ... this. Return a string rather than
15169 printing to a file. Require ulps to be present.
15170 (output_ulps): Generate arrays rather than #defines.
15171 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15172 (struct ulp_data): New type.
15173 (BUILD_COMPLEX_ULP): Remove macro.
15174 (compare_ulp_data): New function.
15175 (find_ulps): Likewise.
15176 (find_test_ulps): Likewise.
15177 (find_function_ulps): Likewise.
15178 (find_complex_function_ulps): Likewise.
15179 (print_max_error): Determine allowed ulps using
15180 find_function_ulps.
15181 (print_complex_max_error): Determine allowed ulps using
15182 find_complex_function_ulps.
15183 (check_float_internal): Determine max ulps using find_test_ulps.
15184 (check_float): Do not take max_ulp parameter. Update call to
15185 check_float_internal.
15186 (check_complex): Likewise.
15187 (check_int): Do not take max_ulp parameter.
15188 (check_long): Likewise.
15189 (check_bool): Likewise.
15190 (check_longlong): Likewise.
15191 (struct test_f_f_data): Remove max_ulp field.
15192 (struct test_ff_f_data): Likewise.
15193 (struct test_ff_f_data_nexttoward): Likewise.
15194 (struct test_fi_f_data): Likewise.
15195 (struct test_fl_f_data): Likewise.
15196 (struct test_if_f_data): Likewise.
15197 (struct test_fff_f_data): Likewise.
15198 (struct test_c_f_data): Likewise.
15199 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15200 (struct test_fF_f1_data): Likewise.
15201 (struct test_ffI_f1_data): Likewise.
15202 (struct test_c_c_data): Remove max_ulp field.
15203 (struct test_cc_c_data): Likewise.
15204 (struct test_f_i_data): Likewise.
15205 (struct test_ff_i_data): Likewise.
15206 (struct test_f_l_data): Likewise.
15207 (struct test_f_L_data): Likewise.
15208 (struct test_sincos_data): Likewise.
15209 (RUN_TEST_f_f): Do not handle ulps.
15210 (RUN_TEST_LOOP_f_f): Likewise.
15211 (RUN_TEST_2_f): Likewise.
15212 (RUN_TEST_LOOP_2_f): Likewise.
15213 (RUN_TEST_fff_f): Likewise.
15214 (RUN_TEST_LOOP_fff_f): Likewise.
15215 (RUN_TEST_c_f): Likewise.
15216 (RUN_TEST_LOOP_c_f): Likewise.
15217 (RUN_TEST_f_f1): Likewise.
15218 (RUN_TEST_LOOP_f_f1): Likewise.
15219 (RUN_TEST_fF_f1): Likewise.
15220 (RUN_TEST_LOOP_fF_f1): Likewise.
15221 (RUN_TEST_fI_f1): Likewise.
15222 (RUN_TEST_LOOP_fI_f1): Likewise.
15223 (RUN_TEST_ffI_f1): Likewise.
15224 (RUN_TEST_LOOP_ffI_f1): Likewise.
15225 (RUN_TEST_c_c): Likewise.
15226 (RUN_TEST_LOOP_c_c): Likewise.
15227 (RUN_TEST_cc_c): Likewise.
15228 (RUN_TEST_LOOP_cc_c): Likewise.
15229 (RUN_TEST_f_i): Likewise.
15230 (RUN_TEST_LOOP_f_i): Likewise.
15231 (RUN_TEST_f_i_tg): Likewise.
15232 (RUN_TEST_LOOP_f_i_tg): Likewise.
15233 (RUN_TEST_ff_i_tg): Likewise.
15234 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15235 (RUN_TEST_f_b): Likewise.
15236 (RUN_TEST_LOOP_f_b): Likewise.
15237 (RUN_TEST_f_b_tg): Likewise.
15238 (RUN_TEST_LOOP_f_b_tg): Likewise.
15239 (RUN_TEST_f_l): Likewise.
15240 (RUN_TEST_LOOP_f_l): Likewise.
15241 (RUN_TEST_f_L): Likewise.
15242 (RUN_TEST_LOOP_f_L): Likewise.
15243 (RUN_TEST_sincos): Likewise.
15244 (RUN_TEST_LOOP_sincos): Likewise.
15246 2013-05-17 Joseph Myers <joseph@codesourcery.com>
15250 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15251 main case of finite arguments, set rounding mode to FE_TONEAREST
15252 and discard exceptions.
15253 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15255 (remainder_tonearest_test_data): New variable.
15256 (remainder_test_tonearest): New function.
15257 (remainder_towardzero_test_data): New variable.
15258 (remainder_test_towardzero): New function.
15259 (remainder_downward_test_data): New variable.
15260 (remainder_test_downward): New function.
15261 (remainder_upward_test_data): New variable.
15262 (remainder_test_upward): New function.
15263 (main): Call the new test functions.
15265 * math/libm-test.inc (struct test_f_f1_data): Remove field
15267 (struct test_fF_f1_data): Likewise.
15268 (struct test_ffI_f1_data): Likewise.
15269 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15270 based on value of EXTRA_EXPECTED.
15271 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15272 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15273 EXTRA_VAR based on value of EXTRA_EXPECTED.
15274 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15275 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15276 EXTRA_VAR based on value of EXTRA_EXPECTED.
15277 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15278 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15279 EXTRA_VAR based on value of EXTRA_EXPECTED.
15280 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15281 * math/gen-libm-test.pl (parse_args): Don't output initializers
15282 for extra output values.
15284 * math/libm-test.inc (check_int): Expect result to be exactly
15285 equal to expected value and do not handle ulps.
15286 (check_long): Likewise.
15287 (check_longlong): Likewise.
15289 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15291 (cimag_test_data): Likewise.
15292 (conj_test_data): Likewise.
15293 (copysign_test_data): Likewise.
15294 (cproj_test_data): Likewise.
15295 (creal_test_data): Likewise.
15296 (fabs_test_data): Likewise.
15297 (fdim_test_data): Likewise.
15298 (finite_test_data): Likewise.
15299 (floor_test_data): Likewise.
15300 (fmax_test_data): Likewise.
15301 (fmin_test_data): Likewise.
15302 (fmod_test_data): Likewise.
15303 (fpclassify_test_data): Likewise.
15304 (frexp_test_data): Likewise.
15305 (ilogb_test_data): Likewise.
15306 (isfinite_test_data): Likewise.
15307 (isgreater_test_data): Likewise.
15308 (isgreaterequal_test_data): Likewise.
15309 (isinf_test_data): Likewise.
15310 (isless_test_data): Likewise.
15311 (islessequal_test_data): Likewise.
15312 (islessgreater_test_data): Likewise.
15313 (isnan_test_data): Likewise.
15314 (isnormal_test_data): Likewise.
15315 (issignaling_test_data): Likewise.
15316 (isunordered_test_data): Likewise.
15317 (ldexp_test_data): Likewise.
15318 (lrint_test_data): Likewise.
15319 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15320 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15321 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15322 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15323 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15324 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15326 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15327 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15328 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15329 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15331 (lrint_downward_test_data): Test for "inexact" exceptions.
15332 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15333 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15334 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15336 (lrint_upward_test_data): Test for "inexact" exceptions.
15337 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15339 (llrint_test_data): Test for "inexact" exceptions.
15340 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15341 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15342 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15343 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15344 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15345 (llrint_downward_test_data): Test for "inexact" exceptions.
15346 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15347 (llrint_upward_test_data): Test for "inexact" exceptions.
15348 (logb_test_data): Likewise.
15349 (logb_downward_test_data): Likewise.
15350 (nextafter_test_data): Likewise.
15351 (nexttoward_test_data): Likewise.
15352 (remainder_test_data): Likewise.
15353 (remquo_test_data): Likewise.
15354 (scalbn_test_data): Likewise.
15355 (scalbln_test_data): Likewise.
15356 (signbit_test_data): Likewise.
15357 (sqrt_test_data): Likewise.
15358 (significand_test_data): Likewise.
15360 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15363 * benchtests/bench-modf.c (struct args): Mark arg0 as
15365 * scripts/bench.pl: Mark members of struct args as volatile.
15367 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15370 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15371 negative infinity on POWER6 or lower.
15372 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15374 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15377 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15378 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15379 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15380 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15381 (_FP_SETQNAN): New macro.
15382 (_FP_SETQNAN_SEMIRAW): Likewise.
15383 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15384 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15385 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15386 (FP_EXTEND): Use _FP_FRAC_SNANP.
15387 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15388 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15390 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15392 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15395 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15397 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15398 with DIVIDE_BY_ZERO_EXCEPTION.
15399 (gamma_test_data): Likewise.
15400 (lgamma_test_data): Likewise.
15401 (log_test_data): Likewise.
15402 (log10_test_data): Likewise.
15403 (log2_test_data): Likewise.
15404 (tgamma_test_data): Likewise.
15406 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15407 (acos_test_tonearest): Likewise.
15408 (acos_test_towardzero): Likewise.
15409 (acos_test_downward): Likewise.
15410 (acos_test_upward): Likewise.
15411 (acosh_test): Likewise.
15412 (asin_test): Likewise.
15413 (asin_test_tonearest): Likewise.
15414 (asin_test_towardzero): Likewise.
15415 (asin_test_downward): Likewise.
15416 (asin_test_upward): Likewise.
15417 (asinh_test): Likewise.
15418 (atan_test): Likewise.
15419 (atanh_test): Likewise.
15420 (atan2_test): Likewise.
15421 (cabs_test): Likewise.
15422 (cacos_test): Likewise.
15423 (cacosh_test): Likewise.
15424 (casin_test): Likewise.
15425 (casinh_test): Likewise.
15426 (catan_test): Likewise.
15427 (catanh_test): Likewise.
15428 (cbrt_test): Likewise.
15429 (ccos_test): Likewise.
15430 (ccosh_test): Likewise.
15431 (cexp_test): Likewise.
15432 (clog_test): Likewise.
15433 (clog10_test): Likewise.
15434 (cos_test): Likewise.
15435 (cos_test_tonearest): Likewise.
15436 (cos_test_towardzero): Likewise.
15437 (cos_test_downward): Likewise.
15438 (cos_test_upward): Likewise.
15439 (cosh_test): Likewise.
15440 (cosh_test_tonearest): Likewise.
15441 (cosh_test_towardzero): Likewise.
15442 (cosh_test_downward): Likewise.
15443 (cosh_test_upward): Likewise.
15444 (cpow_test): Likewise.
15445 (csin_test): Likewise.
15446 (csinh_test): Likewise.
15447 (csqrt_test): Likewise.
15448 (ctan_test): Likewise.
15449 (ctan_test_tonearest): Likewise.
15450 (ctan_test_towardzero): Likewise.
15451 (ctan_test_downward): Likewise.
15452 (ctan_test_upward): Likewise.
15453 (ctanh_test): Likewise.
15454 (ctanh_test_tonearest): Likewise.
15455 (ctanh_test_towardzero): Likewise.
15456 (ctanh_test_downward): Likewise.
15457 (ctanh_test_upward): Likewise.
15458 (erf_test): Likewise.
15459 (erfc_test): Likewise.
15460 (exp_test): Likewise.
15461 (exp_test_tonearest): Likewise.
15462 (exp_test_towardzero): Likewise.
15463 (exp_test_downward): Likewise.
15464 (exp_test_upward): Likewise.
15465 (exp10_test): Likewise.
15466 (exp2_test): Likewise.
15467 (expm1_test): Likewise.
15468 (fmod_test): Likewise.
15469 (gamma_test): Likewise.
15470 (hypot_test): Likewise.
15471 (j0_test): Likewise.
15472 (j1_test): Likewise.
15473 (jn_test): Likewise.
15474 (lgamma_test): Likewise.
15475 (log_test): Likewise.
15476 (log10_test): Likewise.
15477 (log1p_test): Likewise.
15478 (log2_test): Likewise.
15479 (logb_test_downward): Likewise.
15480 (pow_test): Likewise.
15481 (pow_test_tonearest): Likewise.
15482 (pow_test_towardzero): Likewise.
15483 (pow_test_downward): Likewise.
15484 (pow_test_upward): Likewise.
15485 (remainder_test): Likewise.
15486 (remquo_test): Likewise.
15487 (sin_test): Likewise.
15488 (sin_test_tonearest): Likewise.
15489 (sin_test_towardzero): Likewise.
15490 (sin_test_downward): Likewise.
15491 (sin_test_upward): Likewise.
15492 (sincos_test): Likewise.
15493 (sinh_test): Likewise.
15494 (sinh_test_tonearest): Likewise.
15495 (sinh_test_towardzero): Likewise.
15496 (sinh_test_downward): Likewise.
15497 (sinh_test_upward): Likewise.
15498 (sqrt_test): Likewise.
15499 (tan_test): Likewise.
15500 (tan_test_tonearest): Likewise.
15501 (tan_test_towardzero): Likewise.
15502 (tan_test_downward): Likewise.
15503 (tan_test_upward): Likewise.
15504 (tanh_test): Likewise.
15505 (tgamma_test): Likewise.
15506 (y0_test): Likewise.
15507 (y1_test): Likewise.
15508 (yn_test): Likewise.
15510 * math/gen-libm-test.pl (adjust_arg): Remove function.
15511 (special_function): Remove argument $in_func. Only handle
15512 generating output for tables of tests, not inside functions.
15513 (parse_args): Likewise.
15514 (generate_testfile): Remove variable $in_func. Update call to
15516 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15517 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15518 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15519 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15520 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15521 (MAX_VALUE_INIT): Rename macro to max_value.
15522 (MIN_VALUE_INIT): Rename macro to min_value.
15523 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15524 (plus_zero): Remove variable.
15525 (minus_zero): Likewise.
15526 (plus_infty): Likewise.
15527 (minus_infty): Likewise.
15528 (qnan_value): Likewise.
15529 (max_value): Likewise.
15530 (min_value): Likewise.
15531 (min_subnorm_value): Likewise.
15533 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15535 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15536 uint64_t or uint32_t usage.
15537 * crypt/sha256-block.c: Likewise.
15538 * crypt/sha256-crypt.c: Likewise.
15539 * crypt/sha256.c: Likewise.
15540 * crypt/sha512-block.c: Likewise.
15541 * crypt/sha512-crypt.c: Likewise.
15542 * crypt/sha512.c: Likewise.
15543 * debug/backtrace-tst.c: Likewise.
15544 * debug/pcprofiledump.c: Likewise.
15545 * elf/cache.c: Likewise.
15546 * elf/dl-cache.c: Likewise.
15547 * elf/dl-misc.c: Likewise.
15548 * elf/dl-profile.c: Likewise.
15549 * elf/dl-support.c: Likewise.
15550 * elf/ldconfig.c: Likewise.
15551 * elf/sprof.c: Likewise.
15552 * iconv/dummy-repertoire.c: Likewise.
15553 * iconv/iconv_charmap.c: Likewise.
15554 * iconv/skeleton.c: Likewise.
15555 * iconvdata/8bit-generic.c: Likewise.
15556 * iconvdata/cp737.h: Likewise.
15557 * iconvdata/cp775.h: Likewise.
15558 * iconvdata/ibm1008.h: Likewise.
15559 * iconvdata/ibm1025.h: Likewise.
15560 * iconvdata/ibm1046.h: Likewise.
15561 * iconvdata/ibm1097.h: Likewise.
15562 * iconvdata/ibm1112.h: Likewise.
15563 * iconvdata/ibm1122.h: Likewise.
15564 * iconvdata/ibm1123.h: Likewise.
15565 * iconvdata/ibm1124.h: Likewise.
15566 * iconvdata/ibm1129.h: Likewise.
15567 * iconvdata/ibm1130.h: Likewise.
15568 * iconvdata/ibm1132.h: Likewise.
15569 * iconvdata/ibm1133.h: Likewise.
15570 * iconvdata/ibm1137.h: Likewise.
15571 * iconvdata/ibm1140.h: Likewise.
15572 * iconvdata/ibm1141.h: Likewise.
15573 * iconvdata/ibm1142.h: Likewise.
15574 * iconvdata/ibm1143.h: Likewise.
15575 * iconvdata/ibm1144.h: Likewise.
15576 * iconvdata/ibm1145.h: Likewise.
15577 * iconvdata/ibm1146.h: Likewise.
15578 * iconvdata/ibm1147.h: Likewise.
15579 * iconvdata/ibm1148.h: Likewise.
15580 * iconvdata/ibm1149.h: Likewise.
15581 * iconvdata/ibm1153.h: Likewise.
15582 * iconvdata/ibm1154.h: Likewise.
15583 * iconvdata/ibm1155.h: Likewise.
15584 * iconvdata/ibm1156.h: Likewise.
15585 * iconvdata/ibm1157.h: Likewise.
15586 * iconvdata/ibm1158.h: Likewise.
15587 * iconvdata/ibm1160.h: Likewise.
15588 * iconvdata/ibm1161.h: Likewise.
15589 * iconvdata/ibm1162.h: Likewise.
15590 * iconvdata/ibm1163.h: Likewise.
15591 * iconvdata/ibm1164.h: Likewise.
15592 * iconvdata/ibm1166.h: Likewise.
15593 * iconvdata/ibm1167.h: Likewise.
15594 * iconvdata/ibm12712.h: Likewise.
15595 * iconvdata/ibm1390.h: Likewise.
15596 * iconvdata/ibm1399.h: Likewise.
15597 * iconvdata/ibm16804.h: Likewise.
15598 * iconvdata/ibm4517.h: Likewise.
15599 * iconvdata/ibm4899.h: Likewise.
15600 * iconvdata/ibm4909.h: Likewise.
15601 * iconvdata/ibm4971.h: Likewise.
15602 * iconvdata/ibm5347.h: Likewise.
15603 * iconvdata/ibm803.h: Likewise.
15604 * iconvdata/ibm856.h: Likewise.
15605 * iconvdata/ibm901.h: Likewise.
15606 * iconvdata/ibm902.h: Likewise.
15607 * iconvdata/ibm9030.h: Likewise.
15608 * iconvdata/ibm9066.h: Likewise.
15609 * iconvdata/ibm921.h: Likewise.
15610 * iconvdata/ibm922.h: Likewise.
15611 * iconvdata/ibm9448.h: Likewise.
15612 * iconvdata/isiri-3342.h: Likewise.
15613 * iconvdata/jis0201.h: Likewise.
15614 * include/link.h: Likewise.
15615 * include/netdb.h: Likewise.
15616 * inet/check_native.c: Likewise.
15617 * inet/check_pf.c: Likewise.
15618 * inet/getipv4sourcefilter.c: Likewise.
15619 * inet/getnameinfo.c: Likewise.
15620 * inet/getsourcefilter.c: Likewise.
15621 * inet/htonl.c: Likewise.
15622 * inet/setipv4sourcefilter.c: Likewise.
15623 * inet/setsourcefilter.c: Likewise.
15624 * inet/test-inet6_opt.c: Likewise.
15625 * inet/tst-network.c: Likewise.
15626 * locale/C-collate.c: Likewise.
15627 * locale/C-ctype.c: Likewise.
15628 * locale/C-time.c: Likewise.
15629 * locale/C-translit.h: Likewise.
15630 * locale/loadarchive.c: Likewise.
15631 * locale/programs/3level.h: Likewise.
15632 * locale/programs/charmap.c: Likewise.
15633 * locale/programs/charmap.h: Likewise.
15634 * locale/programs/ld-address.c: Likewise.
15635 * locale/programs/ld-collate.c: Likewise.
15636 * locale/programs/ld-ctype.c: Likewise.
15637 * locale/programs/ld-identification.c: Likewise.
15638 * locale/programs/ld-measurement.c: Likewise.
15639 * locale/programs/ld-messages.c: Likewise.
15640 * locale/programs/ld-monetary.c: Likewise.
15641 * locale/programs/ld-name.c: Likewise.
15642 * locale/programs/ld-numeric.c: Likewise.
15643 * locale/programs/ld-paper.c: Likewise.
15644 * locale/programs/ld-telephone.c: Likewise.
15645 * locale/programs/ld-time.c: Likewise.
15646 * locale/programs/linereader.c: Likewise.
15647 * locale/programs/locale.c: Likewise.
15648 * locale/programs/locarchive.c: Likewise.
15649 * locale/programs/locfile.h: Likewise.
15650 * locale/programs/repertoire.c: Likewise.
15651 * locale/programs/simple-hash.c: Likewise.
15652 * locale/programs/simple-hash.h: Likewise.
15653 * malloc/memusage.c: Likewise.
15654 * malloc/memusagestat.c: Likewise.
15655 * nis/nis_defaults.c: Likewise.
15656 * nis/nis_hash.c: Likewise.
15657 * nis/nis_print.c: Likewise.
15658 * nis/nis_xdr.c: Likewise.
15659 * nscd/connections.c: Likewise.
15660 * nscd/hstcache.c: Likewise.
15661 * nscd/nscd_gethst_r.c: Likewise.
15662 * nscd/nscd_getserv_r.c: Likewise.
15663 * nscd/nscd_helper.c: Likewise.
15664 * nscd/servicescache.c: Likewise.
15665 * nss/makedb.c: Likewise.
15666 * nss/nss_db/db-XXX.c: Likewise.
15667 * nss/nss_db/db-initgroups.c: Likewise.
15668 * nss/nss_db/db-netgrp.c: Likewise.
15669 * nss/nss_files/files-network.c: Likewise.
15670 * nss/nss_files/files-parse.c: Likewise.
15671 * posix/bug-regex5.c: Likewise.
15672 * posix/fnmatch_loop.c: Likewise.
15673 * posix/regcomp.c: Likewise.
15674 * posix/regexec.c: Likewise.
15675 * posix/tst-rfc3484-2.c: Likewise.
15676 * posix/tst-rfc3484-3.c: Likewise.
15677 * posix/tst-rfc3484.c: Likewise.
15678 * resolv/nss_dns/dns-canon.c: Likewise.
15679 * resolv/nss_dns/dns-network.c: Likewise.
15680 * resolv/res_init.c: Likewise.
15681 * resolv/res_mkquery.c: Likewise.
15682 * resolv/tst-aton.c: Likewise.
15683 * stdlib/cxa_atexit.c: Likewise.
15684 * stdlib/cxa_finalize.c: Likewise.
15685 * stdlib/gen-fpioconst.c: Likewise.
15686 * stdlib/strtol_l.c: Likewise.
15687 * string/tst-endian.c: Likewise.
15688 * sunrpc/auth_des.c: Likewise.
15689 * sunrpc/clnt_udp.c: Likewise.
15690 * sunrpc/rtime.c: Likewise.
15691 * sunrpc/svcauth_des.c: Likewise.
15692 * sunrpc/xdr.c: Likewise.
15693 * sunrpc/xdr_intXX_t.c: Likewise.
15694 * sunrpc/xdr_rec.c: Likewise.
15695 * sysdeps/generic/ldconfig.h: Likewise.
15696 * sysdeps/generic/ldsodefs.h: Likewise.
15697 * sysdeps/generic/memusage.h: Likewise.
15698 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15699 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15700 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15701 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15702 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15704 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15705 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15706 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15708 * sysdeps/posix/getaddrinfo.c: Likewise.
15709 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15710 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15711 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15712 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15713 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15714 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15715 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15716 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15717 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15718 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15719 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15720 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15721 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15722 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15723 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15724 * sysdeps/x86_64/dl-tls.h: Likewise.
15725 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15726 * time/alt_digit.c: Likewise.
15727 * time/era.c: Likewise.
15728 * wcsmbs/tst-c16c32-1.c: Likewise.
15730 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15732 * math/libm-test.inc (struct test_sincos_data): New type.
15733 (RUN_TEST_LOOP_sincos): New macro.
15734 (sincos_test_data): New variable.
15735 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15737 2013-05-16 Richard Henderson <rth@redhat.com>
15739 * math/atest-exp2.c (LIMB64): New macro.
15740 (CONSTSZ): New macro.
15741 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15743 (print_mpn_fp): ... to function scope.
15744 (read_mpn_hex): Remove.
15745 (get_log2): Remove.
15746 (exp2_mpn): Use mp_log2.
15747 (main): Use mp_exp1.
15749 2013-05-16 Joseph Myers <joseph@codesourcery.com>
15751 * math/libm-test.inc: Remove comment about not testing "inexact"
15753 (INEXACT_EXCEPTION): New macro.
15754 (NO_INEXACT_EXCEPTION): Likewise.
15755 (INVALID_EXCEPTION_OK): Update value.
15756 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15757 (OVERFLOW_EXCEPTION_OK): Likewise.
15758 (UNDERFLOW_EXCEPTION_OK): Likewise.
15759 (IGNORE_ZERO_INF_SIGN): Likewise.
15760 (ERRNO_UNCHANGED): Likewise.
15761 (ERRNO_EDOM): Likewise.
15762 (ERRNO_ERANGE): Likewise.
15763 (test_exceptions): Handle testing "inexact" exceptions.
15764 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15765 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15766 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15767 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15769 (rint_towardzero_test_data): Likewise.
15770 (rint_downward_test_data): Likewise.
15771 (rint_upward_test_data): Likewise.
15773 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15774 with OVERFLOW_EXCEPTION.
15775 (exp10_test_data): Likewise.
15776 (exp2_test_data): Likewise.
15777 (expm1_test_data): Likewise.
15778 (lgamma_test_data): Likewise.
15779 (pow_test_data): Likewise.
15780 (tgamma_test_data): Likewise.
15781 (yn_test_data): Remove duplicate test of overflow.
15783 * math/libm-test.inc (struct test_cc_c_data): New type.
15784 (RUN_TEST_LOOP_cc_c): New macro.
15785 (cpow_test_data): New variable.
15786 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15788 * math/libm-test.inc (struct test_f_L_data): New type.
15789 (RUN_TEST_LOOP_f_L): New macro.
15790 (llrint_test_data): New variable.
15791 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15792 (llrint_tonearest_test_data): New variable.
15793 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15794 (llrint_towardzero_test_data): New variable.
15795 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15796 (llrint_downward_test_data): New variable.
15797 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15798 (llrint_upward_test_data): New variable.
15799 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15800 (llround_test_data): New variable.
15801 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15803 2013-05-13 Peter Collingbourne <pcc@google.com>
15805 * math/atest-exp2.c (get_log2): Remove const attribute.
15807 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15809 * math/libm-test.inc (struct test_f_l_data): New type.
15810 (RUN_TEST_LOOP_f_l): New macro.
15811 (lrint_test_data): New variable.
15812 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15813 (lrint_tonearest_test_data): New variable.
15814 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15815 (lrint_towardzero_test_data): New variable.
15816 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15817 (lrint_downward_test_data): New variable.
15818 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15819 (lrint_upward_test_data): New variable.
15820 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15821 (lround_test_data): New variable.
15822 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15824 2013-05-15 Peter Collingbourne <pcc@google.com>
15826 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15827 (EXTRACT_WORDS64) Use where appropriate.
15828 (INSERT_WORDS64) Likewise.
15830 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15831 constraints with x constraints.
15832 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15834 * malloc/obstack.c (_obstack_compat): Add initializer.
15836 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15838 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15839 si_trapno and add si_addr_lsb to _sifields.sigfault.
15840 (si_trapno): Remove macro.
15841 (si_addr_lsb): Define new macro.
15842 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15844 2013-05-15 Joseph Myers <joseph@codesourcery.com>
15846 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15847 instead of TEST_f_l.
15848 (llrint_test_tonearest): Likewise.
15849 (llrint_test_towardzero): Likewise.
15850 (llrint_test_downward): Likewise.
15851 (llrint_test_upward): Likewise.
15852 (llround_test): Likewise.
15854 * math/libm-test.inc (struct test_f_i_data): Add comment.
15855 (RUN_TEST_LOOP_f_b): New macro.
15856 (RUN_TEST_LOOP_f_b_tg): Likewise.
15857 (finite_test_data): New variable.
15858 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15859 (isfinite_test_data): New variable.
15860 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15861 (isinf_test_data): New variable.
15862 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15863 (isnan_test_data): New variable.
15864 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15865 (isnormal_test_data): New variable.
15866 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15867 (issignaling_test_data): New variable.
15868 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15869 (signbit_test_data): New variable.
15870 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15872 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15873 with INVALID_EXCEPTION.
15874 (acosh_test_data): Likewise.
15875 (asin_test_data): Likewise.
15876 (atanh_test_data): Likewise.
15877 (fmod_test_data): Likewise.
15878 (log_test_data): Likewise.
15879 (log10_test_data): Likewise.
15880 (log2_test_data): Likewise.
15881 (pow_test_data): Likewise.
15882 (sqrt_test_data): Likewise.
15883 (y0_test_data): Likewise.
15884 (y1_test_data): Likewise.
15885 (yn_test_data): Likewise.
15887 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15890 * math/libm-test.inc (struct test_ff_i_data): New type.
15891 (RUN_TEST_LOOP_ff_i_tg): New macro.
15892 (isgreater_test_data): New variable.
15893 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15894 (isgreaterequal_test_data): New variable.
15895 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15896 (isless_test_data): New variable.
15897 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15898 (islessequal_test_data): New variable.
15899 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15900 (islessgreater_test_data): New variable.
15901 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15902 (isunordered_test_data): New variable.
15903 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15905 2013-05-14 David S. Miller <davem@davemloft.net>
15907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15909 2013-05-14 Joseph Myers <joseph@codesourcery.com>
15911 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15913 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15915 (struct test_f_i_data): Change type of max_ulp to int.
15917 * math/libm-test.inc (test_ffI_f1_data): New type.
15918 (RUN_TEST_LOOP_ffI_f1): New macro.
15919 (remquo_test_data): New variable.
15920 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15922 * setjmp/tst-setjmp-fp.c: New file.
15923 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15924 (link-libm): New variable.
15925 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15927 * math/libm-test.inc (struct test_f_i_data): New type.
15928 (RUN_TEST_LOOP_f_i): New macro.
15929 (RUN_TEST_LOOP_f_i_tg): Likewise.
15930 (fpclassify_test_data): New variable.
15931 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15932 (ilogb_test_data): New variable.
15933 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15935 * math/libm-test.inc (scalbln_test): Correct function name in END
15938 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15939 (RUN_TEST_LOOP_fI_f1): New macro.
15940 (frexp_test_data): New variable.
15941 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15943 * math/libm-test.inc (struct test_fF_f1_data): New type.
15944 (RUN_TEST_LOOP_fF_f1): New macro.
15945 (modf_test_data): New variable.
15946 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15948 * math/libm-test.inc (struct test_f_f1_data): New type.
15949 (RUN_TEST_LOOP_f_f1): New macro.
15950 (gamma_test_data): New variable.
15951 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15952 (lgamma_test_data): New variable.
15953 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15955 2013-05-13 Carlos O'Donell <carlos@redhat.com>
15957 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15958 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15959 (main): Comment "tls" pseudo-hwcap.
15961 2013-05-13 Joseph Myers <joseph@codesourcery.com>
15963 * math/libm-test.inc (struct test_fl_f_data): New type.
15964 (RUN_TEST_LOOP_fl_f): New variable.
15965 (scalbln_test_data): New variable.
15966 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15968 * math/libm-test.inc (struct test_fi_f_data): New type.
15969 (RUN_TEST_LOOP_fi_f): New macro.
15970 (ldexp_test_data): New variable.
15971 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15972 (scalbn_test_data): New variable.
15973 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15975 * math/libm-test.inc (struct test_c_f_data): New type.
15976 (RUN_TEST_LOOP_c_f): New macro.
15977 (cabs_test_data): New variable.
15978 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15979 (carg_test_data): New variable.
15980 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15981 (cimag_test_data): New variable.
15982 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15983 (creal_test_data): New variable.
15984 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15986 * math/libm-test.inc (struct test_if_f_data): New type.
15987 (RUN_TEST_LOOP_if_f): New macro.
15988 (jn_test_data): New variable.
15989 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15990 (yn_test_data): New variable.
15991 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15993 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15995 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15997 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15998 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16000 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16002 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16003 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16004 (bench-deps): Add bench-timing.h.
16005 * benchtests-bench-skeleton.c: Include bench-timing.h.
16006 (main): Use TIMING_* macros instead of clock_gettime.
16007 * benchtests/bench-timing.h: New file.
16010 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16011 Renamed from _LIB_VERSION.
16012 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16014 2013-05-12 Joseph Myers <joseph@codesourcery.com>
16016 * math/libm-test.inc (struct test_fff_f_data): New type.
16017 (RUN_TEST_LOOP_fff_f): New macro.
16018 (fma_test_data): New variable.
16019 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16020 (fma_towardzero_test_data): New variable.
16021 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16022 (fma_downward_test_data): New variable.
16023 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16024 (fma_upward_test_data): New variable.
16025 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16027 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16028 (struct test_c_c_data): New type.
16029 (RUN_TEST_LOOP_c_c): New macro.
16030 (cacos_test_data): New variable.
16031 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16032 (cacosh_test_data): New variable.
16033 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16034 (casin_test_data): New variable.
16035 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16036 (casinh_test_data): New variable.
16037 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16038 (catan_test_data): New variable.
16039 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16040 (catanh_test_data): New variable.
16041 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16042 (ccos_test_data): New variable.
16043 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16044 (ccosh_test_data): New variable.
16045 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16046 (cexp_test_data): New variable.
16047 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16048 (clog_test_data): New variable.
16049 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16050 (clog10_test_data): New variable.
16051 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16052 (conj_test_data): New variable.
16053 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16054 (cproj_test_data): New variable.
16055 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16056 (csin_test_data): New variable.
16057 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16058 (csinh_test_data): New variable.
16059 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16060 (csqrt_test_data): New variable.
16061 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16062 (ctan_test_data): New variable.
16063 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16064 (ctan_tonearest_test_data): New variable.
16065 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16066 (ctan_towardzero_test_data): New variable.
16067 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16068 (ctan_downward_test_data): New variable.
16069 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16070 (ctan_upward_test_data): New variable.
16071 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16072 (ctanh_test_data): New variable.
16073 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16074 (ctanh_tonearest_test_data): New variable.
16075 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16076 (ctanh_towardzero_test_data): New variable.
16077 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16078 (ctanh_downward_test_data): New variable.
16079 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16080 (ctanh_upward_test_data): New variable.
16081 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16082 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16085 * math/libm-test.inc (struct test_ff_f_data): New type.
16086 (struct test_ff_f_data_nexttoward): Likewise.
16087 (RUN_TEST_LOOP_2_f): New macro.
16088 (RUN_TEST_LOOP_ff_f): Likewise.
16089 (atan2_test_data): New variable.
16090 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16091 (copysign_test_data): New variable.
16092 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16093 (fdim_test_data): New variable.
16094 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16095 (fmax_test_data): New variable.
16096 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16097 (fmin_test_data): New variable.
16098 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16099 (fmod_test_data): New variable.
16100 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16101 (hypot_test_data): New variable.
16102 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16103 (nextafter_test_data): New variable.
16104 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16105 (nexttoward_test_data): New variable.
16106 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16107 (pow_test_data): New variable.
16108 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16109 (pow_tonearest_test_data): New variable.
16110 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16111 (pow_towardzero_test_data): New variable.
16112 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16113 (pow_downward_test_data): New variable.
16114 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16115 (pow_upward_test_data): New variable.
16116 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16117 (remainder_test_data): New variable.
16118 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16119 (scalb_test_data): New variable.
16120 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16121 * sysdeps/i386/fpu/libm-test-ulps: Update.
16123 2013-05-11 Joseph Myers <joseph@codesourcery.com>
16125 * math/libm-test.inc (fma_test): Use max_value instead of local
16127 (nextafter_test): Likewise.
16129 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16130 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16131 (acos_downward_test_data): New variable.
16132 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16133 (acos_upward_test_data): New variable.
16134 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16135 (acosh_test_data): New variable.
16136 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16137 (asin_test_data): New variable.
16138 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16139 (asin_tonearest_test_data): New variable.
16140 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16141 (asin_towardzero_test_data): New variable.
16142 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16143 (asin_downward_test_data): New variable.
16144 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16145 (asin_upward_test_data): New variable.
16146 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16147 (asinh_test_data): New variable.
16148 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16149 (atan_test_data): New variable.
16150 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16151 (atanh_test_data): New variable.
16152 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16153 (cbrt_test_data): New variable.
16154 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16155 (ceil_test_data): New variable.
16156 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16157 (cos_test_data): New variable.
16158 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16159 (cos_tonearest_test_data): New variable.
16160 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16161 (cos_towardzero_test_data): New variable.
16162 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16163 (cos_downward_test_data): New variable.
16164 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16165 (cos_upward_test_data): New variable.
16166 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16167 (cosh_test_data): New variable.
16168 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16169 (cosh_tonearest_test_data): New variable.
16170 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16171 (cosh_towardzero_test_data): New variable.
16172 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16173 (cosh_downward_test_data): New variable.
16174 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16175 (cosh_upward_test_data): New variable.
16176 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16177 (erf_test_data): New variable.
16178 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16179 (erfc_test_data): New variable.
16180 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16181 (exp_test_data): New variable.
16182 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16183 (exp_tonearest_test_data): New variable.
16184 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16185 (exp_towardzero_test_data): New variable.
16186 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16187 (exp_downward_test_data): New variable.
16188 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16189 (exp_upward_test_data): New variable.
16190 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16191 (exp10_test_data): New variable.
16192 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16193 (exp2_test_data): New variable.
16194 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16195 (expm1_test_data): New variable.
16196 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16197 (fabs_test_data): New variable.
16198 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16199 (floor_test_data): New variable.
16200 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16201 (j0_test_data): New variable.
16202 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16203 (j1_test_data): New variable.
16204 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16205 (log_test_data): New variable.
16206 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16207 (log10_test_data): New variable.
16208 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16209 (log1p_test_data): New variable.
16210 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16211 (log2_test_data): New variable.
16212 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16213 (logb_test_data): New variable.
16214 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16215 (logb_downward_test_data): New variable.
16216 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16217 (nearbyint_test_data): New variable.
16218 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16219 (rint_test_data): New variable.
16220 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16221 (rint_tonearest_test_data): New variable.
16222 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16223 (rint_towardzero_test_data): New variable.
16224 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16225 (rint_downward_test_data): New variable.
16226 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16227 (rint_upward_test_data): New variable.
16228 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16229 (round_test_data): New variable.
16230 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16231 (sin_test_data): New variable.
16232 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16233 (sin_tonearest_test_data): New variable.
16234 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16235 (sin_towardzero_test_data): New variable.
16236 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16237 (sin_downward_test_data): New variable.
16238 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16239 (sin_upward_test_data): New variable.
16240 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16241 (sinh_test_data): New variable.
16242 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16243 (sinh_tonearest_test_data): New variable.
16244 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16245 (sinh_towardzero_test_data): New variable.
16246 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16247 (sinh_downward_test_data): New variable.
16248 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16249 (sinh_upward_test_data): New variable.
16250 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16251 (sqrt_test_data): New variable.
16252 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16253 (tan_test_data): New variable.
16254 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16255 (tan_tonearest_test_data): New variable.
16256 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16257 (tan_towardzero_test_data): New variable.
16258 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16259 (tan_downward_test_data): New variable.
16260 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16261 (tan_upward_test_data): New variable.
16262 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16263 (tanh_test_data): New variable.
16264 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16265 (tgamma_test_data): New variable.
16266 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16267 (trunc_test_data): New variable.
16268 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16269 (y0_test_data): New variable.
16270 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16271 (y1_test_data): New variable.
16272 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16273 (significand_test_data): New variable.
16274 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16276 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16279 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16281 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16283 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16285 2013-05-10 Andreas Jaeger <aj@suse.de>
16288 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16289 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16291 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16293 * math/gen-libm-test.pl (adjust_arg): New function.
16294 (special_functions): Handle generating output in both functions
16296 (parse_args): Likewise.
16297 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16298 $in_func argument to parse_args.
16299 * math/libm-test.inc (struct test_f_f_data): New type.
16300 (IF_ROUND_INIT_): New macro.
16301 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16302 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16303 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16304 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16305 (ROUND_RESTORE_): Likewise.
16306 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16307 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16308 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16309 (ROUND_RESTORE_FE_UPWARD): Likewise.
16310 (RUN_TEST_LOOP_f_f): New macro.
16311 (acos_test_data): New variable.
16312 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16313 (acos_tonearest_test_data): New variable.
16314 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16316 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16318 * benchtests/bench-skeleton.c (startup): Fix coding style.
16320 2013-05-10 Joseph Myers <joseph@codesourcery.com>
16323 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16324 negative infinity argument.
16325 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16326 negative infinity argument.
16327 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16328 negative infinity argument.
16329 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16332 2013-05-10 Florian Weimer <fweimer@redhat.com>
16334 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16335 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16336 * iconv/iconv_prog.c (main): Likewise.
16337 * locale/programs/charmap-dir.c (charmap_readdir)
16338 (fopen_uncompressed): Likewise.
16339 * locale/programs/locfile.c (siblings_uncached)
16340 (write_locale_data): Use lstat64 instead of lstat.
16341 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16344 2013-05-10 Andreas Jaeger <aj@suse.de>
16347 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16349 Include <locale.h>.
16351 2013-05-09 Carlos O'Donell <carlos@redhat.com>
16353 * elf/dl-close.c (_dl_close_worker): Add comments.
16355 2013-05-09 Joseph Myers <joseph@codesourcery.com>
16358 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16360 (__ieee754_rem_pio2l): Update comments.
16363 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16365 (__ieee754_rem_pio2l): Update comments.
16367 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16368 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16370 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16373 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16374 (M_PI_34_LOG10El): Likewise.
16375 (M_PI2_LOG10El): Likewise.
16376 (M_PI4_LOG10El): Likewise.
16377 (M_PI_LOG10El): Likewise.
16379 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16383 2013-05-08 Joseph Myers <joseph@codesourcery.com>
16385 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16386 (MINUS_ZERO_INIT): Likewise.
16387 (PLUS_INFTY_INIT): Likewise.
16388 (MINUS_INFTY_INIT): Likewise.
16389 (QNAN_VALUE_INIT): Likewise.
16390 (MAX_VALUE_INIT): Likewise.
16391 (MIN_VALUE_INIT): Likewise.
16392 (MIN_SUBNORM_VALUE_INIT): Likewise.
16393 (plus_zero): Initialize with PLUS_ZERO_INIT.
16394 (minus_zero): Initialize with MINUS_ZERO_INIT.
16395 (plus_infty): Initialize with PLUS_INFTY_INIT.
16396 (minus_infty): Initialize with MINUS_INFTY_INIT.
16397 (qnan_value): Initialize with QNAN_VALUE_INIT.
16398 (max_value): Initialize with MAX_VALUE_INIT.
16399 (min_value): Initialize with MIN_VALUE_INIT.
16400 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16402 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16403 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16404 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16405 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16407 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16408 (RUN_TEST_2_f): Likewise.
16409 (RUN_TEST_ff_f): Likewise.
16410 (RUN_TEST_fi_f): Likewise.
16411 (RUN_TEST_fl_f): Likewise.
16412 (RUN_TEST_fff_f): Likewise.
16413 (RUN_TEST_c_f): Likewise.
16414 (RUN_TEST_f_f1): Likewise.
16415 (RUN_TEST_fF_f1): Likewise.
16416 (RUN_TEST_fI_f1): Likewise.
16417 (RUN_TEST_ffI_f1): Likewise.
16418 (RUN_TEST_c_c): Likewise.
16419 (RUN_TEST_cc_c): Likewise.
16420 (RUN_TEST_f_i): Likewise.
16421 (RUN_TEST_f_i_tg): Likewise.
16422 (RUN_TEST_ff_i_tg): Likewise.
16423 (RUN_TEST_f_b): Likewise.
16424 (RUN_TEST_f_b_tg): Likewise.
16425 (RUN_TEST_f_l): Likewise.
16426 (RUN_TEST_f_L): Likewise.
16427 (RUN_TEST_sincos): Likewise.
16428 * math/gen-libm-test.pl (new_test): Take new argument to indicate
16429 whether to show exceptions. Do not include ");\n" in return
16431 (special_functions): Output call to RUN_TEST_sincos instead of
16432 check_float calls. Update calls to new_test.
16433 (parse_args): Output call to single RUN_TEST_* macro instead of
16434 check_* calls and other assignments. Update calls to new_test.
16440 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16441 input to result for tgamma overflow.
16442 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16443 (gamma_coeff): New variable.
16444 (NCOEFF): New macro.
16445 (gamma_positive): New function.
16446 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16447 underflow here. Use gamma_positive instead of exp (lgamma) for
16449 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16450 (gamma_coeff): New variable.
16451 (NCOEFF): New macro.
16452 (gammaf_positive): New function.
16453 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16454 underflow here. Use gamma_positive instead of exp (lgamma) for
16456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16457 (gamma_coeff): New variable.
16458 (NCOEFF): New macro.
16459 (gammal_positive): New function.
16460 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16461 underflow here. Use gamma_positive instead of exp (lgamma) for
16463 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16464 (gamma_coeff): New variable.
16465 (NCOEFF): New macro.
16466 (gammal_positive): New function.
16467 (__ieee754_gammal_r): Handle positive infinity, overflow and
16468 underflow here. Handle NaN the same as positive infinity. Remove
16469 check x < 0xffffffff for negative integers. Use gamma_positive
16470 instead of exp (lgamma) for other arguments.
16471 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16472 (gamma_coeff): New variable.
16473 (NCOEFF): New macro.
16474 (gammal_positive): New function.
16475 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16476 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16477 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16478 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16479 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16480 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16481 * sysdeps/generic/math_private.h (__gamma_productf): New
16483 (__gamma_product): Likewise.
16484 (__gamma_productl): Likewise.
16485 * math/Makefile (libm-calls): Add gamma_product.
16486 * math/libm-test.inc (tgamma_test): Add more tests.
16487 * sysdeps/i386/fpu/libm-test-ulps: Update.
16488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16490 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
16492 * benchtests/bench-skeleton.c (main): Preheat CPU.
16494 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16496 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16498 2013-05-07 Roland McGrath <roland@hack.frob.com>
16500 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16501 and _dl_skip_args_internal.
16503 2013-05-07 Carlos O'Donell <carlos@redhat.com>
16505 * manual/message.texi (Message Translation): Talk about users.
16506 Message to key mapping impacts design.
16508 2013-05-06 Roland McGrath <roland@hack.frob.com>
16510 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16512 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16514 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16515 * sysdeps/wordsize-64/glob64.c: ... here.
16517 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16518 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16521 * debug/getlogin_r_chk.c: Moved to ...
16522 * login/getlogin_r_chk.c: ... here.
16523 * debug/Makefile (routines): Move getlogin_r_chk to ...
16524 * login/Makefile (routines): ... here.
16525 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16526 * login/Versions (libc: GLIBC_2.4): ... here.
16528 * io/poll.c (__poll): Renamed from poll.
16529 Add libc_hidden_def.
16530 (poll): Define as weak alias.
16532 * debug/ptsname_r_chk.c: Moved to ...
16533 * login/ptsname_r_chk.c: ... here.
16534 * debug/Makefile (routines): Move ptsname_r_chk to ...
16535 * login/Makefile (routines): ... here.
16536 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16537 * login/Versions (libc: GLIBC_2.4): ... here.
16539 * posix/getlogin.c: Moved to ...
16540 * login/getlogin.c: ... here.
16541 * posix/getlogin_r.c: Moved to ...
16542 * login/getlogin_r.c: ... here.
16543 * posix/getlogin_r.c: Moved to ...
16544 * login/getlogin_r.c: ... here.
16545 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16546 * login/Makefile (routines): ... here.
16547 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16548 * login/Versions (libc: GLIBC_2.0): ... here.
16550 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16551 (setrlimit): Define as weak alias.
16553 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16554 Call __ names for open, ftruncate, and close.
16555 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16556 (truncate): Define as weak alias.
16558 2013-05-06 Joseph Myers <joseph@codesourcery.com>
16560 * math/gen-libm-test.pl (parse_args): Initialize x before each
16561 test of frexp, modf and remquo.
16563 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16564 test signgam value.
16566 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16570 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16572 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16574 2013-05-06 Roland McGrath <roland@hack.frob.com>
16576 * elf/dl-writev.h: New file.
16577 * elf/dl-misc.c: Include it.
16578 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16579 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16581 2013-05-04 Joseph Myers <joseph@codesourcery.com>
16583 * math/libm-test.inc (noXFails): Remove variable.
16584 (noXPasses): Likewise.
16585 (BUILD_COMPLEX_INT): Remove macro.
16586 (print_screen): Remove xfail argument.
16587 (print_screen_max_error): Likewise.
16588 (update_stats): Likewise.
16589 (print_max_error): Likewise. Update calls to other affected
16591 (print_complex_max_error): Likewise.
16592 (test_single_exception): Update calls to print_screen.
16593 (test_single_errno): Likewise.
16594 (check_float_internal): Remove xfail argument. Update calls to
16595 other affected functions.
16596 (check_float): Likewise.
16597 (check_complex): Likewise.
16598 (check_int): Likewise.
16599 (check_long): Likewise.
16600 (check_bool): Likewise.
16601 (check_longlong): Likewise.
16602 (main): Don't print noXFails and noXPasses.
16603 * math/gen-libm-test.pl (top level): Don't mention expected
16604 failure handling in comment.
16605 (new_test): Don't handle expected failures.
16606 (parse_args): Don't mention expected failure handling in comment.
16607 (generate_testfile): Don't handle expected failures.
16608 (parse_ulps): Likewise.
16609 (print_ulps_file): Likewise.
16610 (get_failure): Remove function.
16611 (output_test): Don't handle expected failures.
16612 * make/README.libm-test: Don't mention expected failure handling.
16614 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16615 (minus_zero): Likewise.
16616 (plus_infty): Likewise.
16617 (minus_infty): Likewise.
16618 (qnan_value): Likewise.
16619 (max_value): Likewise.
16620 (min_value): Likewise.
16621 (min_subnorm_value): Likewise.
16622 (initialize): Do not initialize those variables dynamically.
16624 2013-05-03 Roland McGrath <roland@hack.frob.com>
16626 * io/open.c (__open_2): Moved to ...
16627 * io/open_2.c: ... this new file.
16628 * io/open64.c (__open64_2): Moved to ...
16629 * io/open64_2.c: ... this new file.
16630 * io/openat.c (__openat_2): Moved to ...
16631 * io/openat_2.c: ... this new file.
16632 * io/openat64.c (__openat64_2): Moved to ...
16633 * io/openat64_2.c: ... this new file.
16634 * io/Makefile (routines): Add them.
16635 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16636 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16637 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16638 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16639 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16640 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16641 (__openat64): Add hidden_ver.
16642 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16643 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16645 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16646 Separately conditionalize setting of GLRO(dl_sysinfo) so
16647 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16648 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16650 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16652 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16653 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16655 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16656 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16657 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16658 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16659 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16661 2013-05-03 Joseph Myers <joseph@codesourcery.com>
16663 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16664 test signgam value.
16666 * math/libm-test.inc (hypot_test): Do not use
16667 IGNORE_ZERO_INF_SIGN.
16669 2013-05-03 Andreas Jaeger <aj@suse.de>
16671 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16673 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16674 (PF_MAX): Adjust for VSOCK change.
16676 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16680 2013-05-02 Carlos O'Donell <carlos@redhat.com>
16683 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16684 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16685 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16687 2013-05-02 David S. Miller <davem@davemloft.net>
16689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16691 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
16693 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16695 2013-05-01 Roland McGrath <roland@hack.frob.com>
16697 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16699 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16702 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16703 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16704 Use __attribute__ ((__gnu_inline__)).
16705 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16706 Don't use __attribute__ ((__gnu_inline__)).
16708 2013-05-01 Joseph Myers <joseph@codesourcery.com>
16711 * math/s_catan.c (__catan): Handle small real or imaginary part of
16712 input specially to avoid spurious underflow.
16713 * math/s_catanf.c (__catanf): Likewise.
16714 * math/s_catanh.c (__catanh): Likewise.
16715 * math/s_catanhf.c (__catanhf): Likewise.
16716 * math/s_catanhl.c (__catanhl): Likewise.
16717 * math/s_catanl.c (__catanl): Likewise.
16718 * math/libm-test.inc (catan_test): Add more tests.
16719 (catanh_test): Likewise.
16720 * sysdeps/i386/fpu/libm-test-ulps: Update.
16721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16723 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16727 2013-04-30 Joseph Myers <joseph@codesourcery.com>
16730 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16731 accurately for denominator in atan2.
16732 * math/s_catanf.c (__catanf): Likewise.
16733 * math/s_catanh.c (__catanh): Likewise.
16734 * math/s_catanhf.c (__catanhf): Likewise.
16735 * math/s_catanhl.c (__catanhl): Likewise.
16736 * math/s_catanl.c (__catanl): Likewise.
16737 * math/libm-test.inc (catan_test): Add more tests.
16738 (catanh_test): Likewise.
16739 * sysdeps/i386/fpu/libm-test-ulps: Update.
16740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16742 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16744 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16746 * benchtests/Makefile (bench): Remove slow benchmarks.
16747 * benchtests/atan-inputs: Add slow benchmark inputs.
16748 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16749 (BENCH_FUNC): Accept variant offset.
16751 * benchtests/bench-skeleton.c (main): Run benchmark for each
16753 * benchtests/cos-inputs: Add slow benchmark inputs.
16754 * benchtests/exp-inputs: Likewise.
16755 * benchtests/pow-inputs: Likewise.
16756 * benchtests/sin-inputs: Likewise.
16757 * benchtests/slowatan-inputs: Remove.
16758 * benchtests/slowatan.c: Remove.
16759 * benchtests/slowcos-inputs: Remove.
16760 * benchtests/slowcos.c: Remove.
16761 * benchtests/slowexp-inputs: Remove.
16762 * benchtests/slowexp.c: Remove.
16763 * benchtests/slowpow-inputs: Remove.
16764 * benchtests/slowpow.c: Remove.
16765 * benchtests/slowsin-inputs: Remove.
16766 * benchtests/slowsin.c: Remove.
16767 * benchtests/slowtan-inputs: Remove.
16768 * benchtests/slowtan.c: Remove.
16769 * benchtests/tan-inputs: Add slow benchmark inputs.
16770 * scripts/bench.pl: Parse comments and directives.
16772 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16774 ($(objpfx)bench-%.c): Remove *-ITER.
16775 * benchtests/bench-modf.c: Remove definition of ITER.
16776 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16777 (main): Loop for DURATION seconds instead of fixed number of
16779 * scripts/bench.pl: Don't expect iterations in parameters.
16781 2013-04-29 Roland McGrath <roland@hack.frob.com>
16783 * io/fchdir.c (__fchdir): Renamed from fchdir.
16784 (fchdir): Define as weak alias.
16786 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16788 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16789 (ERRNO_EDOM): Likewise.
16790 (ERRNO_ERANGE): Likewise.
16791 (noErrnoTests): New variable.
16792 (init_max_error): Set errno to 0.
16793 (test_single_errno): New function.
16794 (test_errno): Likewise.
16795 (check_float_internal): Call test_errno. Set errno to 0.
16796 (check_complex): Refer to errno tests in comment.
16797 (check_int): Call test_errno. Set errno to 0.
16798 (check_long): Likewise.
16799 (check_bool): Likewise.
16800 (check_longlong): Likewise.
16801 (cos_test): Use ERRNO_* flags for errno tests instead of
16803 (expm1_test): Likewise.
16804 (fmod_test): Likewise.
16805 (ilogb_test): Likewise.
16806 (lgamma_test): Likewise.
16807 (pow_test): Likewise.
16808 (remainder_test): Likewise.
16809 (sin_test): Likewise.
16810 (tan_test): Likewise.
16811 (yn_test): Likewise.
16812 (initialize): Set errno to 0.
16813 (main): Print number of errno tests.
16814 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16816 2013-04-29 Andreas Jaeger <aj@suse.de>
16819 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16823 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16824 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16828 * stdlib/random.c (__initstate): Return NULL if
16832 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16833 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16836 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16840 2013-04-29 Joseph Myers <joseph@codesourcery.com>
16842 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16843 of individual tests.
16844 (casin_test): Likewise.
16845 (casinh_test): Likewise.
16847 2013-04-27 Joseph Myers <joseph@codesourcery.com>
16850 * math/s_catan.c (__catan): Handle arguments with large real or
16851 imaginary part separately without squaring.
16852 * math/s_catanf.c (__catanf): Likewise.
16853 * math/s_catanh.c (__catanh): Likewise.
16854 * math/s_catanhf.c (__catanhf): Likewise.
16855 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16857 (__catanhl): Handle arguments with large real or imaginary part
16858 separately without squaring.
16859 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16861 (__catanl): Handle arguments with large real or imaginary part
16862 separately without squaring.
16863 * math/libm-test.inc (catan_test): Add more tests.
16864 (catanh_test): Likewise.
16865 * sysdeps/i386/fpu/libm-test-ulps: Update.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16868 2013-04-27 Andreas Jaeger <aj@suse.de>
16871 * stdlib/stdlib.h: Update guards for qecvt.
16872 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16875 2013-04-27 Allan McRae <allan@archlinux.org>
16877 * sysdeps/i386/fpu/libm-test-ulps: Update.
16879 2013-04-26 Joseph Myers <joseph@codesourcery.com>
16882 * math/s_catan.c: Include <float.h>.
16883 (__catan): Ensure underflow exception occurs for underflowed
16885 * math/s_catanf.c: Include <float.h>.
16886 (__catanf): Ensure underflow exception occurs for underflowed
16888 * math/s_catanh.c: Include <float.h>.
16889 (__catanh): Ensure underflow exception occurs for underflowed
16891 * math/s_catanhf.c: Include <float.h>.
16892 (__catanhf): Ensure underflow exception occurs for underflowed
16894 * math/s_catanhl.c: Include <float.h>.
16895 (__catanhl): Ensure underflow exception occurs for underflowed
16897 * math/s_catanl.c: Include <float.h>.
16898 (__catanl): Ensure underflow exception occurs for underflowed
16900 * math/libm-test.inc (catan_test): Add more tests.
16901 (catanh_test): Likewise.
16904 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16905 underflowed result.
16906 * math/s_ccoshf.c (__ccoshf): Likewise.
16907 * math/s_ccoshl.c (__ccoshl): Likewise.
16908 * math/s_csin.c (__csin): Likewise.
16909 * math/s_csinf.c (__csinf): Likewise.
16910 * math/s_csinh.c (__csinh): Likewise.
16911 * math/s_csinhf.c (__csinhf): Likewise.
16912 * math/s_csinhl.c (__csinhl): Likewise.
16913 * math/s_csinl.c (__csinl): Likewise.
16914 * math/libm-test.inc (ccos_test): Add more tests.
16915 (ccosh_test): Likewise.
16916 (csin_test): Likewise.
16917 (csinh_test): Likewise.
16919 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16921 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16922 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16923 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16924 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16925 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16926 powerpc/power5+/fpu folders.
16927 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16930 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16934 2013-04-25 Joseph Myers <joseph@codesourcery.com>
16936 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16937 additions to variable.
16938 [$(config-machine) = x86_64] (modules-names): Likewise.
16939 ($(objpfx)tst-audit3): Remove dependency.
16940 ($(objpfx)tst-audit3.out): Likewise.
16941 ($(objpfx)tst-audit4): Likewise.
16942 ($(objpfx)tst-audit4.out): Likewise.
16943 ($(objpfx)tst-audit5): Likewise.
16944 ($(objpfx)tst-audit5.out): Likewise.
16945 ($(objpfx)tst-audit6): Likewise.
16946 ($(objpfx)tst-audit6.out): Likewise.
16947 ($(objpfx)tst-audit7): Likewise.
16948 ($(objpfx)tst-audit7.out): Likewise.
16949 (tst-audit3-ENV): Remove variable.
16950 (tst-audit4-ENV): Likewise.
16951 (tst-audit5-ENV): Likewise.
16952 (tst-audit6-ENV): Likewise.
16953 (tst-audit7-ENV): Likewise.
16954 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16955 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16956 addition to variable.
16957 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16958 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16959 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16960 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16961 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16962 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16963 tst-audit3, tst-audit4 and tst-audit5.
16964 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16965 tst-audit6 and tst-audit7.
16966 [$(subdir) = elf] (modules-names): Add audit modules for those
16968 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16969 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16970 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16971 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16972 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16973 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16974 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16975 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16976 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16977 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16978 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16979 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16980 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16981 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16982 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16983 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16985 [$(subdir) = elf && $(config-cflags-avx) = yes]
16986 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16987 [$(subdir) = elf && $(config-cflags-avx) = yes]
16988 (CFLAGS-tst-auditmod4a.c): Likewise.
16989 [$(subdir) = elf && $(config-cflags-avx) = yes]
16990 (CFLAGS-tst-auditmod4b.c): Likewise.
16991 [$(subdir) = elf && $(config-cflags-avx) = yes]
16992 (CFLAGS-tst-auditmod6b.c): Likewise.
16993 [$(subdir) = elf && $(config-cflags-avx) = yes]
16994 (CFLAGS-tst-auditmod6c.c): Likewise.
16995 [$(subdir) = elf && $(config-cflags-avx) = yes]
16996 (CFLAGS-tst-auditmod7b.c): Likewise.
16997 * elf/tst-audit3.c: Move to ...
16998 * sysdeps/x86_64/tst-audit3.c: ... here.
16999 * elf/tst-audit4.c: Move to ...
17000 * sysdeps/x86_64/tst-audit4.c: ... here.
17001 * elf/tst-audit5.c: Move to ...
17002 * sysdeps/x86_64/tst-audit5.c: ... here.
17003 * elf/tst-audit6.c: Move to ...
17004 * sysdeps/x86_64/tst-audit6.c: ... here.
17005 * elf/tst-audit7.c: Move to ...
17006 * sysdeps/x86_64/tst-audit7.c: ... here.
17007 * elf/tst-auditmod3a.c: Move to ...
17008 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17009 * elf/tst-auditmod3b.c: Move to ...
17010 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17011 * elf/tst-auditmod4a.c: Move to ...
17012 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17013 * elf/tst-auditmod4b.c: Move to ...
17014 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17015 * elf/tst-auditmod5a.c: Move to ...
17016 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17017 * elf/tst-auditmod5b.c: Move to ...
17018 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17019 * elf/tst-auditmod6a.c: Move to ...
17020 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17021 * elf/tst-auditmod6b.c: Move to ...
17022 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17023 * elf/tst-auditmod6c.c: Move to ...
17024 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17025 * elf/tst-auditmod7a.c: Move to ...
17026 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17027 * elf/tst-auditmod7b.c: Move to ...
17028 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17030 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17033 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17034 define unconditionally.
17035 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17036 define unconditionally.
17037 (INT8_C, INT16_C, etc.): Likewise.
17039 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17041 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17042 __ehdr_start with hidden visibility.
17044 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17046 2013-04-24 Carlos O'Donell <carlos@redhat.com>
17048 * math/libm-test.inc (cos_test): Use accurate hex constants.
17049 (sincost_test): Likewise.
17051 2013-04-24 Joseph Myers <joseph@codesourcery.com>
17053 * math/libm-test.inc (catan_test): Add more tests.
17054 (catanh_test): Likewise.
17056 * math/s_catanf.c (__catanf): Use suffixed floating-point
17058 * math/s_catanhf.c (__catanhf): Likewise.
17059 * math/s_catanhl.c (__catanhl): Likewise.
17060 * math/s_catanl.c (__catanl): Likewise.
17063 * math/s_catan.c (__catan): Calculate imaginary part of result
17064 with log1p not log unless computing log of number close to 0.
17065 * math/s_catanf.c (__catanf): Likewise.
17066 * math/s_catanl.c (__catanl): Likewise.
17067 * math/s_catanh.c (__catanh): Calculate real part of result with
17068 log1p not log unless computing log of number close to 0.
17069 * math/s_catanhf.c (__catanhf): Likewise.
17070 * math/s_catanhl.c (__catanhl): Likewise.
17071 * math/libm-test.inc (catan_test): Add more tests.
17072 (catanh_test): Likewise.
17073 * sysdeps/i386/fpu/libm-test-ulps: Update.
17074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17076 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17078 * benchtests/Makefile: Mention files in which fast and slow
17079 paths of math functions are implemented.
17081 2013-04-23 Roland McGrath <roland@hack.frob.com>
17083 * sysdeps/posix/timespec_get.c: New file.
17085 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17087 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17089 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17091 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17092 powerpc/power5/fpu folders.
17093 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17094 * benchtests/Makefile: Add modf testcase.
17095 * benchtests/bench-modf.c: New file: Benchmark test for mo
17097 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17100 * time/Makefile (tests): Add tst-strptime-whitespace.
17101 * time/strptime_l.c (get_number): Use ISSPACE.
17102 (__strptime_internal): Likewise.
17103 * time/tst-strptime-whitespace.c: New test case.
17105 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17107 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17109 (_nss_files_init): Set it here.
17111 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17113 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17114 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17117 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17119 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17121 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17126 2013-04-21 David S. Miller <davem@davemloft.net>
17128 * po/ru.po: Update Russion translation from translation project.
17130 2013-04-17 Adam Conrad <adconrad@0c3.net>
17132 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17135 2013-04-17 Carlos O'Donell <carlos@redhat.com>
17137 * configure.in: Remove i386 configure warning. Remove i386 case.
17138 * configure: Regenerate.
17139 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17140 Add example to error message.
17141 * sysdeps/i386/configure: Regenerate.
17143 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17145 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17147 * benchtests/cos-inputs: New file.
17148 * benchtests/slowcos-inputs: New file.
17149 * benchtests/slowcos.c: New file.
17150 * benchtests/slowtan-inputs: New file.
17151 * benchtests/slowtan.c: New file.
17152 * benchtests/tan-inputs: New file.
17154 2013-04-16 Roland McGrath <roland@hack.frob.com>
17156 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17159 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17161 * benchtests/Makefile: Include cppflags-iterator.mk to add
17162 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17164 * Makefile.in (bench-clean): New target.
17165 * benchtests/Makefile (bench-clean): Likewise.
17167 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17169 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17171 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17173 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17175 2013-04-15 Andreas Schwab <schwab@suse.de>
17177 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17179 * nscd/pwdcache.c (cache_addpw): Likewise.
17180 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17183 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17185 * benchtests/Makefile (bench): Write all output to
17186 bench-out.tmp together.
17188 2013-04-15 Andreas Schwab <schwab@suse.de>
17190 * nscd/nscd.c (main): Don't fork again after closing files.
17192 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17194 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17196 * benchtests/Rules (bench-deps): Collect dependencies into a
17197 single variable. Add Makefile to dependencies.
17198 ($(objpfx)bench-%.c): Depend on bench-deps.
17200 2013-04-12 Roland McGrath <roland@hack.frob.com>
17201 Xavier Roche <roche+kml2@exalead.com>
17204 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17205 just that it's a file descriptor.
17206 * manual/llio.texi (Synchronizing AIO Operations): Update description
17207 for EBADF error from aio_fsync.
17209 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17211 * Rules (bench): Move target definition...
17212 * benchtests/Makefile: ... here.
17214 2013-04-11 Carlos O'Donell <carlos@redhat.com>
17216 * math/libm-test.inc (cos_test): Fix PI/2 test.
17217 (sincos_test): Likewise.
17218 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17219 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17221 2013-04-11 Andreas Schwab <schwab@suse.de>
17224 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17225 accept exponent character only when digits were seen.
17226 * stdio-common/Makefile (tests): Add bug26.
17227 * stdio-common/bug26.c: New file.
17230 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17233 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17235 * Makeconfig (rtld-prefix): Define built linker prefix.
17236 * Rules (run-bench): Use it.
17237 * math/Makefile (run-regen-ulps): Likewise.
17239 * Rules (bench): Remove eval.
17241 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17242 Roland McGrath <roland@hack.frob.com>
17243 Ondrej Bilka <neleai@seznam.cz>
17246 * time/getdate.c: Include ctype.h and alloca.h.
17247 (__getdate_r): Trim leading and trailing spaces of input.
17248 * time/tst-getdate.c (tests): Add tests with leading and
17251 2013-04-08 Roland McGrath <roland@hack.frob.com>
17254 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17255 when computing value.
17257 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17259 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17260 Use testrun.sh to run libm tests.
17263 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17265 2013-04-06 Marko Myllynen <myllynen@redhat.com>
17268 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17270 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17272 * Makefile.in (regen-ulps): New target.
17273 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17274 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17275 [ifneq (no,$(PERL)] (regen-ulps): New target.
17276 [ifeq (no,$(PERL)] (regen-ulps): New target.
17277 * math/libm-test.inc (ulps_file_name): Define.
17278 (output_dir): New variable.
17279 (options): Add "output-dir" option.
17280 (parse_opt): Handle 'o' case.
17281 (main): If output_dir is non-NULL use it as a prefix
17283 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17285 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17287 [BZ #10060, #10062]
17288 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17289 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17290 fail configure if __sync_val_compare_and_swap is not inlined.
17291 * sysdeps/i386/configure: Regenerate.
17292 * configure.in: Build for i686 when configured for i386.
17293 * configure: Regenerate.
17294 * README: Remove i386 reference.
17296 2013-04-06 Carlos O'Donell <carlos@redhat.com>
17298 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17301 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17303 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17304 (lmsnanval): New variables.
17305 (F): Add conversion tests.
17306 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17307 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17309 * stdio-common/tstdiomisc.c (F): Properly collect individual
17312 [BZ #14686, #15336]
17313 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17314 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17315 Instead, use input NaN values or generate a qNaN by arithmetic
17316 operation. Also fix bugs to comply with the standard.
17317 * math/libm-test.inc (remainder_test): Add more tests.
17319 [BZ #15335, #15342]
17320 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17322 input NaN values or generate a qNaN by arithmetic operation.
17324 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17327 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17330 2013-04-03 Joseph Myers <joseph@codesourcery.com>
17333 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17334 underflowed result.
17335 * math/s_cexpf.c (__cexpf): Likewise.
17336 * math/s_cexpl.c (__cexpl): Likewise.
17337 * math/libm-test.inc (cexp_test): Add more tests.
17339 2013-04-03 Andreas Schwab <schwab@suse.de>
17342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17343 order arrays from heap if bigger than alloca cutoff.
17345 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17347 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17348 (SNAN_TESTS_double): Refer to GCC PR56831.
17349 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17352 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17354 * Rules (bench): Move bench.out after the run is complete.
17356 * Rules (bench): Echo currently running benchmark.
17358 * benchtests/Makefile (bench): Add atan and slowatan.
17359 * benchtests/atan-inputs: New file.
17360 * benchtests/slowatan-inputs: New file.
17361 * benchtests/slowatan.c: New file.
17363 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17364 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17368 * sysdeps/unix/sysv/linux/kernel-features.h
17369 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17370 __ASSUME_XFS_RESTRICTED_CHOWN.
17371 * sysdeps/unix/sysv/linux/pathconf.c
17372 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17373 Save and restore errno.
17375 2013-04-02 Joseph Myers <joseph@codesourcery.com>
17378 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17379 arguments using __kernel_casinh.
17380 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17381 arguments using __kernel_casinhf.
17382 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17383 arguments using __kernel_casinhl.
17384 * math/libm-test.inc (cacosh_test): Add more tests.
17385 * sysdeps/i386/fpu/libm-test-ulps: Update.
17386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17388 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17390 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17393 * bench/Makefile (bench): Add sin and slowsin.
17394 * benchtests/sin-inputs: New file.
17395 * benchtests/slowsin-inputs: New file.
17396 * benchtests/slowsin.c: New file.
17398 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17399 (bench): Add slowexp and slowpow.
17400 (exp-ITER): Increase iterations.
17401 (pow-ITER): Likewise.
17402 * benchtests/exp-inputs: Change input.
17403 * benchtests/pow-inputs: Likewise.
17404 * benchtests/slowexp-inputs: New file.
17405 * benchtests/slowexp.c: New file.
17406 * benchtests/slowpow-inputs: New file.
17407 * benchtests/slowpow.c: New file.
17409 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17411 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17413 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17414 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17415 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17416 * benchtests/Makefile: Add rint benchtest.
17417 * benchtests/rint-inputs: Input for rint benchtest.
17419 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17421 * Versions.def (libm): Add GLIBC_2.18.
17422 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17423 hidden libm prototypes.
17424 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17425 * math/Makefile (libm-calls): Add s_issignaling.
17426 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17427 __issignalingf, __issignalingl. Adjust all libm.abilist files.
17428 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17430 * math/math.h [__USE_GNU] (issignaling): New macro.
17431 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17432 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17434 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17437 * manual/arith.texi (issignaling): New section.
17438 * manual/libm-err-tab.pl (@all_functions): Update comment.
17439 * math/gen-libm-test.pl (parse_args): Apply special handling for
17441 * math/libm-test.inc (print_float, issignaling_test): New
17443 (check_float_internal): Add issignaling checks.
17444 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17445 default definition.
17446 * sysdeps/powerpc/math-tests.h: New file.
17447 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17449 * math/test-snan.c (TEST_FUNC): Likewise.
17451 2013-03-30 David S. Miller <davem@davemloft.net>
17453 * po/de.po: Update from translation team.
17455 2013-03-30 Joseph Myers <joseph@codesourcery.com>
17458 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17459 imaginary part less than 1.0 and real part less than 0.5
17461 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17462 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17463 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17464 (cacos_test): Add more tests.
17465 (casin_test): Likewise.
17466 (casinh_test): Likewise.
17467 * sysdeps/i386/fpu/libm-test-ulps: Update.
17468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17470 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17472 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17473 ONE with its value.
17475 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17476 (__pow_mp): Replace ONE and MONE with their values.
17477 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17478 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17479 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17480 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17481 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17482 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17484 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17486 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17487 (__pow_mp): Replace ZERO and MZERO with their values.
17488 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17490 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17492 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17493 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17496 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17498 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17500 2013-03-28 Roland McGrath <roland@hack.frob.com>
17502 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17503 Declare with __attribute__ ((weak)).
17504 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17505 Call __call_tls_dtors only if it's not NULL.
17507 2013-03-28 Roland McGrath <roland@hack.frob.com>
17509 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17510 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17511 magic __ehdr_start linker symbol if it's defined.
17512 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17513 them up here if it was already done.
17515 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17516 (_dl_aux_init): Use const in cast when setting it.
17517 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17518 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17519 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17521 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17523 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17524 * csu/libc-tls.c: Nor here.
17525 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17527 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17528 (__libc_message): Never call vsyslog.
17530 2013-03-28 Alan Modra <amodra@gmail.com>
17532 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17534 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17537 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17544 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17547 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17548 Don't add gid passed as argument.
17550 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17552 2013-03-27 Joseph Myers <joseph@codesourcery.com>
17555 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17556 imaginary part between 1.0 and 1.5 and real part less than 0.5
17558 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17559 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17560 * math/libm-test.inc (cacos_test): Add more tests.
17561 (casin_test): Likewise.
17562 (casinh_test): Likewise.
17563 * sysdeps/i386/fpu/libm-test-ulps: Update.
17564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17566 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17568 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17571 (denorm): Likewise.
17572 (__dbl_mp): Likewise.
17573 (add_magnitudes): Likewise.
17574 (sub_magnitudes): Likewise.
17582 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17584 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17585 (__dubcos): Likewise.
17586 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17587 (__ieee754_acos): Likewise.
17588 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17589 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17590 (__exp1): Likewise.
17591 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17594 (my_log2): Likewise.
17595 (checkint): Likewise.
17596 * sysdeps/ieee754/dbl-64/e_remainder.c
17597 (__ieee754_remainder): Likewise.
17598 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17599 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17600 (bsloww): Likewise.
17601 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17603 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17604 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17605 MANTISSA_STORE_T to store computations on mantissa. Use
17606 macros for rounding and division.
17607 (denorm): Likewise.
17608 (__dbl_mp): Likewise.
17609 (add_magnitudes): Likewise.
17610 (sub_magnitudes): Likewise.
17613 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17614 powers of two in terms of TWOPOW macro.
17615 (mp_no): Make type of mantissa as MANTISSA_T.
17616 [!RADIXI]: Define RADIXI.
17617 [!TWO52]: Define TWO52.
17618 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17620 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17622 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17623 llroundl symbol when building for PPC32.
17625 2013-03-24 Mark H Weaver <mhw@netris.org>
17627 * manual/arith.texi (Normalization Functions): Fix prototypes for
17628 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17630 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17634 high value to check if expl overflow.
17635 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17636 to check for underflow and overflow.
17637 * math/libm-test.inc: Add exp test.
17639 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17642 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17645 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17647 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17650 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17652 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17653 wrap blocks consisting of several statements.
17655 * sysdeps/generic/math-tests.h: New file.
17656 * sysdeps/i386/fpu/math-tests.h: Likewise.
17657 * math/test-snan.c: Include it.
17658 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17660 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17663 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17664 (__ieee754_j0l): Do not improve calculations using cos of twice
17665 input for inputs above LDBL_MAX / 2.0L.
17666 (__ieee754_y0l): Likewise.
17667 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17668 (__ieee754_j1l): Do not improve calculations using cos of twice
17669 input for inputs above LDBL_MAX / 2.0L.
17670 (__ieee754_y1l): Likewise.
17671 * math/libm-test.inc (j0_test): Add another test.
17672 (j1_test): Likewise.
17673 (y0_test): Likewise.
17674 (y1_test): Likewise.
17675 * sysdeps/i386/fpu/libm-test-ulps: Update.
17677 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17679 * Rules ($(objpfx)bench-%.c): Include code from a C source
17682 2013-03-21 Joseph Myers <joseph@codesourcery.com>
17685 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17686 imaginary part 1.0 and real part less than 0.5 specially.
17687 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17688 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17689 * math/libm-test.inc (cacos_test): Add more tests.
17690 (casin_test): Likewise.
17691 (casinh_test): Likewise.
17692 * sysdeps/i386/fpu/libm-test-ulps: Update.
17693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17695 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17697 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17698 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17700 2013-03-20 Joseph Myers <joseph@codesourcery.com>
17702 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17703 * config.make.in (config-cflags-sse4): Remove variable.
17704 (config-cflags-avx): Likewise.
17705 (config-cflags-sse2avx): Likewise.
17706 (config-cflags-novzeroupper): Likewise.
17707 (config-asflags-i686): Likewise.
17708 (have-mfma4): Likewise.
17709 (have-as-vis3): Likewise.
17711 * configure.in (MIG): Do not AC_SUBST.
17712 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17713 (libc_cv_cc_sse4): Do not AC_SUBST.
17714 (libc_cv_cc_avx): Likewise.
17715 (libc_cv_cc_sse2avx): Likewise.
17716 (libc_cv_cc_novzeroupper): Likewise.
17717 (libc_cv_cc_fma4): Likewise.
17718 (libc_cv_as_i686): Likewise.
17719 (libc_cv_sparc_as_vis3): Likewise.
17720 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17722 (config-asflags-i686): Likewise.
17723 (config-cflags-avx): Likewise.
17724 (config-cflags-sse2avx): Likewise.
17725 (have-mfma4): Likewise.
17726 (config-cflags-novzeroupper): Likewise.
17727 * sysdeps/mach/configure.in (MIG): Likewise.
17728 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17729 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17731 (config-cflags-avx): Likewise.
17732 (config-cflags-sse2avx): Likewise.
17733 (have-mfma4): Likewise.
17734 (config-cflags-novzeroupper): Likewise.
17735 * configure: Regenerated.
17736 * sysdeps/i386/configure: Likewise.
17737 * sysdeps/mach/configure: Likewise.
17738 * sysdeps/sparc/configure: Likewise.
17739 * sysdeps/x86_64/configure: Likewise.
17741 2013-03-20 Roland McGrath <roland@hack.frob.com>
17744 * locale/programs/localedef.c (options): Put N_ translation marker
17745 on argument names, not just descriptions.
17747 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17749 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17751 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
17754 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17756 2013-03-19 Roland McGrath <roland@hack.frob.com>
17758 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17759 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17760 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17761 [!BEFORE_ABORT] (before_abort): New function.
17762 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17763 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17764 (writev_for_fatal): New function.
17765 (WRITEV_FOR_FATAL): New macro; call that.
17766 (backtrace_and_maps): New function.
17767 (BEFORE_ABORT): New macro; call that.
17768 (struct str_list): Type removed.
17769 (__libc_message, __libc_fatal): Functions removed.
17770 Include <sysdeps/posix/libc_fatal.c> instead.
17772 2013-03-19 Joseph Myers <joseph@codesourcery.com>
17774 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17776 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17779 2013-03-19 Andreas Schwab <schwab@suse.de>
17781 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17782 * sysdeps/gnu/configure: Regenerate.
17784 * configure.in: Substitute libc_cv_rtlddir.
17785 * configure: Regenerate.
17786 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17787 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17788 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17789 * elf/Makefile (install-others, CFLAGS-interp.c)
17790 (ldso_install, common-ldd-rewrite): Likewise.
17791 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17792 $(inst_slibdir)/$(rtld-installed-name).
17793 * scripts/rellns-sh: Add -p option.
17794 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17797 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17799 * manual/nptl.texi: Renamed to ...
17800 * manual/threads.texi: ... this.
17801 * manual/Makefile (chapters): Update.
17803 2013-03-18 Roland McGrath <roland@hack.frob.com>
17806 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17807 on argument names, not just descriptions.
17808 * malloc/memusagestat.c (options): Likewise.
17809 * nss/getent.c (options): Likewise.
17811 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
17814 * iconv/iconv_prog.c (options): Put N_ translation marker
17815 on argument names, not just descriptions.
17816 * iconv/iconvconfig.c (options): Likewise.
17818 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
17820 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17821 implementation which is faster on all x86_64 architectures.
17822 Tested on AMD, Intel Nehalem, SNB, IVB.
17823 * sysdeps/x86_64/strnlen.S: Likewise.
17825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17826 Remove all multiarch strlen and strnlen versions.
17827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17828 Remove strlen and strnlen related parts.
17830 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17831 Inline strlen part.
17832 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17834 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17835 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17836 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17837 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17838 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17839 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17841 2013-03-17 Carlos O'Donell <carlos@redhat.com>
17843 * manual/memory.texi (Malloc Tunable Parameters):
17844 Sort parameters alphabetically. Add comments for missing entries.
17846 2013-03-17 David S. Miller <davem@davemloft.net>
17848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17850 2013-03-16 Joseph Myers <joseph@codesourcery.com>
17853 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17854 for arguments at most half maximum finite value.
17855 * math/libm-test.inc (j0_test): Add more tests.
17856 (j1_test): Likewise.
17857 (y0_test): Likewise.
17858 (y1_test): Likewise.
17859 * sysdeps/i386/fpu/libm-test-ulps: Update.
17860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17863 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17864 1 / x and functions P and Q for arguments above 0x1p256L.
17865 (__ieee754_y0l): Likewise.
17866 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17867 (__ieee754_y1l): Likewise.
17868 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17869 (j1_test): Likewise.
17870 (y0_test): Likewise.
17871 (y1_test): Likewise.
17873 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17875 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17878 2013-03-15 Roland McGrath <roland@hack.frob.com>
17880 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17881 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17882 zero since it's initialized to EXEC_PAGESIZE.
17884 * sysdeps/unix/sysv/linux/ldsodefs.h
17885 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17886 * sysdeps/generic/ldsodefs.h: ... here.
17888 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17890 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17892 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17894 * math/test-snan.c: Renamed from
17895 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17896 * math/Makefile (tests): Add test-snan.
17897 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17900 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17901 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17903 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17904 __builtin_nan family of functions.
17905 * math/libm-test.inc (initialize): Initialize qnan_value with
17906 __builtin_nan family of functions.
17907 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17909 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17911 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17912 storage class. Initialize qNaN_var and sNaN_var with
17913 __builtin_nan and __builtin_nans families of functions,
17916 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17917 (sqrt_test): Remove duplicate test with qNaN input.
17918 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17919 (round_test, signbit_test, significand_test): Note missing +/-Inf
17920 as well as qNaN tests.
17922 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17923 qNaN_var. Fix a few strings, too.
17924 * math/libm-test.inc (nan_value): Rename to qnan_value.
17925 * math/gen-libm-test.pl (%beautify): Adjust to that.
17926 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17927 * math/test-misc.c (main): Likewise.
17928 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17929 to __qnan_bytes, and __qnan_union, respectively.
17930 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17932 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17933 and lqnanval, respectively.
17934 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17935 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17936 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17937 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17939 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17940 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17943 * math/test-misc.c (main): Fix copy'n'pastos.
17944 * misc/tst-efgcvt.c (special): Likewise.
17946 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17947 Remove declarations.
17949 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17951 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17952 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17953 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17954 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17956 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17958 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17959 macro to return vdso values correctly in IFUNC implementations.
17960 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17961 Optimization by using IFUNC.
17963 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17964 Richard Henderson <rth@redhat.com>
17965 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17967 * Makefile.in (bench): New target.
17968 * NEWS: Mention the benchmark framework.
17969 * Rules (bench): Likewise.
17970 (binaries-bench): Generate binaries for functions to
17972 * benchtests/Makefile: New makefile for benchmark tests.
17973 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17975 * benchtests/exp-inputs: New input file for EXP function.
17976 * benchtests/pow-inputs: New input file for POW function.
17977 * scripts/bench.pl: New script to generate source files for
17978 benchmark programs.
17980 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17982 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17984 computations on mantissa. Use macros for rounding and
17986 (denorm): Likewise.
17987 (__dbl_mp): Likewise.
17988 (add_magnitudes): Likewise.
17989 (sub_magnitudes): Likewise.
17992 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17993 powers of two in terms of TWOPOW macro.
17994 (mp_no): Make type of mantissa as MANTISSA_T.
17995 [!RADIXI]: Define RADIXI.
17996 [!TWO52]: Define TWO52.
17997 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17999 * manual/nptl.texi (cindex): Modify threads to pthreads.
18001 2013-03-15 Joseph Myers <joseph@codesourcery.com>
18003 * sysdeps/x86_64/preconfigure: Regenerated.
18005 2013-03-14 Joseph Myers <joseph@codesourcery.com>
18008 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18010 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18011 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18013 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18014 * math/libm-test.inc (j0_test): Do not allow one spurious
18015 underflow exception.
18016 (y1_test): Likewise.
18018 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18020 * manual/Makefile (chapters): Add nptl.
18021 * manual/debug.texi (Debugging Support): Add link to Threads
18023 * manual/nptl.texi: New file.
18025 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18027 2013-03-14 Petr Baudis <pasky@ucw.cz>
18029 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18030 for non-NULL pointer before the memory validity test. Pointed
18031 out by Holger Brunck <holger.brunck@keymile.com>.
18033 2013-03-13 Andreas Schwab <schwab@suse.de>
18035 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18038 2013-03-13 Joseph Myers <joseph@codesourcery.com>
18040 * timezone/zic.c: Update from tzcode 2013b.
18042 2013-03-12 Carlos O'Donell <carlos@redhat.com>
18044 * manual/install.texi (Configuring and compiling):
18045 Mention i686 and i586.
18046 * INSTALL: Regenerate.
18048 2013-03-12 Roland McGrath <roland@hack.frob.com>
18050 * sysdeps/init_array/elf-init.c: New file.
18052 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18053 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18055 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18056 __gmon_start__ as global, but as static with a .preinit_array pointer.
18057 * sysdeps/init_array/gmon-start.c: New file. Use that.
18058 * sysdeps/init_array/crti.S: New file, empty except for comments.
18059 * sysdeps/init_array/crtn.S: Likewise.
18061 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
18063 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18066 Remove Prefer_SSE_for_memop.
18067 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18068 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18069 HAS_PREFER_SSE_FOR_MEMOP.
18070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18072 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18073 Remove bzero, memset ifunc support.
18074 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18075 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18076 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18077 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18079 2013-03-11 Andreas Schwab <schwab@suse.de>
18082 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18085 (GLIBC_2.16): Remove pthread_atfork.
18087 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18089 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18090 (ptestcases.h): Likewise.
18092 2013-03-08 Roland McGrath <roland@hack.frob.com>
18094 * Makeconfig ($(common-objpfx)config.status): Depend on
18095 sysdeps/*/preconfigure{,.in} too.
18097 2013-03-08 Joseph Myers <joseph@codesourcery.com>
18099 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18100 (__free_hook): Use void * instead of __malloc_ptr_t.
18101 (__malloc_hook): Likewise.
18102 (__realloc_hook): Likewise.
18103 (__memalign_hook): Likewise.
18104 (__after_morecore_hook): Likewise.
18105 * malloc/arena.c (save_malloc_hook): Likewise.
18106 (save_free_hook): Likewise.
18107 * malloc/hooks.c (malloc_hook_ini): Likewise.
18108 (realloc_hook_ini): Likewise.
18109 (memalign_hook_ini): Likewise.
18110 * malloc/malloc.c (malloc_hook_ini): Likewise.
18111 (realloc_hook_ini): Likewise.
18112 (memalign_hook_ini): Likewise.
18113 (__free_hook): Likewise.
18114 (__malloc_hook): Likewise.
18115 (__realloc_hook): Likewise.
18116 (__memalign_hook): Likewise.
18117 (__libc_malloc): Likewise.
18118 (__libc_free): Likewise.
18119 (__libc_realloc): Likewise.
18120 (__libc_memalign): Likewise.
18121 (__libc_valloc): Likewise.
18122 (__libc_pvalloc): Likewise.
18123 (__libc_calloc): Likewise.
18124 (__posix_memalign): Likewise.
18125 * malloc/morecore.c (__sbrk): Likewise.
18126 (__default_morecore): Likewise.
18128 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18130 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18131 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18132 __malloc_ptrdiff_t.
18134 * malloc/malloc.h (__malloc_size_t): Remove macro.
18135 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18137 (old_memalign_hook): Likewise.
18138 (old_realloc_hook): Likewise.
18139 (struct hdr): Likewise.
18141 (mallochook): Likewise.
18142 (memalignhook): Likewise.
18143 (reallochook): Likewise.
18144 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18145 (tr_old_realloc_hook): Likewise.
18146 (tr_old_memalign_hook): Likewise.
18147 (tr_mallochook): Likewise.
18148 (tr_reallochook): Likewise.
18149 (tr_memalignhook): Likewise.
18151 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18154 default_ldbl_pack and using as default implementation.
18155 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18157 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18158 redundant definition.
18159 (ldbl_insert_mantissa): Likewise.
18160 (ldbl_canonicalize): Likewise.
18161 (ldbl_nearbyint): Likewise.
18162 (ldbl_pack): Rename to ldbl_pack_ppc.
18163 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18164 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18165 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18167 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18170 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18171 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18172 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18174 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18175 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18176 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18178 2013-03-07 Andreas Jaeger <aj@suse.de>
18180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18183 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18185 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18186 Include mpa.h and declare __MPEXP.
18187 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18188 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18189 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18190 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18191 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18192 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18193 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18195 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18196 (__slowpow): Use long double EXPL and LOGL functions to
18198 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18199 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18200 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18201 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18202 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18203 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18206 intermediate variable to calculate exponent.
18208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18212 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18213 [!NO__SQR]: Define __sqr.
18214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18215 and NO__SQR. Remove all code except __mul and __sqr. Include
18216 sysdeps/ieee754/dbl-64/mpa.c.
18217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18220 * posix/Makefile (tests): Add tst-pathconf.
18221 * posix/tst-pathconf.c: New test case.
18222 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18224 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18226 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
18228 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18230 2013-03-06 Andreas Jaeger <aj@suse.de>
18232 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18233 definition via __MAP_ANONYMOUS.
18235 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18236 it's not part of Linux headers.
18238 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18239 (MAP_HUGE_MASK): Define.
18241 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18243 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18244 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18246 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18247 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18249 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18250 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18252 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18254 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18255 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18256 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18257 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18258 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18259 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18264 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18265 Handle f2fs and efivarfs.
18267 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18270 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18271 (EFIVARFS_MAGIC): Add.
18272 (F2FS_LINK_MAX): Add.
18274 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18276 * stdio-common/vfprintf.c: Replace __builtin_expect with
18279 2013-03-06 Joseph Myers <joseph@codesourcery.com>
18282 * sysdeps/generic/bp-sym.h: Remove file.
18283 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18284 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18285 <bp-sym.h> and <bp-asm.h>.
18286 (__longjmp): Don't use BP_SYM.
18287 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18289 (memcpy): Don't use BP_SYM.
18290 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18291 <bp-sym.h> and <bp-asm.h>.
18292 (memcpy): Don't use BP_SYM.
18293 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18295 (memcpy): Don't use BP_SYM.
18296 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18298 (memset): Don't use BP_SYM.
18299 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18300 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18301 (__bzero): Don't use BP_SYM.
18302 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18303 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18304 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18305 <bp-sym.h> and <bp-asm.h>.
18306 (memcmp): Don't use BP_SYM. Remove comment about bounded
18308 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18309 <bp-sym.h> and <bp-asm.h>.
18310 (memcpy): Don't use BP_SYM.
18311 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18312 <bp-sym.h> and <bp-asm.h>.
18313 (memset): Don't use BP_SYM.
18314 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18315 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18316 (__bzero): Don't use BP_SYM.
18317 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18318 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18319 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18320 <bp-sym.h> and <bp-asm.h>.
18321 (strncmp): Don't use BP_SYM. Remove comment about bounded
18323 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18324 <bp-sym.h> and <bp-asm.h>.
18325 (memcpy): Don't use BP_SYM.
18326 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18327 <bp-sym.h> and <bp-asm.h>.
18328 (memset): Don't use BP_SYM.
18329 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18330 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18331 (__bzero): Don't use BP_SYM.
18332 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18333 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18334 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18335 <bp-sym.h> and <bp-asm.h>.
18336 (__memchr): Don't use BP_SYM.
18337 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18338 <bp-sym.h> and <bp-asm.h>.
18339 (memcmp): Don't use BP_SYM. Remove comment about bounded
18341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18342 <bp-sym.h> and <bp-asm.h>.
18343 (memcpy): Don't use BP_SYM.
18344 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18345 <bp-sym.h> and <bp-asm.h>.
18346 (__mempcpy): Don't use BP_SYM.
18347 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18348 <bp-sym.h> and <bp-asm.h>.
18349 (__memrchr): Don't use BP_SYM.
18350 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18351 <bp-sym.h> and <bp-asm.h>.
18352 (memset): Don't use BP_SYM.
18353 (__bzero): Likewise.
18354 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18355 <bp-sym.h> and <bp-asm.h>.
18356 (__rawmemchr): Don't use BP_SYM.
18357 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18358 <bp-sym.h> and <bp-asm.h>.
18359 (__STRCMP): Don't use BP_SYM.
18360 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18361 <bp-sym.h> and <bp-asm.h>.
18362 (strchr): Don't use BP_SYM.
18363 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18364 <bp-sym.h> and <bp-asm.h>.
18365 (__strchrnul): Don't use BP_SYM.
18366 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18367 <bp-sym.h> and <bp-asm.h>.
18368 (strlen): Don't use BP_SYM.
18369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18370 <bp-sym.h> and <bp-asm.h>.
18371 (strncmp): Don't use BP_SYM. Remove comment about bounded
18373 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18374 <bp-sym.h> and <bp-asm.h>.
18375 (__strnlen): Don't use BP_SYM.
18376 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18377 <bp-sym.h> and <bp-asm.h>.
18378 (__GI__setjmp): Don't use BP_SYM.
18379 (_setjmp): Likewise.
18380 (__sigsetjmp): Likewise.
18381 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18382 (L(start_addresses)): Don't use BP_SYM.
18383 (_start): Likewise.
18384 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18386 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18387 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18388 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18389 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18390 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18392 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18393 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18394 about bounded pointers.
18395 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18396 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18397 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18399 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18400 about bounded pointers. Remove GKM FIXME comments.
18401 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18402 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18404 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18405 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18406 Remove GKM FIXME comments.
18407 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18408 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18409 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18411 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18412 about bounded pointers. Remove GKM FIXME comment.
18413 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18415 (strncmp): Don't use BP_SYM. Remove comment about bounded
18417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18418 <bp-sym.h> and <bp-asm.h>.
18419 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18421 <bp-sym.h> and <bp-asm.h>.
18422 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18425 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18427 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18430 2013-03-05 David S. Miller <davem@davemloft.net>
18432 * po/es.po: Update from translation team.
18434 2013-03-05 Andreas Jaeger <aj@suse.de>
18436 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18437 <bits/mman-linux.h>.
18438 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18440 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18441 <bits/mman-linux.h> to end of file.
18442 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18444 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18445 <bits/mman-linux.h> to end of file.
18446 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18448 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18449 <bits/mman-linux.h> to end of file.
18451 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18452 (MCL_CURRENT, MCL_FUTURE): Define here.
18454 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18457 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18459 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18461 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18463 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18464 fourth parameter needed for rt_sigprocmask syscall.
18465 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18466 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18467 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18468 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18470 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18472 2013-03-04 Joseph Myers <joseph@codesourcery.com>
18475 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18476 comment about bounded pointers.
18477 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18478 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18480 2013-03-04 Andreas Jaeger <aj@suse.de>
18482 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18483 common definitions.
18485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18486 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18487 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18489 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18490 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18492 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18495 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18496 __ieee754_sqrl instead of __sqrl.
18498 2013-03-01 Joseph Myers <joseph@codesourcery.com>
18500 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18501 * sysdeps/powerpc/fpu_control.h: ... here.
18502 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18503 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18504 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18505 * sysdeps/powerpc/bits/mathinline.h: ... here.
18507 2013-03-01 Roland McGrath <roland@hack.frob.com>
18509 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18510 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18511 to just [NEED_DL_SYSINFO_DSO].
18512 * elf/dl-support.c: Likewise.
18513 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18514 * elf/rtld.c (dl_main): Likewise.
18515 * elf/setup-vdso.h (setup_vdso): Likewise.
18516 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18517 * sysdeps/unix/sysv/linux/dl-sysdep.c
18518 (_dl_discover_osversion): Likewise.
18520 2013-03-01 Carlos O'Donell <carlos@redhat.com>
18522 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18523 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18525 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18527 * NEWS: Mention libm performance improvements and non-x86 PI
18530 * csu/libc-start.c (__pthread_initialize_minimal): Change
18531 function arguments.
18532 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18534 2013-02-28 Joseph Myers <joseph@codesourcery.com>
18537 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18538 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18539 <bp-sym.h> and <bp-asm.h>.
18540 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18541 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18543 (memcpy): Don't use BP_SYM.
18544 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18546 (__mpn_add_n): Don't use BP_SYM.
18547 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18548 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18550 (__mpn_addmul_1): Don't use BP_SYM.
18551 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18552 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18554 (_setjmp): Don't use BP_SYM.
18555 (__novmx_setjmp): Likewise.
18556 (__GI__setjmp): Likewise.
18557 (__vmx_setjmp): Likewise.
18558 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18560 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18561 (__bzero): Don't use BP_SYM.
18562 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18563 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18564 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18565 <bp-sym.h> and <bp-asm.h>.
18566 (memcpy): Don't use BP_SYM.
18567 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18568 <bp-sym.h> and <bp-asm.h>.
18569 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18570 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18571 <bp-sym.h> and <bp-asm.h>.
18572 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18573 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18575 (__mpn_lshift): Don't use BP_SYM.
18576 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18577 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18579 (memset): Don't use BP_SYM.
18580 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18581 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18582 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18584 (__mpn_mul_1): Don't use BP_SYM.
18585 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18586 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18587 <bp-sym.h> and <bp-asm.h>.
18588 (memcmp): Don't use BP_SYM.
18589 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18590 <bp-sym.h> and <bp-asm.h>.
18591 (memcpy): Don't use BP_SYM.
18592 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18593 <bp-sym.h> and <bp-asm.h>.
18594 (memset): Don't use BP_SYM.
18595 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18596 <bp-sym.h> and <bp-asm.h>.
18597 (strncmp): Don't use BP_SYM.
18598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18599 <bp-sym.h> and <bp-asm.h>.
18600 (memcpy): Don't use BP_SYM.
18601 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18602 <bp-sym.h> and <bp-asm.h>.
18603 (memset): Don't use BP_SYM.
18604 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18605 <bp-sym.h> and <bp-asm.h>.
18606 (__memchr): Don't use BP_SYM.
18607 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18608 <bp-sym.h> and <bp-asm.h>.
18609 (memcmp): Don't use BP_SYM.
18610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18611 <bp-sym.h> and <bp-asm.h>.
18612 (memcpy): Don't use BP_SYM.
18613 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18614 <bp-sym.h> and <bp-asm.h>.
18615 (__mempcpy): Don't use BP_SYM.
18616 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18617 <bp-sym.h> and <bp-asm.h>.
18618 (__memrchr): Don't use BP_SYM.
18619 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18620 <bp-sym.h> and <bp-asm.h>.
18621 (memset): Don't use BP_SYM.
18622 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18623 <bp-sym.h> and <bp-asm.h>.
18624 (__rawmemchr): Don't use BP_SYM.
18625 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18626 <bp-sym.h> and <bp-asm.h>.
18627 (__STRCMP): Don't use BP_SYM.
18628 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18629 <bp-sym.h> and <bp-asm.h>.
18630 (strchr): Don't use BP_SYM.
18631 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18632 <bp-sym.h> and <bp-asm.h>.
18633 (__strchrnul): Don't use BP_SYM.
18634 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18635 <bp-sym.h> and <bp-asm.h>.
18636 (strlen): Don't use BP_SYM.
18637 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18638 <bp-sym.h> and <bp-asm.h>.
18639 (strncmp): Don't use BP_SYM.
18640 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18641 <bp-sym.h> and <bp-asm.h>.
18642 (__strnlen): Don't use BP_SYM.
18643 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18645 (__mpn_rshift): Don't use BP_SYM.
18646 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18647 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18648 <bp-sym.h> and <bp-asm.h>.
18649 (__sigsetjmp): Don't use BP_SYM.
18650 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18651 (L(start_addresses)): Don't use BP_SYM.
18652 (_start): Likewise.
18653 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18655 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18656 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18657 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18658 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18660 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18661 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18662 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18663 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18665 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18667 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18668 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18670 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18672 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18673 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18674 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18676 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18678 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18680 (strncmp): Don't use BP_SYM,
18681 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18683 (__mpn_sub_n): Don't use BP_SYM.
18684 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18685 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18687 (__mpn_submul_1): Don't use BP_SYM.
18688 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18690 <bp-sym.h> and <bp-asm.h>.
18691 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18693 <bp-sym.h> and <bp-asm.h>.
18694 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18697 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18700 Use ZK to minimize writes to Z.
18701 (sub_magnitudes): Simplify code a bit.
18702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18703 Use ZK to minimize writes to Z.
18704 (sub_magnitudes): Simplify code a bit.
18706 2013-02-27 Roland McGrath <roland@hack.frob.com>
18708 * csu/gmon-start.c: Add special exception to license text.
18710 2013-02-27 Richard Henderson <rth@redhat.com>
18712 * scripts/config.guess: Update from config.git.
18713 * scripts/config.sub: Likewise.
18715 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18717 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18719 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18721 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18723 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18725 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18727 2013-02-26 Roland McGrath <roland@hack.frob.com>
18729 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18730 [$(build-shared = yes].
18732 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18734 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18735 (__mul): Reduce iterations for calculating mantissa.
18737 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18739 (__mpranred): Likewise.
18742 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18743 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18745 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18747 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18748 Define __attribute__.
18750 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18752 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18754 * posix/regex_internal.h (__attribute): Remove.
18755 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18756 (re_string_context_at): Likewise.
18757 (bitset_not): Use __attribute__ and mark function as possibly
18759 (bitset_merge): Likewise.
18760 (bitset_mask): Likewise.
18761 (re_string_char_size_at): Likewise.
18762 (re_string_wchar_at): Likewise.
18763 (re_string_elem_size_at): Likewise.
18765 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18767 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18771 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18775 (denorm): Likewise.
18776 (__dbl_mp): Likewise.
18777 (add_magnitudes): Likewise.
18778 (sub_magnitudes): Likewise.
18782 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18785 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18788 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18792 up changes with default code.
18793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18796 2013-02-24 Allan McRae <allan@archlinux.org>
18798 * manual/socket.texi (The Internet Namespace): Order menu items
18799 to match that in the file.
18801 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18802 node listing of the info page menu.
18804 2013-02-21 Joseph Myers <joseph@codesourcery.com>
18807 * sysdeps/i386/bp-asm.h: Remove file.
18808 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18809 (PARMS): Do not use macros from bp-asm.h.
18813 (__mpn_add_n): Do not use BP_SYM
18814 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18816 (PARMS): Do not use macros from bp-asm.h.
18819 (__mpn_addmul_1): Do not use BP_SYM
18820 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18822 (PARMS): Do not use macros from bp-asm.h.
18823 (SIGMSK): Likewise.
18824 (_setjmp): Likewise. Do not use BP_SYM.
18825 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18827 (PARMS): Do not use macros from bp-asm.h.
18828 (SIGMSK): Likewise.
18829 (setjmp): Likewise. Do not use BP_SYM.
18830 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18832 (PARMS): Do not use macros from bp-asm.h.
18833 (__frexp): Do not use BP_SYM.
18835 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18837 (PARMS): Do not use macros from bp-asm.h.
18838 (__frexpf): Do not use BP_SYM.
18839 (frexpf): Likewise.
18840 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18842 (PARMS): Do not use macros from bp-asm.h.
18843 (__frexpl): Do not use BP_SYM.
18844 (frexpl): Likewise.
18845 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18847 (PARMS): Do not use macros from bp-asm.h.
18848 (__remquo): Do not use BP_SYM.
18849 (remquo): Likewise.
18850 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18852 (PARMS): Do not use macros from bp-asm.h.
18853 (__remquof): Do not use BP_SYM.
18854 (remquof): Likewise.
18855 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18857 (PARMS): Do not use macros from bp-asm.h.
18858 (__remquol): Do not use BP_SYM.
18859 (remquol): Likewise.
18860 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18862 (PARMS): Do not use macros from bp-asm.h.
18865 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18866 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18868 (PARMS): Do not use macros from bp-asm.h.
18869 (strlen): Do not use BP_SYM.
18870 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18872 (PARMS): Do not use macros from bp-asm.h.
18876 (__mpn_add_n): Do not use BP_SYM.
18877 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18879 (PARMS): Do not use macros from bp-asm.h.
18882 (__mpn_addmul_1): Do not use BP_SYM.
18883 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18886 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18888 (PARMS): Do not use macros from bp-asm.h.
18891 (__mpn_lshift): Do not use BP_SYM.
18892 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18894 (PARMS): Do not use macros from bp-asm.h.
18898 (memcpy): Likewise. Do not use BP_SYM.
18899 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18900 libc_hidden_def and weak_alias.
18901 (mempcpy): Do not use BP_SYM in weak_alias.
18902 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18904 (PARMS): Do not use macros from bp-asm.h.
18907 [!BZERO_P] (CHR): Likewise.
18908 (memset): Likewise. Do not use BP_SYM.
18909 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18911 (PARMS): Do not use macros from bp-asm.h.
18914 (__mpn_mul_1): Do not use BP_SYM.
18915 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18917 (PARMS): Do not use macros from bp-asm.h.
18920 (__mpn_rshift): Do not use BP_SYM.
18921 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18923 (PARMS): Do not use macros from bp-asm.h.
18926 (strchr): Likewise. Do not use BP_SYM.
18927 (index): Do not use BP_SYM in weak_alias.
18928 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18930 (PARMS): Do not use macros from bp-asm.h.
18933 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18934 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18936 (PARMS): Do not use macros from bp-asm.h.
18937 (strlen): Do not use BP_SYM.
18938 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18940 (PARMS): Do not use macros from bp-asm.h.
18944 (__mpn_sub_n): Do not use BP_SYM.
18945 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18947 (PARMS): Do not use macros from bp-asm.h.
18950 (__mpn_submul_1): Do not use BP_SYM.
18951 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18953 (PARMS): Do not use macros from bp-asm.h.
18957 (__mpn_add_n): Do not use BP_SYM.
18958 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18961 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18963 (PARMS): Do not use macros from bp-asm.h.
18966 (memcmp): Do not use BP_SYM.
18967 (bcmp): Do not use BP_SYM in weak_alias.
18968 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18970 (PARMS): Do not use macros from bp-asm.h.
18974 (memcpy): Likewise. Do not use BP_SYM.
18975 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18977 (PARMS): Do not use macros from bp-asm.h.
18981 (memmove): Likewise. Do not use BP_SYM.
18982 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18984 (PARMS): Do not use macros from bp-asm.h.
18988 (__mempcpy): Likewise. Do not use BP_SYM.
18989 (mempcpy): Do not use BP_SYM in weak_alias.
18990 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18992 (PARMS): Do not use macros from bp-asm.h.
18995 [!BZERO_P] (CHR): Likewise.
18996 (memset): Likewise. Do not use BP_SYM.
18997 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18999 (PARMS): Do not use macros from bp-asm.h.
19001 (strcmp): Do not use BP_SYM.
19002 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19004 (PARMS): Do not use macros from bp-asm.h.
19007 [USE_AS_STRTOK_R] (SAVE): Likewise.
19008 (FUNCTION): Likewise. Do not use BP_SYM.
19009 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19011 (strtok_r): Likewise.
19012 (__GI___strtok_r): Likewise.
19013 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19014 (PARMS): Do not use macros from bp-asm.h.
19017 (__mpn_lshift): Do not use BP_SYM.
19018 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19019 (PARMS): Do not use macros from bp-asm.h.
19022 (__memchr): Do not use BP_SYM.
19023 (memchr): Do not use BP_SYM in weak_alias.
19024 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19025 (PARMS): Do not use macros from bp-asm.h.
19028 (memcmp): Do not use BP_SYM.
19029 (bcmp): Do not use BP_SYM in weak_alias.
19030 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19031 (PARMS): Do not use macros from bp-asm.h.
19034 (__mpn_mul_1): Do not use BP_SYM.
19035 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19037 (PARMS): Do not use macros from bp-asm.h.
19040 (__rawmemchr): Do not use BP_SYM.
19041 (rawmemchr): Do not use BP_SYM in weak_alias.
19042 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19043 (PARMS): Do not use macros from bp-asm.h.
19046 (__mpn_rshift): Do not use BP_SYM.
19047 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19048 (PARMS): Do not use macros from bp-asm.h.
19049 (SIGMSK): Likewise.
19050 (__sigsetjmp): Likewise. Do not use BP_SYM.
19051 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19052 (_start): Do not use BP_SYM.
19053 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19054 (PARMS): Do not use macros from bp-asm.h.
19057 (__stpcpy): Likewise. Do not use BP_SYM.
19058 (stpcpy): Do not use BP_SYM in weak_alias.
19059 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19061 (PARMS): Do not use macros from bp-asm.h.
19065 (__stpncpy): Likewise. Do not use BP_SYM.
19066 (stpncpy): Do not use BP_SYM in weak_alias.
19067 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19068 (PARMS): Do not use macros from bp-asm.h.
19071 (strchr): Likewise. Do not use BP_SYM.
19072 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19074 (PARMS): Do not use macros from bp-asm.h.
19077 (__strchrnul): Likewise. Do not use BP_SYM.
19078 (strchrnul): Do not use BP_SYM in weak_alias.
19079 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19081 (PARMS): Do not use macros from bp-asm.h.
19083 (strcspn): Do not use BP_SYM.
19084 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19086 (PARMS): Do not use macros from bp-asm.h.
19089 (strpbrk): Likewise. Do not use BP_SYM.
19090 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19092 (PARMS): Do not use macros from bp-asm.h.
19095 (strrchr): Likewise. Do not use BP_SYM.
19096 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19097 (PARMS): Do not use macros from bp-asm.h.
19099 (strspn): Do not use BP_SYM.
19100 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19101 (PARMS): Do not use macros from bp-asm.h.
19105 (FUNCTION): Likewise. Do not use BP_SYM.
19106 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19108 (strtok_r): Likewise.
19109 (__GI___strtok_r): Likewise.
19110 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19111 (PARMS): Do not use macros from bp-asm.h.
19115 (__mpn_sub_n): Do not use BP_SYM.
19116 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19118 (PARMS): Do not use macros from bp-asm.h.
19121 (__mpn_submul_1): Do not use BP_SYM.
19122 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19124 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19126 (PARMS): Do not use macros from bp-asm.h.
19131 (__clone): Do not use BP_SYM.
19132 (clone): Do not use BP_SYM in weak_alias.
19133 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19135 (PARMS): Do not use macros from bp-asm.h.
19137 (__mmap64): Do not use BP_SYM.
19138 (mmap64): Do not use BP_SYM in weak_alias.
19139 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19140 <bp-sym.h> and <bp-asm.h>.
19141 (PARMS): Do not use macros from bp-asm.h.
19142 (__posix_fadvise64_l64): Do not use BP_SYM.
19143 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19144 (PARMS): Do not use macros from bp-asm.h.
19146 (semtimedop): Do not use BP_SYM.
19147 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19150 2013-02-21 Allan McRae <allan@archlinux.org>
19152 * manual/message.texi (Charset conversion in gettext):
19153 Move @end statement to beginning of line.
19155 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19162 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19163 (denorm): Likewise.
19164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19167 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19169 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19170 tail-call to the resolved function if pltexit isn't needed.
19172 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19175 or Y being zero as being unlikely.
19176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19179 2013-02-20 Carlos O'Donell <carlos@redhat.com>
19181 * manual/nss.texi (System Databases and Name Service Switch):
19182 Remove frobnicate @pxref.
19184 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19186 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19187 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19189 2013-02-20 Petr Machata <pmachata@redhat.com>
19191 * elf/elf.h (R_ARM_TARGET1): New macro.
19192 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19193 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19194 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19195 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19196 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19197 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19198 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19199 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19200 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19201 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19202 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19203 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19204 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19205 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19206 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19207 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19208 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19209 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19210 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19211 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19212 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19213 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19214 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19215 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19216 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19217 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19218 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19219 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19220 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19221 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19222 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19223 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19224 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19225 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19226 (R_ARM_THM_GOT_BREL12): Likewise.
19227 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19228 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19229 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19230 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19231 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19232 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19233 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19234 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19235 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19237 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19239 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19240 __attribute_used__ to __attribute__ ((unused)).
19242 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19244 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19247 comment formatting.
19248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19250 2013-02-19 Joseph Myers <joseph@codesourcery.com>
19253 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19255 (ENTER): Remove both macro definitions.
19257 (CHECK_BOUNDS_LOW): Likewise.
19258 (CHECK_BOUNDS_HIGH): Likewise.
19259 (CHECK_BOUNDS_BOTH): Likewise.
19260 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19261 (RETURN_BOUNDED_POINTER): Likewise.
19262 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19263 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19264 (POP_ERRNO_LOCATION_RETURN): Likewise.
19265 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19266 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19267 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19269 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19270 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19271 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19272 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19273 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19274 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19275 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19276 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19277 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19278 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19279 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19280 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19281 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19282 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19284 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19285 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19287 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19288 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19289 * sysdeps/i386/i586/memset.S (memset): Likewise.
19290 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19291 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19292 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19294 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19295 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19296 Change uses of L(2) to L(out).
19297 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19298 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19299 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19300 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19301 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19303 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19304 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19306 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19307 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19308 (RETURN): Do not use macro LEAVE.
19309 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19310 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19311 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19312 * sysdeps/i386/i686/memset.S (memset): Likewise.
19313 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19314 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19315 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19316 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19318 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19319 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19320 L(1_2) and L(1_3) into L(1).
19321 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19322 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19323 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19324 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19325 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19326 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19327 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19328 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19329 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19331 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19332 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19333 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19334 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19335 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19336 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19337 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19338 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19339 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19340 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19341 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19342 * sysdeps/i386/strspn.S (strspn): Likewise.
19343 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19345 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19346 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19347 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19348 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19349 L(1_3) into L(1_1).
19350 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19351 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19352 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19354 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19356 2013-02-19 Jakub Jelinek <jakub@redhat.com>
19358 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19361 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19363 * math/atest-exp.c (exp_mpn): Remove ROUND.
19364 * math/atest-exp2.c (exp_mpn): Likewise.
19365 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19367 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19368 * stdlib/tst-tls-atexit-lib.c: Likewise.
19369 * stdlib/tst-tls-atexit.c: Likewise.
19371 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19373 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19374 and __attribute_alloc_size__.
19376 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19378 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19379 __attribute_alloc_size__.
19380 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19381 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19383 2013-02-18 Mike Frysinger <vapier@gentoo.org>
19385 * include/programs/xmalloc.h: New file.
19386 * catgets/gencat.c: Include it.
19387 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19388 * elf/pldd.c: Likewise.
19389 * iconv/iconv_charmap.c: Likewise.
19390 * iconv/iconvconfig.c: Likewise.
19391 * iconv/strtab.c: Likewise.
19392 * locale/programs/locale.c: Likewise.
19393 * locale/programs/localedef.h: Likewise.
19394 * locale/programs/simple-hash.c: Likewise.
19395 * nscd/nscd.h: Likewise.
19396 * nss/makedb.c: Likewise.
19397 * sysdeps/generic/ldconfig.h: Likewise.
19399 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19401 * Versions.def: Add GLIBC_2.18.
19402 * include/link.h (struct link_map): New member l_tls_dtor_count.
19403 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19404 (__call_tls_dtors): Likewise.
19405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19406 __cxa_thread_atexit_impl.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19415 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19423 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19424 (tests): Add test case tst-tls-atexit.
19425 (modules-names): Add shared library for tst-tls-atexit.
19426 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19427 (GLIBC_PRIVATE): Add __call_tls_dtors.
19428 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19430 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19431 * stdlib/tst-tls-atexit.c: New test case.
19432 * stdlib/tst-tls-atexit-lib.c: New test case.
19434 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19436 * elf/Versions (ld): Add _dl_find_dso_for_object.
19437 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19438 * elf/dl-open.c (_dl_find_dso_for_object): New function.
19439 (dl_open_worker): Use _dl_find_dso_for_object.
19440 * elf/dl-sym.c (do_sym): Likewise.
19441 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19443 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19445 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19446 Syntactic changes only.
19447 (_dl_runtime_profile): Do a tail-call to the resolved function.
19449 2013-02-17 Joseph Myers <joseph@codesourcery.com>
19452 * sysdeps/x86_64/bp-asm.h: Remove file.
19453 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19454 <bp-sym.h> and <bp-asm.h>.
19455 (__clone): Do not use BP_SYM.
19456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19457 <bp-sym.h> and <bp-asm.h>.
19458 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19459 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19461 (_setjmp): Do not use BP_SYM.
19462 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19464 (setjmp): Do not use BP_SYM.
19465 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19467 (mempcpy): Do not use BP_SYM in weak_alias.
19468 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19470 (strchr): Do not use BP_SYM.
19471 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19473 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19474 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19475 (_start): Do not use BP_SYM.
19476 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19478 (strcat): Do not use BP_SYM.
19479 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19481 (STRCMP): Do not use BP_SYM.
19482 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19484 (STRCPY): Do not use BP_SYM.
19485 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19487 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19489 (FUNCTION): Do not use BP_SYM.
19490 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19492 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19494 2013-02-17 Andreas Jaeger <aj@suse.de>
19496 * time/Versions: Sort entries.
19497 * string/Versions: Likewise.
19498 * resolv/Versions: Likewise.
19499 * posix/Versions: Likewise.
19500 * iconv/Versions: Likewise.
19501 * elf/Versions: Likewise.
19502 * wcsmbs/Versions: Likewise.
19504 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19506 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19507 loop termination condition.
19509 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19510 variable to calculate EZ.
19513 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19514 the lower precision input.
19516 2013-02-15 Joseph Myers <joseph@codesourcery.com>
19519 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19520 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19521 (run-via-rtld-prefix): Do not handle %-bp tests.
19522 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19523 (all-object-suffixes): Remove .ob.
19524 (bppfx): Remove variable.
19525 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19526 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19527 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19528 [$(build-bounded) = yes] (libtype.ob): Likewise.
19529 * Makerules (elide-routines.ob): Remove variable.
19530 (do-tests-clean): Do not handle *-bp.out.
19531 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19532 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19533 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19534 (tests): Do not include $(tests-bp.out).
19535 (xtests): Do not include $(xtests-bp.out).
19536 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19537 [$(build-bounded) = yes] ($(addprefix
19538 $(objpfx),$(binaries-bounded))): Remove rule.
19539 ($(objpfx)%-bp.out): Remove rule.
19540 * config.make.in (build-bounded): Remove variable.
19541 * crypt/Makefile [$(build-bounded) = yes]
19542 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19543 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19544 append to variable.
19545 [$(build-bounded) = yes] (install-lib): Likewise.
19546 [$(build-bounded) = yes] (generated): Likewise.
19547 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19549 * intl/Makefile [$(build-bounded) = yes]
19550 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19551 * math/Makefile [$(build-bounded) = yes]
19552 ($(tests:%=$(objpfx)%-bp): Likewise.
19553 * misc/Makefile [$(build-bounded) = yes]
19554 ($(objpfx)tst-tsearch-bp): Likewise.
19555 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19556 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19558 * string/Makefile (o-objects.ob): Remove variable.
19559 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19560 (CFLAGS-.ob): Remove variable.
19561 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19562 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19563 both definitions of variable.
19564 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19565 (ASFLAGS-.ob): Remove variable.
19567 2013-02-14 Joseph Myers <joseph@codesourcery.com>
19570 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19571 Remove __BOUNDED_POINTERS__ from condition.
19572 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19573 * string/bits/string2.h [!__NO_STRING_INLINES &&
19574 !__BOUNDED_POINTERS__]: Likewise.
19575 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19577 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19578 Remove conditional code.
19579 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19580 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19581 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19585 * csu/libc-start.c: Do not include <bp-sym.h>.
19586 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19587 * elf/dl-open.c: Do not include <bp-sym.h>.
19588 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19589 * math/fegetenv.c: Do not include <bp-sym.h>.
19590 (fegetenv): Do not use BP_SYM in versioned symbols.
19591 * nptl/sysdeps/pthread/bits/libc-lockP.h
19592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19595 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19597 (__pthread_mutex_destroy): Likewise.
19598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19599 (__pthread_mutex_lock): Likewise.
19600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19601 (__pthread_mutex_trylock): Likewise.
19602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19603 (__pthread_mutex_unlock): Likewise.
19604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19605 (__pthread_mutexattr_init): Likewise.
19606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19607 (__pthread_mutexattr_destroy): Likewise.
19608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19609 (__pthread_mutexattr_settype): Likewise.
19610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19611 (__pthread_rwlock_init): Likewise.
19612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19613 (__pthread_rwlock_destroy): Likewise.
19614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19615 (__pthread_rwlock_rdlock): Likewise.
19616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19617 (__pthread_rwlock_tryrdlock): Likewise.
19618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19619 (__pthread_rwlock_wrlock): Likewise.
19620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19621 (__pthread_rwlock_trywrlock): Likewise.
19622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19623 (__pthread_rwlock_unlock): Likewise.
19624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19625 (__pthread_key_create): Likewise.
19626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19627 (__pthread_setspecific): Likewise.
19628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19629 (__pthread_getspecific): Likewise.
19630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19633 (_pthread_cleanup_push_defer): Likewise.
19634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19635 (_pthread_cleanup_pop_restore): Likewise.
19636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19637 (pthread_setcancelstate): Likewise.
19638 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19640 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19641 (memchr): Do not use BP_SYM in weak_alias.
19642 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19643 (fegetenv): Do not use BP_SYM in versioned symbols.
19644 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19645 (fesetenv): Do not use BP_SYM in versioned symbols.
19646 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19647 (feupdateenv): Do not use BP_SYM in versioned symbols.
19648 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19649 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19650 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19651 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19652 (open64): Do not use BP_SYM in weak_alias.
19653 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19654 (fegetenv): Do not use BP_SYM in versioned symbols.
19655 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19656 (fesetenv): Do not use BP_SYM in versioned symbols.
19657 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19658 (feupdateenv): Do not use BP_SYM in versioned symbols.
19659 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19660 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19661 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19662 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19663 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19664 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19665 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19667 (__libc_start_main): Do not use BP_SYM.
19669 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19672 redundant return line.
19674 (denorm): Likewise.
19675 (dbl_mp): Likewise.
19676 (sub_magnitudes): Likewise.
19682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19684 (denorm): Likewise.
19685 (dbl_mp): Likewise.
19686 (sub_magnitudes): Likewise.
19693 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19695 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19696 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19699 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19700 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19702 of __mul for squares.
19703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19707 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19708 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19710 2013-02-13 Joseph Myers <joseph@codesourcery.com>
19713 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19715 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19716 prototype or function definition. Rename ubp_* variables and
19717 parameters. Remove argv definitions conditional on
19718 [__BOUNDED_POINTERS__].
19719 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19720 * elf/dl-runtime.c (_dl_fixup): Likewise.
19721 * include/set-hooks.h (RUN_HOOK): Likewise.
19722 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19724 * string/strcpy.c (strcpy): Do not use __unbounded.
19725 * sysdeps/generic/frame.h (struct layout): Likewise.
19726 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19727 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19728 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19729 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19730 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19731 (__backtrace): Likewise.
19732 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19734 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19735 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19736 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19738 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19739 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19740 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19741 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19742 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19743 Do not use __unbounded.
19744 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19745 Rename __unboundedrlimits parameter to rlimits in prototype.
19746 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19747 Do not use __unbounded.
19748 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19749 not use __ptrvalue.
19750 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19751 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19752 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19753 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19754 __ptrvalue or __unbounded.
19755 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19756 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19758 (__new_msgctl): Do not use __ptrvalue.
19759 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19761 (__libc_msgrcv): Do not use __ptrvalue.
19762 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19763 startup_info): Do not use __unbounded.
19764 (__libc_start_main): Likewise. Rename ubp_* variables and
19765 parameters. Remove argv definitions conditional on
19766 [__BOUNDED_POINTERS__].
19767 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19769 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19771 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19773 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19775 (__new_shmctl): Do not use __ptrvalue.
19776 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19777 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19779 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19781 (__libc_sigaction): Likewise.
19782 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19783 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19785 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19787 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
19789 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19791 * string/mempcpy.c: Implement by calling memcpy.
19793 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19797 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19801 values in the mantissa.
19803 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19804 minimize writes to Z.
19805 (sub_magnitudes): Simplify code a bit.
19807 2013-02-12 Roland McGrath <roland@hack.frob.com>
19809 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19810 from the message. The linker prefixes all warnings with that already.
19812 2013-02-12 Andreas Schwab <schwab@suse.de>
19815 * posix/regexec.c (extend_buffers): Add parameter min_len.
19816 (check_matching): Pass minimum needed length.
19817 (clean_state_log_if_needed): Likewise.
19818 (get_subexp): Likewise.
19819 * posix/Makefile (tests): Add bug-regex34.
19820 (bug-regex34-ENV): Define.
19821 * posix/bug-regex34.c: New file.
19824 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19825 elements compare against the byte sequence of it, not its name.
19826 * posix/Makefile (tests): Add bug-regex35.
19827 (bug-regex35-ENV): Define.
19828 * posix/bug-regex35.c: New file.
19830 2013-02-11 Tom de Vries <tom@codesourcery.com>
19832 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19834 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19835 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19836 (CHECK_EOL): Add undef.
19838 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
19840 * bits/stdlib-bsearch.h: New file.
19841 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19842 * stdlib/stdlib.h: Likewise.
19844 2013-02-11 Roland McGrath <roland@hack.frob.com>
19846 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19847 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19849 * manual/search.texi (Array Search Function): Add missing const in
19851 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19852 declaration to use rlim_t.
19853 (Basic Scheduling Functions): Remove erroneous const from
19854 sched_getparam prototype. Remove erroneous * from
19855 sched_get_priority_max and sched_get_priority_min prototypes.
19856 (Resource Usage): Fix summary @comment on vtimes to refer to
19857 sys/vtimes.h rather than vtimes.h.
19858 Add missing *s in vtimes prototype.
19859 (Limits on Resources): Fix ulimit prototype to return long int.
19860 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19861 prototypes to use long int rather than double.
19862 (BSD Random): Fix initstate and setstate to use char *, not void *.
19863 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19864 prototype to make second argument 'struct aiocb64 *const[]'.
19865 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19866 (Status of AIO Operations): Remove erroneous const in aio_return and
19867 aio_return64 prototypes.
19868 (Synchronizing I/O): Fix sync prototype to return void.
19869 * manual/startup.texi (Suboptions): Remove an erroneous const in
19870 getsubopt prototype.
19871 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19872 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19873 use size_t rather than int.
19874 (Scanning All Users): Likewise for getpwent_r.
19875 (Setting Groups): Add missing const to setgroups prototype.
19876 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19877 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19878 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19879 'const void *' rather than 'const char *'.
19880 (Host Address Functions): Likewise for inet_ntop.
19881 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19882 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19883 ssize_t for return value.
19884 (Sending Data): Likewise for send, sendto, sendmsg.
19885 (Socket Option Functions): Add a missing const in setsockopt prototype.
19886 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19887 use wchar_t for the argument.
19888 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19889 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19891 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19892 double/float/long double for second argument.
19893 Fix return types of significand, significandf, significandl.
19894 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19895 argument in fchmod prototype.
19896 (File Owner): Use uid_t and gid_t in fchown prototype.
19897 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19898 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19899 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19900 use 'const struct dirent **' as argument types to CMP function pointer
19902 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19903 (File Times): Fix summary magic @comment for struct utimbuf and utime
19904 to refer to utime.h, not time.h.
19905 * manual/string.texi (Argz Functions): Add missing const in
19906 argz_extract and argz_next prototypes.
19907 (Finding Tokens in a String): Likewise for basename.
19908 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19909 (Copying and Concatenation): Fix typo in wmemmove prototype.
19910 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19911 (Signal Stack): Remove erroneous const in sigstack prototype.
19912 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19914 (Simple Calendar Time): Likewise for stime.
19915 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19917 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19918 say sys/sysctl.h instead.
19919 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19920 and vsyslog prototypes.
19922 2013-02-11 Tom de Vries <tom@codesourcery.com>
19924 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19927 2013-02-11 Roland McGrath <roland@hack.frob.com>
19929 * misc/sys/mman.h: Fix typo in mremap comment.
19931 2013-02-08 Roland McGrath <roland@hack.frob.com>
19933 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19934 the '\0' terminator.
19936 2013-02-08 Joseph Myers <joseph@codesourcery.com>
19939 * debug/segfault.c: Don't include <bp-checks.h>.
19940 * sysdeps/generic/bp-checks.h: Remove file.
19941 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19942 (__GETDENTS): Don't use CHECK_N.
19943 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19944 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19945 (__getgroups): Don't use CHECK_N.
19946 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19947 (setgroups): Don't use CHECK_N.
19948 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19949 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19950 (__libc_msgrcv): Don't use CHECK_N.
19951 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19952 (__libc_msgsnd): Don't use CHECK_N.
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19955 (__libc_pread): Don't use CHECK_N.
19956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19957 include <bp-checks.h>.
19958 (__libc_pread64): Don't use CHECK_N.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19960 include <bp-checks.h>.
19961 (__libc_pwrite): Don't use CHECK_N.
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19963 include <bp-checks.h>.
19964 (__libc_pwrite64): Don't use CHECK_N.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19967 (__libc_pread): Don't use CHECK_N.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19969 include <bp-checks.h>.
19970 (__libc_pread64): Don't use CHECK_N.
19971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19972 include <bp-checks.h>.
19973 (__libc_pwrite): Don't use CHECK_N.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19975 include <bp-checks.h>.
19976 (__libc_pwrite64): Don't use CHECK_N.
19977 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19978 (do_pread): Don't use CHECK_N.
19979 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19980 (do_pread64): Don't use CHECK_N.
19981 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19982 (do_pwrite): Don't use CHECK_N.
19983 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19984 (do_pwrite64): Don't use CHECK_N.
19985 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19986 (__libc_readv): Don't use CHECK_N.
19987 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19988 (semop): Don't use CHECK_N.
19989 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19991 (semtimedop): Don't use CHECK_N.
19992 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19993 (__libc_pread): Don't use CHECK_N.
19994 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19996 (__libc_pread64): Don't use CHECK_N.
19997 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19999 (__libc_pwrite): Don't use CHECK_N.
20000 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20002 (__libc_pwrite64): Don't use CHECK_N.
20003 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20005 (__libc_msgrcv): Don't use CHECK_N.
20006 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20007 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20008 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20009 (__libc_writev): Don't use CHECK_N.
20011 2013-02-08 Roland McGrath <roland@hack.frob.com>
20013 * string/strcpy.c: Removed unused variable.
20015 * Makeconfig (+sysdep-includes): Define with := rather than =.
20016 Use an existing include/ subdir of each sysdeps dir before it.
20018 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20020 * nscd/connection.c (register_traced_file): Comment function.
20021 [HAVE_INOTIFY] (union __inev): Define.
20022 [HAVE_INOTIFY] (inotify_check_files): New function.
20023 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20024 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20026 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20028 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20030 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20031 loaded if not already and that a failure is permanent.
20033 2013-02-08 Carlos O'Donell <carlos@redhat.com>
20036 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20037 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20039 2013-02-08 Joseph Myers <joseph@codesourcery.com>
20042 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20043 (CHECK_1_NULL_OK): Likewise.
20044 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20045 (__fxstat): Do not use CHECK_1.
20046 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20048 (___fxstat64): Do not use CHECK_1.
20049 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20051 (__fxstatat): Do not use CHECK_1.
20052 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20054 (__fxstatat64): Do not use CHECK_1.
20055 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20057 (__fxstat): Do not use CHECK_1.
20058 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20060 (__fxstatat): Do not use CHECK_1.
20061 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20063 (__getresgid): Do not use CHECK_1.
20064 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20066 (__getresuid): Do not use CHECK_1.
20067 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20069 (__lxstat): Do not use CHECK_1.
20070 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20072 (__old_msgctl): Do not use CHECK_1.
20073 (__new_msgctl): Likewise.
20074 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20076 (__new_setrlimit): Do not use CHECK_1.
20077 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20079 (__old_shmctl): Do not use CHECK_1.
20080 (__new_shmctl): Likewise.
20081 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20083 (__xstat): Do not use CHECK_1.
20084 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20085 (__lxstat): Do not use CHECK_1.
20086 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20088 (___lxstat64): Do not use CHECK_1.
20089 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20090 (__old_msgctl): Do not use CHECK_1.
20091 (__new_msgctl): Likewise.
20092 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20094 (__gettimeofday): Do not use CHECK_1.
20095 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20096 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20097 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20099 (__gettimeofday): Do not use CHECK_1.
20100 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20101 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20102 (__new_shmctl): Do not use CHECK_1.
20103 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20105 (do_sigtimedwait): Do not use CHECK_1.
20106 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20108 (do_sigwaitinfo): Do not use CHECK_1.
20109 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20111 (msgctl): Do not use CHECK_1.
20112 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20114 (shmctl): Do not use CHECK_1.
20115 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20116 (ustat): Do not use CHECK_1.
20117 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20119 (__fxstat): Do not use CHECK_1.
20120 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20122 (__fxstatat): Do not use CHECK_1.
20123 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20125 (__lxstat): Do not use CHECK_1.
20126 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20128 (__xstat): Do not use CHECK_1.
20129 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20130 (__xstat): Do not use CHECK_1.
20131 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20132 (___xstat64): Do not use CHECK_1.
20135 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20137 (CHECK_BOUNDS_HIGH): Likewise.
20138 * string/strcpy.c: Do not include <bp-checks.h>.
20139 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20141 2013-02-07 Roland McGrath <roland@hack.frob.com>
20143 * nscd/nscd-client.h (__nscd_drop_map_ref):
20144 Add __attribute__ ((unused)).
20145 * nis/nss-nisplus.h (niserr2nss): Likewise.
20147 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20148 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20150 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20151 Remove inline keyword.
20152 * include/rounding-mode.h (round_away): Likewise.
20153 * libio/wfileops.c (adjust_wide_data): Likewise.
20154 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20155 (__m128i_strloadu_tolower): Likewise.
20156 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20157 (__m128i_strloadu_tolower): Likewise.
20158 * time/mktime.c (ydhms_diff): Likewise.
20159 * locale/elem-hash.h (elem_hash): Likewise.
20160 * locale/setlocale.c (setdata): Likewise.
20161 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20162 (re_string_wchar_at): Likewise.
20163 (bitset_not, bitset_merge, bitset_mask): Likewise.
20164 [!(__GNUC__ > 3)] (inline): Remove macro.
20165 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20166 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20167 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20168 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20169 * string/memcmp.c (memcmp_bytes): Likewise.
20170 * locale/programs/locarchive.c (compute_hashval): Likewise.
20171 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20172 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20173 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20174 * nss/getent.c (print_rpc, print_protocols): Likewise.
20175 (print_passwd, print_group, print_aliases): Likewise.
20176 * nis/nss-nisplus.h (niserr2nss): Likewise.
20177 * nscd/connections.c (restart_p): Likewise.
20178 Change return type to bool.
20180 2013-02-05 Roland McGrath <roland@hack.frob.com>
20182 * Makeconfig (all-Depend-files): Add existing
20183 $(sorted-subdirs:=/Depend) files.
20184 (all-subdirs): Remove nss.
20185 * sysdeps/unix/inet/Subdirs: Add it here instead.
20186 * hesiod/Depend: New file.
20188 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20189 instead of calling alloca.
20191 * io/lseek.c (__lseek): Rename to __libc_lseek.
20192 Define __lseek as an alias.
20194 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20196 2013-02-04 Carlos O'Donell <carlos@redhat.com>
20198 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20199 else clause and remove check for non-standard endianness.
20201 2013-02-04 David S. Miller <davem@davemloft.net>
20203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20205 2013-02-04 Joseph Myers <joseph@codesourcery.com>
20208 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20209 (__ubp_memchr): Remove prototype.
20210 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20211 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20212 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20213 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20214 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20216 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20217 (__ubp_memchr): Likewise.
20218 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20219 (__ubp_memchr): Likewise.
20220 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20221 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20222 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20223 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20225 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20226 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20227 (__getcwd): Do not use CHECK_STRING.
20228 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20230 (__real_chown): Do not use CHECK_STRING.
20231 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20233 (fchownat): Do not use CHECK_STRING.
20234 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20236 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20238 (__lchown): Do not use CHECK_STRING.
20239 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20240 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20241 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20242 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20244 include <bp-checks.h>.
20245 (truncate64): Do not use CHECK_STRING.
20246 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20248 (__real_chown): Do not use CHECK_STRING.
20249 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20251 (__lchown): Do not use CHECK_STRING.
20252 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20254 (__chown): Do not use CHECK_STRING.
20255 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20257 (truncate64): Do not use CHECK_STRING.
20258 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20260 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20261 (__xmknod): Do not use CHECK_STRING.
20262 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20264 (__xmknodat): Do not use CHECK_STRING.
20265 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20266 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20268 2013-02-04 Andreas Schwab <schwab@suse.de>
20271 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20272 * include/netdb.h: Likewise for h_errno.
20273 * elf/tst-stackguard1.c: Include <tls.h>.
20275 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20277 * elf/link.h (struct link_map): Extend the l_addr comment.
20278 * include/link.h (struct link_map): Likewise.
20280 2013-02-01 Joseph Myers <joseph@codesourcery.com>
20283 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20284 (BOUNDED_1): Remove macro.
20285 * debug/backtrace.c: Don't include <bp-checks.h>.
20286 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20287 (__backtrace): Likewise.
20288 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20290 (__backtrace): Don't use BOUNDED_1.
20291 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20293 (__backtrace): Don't use BOUNDED_1.
20294 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20295 (__backtrace): Don't use BOUNDED_1.
20296 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20297 (shmat): Don't use BOUNDED_N.
20299 2013-01-31 Joseph Myers <joseph@codesourcery.com>
20302 * sysdeps/generic/bp-start.h: Remove file.
20303 * csu/libc-start.c: Don't include <bp-start.h>.
20304 (LIBC_START_MAIN): Set up __environ directly instead of using
20305 INIT_ARGV_and_ENVIRON.
20306 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20310 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20312 (CHECK_FCNTL): Likewise.
20313 (CHECK_N_PAGES): Likewise.
20316 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20318 (CHECK_SIGSET_NULL_OK): Likewise.
20319 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20321 (sigpending): Don't use CHECK_SIGSET.
20322 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20324 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20325 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20327 (do_sigsuspend): Don't use CHECK_SIGSET.
20328 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20330 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20331 (do_sigwait): Don't use CHECK_SIGSET.
20332 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20335 include <bp-checks.h>.
20336 (sigpending): Don't use CHECK_SIGSET.
20337 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20338 include <bp-checks.h>.
20339 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20340 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20342 (sigpending): Don't use CHECK_SIGSET.
20343 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20345 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20348 * sysdeps/generic/bp-semctl.h: Remove file.
20349 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20350 <bp-checks.h> and <bp-semctl.h>.
20351 (__old_semctl): Don't use CHECK_SEMCTL.
20352 (__new_semctl): Likewise.
20353 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20355 (__old_semctl): Don't use CHECK_SEMCTL.
20356 (__new_semctl): Likewise.
20357 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20358 <bp-checks.h> and <bp-semctl.h>.
20359 (__old_semctl): Don't use CHECK_SEMCTL.
20360 (__new_semctl): Likewise.
20361 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20362 <bp-checks.h> and <bp-semctl.h>.
20363 (semctl): Don't use CHECK_SEMCTL.
20366 * Makerules (elide-bp-thunks): Remove variable.
20367 (elide-routines.oS): Don't use $(elide-bp-thunks).
20368 (elide-routines.os): Likewise.
20369 (elide-routines.o): Likewise.
20370 (elide-routines.op): Likewise.
20371 (elide-routines.og): Likewise.
20372 (objects): Don't use $(bp-thunks).
20373 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20375 (common-generated): Do not add s-proto-bp.d.
20376 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20379 Do not generate makefile rules for bounded-pointer thunks.
20380 * sysdeps/generic/bp-thunks.h: Remove file.
20381 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20382 * sysdeps/unix/s-proto-bp.S: Likewise.
20385 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20386 parts of result separately when argument is not close to line from
20387 -i to i and one part of argument is small.
20388 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20389 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20390 * math/libm-test.inc (cacos_test): Add more tests.
20391 (casin_test): Likewise.
20392 (casinh_test): Likewise.
20393 * sysdeps/i386/fpu/libm-test-ulps: Update.
20394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20396 2013-01-31 David S. Miller <davem@davemloft.net>
20398 * po/de.po: Update from translation team.
20400 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20402 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20404 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20406 * configure.in (_AC_PROG_CC_C89): New definition.
20407 * configure: Regenerate.
20409 * configure.in (AC_PROG_CPP): New definition.
20410 * configure: Regenerate.
20412 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20414 * debug/tst-backtrace.h: New file.
20415 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20416 (ret): Remove variable.
20418 (FAIL): Remove macro.
20419 (NO_INLINE): Likewise.
20420 (fn1): Use match function instead of strstr.
20421 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20422 (ret): Remove variable.
20424 (FAIL): Remove macro.
20425 (NO_INLINE): Likewise.
20426 (fn): Use match function instead of strstr.
20427 * debug/tst-backtrace4.c: Include tst-backtrace.h.
20428 (ret): Remove variable.
20430 (FAIL): Remove macro.
20431 (NO_INLINE): Likewise.
20432 (handle_signal): Use match function instead of strstr.
20433 * debug/tst-backtrace5.c: Include tst-backtrace.h.
20434 (ret): Remove variable.
20436 (FAIL): Remove macro.
20437 (NO_INLINE): Likewise.
20438 (handle_signal): Use match function instead of strstr.
20440 2013-01-23 Roland McGrath <roland@hack.frob.com>
20442 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20444 2013-01-23 David S. Miller <davem@davemloft.net>
20446 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20447 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20448 argument of CAS if possible.
20449 * sysdeps/sparc/sparc64/bits/atomic.h
20450 (__arch_compare_and_exchange_val_32_acq): Likewise.
20451 (__arch_compare_and_exchange_val_64_acq): Likewise.
20453 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
20455 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20456 * sysdeps/posix/ulimit.c: ... this.
20457 Include <limits.h>.
20458 * sysdeps/unix/bsd/ulimit.c: Remove file.
20460 2013-01-23 Adam Conrad <adconrad@0c3.net>
20462 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20463 (LDFLAGS-tst-array5): Likewise.
20465 2013-01-23 Joseph Myers <joseph@codesourcery.com>
20468 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20469 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20470 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20471 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20473 2013-01-21 David S. Miller <davem@davemloft.net>
20475 * sysdeps/sparc/backtrace.c: New file.
20476 * sysdeps/sparc/sparc32/backtrace.h: New file.
20477 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20478 * sysdeps/sparc/sparc64/backtrace.h: New file.
20479 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20480 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20483 2013-01-21 Andreas Schwab <schwab@suse.de>
20486 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20489 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20495 2013-01-18 Joseph Myers <joseph@codesourcery.com>
20496 Mark Mitchell <mark@codesourcery.com>
20497 Tom de Vries <tom@codesourcery.com>
20498 Paul Pluzhnikov <ppluzhnikov@google.com>
20500 * debug/tst-backtrace2.c: New file.
20501 * debug/tst-backtrace3.c: Likewise.
20502 * debug/tst-backtrace4.c: Likewise.
20503 * debug/tst-backtrace5.c: Likewise.
20504 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20505 (CFLAGS-tst-backtrace3.c): Likewise.
20506 (CFLAGS-tst-backtrace4.c): Likewise.
20507 (CFLAGS-tst-backtrace5.c): Likewise.
20508 (LDFLAGS-tst-backtrace2): Likewise.
20509 (LDFLAGS-tst-backtrace3): Likewise.
20510 (LDFLAGS-tst-backtrace4): Likewise.
20511 (LDFLAGS-tst-backtrace5): Likewise.
20512 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20513 tst-backtrace4 and tst-backtrace5.
20515 2013-01-18 Anton Blanchard <anton@samba.org>
20516 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20518 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20519 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20520 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20521 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20523 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20524 "+r" and remove output regs list as redundant. Add explicit inline
20525 asm to specify register of return val to work around compiler codegen
20526 bug. Remove (int) cast on return value. Add return type parameter to
20527 use in macro so that this macro does not truncate return value for
20529 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20530 pass to INTERNAL_VSYSCALL_NCS.
20531 (INLINE_VSYSCALL): Add 'long int' as return type to
20532 INTERNAL_VSYSCALL_NCS macro invocation.
20533 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20534 INTERNAL_VSYSCALL_NCS macro invocation.
20535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20537 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20540 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20541 Fix application of SIMD FP exception mask.
20543 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20544 mp_no from a power of two.
20545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20546 __mpexp_twomm1. Use __pow_mp.
20548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20551 2013-01-17 David S. Miller <davem@davemloft.net>
20553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20555 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20558 * include/complex.h: Condition contents on [!_COMPLEX_H].
20559 (__kernel_casinhf): New prototype.
20560 (__kernel_casinh): Likewise.
20561 (__kernel_casinhl): Likewise.
20562 * math/Makefile (libm_calls): Add k_casinh.
20563 * math/k_casinh.c: New file.
20564 * math/k_casinhf.c: Likewise.
20565 * math/k_casinhl.c: Likewise.
20566 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20567 finite nonzero arguments.
20568 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20569 finite nonzero arguments.
20570 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20571 finite nonzero arguments.
20572 * math/s_casinh.c: Do not include <float.h>.
20573 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20574 * math/s_casinhf.c: Do not include <float.h>.
20575 (__casinhf): Move code for finite nonzero arguments to
20577 * math/s_casinhl.c: Do not include <float.h>.
20578 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20580 (__casinhl): Move code for finite nonzero arguments to
20582 * math/libm-test.inc (cacos_test): Add more tests.
20583 * sysdeps/i386/fpu/libm-test-ulps: Update.
20584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20586 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20588 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20589 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20590 [!HAVE_MREMAP]: Remove [defined linux] case.
20591 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20593 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20595 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20597 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
20599 * elf/elf.h (R_386_SIZE32): New relocation.
20600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20602 (elf_machine_rela): Likewise.
20603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20604 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20606 2013-01-17 Joseph Myers <joseph@codesourcery.com>
20608 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20609 (FP_FAST_FMA): Do not define.
20610 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20611 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20612 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20613 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20614 !_SOFT_FLOAT]: Likewise.
20615 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20616 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20618 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20619 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20620 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20621 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20622 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20623 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20626 2013-01-16 Andreas Schwab <schwab@suse.de>
20629 * include/stdlib.h (__mktemp): Add declaration.
20630 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20631 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20633 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20637 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20638 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20639 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20641 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20642 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20644 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20646 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20647 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20648 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20650 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20651 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20653 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20655 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20657 2013-01-15 David S. Miller <davem@davemloft.net>
20659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20660 trunc{,f} to libm-sysdep_routes.
20661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20671 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20672 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20673 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20674 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20675 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20676 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20679 nearbyint{,f} to libm-sysdep_routes.
20680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20691 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20693 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20694 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20696 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20697 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20698 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20700 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20701 libc_feholdexcept and libc_fesetenv.
20703 2013-01-15 Mike Frysinger <vapier@gentoo.org>
20705 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20707 2013-01-14 David S. Miller <davem@davemloft.net>
20709 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20710 (SPARC_ASM_VIS2_IFUNC): Likewise.
20711 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20713 use of 'siam' instruction.
20714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20732 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20733 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20747 routines to libm-sysdep_routines.
20748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20751 fdim/fdimf to libm-sysdep_routines.
20752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20760 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20761 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20762 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20763 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20765 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20767 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20768 to optimize copies.
20770 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20775 local variable MPTWO.
20776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20779 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20781 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20784 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20786 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20788 2013-01-13 Mike Frysinger <vapier@gentoo.org>
20790 * manual/pattern.texi (glob_t): Document gl_flags.
20791 (glob64_t): Likewise.
20793 2013-01-11 David S. Miller <davem@davemloft.net>
20795 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20796 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20797 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20798 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20799 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20800 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20801 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20802 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20803 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20804 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20805 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20806 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20807 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20809 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20810 sparc V9 rather than using V8 code.
20811 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20812 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20814 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20816 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20819 2013-01-11 Roland McGrath <roland@hack.frob.com>
20821 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20822 not in the main loop.
20823 * configure: Regenerated.
20825 2013-01-11 Joseph Myers <joseph@codesourcery.com>
20827 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20828 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20830 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20831 [!__GLIBC_HAVE_LONG_LONG] case.
20832 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20833 condition to just #else.
20834 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20835 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20836 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20837 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20839 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20840 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20841 #elif condition to just #else.
20842 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20843 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20844 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20845 #elif condition to just #else.
20847 2013-01-11 Steve Ellcey <sellcey@mips.com>
20849 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20850 (EF_MIPS_ARCH_64): Fix value.
20851 (EF_MIPS_ARCH_32R2): New.
20852 (EF_MIPS_ARCH_64R2): New.
20854 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20856 * Makeconfig (+link-pie-before-libc): New.
20857 (+link-pie-after-libc): Likewise.
20858 (+link-pie-tests): Likewise.
20859 (+link-pie): Rewritten.
20860 (link-before-libc): Remove $(config-LDFLAGS).
20861 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20862 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20863 (config-LDFLAGS): Renamed to ...
20864 (rtld-LDFLAGS): This.
20865 (rtld-tests-LDFLAGS): New macro.
20866 (link-libc-rpath-link): Likewise.
20867 (link-libc-tests-rpath-link): Likewise.
20868 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20869 (link-libc): Prepand $(link-libc-rpath-link).
20870 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20871 (test-program-prefix): New macro.
20872 (test-via-rtld-prefix): Likewise.
20873 (test-program-cmd): Likewise.
20874 (host-test-program-cmd): Likewise.
20875 * Makefile ($(common-objpfx)testrun.sh): Replace
20876 $(run-program-prefix) with $(test-program-prefix).
20877 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20879 ($(common-objpfx)shlib.lds): Likewise.
20880 (build-module-helper): Likewise.
20881 ($(common-objpfx)format.lds): Likewise.
20882 * Rules (binaries-pie-tests): New.
20883 (binaries-pie-notests): Likewise.
20884 (binaries-pie): Rewritten.
20885 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20886 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20887 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20888 (make-test-out): Replace $(host-built-program-cmd) with
20889 $(host-test-program-cmd).
20890 * config.make.in (build-hardcoded-path-in-tests): New variable.
20891 * configure.in (--enable-hardcoded-path-in-tests): New configure
20893 (hardcoded_path_in_tests): New AC_SUBST.
20894 * configure: Regenerated.
20895 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20896 $(built-program-cmd) with $(test-program-cmd).
20897 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20898 (test_program_cmd): This.
20899 * elf/Makefile ($(objpfx)order.out): Run test with
20900 $(test-program-prefix).
20901 ($(objpfx)order2.out): Likewise.
20902 ($(objpfx)tst-initorder.out): Likewise.
20903 ($(objpfx)tst-initorder2.out): Likewise.
20904 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20905 $(test-program-cmd).
20906 ($(objpfx)tst-array1-static.out): Likewise.
20907 ($(objpfx)tst-array2.out): Likewise.
20908 ($(objpfx)tst-array3.out): Likewise.
20909 ($(objpfx)tst-array4.out): Likewise.
20910 ($(objpfx)tst-array5.out): Likewise.
20911 ($(objpfx)tst-array5-static.out): Likewise.
20912 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20913 $(test-program-cmd).
20914 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20915 $(run-program-prefix) with $(test-program-prefix).
20916 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20917 (test_program_prefix): This.
20918 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20919 $(run-program-prefix) with $(test-program-prefix).
20920 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20921 (test_program_prefix): This.
20922 * iconvdata/tst-tables.sh: Likewise.
20923 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20924 $(run-program-prefix) with $(test-program-prefix).
20925 ($(objpfx)tst-translit.out): Likewise.
20926 ($(objpfx)tst-gettext2.out): Likewise.
20927 ($(objpfx)tst-gettext4.out): Likewise.
20928 ($(objpfx)tst-gettext6.out): Likewise.
20929 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20930 (test_program_prefix): This.
20931 * intl/tst-gettext2.sh: Likewise.
20932 * intl/tst-gettext4.sh Likewise.
20933 * intl/tst-gettext6.sh: Likewise.
20934 * intl/tst-translit.sh: Likewise.
20935 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20936 with $(test-program-cmd).
20937 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20938 $(run-program-prefix) with $(test-program-prefix).
20939 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20940 (test_program_prefix): This.
20941 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20942 $(run-program-prefix) with $(test-program-prefix).
20943 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20944 (test_program_prefix): This.
20945 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20946 * posix/Makefile ($(objpfx)globtest.out): Replace
20947 $(run-via-rtld-prefix) and $(test-wrapper) with
20948 $(test-program-prefix) and $(test-via-rtld-prefix).
20949 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20950 $(test-program-prefix).
20951 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20952 $(host-test-program-cmd).
20953 (tst-spawn-ARGS): Likewise.
20954 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20955 $(test-program-prefix).
20956 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20957 (test_via_rtld_prefix): This.
20958 (test_wrapper): Renamed to ...
20959 (test_program_prefix): This.
20960 (run_program_prefix): Replaced by test_program_prefix.
20961 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20962 (test_program_prefix): This.
20963 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20964 with $(host-test-program-cmd).
20965 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20966 $(run-program-prefix) with $(test-program-prefix).
20967 ($(objpfx)tst-printf.out): Likewise.
20968 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20969 $(test-program-cmd).
20970 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20971 (test_program_prefix): This.
20972 * stdio-common/tst-unbputc.sh: Likewise.
20973 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20974 $(run-program-prefix) with $(test-program-prefix).
20975 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20976 (test_program_prefix): This.
20977 * string/Makefile ($(objpfx)tst-svc.out): Replace
20978 $(built-program-cmd) with $(test-program-cmd).
20980 2013-01-11 Andreas Jaeger <aj@suse.de>
20983 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20984 value. Sync with Linux 3.7.
20986 2013-01-10 David S. Miller <davem@davemloft.net>
20988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20989 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20990 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20992 2013-01-10 Roland McGrath <roland@hack.frob.com>
20994 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20996 * configure: Regenerated.
20998 2013-01-10 David S. Miller <davem@davemloft.net>
21000 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21001 sparc V9 rather than using V8 code.
21002 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21003 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21005 2013-01-10 Roland McGrath <roland@hack.frob.com>
21007 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21008 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21009 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21010 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21011 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21012 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21013 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21014 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21015 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21016 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21017 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21018 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21019 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21020 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21021 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21022 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21023 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21024 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21025 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21026 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21027 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21028 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21029 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21030 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21031 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21032 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21033 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21035 2013-01-10 David S. Miller <davem@davemloft.net>
21037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21039 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21041 * posix/Makefile (tests-static): New variable.
21042 (tests): Add $(tests-static).
21043 (tst-exec-static-ARGS): New variable.
21044 (tst-spawn-static-ARGS): Likewise.
21045 * posix/tst-exec-static.c: New file.
21046 * posix/tst-spawn-static.c: Likewise.
21047 * posix/tst-exec.c: Support run directly.
21048 * posix/tst-spawn.c: Likewise.
21050 2013-01-10 Joseph Myers <joseph@codesourcery.com>
21052 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21054 * math/bits/mathcalls.h (llrint): Likewise.
21055 (llround): Likewise.
21056 * stdlib/stdlib.h (struct drand48_data): Likewise.
21057 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21058 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21059 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21061 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21063 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21064 (elf_greg_t): Likewise.
21065 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21066 (__jmp_buf): Likewise.
21067 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21069 (llrint): Likewise, for all definitions.
21070 (llrintl): Likewise.
21072 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21073 Remove [__GNUC__] condition.
21074 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21075 condition to just [__USE_ISOC99].
21076 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21078 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21081 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21082 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21084 (_POSIX_V6_ILP32_OFF32): Likewise.
21085 (_XBS5_ILP32_OFF32): Likewise.
21086 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21087 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21089 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21091 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21094 doubles __mpexp_twomm1. Adjust usage.
21095 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21098 2013-01-10 Andreas Schwab <schwab@suse.de>
21101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21102 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21104 2013-01-09 David S. Miller <davem@davemloft.net>
21107 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21108 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21109 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21110 (TCP_FASTOPEN): Define.
21111 (tcp_repair_opt): New structure.
21112 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21114 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21115 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21116 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21117 (tcp_cookie_transactions): New structure.
21119 2013-01-09 Anton Blanchard <anton@samba.org>
21121 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21122 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21123 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21124 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21126 2013-01-09 Joseph Myers <joseph@codesourcery.com>
21128 * include/features.h (__USE_ANSI): Remove.
21130 2013-01-09 Roland McGrath <roland@hack.frob.com>
21132 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21134 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21136 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21138 * sysdeps/s390/fpu/libm-test-ulps: Update.
21140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21142 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21146 (denorm): Likewise.
21147 (__mp_dbl): Likewise.
21148 (__dbl_mp): Likewise.
21149 (add_magnitudes): Likewise.
21150 (sub_magnitudes): Likewise.
21156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21160 (denorm): Likewise.
21161 (__mp_dbl): Likewise.
21162 (__dbl_mp): Likewise.
21163 (add_magnitudes): Likewise.
21164 (sub_magnitudes): Likewise.
21170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21174 (denorm): Likewise.
21175 (__mp_dbl): Likewise.
21176 (__dbl_mp): Likewise.
21177 (add_magnitudes): Likewise.
21178 (sub_magnitudes): Likewise.
21185 2013-01-08 Joseph Myers <joseph@codesourcery.com>
21187 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21188 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21189 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21190 2 && __USE_EXTERN_INLINES]: Likewise.
21192 2013-01-08 Andreas Jaeger <aj@suse.de>
21195 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21197 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21198 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21200 2013-01-07 Anton Blanchard <anton@samba.org>
21202 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21203 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21204 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21205 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21206 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21207 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21208 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21209 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21211 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21212 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21213 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21214 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21215 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21216 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21217 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21218 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21219 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21220 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21221 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21223 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21225 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21226 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21227 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21228 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21229 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21231 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21232 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21234 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21235 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21236 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21237 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21238 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21239 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21240 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21241 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21242 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21243 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21244 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21246 2013-01-07 Joseph Myers <joseph@codesourcery.com>
21248 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21249 (__MALLOC_PMT): Likewise.
21250 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21251 [__GNUC__], only on [_LIBC].
21252 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21253 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21254 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21255 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21256 forward declaration.
21257 (realloc_hook_ini): Likewise.
21258 (memalign_hook_ini): Likewise.
21259 (__libc_memalign): Do not use __MALLOC_PMT in variable
21261 (__libc_valloc): Likewise.
21262 (__libc_pvalloc): Likewise.
21263 (__libc_calloc): Likewise.
21264 (__posix_memalign): Likewise.
21267 * math/s_casinh.c: Include <float.h>.
21268 (__casinh): Do not do computation with squaring and square root
21269 for large arguments.
21270 * math/s_casinhf.c: Include <float.h>.
21271 (__casinhf): Do not do computation with squaring and square root
21272 for large arguments.
21273 * math/s_casinhl.c: Include <float.h>.
21274 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21275 (__casinhl): Do not do computation with squaring and square root
21276 for large arguments.
21277 * math/libm-test.inc (casin_test): Add more tests.
21278 (casinh_test): Likewise.
21279 * sysdeps/i386/fpu/libm-test-ulps: Update.
21280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21282 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21284 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21285 (__x86_64_raw_data_cache_size): Likewise.
21286 (__x86_64_data_cache_size_half): Likewise.
21287 (__x86_64_raw_data_cache_size_half): Likewise.
21288 (__x86_64_shared_cache_size): Likewise.
21289 (__x86_64_raw_shared_cache_size): Likewise.
21290 (__x86_64_shared_cache_size_half): Likewise.
21291 (__x86_64_raw_shared_cache_size_half): Likewise.
21292 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21294 (__x86_data_cache_size): This.
21295 (__x86_64_raw_data_cache_size): Renamed to ...
21296 (__x86_raw_data_cache_size): This.
21297 (__x86_64_data_cache_size_half): Renamed to ...
21298 (__x86_data_cache_size_half): This.
21299 (__x86_64_raw_data_cache_size_half): Renamed to ...
21300 (__x86_raw_data_cache_size_half): This.
21301 (__x86_64_shared_cache_size): Renamed to ...
21302 (__x86_shared_cache_size): This.
21303 (__x86_64_raw_shared_cache_size): Renamed to ...
21304 (__x86_raw_shared_cache_size): This.
21305 (__x86_64_shared_cache_size_half): Renamed to ...
21306 (__x86_shared_cache_size_half): This.
21307 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21308 (__x86_raw_shared_cache_size_half): This.
21309 * sysdeps/x86_64/memcpy.S: Updated.
21310 * sysdeps/x86_64/memset.S: Likewise.
21311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21312 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21313 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21315 2013-01-04 David S. Miller <davem@davemloft.net>
21317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21319 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21321 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21322 1 to avoid redefinition warning.
21323 (__USE_GNU): Don't define.
21324 (init_signaling_nan): Protoize.
21326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21328 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21330 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21332 (__cpymn): Likewise.
21333 (norm): Remove commented code.
21334 (denorm): Likewise.
21335 (__mp_dbl): Likewise.
21337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21338 (__cpymn): Likewise.
21339 (norm): Remove commented code.
21340 (denorm): Likewise.
21341 (__mp_dbl): Likewise.
21344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21345 mp_no value for 1.0 and 2.0.
21346 (norm): Use RADIXI instead of radixi.d.
21347 (denorm): Likewise.
21348 (__mul): Use 0.0 instead of zero.d.
21349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21350 mp_no value for 1.0 and 2.0.
21351 (norm): Use RADIXI instead of radixi.d.
21352 (denorm): Likewise.
21353 (__mul): Use 0.0 instead of zero.d.
21355 2013-01-04 Joseph Myers <joseph@codesourcery.com>
21358 * math/s_casinh.c (__casinh): Reduce finite argument to first
21359 quadrant then set signs of results at the end.
21360 * math/s_casinhf.c (__casinhf): Likewise.
21361 * math/s_casinhl.c (__casinhl): Likewise.
21362 * math/libm-test.inc (casin_test): Add more tests.
21363 (casinh_test): Likewise.
21364 * sysdeps/i386/fpu/libm-test-ulps: Update.
21365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21367 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21369 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21371 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21373 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21375 (denorm): Likewise.
21376 (__mp_dbl): Likewise.
21379 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21380 and adjust the header comment.
21382 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21383 variable name from declaration.
21385 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21388 Initialize COMMON_CPUID_INDEX_7 element.
21389 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21390 (CPUID_RTM): Likewise.
21391 (HAS_RTM): Likewise.
21392 (COMMON_CPUID_INDEX_7): New enum.
21394 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21397 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21398 size is zero, record memory as freed.
21400 2013-01-03 Andreas Jaeger <aj@suse.de>
21402 * po/ia.po: Add new Interlingua translation.
21404 2012-01-03 Allan McRae <allan@archlinux.org>
21406 * locale/programs/localedef.c: Fix description of '--posix' flag.
21408 2013-01-02 Joseph Myers <joseph@codesourcery.com>
21410 * NEWS: Update dates in second copyright notice.
21411 * README: Update copyright dates in example.
21412 * manual/libc.texinfo: Update copyright dates.
21413 * scripts/test-installation.pl: Update copyright date in --version
21416 * hurd/ctty-input.c: Fix copyright notice formatting.
21417 * hurd/ctty-output.c: Likewise.
21418 * hurd/dtable.c: Likewise.
21419 * hurd/hurd-raise.c: Likewise.
21420 * hurd/hurdprio.c: Likewise.
21421 * hurd/msgportdemux.c: Likewise.
21422 * misc/sys/file.h: Likewise.
21423 * misc/sys/ioctl.h: Likewise.
21424 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21425 * sysdeps/mach/hurd/chdir.c: Likewise.
21426 * sysdeps/mach/hurd/fchdir.c: Likewise.
21427 * sysdeps/mach/hurd/rename.c: Likewise.
21428 * sysdeps/mach/hurd/rmdir.c: Likewise.
21429 * sysdeps/mach/hurd/seekdir.c: Likewise.
21430 * sysdeps/mach/hurd/setsid.c: Likewise.
21431 * sysdeps/posix/wait3.c: Likewise.
21433 * All files with FSF copyright notices: Update copyright dates
21434 using scripts/update-copyrights.
21435 * intl/plural.c: Regenerated.
21436 * locale/programs/charmap-kw.h: Likewise.
21437 * locale/programs/locfile-kw.h: Likewise.
21439 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21441 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21444 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21445 calculation loop and add branch prediction.
21447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21448 check access beyond bounds of m1np.
21450 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21452 (__inv): Remove local variable MPTWO to use the global
21454 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21455 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21457 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21458 MP3HALFS static const.
21460 2013-01-01 David S. Miller <davem@davemloft.net>
21462 * po/ca.po: Update from translation team.
21464 2013-01-01 Joseph Myers <joseph@codesourcery.com>
21466 * scripts/update-copyrights: New file.
21467 * Makeconfig: Reformat copyright notice.
21468 * ctype/ctype.h: Likewise.
21469 * debug/swprintf_chk.c: Likewise.
21470 * elf/dl-cache.c: Likewise.
21471 * elf/dl-debug.c: Likewise.
21472 * elf/dl-object.c: Likewise.
21473 * grp/initgroups.c: Likewise.
21474 * hurd/Makefile: Likewise.
21475 * hurd/hurd/signal.h: Likewise.
21476 * hurd/hurdfault.c: Likewise.
21477 * hurd/hurdioctl.c: Likewise.
21478 * hurd/hurdlookup.c: Likewise.
21479 * hurd/intr-msg.c: Likewise.
21480 * iconv/gconv_open.c: Likewise.
21481 * libio/swprintf.c: Likewise.
21482 * locale/lc-ctype.c: Likewise.
21483 * locale/nl_langinfo.c: Likewise.
21484 * mach/Machrules: Likewise.
21485 * mach/Makefile: Likewise.
21486 * malloc/obstack.h: Likewise.
21487 * manual/Makefile: Likewise.
21488 * manual/tsort.awk: Likewise.
21489 * misc/bits/stab.def: Likewise.
21490 * nis/nis_print_group_entry.c: Likewise.
21491 * nis/nis_table.c: Likewise.
21492 * nis/nss_compat/compat-pwd.c: Likewise.
21493 * nis/nss_compat/compat-spwd.c: Likewise.
21494 * po/Makefile: Likewise.
21495 * posix/fnmatch.c: Likewise.
21496 * posix/regex.h: Likewise.
21497 * resolv/Makefile: Likewise.
21498 * resolv/nss_dns/dns-network.c: Likewise.
21499 * resolv/res_hconf.c: Likewise.
21500 * scripts/gen-sorted.awk: Likewise.
21501 * soft-fp/soft-fp.h: Likewise.
21502 * stdio-common/printf.h: Likewise.
21503 * stdlib/monetary.h: Likewise.
21504 * stdlib/random.c: Likewise.
21505 * stdlib/random_r.c: Likewise.
21506 * sysdeps/generic/Makefile: Likewise.
21507 * sysdeps/gnu/Makefile: Likewise.
21508 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21510 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21518 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21519 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21520 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21521 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21522 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21523 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21524 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21526 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21528 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21529 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21530 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21531 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21536 * sysdeps/mach/hurd/errnos.awk: Likewise.
21537 * sysdeps/mach/hurd/fork.c: Likewise.
21538 * sysdeps/mach/hurd/getcwd.c: Likewise.
21539 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21540 * sysdeps/mach/hurd/mmap.c: Likewise.
21541 * sysdeps/mach/hurd/utimes.c: Likewise.
21542 * sysdeps/mach/hurd/xmknod.c: Likewise.
21543 * sysdeps/posix/profil.c: Likewise.
21544 * sysdeps/posix/readdir_r.c: Likewise.
21545 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21546 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21547 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21548 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21550 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21551 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21552 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21554 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21555 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21556 * sysdeps/pthread/lio_listio.c: Likewise.
21557 * sysdeps/sparc/dl-procinfo.h: Likewise.
21558 * sysdeps/unix/i386/sysdep.S: Likewise.
21559 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21560 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21561 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21562 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21564 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21565 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21566 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21567 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21568 * sysdeps/wordsize-32/divdi3.c: Likewise.
21569 * time/sys/time.h: Likewise.
21570 * wcsmbs/Makefile: Likewise.
21572 2013-01-01 David S. Miller <davem@davemloft.net>
21574 * po/fr.po: Update from translation team.
21576 * catgets/gencat.c: Update copyright year.
21577 * csu/version.c: Likewise.
21578 * debug/catchsegv.sh: Likewise.
21579 * debug/pcprofiledump.c: Likewise.
21580 * debug/xtrace.sh: Likewise.
21581 * elf/ldconfig.c: Likewise.
21582 * elf/ldd.bash.in: Likewise.
21583 * elf/pldd.c: Likewise.
21584 * elf/sotruss.ksh: Likewise.
21585 * elf/sprof.c: Likewise.
21586 * iconv/iconv_prog.c: Likewise.
21587 * iconv/iconvconfig.c: Likewise.
21588 * locale/programs/locale.c: Likewise.
21589 * locale/programs/localedef.c: Likewise.
21590 * login/programs/pt_chown.c: Likewise.
21591 * malloc/memusage.sh: Likewise.
21592 * malloc/memusagestat.c: Likewise.
21593 * malloc/mtrace.pl: Likewise.
21594 * nscd/nscd.c: Likewise.
21595 * nss/getent.c: Likewise.
21596 * nss/makedb.c: Likewise.
21597 * posix/getconf.c: Likewise.
21599 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21601 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21604 2012-12-30 Mike Frysinger <vapier@gentoo.org>
21606 * math/bits/mathcalls.h (modf): Use __nonnull.
21608 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21610 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21611 (split): Use macro CN instead of the bare value.
21612 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21614 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21615 instead of the bare value.
21616 (power1): Likewise.
21618 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21620 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21622 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21624 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21626 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21627 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21628 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21629 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21631 2012-12-28 Andreas Jaeger <aj@suse.de>
21633 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21634 values are from Linux 3.7.
21636 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21637 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21639 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21641 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21644 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21646 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21647 variables with preprocessor constants.
21648 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21649 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21650 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21652 2012-12-27 Bruno Haible <bruno@clisp.org>
21655 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21658 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21661 and use variable directly.
21662 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21664 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21666 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21669 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21671 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21672 include directive. Remove local variable MPONE.
21673 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21674 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21675 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21677 2012-12-25 David S. Miller <davem@davemloft.net>
21679 * version.h (RELEASE): Set to "development".
21680 (VERSION): Set to "2.17.90".
21681 * NEWS: Add 2.18 section.
21683 2012-12-21 David S. Miller <davem@davemloft.net>
21685 * po/hr.po: Update from translation team.
21687 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21689 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21691 2012-12-19 Steve Ellcey <sellcey@mips.com>
21693 * NEWS: Mention new memcpy for MIPS.
21695 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21697 * manual/contrib.texi (Contributors): Spelling correction.
21699 2012-12-15 David S. Miller <davem@davemloft.net>
21701 * po/ru.po: Update from translation team.
21703 2012-12-13 David S. Miller <davem@davemloft.net>
21705 * NEWS: Mention IFUNC testsuite enhancements.
21707 * po/pl.po: Update from translation team.
21708 * po/bg.po: Likewise.
21710 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21711 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21713 2012-12-11 David S. Miller <davem@davemloft.net>
21715 * po/sv.po: Update from translation team.
21717 * po/vi.po: Update from translation team.
21719 * po/cs.po: Update from translation team.
21721 * po/de.po: Update from translation team.
21722 * po/eo.po: Likewise.
21723 * po/nl.po: Likewise.
21725 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21728 * manual/argp.texi (Argp Helper Functions): Move node to follow
21729 Argp Parsing State.
21732 * manual/conf.texi (Limits on File System Capacity): Mention if
21733 terminating null is included in the max size.
21735 2012-12-10 Andreas Jaeger <aj@suse.de>
21737 * po/cs.po: Update from translation team.
21739 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21741 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21742 void pointer and cast to uintptr_t.
21743 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21745 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21746 * sysdeps/s390/s390-64/memset.S: Likewise.
21748 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
21751 * menual/message.texi (Message Translation): Fix typos.
21752 (Helper programs for gettext): Likewise.
21754 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21757 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21760 2012-12-07 David S. Miller <davem@davemloft.net>
21762 * po/libc.pot: Update.
21764 2012-12-07 Richard Henderson <rth@redhat.com>
21767 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21768 normal/normal case to before the switch.
21769 (_FP_DIV): Likewise.
21771 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21772 Mike Frysinger <vapier@gentoo.org>
21774 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21775 check for __NR_fadvise64_64.
21777 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21779 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21780 0, not just to plain "0" as a statement.
21781 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21784 2012-12-06 Joseph Myers <joseph@codesourcery.com>
21786 * NEWS: Use sourceware.org in Bugzilla URL.
21788 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21791 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21793 * stdio-common/tst-put-error.c (do_test): Add newline to the
21794 padded test to ensure flush.
21796 2012-12-05 Jeff Law <law@redhat.com>
21798 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21800 2012-12-05 Joseph Myers <joseph@codesourcery.com>
21802 * README: Don't refer to ports add-on as distributed separately.
21803 Mention AArch64 in list of systems supported in the ports add-on.
21805 * LICENSES: Add more non-FSF copyright and license notices.
21807 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21810 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21812 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21813 10000 as width of padded output.
21815 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21817 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21819 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21820 variable LX with __attribute__ ((unused)).
21821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21823 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21824 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21826 with __attribute__ ((unused)).
21828 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
21830 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21832 2012-12-04 Joseph Myers <joseph@codesourcery.com>
21834 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21835 (CFLAGS-nldbl-acos.c): New variable.
21836 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21837 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21838 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21839 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21840 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21841 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21842 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21843 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21844 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21845 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21846 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21847 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21848 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21849 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21850 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21851 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21852 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21853 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21854 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21855 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21856 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21857 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21858 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21859 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21860 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21861 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21862 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21863 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21864 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21865 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21866 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21867 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21868 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21869 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21870 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21871 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21872 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21873 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21874 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21875 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21876 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21877 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21878 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21879 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21880 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21881 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21882 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21883 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21884 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21885 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21886 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21887 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21888 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21889 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21890 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21891 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21892 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21893 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21894 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21895 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21896 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21897 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21898 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21899 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21900 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21901 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21902 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21903 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21904 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21905 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21906 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21907 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21908 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21909 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21910 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21911 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21912 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21913 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21914 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21915 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21916 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21917 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21918 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21919 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21920 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21921 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21922 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21923 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21924 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21925 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21926 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21927 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21928 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21929 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21930 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21931 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21932 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21935 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21938 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21939 whole low double instead of just low 47 bits when splitting values
21942 2012-12-03 Allan McRae <allan@archlinux.org>
21944 * manual/stdio.texi (Predefined Printf Handlers): Remove
21945 @hsep and @vsep usage.
21947 2012-12-03 Mike Frysinger <vapier@gentoo.org>
21949 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21950 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21952 2012-12-03 Jeff Law <law@redhat.com>
21954 * time/sys/time.h (settimeofday): Do not mark TV argument
21957 2012-12-01 Mike Frysinger <vapier@gentoo.org>
21959 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21960 when currently writing and seek to current position when not.
21961 * libio/Makefile (tests): Remove bug-fclose1.
21962 * libio/bug-fclose1.c: Delete.
21964 2012-12-01 Joseph Myers <joseph@codesourcery.com>
21966 * manual/arith.texi (feenableexcept): Fix typo.
21967 (fedisableexcept): Likewise.
21969 2012-11-30 Roland McGrath <roland@hack.frob.com>
21971 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21972 second, differently-typed declaration, rather than a cast.
21974 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21976 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21977 * include/rpc/svc.h: ... here.
21979 2012-11-30 Aurelien Jarno <aurel32@debian.org>
21982 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21983 depending n and resplen2 to catch cases where answer
21986 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21988 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21989 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21991 2012-11-29 Mike Frysinger <vapier@gentoo.org>
21993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21995 2012-11-29 Roland McGrath <roland@hack.frob.com>
21997 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21999 2012-11-28 Jeff Law <law@redhat.com>
22002 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22003 dataset_temporary. Track alloca usage into alloca_used.
22004 If dataset is large allocate and release it via malloc/free.
22006 2012-06-04 Florian Weimer <fweimer@redhat.com>
22009 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22011 2012-11-28 David S. Miller <davem@davemloft.net>
22013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22015 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22018 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22019 of pi/2 rounded to nearest to 64 bits.
22020 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22021 nearest to 64 bits.
22022 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22025 2012-11-28 Jeff Law <law@redhat.com>
22026 Martin Osvald <mosvald@redhat.com>
22029 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22030 * sunrpc/svc.c: Include time.h.
22031 (__svc_accept_failed): New function.
22032 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22033 any reason other than EINTR, call __svc_accept_failed.
22034 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22035 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22037 2012-11-28 Andreas Schwab <schwab@suse.de>
22039 * scripts/abilist.awk: Also handle indirect functions in .opd
22042 2012-11-28 Joseph Myers <joseph@codesourcery.com>
22045 * sysdeps/x86/fpu/powl_helper.c: New file.
22046 * sysdeps/x86/fpu/Makefile: Likewise.
22047 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22049 (__ieee754_powl): Use __powl_helper for finite arguments except
22050 integer exponents below 8.
22051 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22053 (__ieee754_powl): Use __powl_helper for finite arguments except
22054 integer exponents below 8.
22055 * math/libm-test.inc (pow_test): Add more tests and enable some
22056 previously disabled tests.
22057 * sysdeps/i386/fpu/libm-test-ulps: Update.
22058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22060 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22061 Carlos O'Donell <carlos_odonell@mentor.com>
22063 * nss/makedb.c (is_prime): Assert that input is odd and greater
22064 than 4. Note that fact in a comment too.
22065 (next_prime): Add 4 to input.
22067 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22070 * libio/Makefile (tests): Add test case tst-fwrite-error.
22071 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22072 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22073 * libio/tst-fwrite-error.c: New test case.
22075 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22077 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22078 before casting to void *.
22079 * include/libc-internal.h (__pointer_type): New macro.
22080 (__integer_if_pointer_type_sub): Likewise.
22081 (__integer_if_pointer_type): Likewise.
22082 (cast_to_integer): Likewise.
22083 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22084 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22085 before casting to atomic64_t.
22086 (atomic_exchange_acq): Likewise.
22087 (__arch_exchange_and_add_body): Likewise.
22088 (__arch_add_body): Likewise.
22089 (atomic_add_negative): Likewise.
22090 (atomic_add_zero): Likewise.
22092 2012-11-26 Joseph Myers <joseph@codesourcery.com>
22094 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22095 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22096 (add_fdes): Likewise.
22097 (linear_search_fdes): Likewise.
22098 (binary_search_unencoded_fdes): Likewise.
22100 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22102 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22104 2012-11-24 Adam Conrad <adconrad@0c3.net>
22106 * configure.in: Autodetect C++ header directories.
22107 * configure: Regenerated.
22109 2012-11-23 Mike Frysinger <vapier@gentoo.org>
22111 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22113 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22117 2012-11-22 Joseph Myers <joseph@codesourcery.com>
22119 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22120 LDBL_MANT_DIG == 106]: Disable some tests.
22121 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22123 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22127 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22128 input for small inputs. Return +/- pi/2 for large inputs.
22129 * math/libm-test.inc (atan_test): Add more tests.
22131 * sysdeps/generic/unwind-dw2-fde-glibc.c
22132 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22133 __attribute__ ((unused)).
22136 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22137 x * y if x and y are nonzero and z is zero.
22140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22141 nonzero exponents with absolute value below 0x1p-117 to +/-
22145 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22146 up arguments below 2**-450, not just those below 2**-500.
22147 * math/libm-test.inc (hypot_test): Add another test.
22150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22151 Return a+b for ratio over 2**120, not 2**60.
22152 * math/libm-test.inc (hypot_test): Add another test.
22154 * math/libm-test.inc (clog_test): Use
22155 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22156 (clog10_test): Likewise.
22159 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22161 2012-11-22 Andreas Schwab <schwab@suse.de>
22163 * sysdeps/i386/fpu/libm-test-ulps: Update.
22165 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22167 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22168 printf output with newline.
22170 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22173 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22174 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22175 -z nodlopen, -z initfirst and -z execstack support.
22176 * configure: Regenerated.
22178 * elf/elf.h (DF_1_NODIRECT): New macro.
22179 (DF_1_IGNMULDEF): Likewise.
22180 (DF_1_NOKSYMS): Likewise.
22181 (DF_1_NOHDR): Likewise.
22182 (DF_1_EDITED): Likewise.
22183 (DF_1_NORELOC): Likewise.
22184 (DF_1_SYMINTPOSE): Likewise.
22185 (DF_1_GLOBAUDIT): Likewise.
22186 (DF_1_SINGLETON): Likewise.
22187 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22188 DT_1_SUPPORTED_MASK bits.
22189 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22191 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22193 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22195 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22197 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22200 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22201 (sendmmsg): Move declarations...
22202 * socket/sys/socket.h: ... here.
22203 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22204 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22206 * socket/recvmmsg.c: ... this new file.
22207 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22208 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22209 definition of __sendmmsg hidden.
22210 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22211 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22212 Move ENOSYS stub into and include it from...
22213 * socket/sendmmsg.c: ... this new file.
22214 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22215 (sysdep_routines): Move recvmmsg and sendmmsg...
22216 * socket/Makefile (routines): ... here.
22217 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22218 (GLIBC_PRIVATE): Add __sendmmsg.
22219 * include/sys/socket.h (__sendmmsg): Add declarations.
22220 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22223 2012-11-20 Joseph Myers <joseph@codesourcery.com>
22225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22226 variable I1 with __attribute__ ((unused)).
22227 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22229 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22231 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22232 DUMMY variables with __attribute__ ((unused)).
22234 * bits/byteswap.h: Include <bits/types.h>.
22235 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22237 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22239 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22240 string_t. Do not manually set errno.
22241 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22242 length with __strnlen. Make sure to both set errno and return it on
22245 2012-11-19 David S. Miller <davem@davemloft.net>
22247 With help from Joseph Myers.
22248 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22249 very large arguments properly.
22250 * math/libm-test.inc (atan_test): New tests.
22251 (atan2_test): New tests.
22252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22255 2012-11-19 Joseph Myers <joseph@codesourcery.com>
22258 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22261 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22262 [POSIX] (EADDRNOTAVAIL): Likewise.
22263 [POSIX] (EAFNOSUPPORT): Likewise.
22264 [POSIX] (EALREADY): Likewise.
22265 [POSIX] (ECONNABORTED): Likewise.
22266 [POSIX] (ECONNREFUSED): Likewise.
22267 [POSIX] (ECONNRESET): Likewise.
22268 [POSIX] (EDESTADDRREQ): Likewise.
22269 [POSIX] (EDQUOT): Likewise.
22270 [POSIX] (EHOSTUNREACH): Likewise.
22271 [POSIX] (EIDRM): Likewise.
22272 [POSIX] (EISCONN): Likewise.
22273 [POSIX] (ELOOP): Likewise.
22274 [POSIX] (EMULTIHOP): Likewise.
22275 [POSIX] (ENETDOWN): Likewise.
22276 [POSIX] (ENETUNREACH): Likewise.
22277 [POSIX] (ENOBUFS): Likewise.
22278 [POSIX] (ENODATA): Likewise.
22279 [POSIX] (ENOLINK): Likewise.
22280 [POSIX] (ENOMSG): Likewise.
22281 [POSIX] (ENOPROTOOPT): Likewise.
22282 [POSIX] (ENOSR): Likewise.
22283 [POSIX] (ENOSTR): Likewise.
22284 [POSIX] (ENOTCONN): Likewise.
22285 [POSIX] (ENOTSOCK): Likewise.
22286 [POSIX] (EOPNOTSUPP): Likewise.
22287 [POSIX] (EOVERFLOW): Likewise.
22288 [POSIX] (EPROTO): Likewise.
22289 [POSIX] (EPROTONOSUPPORT): Likewise.
22290 [POSIX] (EPROTOTYPE): Likewise.
22291 [POSIX] (ESTALE): Likewise.
22292 [POSIX] (ETIME): Likewise.
22293 [POSIX] (ETXTBSY): Likewise.
22294 [POSIX] (EWOULDBLOCK): Likewise.
22295 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22296 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22297 [POSIX] (SEEK_CUR): Likewise.
22298 [POSIX] (SEEK_END): Likewise.
22299 [POSIX || UNIX98] (mode_t): Do not require.
22300 [POSIX] (off_t): Likewise.
22301 [POSIX] (pid_t): Likewise.
22302 [POSIX] (sys/stat.h): Do not allow header.
22303 [POSIX] (unistd.h): Likewise.
22304 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22305 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22306 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22307 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22309 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22310 sigevent): Specify elements.
22311 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22313 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22314 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22316 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22317 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22318 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22319 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22320 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22321 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22322 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22323 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22324 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22325 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22326 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22327 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22328 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22329 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22331 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22333 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22335 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22337 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22338 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22339 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22340 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22341 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22342 Specify lower bound on value.
22343 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22344 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22345 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22346 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22347 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22348 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22349 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22350 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22352 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22354 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22355 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22360 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22361 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22362 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22363 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22367 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22368 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22369 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22371 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22373 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22380 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22385 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22386 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22388 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22392 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22393 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22394 specify as optional.
22395 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22398 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22399 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22400 [XPG3] (NL_LANGMAX): Likewise.
22401 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22402 [POSIX || XPG3] (NL_NMAX): Likewise.
22403 [POSIX || XPG3] (NL_SETMAX): Likewise.
22404 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22405 [XPG3] (NZERO): Likewise.
22406 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22407 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22408 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22409 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22410 (REG_ERANGE): Expect.
22411 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22413 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22414 Use (void) in prototype.
22415 [POSIX] (*_t): Allow.
22416 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22417 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22418 (WRDE_BADVAL): Expect.
22420 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22422 [XPG3 || XPG4] (O_RSYNC): Likewise.
22423 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22425 [XPG3 || XPG4] (pthread_sigmask): Likewise.
22426 [XPG3 || XPG4] (sigqueue): Likewise.
22427 [XPG3 || XPG4] (sigtimedwait): Likewise.
22428 [XPG3 || XPG4] (sigwaitinfo): Likewise.
22429 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22430 [XPG3 || XPG4] (vsnprintf): Likewise.
22431 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22433 [XPG3 || XPG4] (blksize_t): Likewise.
22434 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22436 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22437 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22438 [XPG3 || XPG4] (struct itimerspec): Likewise.
22439 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22440 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22441 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22442 [XPG3 || XPG4] (clockid_t): Likewise.
22443 [XPG3 || XPG4] (timer_t): Likewise.
22444 [XPG3 || XPG4] (clock_getres): Likewise.
22445 [XPG3 || XPG4] (clock_gettime): Likewise.
22446 [XPG3 || XPG4] (clock_settime): Likewise.
22447 [XPG3 || XPG4] (nanosleep): Likewise.
22448 [XPG3 || XPG4] (timer_create): Likewise.
22449 [XPG3 || XPG4] (timer_delete): Likewise.
22450 [XPG3 || XPG4] (timer_gettime): Likewise.
22451 [XPG3 || XPG4] (timer_getoverrun): Likewise.
22452 [XPG3 || XPG4] (timer_settime): Likewise.
22453 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22454 [XPG3 || XPG4] (getlogin_r): Likewise.
22455 [XPG3 || XPG4] (pread): Likewise.
22456 [XPG3 || XPG4] (pthread_atfork): Likewise.
22457 [XPG3 || XPG4] (pwrite): Likewise.
22460 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22463 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22465 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22466 finalizing MALLSTREAM.
22468 * sysdeps/mach/hurd/syncfs.c: New file.
22470 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22473 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22474 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22475 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22476 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22477 (_nss_dns_gethostbyname4_r): Likewise.
22478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22479 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22481 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22484 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22486 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22488 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22489 * elf/cache.c (print_entry): Print ",AArch64" for
22492 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22493 * elf/cache.c (print_entry): Print ",hard-float" for
22496 2012-11-18 David S. Miller <davem@davemloft.net>
22498 With help from Joseph Myers.
22499 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22501 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22503 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22504 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22506 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22507 * math/libm-test.inc (y0_test): New tests.
22508 (y1_test): New tests.
22509 * sysdeps/i386/fpu/libm-test-ulps: Update.
22510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22513 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22515 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22517 * configure: Regenerated.
22519 2012-11-17 David S. Miller <davem@davemloft.net>
22522 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22523 nonzero exponents with absolute value below 0x1p-128 to +/-
22526 2012-11-17 Joseph Myers <joseph@codesourcery.com>
22528 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22530 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22532 * posix/getconf-speclist.c: New file.
22533 * posix/posix-envs.def: Likewise.
22534 * posix/confstr.c (START_ENV_GROUP): New macro.
22535 (END_ENV_GROUP): Likewise.
22536 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22537 (KNOWN_PRESENT_ENV_STRING): Likewise.
22538 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22539 (UNKNOWN_ENVIRONMENT): Likewise.
22540 (confstr): Include posix-envs.def instead of handling
22541 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22542 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22543 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22544 (END_ENV_GROUP): Likewise.
22545 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22546 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22547 (UNKNOWN_ENVIRONMENT): Likewise.
22548 (__sysconf): Include posix-envs.def instead of handling associated
22549 cases directly here.
22550 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22551 preprocessing getconf-speclist.c rather than running getconf or
22552 generating empty file.
22554 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22556 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22558 2012-11-16 Andrej Lajovic <natrij@gmail.com>
22561 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22563 2012-11-16 David S. Miller <davem@davemloft.net>
22565 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22566 smaller than LDBL_EPSILON/2.0L, just return xm1.
22568 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22570 * elf/tst-array1.c (init): Set constructor priority to 1000.
22571 (fini): Set destructor priority to 1000.
22572 * elf/tst-array2dep.c: Likewise.
22574 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22577 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22578 (_IO_new_file_xsputn): Also return EOF if none of the input
22579 data was written when overflow failed.
22580 * libio/iopadn.c (_IO_padn): Likewise.
22581 * libio/iowpadn.c (_IO_wpadn): Likewise.
22582 * stdio-common/tst-put-error.c: Add copyright notice.
22583 (do_test): Add case for printing padded string.
22584 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22585 _IO_padn returned error.
22586 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22587 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22590 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22592 * libio/libioP.h: Add comment note that the references to C++
22593 bits are now obsolete.
22595 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22597 * math/libm-test.inc (check_complex): Use asprintf.
22599 2012-11-14 Joseph Myers <joseph@codesourcery.com>
22601 * debug/pcprofiledump.c (print_version): Update copyright year.
22602 * malloc/memusagestat.c (print_version): Likewise.
22604 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22607 * elf/Makefile (tests): Add tst-audit8.
22608 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22609 ($(objpfx)tst-audit8.out): New target.
22610 (tst-audit8-ENV): New variable.
22611 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22612 audit if l_reloc_result is NULL.
22613 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22614 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22615 * elf/tst-audit8.c: New file.
22617 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22619 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22620 * misc/Makefile (CFLAGS-select.c): Define.
22621 * posix/Makefile (CFLAGS-pause.c): Define.
22623 2012-11-13 David S. Miller <davem@davemloft.net>
22625 * crypt/Makefile: Move test targets after toplevel Rules
22626 inclusion. Grab any necessary sysdep routines when linking.
22627 * crypt/md5.c (md5_process_block): Remove define, we will always
22628 name it __md5_process_block.
22629 (md5_finish_ctx): Update md5_process_block call.
22630 (md5_stream): Likewise.
22631 (md5_process_bytes): Likewise.
22632 (md5_process_block): Rename to __md5_process_block and move to ...
22633 * crypt/md5-block.c: ... here.
22634 * crypt/sha256.c (sha256_process_block): Move to ...
22635 * crypt/sha256-block.c: ... here.
22636 * crypt/sha512.c (sha512_process_block): Move to ...
22637 * crypt/sha512-block.c: ... here.
22638 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22640 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22641 * sysdeps/sparc/sparc64/multiarch/Makefile
22642 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22644 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22645 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22647 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22648 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22649 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22650 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22651 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22652 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22653 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22654 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22655 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22657 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22658 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22660 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22662 2012-11-13 Joseph Myers <joseph@codesourcery.com>
22664 * timezone/tzselect.ksh: Update from tzcode git revision
22665 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22666 * timezone/zdump.c: Likewise.
22667 * timezone/zic.c: Likewise.
22668 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22669 in TZVERSION setting, not $(PKGVERSION).
22670 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22671 REPORT_BUGS_TO settings.
22674 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22677 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22679 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22680 detection to immediately after _FP_ROUND().
22681 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22684 2012-11-11 David S. Miller <davem@davemloft.net>
22686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22688 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22689 __close rather than their public counterparts.
22691 2012-11-10 Joseph Myers <joseph@codesourcery.com>
22693 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22695 [UNIX98] (sem_timedwait): Do not expect.
22696 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22697 [XPG4 || UNIX98] (sockatmark): Do not expect.
22698 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22699 (clock_getcpuclockid): Do not expect.
22700 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22701 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22703 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22704 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22705 [UNIX98] (vwscanf): Likewise.
22706 [UNIX98] (vswscanf): Likewise.
22708 2012-11-09 Joseph Myers <joseph@codesourcery.com>
22710 * timezone/version.h: Remove file.
22711 * timezone/README: Do not refer to version.h.
22712 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22713 $(objpfx)version.h.
22714 ($(objpfx)zdump.o): Likewise.
22715 ($(objpfx)version.h): New target.
22717 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22719 * timezone/README: Don't mention modification to tzselect.ksh.
22720 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22721 work on unmodified tzselect.ksh. Substitute version numbers in
22724 * Makefile (format-me): Remove.
22725 (INSTALL): Adjust indentation. Use commands directly instead of
22726 using $(format-me).
22728 * aclocal.m4 (ACX_PKGVERSION): New macro.
22729 (ACX_BUGURL): Likewise.
22730 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22731 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22732 (REPORT_BUGS_TO): Likewise.
22733 * configure: Regenerated.
22734 * config.h.in (PKGVERSION): New macro.
22735 (REPORT_BUGS_TO): Likewise.
22736 * config.make.in (PKGVERSION): New variable.
22737 (PKGVERSION_TEXI): Likewise.
22738 (REPORT_BUGS_TO): Likewise.
22739 (REPORT_BUGS_TEXI): Likewise.
22740 * Makefile (format-me): Use -I$(common-objpfx)manual.
22741 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22742 ($(common-objpfx)manual/%): New target.
22743 (manual/%): Remove target.
22744 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22745 (print_version): Use PKGVERSION.
22746 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22747 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22748 and REPORT_BUGS_TO.
22749 ($(objpfx)xtrace): Likewise.
22750 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22751 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22752 (print_version): Use PKGVERSION.
22753 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22754 (do_version): Use PKGVERSION.
22755 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22757 (common-ldd-rewrite): Likewise.
22758 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22759 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22760 (print_version): Use PKGVERSION.
22761 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22762 * elf/pldd.c (argp_program_bug_address): Remove variable.
22763 (more_help): New function.
22764 (argp): Use more_help.
22765 (print_version): Use PKGVERSION.
22766 * elf/sln.c (main): Use PKGVERSION.
22767 (usage): Use REPORT_BUGS_TO.
22768 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22769 (top level): Use PKGVERSION.
22770 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22771 (print_version): Use PKGVERSION.
22772 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22773 (print_version): Use PKGVERSION.
22774 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22775 (print_version): Use PKGVERSION.
22776 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22777 (print_version): Use PKGVERSION.
22778 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22779 (print_version): Use PKGVERSION.
22780 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22781 (print_version): Use PKGVERSION.
22782 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22784 ($(objpfx)memusage): Likewise.
22785 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22786 (do_version): Use PKGVERSION.
22787 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22788 (print_version): Use PKGVERSION.
22789 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22790 ($PKGVERSION): New variable.
22791 ($REPORT_BUGS_TO): Likewise.
22792 (usage): Use $REPORT_BUGS_TO.
22793 (top level): Use $PKGVERSION.
22794 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22795 ($(objpfx)pkgvers.texi): New rule.
22796 ($(objpfx)stamp-pkgvers): Likewise.
22797 * manual/install.texi: Include pkgvers.texi.
22798 (--with-pkgversion): Document new configure option.
22799 (--with-bugurl): Likewise.
22800 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22801 than necessarily for this particular distribution. Use
22802 REPORT_BUGS_TO for where to report bugs.
22803 * INSTALL: Regenerated.
22804 * manual/libc.texinfo: Include pkgvers.texi.
22805 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22806 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22807 (print_version): Use PKGVERSION.
22808 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22809 (print_version): Use PKGVERSION.
22810 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22811 (print_version): Use PKGVERSION.
22812 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22813 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22815 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22816 (print_version): Use PKGVERSION.
22817 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22818 (print_version): Use PKGVERSION.
22819 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22822 * timezone/checktab.awk: Update from tzcode 2012i.
22823 * timezone/ialloc.c: Likewise.
22824 * timezone/private.h: Likewise.
22825 * timezone/scheck.c: Likewise.
22826 * timezone/tzfile.h: Likewise.
22827 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22828 (TZVERSION): Hardcode tzcode version number.
22829 * timezone/zdump.c: Update from tzcode 2012i.
22830 * timezone/zic.c: Likewise.
22831 * timezone/version.h: New file.
22832 * timezone/README: Describe version.h. Update upstream location.
22835 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22836 (mktemp): Enable declaration.
22837 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22839 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22846 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22854 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22855 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22856 for copies of such integer values.
22857 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22858 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22860 2012-11-09 Andreas Jaeger <aj@suse.de>
22862 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22863 definitions and declarations that are provided by
22864 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22866 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22868 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22869 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22870 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22873 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22875 * elf/elf.h: Update comment before AArch64 relocations.
22877 2012-11-07 David S. Miller <davem@davemloft.net>
22879 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22880 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22881 (__start_context): Declare.
22882 (__makecontext_ret): Delete.
22883 (__makecontext): Hook up __start_context instead of
22885 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22886 (sysdep_routines): Add __start_context when in stdlib.
22888 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22890 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22891 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22892 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22894 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22895 (READELF): New variable. Use it instead of hardcoded "readelf".
22897 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22899 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22900 * sysdeps/x86/Makefile: Here.
22901 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22902 * sysdeps/x86/tst-xmmymm.sh: This.
22904 2012-11-07 Joseph Myers <joseph@codesourcery.com>
22906 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22908 [UNIX98] (pthread_barrier_t): Do not expect.
22909 [UNIX98] (pthread_barrierattr_t): Likewise.
22910 [UNIX98] (pthread_spinlock_t): Likewise.
22911 [UNIX98] (pthread_barrier_destroy): Likewise.
22912 [UNIX98] (pthread_barrier_init): Likewise.
22913 [UNIX98] (pthread_barrier_wait): Likewise.
22914 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22915 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22916 [UNIX98] (pthread_barrierattr_init): Likewise.
22917 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22918 [UNIX98] (pthread_getcpuclockid): Likewise.
22919 [UNIX98] (pthread_mutex_timedlock): Likewise.
22920 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22921 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22922 [UNIX98] (pthread_sigmask): Likewise.
22923 [UNIX98] (pthread_spin_destroy): Likewise.
22924 [UNIX98] (pthread_spin_init): Likewise.
22925 [UNIX98] (pthread_spin_lock): Likewise.
22926 [UNIX98] (pthread_spin_trylock): Likewise.
22927 [UNIX98] (pthread_spin_unlock): Likewise.
22928 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22930 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22931 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22932 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22933 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22934 [XPG3 || XPG4] (pthread_key_t): Likewise.
22935 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22936 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22937 [XPG3 || XPG4] (pthread_once_t): Likewise.
22938 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22939 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22940 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22941 [XPG3 || XPG4] (pthread_t): Likewise.
22943 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22945 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22947 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22948 Change function return type to int.
22950 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22951 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22952 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22953 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22954 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22955 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22956 [!POSIX] (posix_madvise): Likewise.
22957 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22959 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22960 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22961 (mode_t): Likewise.
22962 (posix_mem_offset): Likewise.
22963 (posix_typed_mem_get_info): Likewise.
22964 (posix_typed_mem_open): Likewise.
22966 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22967 Change condition to [XOPEN2K8].
22969 * conform/conformtest.pl: Preprocess allow-header data with -x c
22970 instead of from stdin.
22971 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22972 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22973 [C99-based standards] (cerfc): Likewise.
22974 [C99-based standards] (cexp2): Likewise.
22975 [C99-based standards] (cexpm1): Likewise.
22976 [C99-based standards] (clog10): Likewise.
22977 [C99-based standards] (clog1p): Likewise.
22978 [C99-based standards] (clog2): Likewise.
22979 [C99-based standards] (clgamma): Likewise.
22980 [C99-based standards] (ctgamma): Likewise.
22981 [C99-based standards] (cerff): Likewise.
22982 [C99-based standards] (cerfcf): Likewise.
22983 [C99-based standards] (cexp2f): Likewise.
22984 [C99-based standards] (cexpm1f): Likewise.
22985 [C99-based standards] (clog10f): Likewise.
22986 [C99-based standards] (clog1pf): Likewise.
22987 [C99-based standards] (clog2f): Likewise.
22988 [C99-based standards] (clgammaf): Likewise.
22989 [C99-based standards] (ctgammaf): Likewise.
22990 [C99-based standards] (cerfl): Likewise.
22991 [C99-based standards] (cerfcl): Likewise.
22992 [C99-based standards] (cexp2l): Likewise.
22993 [C99-based standards] (cexpm1l): Likewise.
22994 [C99-based standards] (clog10l): Likewise.
22995 [C99-based standards] (clog1pl): Likewise.
22996 [C99-based standards] (clog2l): Likewise.
22997 [C99-based standards] (clgammal): Likewise.
22998 [C99-based standards] (ctgammal): Likewise.
22999 * conform/data/inttypes.h-data [C99-based standards]: Include
23000 stdint.h-data. Remove all expectations for stdint.h contents.
23001 [C99-based standards] (PRI*): Do not allow.
23002 [C99-based standards] (SCN*): Likewise.
23003 [C99-based standards] (*_t): Likewise.
23004 [C99-based-standards] (PRId8): Expect macro.
23005 [C99-based-standards] (PRIi8): Likewise.
23006 [C99-based-standards] (PRIo8): Likewise.
23007 [C99-based-standards] (PRIu8): Likewise.
23008 [C99-based-standards] (PRIx8): Likewise.
23009 [C99-based-standards] (PRIX8): Likewise.
23010 [C99-based-standards] (SCNd8): Likewise.
23011 [C99-based-standards] (SCNi8): Likewise.
23012 [C99-based-standards] (SCNo8): Likewise.
23013 [C99-based-standards] (SCNu8): Likewise.
23014 [C99-based-standards] (SCNx8): Likewise.
23015 [C99-based-standards] (PRIdLEAST8): Likewise.
23016 [C99-based-standards] (PRIiLEAST8): Likewise.
23017 [C99-based-standards] (PRIoLEAST8): Likewise.
23018 [C99-based-standards] (PRIuLEAST8): Likewise.
23019 [C99-based-standards] (PRIxLEAST8): Likewise.
23020 [C99-based-standards] (PRIXLEAST8): Likewise.
23021 [C99-based-standards] (SCNdLEAST8): Likewise.
23022 [C99-based-standards] (SCNiLEAST8): Likewise.
23023 [C99-based-standards] (SCNoLEAST8): Likewise.
23024 [C99-based-standards] (SCNuLEAST8): Likewise.
23025 [C99-based-standards] (SCNxLEAST8): Likewise.
23026 [C99-based-standards] (PRIdFAST8): Likewise.
23027 [C99-based-standards] (PRIiFAST8): Likewise.
23028 [C99-based-standards] (PRIoFAST8): Likewise.
23029 [C99-based-standards] (PRIuFAST8): Likewise.
23030 [C99-based-standards] (PRIxFAST8): Likewise.
23031 [C99-based-standards] (PRIXFAST8): Likewise.
23032 [C99-based-standards] (SCNdFAST8): Likewise.
23033 [C99-based-standards] (SCNiFAST8): Likewise.
23034 [C99-based-standards] (SCNoFAST8): Likewise.
23035 [C99-based-standards] (SCNuFAST8): Likewise.
23036 [C99-based-standards] (SCNxFAST8): Likewise.
23037 [C99-based-standards] (PRId16): Likewise.
23038 [C99-based-standards] (PRIi16): Likewise.
23039 [C99-based-standards] (PRIo16): Likewise.
23040 [C99-based-standards] (PRIu16): Likewise.
23041 [C99-based-standards] (PRIx16): Likewise.
23042 [C99-based-standards] (PRIX16): Likewise.
23043 [C99-based-standards] (SCNd16): Likewise.
23044 [C99-based-standards] (SCNi16): Likewise.
23045 [C99-based-standards] (SCNo16): Likewise.
23046 [C99-based-standards] (SCNu16): Likewise.
23047 [C99-based-standards] (SCNx16): Likewise.
23048 [C99-based-standards] (PRIdLEAST16): Likewise.
23049 [C99-based-standards] (PRIiLEAST16): Likewise.
23050 [C99-based-standards] (PRIoLEAST16): Likewise.
23051 [C99-based-standards] (PRIuLEAST16): Likewise.
23052 [C99-based-standards] (PRIxLEAST16): Likewise.
23053 [C99-based-standards] (PRIXLEAST16): Likewise.
23054 [C99-based-standards] (SCNdLEAST16): Likewise.
23055 [C99-based-standards] (SCNiLEAST16): Likewise.
23056 [C99-based-standards] (SCNoLEAST16): Likewise.
23057 [C99-based-standards] (SCNuLEAST16): Likewise.
23058 [C99-based-standards] (SCNxLEAST16): Likewise.
23059 [C99-based-standards] (PRIdFAST16): Likewise.
23060 [C99-based-standards] (PRIiFAST16): Likewise.
23061 [C99-based-standards] (PRIoFAST16): Likewise.
23062 [C99-based-standards] (PRIuFAST16): Likewise.
23063 [C99-based-standards] (PRIxFAST16): Likewise.
23064 [C99-based-standards] (PRIXFAST16): Likewise.
23065 [C99-based-standards] (SCNdFAST16): Likewise.
23066 [C99-based-standards] (SCNiFAST16): Likewise.
23067 [C99-based-standards] (SCNoFAST16): Likewise.
23068 [C99-based-standards] (SCNuFAST16): Likewise.
23069 [C99-based-standards] (SCNxFAST16): Likewise.
23070 [C99-based-standards] (PRId32): Likewise.
23071 [C99-based-standards] (PRIi32): Likewise.
23072 [C99-based-standards] (PRIo32): Likewise.
23073 [C99-based-standards] (PRIu32): Likewise.
23074 [C99-based-standards] (PRIx32): Likewise.
23075 [C99-based-standards] (PRIX32): Likewise.
23076 [C99-based-standards] (SCNd32): Likewise.
23077 [C99-based-standards] (SCNi32): Likewise.
23078 [C99-based-standards] (SCNo32): Likewise.
23079 [C99-based-standards] (SCNu32): Likewise.
23080 [C99-based-standards] (SCNx32): Likewise.
23081 [C99-based-standards] (PRIdLEAST32): Likewise.
23082 [C99-based-standards] (PRIiLEAST32): Likewise.
23083 [C99-based-standards] (PRIoLEAST32): Likewise.
23084 [C99-based-standards] (PRIuLEAST32): Likewise.
23085 [C99-based-standards] (PRIxLEAST32): Likewise.
23086 [C99-based-standards] (PRIXLEAST32): Likewise.
23087 [C99-based-standards] (SCNdLEAST32): Likewise.
23088 [C99-based-standards] (SCNiLEAST32): Likewise.
23089 [C99-based-standards] (SCNoLEAST32): Likewise.
23090 [C99-based-standards] (SCNuLEAST32): Likewise.
23091 [C99-based-standards] (SCNxLEAST32): Likewise.
23092 [C99-based-standards] (PRIdFAST32): Likewise.
23093 [C99-based-standards] (PRIiFAST32): Likewise.
23094 [C99-based-standards] (PRIoFAST32): Likewise.
23095 [C99-based-standards] (PRIuFAST32): Likewise.
23096 [C99-based-standards] (PRIxFAST32): Likewise.
23097 [C99-based-standards] (PRIXFAST32): Likewise.
23098 [C99-based-standards] (SCNdFAST32): Likewise.
23099 [C99-based-standards] (SCNiFAST32): Likewise.
23100 [C99-based-standards] (SCNoFAST32): Likewise.
23101 [C99-based-standards] (SCNuFAST32): Likewise.
23102 [C99-based-standards] (SCNxFAST32): Likewise.
23103 [C99-based-standards] (PRId64): Likewise.
23104 [C99-based-standards] (PRIi64): Likewise.
23105 [C99-based-standards] (PRIo64): Likewise.
23106 [C99-based-standards] (PRIu64): Likewise.
23107 [C99-based-standards] (PRIx64): Likewise.
23108 [C99-based-standards] (PRIX64): Likewise.
23109 [C99-based-standards] (SCNd64): Likewise.
23110 [C99-based-standards] (SCNi64): Likewise.
23111 [C99-based-standards] (SCNo64): Likewise.
23112 [C99-based-standards] (SCNu64): Likewise.
23113 [C99-based-standards] (SCNx64): Likewise.
23114 [C99-based-standards] (PRIdLEAST64): Likewise.
23115 [C99-based-standards] (PRIiLEAST64): Likewise.
23116 [C99-based-standards] (PRIoLEAST64): Likewise.
23117 [C99-based-standards] (PRIuLEAST64): Likewise.
23118 [C99-based-standards] (PRIxLEAST64): Likewise.
23119 [C99-based-standards] (PRIXLEAST64): Likewise.
23120 [C99-based-standards] (SCNdLEAST64): Likewise.
23121 [C99-based-standards] (SCNiLEAST64): Likewise.
23122 [C99-based-standards] (SCNoLEAST64): Likewise.
23123 [C99-based-standards] (SCNuLEAST64): Likewise.
23124 [C99-based-standards] (SCNxLEAST64): Likewise.
23125 [C99-based-standards] (PRIdFAST64): Likewise.
23126 [C99-based-standards] (PRIiFAST64): Likewise.
23127 [C99-based-standards] (PRIoFAST64): Likewise.
23128 [C99-based-standards] (PRIuFAST64): Likewise.
23129 [C99-based-standards] (PRIxFAST64): Likewise.
23130 [C99-based-standards] (PRIXFAST64): Likewise.
23131 [C99-based-standards] (SCNdFAST64): Likewise.
23132 [C99-based-standards] (SCNiFAST64): Likewise.
23133 [C99-based-standards] (SCNoFAST64): Likewise.
23134 [C99-based-standards] (SCNuFAST64): Likewise.
23135 [C99-based-standards] (SCNxFAST64): Likewise.
23136 [C99-based-standards] (PRIdMAX): Likewise.
23137 [C99-based-standards] (PRIiMAX): Likewise.
23138 [C99-based-standards] (PRIoMAX): Likewise.
23139 [C99-based-standards] (PRIuMAX): Likewise.
23140 [C99-based-standards] (PRIxMAX): Likewise.
23141 [C99-based-standards] (PRIXMAX): Likewise.
23142 [C99-based-standards] (SCNdMAX): Likewise.
23143 [C99-based-standards] (SCNiMAX): Likewise.
23144 [C99-based-standards] (SCNoMAX): Likewise.
23145 [C99-based-standards] (SCNuMAX): Likewise.
23146 [C99-based-standards] (SCNxMAX): Likewise.
23147 [C99-based-standards] (PRIdPTR): Likewise.
23148 [C99-based-standards] (PRIiPTR): Likewise.
23149 [C99-based-standards] (PRIoPTR): Likewise.
23150 [C99-based-standards] (PRIuPTR): Likewise.
23151 [C99-based-standards] (PRIxPTR): Likewise.
23152 [C99-based-standards] (PRIXPTR): Likewise.
23153 [C99-based-standards] (SCNdPTR): Likewise.
23154 [C99-based-standards] (SCNiPTR): Likewise.
23155 [C99-based-standards] (SCNoPTR): Likewise.
23156 [C99-based-standards] (SCNuPTR): Likewise.
23157 [C99-based-standards] (SCNxPTR): Likewise.
23158 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23160 * conform/data/stdint.h-data: Update comments to clarify
23162 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23164 [C99-based standards] (INT8_MAX): Likewise.
23165 [C99-based standards] (INT16_MIN): Likewise.
23166 [C99-based standards] (INT16_MAX): Likewise.
23167 [C99-based standards] (INT32_MIN): Likewise.
23168 [C99-based standards] (INT32_MAX): Likewise.
23169 [C99-based standards] (INT64_MIN): Likewise.
23170 [C99-based standards] (INT64_MAX): Likewise.
23171 [C99-based standards] (UINT8_MAX): Likewise.
23172 [C99-based standards] (UINT16_MAX): Likewise.
23173 [C99-based standards] (UINT32_MAX): Likewise.
23174 [C99-based standards] (UINT64_MAX): Likewise.
23175 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23176 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23177 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23178 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23179 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23180 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23181 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23182 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23183 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23184 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23185 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23186 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23187 [C99-based standards] (INT_FAST8_MIN): Likewise.
23188 [C99-based standards] (INT_FAST8_MAX): Likewise.
23189 [C99-based standards] (INT_FAST16_MIN): Likewise.
23190 [C99-based standards] (INT_FAST16_MAX): Likewise.
23191 [C99-based standards] (INT_FAST32_MIN): Likewise.
23192 [C99-based standards] (INT_FAST32_MAX): Likewise.
23193 [C99-based standards] (INT_FAST64_MIN): Likewise.
23194 [C99-based standards] (INT_FAST64_MAX): Likewise.
23195 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23196 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23197 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23198 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23199 [C99-based standards] (INTPTR_MIN): Likewise.
23200 [C99-based standards] (INTPTR_MAX): Likewise.
23201 [C99-based standards] (UINTPTR_MAX): Likewise.
23202 [C99-based standards] (INTMAX_MIN): Likewise.
23203 [C99-based standards] (INTMAX_MAX): Likewise.
23204 [C99-based standards] (UINTMAX_MAX): Likewise.
23205 [C99-based standards] (PTRDIFF_MIN): Likewise.
23206 [C99-based standards] (PTRDIFF_MAX): Likewise.
23207 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23208 [C99-based standards] (SIZE_MAX): Likewise.
23209 [C99-based standards] (WCHAR_MAX): Likewise.
23210 [C99-based standards] (WINT_MAX): Likewise.
23211 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23212 constraint on value.
23213 [C99-based standards] (WCHAR_MIN): Likewise.
23214 [C99-based standards] (WINT_MIN): Likewise.
23215 [C99-based standards] (*_t): Allow.
23216 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23217 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23218 Include math.h-data and complex.h-data. Remove all expectations
23219 of math.h and complex.h contents.
23220 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23222 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23223 (struct tm): Expect tag.
23224 [C99-based-standards] (wcstof): Expect function.
23225 [C99-based-standards] (wcstold): Likewise.
23226 [C99-based-standards] (wcstoll): Likewise.
23227 [C99-based-standards] (wcstoull): Likewise.
23228 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23229 macro-int-constant. Specify type.
23230 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23231 constraint on value.
23232 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23234 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23236 [ISO C standards]: Do not allow headers.
23237 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23238 wcs[abcdefghijklmnopqrstuvwxyz]*.
23239 [ISO C standards] (*_t): Do not allow.
23240 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23242 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23243 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23245 [ISO C standards]: Do not allow headers.
23246 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23247 is[abcdefghijklmnopqrstuvwxyz]*.
23248 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23249 to[abcdefghijklmnopqrstuvwxyz]*.
23250 [ISO C standards] (*_t): Do not allow.
23251 * conform/data/stdalign.h-data: New file.
23252 * conform/data/stdbool.h-data: Likewise.
23253 * conform/data/stdnoreturn.h-data: Likewise.
23255 2012-11-07 Roland McGrath <roland@hack.frob.com>
23258 * manual/filesys.texi (Directory Entries): Typo fix.
23259 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23261 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23263 * elf/elf.h (EM_AARCH64): New macro.
23264 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23265 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23266 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23267 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23268 (R_AARCH64_TLSDESC): Likewise.
23269 (NT_ARM_TLS): Likewise.
23270 (NT_ARM_HW_BREAK): Likewise.
23271 (NT_ARM_HW_WATCH): Likewise.
23273 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23276 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23277 (__ieee754_powl): Saturate nonzero exponents with absolute value
23278 below 0x1p-79 to +/- 0x1p-79.
23279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23280 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23281 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23282 nonzero exponents with absolute value below 0x1p-32 to +/-
23284 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23285 (__ieee754_powl): Saturate nonzero exponents with absolute value
23286 below 0x1p-79 to +/- 0x1p-79.
23287 * math/libm-test.inc (pow_test): Add more tests.
23289 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23291 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23292 _dl_s390_cap_flags with kernel. Increase string length.
23293 (_dl_s390_platforms): Add z196 and zEC12.
23295 2012-11-07 Joseph Myers <joseph@codesourcery.com>
23297 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23298 Change XOPEN21K to XOPEN2K.
23300 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23302 * string/memmove.c: Use memcpy when possible.
23304 2012-11-06 Andreas Jaeger <aj@suse.de>
23306 * po/eo.po: Update from translation team.
23308 2012-11-06 Joseph Myers <joseph@codesourcery.com>
23311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23312 exponent and small x and y exponents, scale x or y up. Increase
23313 by 2 the exponent used in scaling up.
23314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23316 * math/libm-test.inc (fma_test): Add more tests.
23317 (fma_test_towardzero): Likewise.
23318 (fma_test_downward): Likewise.
23319 (fma_test_upward): Likewise.
23321 2012-11-05 Joseph Myers <joseph@codesourcery.com>
23324 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23328 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23329 namespace for names of struct fields.
23330 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23332 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23333 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23335 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23338 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23340 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23342 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23346 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23349 2012-11-04 Joseph Myers <joseph@codesourcery.com>
23352 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23353 definitely overflow as x * y not x * y + z.
23354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23355 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23356 * math/libm-test.inc (fma_test): Add more tests.
23357 (fma_test_towardzero): Likewise.
23358 (fma_test_downward): Likewise.
23359 (fma_test_upward): Likewise.
23361 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23365 * include/stub-tag.h: Remove file.
23366 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23368 * manual/maint.texi (Porting): Don't reference it.
23369 * Makerules ($(objpfx)stubs): Likewise.
23370 * dirent/closedir.c: Don't include <stub-tag.h>.
23371 * dirent/dirfd.c: Likewise.
23372 * dirent/fdopendir.c: Likewise.
23373 * dirent/getdents.c: Likewise.
23374 * dirent/getdents64.c: Likewise.
23375 * dirent/opendir.c: Likewise.
23376 * dirent/readdir.c: Likewise.
23377 * dirent/readdir64.c: Likewise.
23378 * dirent/readdir64_r.c: Likewise.
23379 * dirent/readdir_r.c: Likewise.
23380 * dirent/rewinddir.c: Likewise.
23381 * dirent/seekdir.c: Likewise.
23382 * dirent/telldir.c: Likewise.
23383 * gmon/profil.c: Likewise.
23384 * grp/setgroups.c: Likewise.
23385 * inet/if_index.c: Likewise.
23386 * io/access.c: Likewise.
23387 * io/chdir.c: Likewise.
23388 * io/chmod.c: Likewise.
23389 * io/chown.c: Likewise.
23390 * io/close.c: Likewise.
23391 * io/dup.c: Likewise.
23392 * io/dup2.c: Likewise.
23393 * io/dup3.c: Likewise.
23394 * io/euidaccess.c: Likewise.
23395 * io/faccessat.c: Likewise.
23396 * io/fchdir.c: Likewise.
23397 * io/fchmod.c: Likewise.
23398 * io/fchmodat.c: Likewise.
23399 * io/fchown.c: Likewise.
23400 * io/fchownat.c: Likewise.
23401 * io/fcntl.c: Likewise.
23402 * io/flock.c: Likewise.
23403 * io/fstatfs.c: Likewise.
23404 * io/fstatfs64.c: Likewise.
23405 * io/fstatvfs.c: Likewise.
23406 * io/fstatvfs64.c: Likewise.
23407 * io/futimens.c: Likewise.
23408 * io/fxstat.c: Likewise.
23409 * io/fxstat64.c: Likewise.
23410 * io/fxstatat.c: Likewise.
23411 * io/fxstatat64.c: Likewise.
23412 * io/getcwd.c: Likewise.
23413 * io/isatty.c: Likewise.
23414 * io/lchmod.c: Likewise.
23415 * io/lchown.c: Likewise.
23416 * io/link.c: Likewise.
23417 * io/linkat.c: Likewise.
23418 * io/lseek.c: Likewise.
23419 * io/lseek64.c: Likewise.
23420 * io/lxstat64.c: Likewise.
23421 * io/mkdir.c: Likewise.
23422 * io/mkdirat.c: Likewise.
23423 * io/mkfifo.c: Likewise.
23424 * io/mkfifoat.c: Likewise.
23425 * io/open.c: Likewise.
23426 * io/open64.c: Likewise.
23427 * io/openat.c: Likewise.
23428 * io/openat64.c: Likewise.
23429 * io/pipe.c: Likewise.
23430 * io/pipe2.c: Likewise.
23431 * io/poll.c: Likewise.
23432 * io/posix_fadvise.c: Likewise.
23433 * io/posix_fadvise64.c: Likewise.
23434 * io/posix_fallocate.c: Likewise.
23435 * io/posix_fallocate64.c: Likewise.
23436 * io/read.c: Likewise.
23437 * io/readlink.c: Likewise.
23438 * io/readlinkat.c: Likewise.
23439 * io/rmdir.c: Likewise.
23440 * io/sendfile.c: Likewise.
23441 * io/sendfile64.c: Likewise.
23442 * io/statfs.c: Likewise.
23443 * io/statfs64.c: Likewise.
23444 * io/statvfs.c: Likewise.
23445 * io/statvfs64.c: Likewise.
23446 * io/symlink.c: Likewise.
23447 * io/symlinkat.c: Likewise.
23448 * io/ttyname.c: Likewise.
23449 * io/ttyname_r.c: Likewise.
23450 * io/umask.c: Likewise.
23451 * io/unlink.c: Likewise.
23452 * io/unlinkat.c: Likewise.
23453 * io/utime.c: Likewise.
23454 * io/utimensat.c: Likewise.
23455 * io/write.c: Likewise.
23456 * io/xmknod.c: Likewise.
23457 * io/xmknodat.c: Likewise.
23458 * io/xstat.c: Likewise.
23459 * io/xstat64.c: Likewise.
23460 * login/getpt.c: Likewise.
23461 * login/grantpt.c: Likewise.
23462 * login/unlockpt.c: Likewise.
23463 * math/e_acoshl.c: Likewise.
23464 * math/e_acosl.c: Likewise.
23465 * math/e_asinl.c: Likewise.
23466 * math/e_atan2l.c: Likewise.
23467 * math/e_atanhl.c: Likewise.
23468 * math/e_coshl.c: Likewise.
23469 * math/e_expl.c: Likewise.
23470 * math/e_fmodl.c: Likewise.
23471 * math/e_gammal_r.c: Likewise.
23472 * math/e_hypotl.c: Likewise.
23473 * math/e_j0l.c: Likewise.
23474 * math/e_j1l.c: Likewise.
23475 * math/e_jnl.c: Likewise.
23476 * math/e_lgammal_r.c: Likewise.
23477 * math/e_log10l.c: Likewise.
23478 * math/e_log2l.c: Likewise.
23479 * math/e_logl.c: Likewise.
23480 * math/e_powl.c: Likewise.
23481 * math/e_rem_pio2l.c: Likewise.
23482 * math/e_sinhl.c: Likewise.
23483 * math/e_sqrtl.c: Likewise.
23484 * math/fclrexcpt.c: Likewise.
23485 * math/fedisblxcpt.c: Likewise.
23486 * math/feenablxcpt.c: Likewise.
23487 * math/fegetenv.c: Likewise.
23488 * math/fegetexcept.c: Likewise.
23489 * math/fegetround.c: Likewise.
23490 * math/feholdexcpt.c: Likewise.
23491 * math/fesetenv.c: Likewise.
23492 * math/fesetround.c: Likewise.
23493 * math/feupdateenv.c: Likewise.
23494 * math/fgetexcptflg.c: Likewise.
23495 * math/fraiseexcpt.c: Likewise.
23496 * math/fsetexcptflg.c: Likewise.
23497 * math/ftestexcept.c: Likewise.
23498 * math/k_cosl.c: Likewise.
23499 * math/k_rem_pio2l.c: Likewise.
23500 * math/k_sinl.c: Likewise.
23501 * math/k_tanl.c: Likewise.
23502 * math/s_asinhl.c: Likewise.
23503 * math/s_atanl.c: Likewise.
23504 * math/s_cbrtl.c: Likewise.
23505 * math/s_erfl.c: Likewise.
23506 * math/s_expm1l.c: Likewise.
23507 * math/s_log1pl.c: Likewise.
23508 * math/s_tanhl.c: Likewise.
23509 * misc/acct.c: Likewise.
23510 * misc/brk.c: Likewise.
23511 * misc/chflags.c: Likewise.
23512 * misc/chroot.c: Likewise.
23513 * misc/fchflags.c: Likewise.
23514 * misc/fgetxattr.c: Likewise.
23515 * misc/flistxattr.c: Likewise.
23516 * misc/fremovexattr.c: Likewise.
23517 * misc/fsetxattr.c: Likewise.
23518 * misc/fsync.c: Likewise.
23519 * misc/ftruncate.c: Likewise.
23520 * misc/futimes.c: Likewise.
23521 * misc/futimesat.c: Likewise.
23522 * misc/getdomain.c: Likewise.
23523 * misc/getdtsz.c: Likewise.
23524 * misc/gethostid.c: Likewise.
23525 * misc/gethostname.c: Likewise.
23526 * misc/getloadavg.c: Likewise.
23527 * misc/getpagesize.c: Likewise.
23528 * misc/getsysstats.c: Likewise.
23529 * misc/getxattr.c: Likewise.
23530 * misc/gtty.c: Likewise.
23531 * misc/ioctl.c: Likewise.
23532 * misc/lgetxattr.c: Likewise.
23533 * misc/listxattr.c: Likewise.
23534 * misc/llistxattr.c: Likewise.
23535 * misc/lremovexattr.c: Likewise.
23536 * misc/lsetxattr.c: Likewise.
23537 * misc/lutimes.c: Likewise.
23538 * misc/madvise.c: Likewise.
23539 * misc/mincore.c: Likewise.
23540 * misc/mlock.c: Likewise.
23541 * misc/mlockall.c: Likewise.
23542 * misc/mmap.c: Likewise.
23543 * misc/mprotect.c: Likewise.
23544 * misc/msync.c: Likewise.
23545 * misc/munlock.c: Likewise.
23546 * misc/munlockall.c: Likewise.
23547 * misc/munmap.c: Likewise.
23548 * misc/preadv.c: Likewise.
23549 * misc/preadv64.c: Likewise.
23550 * misc/ptrace.c: Likewise.
23551 * misc/pwritev.c: Likewise.
23552 * misc/pwritev64.c: Likewise.
23553 * misc/readv.c: Likewise.
23554 * misc/reboot.c: Likewise.
23555 * misc/remap_file_pages.c: Likewise.
23556 * misc/removexattr.c: Likewise.
23557 * misc/revoke.c: Likewise.
23558 * misc/select.c: Likewise.
23559 * misc/setdomain.c: Likewise.
23560 * misc/setegid.c: Likewise.
23561 * misc/seteuid.c: Likewise.
23562 * misc/sethostid.c: Likewise.
23563 * misc/sethostname.c: Likewise.
23564 * misc/setregid.c: Likewise.
23565 * misc/setreuid.c: Likewise.
23566 * misc/setxattr.c: Likewise.
23567 * misc/sstk.c: Likewise.
23568 * misc/stty.c: Likewise.
23569 * misc/swapoff.c: Likewise.
23570 * misc/swapon.c: Likewise.
23571 * misc/sync.c: Likewise.
23572 * misc/syncfs.c: Likewise.
23573 * misc/syscall.c: Likewise.
23574 * misc/truncate.c: Likewise.
23575 * misc/ualarm.c: Likewise.
23576 * misc/usleep.c: Likewise.
23577 * misc/ustat.c: Likewise.
23578 * misc/utimes.c: Likewise.
23579 * misc/vhangup.c: Likewise.
23580 * misc/writev.c: Likewise.
23581 * posix/_exit.c: Likewise.
23582 * posix/alarm.c: Likewise.
23583 * posix/execve.c: Likewise.
23584 * posix/fexecve.c: Likewise.
23585 * posix/fork.c: Likewise.
23586 * posix/fpathconf.c: Likewise.
23587 * posix/getaddrinfo.c: Likewise.
23588 * posix/getegid.c: Likewise.
23589 * posix/geteuid.c: Likewise.
23590 * posix/getgid.c: Likewise.
23591 * posix/getgroups.c: Likewise.
23592 * posix/getlogin.c: Likewise.
23593 * posix/getlogin_r.c: Likewise.
23594 * posix/getpgid.c: Likewise.
23595 * posix/getpid.c: Likewise.
23596 * posix/getppid.c: Likewise.
23597 * posix/getresgid.c: Likewise.
23598 * posix/getresuid.c: Likewise.
23599 * posix/getsid.c: Likewise.
23600 * posix/getuid.c: Likewise.
23601 * posix/glob64.c: Likewise.
23602 * posix/nanosleep.c: Likewise.
23603 * posix/pathconf.c: Likewise.
23604 * posix/pause.c: Likewise.
23605 * posix/posix_madvise.c: Likewise.
23606 * posix/pread.c: Likewise.
23607 * posix/pread64.c: Likewise.
23608 * posix/pwrite.c: Likewise.
23609 * posix/pwrite64.c: Likewise.
23610 * posix/sched_getaffinity.c: Likewise.
23611 * posix/sched_getp.c: Likewise.
23612 * posix/sched_gets.c: Likewise.
23613 * posix/sched_primax.c: Likewise.
23614 * posix/sched_primin.c: Likewise.
23615 * posix/sched_rr_gi.c: Likewise.
23616 * posix/sched_setaffinity.c: Likewise.
23617 * posix/sched_setp.c: Likewise.
23618 * posix/sched_sets.c: Likewise.
23619 * posix/sched_yield.c: Likewise.
23620 * posix/setgid.c: Likewise.
23621 * posix/setlogin.c: Likewise.
23622 * posix/setpgid.c: Likewise.
23623 * posix/setresgid.c: Likewise.
23624 * posix/setresuid.c: Likewise.
23625 * posix/setsid.c: Likewise.
23626 * posix/setuid.c: Likewise.
23627 * posix/sleep.c: Likewise.
23628 * posix/spawni.c: Likewise.
23629 * posix/sysconf.c: Likewise.
23630 * posix/times.c: Likewise.
23631 * posix/wait.c: Likewise.
23632 * posix/wait3.c: Likewise.
23633 * posix/wait4.c: Likewise.
23634 * posix/waitpid.c: Likewise.
23635 * resolv/gai_sigqueue.c: Likewise.
23636 * resource/getpriority.c: Likewise.
23637 * resource/getrlimit.c: Likewise.
23638 * resource/getrusage.c: Likewise.
23639 * resource/nice.c: Likewise.
23640 * resource/setpriority.c: Likewise.
23641 * resource/setrlimit.c: Likewise.
23642 * resource/ulimit.c: Likewise.
23643 * rt/aio_cancel.c: Likewise.
23644 * rt/aio_fsync.c: Likewise.
23645 * rt/aio_read.c: Likewise.
23646 * rt/aio_sigqueue.c: Likewise.
23647 * rt/aio_suspend.c: Likewise.
23648 * rt/aio_write.c: Likewise.
23649 * rt/clock_getres.c: Likewise.
23650 * rt/clock_gettime.c: Likewise.
23651 * rt/clock_nanosleep.c: Likewise.
23652 * rt/clock_settime.c: Likewise.
23653 * rt/lio_listio.c: Likewise.
23654 * rt/mq_close.c: Likewise.
23655 * rt/mq_getattr.c: Likewise.
23656 * rt/mq_notify.c: Likewise.
23657 * rt/mq_open.c: Likewise.
23658 * rt/mq_receive.c: Likewise.
23659 * rt/mq_send.c: Likewise.
23660 * rt/mq_setattr.c: Likewise.
23661 * rt/mq_timedreceive.c: Likewise.
23662 * rt/mq_timedsend.c: Likewise.
23663 * rt/mq_unlink.c: Likewise.
23664 * rt/shm_open.c: Likewise.
23665 * rt/shm_unlink.c: Likewise.
23666 * rt/timer_create.c: Likewise.
23667 * rt/timer_delete.c: Likewise.
23668 * rt/timer_getoverr.c: Likewise.
23669 * rt/timer_gettime.c: Likewise.
23670 * rt/timer_settime.c: Likewise.
23671 * setjmp/__longjmp.c: Likewise.
23672 * setjmp/setjmp.c: Likewise.
23673 * signal/kill.c: Likewise.
23674 * signal/killpg.c: Likewise.
23675 * signal/raise.c: Likewise.
23676 * signal/sigaction.c: Likewise.
23677 * signal/sigaltstack.c: Likewise.
23678 * signal/sigblock.c: Likewise.
23679 * signal/sigignore.c: Likewise.
23680 * signal/sigintr.c: Likewise.
23681 * signal/signal.c: Likewise.
23682 * signal/sigpause.c: Likewise.
23683 * signal/sigpending.c: Likewise.
23684 * signal/sigqueue.c: Likewise.
23685 * signal/sigreturn.c: Likewise.
23686 * signal/sigset.c: Likewise.
23687 * signal/sigsetmask.c: Likewise.
23688 * signal/sigstack.c: Likewise.
23689 * signal/sigsuspend.c: Likewise.
23690 * signal/sigtimedwait.c: Likewise.
23691 * signal/sigvec.c: Likewise.
23692 * signal/sigwait.c: Likewise.
23693 * signal/sigwaitinfo.c: Likewise.
23694 * signal/sysv_signal.c: Likewise.
23695 * socket/accept.c: Likewise.
23696 * socket/accept4.c: Likewise.
23697 * socket/bind.c: Likewise.
23698 * socket/connect.c: Likewise.
23699 * socket/getpeername.c: Likewise.
23700 * socket/getsockname.c: Likewise.
23701 * socket/getsockopt.c: Likewise.
23702 * socket/isfdtype.c: Likewise.
23703 * socket/listen.c: Likewise.
23704 * socket/recv.c: Likewise.
23705 * socket/recvfrom.c: Likewise.
23706 * socket/recvmsg.c: Likewise.
23707 * socket/send.c: Likewise.
23708 * socket/sendmsg.c: Likewise.
23709 * socket/sendto.c: Likewise.
23710 * socket/setsockopt.c: Likewise.
23711 * socket/shutdown.c: Likewise.
23712 * socket/sockatmark.c: Likewise.
23713 * socket/socket.c: Likewise.
23714 * socket/socketpair.c: Likewise.
23715 * stdio-common/ctermid.c: Likewise.
23716 * stdio-common/cuserid.c: Likewise.
23717 * stdio-common/remove.c: Likewise.
23718 * stdio-common/rename.c: Likewise.
23719 * stdio-common/renameat.c: Likewise.
23720 * stdio-common/tempname.c: Likewise.
23721 * stdlib/getcontext.c: Likewise.
23722 * stdlib/makecontext.c: Likewise.
23723 * stdlib/setcontext.c: Likewise.
23724 * stdlib/swapcontext.c: Likewise.
23725 * stdlib/system.c: Likewise.
23726 * streams/fattach.c: Likewise.
23727 * streams/fdetach.c: Likewise.
23728 * streams/getmsg.c: Likewise.
23729 * streams/getpmsg.c: Likewise.
23730 * streams/putmsg.c: Likewise.
23731 * streams/putpmsg.c: Likewise.
23732 * sysdeps/unix/bsd/getpt.c: Likewise.
23733 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23734 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23735 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23738 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23740 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23741 * sysvipc/msgctl.c: Likewise.
23742 * sysvipc/msgget.c: Likewise.
23743 * sysvipc/msgrcv.c: Likewise.
23744 * sysvipc/msgsnd.c: Likewise.
23745 * sysvipc/semctl.c: Likewise.
23746 * sysvipc/semget.c: Likewise.
23747 * sysvipc/semop.c: Likewise.
23748 * sysvipc/semtimedop.c: Likewise.
23749 * sysvipc/shmat.c: Likewise.
23750 * sysvipc/shmctl.c: Likewise.
23751 * sysvipc/shmdt.c: Likewise.
23752 * sysvipc/shmget.c: Likewise.
23753 * termios/tcdrain.c: Likewise.
23754 * termios/tcflow.c: Likewise.
23755 * termios/tcflush.c: Likewise.
23756 * termios/tcgetattr.c: Likewise.
23757 * termios/tcgetpgrp.c: Likewise.
23758 * termios/tcsendbrk.c: Likewise.
23759 * termios/tcsetattr.c: Likewise.
23760 * termios/tcsetpgrp.c: Likewise.
23761 * time/adjtime.c: Likewise.
23762 * time/clock.c: Likewise.
23763 * time/getitimer.c: Likewise.
23764 * time/gettimeofday.c: Likewise.
23765 * time/setitimer.c: Likewise.
23766 * time/settimeofday.c: Likewise.
23767 * time/stime.c: Likewise.
23768 * time/time.c: Likewise.
23770 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23772 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23775 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23777 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23779 2012-11-03 Joseph Myers <joseph@codesourcery.com>
23782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23783 FE_TONEAREST before applying Dekker multiplication and Knuth
23784 addition. Clear inexact exceptions and check for exact zero
23785 results afterwards.
23786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23787 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23788 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23789 * math/libm-test.inc (fma_test): Add more tests.
23790 (fma_test_towardzero): Likewise.
23791 (fma_test_downward): Likewise.
23792 (fma_test_upward): Likewise.
23793 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23795 (libc_fesetround): New macro.
23796 (libc_fesetroundf): Likewise.
23797 (libc_fesetroundl): Likewise.
23798 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23800 (libc_fesetround_387): Likewise.
23801 (libc_fesetroundf): New macro.
23802 (libc_fesetround): Likewise.
23803 (libc_fesetroundl): Likewise.
23804 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23806 (libc_fesetroundf): New macro.
23807 (libc_fesetround): Likewise.
23808 (libc_fesetroundl): Likewise.
23809 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23810 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23811 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23813 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23814 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23816 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23817 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23819 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23823 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23824 integer constant usable in #if and use that to give value to enum
23826 (FE_DIVBYZERO): Likewise.
23827 (FE_UNDERFLOW): Likewise.
23828 (FE_OVERFLOW): Likewise.
23829 (FE_INVALID): Likewise.
23830 (FE_INVALID_SNAN): Likewise.
23831 (FE_INVALID_ISI): Likewise.
23832 (FE_INVALID_IDI): Likewise.
23833 (FE_INVALID_ZDZ): Likewise.
23834 (FE_INVALID_IMZ): Likewise.
23835 (FE_INVALID_COMPARE): Likewise.
23836 (FE_INVALID_SOFTWARE): Likewise.
23837 (FE_INVALID_SQRT): Likewise.
23838 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23839 (FE_TONEAREST): Likewise.
23840 (FE_TOWARDZERO): Likewise.
23841 (FE_UPWARD): Likewise.
23842 (FE_DOWNWARD): Likewise.
23843 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23844 (FE_DIVBYZERO): Likewise.
23845 (FE_OVERFLOW): Likewise.
23846 (FE_UNDERFLOW): Likewise.
23847 (FE_INEXACT): Likewise.
23848 (FE_TONEAREST): Likewise.
23849 (FE_DOWNWARD): Likewise.
23850 (FE_UPWARD): Likewise.
23851 (FE_TOWARDZERO): Likewise.
23852 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23853 (FE_UNDERFLOW): Likewise.
23854 (FE_OVERFLOW): Likewise.
23855 (FE_DIVBYZERO): Likewise.
23856 (FE_INVALID): Likewise.
23857 (FE_TONEAREST): Likewise.
23858 (FE_TOWARDZERO): Likewise.
23859 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23860 (FE_OVERFLOW): Likewise.
23861 (FE_UNDERFLOW): Likewise.
23862 (FE_DIVBYZERO): Likewise.
23863 (FE_INEXACT): Likewise.
23864 (FE_TONEAREST): Likewise.
23865 (FE_TOWARDZERO): Likewise.
23866 (FE_UPWARD): Likewise.
23867 (FE_DOWNWARD): Likewise.
23868 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23869 (FE_DIVBYZERO): Likewise.
23870 (FE_OVERFLOW): Likewise.
23871 (FE_UNDERFLOW): Likewise.
23872 (FE_INEXACT): Likewise.
23873 (FE_TONEAREST): Likewise.
23874 (FE_DOWNWARD): Likewise.
23875 (FE_UPWARD): Likewise.
23876 (FE_TOWARDZERO): Likewise.
23878 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23880 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23882 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23884 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23885 commands. Quote $PWD.
23886 (blacklist_exports): Don't use remove_newlines. Replace "declare
23888 (remove_newlines): Remove.
23890 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23892 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23893 * stdlib/stdlib.h (atof): Moved to ...
23894 * include/bits/stdlib-float.h: Here. New file.
23895 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23896 * stdlib/bits/stdlib-float.h: New file.
23897 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23899 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23902 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23904 * conform/conformtest.pl (@headers): Add fenv.h.
23905 * conform/data/fenv.h-data: New file.
23906 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23907 include of <math/fenv.h>.
23909 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23910 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23911 && !UNIX98]. Enables tests for XOPEN2K8.
23912 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23913 POSIX2008]: Likewise.
23915 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23916 (struct rusage): Do not expect type or its members.
23919 * math/math.h (FP_NAN): Define macro to integer constant usable in
23920 #if and use that to give value to enum constant.
23921 (FP_INFINITE): Likewise.
23922 (FP_ZERO): Likewise.
23923 (FP_SUBNORMAL): Likewise.
23924 (FP_NORMAL): Likewise.
23926 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23928 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23929 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23932 2012-11-02 Roland McGrath <roland@hack.frob.com>
23934 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23935 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23936 autoconf-time if not.
23937 * configure.in: Remove AC_PREREQ.
23939 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23941 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23942 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23943 of the internal implementation.
23945 2012-11-02 Joseph Myers <joseph@codesourcery.com>
23947 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23948 except include of <misc/sys/syslog.h>.
23950 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23953 function returns with a NULL context exit with zero.
23955 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23957 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23959 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23961 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23962 (run_program_cmd): This.
23963 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23964 (tst_langinfo): New variable. Use it.
23966 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23968 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23969 floating point opcodes.
23971 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23973 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23976 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23978 * sysdeps/mach/hurd/powerpc: Remove directory.
23979 * sysdeps/mach/powerpc: Likewise.
23981 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23983 * scripts/check-local-headers.sh: Ignore c++ headers.
23985 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23987 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23988 __libc_cleanup_region_start argument.
23990 2012-11-01 Joseph Myers <joseph@codesourcery.com>
23994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23995 x * y using scaling, not as x * y + z.
23996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23998 * math/libm-test.inc (fma_test): Add more tests.
23999 (fma_test_towardzero): Likewise.
24000 (fma_test_downward): Likewise.
24001 (fma_test_upward): Likewise.
24003 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24005 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24007 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24009 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24012 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24014 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24016 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24023 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24026 Fix the order of the list for glibc 2.17.
24027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24030 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24034 2012-10-31 Joseph Myers <joseph@codesourcery.com>
24037 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24038 for low part of x being zero before using __atanl (y).
24039 * math/libm-test.inc (atan2_test): Add another test.
24041 * manual/install.texi (Configuring and compiling): Document
24042 general use of test-wrapper and test-wrapper-env.
24043 * INSTALL: Regenerated.
24045 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24046 (__fma): Do not extract and scale down low bits on after-rounding
24047 systems when result rounded to normal precision would have normal
24049 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24050 (__fmal): Do not extract and scale down low bits on after-rounding
24051 systems when result rounded to normal precision would have normal
24053 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24054 (__fmal): Do not extract and scale down low bits on after-rounding
24055 systems when result rounded to normal precision would have normal
24057 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24059 (fma_test): Add more tests.
24060 (fma_test_towardzero): Likewise.
24061 (fma_test_downward): Likewise.
24062 (fma_test_upward): Likewise.
24064 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24066 * sysdeps/i386/tininess.h: Renamed to ...
24067 * sysdeps/x86/tininess.h: This.
24068 * sysdeps/x86_64/tininess.h: Removed.
24070 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24072 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24073 input. Use $(build-program-cmd).
24074 ($(objpfx)tst-array1-static.out): Likewise.
24075 ($(objpfx)tst-array2.out): Likewise.
24076 ($(objpfx)tst-array3.out): Likewise.
24077 ($(objpfx)tst-array4.out): Likewise.
24078 ($(objpfx)tst-array5.out): Likewise.
24079 ($(objpfx)tst-array5-static.out): Likewise.
24081 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24083 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24086 * nss/nsswitch.h (nss_interface_function): Provide new
24087 macro for use with NSS functions.
24088 * grp/initgroups.c: Use new macro.
24089 * nss/getXXbyYY.c: Likewise.
24090 * nss/getXXbyYY_r.c: Likewise.
24091 * nss/getXXent.c: Likewise.
24092 * nss/getXXent_r.c: Likewise.
24093 * sysdeps/posix/getaddrinfo.c: Likewise.
24095 2012-10-30 Andreas Jaeger <aj@suse.de>
24097 * po/ru.po: Update Russion translation from translation project.
24099 2012-10-30 Joseph Myers <joseph@codesourcery.com>
24103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24104 result and shift together with sticky bit instead of replicating
24105 round-to-nearest rounding.
24106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24107 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24108 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24109 missing underflow exceptions.
24110 (fma_test_towardzero): Add more tests.
24111 (fma_test_downward): Likewise.
24112 (fma_test_upward): Likewise.
24115 * sysdeps/generic/tininess.h: New file.
24116 * sysdeps/i386/tininess.h: Likewise.
24117 * sysdeps/sh/tininess.h: Likewise.
24118 * sysdeps/x86_64/tininess.h: Likewise.
24119 * stdlib/tst-strtod-underflow.c: Likewise.
24120 * stdlib/tst-tininess.c: Likewise.
24121 * stdlib/strtod_l.c: Include <tininess.h>.
24122 (round_and_return): Do not set errno for exact underflow cases.
24123 Force an underflow exception when setting errno for underflow.
24124 Determine underflow based on rounding to normal precision if
24125 TININESS_AFTER_ROUNDING.
24126 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24127 ERANGE for exact underflow cases.
24128 * stdlib/Makefile (tests): Add tst-tininess and
24129 tst-strtod-underflow.
24130 ($(objpfx)tst-tininess): Use $(link-libm).
24131 ($(objpfx)tst-strtod-underflow): Likewise.
24133 2012-10-30 Andreas Jaeger <aj@suse.de>
24136 * elf/Makefile (tests): Remove conditional for have-initfini-array
24137 since this is now always required and the variable does not exist
24139 (tests-static): Likewise.
24140 (modules-names): Likewise.
24142 * po/eo.po: Add Esperanto translation from translation project.
24144 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24145 merged with constructor/destructor.
24146 (init_array): Likewise.
24147 * elf/tst-array2dep.c (fini_array): Likewise.
24148 (init_array): Likewise.
24150 2012-10-29 Mike Frysinger <vapier@gentoo.org>
24152 * manual/message.texi: Delete @cartouche tags.
24154 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24156 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24158 * sysdeps/mach/hurd/fsync.c: Likewise.
24160 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24161 [_POSIX_REALTIME_SIGNALS]: Change condition to
24162 [_POSIX_REALTIME_SIGNALS > 0].
24164 2012-10-27 Andreas Jaeger <aj@suse.de>
24166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24167 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24169 [__WORDSIZE != 64]: Likewise.
24171 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24173 * iconvdata/tst-table.sh: Remove ${SHELL}.
24174 * iconvdata/tst-tables.sh: Likewise.
24176 2012-10-25 David S. Miller <davem@davemloft.net>
24178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24179 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24185 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24186 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24189 2012-10-25 Roland McGrath <roland@hack.frob.com>
24191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24192 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24195 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24196 Jim Blandy <jimb@codesourcery.com>
24198 * scripts/cross-test-ssh.sh: New file.
24199 * manual/install.texi (Configuring and compiling): Document use of
24201 * INSTALL: Regenerated.
24203 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24205 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24208 2012-10-25 Joseph Myers <joseph@codesourcery.com>
24210 * Makeconfig (run-program-prefix): Fix comment.
24212 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24213 Jim Blandy <jimb@codesourcery.com>
24215 * Makeconfig (test-wrapper): New variable,
24216 (test-wrapper-env): Likewise.
24217 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24218 (run-built-tests): Define to yes.
24219 (run-program-prefix): Use $(test-wrapper).
24220 (built-program-cmd): Likewise.
24221 * Rules (make-test-out): Use $(test-wrapper-env) and
24222 $(host-built-program-cmd).
24223 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24224 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24226 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24227 $(test-wrapper-env) to tst-rtld-load-self.sh.
24228 ($(objpfx)order2.out): Use $(test-wrapper).
24229 ($(objpfx)tst-initorder.out): Likewise.
24230 ($(objpfx)tst-initorder2.out): Likewise.
24231 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24232 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24233 (test_wrapper_env): New variable. Use it to run ld.so.
24234 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24235 Use it to run ld.so.
24236 (test_wrapper_env): Likewise.
24237 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24238 $(test-wrapper) to run-iconv-test.sh.
24239 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24240 (ICONV): Use $test_wrapper.
24241 * posix/Makefile ($(objpfx)globtest.out): Pass
24242 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24243 globtest.sh, not $(run-program-prefix).
24244 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24245 (test_wrapper): Likewise.
24246 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24247 set together with run_via_rtld_prefix.
24248 (run_program_prefix): Define in terms of test_wrapper and
24249 run_via_rtld_prefix.
24251 2012-10-24 Roland McGrath <roland@hack.frob.com>
24253 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24254 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24258 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24259 Declare __clock_getres, __clock_gettime, __clock_settime,
24260 __clock_nanosleep, and __clock_getcpuclockid.
24261 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24262 Remove librt_hidden_def (clock_gettime).
24263 * sysdeps/unix/clock_gettime.c: Likewise.
24264 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24265 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24266 * rt/clock_getres.c: Define __clock_getres as an alias.
24267 * sysdeps/posix/clock_getres.c: Likewise.
24268 * rt/clock_settime.c: Define __clock_settime as an alias.
24269 * sysdeps/unix/clock_settime.c: Likewise.
24270 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24271 * sysdeps/unix/clock_nanosleep.c: Likewise.
24272 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24273 * rt/clock-compat.c: New file.
24274 * rt/Makefile (librt-routines): Add clock-compat and move
24275 $(clock-routines) to ...
24276 (routines): ... here, new variable.
24277 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24278 Don't add get_clockfreq here.
24279 * rt/Versions (libc: GLIBC_2.17): New version set.
24280 Add clock_* symbols here.
24281 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24282 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24283 (GLIBC_2.17): Add clock_* symbols.
24284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24286 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24295 * NEWS: Mention the move.
24297 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24298 Use __open, __read, __close rather than their public counterparts.
24299 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24300 (__get_clockfreq_via_cpuinfo): Likewise.
24301 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24302 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24304 * config.h.in (HAVE_IFUNC): New #undef.
24305 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24307 * configure: Regenerated.
24309 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24311 * configure.in: Move READELF check to start of file.
24312 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24313 libc_cv_asm_gnu_indirect_function in the process.
24314 * configure: Regenerated.
24316 2012-10-24 Mike Frysinger <vapier@gentoo.org>
24318 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24319 send the output to /dev/null.
24320 (libc_cv_cc_with_libunwind): Likewise.
24321 (libc_cv_as_noexecstack): Likewise.
24322 * configure: Regenerate.
24324 2012-10-24 Joseph Myers <joseph@codesourcery.com>
24326 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24328 * posix/globtest.sh (TMPDIR): Do not set.
24329 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24330 (testout): Likewise.
24332 2012-10-24 Andreas Jaeger <aj@suse.de>
24334 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24335 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24336 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24337 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24338 posix_fadvise64, posix_fallocate64.
24340 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24341 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24342 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24344 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24346 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24349 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24350 <bits/fcntl-linux.h>.
24351 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24354 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24355 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24356 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24357 [__WORDSIZE != 64]: Likewise.
24359 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24361 * Makeconfig (run-built-tests): New variable.
24362 * Rules [$(cross-compiling) = yes]: Change condition to
24363 [$(run-built-tests) = no].
24364 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24365 to [$(run-built-tests) = yes].
24366 * elf/Makefile [$(cross-compiling) = no]: Likewise
24367 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24368 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24369 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24370 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24371 * io/Makefile [$(cross-compiling) = no]: Likewise.
24372 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24373 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24374 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24375 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24376 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24377 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24378 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24379 * string/Makefile [$(cross-compiling) = no]: Likewise.
24381 * posix/Makefile ($(objpfx)globtest.out): Pass
24382 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24383 $(rtld-installed-name).
24384 * posix/globtest.sh (elf_objpfx): Remove variable.
24385 (rtld_installed_name): Likewise.
24386 (library_path): Likewise.
24387 (run_program_prefix): New variable. Use for running globtest
24390 2012-10-23 Jim Blandy <jimb@codesourcery.com>
24391 Joseph Myers <joseph@codesourcery.com>
24393 * Makeconfig (host-built-program-cmd): New variable.
24394 * elf/Makefile (tst-stackguard1-ARGS): Use
24395 $(host-built-program-cmd).
24396 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24397 (tst-spawn-ARGS): Likewise.
24398 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24400 2012-10-23 Joseph Myers <joseph@codesourcery.com>
24401 Jim Blandy <jimb@codesourcery.com>
24403 * Makeconfig (run-via-rtld-prefix): New variable.
24404 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24405 (built-program-cmd): Likewise.
24407 2012-10-22 Andreas Jaeger <aj@suse.de>
24409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24410 __O_RSYNC if it exists, otherwise to O_SYNC.
24412 2012-10-22 Jim Blandy <jimb@codesourcery.com>
24413 Joseph Myers <joseph@codesourcery.com>
24415 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24417 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24419 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24422 2012-10-22 Andreas Jaeger <aj@suse.de>
24424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24429 bits/fcntl-linux.h.
24431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24432 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24439 2012-10-21 Jim Blandy <jimb@codesourcery.com>
24440 Joseph Myers <joseph@codesourcery.com>
24442 * config.make.in (NM): New variable.
24444 2012-10-21 Andreas Jaeger <aj@suse.de>
24446 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24447 definitions and declarations that are provided by
24448 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24450 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24453 * elf/Makefile (tests-static): Add tst-leaks1-static.
24454 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24455 ($(objpfx)tst-leaks1-static): New rule.
24456 ($(objpfx)tst-leaks1-static-mem): Likewise.
24457 (tst-leaks1-static-ENV): New macro.
24458 * elf/dl-open.c (dl_open_worker): Check the main application
24459 only if SHARED is defined.
24460 * elf/tst-leaks1-static.c: New file.
24462 2012-10-20 Andreas Jaeger <aj@suse.de>
24464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24465 generic values for Linux.
24466 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24467 and declarations that are provided by <bits/fcntl-linux.h> and
24468 include <bits/fcntl-linux.h>.
24469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24472 2012-10-20 Roland McGrath <roland@hack.frob.com>
24474 * io/fcntl.h: Move include of <bits/types.h> to the top and
24475 include it unconditionally.
24477 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24479 * wcsmbs/Makefile (tests-ifunc): New variable.
24480 (tests): Add $(tests-ifunc).
24481 * wcsmbs/test-wcschr-ifunc.c: New file.
24482 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24483 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24484 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24485 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24486 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24488 * string/Makefile (tests-ifunc): New variable.
24489 (tests): Add $(tests-ifunc).
24490 * string/test-memccpy.c (TEST_NAME): New macro.
24491 * string/test-memchr.c (TEST_NAME): Likewise.
24492 * string/test-memcmp.c (TEST_NAME): Likewise.
24493 * string/test-memcpy.c (TEST_NAME): Likewise.
24494 * string/test-memmem.c (TEST_NAME): Likewise.
24495 * string/test-memmove.c (TEST_NAME): Likewise.
24496 * string/test-memset.c (TEST_NAME): Likewise.
24497 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24498 * string/test-stpcpy.c (TEST_NAME): Likewise.
24499 * string/test-stpncpy.c (TEST_NAME): Likewise.
24500 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24501 * string/test-strcasestr.c (TEST_NAME): Likewise.
24502 * string/test-strcat.c (TEST_NAME): Likewise.
24503 * string/test-strchr.c (TEST_NAME): Likewise.
24504 * string/test-strcmp.c(TEST_NAME): Likewise.
24505 * string/test-strcpy.c (TEST_NAME): Likewise.
24506 * string/test-strcspn.c (TEST_NAME): Likewise.
24507 * string/test-strlen.c (TEST_NAME): Likewise.
24508 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24509 * string/test-strncmp.c (TEST_NAME): Likewise.
24510 * string/test-strncpy.c (TEST_NAME): Likewise.
24511 * string/test-strnlen.c (TEST_NAME): Likewise.
24512 * string/test-strpbrk.c (TEST_NAME): Likewise.
24513 * string/test-strrchr.c (TEST_NAME): Likewise.
24514 * string/test-strspn.c (TEST_NAME): Likewise.
24515 * string/test-strstr.c (TEST_NAME): Likewise.
24516 * string/test-bcopy-ifunc.c: New file.
24517 * string/test-bzero-ifunc.c: Likewise.
24518 * string/test-memccpy-ifunc.c: Likewise.
24519 * string/test-memchr-ifunc.c: Likewise.
24520 * string/test-memcmp-ifunc.c: Likewise.
24521 * string/test-memcpy-ifunc.c: Likewise.
24522 * string/test-memmem-ifunc.c: Likewise.
24523 * string/test-memmove-ifunc.c: Likewise.
24524 * string/test-mempcpy-ifunc.c: Likewise.
24525 * string/test-memset-ifunc.c: Likewise.
24526 * string/test-rawmemchr-ifunc.c: Likewise.
24527 * string/test-stpcpy-ifunc.c: Likewise.
24528 * string/test-stpncpy-ifunc.c: Likewise.
24529 * string/test-strcasecmp-ifunc.c: Likewise.
24530 * string/test-strcasestr-ifunc.c: Likewise.
24531 * string/test-strcat-ifunc.c: Likewise.
24532 * string/test-strchr-ifunc.c: Likewise.
24533 * string/test-strchrnul-ifunc.c: Likewise.
24534 * string/test-strcmp-ifunc.c: Likewise.
24535 * string/test-strcpy-ifunc.c: Likewise.
24536 * string/test-strcspn-ifunc.c: Likewise.
24537 * string/test-strlen-ifunc.c: Likewise.
24538 * string/test-strncasecmp-ifunc.c: Likewise.
24539 * string/test-strncat-ifunc.c: Likewise.
24540 * string/test-strncmp-ifunc.c: Likewise.
24541 * string/test-strncpy-ifunc.c: Likewise.
24542 * string/test-strnlen-ifunc.c: Likewise.
24543 * string/test-strpbrk-ifunc.c: Likewise.
24544 * string/test-strrchr-ifunc.c: Likewise.
24545 * string/test-strspn-ifunc.c: Likewise.
24546 * string/test-strstr-ifunc.c: Likewise.
24548 * debug/Makefile (tests-ifunc): New variable.
24549 (tests): Add $(tests-ifunc).
24550 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24551 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24552 * debug/test-stpcpy_chk-ifunc.c: New file.
24553 * debug/test-strcpy_chk-ifunc.c: Likewise.
24555 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24558 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24559 header is not read in.
24561 2012-10-19 Joseph Myers <joseph@codesourcery.com>
24563 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24564 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24565 directly. Pass built executable to script as
24566 $(built-program-cmd).
24567 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24568 $testprogram without using LD_LIBRARY_PATH and $ldso.
24570 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24571 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24572 $(rtld-installed-name).
24573 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24574 (rtld_installed_name): Likewise.
24575 (library_path): Likewise.
24576 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24577 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24578 $(run-program-prefix) to tst-tables.sh.
24579 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24580 it to run tst-table-from and tst-table-to.
24581 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24582 Pass it to tst-table.sh.
24583 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24584 $(run-program-prefix) to tst-gettext.sh.
24585 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24587 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24589 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24590 to run tst-gettext.
24591 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24592 to run tst-gettext2.
24593 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24594 to run tst-translit.
24595 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24596 $(run-program-prefix) to tst-mtrace.sh.
24597 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24599 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24600 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24601 $(rtld-installed-name).
24602 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24603 (rtld_installed_name): Likewise.
24604 (run_program_prefix): New variable. Use it to run wordexp-test.
24606 * Makeconfig (ARCH): Remove all definitions.
24607 (machine): Likewise.
24608 [ARCH]: Remove conditional code.
24609 [!objdir]: Give error.
24610 [!objdir] (objpfx): Remove.
24611 [!objdir] (common-objpfx): Likewise.
24612 [!objdir] (common-objdir): Likewise.
24613 * configure.in (config_makefile): Remove. Hardcode Makefile in
24614 AC_CONFIG_FILES call.
24615 * configure: Regenerated.
24618 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24620 (testout): Likewise.
24622 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24623 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24624 $(rtld-installed-name).
24625 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24626 (rtld_installed_name): Likwise.
24627 (runit): Remove function.
24628 (run_getconf): New variable, Use it for running getconf binary.
24630 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24633 * string/test-memmem.c (check_result): New function.
24634 (do_one_test): Use it.
24635 (check1): New function.
24636 (test_main): Use it.
24638 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24640 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24642 2012-10-18 Joseph Myers <joseph@codesourcery.com>
24644 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24645 (_G_LSEEK64): Likewise.
24646 (_G_MMAP64): Likewise.
24647 (_G_FSTAT64): Likewise.
24648 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24649 (_G_LSEEK64): Likewise.
24650 (_G_MMAP64): Likewise.
24651 (_G_FSTAT64): Likewise.
24652 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24653 unconditional. Call __mmap64 directly.
24654 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24655 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24656 __lseek64 directly.
24657 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24658 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24660 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24661 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24662 __lseek64 directly.
24663 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24664 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24665 __lseek64 directly.
24666 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24667 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24668 __lseek64 directly.
24669 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24670 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24671 __fxstat64 directly.
24672 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24673 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24675 (freopen64) [!_G_OPEN64]: Remove conditional code.
24676 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24678 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24679 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24681 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24682 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24684 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24685 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24687 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24688 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24690 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24691 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24693 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24694 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24696 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24698 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24701 * manual/memory.texi (Malloc Tunable Parameters): Add note
24702 about free list pointers overwriting some perturb bytes.
24703 Wording suggested by Roland McGrath.
24705 2012-10-17 Joseph Myers <joseph@codesourcery.com>
24707 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24708 (lgamma_test): Likewise.
24709 (tgamma_test): Likewise.
24711 2012-10-16 Florian Weimer <fweimer@redhat.com>
24714 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24715 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24717 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24719 * NEWS: Mention BZ #14716.
24720 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24721 when removing AVAILABLE1_USES_J macro.
24723 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24725 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24726 (__bswap_64): __uint64_t for unsigned 64-bit int.
24728 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24730 * include/string.h (memmem): Declare libc hidden alias.
24731 * string/memmem.c (memmem): Define libc hidden alias.
24732 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24733 __read, __close instead of open, read, close.
24735 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24738 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24740 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24741 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24742 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24744 (__rawmemchr_sse2): Likewise.
24745 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24746 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24747 (__strchr_sse2): Likewise.
24748 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24749 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24750 (__strcasecmp_sse2): Likewise.
24751 (__strncasecmp_sse2): Likewise.
24752 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24753 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24754 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24755 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24756 (__strrchr_sse2): Likewise.
24757 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24759 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24760 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24761 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24762 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24763 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24764 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24765 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24766 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24767 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24768 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24769 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24770 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24771 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24772 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24773 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24774 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24775 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24776 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24777 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24778 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24779 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24780 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24781 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24782 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24783 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24784 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24785 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24786 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24787 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24788 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24790 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24792 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24793 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24794 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24795 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24797 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24799 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24800 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24801 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24802 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24804 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24805 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24806 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24807 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24808 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24809 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24810 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24811 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24817 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24818 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24819 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24820 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24821 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24822 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24823 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24824 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24829 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24830 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24831 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24832 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24833 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24834 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24835 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24836 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24837 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24838 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24839 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24840 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24841 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24842 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24843 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24844 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24846 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24847 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24848 * include/ifunc-impl-list.h: New file.
24849 * misc/ifunc-impl-list.c: Likewise.
24850 * misc/Makefile (routines): Add ifunc-impl-list.
24851 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24852 * string/test-string.h: Include <ifunc-impl-list.h>.
24853 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24854 TEST_NAME]: New variables.
24855 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24857 (test_init): Call __libc_ifunc_impl_list to initialize
24858 func_list if TEST_IFUNC and TEST_NAME are defined.
24860 * string/Makefile (strop-tests): Add bcopy and bzero.
24861 * string/test-bcopy.c: New file.
24862 * string/test-bzero.c: Likewise.
24863 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24865 * string/test-memset.c: Support bzero test if TEST_BZERO is
24867 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24869 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24871 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24874 2012-10-10 Joseph Myers <joseph@codesourcery.com>
24876 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24877 * configure: Regenerated.
24879 * Makeconfig (+link-static-before-libc): Don't include
24880 $(link-static-libc).
24882 * libio/libio.h (_IO_pos_t): Remove.
24884 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24886 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24889 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24891 * crypt/crypt-entry.c: Include fips-private.h.
24892 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24893 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24894 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24895 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24897 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
24899 * crypt/crypt-private.h: Include stdbool.h.
24900 (_ufc_setup_salt_r): Return bool.
24901 * crypt/crypt-entry.c: Include errno.h.
24902 (__crypt_r): Return NULL with EINVAL for bad salt.
24903 * crypt/crypt_util.c (bad_for_salt): New.
24904 (_ufc_setup_salt_r): Check that salt is long enough and within
24905 the specified alphabet.
24906 * crypt/badsalttest.c: New file.
24907 * crypt/Makefile (tests): Add it.
24908 ($(objpfx)badsalttest): New.
24910 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24912 * NEWS: Add entry for BZ #14602.
24914 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24916 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24918 * math/libm-test.inc: Update comment listing what functions and
24920 (isgreater_test): New function.
24921 (isgreaterequal_test): Likewise.
24922 (isless_test): Likewise.
24923 (islessequal_test): Likewise.
24924 (islessgreater_test): Likewise.
24925 (isunordered_test): Likewise.
24926 (main): Call the new functions.
24928 2012-10-09 Roland McGrath <roland@hack.frob.com>
24930 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24931 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24932 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24933 * sysdeps/i386/configure: Regenerated.
24934 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24935 * sysdeps/mach/configure: Regenerated.
24936 * sysdeps/mach/hurd/configure: Regenerated.
24937 * sysdeps/powerpc/configure: Regenerated.
24938 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24939 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24940 * sysdeps/s390/s390-32/configure: Regenerated.
24941 * sysdeps/s390/s390-64/configure: Regenerated.
24942 * sysdeps/sh/configure: Regenerated.
24943 * sysdeps/sparc/configure: Regenerated.
24944 * sysdeps/unix/sysv/linux/configure: Regenerated.
24945 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24946 * sysdeps/x86_64/configure: Regenerated.
24948 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24949 defined. Don't check if MAP is NULL.
24951 2012-10-09 Joseph Myers <joseph@codesourcery.com>
24953 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24954 (_G_stat64): Likewise.
24955 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24956 (_G_stat64): Likewise.
24957 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24958 instead of struct _G_stat64.
24959 * libio/fileops.c (mmap_remap_check): Likewise.
24960 (decide_maybe_mmap): Likewise.
24961 (_IO_new_file_seekoff): Likewise.
24962 (_IO_file_stat): Likewise.
24963 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24965 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24966 instead of struct _G_stat64.
24967 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24969 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24972 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24974 (CHECK_EOL): New macro.
24975 (two_way_short_needle): Check beginning of haystack for EOL. Use
24977 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24978 Replace with CHECK_EOL.
24979 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24980 Replace with CHECK_EOL.
24982 2012-10-08 Joseph Myers <joseph@codesourcery.com>
24984 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24986 * math/libm-test.inc: Update comment listing what functions and
24988 (finite_test): New function.
24989 (isinf_test): Likewise.
24990 (isnan_test): Likewise.
24991 (fpclassify_test): Test subnormal input.
24992 (isfinite_test): Likewise.
24993 (isnormal_test): Likewise.
24994 (main): Call the new functions.
24996 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24999 * Makerules (%.dynsym): Force C locale when running
25000 $(OBJDUMP) --dynamic-syms.
25002 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25004 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25007 2012-10-06 David S. Miller <davem@davemloft.net>
25009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25010 upper 32-bits of the length value in %o2 since we use branch-on-register
25011 tests which consider the entire 64-bit register.
25013 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25015 * string/test-strstr.c (check2): Add a test for page boundary.
25017 2012-10-05 David S. Miller <davem@davemloft.net>
25019 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25020 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25022 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25024 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25025 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25026 and bzero when HWCAP_SPARC_CRYPTO is present.
25028 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25031 * string/test-strstr.c (check2): New function.
25032 (test_main): Call check2.
25034 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25036 * string/bug-strcasestr1.c (do_test): Moved to ...
25037 * string/test-strcasestr.c (check1): Here. New function.
25038 (do_one_test): Break out result checking code into ...
25039 (check_result): This. New function.
25040 (do_one_test): Call check_result.
25041 (test_main): Call check1.
25042 * string/bug-strchr1.c (do_test): Moved to ...
25043 * string/test-strchr.c (check1): Here. New function.
25044 (do_one_test): Break out result checking code into ...
25045 (check_result): This. New function.
25046 (do_one_test): Call check_result.
25047 (test_main): Call check1.
25048 * string/bug-strstr1.c (main): Moved to ...
25049 * string/test-strstr.c (check1): Here. New function.
25050 (do_one_test): Break out result checking code into ...
25051 (check_result): This. New function.
25052 (do_one_test): Call check_result.
25053 (test_main): Call check1.
25054 * string/bug-strcasestr1.c: Removed.
25055 * string/bug-strchr1.c: Likewise.
25056 * string/bug-strstr1.c: Likewise.
25058 * elf/Makefile (dl-routines): Add hwcaps.
25059 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25060 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25061 (_dl_important_hwcaps): Moved to ...
25062 * elf/dl-hwcaps.c: Here. New file.
25063 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25066 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25067 if IS_IN_rtld isn't defined.
25069 * elf/dl-support.c (_dl_sysinfo_map): New.
25070 Include "get-dynamic-info.h" and "setup-vdso.h".
25071 (_dl_non_dynamic_init): Call setup_vdso.
25072 * elf/dynamic-link.h: Don't include <assert.h>.
25073 (elf_get_dynamic_info): Moved to ...
25074 * elf/get-dynamic-info.h: Here. New file.
25075 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25076 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25077 * elf/setup-vdso.h: Here. New file.
25078 * elf/rtld.c: Include "setup-vdso.h".
25079 (dl_main): Call setup_vdso.
25081 2012-10-05 Joseph Myers <joseph@codesourcery.com>
25083 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25084 creal in comment listing functions tested. List finite, isinf,
25085 isnan, isless, islessequal, isgreater, isgreaterequal,
25086 islessgreater, isunordered, lgamma_r and pow10 as functions and
25087 macros not tested. Mention which functions not tested are aliases
25088 for other functions. Fix typo. Note that signs of NaNs are not
25091 * scripts/config.guess: Update from config.git.
25092 * scripts/config.sub: Likewise.
25094 2012-10-04 Roland McGrath <roland@hack.frob.com>
25096 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25097 * misc/madvise.c (madvise): Renamed to __madvise.
25098 Make madvise a weak alias.
25099 * include/sys/mman.h: Declare __madvise.
25100 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25101 * sysdeps/unix/syscalls.list
25102 (madvise): Make __madvise the strong name, and madvise a weak alias.
25103 * sysdeps/unix/sysv/linux/syscalls.list
25104 (madvise, mmap): Remove redundant entries.
25105 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25106 * malloc/malloc.c (mtrim): Likewise.
25107 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25109 2012-10-03 Roland McGrath <roland@hack.frob.com>
25111 * sysdeps/mach/hurd/dl-cache.c: File removed.
25112 * config.h.in (USE_LDCONFIG): New #undef.
25113 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25114 * configure: Regenerated.
25115 * elf/Makefile (dl-routines): Add dl-cache only under
25116 [$(use-ldconfig) = yes].
25117 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25118 cache on [USE_LDCONFIG].
25119 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25121 * elf/rtld.c (dl_main): Likewise.
25123 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25125 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25126 _SC_LEVEL4_CACHE_LINESIZE.
25128 2012-10-03 Roland McGrath <roland@hack.frob.com>
25130 * sysdeps/unix/bsd/confstr.h: File removed.
25132 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
25134 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25137 2012-10-02 Roland McGrath <roland@hack.frob.com>
25139 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25140 Make 'mapoff' field ElfW(Off) rather than off_t.
25142 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25144 * nscd/Makefile: Remove nscd-cflags and all its users.
25145 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25146 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25149 * malloc.c (malloc_printerr): Clarify error message.
25151 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25155 Set bit_FMA_Usable if FMA is supported.
25156 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25158 (bit_FMA4_Usable): Updated.
25159 (index_FMA_Usable): New macro.
25160 (CPUID_FMA): Likewise
25161 (HAS_FMA): Defined with bit_FMA_Usable.
25163 2012-10-01 Roland McGrath <roland@hack.frob.com>
25165 * bits/types.h (__swblk_t): Type removed.
25166 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25167 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25169 (__SWBLK_T_TYPE): Likewise.
25170 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25171 (__SWBLK_T_TYPE): Likewise.
25172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25173 (__SWBLK_T_TYPE): Likewise.
25174 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25175 (__SWBLK_T_TYPE): Likewise.
25177 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
25178 Honza Horak <hhorak@redhat.com>
25180 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25181 (xdr_mapname): Use YPMAXMAP as maxsize.
25182 (xdr_peername): Use YPMAXPEER as maxsize.
25183 (xdr_keydat): Use YPAXRECORD as maxsize.
25184 (xdr_valdat): Use YPMAXRECORD as maxsize.
25186 2012-10-01 Roland McGrath <roland@hack.frob.com>
25188 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25190 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25191 * csu/init-first.c: ... here.
25192 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25193 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25194 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25195 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25196 * sysdeps/i386/init-first.c: File removed.
25197 * sysdeps/sh/init-first.c: File removed.
25199 2012-10-01 Joseph Myers <joseph@codesourcery.com>
25202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25203 if x * y might underflow to zero and z is zero.
25204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25206 * math/libm-test.inc (min_subnorm_value): New variable.
25207 (fma_test): Add more tests.
25208 (fma_test_towardzero): Likewise.
25209 (fma_test_downward): Likewise
25210 (fma_test_upward): Likewise.
25211 (initialize): Set min_subnorm_value.
25213 2012-09-29 Joseph Myers <joseph@codesourcery.com>
25216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25218 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25219 mode for addition resulting in exact zero.
25220 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25223 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25224 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25225 * math/libm-test.inc (fma_test): Add more tests.
25226 (fma_test_towardzero): New function.
25227 (fma_test_downward): Likewise.
25228 (fma_test_upward): Likewise.
25229 (main): Call the new functions.
25231 2012-09-28 David S. Miller <davem@davemloft.net>
25233 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25235 2012-09-28 Roland McGrath <roland@hack.frob.com>
25237 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25238 instead of SIGALRM.
25240 * sysdeps/gnu/_G_config.h: Moved to ...
25241 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25242 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25243 * sysdeps/generic/_G_config.h: ... here.
25245 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25247 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25249 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25250 Conditionalize target on [libnss_test1.so-version].
25252 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25254 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25255 (elfobjdir): Move out of conditionals.
25257 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25258 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25259 (__nss_lookup_function): Conditionalize label remove_from_tree on
25260 [!DO_STATIC_NSS || SHARED], matching its only use.
25262 2012-09-28 David S. Miller <davem@davemloft.net>
25264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25265 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25267 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25269 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25271 when HWCAP_SPARC_CRYPTO is present.
25273 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25275 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25277 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25280 * stdio-common/vfprintf.c (process_string_arg): Revert
25283 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25285 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25287 * stdio-common/tst-sprintf.c: Include <locale.h>
25288 (main): Test sprintf's handling of incomplete multibyte
25291 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25293 * elf/dl-runtime.c (VERSYMIDX): Removed.
25294 * elf/dl-version.c (VERSYMIDX): Likewise.
25295 * elf/do-rel.h (VERSYMIDX): Likewise.
25296 (VALIDX): Likewise.
25297 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25298 * elf/rtld.c (VALIDX): Likewise.
25299 (ADDRIDX): Likewise.
25300 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25301 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25302 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25303 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25304 (VALIDX): Likewise.
25305 (ADDRIDX): Likewise.
25307 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25309 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25311 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25314 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25316 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25317 addresses are in the same scope as 192.0.2/24.
25318 * posix/gai.conf: Document new scope table defaults.
25320 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25323 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25324 for ftell. Compute offsets from write pointers instead.
25325 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25327 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25330 * libio/Makefile (tests): New test case tst-fseek.
25331 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25332 combination works in wide mode.
25333 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25334 state when the external buffer state changes.
25336 2012-09-27 David S. Miller <davem@davemloft.net>
25339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25340 pass reloc->r_addend in as the 'high' argument to
25341 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25345 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25347 * rt/tst-aio2.c: Include <pthread.h>.
25348 * rt/tst-aio3.c: Likewise.
25350 2012-09-27 Steve Ellcey <sellcey@mips.com>
25352 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25354 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25356 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25357 contents on [SHARED].
25359 2012-09-26 Marek Polacek <polacek@redhat.com>
25363 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25364 for C++ and GCC <4.3 as well as for non GCC compilers.
25366 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25370 2012-09-25 Roland McGrath <roland@hack.frob.com>
25372 * Makefile.in (all, install): Declare with .PHONY.
25373 Reported by Michael Hope <michael.hope@linaro.org>.
25375 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25377 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25378 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25380 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25382 (sydep_routines): Add the new and the internal functions.
25383 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25384 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25386 (GLIBC_2.17): Add the new function.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25388 (GLIBC_2.17): Likewise.
25389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25390 (GLIBC_2.17): Likewise.
25391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25392 (GLIBC_2.17): Likewise.
25393 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25395 2012-09-25 Alan Modra <amodra@gmail.com>
25397 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25398 Add release barrier before setting once_control to say
25399 initialisation is done. Add hints on lwarx. Use macro in
25401 (clear_once_control): Add release barrier.
25403 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25406 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25408 * math/s_clog10.c (__clog10): Likewise.
25409 * math/s_clog10f.c (__clog10f): Likewise.
25410 * math/s_clog10l.c (__clog10l): Likewise.
25411 * math/s_clogf.c (__clogf): Likewise.
25412 * math/s_clogl.c (__clogl): Likewise.
25413 * math/Makefile (libm-calls): Add x2y2m1.
25414 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25415 (__x2y2m1): Likewise.
25416 (__x2y2m1l): Likewise.
25417 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25418 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25421 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25422 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25423 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25424 * sysdeps/i386/fpu/libm-test-ulps: Update.
25425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25428 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25429 int as type of variable DEPTH.
25430 (glob): Use size_t instead of int as type of variables NEWCOUNT
25433 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25435 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25436 Add s_sincosf-sse2.
25437 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25438 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25439 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25440 macros for using routine as __sincosf_ia32.
25441 Use macro for function declaration and weak_alias.
25442 * sysdeps/i386/fpu/libm-test-ulps: Update.
25444 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25447 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25448 subnormal argument.
25449 * math/s_cexpf.c (__cexpf): Likewise.
25450 * math/s_csinf.c (__csinf): Likewise.
25451 * math/s_csinhf.c (__csinhf): Likewise.
25452 * math/s_ctanf.c (__ctanf): Likewise.
25453 * math/s_ctanhf.c (__ctanhf): Likewise.
25454 * math/s_ccosh.c (__ccoshf): Likewise.
25455 * math/s_cexp.c (__cexpl): Likewise.
25456 * math/s_csin.c (__csin): Likewise.
25457 * math/s_csinh.c (__csinh): Likewise.
25458 * math/s_ctan.c (__ctan): Likewise.
25459 * math/s_ctanh.c (ctanh): Likewise.
25460 * math/s_ccoshl.c (__ccoshl): Likewise.
25461 * math/s_cexpl.c (__cexpl): Likewise.
25462 * math/s_csinl.c (__csinl): Likewise.
25463 * math/s_csinhl.c (__csinhl): Likewise.
25464 * math/s_ctanl.c (__ctanl): Likewise.
25465 * math/s_ctanhl.c (__ctanhl): Likewise.
25467 2012-09-25 Joseph Myers <joseph@codesourcery.com>
25469 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25470 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25471 (_IO_off_t): Define to __off_t, not _G_off_t.
25472 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25473 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25474 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25475 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25476 type of __dummy and __dummy2 fields.
25477 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25478 (_G_ssize_t): Likewise.
25479 (_G_off_t): Likewise.
25480 (_G_pid_t): Likewise.
25481 (_G_uid_t): Likewise.
25482 (_G_wchar_t): Likewise.
25483 (_G_wint_t): Likewise.
25484 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25485 (_G_ssize_t): Likewise.
25486 (_G_off_t): Likewise.
25487 (_G_pid_t): Likewise.
25488 (_G_uid_t): Likewise.
25489 (_G_wchar_t): Likewise.
25490 (_G_wint_t): Likewise.
25491 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25492 (_G_ssize_t): Likewise.
25493 (_G_off_t): Likewise.
25494 (_G_pid_t): Likewise.
25495 (_G_uid_t): Likewise.
25496 (_G_wchar_t): Likewise.
25497 (_G_wint_t): Likewise.
25499 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25501 * malloc/arena.c: Include malloc-sysdep.h.
25502 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25503 is sufficient to shrink the heap or an unmap is needed.
25504 * sysdeps/generic/malloc-sysdep.h: New file. Define
25505 new function check_may_shrink_heap.
25506 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25507 new function check_may_shrink_heap.
25509 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25511 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25514 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25516 * catgets/test-gencat.sh: Add "set -e".
25517 * elf/tst-pathopt.sh: Likewise.
25518 * grp/tst_fgetgrent.sh: Likewise.
25519 * iconvdata/run-iconv-test.sh: Likewise.
25520 * intl/tst-gettext.sh: Likewise.
25521 * intl/tst-gettext2.sh: Likewise.
25522 * intl/tst-gettext4.sh: Likewise.
25523 * intl/tst-gettext6.sh: Likewise.
25524 * intl/tst-translit.sh: Likewise.
25525 * io/ftwtest-sh: Likewise.
25526 * libio/test-freopen.sh: Likewise.
25527 * malloc/tst-mtrace.sh: Likewise.
25528 * posix/globtest.sh: Likewise.
25529 * posix/tst-getconf.sh: Likewise.
25530 * posix/wordexp-tst.sh: Likewise.
25531 * stdio-common/tst-printf.sh: Likewise.
25532 * stdio-common/tst-unbputc.sh: Likewise.
25533 * stdlib/tst-fmtmsg.sh: Likewise.
25534 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25535 * catgets/Makefile: Do not specify -e option when running
25536 testsuite shell scripts.
25537 * elf/Makefile: Likewise.
25538 * grp/Makefile: Likewise.
25539 * iconvdata/Makefile: Likewise.
25540 * intl/Makefile: Likewise.
25541 * io/Makefile: Likewise.
25542 * libio/Makefile: Likewise.
25543 * malloc/Makefile: Likewise.
25544 * posix/Makefile: Likewise.
25545 * stdio-common/Makefile: Likewise.
25546 * stdlib/Makefile: Likewise.
25547 * sysdeps/x86_64/Makefile: Likewise.
25549 * io/ftwtest-sh: Add copyright header.
25550 * posix/globtest.sh: Likewise.
25551 * posix/tst-getconf.sh: Likewise.
25552 * posix/wordexp-tst.sh: Likewise.
25553 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25555 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25558 * Makeconfig (+link): Defined as $(+link-static) if
25559 $(build-shared) isn't yes.
25560 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25562 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25564 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25567 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25568 new chunk size with MALLOC_ALIGN_MASK.
25570 2012-09-24 Joseph Myers <joseph@codesourcery.com>
25573 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25575 (__printf_fphex): Determine rounding using get_rounding_mode and
25577 * stdio-common/tst-printf-round.c (struct hex_test): New
25579 (hex_tests): New variable.
25580 (test_hex_in_one_mode): New function.
25581 (do_test): Also run tests for hex float output.
25583 2012-09-21 Joseph Myers <joseph@codesourcery.com>
25585 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25586 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25587 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25588 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25589 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25590 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25591 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25592 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25594 2012-09-20 Joseph Myers <joseph@codesourcery.com>
25596 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25597 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25598 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25599 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25601 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25604 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25606 * elf/tst-rtld-load-self.sh: New test.
25607 * elf/Makefile: Run it.
25609 2012-09-18 Joseph Myers <joseph@codesourcery.com>
25611 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25612 (tst-writev-ENV): Remove.
25613 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25615 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25617 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25619 2012-09-17 Joseph Myers <joseph@codesourcery.com>
25621 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25623 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25625 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25626 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25627 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25630 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25633 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25634 * config.make.in (have-cpp-asm-debuginfo): Removed.
25635 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25636 * configure: Regenerated.
25638 2012-09-14 Joseph Myers <joseph@codesourcery.com>
25641 * stdio-common/printf_fp.c: Include <stdbool.h> and
25643 (___printf_fp): Determine rounding using get_rounding_mode and
25645 * stdio-common/tst-printf-round.c: New file.
25646 * stdio-common/Makefile (tests): Add tst-printf-round.
25647 (link-libm): New variable.
25648 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25650 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25653 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25654 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25656 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25659 2012-09-13 Joseph Myers <joseph@codesourcery.com>
25661 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25662 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25663 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25664 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25666 2012-09-12 Joseph Myers <joseph@codesourcery.com>
25669 * include/rounding-mode.h: New file.
25670 * sysdeps/generic/get-rounding-mode.h: Likewise.
25671 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25672 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25673 (MAX_VALUE): New macro.
25674 (MIN_VALUE): Likewise.
25675 (overflow_value): New function.
25676 (underflow_value): Likewise.
25677 (round_and_return): Use overflow_value and underflow_value to
25678 determine return values in overflow and underflow cases. Use
25679 round_away to determine rounding depending on rounding mode.
25680 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25681 determine return values in overflow and underflow cases.
25682 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25683 (struct test_results): New structure.
25684 (struct test): Use struct test_results to store expected results
25685 for all rounding modes.
25686 (TEST): Include expected results for all rounding modes.
25687 (test_in_one_mode): New function.
25688 (do_test): Use test_in_one_mode to compute and check results.
25689 Check results for all rounding modes.
25690 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25693 2012-12-09 Allan McRae <allan@archlinux.org>
25695 * sysdeps/i386/fpu/libm-test-ulps: Update
25697 2012-09-11 Joseph Myers <joseph@codesourcery.com>
25699 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25700 (_G_int32_t): Likewise.
25701 (_G_uint16_t): Likewise.
25702 (_G_uint32_t): Likewise.
25703 (_G_HAVE_BOOL): Likewise.
25704 (_G_HAVE_ATEXIT): Likewise.
25705 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25706 (_G_HAVE_IO_FILE_OPEN): Likewise.
25707 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25708 (_G_int32_t): Likewise.
25709 (_G_uint16_t): Likewise.
25710 (_G_uint32_t): Likewise.
25711 (_G_HAVE_BOOL): Likewise.
25712 (_G_HAVE_ATEXIT): Likewise.
25713 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25714 (_G_HAVE_IO_FILE_OPEN): Likewise.
25715 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25716 (_G_int32_t): Likewise.
25717 (_G_uint16_t): Likewise.
25718 (_G_uint32_t): Likewise.
25719 (_G_HAVE_BOOL): Likewise.
25720 (_G_HAVE_ATEXIT): Likewise.
25721 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25722 (_G_HAVE_IO_FILE_OPEN): Likewise.
25724 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25726 * csu/libc-tls.c: Update copyright years.
25728 2012-09-10 Joseph Myers <joseph@codesourcery.com>
25730 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25731 [!_G_USING_THUNKS]: Remove conditional code.
25732 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25733 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25735 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25736 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25737 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25738 (_G_VTABLE_LABEL_PREFIX): Likewise.
25739 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25740 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25741 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25742 (_G_VTABLE_LABEL_PREFIX): Likewise.
25743 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25744 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25745 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25746 (_G_VTABLE_LABEL_PREFIX): Likewise.
25747 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25749 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25751 * libio/Makefile: Include ../Makeconfig before tests.
25752 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25753 only if $(build-shared) is yes.
25755 * iconv/gconv_db.c: Update copyright years.
25757 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25759 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25760 unwind info if defined PIC. Fix special cases description.
25761 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25763 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25765 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25767 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25769 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25771 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25774 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25775 (LDLIBS-tst-chk4): This.
25776 (LDFLAGS-tst-chk5): Renamed to ...
25777 (LDLIBS-tst-chk5): This.
25778 (LDFLAGS-tst-chk6): Renamed to ...
25779 (LDLIBS-tst-chk6): This.
25780 (LDFLAGS-tst-lfschk4): Renamed to ...
25781 (LDLIBS-tst-lfschk4): This.
25782 (LDFLAGS-tst-lfschk5): Renamed to ...
25783 (LDLIBS-tst-lfschk5): This.
25784 (LDFLAGS-tst-lfschk6): Renamed to ...
25785 (LDLIBS-tst-lfschk6): This.
25787 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25788 on $(common-objpfx)soversions.mk.
25790 2012-09-07 Joseph Myers <joseph@codesourcery.com>
25793 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25796 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25798 * malloc/arena.c (arena_get_retry): New function that gets
25799 another arena for the caller to try its request on.
25800 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25801 current arena cannot fulfill the request.
25802 (__libc_memalign): Likewise.
25803 (__libc_memalign): Likewise.
25804 (__libc_pvalloc): Likewise.
25805 (__libc_calloc): Likewise.
25807 2012-09-05 John Tobey <john.tobey@gmail.com>
25810 * manual/arith.texi (Operations on Complex): Fix description
25811 of carg branch cut.
25813 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25816 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25820 * manual/memory.texi (Memory): Make order of menu items match
25823 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25825 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25826 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25827 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25829 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25831 * csu/libc-tls.c (static_dtv): Renamed to ...
25832 (_dl_static_dtv): This. Make it global.
25833 (_dl_initial_dtv): Removed.
25834 (__libc_setup_tls): Updated.
25835 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25836 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25839 2012-09-06 Petr Machata <pmachata@redhat.com>
25841 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25842 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25843 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25844 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25846 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25849 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25850 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25853 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25856 * Makeconfig (link-static-before-libc): Replace $(+prector)
25858 (link-static-after-libc): Replace $(+postctor) with
25860 (link-bounded): Replace $(+prector)/$(+postctor) with
25861 $(+prectorT)/$(+postctorT).
25862 (+prectorT): New macro.
25863 (+postctorT): Likewise.
25865 2012-09-06 Joseph Myers <joseph@codesourcery.com>
25867 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25868 (round_str): Handle values above the maximum for IBM long double
25870 * stdlib/tst-strtod-round.c (tests): Regenerated.
25872 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25874 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25876 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25877 zarch_nohighgprs around the zarch optimized routines.
25878 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25879 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25883 2012-09-05 David S. Miller <davem@davemloft.net>
25885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25887 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25888 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25889 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25890 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25893 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25895 * malloc/arena.c: Fold copyright years.
25896 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25898 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25900 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25902 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25904 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25906 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25908 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25909 change internal state upon failure.
25911 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
25913 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25914 * malloc/memusage.c (mmap): Likewise.
25915 (mmap64, mremap): Likewise. Adjust name in comment.
25917 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25919 * libio/fileops.c: Fix typos in comments.
25920 * libio/oldfileops.c: Likewise.
25921 * libio/wfileops.c: Likewise.
25923 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25926 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25927 (tst-malloc-usable-ENV): Set environment for test case.
25928 * malloc/hooks.c (malloc_check_get_size): New function to get
25930 * malloc/malloc.c (musable): Use malloc_check_get_size.
25931 * malloc/tst-malloc-usable.c: New test case.
25933 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25935 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25937 2012-09-05 Allan McRae <allan@archlinux.org>
25940 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25941 determine header location.
25942 * configure: Regenerated.
25944 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25946 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25948 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25949 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25951 (test): Regenerate.
25953 2012-09-04 David S. Miller <davem@davemloft.net>
25955 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25956 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25957 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25959 2012-09-04 Florian Weimer <fweimer@redhat.com>
25961 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25964 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25966 2012-09-04 Joseph Myers <joseph@codesourcery.com>
25969 * libio/iogetdelim.c: Include <limits.h>.
25970 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25971 + len + 1 would overflow.
25973 2012-09-03 Andreas Jaeger <aj@suse.de>
25975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25976 * sysdeps/i386/fpu/libm-test-ulps: Update.
25978 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25980 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25981 Add s_sinf-sse2, s_conf-sse2.
25983 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25984 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25985 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25986 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25988 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25989 for using routine as __sinf_ia32.
25990 Use macro for function declaration and weak_alias.
25991 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25992 for using routine as __cosf_ia32.
25993 Use macro for function declaration and weak_alias.
25995 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25996 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25998 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25999 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26002 * math/libm-test.inc (cos_test): Add more test cases.
26003 (sin_test): Likewise.
26004 (sincos_test): Likewise.
26006 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26008 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26009 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26011 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26013 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26016 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26017 first element of the GOT.
26018 (elf_machine_load_address): Return the difference between
26019 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26021 2012-09-01 Allan McRae <allan@archlinux.org>
26024 * configure.in (AWK): Require gawk version 3.0 or later.
26025 * configure: Regenerated.
26027 2012-09-01 Joseph Myers <joseph@codesourcery.com>
26029 * sysdeps/unix/sysv/linux/kernel-features.h
26030 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26031 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26032 [__NR_clock_getres]: Make code unconditional.
26033 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26034 (clock_getcpuclockid): Remove code left unreachable by removal of
26036 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26037 code unconditional.
26038 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26039 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26040 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26041 Make code unconditional.
26042 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26043 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26044 * sysdeps/unix/sysv/linux/clock_settime.c
26045 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26047 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26048 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26050 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26053 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26054 scripts/test-installation.pl.
26056 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26057 and $ld_so_version if it is set.
26059 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26062 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26063 failure if reading from procfs failed.
26064 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26066 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26068 * sysdeps/unix/sysv/linux/kernel-features.h
26069 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26070 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26071 Remove conditional code.
26072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26073 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26074 Remove conditional code.
26075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26076 * sysdeps/unix/sysv/linux/i386/fxstat.c
26077 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26079 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26080 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26082 * sysdeps/unix/sysv/linux/i386/lxstat.c
26083 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26085 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26086 Remove conditional code.
26087 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26088 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26089 Remove conditional code.
26090 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26091 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26092 <kernel-features.h>.
26093 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26095 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26096 Remove conditional code.
26097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26098 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26099 Remove conditional.
26101 2012-08-27 Mike Frysinger <vapier@gentoo.org>
26104 * NEWS: Add fixed bug number.
26106 2012-08-27 Joseph Myers <joseph@codesourcery.com>
26109 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26110 underflowing exponent in case of negative sign.
26111 * stdlib/tst-strtod-round-data: Add more tests.
26112 * stdlib/tst-strtod-round.c (tests): Regenerated.
26115 * stdlib/strtod_l.c (NDIG): Remove.
26116 (HEXNDIG): Likewise.
26117 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26118 smallest representable value.
26119 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26120 lie within an exact representation of 1/2 ulp of the result.
26121 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26123 (TENS_P9_IDX): Define unconditionally.
26124 (TENS_P9_SIZE): Likewise.
26125 (TENS_P10_IDX): Likewise.
26126 (TENS_P10_SIZE): Likewise.
26127 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26128 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26129 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26130 entries for 10^2^13 and 10^2^14.
26131 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26132 (TENS_P13_IDX): Define.
26133 (TENS_P13_SIZE): Likewise.
26134 (TENS_P14_IDX): Likewise.
26135 (TENS_P14_SIZE): Likewise.
26136 (_fpioconst_pow10): Change array size to
26137 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26139 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26140 1024]: Add entries for 10^2^13 and 10^2^14.
26141 [LAST_POW10 > _LAST_POW10]: Remove #error.
26142 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26143 (_fpioconst_pow10): Change array size to
26144 FPIOCONST_POW10_ARRAY_SIZE.
26145 * stdlib/gen-fpioconst.c: New file.
26146 * stdlib/gen-tst-strtod-round.c: Likewise.
26147 * stdlib/tst-strtod-round-data: Likewise.
26148 * stdlib/tst-strtod-round.c: Likewise.
26149 * stdlib/Makefile (tests): Add tst-strtod-round.
26152 * stdlib/strtod_l.c: Include <stdint.h>.
26153 (NDEBUG): Do not define.
26154 (round_and_return): Change EXPONENT parameter to type intmax_t.
26155 Rearrange calculations to avoid internal overflow possibilities.
26156 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26157 Rearrange calculations to avoid internal overflow possibilities.
26158 Assert that number fits inside MPNSIZE limbs.
26159 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26160 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26161 calculations and add assertions to avoid internal overflow
26162 possibilities. Add casts to avoid signed/unsigned operations.
26163 * stdlib/tst-strtod-overflow.c: New file.
26164 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26166 2012-08-25 Marek Polacek <polacek@redhat.com>
26168 * time/time.h: Fix some typos in comments.
26170 2012-08-23 Roland McGrath <roland@hack.frob.com>
26172 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26173 * posix/tst-rfc3484-2.c: Likewise.
26174 * posix/tst-rfc3484-3.c: Likewise.
26176 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26178 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26179 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26181 2012-08-23 Joseph Myers <joseph@codesourcery.com>
26183 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26184 #include of fxstatat64.c.
26186 2012-08-22 Roland McGrath <roland@hack.frob.com>
26188 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26189 * shadow/getspent_r.c: Likewise.
26190 * shadow/getspnam.c: Likewise.
26191 * shadow/getspnam_r.c: Likewise.
26192 * gshadow/getsgent.c: Likewise.
26193 * gshadow/getsgent_r.c: Likewise.
26194 * gshadow/getsgnam.c: Likewise.
26195 * gshadow/getsgnam_r.c: Likewise.
26196 * inet/getnetbyad.c: Likewise.
26197 * inet/getnetbyad_r.c: Likewise.
26198 * inet/getnetbynm.c: Likewise.
26199 * inet/getnetbynm_r.c: Likewise.
26200 * inet/getnetent.c: Likewise.
26201 * inet/getnetent_r.c: Likewise.
26202 * inet/getproto.c: Likewise.
26203 * inet/getproto_r.c: Likewise.
26204 * inet/getprtent.c: Likewise.
26205 * inet/getprtent_r.c: Likewise.
26206 * inet/getprtname.c: Likewise.
26207 * inet/getprtname_r.c: Likewise.
26208 * inet/getrpcbyname.c: Likewise.
26209 * inet/getrpcbyname_r.c: Likewise.
26210 * inet/getrpcbynumber.c: Likewise.
26211 * inet/getrpcbynumber_r.c: Likewise.
26212 * inet/getrpcent.c: Likewise.
26213 * inet/getrpcent_r.c: Likewise.
26214 * inet/getaliasent.c: Likewise.
26215 * inet/getaliasent_r.c: Likewise.
26216 * inet/getaliasname.c: Likewise.
26217 * inet/getaliasname_r.c: Likewise.
26218 * nscd/getgrgid_r.c: Likewise.
26219 * nscd/getgrnam_r.c: Likewise.
26220 * nscd/gethstbyad_r.c: Likewise.
26221 * nscd/gethstbynm3_r.c: Likewise.
26222 * nscd/getpwnam_r.c: Likewise.
26223 * nscd/getpwuid_r.c: Likewise.
26224 * nscd/getsrvbynm_r.c: Likewise.
26225 * nscd/getsrvbypt_r.c: Likewise.
26226 * nscd/gai.c: Likewise.
26228 * configure.in (build_nscd): New substituted variable, set
26229 by --disable-build-nscd and defaults to $use_nscd.
26230 * configure: Regenerated.
26231 * config.make.in (build-nscd): New substituted variable.
26232 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26233 Change conditional to require [$(build-nscd) = yes] as well.
26234 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26237 * configure.in (use_nscd): New substituted variable, set by
26238 --disable-nscd. If enabled, define USE_NSCD.
26239 * configure: Regenerated.
26240 * config.h.in: Add USE_NSCD.
26241 * config.make.in (use-nscd): New substituted variable.
26242 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26243 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26244 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26245 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26246 (CFLAGS-getgrnam_r.c): Likewise.
26247 (CFLAGS-initgroups.c): Likewise.
26248 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26249 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26251 * inet/getnetgrent_r.c
26252 (nscd_setnetgrent): New function, broken out of ...
26253 (setnetgrent): ... here. Call it.
26254 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26255 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26256 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26257 * nscd/Makefile (routines, aux): Move definitions after include of
26258 Makeconfig. Conditionalize on [$(use-nscd) != no].
26259 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26260 Conditionalize on [USE_NSCD].
26261 (is_nscd, nscd_init_cb): Likewise.
26262 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26263 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26264 * nss/nss_db/db-init.c: Likewise.
26265 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26267 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26268 (make_request): Use it.
26269 (cache_valid_p): New function.
26270 (__check_pf): Use it.
26271 * NEWS: Add item for --disable-nscd.
26273 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26275 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26276 to support sed >= 4.2.1-20-ga9bf076.
26277 * configure: Regenerated.
26279 2012-08-22 Roland McGrath <roland@hack.frob.com>
26281 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26282 Conditionalize whole body on [IREL].
26284 2012-08-22 Jeff Law <law@redhat.com>
26287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26288 if the family is PF_UNSPEC.
26290 2012-08-22 Mike Frysinger <vapier@gentoo.org>
26292 * Makerules (lib-version): Rename from V.
26293 (install-lib-nosubdir): Change V to lib-version.
26295 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26298 * powerpc32/power6/wcschr.c: New file.
26299 * powerpc32/power6/wcscpy.c: New file.
26300 * powerpc32/power6/wcsrchr.c: New file.
26301 * powerpc64/power6/wcschr.c: New file.
26302 * powerpc64/power6/wcscpy.c: New file.
26303 * powerpc64/power6/wcsrchr.c: New file.
26305 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26307 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26308 (two_way_short_needle): Use it.
26309 * string/strstr.c (AVAILABLE1_USES_J): Define.
26310 * string/strcasestr.c: Likewise.
26312 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26314 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26317 * NEWS: Add an entry.
26318 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26319 define their defaults.
26320 (two_way_short_needle): Detect end-of-string on-the-fly.
26321 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26322 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26323 * string/bug-strcasestr1.c: New test.
26324 * string/Makefile: Run it.
26326 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26329 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26330 the first character.
26332 2012-08-21 Roland McGrath <roland@hack.frob.com>
26334 * csu/elf-init.c (__libc_csu_irel): Function removed.
26335 * csu/libc-start.c (apply_irel): New function.
26336 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26338 2012-08-21 Joseph Myers <joseph@codesourcery.com>
26340 * sysdeps/unix/sysv/linux/kernel-features.h
26341 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26342 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26343 <kernel-features.h>.
26344 [__NR_fadvise64_64]: Make code unconditional.
26345 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26346 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26347 !__NR_fadvise64_64)]: Likewise.
26348 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26349 !__NR_fadvise64_64))]: Likewise.
26350 [__NR_fadvise64]: Make code unconditional.
26351 [!__NR_fadvise64]: Remove conditional code.
26352 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26353 <kernel-features.h>.
26354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26359 not include <kernel-features.h>.
26360 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26362 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26364 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26365 include <kernel-features.h>.
26366 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26368 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26371 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26374 slight instruction rearrangements per scrollpipe analysis.
26375 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26377 2012-08-20 Roland McGrath <roland@hack.frob.com>
26379 * manual/syslog.texi (syslog; vsyslog, closelog):
26380 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26381 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26383 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26384 DSOCAPS to match condition on defining it.
26386 2012-08-20 Joseph Myers <joseph@codesourcery.com>
26388 * sysdeps/unix/sysv/linux/kernel-features.h
26389 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26391 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26392 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26394 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26395 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26397 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26398 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26400 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26401 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26403 * sysdeps/unix/sysv/linux/kernel-features.h
26404 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26405 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26407 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26408 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26409 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26410 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26411 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26412 Make code unconditional.
26413 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26414 (__mmap64) [!__NR_mmap2]: Likewise.
26415 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26416 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26417 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26418 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26419 [__NR_mmap2]: Make code unconditional.
26420 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26421 (__mmap64) [!__NR_mmap2]: Likewise.
26423 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26425 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26427 2012-08-18 Andreas Jaeger <aj@suse.de>
26429 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26431 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26433 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26434 * include/unistd.h (__have_sock_cloexec): Likewise.
26435 (__have_pipe2): Likewise.
26436 (__have_dup3): Likewise.
26438 2012-08-18 Mike Frysinger <vapier@gentoo.org>
26441 * include/unistd.h (__have_pipe2): Change define into an extern int.
26442 (__have_dup3): Likewise.
26443 * socket/have_sock_cloexec.c: Include fcntl.h.
26444 (__have_pipe2): New variable.
26445 (__have_dup3): Likewise.
26447 2012-08-17 Mike Frysinger <vapier@gentoo.org>
26449 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26451 2012-08-17 Marek Polacek <polacek@redhat.com>
26453 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26454 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26456 2012-08-17 Roland McGrath <roland@hack.frob.com>
26458 * configure.in: Add AC_SUBST for sysheaders.
26459 * configure: Regenerated.
26460 * config.make.in (sysheaders): New substituted variable.
26462 * sysdeps/unix/mkfifo.c: Moved ...
26463 * sysdeps/posix/mkfifo.c: ... here.
26464 * sysdeps/unix/mkfifoat.c: Moved ...
26465 * sysdeps/posix/mkfifoat.c: ... here.
26467 * sysdeps/unix/utime.c: Moved ...
26468 * sysdeps/posix/utime.c: ... here.
26470 * sysdeps/unix/time.c: Moved ...
26471 * sysdeps/posix/time.c: ... here.
26472 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26473 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26475 * sysdeps/unix/nice.c: Moved ...
26476 * sysdeps/posix/nice.c: ... here.
26478 * sysdeps/unix/alarm.c: Moved ...
26479 * sysdeps/posix/alarm.c: ... here.
26481 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26483 2012-08-17 Jeff Law <law@redhat.com>
26485 * intl/Makefile (codeset_mo): New variable.
26486 ($(codeset_mo)): New target.
26487 (tst-codeset.out): Depend on that. Remove explicit rule.
26488 (tst-gettext3.out, tst-gettext5.out): Likewise.
26489 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26490 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26491 * intl/tst-codeset.sh: Remove.
26492 * intl/tst-gettext3.sh: Likewise.
26493 * intl/tst-gettext5.sh: Likewise.
26495 2012-08-17 Roland McGrath <roland@hack.frob.com>
26497 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26498 * sysdeps/unix/syscalls.list: ... here.
26500 * sysdeps/posix/getaddrinfo.c
26501 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26502 (gaiconf_init, gaiconf_reload): Use them.
26503 [!_STATBUF_ST_NSEC]
26504 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26505 Define using time_t rather than struct timespec.
26507 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26508 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26510 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26512 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26513 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26516 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26517 __libc_cleanup_push argument.
26519 * bits/param.h: New file.
26520 * misc/sys/param.h: New file.
26521 * include/sys/param.h: New file.
26522 * misc/Makefile (headers): Add bits/param.h.
26523 * sysdeps/generic/sys/param.h: File removed.
26524 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26525 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26526 * sysdeps/mach/hurd/bits/param.h: New file.
26527 * sysdeps/mach/hurd/sys/param.h: File removed.
26529 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26532 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26534 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26535 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26538 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26539 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26540 rather than -D_IO_MTSAFE_IO conditionally.
26541 * stdio-common/Makefile (CPPFLAGS): Likewise.
26542 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26543 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26544 Use $(libio-mtsafe).
26545 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26546 of -D_IO_MTSAFE_IO.
26547 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26548 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26549 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26550 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26551 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26552 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26553 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26554 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26555 (CFLAGS-fread_u_chk.c): Likewise.
26556 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26557 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26558 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26559 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26560 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26561 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26562 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26563 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26564 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26566 * libio/Makefile: Test [$(libc-reentrant) = yes]
26567 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26570 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26571 * sysdeps/pthread/configure: File removed.
26572 * sysdeps/pthread/Makeconfig: New file.
26573 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26574 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26576 2012-08-16 Gary Benson <gbenson@redhat.com>
26578 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26579 unmapping the first object in a namespace.
26581 2012-08-16 Roland McGrath <roland@hack.frob.com>
26583 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26584 (__internal_setnetgrent): ... this. Add internal_function to
26585 definition. Add libc_hidden_def.
26586 (setnetgrent): Update caller.
26587 (internal_endnetgrent): Renamed to ...
26588 (__internal_endnetgrent): ... this. Add internal_function to
26589 definition. Add libc_hidden_def.
26590 (endnetgrent): Update caller.
26591 (internal_getnetgrent_r): Renamed to ...
26592 (__internal_getnetgrent_r): ... this. Add internal_function to
26593 definition. Add libc_hidden_def.
26594 (__getnetgrent_r): Update caller.
26595 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26597 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26599 * stdlib/longlong.h: Update from GCC.
26601 2012-08-16 Roland McGrath <roland@hack.frob.com>
26603 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26604 on _QL, which is set by umul_ppmm but never used.
26605 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26606 variables, which are set by GMP macros but never used.
26607 * stdio-common/_itowa.c (_itowa): Likewise.
26608 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26609 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26611 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26613 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26614 struct La_sh_regs is not constant.
26615 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26616 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26617 and struct La_sparc64_regs are not constant.
26619 2012-08-16 Joseph Myers <joseph@codesourcery.com>
26621 * sysdeps/unix/sysv/linux/kernel-features.h
26622 (__ASSUME_POSIX_TIMERS): Remove.
26623 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26625 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26626 Make code unconditional.
26627 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26628 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26629 Make code unconditional.
26630 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26631 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26632 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26633 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26634 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26635 Make code unconditional.
26636 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26637 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26638 (__libc_missing_posix_timers): Remove.
26640 2012-08-15 Roland McGrath <roland@hack.frob.com>
26642 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26643 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26645 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26647 * elf/dl-sym.c: Include <stdlib.h>.
26649 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26650 constants, which avoids warnings in 32-bit builds.
26652 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26653 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26655 * misc/lseek.c: File moved to ...
26656 * io/lseek.c: ... here.
26658 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26660 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26661 shifting LEN more than 31 bits at once.
26663 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26666 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26667 segmentation fault for a case of two empty input strings.
26668 * string/test-strncasecmp.c (check1): Renamed to...
26669 (bz12205): ...this.
26670 (bz14195): Add new testcase for two empty input strings and N > 0.
26671 (test_main): Call new testcase, adapt for renamed function.
26673 2012-08-15 Andreas Jaeger <aj@suse.de>
26676 * crypt/md5test2.c: New test, based on test supplied by Serge
26677 Belyshev <belyshev@depni.sinp.msu.ru>.
26678 * crypt/Makefile (xtests): Add md5test-giant..
26679 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26681 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26684 * crypt/md5.c (md5_process_block): Don't assume the buffer
26685 length is less than 2**32.
26686 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26687 length is less than 2**64.
26689 2012-08-15 Roland McGrath <roland@hack.frob.com>
26691 * string/str-two-way.h: Include <sys/param.h>.
26692 (MAX): Macro removed.
26694 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26695 Move #define and #undef of memmove to just before and after
26696 including <string.h>.
26698 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26699 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26700 and after including <string.h>. Move declarations of
26701 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26702 to before #include "string/memmove.c".
26704 * include/dirent.h: Declare __getdirentries.
26706 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26707 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26709 2012-08-14 Mike Frysinger <vapier@gentoo.org>
26711 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26712 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26713 * sysdeps/i386/configure: Regenerated.
26714 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26715 STABS_CURRENT_FILE, and STABS_FUN.
26716 (END): Remove call to STABS_FUN_END.
26717 (STABS_CURRENT_FILE1): Delete.
26718 (STABS_CURRENT_FILE): Likewise.
26719 (STABS_FUN): Likewise.
26720 (STABS_FUN_END): Likewise.
26721 (STABS_FUN2): Likewise.
26722 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26723 * sysdeps/x86_64/configure: Regenerated.
26725 2012-08-14 Roland McGrath <roland@hack.frob.com>
26727 * elf/dl-open.c: Include <atomic.h>.
26728 * elf/dl-lookup.c: Likewise.
26730 2012-08-14 Joseph Myers <joseph@codesourcery.com>
26732 * sysdeps/unix/sysv/linux/kernel-features.h
26733 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26734 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26736 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26738 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26739 condition on __ASSUME_CLONE_THREAD_FLAGS.
26741 2012-08-14 Andreas Jaeger <aj@suse.de>
26743 * sysdeps/i386/fpu/libm-test-ulps: Update.
26745 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26747 * include/atomic.h (atomic_exchange_and_add): Split into ...
26748 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26751 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26755 2012-08-13 Jeff Law <law@redhat.com>
26757 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26758 null byte in the output string.
26760 2012-08-10 Joseph Myers <joseph@codesourcery.com>
26762 * sysdeps/unix/sysv/linux/kernel-features.h
26763 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26764 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26765 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26766 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26767 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26768 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26769 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26771 2012-08-09 Jeff Law <law@redhat.com>
26774 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26775 When avoid_arena is set, don't retry in the that arena. Pick the
26776 next one, whatever it might be.
26777 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26778 (arena_lock): Pass in new parameter to arena_get2.
26779 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26781 (__libc_malloc): Unify retrying after main arena failure with
26782 __libc_memalign version.
26783 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26785 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26788 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26789 to __redirect_strstr.
26790 (__strstr_sse42): Use typeof __redirect_strstr.
26791 (__strstr_ia32): Likewise.
26792 (__libc_strstr): New prototype.
26793 (strstr): Renamed to ...
26794 (__libc_strstr): This.
26795 (strstr): New strong alias of __libc_strstr.
26796 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26797 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26800 (__libc_time): New prototype.
26801 (time_ifunc): Replace time with __libc_time.
26802 (time): New strong alias and hidden definition of __libc_time.
26803 (__GI_time): Remove strong alias.
26804 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26805 Include <stddef.h>.
26806 (memmove): Redefined to __redirect_memmove.
26807 (__memmove_sse2): Use typeof __redirect_memmove.
26808 (__memmove_ssse3): Likewise.
26809 (__memmove_ssse3_back): Likewise.
26810 (__libc_memmove): New prototype.
26811 (memmove): Renamed to ...
26812 (__libc_memmove): This.
26813 (memmove): New strong alias of __libc_memmove.
26815 2012-08-08 Mark Salter <msalter@redhat.com>
26818 (R_MN10300_TLS_GD): Define.
26819 (R_MN10300_TLS_LD): Likewise.
26820 (R_MN10300_TLS_LDO): Likewise.
26821 (R_MN10300_TLS_GOTIE): Likewise.
26822 (R_MN10300_TLS_IE): Likewise.
26823 (R_MN10300_TLS_LE): Likewise.
26824 (R_MN10300_TLS_DTPMOD): Likewise.
26825 (R_MN10300_TLS_DTPOFF): Likewise.
26826 (R_MN10300_TLS_TPOFF): Likewise.
26827 (R_MN10300_SYM_DIFF): Likewise.
26828 (R_MN10300_ALIGN): Likewise.
26829 (R_MN10300_NUM): Update.
26831 2012-08-08 Joseph Myers <joseph@codesourcery.com>
26833 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26836 2012-08-08 Roland McGrath <roland@hack.frob.com>
26838 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26840 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26841 sysdeps/unix -> sysdeps/posix move.
26842 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26844 2012-08-07 Allan McRae <allan@archlinux.org>
26847 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26848 (SUNOS_CPP): Likewise.
26849 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26851 (open_input): Call CPP using execvp.
26853 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26855 * sysdeps/unix/sysv/linux/kernel-features.h
26856 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26857 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26858 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26859 (__ASSUME_WAITID_SYSCALL): Likewise.
26860 * sysdeps/unix/sysv/linux/dl-execstack.c
26861 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26862 code unconditional.
26863 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26865 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26866 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26867 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26869 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26871 [__ASSUME_WAITID_SYSCALL]: Likewise.
26872 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26874 2012-08-07 Roland McGrath <roland@hack.frob.com>
26876 * sysdeps/unix/closedir.c: Renamed to ...
26877 * sysdeps/posix/closedir.c: ... here.
26878 * sysdeps/unix/dirfd.c: Renamed to ...
26879 * sysdeps/posix/dirfd.c: ... here.
26880 * sysdeps/unix/dirstream.h: Renamed to ...
26881 * sysdeps/posix/dirstream.h: ... here.
26882 * sysdeps/unix/fdopendir.c: Renamed to ...
26883 * sysdeps/posix/fdopendir.c: ... here.
26884 * sysdeps/unix/opendir.c: Renamed to ...
26885 * sysdeps/posix/opendir.c: ... here.
26886 * sysdeps/unix/readdir.c: Renamed to ...
26887 * sysdeps/posix/readdir.c: ... here.
26888 * sysdeps/unix/readdir_r.c: Renamed to ...
26889 * sysdeps/posix/readdir_r.c: ... here.
26890 * sysdeps/unix/rewinddir.c: Renamed to ...
26891 * sysdeps/posix/rewinddir.c: ... here.
26892 * sysdeps/unix/seekdir.c: Renamed to ...
26893 * sysdeps/posix/seekdir.c: ... here.
26894 * sysdeps/unix/telldir.c: Renamed to ...
26895 * sysdeps/posix/telldir.c: ... here.
26896 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26897 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26898 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26899 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26901 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26902 * bits/fcntl.h: ... here.
26904 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26906 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26907 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26908 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26909 (struct flock): Move l_start, l_len to the beginning.
26910 Use __pid_t for l_pid.
26911 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26912 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26913 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26914 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26915 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26916 [__USE_LARGEFILE64] (struct flock64): New type.
26917 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26919 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26920 * bits/dirent.h: ... here.
26922 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26923 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26925 2012-08-07 Joseph Myers <joseph@codesourcery.com>
26927 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26928 Change from 2.6.0 to 2.6.16.
26929 * sysdeps/unix/sysv/linux/configure: Regenerated.
26930 * sysdeps/unix/sysv/linux/kernel-features.h
26931 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26932 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26934 (__ASSUME_UTIMES): Likewise.
26935 (__ASSUME_CLONE_STOPPED): Remove.
26936 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26937 architectures, not kernel version.
26938 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26939 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26940 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26941 (__ASSUME_WAITID_SYSCALL): Likewise.
26942 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26943 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26944 * README: State 2.6.16 as minimum Linux kernel version. Do not
26945 refer to older versions.
26947 2012-08-06 Roland McGrath <roland@hack.frob.com>
26949 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26950 Define alphasort64 as an alias.
26951 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26952 Define versionsort64 as an alias.
26953 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26954 Define scandir64 as an alias.
26955 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26956 Define scandirat64 as an alias.
26957 * dirent/alphasort64.c (alphasort64):
26958 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26959 * dirent/versionsort64.c: Likewise.
26960 * dirent/scandir64.c: Likewise.
26961 * dirent/scandirat64.c: Likewise.
26962 * sysdeps/wordsize-64/alphasort.c: File removed.
26963 * sysdeps/wordsize-64/alphasort64.c: File removed.
26964 * sysdeps/wordsize-64/scandir.c: File removed.
26965 * sysdeps/wordsize-64/scandir64.c: File removed.
26966 * sysdeps/wordsize-64/scandirat.c: File removed.
26967 * sysdeps/wordsize-64/scandirat64.c: File removed.
26968 * sysdeps/wordsize-64/versionsort.c: File removed.
26969 * sysdeps/wordsize-64/versionsort64.c: File removed.
26970 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26971 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26972 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26973 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26974 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26975 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26976 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26977 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26979 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26981 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26983 [defined __arch64__ || defined __sparcv9]
26984 (__INO_T_MATCHES_INO64_T): New macro.
26985 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26986 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26987 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26988 * sysdeps/unix/sysv/linux/bits/dirent.h
26989 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26990 (_DIRENT_MATCHES_DIRENT64): New macro.
26992 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26993 Define lockf64 as an alias.
26994 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26995 Define fseeko64 as an alias.
26996 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26997 Define ftello64 as an alias.
26998 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26999 Define _IO_fgetpos64 and fgetpos64 as aliases.
27000 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27001 Define _IO_fsetpos64 and fsetpos64 as aliases.
27002 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27003 Conditionalize body on this.
27004 * libio/fseeko64.c: Likewise.
27005 * libio/ftello64.c: Likewise.
27006 * libio/iofgetpos64.c: Likewise.
27007 * libio/iofsetpos64.c: Likewise.
27008 * sysdeps/wordsize-64/lockf.c: File removed.
27009 * sysdeps/wordsize-64/lockf64.c: File removed.
27010 * sysdeps/wordsize-64/fseeko.c: File removed.
27011 * sysdeps/wordsize-64/fseeko64.c: File removed.
27012 * sysdeps/wordsize-64/ftello.c: File removed.
27013 * sysdeps/wordsize-64/ftello64.c: File removed.
27014 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27015 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27016 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27017 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27018 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27019 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27020 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27021 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27022 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27023 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27024 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27025 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27026 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27027 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27029 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27031 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27032 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27033 [defined __arch64__ || defined __sparcv9]
27034 (__OFF_T_MATCHES_OFF64_T): New macro.
27035 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27036 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27038 (__OFF_T_MATCHES_OFF64_T): New macro.
27040 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27042 * stdlib/secure-getenv.c (__secure_getenv): Replace
27043 GLIBC_2_16 with GLIBC_2_17.
27045 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27047 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27048 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27050 2012-08-03 David S. Miller <davem@davemloft.net>
27052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27054 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27056 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27058 (__ASSUME_CORRECT_SI_PID): Likewise.
27059 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27060 (__ASSUME_TMPFS_NAME): Likewise.
27061 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27062 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27063 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27064 (HAVE_AUX_SECURE): Make definition unconditional.
27065 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27066 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27068 2012-08-03 Roland McGrath <roland@hack.frob.com>
27070 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27071 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27072 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27073 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27074 __eloop_threshold instead of SYMLOOP_MAX.
27076 * sysdeps/generic/eloop-threshold.h: New file.
27077 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27079 * elf/chroot_canon.c (chroot_canon): Likewise.
27081 2012-08-03 Joseph Myers <joseph@codesourcery.com>
27084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27085 Change to 2.6.0 everywhere.
27086 * sysdeps/unix/sysv/linux/configure: Regenerated.
27087 * sysdeps/unix/sysv/linux/kernel-features.h
27088 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27089 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27091 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27092 (__ASSUME_FUTEX_REQUEUE): Remove.
27093 (__ASSUME_STATFS64): Define unconditionally.
27094 (__ASSUME_AT_SECURE): Likewise.
27095 (__ASSUME_CORRECT_SI_PID): Likewise.
27096 (__ASSUME_TGKILL): Define without depending on kernel version for
27098 (__ASSUME_UTIMES): Likewise.
27099 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27101 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27102 (__ASSUME_TMPFS_NAME): Likewise.
27103 * README: Update reference to Linux kernel versions.
27105 2012-08-02 Marek Polacek <polacek@redhat.com>
27108 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27109 libc_cv_asm_type_prefix with %.
27110 * configure: Regenerated.
27111 * include/libc-symbols.h: Remove comment about
27112 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27113 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27114 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27115 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27116 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27117 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27118 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27119 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27120 * elf/tst-unique2mod1.c: Likewise.
27121 * elf/tst-unique1mod2.c: Likewise.
27122 * elf/tst-unique1mod1.c: Likewise.
27123 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27124 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27125 Replace ASM_TYPE_DIRECTIVE with .type.
27126 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27127 * sysdeps/i386/sysdep.h: Likewise.
27128 * sysdeps/x86_64/sysdep.h: Likewise.
27129 * sysdeps/sh/sysdep.h: Likewise.
27130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27131 Do not define ASM_TYPE_DIRECTIVE.
27132 * sysdeps/powerpc/sysdep.h: Likewise.
27133 * sysdeps/powerpc/powerpc32/sysdep.h:
27134 Replace ASM_TYPE_DIRECTIVE with .type.
27135 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27136 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27137 * sysdeps/i386/fpu/e_powf.S: Likewise.
27138 * sysdeps/i386/fpu/e_expl.S: Likewise.
27139 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27140 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27141 * sysdeps/i386/fpu/e_pow.S: Likewise.
27142 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27143 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27144 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27145 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27146 * sysdeps/i386/fpu/e_log2.S: Likewise.
27147 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27148 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27149 * sysdeps/i386/fpu/e_powl.S: Likewise.
27150 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27151 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27152 * sysdeps/i386/fpu/e_logl.S: Likewise.
27153 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27154 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27155 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27156 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27157 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27158 * sysdeps/i386/fpu/e_log.S: Likewise.
27159 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27160 * sysdeps/i386/fpu/e_logf.S: Likewise.
27161 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27162 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27163 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27164 * sysdeps/i386/fpu/e_log10.S: Likewise.
27165 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27166 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27167 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27168 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27169 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27170 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27171 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27172 * sysdeps/i386/i686/strtok.S: Likewise.
27173 * sysdeps/i386/i386-mcount.S: Likewise.
27174 * sysdeps/i386/strtok.S: Likewise.
27175 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27176 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27178 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27179 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27180 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27181 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27182 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27183 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27184 * sysdeps/x86_64/_mcount.S: Likewise.
27185 * sysdeps/x86_64/strtok.S: Likewise.
27186 * sysdeps/sh/_mcount.S: Likewise.
27188 2012-08-01 Roland McGrath <roland@hack.frob.com>
27190 * libio/iofopen.c: Include <fcntl.h>.
27191 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27192 (_IO_fopen64, fopen64): Define as aliases.
27193 * libio/iofopen64.c: Include <fcntl.h>.
27194 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27195 Conditionalize body on this.
27196 * sysdeps/wordsize-64/iofopen.c: File removed.
27197 * sysdeps/wordsize-64/iofopen64.c: File removed.
27199 2012-08-01 Marek Polacek <polacek@redhat.com>
27201 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27202 Use dlfcn directly instead of a variable.
27203 (binfmt-subdir): Do not define.
27206 2012-08-01 Joseph Myers <joseph@codesourcery.com>
27208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27209 Remove all definitions.
27210 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27211 <kernel-features.h>.
27212 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27213 (miss_F_GETOWN_EX): Remove all definitions.
27214 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27216 [!__ASSUME_FCNTL64]: Remove conditional code.
27217 [__ASSUME_FCNTL64]: Make code unconditional.
27218 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27219 <kernel-features.h>.
27220 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27221 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27222 (lockf64) [__NR_fcntl64]: Make code unconditional.
27223 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27225 * sysdeps/unix/sysv/linux/kernel-features.h
27226 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27227 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27228 Make code unconditional.
27229 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27230 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27232 [__NR_vfork]: Make code unconditional.
27233 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27234 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27236 [__NR_vfork]: Make code unconditional.
27237 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27238 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27240 2012-08-01 Roland McGrath <roland@hack.frob.com>
27242 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27243 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27245 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27246 Define mkstemp64 as an alias.
27247 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27248 Define mkstemps64 as an alias.
27249 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27250 Define mkostemp64 as an alias.
27251 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27252 Define mkostemps64 as an alias.
27253 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27254 Conditionalize body on this.
27255 * misc/mkostemp64.c: Likewise.
27256 * misc/mkostemps64.c: Likewise.
27257 * misc/mkstemps64.c: Likewise.
27258 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27259 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27260 * sysdeps/wordsize-64/mkostemp.c: File removed.
27261 * sysdeps/wordsize-64/mkstemp.c: File removed.
27262 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27263 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27264 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27265 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27268 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27269 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27270 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27271 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27273 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27274 compat_symbol macros from <shlib-compat.h> rather than the underlying
27275 default_symbol_version and symbol_version macros, so that DEFAULT
27276 lines in shlib-versions are respected.
27277 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27279 2012-08-01 Florian Weimer <fweimer@redhat.com>
27281 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27282 Declare with warn_unused_result.
27283 (setgid, setregid, setegid, setresgid): Likewise.
27284 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27286 * WUR-REPORT: Remove set*id functions.
27288 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27290 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27292 2012-07-31 Roland McGrath <roland@hack.frob.com>
27295 * include/sys/socket.h (__libc_accept, __libc_accept4):
27296 Add attribute_hidden.
27297 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27299 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27301 * inet/getnetgrent_r.c (setup): Likewise.
27303 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27305 2012-07-31 David S. Miller <davem@davemloft.net>
27307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27309 2012-07-31 Joseph Myers <joseph@codesourcery.com>
27312 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27313 value between 1.0 and 2.0 and smaller part has absolute value less
27315 * math/s_clog10.c (__clog10): Likewise.
27316 * math/s_clog10f.c (__clog10f): Likewise.
27317 * math/s_clog10l.c (__clog10l): Likewise.
27318 * math/s_clogf.c (__clogf): Likewise.
27319 * math/s_clogl.c (__clogl): Likewise.
27320 * math/libm-test.inc (clog_test): Add more tests.
27321 (clog10_test): Likewise.
27322 * sysdeps/i386/fpu/libm-test-ulps: Update.
27323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27325 2012-07-31 Florian Weimer <fweimer@redhat.com>
27327 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27328 Exit with zero in case no suitable GID is found, and write a
27329 message to standard error.
27331 2012-07-30 Roland McGrath <roland@hack.frob.com>
27333 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27335 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27336 (MAXPATHLEN): Removed.
27337 (NOGROUP, NODEV): New macros.
27338 (setbit, clrbit, isset, isclr): New macros.
27339 (howmany, roundup, powerof2): New macros.
27340 (DEV_BSIZE): New macro.
27342 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27343 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27345 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27346 definition on [!__NO_LONG_DOUBLE_MATH].
27348 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27349 PTR_MANGLE and PTR_DEMANGLE.
27351 * socket/accept4.c (accept4): Rename to __libc_accept4.
27352 Define accept4 as a weak alias.
27354 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27355 on [_DIRENT_HAVE_D_TYPE].
27356 * io/ftw.c (ftw_dir): Likewise.
27358 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27360 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27362 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27363 Use the BSD numbers rather than the arbitrary ones we had.
27364 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27365 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27366 (SIGXCPU, SIGXFSZ): New macros.
27369 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27370 initializer on [_LIBC_REENTRANT].
27372 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27373 definitions inside [_POSIX_MAPPED_FILES].
27375 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27377 * dirent/opendir.c: Include <fcntl.h>.
27379 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27380 (__libc_getspecific): Likewise.
27381 (__libc_key_create): Likewise.
27383 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27384 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27385 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27386 (tmpfile64): Define as alias.
27387 * sysdeps/wordsize-64/tmpfile.c: File removed.
27388 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27389 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27390 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27392 * stdio-common/vfscanf.c: Include <stdbool.h>.
27393 * nss/makedb.c: Likewise.
27394 * stdio-common/_i18n_number.h: Likewise.
27395 * argp/argp-help.c: Likewise.
27396 * posix/wordexp.c: Likewise.
27397 * sysdeps/posix/spawni.c: Likewise.
27398 * nss/nss_files/files-initgroups.c: Likewise.
27399 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27400 * nss/nss_files/files-initgroups.c: Likewise.
27401 * nss/nss_db/db-netgrp.c: Likewise.
27402 * nss/nss_db/db-initgroups.c: Likewise.
27403 * io/fchmodat.c: Include <sys/stat.h>.
27405 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27406 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27408 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27411 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27412 Add multiple inclusion protection.
27414 2012-07-27 David S. Miller <davem@davemloft.net>
27416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27418 2012-07-27 Gary Benson <gbenson@redhat.com>
27421 * elf/rtld.c: Include <stap-probe.h>.
27422 (dl_main): Added static probes "init_start" and "init_complete".
27423 * elf/dl-load.c: Include <stap-probe.h>.
27424 (lose): Take new parameter "nsid".
27425 Added static probe "map_failed".
27426 (_dl_map_object_from_fd): Pass namespace id to lose.
27427 Added static probe "map_start".
27428 (open_verify): Pass namespace id to lose.
27429 * elf/dl-open.c: Include <stap-probe.h>.
27430 (dl_open_worker) Added static probes "map_complete", "reloc_start"
27431 and "reloc_complete".
27432 * elf/dl-close.c: Include <stap-probe.h>.
27433 (_dl_close_worker): Added static probes "unmap_start" and
27435 * elf/rtld-debugger-interface.txt: New file documenting the above.
27437 2012-07-26 Roland McGrath <roland@hack.frob.com>
27439 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27440 rather than a string variable.
27441 * sunrpc/rpc_main.c (h_output): Likewise.
27442 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27444 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
27446 * inet/check_native.c: New file.
27448 2012-07-26 Joseph Myers <joseph@codesourcery.com>
27451 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27452 if larger part has absolute value 1.0.
27453 * math/s_clog10.c (__clog10): Likewise.
27454 * math/s_clog10f.c (__clog10f): Likewise.
27455 * math/s_clog10l.c (__clog10l): Likewise.
27456 * math/s_clogf.c (__clogf): Likewise.
27457 * math/s_clogl.c (__clogl): Likewise.
27458 * math/libm-test.inc (clog_test): Add more tests.
27459 (clog10_test): Likewise.
27460 * sysdeps/i386/fpu/libm-test-ulps: Update.
27461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27463 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27464 (pltexit): Likewise.
27465 (La_regs): Likewise.
27466 (La_retval): Likewise.
27467 (int_retval): Likewise.
27468 Update #error for removed macros to refer only to definitions in
27470 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27472 (pltexit): Likewise.
27473 (La_regs): Likewise.
27474 (La_retval): Likewise.
27475 (int_retval): Likewise.
27476 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27478 (pltexit): Likewise.
27479 (La_regs): Likewise.
27480 (La_retval): Likewise.
27481 (int_retval): Likewise.
27482 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27484 (pltexit): Likewise.
27485 (La_regs): Likewise.
27486 (La_retval): Likewise.
27487 (int_retval): Likewise.
27488 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27490 (pltexit): Likewise.
27491 (La_regs): Likewise.
27492 (La_retval): Likewise.
27493 (int_retval): Likewise.
27494 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27496 (pltexit): Likewise.
27497 (La_regs): Likewise.
27498 (La_retval): Likewise.
27499 (int_retval): Likewise.
27500 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27502 (pltexit): Likewise.
27503 (La_regs): Likewise.
27504 (La_retval): Likewise.
27505 (int_retval): Likewise.
27506 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27507 macro definitions in tst-audit.h.
27508 * sysdeps/i386/tst-audit.h: New file.
27509 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27510 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27511 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27512 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27513 * sysdeps/sh/tst-audit.h: Likewise.
27514 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27515 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27516 * sysdeps/x86_64/tst-audit.h: Likewise.
27518 2012-07-26 Andreas Jaeger <aj@suse.de>
27520 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27523 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27524 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27525 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27527 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27528 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27529 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27531 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27534 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27536 (si_call_addr, si_syscall, si_arch): Define new macro.
27537 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27539 (si_call_addr, si_syscall, si_arch): Define new marcro.
27540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27542 (si_call_addr, si_syscall, si_arch): Define new macro.
27543 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27545 (si_call_addr, si_syscall, si_arch): Define new macro.
27547 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27551 Change to 2.4.21 where previously 2.4.1.
27552 * sysdeps/unix/sysv/linux/configure: Regenerated.
27553 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27554 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27555 Linux kernel version.
27556 (__ASSUME_STD_AUXV): Remove.
27557 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27559 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27560 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27561 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27562 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27563 (__ASSUME_NETLINK_SUPPORT): Likewise.
27564 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27565 (__no_netlink_support): Remove conditional definition.
27566 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27568 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27569 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27570 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27571 (if_nameindex_ioctl): Remove.
27572 (if_nameindex_netlink): Do not handle __no_netlink_support.
27573 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27575 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27576 Remove conditional code.
27577 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27579 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27581 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27582 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27583 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27585 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27586 [!__ASSUME_STD_AUXV]: Remove conditional code.
27587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27588 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27589 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27591 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27592 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27594 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27596 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27597 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27599 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27601 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27604 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27607 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27608 code unconditional.
27609 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27611 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27613 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27616 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27618 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27621 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27622 code unconditional.
27623 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27625 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27627 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27630 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27631 code unconditional.
27632 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27634 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27636 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27639 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27641 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27642 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27643 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27644 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27645 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27646 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27647 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27648 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27649 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27650 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27651 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27652 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27653 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27654 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27656 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27657 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27658 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27659 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27661 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27662 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27663 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27665 2012-07-25 Florian Weimer <fweimer@redhat.com>
27667 * Versions.def: Add GLIBC_2.17.
27668 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27669 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27670 Introduce __libc_secure_getenv.
27671 * stdlib/Versions (2.17): Add secure_getenv
27672 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27673 * stdlib/secure-getenv.c: Rename __secure_getenv to
27674 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27675 symbol __secure_getenv for GLIBC_2.0.
27676 * stdlib/tst-secure-getenv.c: New.
27677 * stdlib/Makefile (tests): Add testcase.
27678 * manual/startup.texi (Environment Access): Document
27680 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27681 __libc_secure_getenv.
27682 * inet/ruserpass.c (ruserpass): Likewise.
27683 * malloc/mtrace.c (mtrace): Likewise.
27684 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27685 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27686 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27687 * sysdeps/posix/tempname.c: Likewise. Evaluate
27688 HAVE_SECURE_GETENV.
27689 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27690 __secure_getenv to __libc_secure_getenv.
27691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27704 2012-07-25 Joseph Myers <joseph@codesourcery.com>
27706 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27707 (struct La_i86_retval): Likewise.
27708 (struct La_x86_64_regs): Likewise.
27709 (struct La_x86_64_retval): Likewise.
27710 (struct La_x32_regs): Likewise.
27711 (struct La_x32_retval): Likewise.
27712 (struct La_ppc32_regs): Likewise.
27713 (struct La_ppc32_retval): Likewise.
27714 (struct La_ppc64_regs): Likewise.
27715 (struct La_ppc64_retval): Likewise.
27716 (struct La_sh_regs): Likewise.
27717 (struct La_sh_retval): Likewise.
27718 (struct La_s390_32_regs): Likewise.
27719 (struct La_s390_32_retval): Likewise.
27720 (struct La_s390_64_regs): Likewise.
27721 (struct La_s390_64_retval): Likewise.
27722 (struct La_sparc32_regs): Likewise.
27723 (struct La_sparc32_retval): Likewise.
27724 (struct La_sparc64_regs): Likewise.
27725 (struct La_sparc64_retval): Likewise.
27726 (struct audit_ifaces): Remove architecture-specific pltenter and
27728 * sysdeps/i386/ldsodefs.h: New file.
27729 * sysdeps/powerpc/ldsodefs.h: Likewise.
27730 * sysdeps/s390/ldsodefs.h: Likewise.
27731 * sysdeps/sh/ldsodefs.h: Likewise.
27732 * sysdeps/sparc/ldsodefs.h: Likewise.
27733 * sysdeps/x86_64/ldsodefs.h: Likewise.
27735 2012-07-25 Marek Polacek <polacek@redhat.com>
27738 * math/libm-test.inc (yn_test): Add another test.
27739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27740 to ERANGE when the result is +-Inf.
27741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27742 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27743 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27744 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27746 2012-07-24 Joseph Myers <joseph@codesourcery.com>
27748 * conform/data/time.h-data (NULL): Use macro-constant. Require
27750 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27752 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27754 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27756 * configure.in <sysdeps resolving>: Correct printing
27758 * configure: Regenerate.
27760 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27762 * math/w_ilogb.c: Include <limits.h>.
27763 * math/w_ilogbl.c: Likewise.
27765 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27767 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27768 va_copy. Document allowing for unavailable va_copy only as
27769 pre-C99 compatibility.
27770 * manual/string.texi (Copying and Concatenation): Use va_copy
27771 instead of __va_copy in concat example.
27773 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27775 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27776 (__sendto): Use create_address_port. Initialize APORT and deallocate
27779 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27780 with O_NOLINK passed to __file_name_lookup.
27782 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27783 with O_NOLINK passed to __file_name_lookup.
27785 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27786 negative N or less than NGIDS.
27788 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27789 type to string_t. Set ERANGE as errno and return it if NAME is not big
27790 enough. Use memcpy instead of strncpy.
27792 2012-07-20 Joseph Myers <joseph@codesourcery.com>
27794 * elf/Makefile (check-data): Remove.
27795 (localplt.data): New vpath directive.
27796 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27797 instead of $(check-data).
27798 * scripts/data/localplt-generic.data: Move to ...
27799 * sysdeps/generic/localplt.data: ... here.
27800 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27801 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27802 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27805 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27808 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27811 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27814 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27817 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27821 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27823 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27824 PPC32 and PPC64 files.
27825 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27826 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27828 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27830 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27831 __makecontext_ret to ...
27832 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27833 ... here and call exit if uc_link is NULL. New file.
27834 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27835 __makecontext_ret.S.
27836 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27837 __makecontext_ret to ...
27838 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27839 ... here and call exit if uc_link is NULL. New file.
27840 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27841 __makecontext_ret.S.
27843 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27845 * elf/elf.h (R_390_IRELATIVE): New definition.
27846 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27847 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27848 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27849 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27850 (elf_machine_lazy_rel): Likewise.
27851 * sysdeps/s390/dl-irel.h: New file.
27852 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27853 * sysdeps/s390/s390-64/memset.S: New asm code.
27854 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27855 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27856 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27857 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27858 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27859 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27860 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27861 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27862 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27863 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27864 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27865 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27866 * sysdeps/s390/s390-32/memset.S: New asm code.
27867 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27869 2012-07-17 Marek Polacek <polacek@redhat.com>
27872 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27873 * sysdeps/s390/s390-64/configure.in: Likewise.
27874 * sysdeps/sparc/configure.in: Likewise.
27875 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27876 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27877 * sysdeps/i386/configure.in: Likewise.
27878 * sysdeps/x86_64/configure.in: Likewise.
27879 * sysdeps/sh/configure.in: Likewise.
27880 * sysdeps/s390/s390-32/configure: Regenerated.
27881 * sysdeps/s390/s390-64/configure: Likewise.
27882 * sysdeps/x86_64/configure: Likewise.
27883 * sysdeps/sh/configure: Likewise.
27884 * sysdeps/powerpc/powerpc64/configure: Likewise.
27885 * sysdeps/powerpc/powerpc32/configure: Likewise.
27886 * sysdeps/sparc/configure: Likwise.
27887 * sysdeps/i386/configure: Likewise.
27889 * elf/dl-open.c: Comment fixes.
27891 2012-07-17 Joseph Myers <joseph@codesourcery.com>
27893 * Makefile [CXX] (check-data): Remove.
27894 [CXX] (c++-types.data): New vpath directive.
27895 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27896 vpath. Do not allow for C++ type data being missing.
27897 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27898 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27899 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27900 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27901 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27902 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27903 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27906 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27909 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27912 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27915 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27918 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27921 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27924 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27927 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27928 definitions to architecture-specific files.
27929 (TLS_IE): Likewise.
27930 (TLS_LD): Likewise.
27931 (TLS_GD): Likewise.
27932 * sysdeps/i386/tls-macros.h: New file.
27933 * sysdeps/powerpc/tls-macros.h: Likewise.
27934 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27935 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27936 * sysdeps/sh/tls-macros.h: Likewise.
27937 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27938 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27939 * sysdeps/x86_64/tls-macros.h: Likewise.
27941 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27943 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27944 zero value for regular exit case.
27946 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27947 (__start_context): Preserve zero value for regular exit case.
27949 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27950 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27952 * manual/setjmp.texi (setcontext): Clarify normal process
27953 termination when uc_link is the null pointer.
27954 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27957 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27959 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27960 preprocessor. Test for each exception mask separately.
27962 2012-07-16 Andreas Jaeger <aj@suse.de>
27964 * po/ru.po: Update from translation team.
27966 2012-07-15 Joseph Myers <joseph@codesourcery.com>
27968 * conform/data/string.h-data (NULL): Use macro-constant. Require
27970 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27971 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27972 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27973 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27974 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27976 2012-07-13 Andreas Jaeger <aj@suse.de>
27978 * po/fr.po: Update from translation team.
27980 2012-07-12 Marek Polacek <polacek@redhat.com>
27983 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27984 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27987 2012-07-12 Joseph Myers <joseph@codesourcery.com>
27990 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27991 Change to 2.4.1 where previously 2.4.0.
27992 * sysdeps/unix/sysv/linux/configure: Regenerated.
27993 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27994 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27996 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27997 (__ASSUME_AT_CLKTCK): Remove.
27998 (__ASSUME_AT_PAGESIZE): Likewise.
27999 (__ASSUME_AT_XID): Likewise.
28000 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28001 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28002 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28004 (HAVE_AUX_PAGESIZE): Likewise.
28005 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28006 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28007 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28009 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28013 the temporary buffer used to invoke __gethostbyname2_r,
28014 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28015 host_data / struct gaih_addrtuple.
28016 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28017 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28018 header file nss/nsswitch.h.
28019 * nss/nsswitch.h (global scope): Add definition of implementation
28020 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28021 resolv/nss_dns/dns-host.c).
28023 2012-07-11 Andreas Jaeger <aj@suse.de>
28025 * po/fr.po: Update from translation team.
28027 * po/sv.po: Update from translation team
28028 * po/fr.po: Another update from translation team.
28030 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28032 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28033 for subnormals or multiply small sinh result by itself.
28034 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28037 2012-07-11 David S. Miller <davem@davemloft.net>
28039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28041 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28044 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28045 (INTERNAL_MARK): Shift it here.
28047 2012-07-10 Marek Polacek <polacek@redhat.com>
28050 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28051 libc_cv_asm_global_directive with .globl.
28052 * configure: Regenerated.
28053 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28055 * sysdeps/i386/configure: Regenerated.
28056 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28058 * sysdeps/x86_64/configure: Regenerated.
28059 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28060 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28061 * elf/tst-unique2mod2.c: Likewise.
28062 * elf/tst-unique2mod1.c: Likewise.
28063 * elf/tst-unique1mod2.c: Likewise.
28064 * elf/tst-unique1mod1.c: Likewise.
28065 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28066 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28067 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28068 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28069 * sysdeps/mach/sysdep.h: Likewise.
28070 * sysdeps/i386/sysdep.h: Likewise.
28071 * sysdeps/i386/i386-mcount.S: Likewise.
28072 * sysdeps/x86_64/_mcount.S: Likewise.
28073 * sysdeps/x86_64/sysdep.h: Likewise.
28074 * sysdeps/sh/_mcount.S: Likewise.
28075 * sysdeps/sh/sysdep.h: Likewise.
28076 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28077 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28078 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28079 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28080 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28081 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28082 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28083 * locale/localeinfo.h: Likewise.
28084 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28085 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28087 2012-07-09 Roland McGrath <roland@hack.frob.com>
28090 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28092 * manual/message.texi (The Uniforum approach): Likewise.
28093 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28094 (glibc iconv Implementation): Likewise.
28096 2012-07-09 Joseph Myers <joseph@codesourcery.com>
28099 * math/s_clog.c (__clog): Avoid scaling a value down where that
28100 could result in underflow.
28101 * math/s_clog10.c (__clog10): Likewise.
28102 * math/s_clog10f.c (__clog10f): Likewise.
28103 * math/s_clog10l.c (__clog10l): Likewise.
28104 * math/s_clogf.c (__clogf): Likewise.
28105 * math/s_clogl.c (__clogl): Likewise.
28106 * math/libm-test.inc (clog_test): Add more tests.
28107 (clog10_test): Likewise.
28108 * sysdeps/i386/fpu/libm-test-ulps: Update.
28109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28111 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28115 by 7 not 8 to examine high bit of fractional part.
28118 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28119 for call to __mcount_internal.
28120 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28121 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28122 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28124 2012-07-06 Joseph Myers <joseph@codesourcery.com>
28127 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28128 approximation for values within 0x1p-13f of an odd multiple of
28130 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28131 exception. Add more tests.
28132 * sysdeps/i386/fpu/libm-test-ulps: Update.
28135 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28136 inputs and return -1 for them. Do not check for +Inf in case not
28137 reachable for +Inf.
28138 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28139 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28140 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28141 and return -1 for them. Do not check for +Inf in case not
28142 reachable for +Inf.
28143 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28145 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28146 and return -1 for them. Do not check for +Inf in case not
28147 reachable for +Inf.
28148 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28149 spurious underflow.
28150 * sysdeps/i386/fpu/libm-test-ulps: Update.
28151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28153 2012-07-06 Mike Frysinger <vapier@gentoo.org>
28155 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28157 2012-07-05 Joseph Myers <joseph@codesourcery.com>
28161 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28162 could result in spurious underflow. Scale down values above
28163 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28164 * math/s_csqrtf.c (__csqrtf): Likewise.
28165 * math/s_csqrtl.c (__csqrtl): Likewise.
28166 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28167 spurious underflow.
28168 * sysdeps/i386/fpu/libm-test-ulps: Update.
28169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28171 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28173 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28175 * catgets/xopen-msg.awk: New file.
28176 * catgets/xopen-msg.sed: Removed.
28178 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28180 * intl/po2test.awk: New file.
28181 * intl/po2test.sed: Removed.
28183 2012-07-04 Joseph Myers <joseph@codesourcery.com>
28186 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28187 or multiply small sinh result by itself.
28188 * math/s_ctanf.c (__ctanf): Likewise.
28189 * math/s_ctanh.c (__ctanh): Likewise.
28190 * math/s_ctanhf.c (__ctanhf): Likewise.
28191 * math/s_ctanhl.c (__ctanhl): Likewise.
28192 * math/s_ctanl.c (__ctanl): Likewise.
28193 * math/libm-test.inc (ctan_test_tonearest): New function.
28194 (ctan_test_towardzero): Likewise.
28195 (ctan_test_downward): Likewise.
28196 (ctan_test_upward): Likewise.
28197 (ctanh_test_tonearest): Likewise.
28198 (ctanh_test_towardzero): Likewise.
28199 (ctanh_test_downward): Likewise.
28200 (ctanh_test_upward): Likewise.
28201 (main): Call these new functions.
28202 * sysdeps/i386/fpu/libm-test-ulps: Update.
28203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28205 2012-07-03 Mike Frysinger <vapier@gentoo.org>
28207 * .gitignore: Delete /ports entry.
28209 2012-07-03 Andreas Jaeger <aj@suse.de>
28211 * po/bg.po: Update from translation team.
28212 * po/cs.po: Likewise.
28213 * po/de.po: Likewise.
28214 * po/hr.po: Likewise.
28215 * po/nl.pl: Likewise.
28216 * po/pl.po: Likewise.
28217 * po/vi.po: Likewise.
28219 2012-07-03 Joseph Myers <joseph@codesourcery.com>
28221 * Makeconfig [!+link] (+link-before-libc): New variable.
28222 [!+link] (+link-after-libc): Likewise.
28223 [!+link] (+link-tests): Likewise.
28224 [!+link] (+link): Define in terms of $(+link-before-libc) and
28225 $(+link-after-libc).
28226 [!+link-static] (+link-static-before-libc): New variable.
28227 [!+link-static] (+link-static-after-libc): Likewise.
28228 [!+link-static] (+link-static-tests): Likewise.
28229 [!+link-static] (+link-static): Define in terms of
28230 $(+link-static-before-libc) and $(+link-static-after-libc).
28231 [build-shared] (link-libc-before-gnulib): New variable.
28232 [build-shared] (link-libc-tests): Likewise.
28233 [build-shared] (link-libc): Define in terms of
28234 $(link-libc-before-gnulib).
28235 [!build-shared] (link-libc-tests): New variable.
28236 (link-libc-static-tests): New variable.
28237 [!gnulib] (gnulib-arch): New variable.
28238 [!gnulib] (gnulib-tests): Likewise.
28239 [!gnulib] (static-gnulib-arch): Likewise.
28240 [!gnulib] (static-gnulib-tests): Likewise.
28241 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28242 Define with "=" instead of ":=".
28243 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28244 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28245 * Rules (binaries-all-notests): New variable.
28246 (binaries-all-tests): Likewise.
28247 (binaries-static-notests): Likewise.
28248 (binaries-static-tests): Likewise.
28249 (binaries-all): Define using $(binaries-all-notests) and
28250 $(binaries-all-tests).
28251 (binaries-static): Define using $(binaries-static-notests) and
28252 $(binaries-static-tests).
28253 (binaries-shared-tests): New variable.
28254 (binaries-shared-notests): Likewise.
28255 (binaries-shared): Remove variable.
28256 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28257 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28258 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28259 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28260 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28261 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28262 * elf/Makefile (sln-modules): New variable.
28263 (extra-objs): Add $(sln-modules:=.o).
28264 (ldconfig-modules): Add static-stubs.
28265 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28266 * elf/static-stubs.c: New file.
28269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28270 by 7 not 8 to examine high bit of fractional part. Use volatile
28271 variables when splitting into final array of floats if
28272 __FLT_EVAL_METHOD__ != 0.
28273 * math/libm-test.inc (cos_test): Add another test.
28274 (sin_test): Likewise.
28275 * sysdeps/i386/fpu/libm-test-ulps: Update.
28278 * math/libm-test.inc (cosh_test): Add more tests.
28280 * version.h (RELEASE): Set to "development".
28281 (VERSION): Set to "2.16.90".
28283 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28285 * NEWS: Update copyright. Remove last-updated date.
28286 Mention math library bug fixes and timezone data changes.
28287 * README: Mention GNU/Hurd, x32, and HPPA support status.
28289 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28291 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28293 2012-06-27 Andreas Jaeger <aj@suse.de>
28295 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28297 2012-06-25 Andreas Jaeger <aj@suse.de>
28299 * sysdeps/s390/fpu/libm-test-ulps: Update.
28301 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28302 Thomas Schwinge <thomas@codesourcery.com>
28304 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28305 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28309 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28311 * sysdeps/mach/start.c: Remove file.
28312 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28313 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28314 * sysdeps/sh/init-first.c: Likewise.
28316 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28317 registers for frame unwinding purposes, add CFI directives.
28318 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28319 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28320 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28323 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28324 __fortify_fail returning.
28325 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28327 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28328 sysdeps/sh/____longjmp_chk.S.
28329 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28330 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28331 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28332 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28334 * sysdeps/sh/abort-instr.h: New file.
28335 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28336 process in case exit returns.
28338 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28339 initialize the GOT register before use.
28341 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28342 calculation of ARGC > 4.
28344 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28345 meaningful names to some local labels.
28347 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28348 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28350 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28351 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28352 (__arch_compare_and_exchange_val_16_acq): Likewise.
28353 (__arch_compare_and_exchange_val_32_acq): Likewise.
28354 (atomic_exchange_and_add): Fix gUSA sequence.
28355 (atomic_add): Likewise.
28356 (atomic_add_negative): Likewise.
28357 (atomic_add_zero): Likewise.
28358 (atomic_bit_test_set): Likewise.
28360 2012-06-22 Andreas Schwab <schwab@redhat.com>
28363 * include/link.h (struct link_map): Add l_free_initfini.
28364 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28366 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28367 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28368 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28371 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28373 * configure.in: Use AC_LANG_SOURCE.
28374 * configure: Regenerate.
28376 2012-06-22 Roland McGrath <roland@hack.frob.com>
28378 * configure.in (libc_cv_localstatedir): New substituted variable.
28379 * configure: Regenerated.
28380 * config.make.in (localstatedir): New variable, substituted from
28381 libc_cv_localstatedir.
28382 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28383 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28384 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28385 * sysdeps/gnu/configure: Regenerated.
28387 2012-06-21 Jeff Law <law@redhat.com>
28390 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28391 free. Simplify list management for _LIBC case.
28393 2012-06-21 Joseph Myers <joseph@codesourcery.com>
28396 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28397 Clear sign bit of 64-bit integer value before comparing against
28400 * sysdeps/mach/configure: Regenerated.
28402 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28405 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28407 2012-06-21 Jeff Law <law@redhat.com>
28410 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28411 uint16_t for elements in the "seen" array to avoid char overflows.
28412 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28413 * elf/dl-open.c (dl_open_worker): Likewise.
28415 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28417 * scripts/list-sources.sh: Scan PORTS for translations.
28418 * po/libc.pot: Regenerated.
28420 2012-06-21 Andreas Jaeger <aj@suse.de>
28423 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28425 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28426 * bits/byteswap-16.h (__bswap_16): Likewise.
28427 * bits/byteswap.h (__bswap_constant_16): Likewise.
28429 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
28432 * sysdeps/i386/fpu_control.h: Removed.
28433 * sysdeps/x86_64/fpu_control.h: Moved to ...
28434 * sysdeps/x86/fpu_control.h: Here.
28436 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28437 (_FPU_SETCW): Likewise.
28439 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
28442 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28443 * sysdeps/x86/fpu/bits/mathinline.h: This.
28444 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28448 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28449 functions if __x86_64__ is defined.
28451 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
28453 * string/endian.h: Add !__ASSEMBLER__ condition for including
28454 conversion interfaces.
28456 2012-06-15 Joseph Myers <joseph@codesourcery.com>
28459 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28460 of ABS(x) in calculating zero to negative powers other than odd
28462 * math/libm-test.inc (pow_test): Add more tests.
28464 2012-06-15 Andreas Jaeger <aj@suse.de>
28466 * manual/contrib.texi (Contributors): Update entry of Liubov
28467 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28470 2012-06-15 Cyril Hrubis <metan@ucw.cz>
28472 * string/string.h: Add __wur to GNU version of strerror_r.
28474 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28477 * string/Makefile (tests): Add tst-strtok_r.
28478 * string/tst-strtok_r.c: New file.
28479 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28480 RAX_LP/RDX_LP on SAVE_PTR.
28482 2012-06-14 Roland McGrath <roland@hack.frob.com>
28484 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28486 2012-06-14 Joseph Myers <joseph@codesourcery.com>
28488 * libm_test.inc (csqrt_test): Allow more spurious underflow
28490 (j0_test): Likewise.
28491 (j1_test): Likewise.
28492 (y0_test): Likewise.
28493 (y1_test): Likewise.
28495 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28497 * po/Makefile (libc.pot): Use UTF-8 charset.
28499 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28502 Suppress sign-conversion warning from FD_SET.
28503 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28504 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28505 not unsigned long int.
28506 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28508 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28512 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28513 __extern_always_inline instead of __extern_inline.
28514 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28515 (__signbit): Likewise.
28516 (__signbitl): Support C++ namespace.
28517 (lrintf): New inline function.
28519 (llrintf): Likewise.
28520 (llrint): Likewise.
28530 (floorf): Likewise.
28531 (nearbyint): Likewise.
28532 (nearbyintf): Likewise.
28534 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28537 non-default versions.
28539 2012-06-11 Roland McGrath <roland@hack.frob.com>
28542 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28544 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28546 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28547 (FE_UPWARD, FE_DOWNWARD): Don't define.
28548 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28549 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28551 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28553 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28554 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28556 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28558 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28560 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28561 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28563 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28566 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28567 * sysdeps/i386/fpu/Implies: New file.
28568 * sysdeps/x86_64/fpu/Implies: Likewise.
28569 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28570 * sysdeps/x86/fpu/bits/fenv.h: This.
28572 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28575 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28578 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28579 character 0xffff that matches the last element of the
28582 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28584 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28587 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28590 values higher than 25.6283.
28592 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28594 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28595 subnormal exponent extraction and add some __builtin_expect.
28596 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28597 Fix for subnormal mantissa calculation.
28599 2012-06-04 Mike Frysinger <vapier@gentoo.org>
28601 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28602 cpu2 is -1 and errno is not ENOSYS.
28604 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28607 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28608 * sysdeps/x86/bits/string.h: This.
28609 * sysdeps/x86_64/bits/string.h: Removed.
28611 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28612 if not compiling for x86-64, but compiling for >= i486.
28614 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28615 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28617 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28618 New macro from Linux kernel 3.4.0.
28619 (FP_XSTATE_MAGIC2): Likewise.
28620 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28621 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28622 (struct _fpx_sw_bytes): New struct.
28623 (struct _xsave_hdr): Likewise.
28624 (struct _ymmh_state): Likewise.
28625 (struct _xstate): Likewise.
28627 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28628 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28629 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28630 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28631 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28632 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28634 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28635 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28636 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28637 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28638 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28639 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28641 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28644 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28645 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28646 (sysdep_headers): Include sys/platform/ppc.h.
28647 * sysdeps/powerpc/test-gettimebase.c: Test for
28648 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28649 * manual/Makefile (appendices): Include platform.texi.
28650 * manual/contrib.texi (Contributors): Update @node pointers.
28651 * manual/maint.texi (Maintenance): Likewise.
28652 (Platform): New node.
28653 * manual/platform.texi: New file. Document the new features.
28655 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28656 Jakub Jelinek <jakub@redhat.com>
28659 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28660 where __builtin_expect is unavailable.
28662 2012-06-03 David S. Miller <davem@davemloft.net>
28664 * stdlib/longlong.h: Updated from GCC.
28666 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28669 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28670 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28673 (GLIBC_2.16): Likewise.
28675 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28677 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28679 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28682 (default-abi): New variable.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28684 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28686 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28688 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28690 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28693 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28694 definition. Document in comment.
28696 2012-06-01 David S. Miller <davem@davemloft.net>
28698 * stdlib/longlong.h: Updated from GCC.
28700 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28703 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28704 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28705 sys/debugreg.h sys/io.h here.
28706 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28707 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28709 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28710 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28711 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28712 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28713 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28714 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28717 Define only if __x86_64__ is defined.
28719 2012-06-01 Joseph Myers <joseph@codesourcery.com>
28722 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28723 Use int64_t for variable i.
28724 * math/libm-test.inc (fmod_test): Add more tests.
28726 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28727 z computation is not scheduled after fetestexcept.
28728 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28729 Use math_force_eval instead of asm to ensure calculation scheduled
28730 before exception test.
28731 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28732 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28734 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28737 computation is not scheduled after fetestexcept.
28739 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28742 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28743 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28745 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28747 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28748 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28750 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28753 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28755 (__WCHAR_MIN): Support __WORDSIZE == 64.
28756 (__WCHAR_MAX): Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28762 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28763 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28766 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28767 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28769 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28770 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28772 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28773 Defined to 1 if __x86_64__ isn't defined.
28774 (_STAT_VER_LINUX_OLD): New.
28775 (st_atime): Remove duplicate.
28776 (st_mtime): Likewise.
28777 (st_ctime): Likewise.
28779 2012-05-31 David S. Miller <davem@davemloft.net>
28781 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28784 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28786 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28790 * elf/dl-reloc.c: Include <_itoa.h>.
28791 (_dl_reloc_bad_type): Remove use of INTUSE.
28792 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28793 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28794 * stdio-common/psiginfo.c (psiginfo): Likewise.
28795 * stdio-common/psignal.c (psignal): Likewise.
28796 * string/strsignal.c (strsignal): Likewise.
28797 * include/signal.h (_sys_siglist): Declare hidden proto.
28798 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28799 INTVARDEF with libc_hidden_data_def.
28800 * stdio-common/itoa-udigits.c: Likewise.
28801 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28802 (_itoa_lower_digits_internal): Remove declaration.
28803 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28804 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28805 (_sys_sigabbrev_internal): Remove aliases.
28806 (_sys_siglist): Define hidden alias.
28808 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28813 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28816 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28817 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28819 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28820 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28821 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28822 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28823 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28824 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28826 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28828 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28830 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28838 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28839 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28840 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28842 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28843 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28844 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28845 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28846 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28847 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28849 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28850 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28852 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28853 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28856 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28857 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28859 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28860 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28862 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28864 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28865 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28866 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28868 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28870 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28872 2012-05-31 Joseph Myers <joseph@codesourcery.com>
28874 * math/math.h (M_El): Use two more decimal places.
28875 (M_LOG2El): Likewise.
28876 (M_LOG10El): Likewise.
28877 (M_LN2l): Likewise.
28878 (M_LN10l): Likewise.
28880 (M_PI_2l): Likewise.
28881 (M_PI_4l): Likewise.
28882 (M_1_PIl): Likewise.
28883 (M_2_PIl): Likewise.
28884 (M_2_SQRTPIl): Likewise.
28885 (M_SQRT2l): Likewise.
28886 (M_SQRT1_2l): Likewise.
28888 2012-05-31 David S. Miller <davem@davemloft.net>
28890 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28891 values between float registers.
28892 * sysdeps/sparc/sparc64/memset.S: Likewise.
28893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28895 2012-05-31 Mike Frysinger <vapier@gentoo.org>
28897 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28898 -D_FORTIFY_SOURCE=1.
28899 (CPPFLAGS-tst-longjmp_chk.c): Define.
28900 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28901 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28902 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28903 CFLAGS-tst-wchar-h.c.
28905 2012-05-31 Marek Polacek <polacek@redhat.com>
28908 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28909 __endmntent_internal): Remove declaration.
28910 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28911 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28912 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28914 2012-05-30 David S. Miller <davem@davemloft.net>
28916 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28917 (___Q_simulate_exceptions): Use real FP ops rather than writing
28919 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28922 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28925 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28926 * sysdeps/x86/bits/xtitypes.h: This.
28928 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28929 * sysdeps/x86/bits/wordsize.h: This.
28931 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28932 * sysdeps/x86/bits/huge_vall.h: This.
28934 * sysdeps/i386/bits/select.h: Removed.
28935 * sysdeps/x86_64/bits/select.h: Renamed to ...
28936 * sysdeps/x86/bits/select.h: This.
28938 * sysdeps/i386/bits/setjmp.h: Removed.
28939 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28940 * sysdeps/x86/bits/setjmp.h: This.
28942 * sysdeps/i386/bits/mathdef.h: Removed.
28943 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28944 * sysdeps/x86/bits/mathdef.h: This.
28946 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28949 * include/sys/socket.h (__connect_internal)
28950 (__libc_sa_len_internal): Remove declaration.
28951 (__connect, __libc_sa_len): Declare hidden_proto.
28952 (SA_LEN): Remove use of INTUSE.
28953 * socket/connect.c: Add libc_hidden_def.
28954 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28955 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28956 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28958 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28959 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28960 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28961 of adding _internal alias.
28963 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28966 * sysdeps/i386/bits/link.h: Removed.
28967 * sysdeps/i386/bits/linkmap.h: Likewise.
28968 * sysdeps/x86_64/bits/link.h: Renamed to ...
28969 * sysdeps/x86/bits/link.h: This.
28970 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28971 * sysdeps/x86/bits/linkmap.h: This.
28973 * sysdeps/i386/bits/endian.h: Removed.
28974 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28975 * sysdeps/x86/bits/endian.h: This.
28977 * sysdeps/i386/bits/byteswap.h: Removed.
28978 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28979 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28980 * sysdeps/x86/bits/byteswap.h: This.
28981 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28982 * sysdeps/x86/bits/byteswap-16.h: This.
28983 * sysdeps/i386/Implies: Add x86.
28984 * sysdeps/x86_64/Implies: Likewise.
28986 2012-05-30 David S. Miller <davem@davemloft.net>
28988 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28989 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28990 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28991 (FP_TRAPPING_EXCEPTIONS): Define.
28992 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28993 (FP_TRAPPING_EXCEPTIONS): Define.
28994 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28995 subnormals only when inexact has been signalled or underflow
28996 exceptions are enabled.
28997 (_FP_PACK_CANONICAL): Likewise.
28999 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29003 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29005 2012-05-30 Richard Henderson <rth@twiddle.net>
29007 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29008 with #ifndef NOT_IN_libc.
29010 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29011 marked to avoid plt entry.
29013 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29016 * Makeconfig (default-abi): New macro.
29017 (abi-includes): Likewise.
29018 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29019 $(abi-$(default-abi)-lib-soname) for soname if defined.
29020 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29022 * Makefile (installed-stubs): Likewise.
29023 * include/stubs-biarch.h: Removed.
29024 * scripts/lib-names.awk: Only handle one library at a time.
29025 * scripts/soversions.awk: Remove WORDSIZE support.
29026 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29028 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29030 (syscall-list-default-condition): Likewise.
29031 (syscall-list-default-condition): Likewise.
29032 (syscall-list-includes): Likewise.
29033 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29034 syscall-list-* with abi-*. Handle undefined abi-variants.
29035 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29036 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29037 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29038 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29039 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29040 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29042 (syscall-list-32-options): Likewise.
29043 (syscall-list-32-condition): Likewise.
29044 (syscall-list-64-options): Likewise.
29045 (syscall-list-64-condition): Likewise.
29046 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29048 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29051 (abi-64-ld-soname): New macro.
29052 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29053 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29056 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29057 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29059 2012-05-30 Joseph Myers <joseph@codesourcery.com>
29061 * sysdeps/unix/sysv/linux/kernel-features.h
29062 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29063 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29064 include <kernel-features.h>.
29065 [!__NR_ftruncate64]: Remove conditional code.
29066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29067 [__NR_ftruncate64]: Make code unconditional.
29068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29069 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29070 include <kernel-features.h>.
29071 [!__NR_ftruncate64]: Remove conditional code.
29072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29073 [__NR_ftruncate64]: Make code unconditional.
29074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29076 include <kernel-features.h>.
29077 [!__NR_ftruncate64]: Remove conditional code.
29078 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29079 [__NR_ftruncate64]: Make code unconditional.
29080 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29082 include <kernel-features.h>.
29083 [!__NR_ftruncate64]: Remove conditional code.
29084 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29085 [__NR_ftruncate64]: Make code unconditional.
29086 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29088 * configure.in (libc_cv_fpie): Weaken to a compile test using
29089 LIBC_TRY_CC_OPTION.
29090 * configure: Regenerated.
29092 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29107 2012-05-27 David S. Miller <davem@davemloft.net>
29109 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29111 (__Q_simulate_exceptions): Return void. Change to simulate
29112 exceptions by writing into the %fsr.
29113 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29114 (__Qp_handle_exceptions): Likewise.
29116 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29117 __Qp_handle_exceptions.
29118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29119 __Qp_handle_exceptions.
29120 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29121 as unused and give dummy FP_RND_NEAREST initializer.
29122 (FP_INHIBIT_RESULTS): Define.
29123 (___Q_simulate_exceptions): Update declaration.
29124 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29126 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29127 as unused and give dummy FP_RND_NEAREST initializer.
29128 (__Qp_handle_exceptions): Update declaration.
29129 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29132 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29134 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29135 the temporary FPU control word.
29136 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29137 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29139 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29141 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29142 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29143 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29144 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29145 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29146 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29148 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29150 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29153 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29155 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29156 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29157 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29158 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29160 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29161 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29164 2012-05-27 Ulrich Drepper <drepper@gmail.com>
29166 * po/h.po: Update from translation team.
29168 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29170 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29172 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29173 handling of denormals.
29174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29175 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29176 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29177 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29183 2012-05-26 Marek Polacek <polacek@redhat.com>
29186 * math/libm-test.inc (fma_test): Don't always expect underflow
29189 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29192 * elf/tst-execstack.c: Include stackinfo.h.
29193 (do_test): Adjust test case to ensure that pthread_getattr_np
29194 behaviour remains the same after marking stack executable.
29196 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29198 * sysdeps/unix/sysv/linux/kernel-features.h
29199 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29200 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29202 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29203 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29204 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29206 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29207 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29209 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29211 * configure.in: Define the default includes to being none.
29212 * configure: Regenerated.
29214 2012-05-25 Roland McGrath <roland@hack.frob.com>
29216 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29217 * sysdeps/x86_64/setjmp.S: Likewise.
29218 * sysdeps/i386/bsd-setjmp.S: Likewise.
29219 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29220 * sysdeps/i386/setjmp.S: Likewise.
29221 * sysdeps/i386/__longjmp.S: Likewise.
29222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29223 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29225 * include/stap-probe.h: New file.
29226 * configure.in: Handle --enable-systemtap.
29227 * configure: Regenerated.
29228 * config.h.in (USE_STAP_PROBE): New #undef.
29229 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29230 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29231 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29233 2012-05-25 Joseph Myers <joseph@codesourcery.com>
29236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29237 to 2.4.0 where earlier.
29238 * sysdeps/unix/sysv/linux/configure: Regenerated.
29239 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29240 <kernel-features.h>.
29241 [__ASSUME_32BITUIDS]: Make code unconditional.
29242 [!__ASSUME_32BITUIDS]: Remove conditional code.
29243 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29244 <kernel-features.h>.
29245 [__ASSUME_32BITUIDS]: Make code unconditional.
29246 [!__ASSUME_32BITUIDS]: Remove conditional code.
29247 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29248 [__ASSUME_32BITUIDS]: Make code unconditional.
29249 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29250 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29251 <kernel-features.h>.
29252 [__ASSUME_32BITUIDS]: Make code unconditional.
29253 [!__ASSUME_32BITUIDS]: Remove conditional code.
29254 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29255 <kernel-features.h>.
29256 [__ASSUME_32BITUIDS]: Make code unconditional.
29257 [!__ASSUME_32BITUIDS]: Remove conditional code.
29258 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29259 <kernel-features.h>.
29260 [__ASSUME_32BITUIDS]: Make code unconditional.
29261 [!__ASSUME_32BITUIDS]: Remove conditional code.
29262 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29263 <kernel-features.h>.
29264 [__ASSUME_32BITUIDS]: Make code unconditional.
29265 [!__ASSUME_32BITUIDS]: Remove conditional code.
29266 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29267 <kernel-features.h>.
29268 [__ASSUME_32BITUIDS]: Make code unconditional.
29269 [!__ASSUME_32BITUIDS]: Remove conditional code.
29270 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29271 <kernel-features.h>.
29272 [__ASSUME_32BITUIDS]: Make code unconditional.
29273 [!__ASSUME_32BITUIDS]: Remove conditional code.
29274 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29275 <kernel-features.h>.
29276 [__ASSUME_32BITUIDS]: Make code unconditional.
29277 [!__ASSUME_32BITUIDS]: Remove conditional code.
29278 * sysdeps/unix/sysv/linux/i386/lchown.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/i386/msgctl.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/i386/semctl.c: Do not include
29287 <kernel-features.h>.
29288 [__ASSUME_32BITUIDS]: Make code unconditional.
29289 [!__ASSUME_32BITUIDS]: Remove conditional code.
29290 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29291 <kernel-features.h>.
29292 [__NR_setresgid] (__setresgid): Do not declare.
29293 [__ASSUME_32BITUIDS]: Make code unconditional.
29294 [!__ASSUME_32BITUIDS]: Remove conditional code.
29295 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29296 <kernel-features.h>.
29297 [__NR_setresuid] (__setresuid): Do not declare.
29298 [__ASSUME_32BITUIDS]: Make code unconditional.
29299 [!__ASSUME_32BITUIDS]: Remove conditional code.
29300 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
29305 <kernel-features.h>.
29306 [__ASSUME_32BITUIDS]: Make code unconditional.
29307 [!__ASSUME_32BITUIDS]: Remove conditional code.
29308 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29309 <kernel-features.h>.
29310 [__ASSUME_32BITUIDS]: Make code unconditional.
29311 [!__ASSUME_32BITUIDS]: Remove conditional code.
29312 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29313 <kernel-features.h>.
29314 [__ASSUME_32BITUIDS]: Make code unconditional.
29315 [!__ASSUME_32BITUIDS]: Remove conditional code.
29316 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29317 <kernel-features.h>.
29318 [__ASSUME_32BITUIDS]: Make code unconditional.
29319 [!__ASSUME_32BITUIDS]: Remove conditional code.
29320 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29321 <kernel-features.h>.
29322 [__ASSUME_32BITUIDS]: Make code unconditional.
29323 [!__ASSUME_32BITUIDS]: Remove conditional code.
29324 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29325 <kernel-features.h>.
29326 [__ASSUME_32BITUIDS]: Make code unconditional.
29327 [!__ASSUME_32BITUIDS]: Remove conditional code.
29328 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29329 <kernel-features.h>.
29330 [__ASSUME_32BITUIDS]: Make code unconditional.
29331 [!__ASSUME_32BITUIDS]: Remove conditional code.
29332 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29333 <kernel-features.h>.
29334 [__ASSUME_32BITUIDS]: Make code unconditional.
29335 [!__ASSUME_32BITUIDS]: Remove conditional code.
29336 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29337 <kernel-features.h>.
29338 [__ASSUME_32BITUIDS]: Make code unconditional.
29339 [!__ASSUME_32BITUIDS]: Remove conditional code.
29340 * sysdeps/unix/sysv/linux/kernel-features.h
29341 (__ASSUME_SETRESUID_SYSCALL): Remove.
29342 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29343 (__ASSUME_32BITUIDS): Likewise.
29344 (__ASSUME_LDT_WORKS): Likewise.
29345 (__ASSUME_O_DIRECTORY): Likewise.
29346 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29347 architecture but not kernel version.
29348 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29349 (__ASSUME_MMAP2_SYSCALL): Likewise.
29350 (__ASSUME_STAT64_SYSCALL): Likewise.
29351 (__ASSUME_IPC64): Likewise.
29352 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29353 <kernel-features.h>.
29354 [__ASSUME_32BITUIDS]: Make code unconditional.
29355 [!__ASSUME_32BITUIDS]: Remove conditional code.
29356 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29357 <kernel-features.h>.
29358 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29359 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29360 132096]: Remove conditional code.
29361 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29362 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29363 <kernel-features.h>.
29364 [__ASSUME_32BITUIDS]: Make code unconditional.
29365 [!__ASSUME_32BITUIDS]: Remove conditional code.
29366 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29367 <kernel-features.h>.
29368 [__ASSUME_32BITUIDS]: Make code unconditional.
29369 [!__ASSUME_32BITUIDS]: Remove conditional code.
29370 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29371 <kernel-features.h>.
29372 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29374 (__setresgid): Do not declare.
29375 [__ASSUME_32BITUIDS]: Make code unconditional.
29376 [!__ASSUME_32BITUIDS]: Remove conditional code.
29377 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29378 <kernel-features.h>.
29379 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29381 (__setresuid): Do not declare.
29382 [__ASSUME_32BITUIDS]: Make code unconditional.
29383 [!__ASSUME_32BITUIDS]: Remove conditional code.
29384 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29385 <kernel-features.h>.
29386 [__ASSUME_32BITUIDS]: Make code unconditional.
29387 [!__ASSUME_32BITUIDS]: Remove conditional code.
29388 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29389 <kernel-features.h>.
29390 [__ASSUME_32BITUIDS]: Make code unconditional.
29391 [!__ASSUME_32BITUIDS]: Remove conditional code.
29393 2012-05-25 Richard Henderson <rth@twiddle.net>
29395 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29396 dl_hwcap to ifunc resolver.
29397 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29399 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29400 dl_hwcap to ifunc resolver.
29401 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29403 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29406 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29407 for |x| <= 2**-26, not 2**-57.
29408 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29411 2012-05-24 Jeff Law <law@redhat.com>
29413 * stdio-common/Makefile (tests): Add bug25.
29414 * stdio-common/bug25.c: New test.
29416 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29419 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29420 multiple of MALLOC_ALIGNMENT in size.
29421 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29423 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29425 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29427 (FILENAME_MAX): Use macro-int-constant.
29428 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
29429 (_IOFBF): Use macro-int-constant.
29430 (_IOLBF): Likewise.
29431 (_IONBF): Likewise.
29432 (SEEK_CUR): Likewise.
29433 (SEEK_END): Likewise.
29434 (SEEK_SET): Likewise.
29435 (TMP_MAX): Likewise.
29436 (EOF): Use macro-int-constant. Require < 0.
29437 (NULL): Use macro-constant. Require == 0.
29438 (stdin): Require type to be FILE *.
29439 (stdout): Likewise.
29440 (stderr): Likewise.
29441 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29442 macro-int-constant.
29443 (EXIT_SUCCESS): Likewise.
29444 (NULL): Use macro-constant. Require == 0.
29445 (RAND_MAX): Use macro-int-constant.
29446 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29447 [C99-based standards] (strtof): Require function.
29448 [C99-based standards] (strtold): Likewise.
29449 [C99-based standards] (strtoll): Likewise.
29450 [C99-based standards] (strtoull): Likewise.
29451 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29452 [ISO || ISO99 || ISO11] (limits.h): Likewise.
29453 [ISO || ISO99 || ISO11] (math.h): Likewise.
29454 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29455 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29456 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29458 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29461 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29462 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29463 * intl/dgettext.c (DCGETTEXT): Likewise.
29464 * intl/gettext.c (DCGETTEXT): Likewise.
29465 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29466 * posix/regex_internal.h (gettext): Likewise.
29467 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29468 Remove declaration.
29469 * include/argz.h (__argz_count_internal)
29470 (__argz_stringify_internal): Remove declaration.
29471 (__argz_count, __argz_stringify): Declare hidden proto.
29472 * intl/dcgettext.c: Remove use of INTDEF.
29473 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29474 * string/argz-stringify.c: Likewise.
29475 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29476 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29477 Declare hidden proto.
29478 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29479 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29480 Declare hidden proto.
29481 * include/stdio.h (__asprintf_internal): Don't declare.
29482 (__asprintf): Don't define as macro. Declare hidden proto.
29483 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29484 (__fsetlocking): Declare hidden proto.
29485 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29486 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29488 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29489 (_IO_setlinebuf): Remove use of INTUSE.
29490 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29491 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29492 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29493 Remove declaration.
29494 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29495 (_IO_do_flush): Remove use of INTUSE.
29496 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29497 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29498 (_IO_adjust_column, _IO_least_wmarker)
29499 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29500 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29501 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29502 (_IO_default_doallocate, _IO_wdefault_doallocate)
29503 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29504 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29505 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29506 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29507 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29508 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29509 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29510 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29511 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29512 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29513 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29514 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29515 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29517 (_IO_flush_all_internal, _IO_adjust_column_internal)
29518 (_IO_default_uflow_internal, _IO_default_finish_internal)
29519 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29520 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29521 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29522 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29523 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29524 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29525 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29526 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29527 (_IO_file_close_internal, _IO_file_close_it_internal)
29528 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29529 (_IO_file_init_internal, _IO_file_attach_internal)
29530 (_IO_file_fopen_internal, _IO_file_read_internal)
29531 (_IO_file_sync_internal, _IO_file_seek_internal)
29532 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29533 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29534 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29535 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29536 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29537 (_IO_list_all_internal, _IO_link_in_internal)
29538 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29539 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29540 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29541 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29542 (_IO_do_write_internal, _IO_padn_internal)
29543 (_IO_getline_info_internal, _IO_getline_internal)
29544 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29545 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29546 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29547 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29548 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29549 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29550 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29551 with libc_hidden_ver, remove use of INTUSE.
29552 * libio/genops.c: Likewise.
29553 * libio/freopen.c: Likewise.
29554 * libio/freopen64.c: Likewise.
29555 * libio/iofclose.c: Likewise.
29556 * libio/iofdopen.c: Likewise.
29557 * libio/iofflush.c: Likewise.
29558 * libio/iofflush_u.c: Likewise.
29559 * libio/iofgets.c: Likewise.
29560 * libio/iofgets_u.c: Likewise.
29561 * libio/iofopen.c: Likewise.
29562 * libio/iofopncook.c: Likewise.
29563 * libio/iofread.c: Likewise.
29564 * libio/iofread_u.c: Likewise.
29565 * libio/ioftell.c: Likewise.
29566 * libio/iofwrite.c: Likewise.
29567 * libio/iogetline.c: Likewise.
29568 * libio/iogets.c: Likewise.
29569 * libio/iogetwline.c: Likewise.
29570 * libio/iopadn.c: Likewise.
29571 * libio/iopopen.c: Likewise.
29572 * libio/ioseekoff.c: Likewise.
29573 * libio/ioseekpos.c: Likewise.
29574 * libio/iosetbuffer.c: Likewise.
29575 * libio/iosetvbuf.c: Likewise.
29576 * libio/ioungetc.c: Likewise.
29577 * libio/ioungetwc.c: Likewise.
29578 * libio/iovdprintf.c: Likewise.
29579 * libio/iovsprintf.c: Likewise.
29580 * libio/iovsscanf.c: Likewise.
29581 * libio/memstream.c: Likewise.
29582 * libio/obprintf.c: Likewise.
29583 * libio/oldfileops.c: Likewise.
29584 * libio/oldiofclose.c: Likewise.
29585 * libio/oldiofdopen.c: Likewise.
29586 * libio/oldiofopen.c: Likewise.
29587 * libio/oldiopopen.c: Likewise.
29588 * libio/oldstdfiles.c: Likewise.
29589 * libio/putc.c: Likewise.
29590 * libio/setbuf.c: Likewise.
29591 * libio/setlinebuf.c: Likewise.
29592 * libio/stdfiles.c: Likewise.
29593 * libio/strops.c: Likewise.
29594 * libio/vasprintf.c: Likewise.
29595 * libio/vscanf.c: Likewise.
29596 * libio/vsnprintf.c: Likewise.
29597 * libio/vswprintf.c: Likewise.
29598 * libio/wfiledoalloc.c: Likewise.
29599 * libio/wfileops.c: Likewise.
29600 * libio/wgenops.c: Likewise.
29601 * libio/wmemstream.c: Likewise.
29602 * libio/wstrops.c: Likewise.
29603 * libio/__fpurge.c: Likewise.
29604 * libio/__fsetlocking.c: Likewise.
29605 * assert/assert.c: Likewise.
29606 * debug/fgets_chk.c: Likewise.
29607 * debug/fgets_u_chk.c: Likewise.
29608 * debug/fread_chk.c: Likewise.
29609 * debug/fread_u_chk.c: Likewise.
29610 * debug/gets_chk.c: Likewise.
29611 * debug/obprintf_chk.c: Likewise.
29612 * debug/vasprintf_chk.c: Likewise.
29613 * debug/vdprintf_chk.c: Likewise.
29614 * debug/vsnprintf_chk.c: Likewise.
29615 * debug/vsprintf_chk.c: Likewise.
29616 * malloc/mtrace.c: Likewise.
29617 * misc/error.c: Likewise.
29618 * misc/syslog.c: Likewise.
29619 * stdio-common/asprintf.c: Likewise.
29620 * stdio-common/fxprintf.c: Likewise.
29621 * stdio-common/getw.c: Likewise.
29622 * stdio-common/isoc99_fscanf.c: Likewise.
29623 * stdio-common/isoc99_scanf.c: Likewise.
29624 * stdio-common/isoc99_vfscanf.c: Likewise.
29625 * stdio-common/isoc99_vscanf.c: Likewise.
29626 * stdio-common/isoc99_vsscanf.c: Likewise.
29627 * stdio-common/printf-prs.c: Likewise.
29628 * stdio-common/printf_fp.c: Likewise.
29629 * stdio-common/printf_fphex.c: Likewise.
29630 * stdio-common/printf_size.c: Likewise.
29631 * stdio-common/putw.c: Likewise.
29632 * stdio-common/scanf.c: Likewise.
29633 * stdio-common/sprintf.c: Likewise.
29634 * stdio-common/tmpfile.c: Likewise.
29635 * stdio-common/vfprintf.c: Likewise.
29636 * stdio-common/vfscanf.c: Likewise.
29637 * stdlib/strfmon_l.c: Likewise.
29638 * sunrpc/openchild.c: Likewise.
29639 * sunrpc/xdr_stdio.c: Likewise.
29640 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29641 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29643 2012-05-24 Roland McGrath <roland@hack.frob.com>
29645 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29647 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29648 in the third column, to generate for the shared library an IFUNC
29649 that uses _dl_vdso_vsym.
29650 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29651 * Makeconfig (object-suffixes-noshared): New variable.
29653 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29654 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29655 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29656 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29659 * include/sys/time.h (__gettimeofday): Remove macro.
29660 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29661 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29663 (__gettimeofday): Add libc_hidden_def.
29664 (gettimeofday): Add libc_hidden_weak.
29665 * sysdeps/mach/gettimeofday.c: Likewise.
29666 * sysdeps/posix/gettimeofday.c: Likewise.
29667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29668 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29670 (__gettimeofday_internal): Remove strong_alias.
29671 (__gettimeofday): Add libc_hidden_def.
29672 (gettimeofday): Add libc_hidden_weak.
29673 * sysdeps/unix/syscalls.list (gettimeofday):
29674 Remove __gettimeofday_internal alias.
29676 2012-05-24 Daniel Jacobowitz <drow@false.org>
29677 H.J. Lu <hongjiu.lu@intel.com>
29680 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29681 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29682 (largebin_index_32_big): New.
29683 (largebin_index): Use it for 16-byte alignment.
29684 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29685 correction with front_misalign.
29687 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29715 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29716 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29718 2012-05-24 Joseph Myers <joseph@codesourcery.com>
29722 * math/libm-test.inc (exp_test): Add test from bug 14036.
29723 (pow_test): Add test from bug 10846.
29725 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29727 (special_function): Do not include flags in test name.
29728 (parse_args): Likewise.
29729 * sysdeps/i386/fpu/libm-test-ulps: Update.
29730 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29731 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29732 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29735 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29737 * math/libm-test.inc ("Philosophy"): Update comment about
29739 (UNDERFLOW_EXCEPTION): New macro.
29740 (UNDERFLOW_EXCEPTION_OK): Likewise.
29741 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29742 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29743 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29744 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29745 (INVALID_EXCEPTION_OK): Update value.
29746 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29747 (OVERFLOW_EXCEPTION_OK): Likewise.
29748 (IGNORE_ZERO_INF_SIGN): Likewise.
29749 (test_exceptions): Handle underflow exceptions.
29750 (acos_test): Update for underflow exception expectations.
29751 (cexp_test): Likewise.
29752 (clog_test): Likewise.
29753 (clog10_test): Likewise.
29754 (csqrt_test): Likewise.
29755 (ctan_test): Likewise.
29756 (ctanh_test): Likewise.
29757 (exp_test): Likewise.
29758 (exp10_test): Likewise.
29759 (exp2_test): Likewise.
29760 (expm1_test): Likewise.
29761 (fma_test): Likewise.
29762 (j0_test): Likewise.
29763 (jn_test): Likewise.
29764 (nexttoward_test): Likewise.
29765 (pow_test): Likewise.
29766 (scalbn_test): Likewise.
29767 (scalbln_test): Likewise.
29768 (tan_test): Likewise.
29769 (y1_test): Likewise.
29770 * sysdeps/i386/fpu/libm-test-ulps: Update.
29771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29773 2012-05-23 David S. Miller <davem@davemloft.net>
29775 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29776 (__libc_sigaction): Remove unused local variables.
29778 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29780 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29782 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29784 mktime: avoid signed integer overflow
29785 * time/mktime.c (__mktime_internal): Do not mishandle the case
29786 where diff == INT_MIN.
29788 mktime: simplify computation of average
29789 * time/mktime.c (ranged_convert): Use new time_t_avg function
29790 instead of rolling our own (probably-slower) code.
29792 mktime: do not assume signed right shift propagates sign bit
29793 * time/mktime.c (isdst_differ): New static function.
29794 (__mktime_internal): No need to normalize tm_isdst now.
29795 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29798 mktime: merge another wrapv change from gnulib
29799 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29800 from some compilers.
29802 mktime: remove incorrect attempt at unusual arithmetics
29803 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29804 The code didn't really work on such machines anyway.
29805 (TYPE_MINIMUM): Assume two's complement.
29806 (twos_complement_arithmetic): Verify that long_int and time_t
29807 are two's complement (or unsigned, in the latter case).
29809 mktime: check signed shifts on long_int and time_t, too
29810 * time/mktime.c (SHR): Check that shifts work as desired
29811 on the types long_int and time_t too, as SHR is used on
29814 mktime: do not assume 'long' is wide enough
29815 * time/mktime.c (verify): Move decl up.
29816 (long_int): New type.
29817 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29818 to remove assumption in the code that 'long' is wide enough to
29819 store year values. This assumption is not true on x32 and on
29820 some non-glibc platforms.
29822 mktime: merge wrapv change from gnulib
29823 * time/mktime.c (WRAPV): New macro.
29824 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29825 (guess_time_tm, __mktime_internal): Do not assume that signed
29826 integer overflow wraps around; modern compilers generate code
29827 where this assumption is no longer valid.
29829 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29831 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29832 Replace "jmp L(pseudo_end)" with "ret".
29833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29836 2012-05-23 Andreas Jaeger <aj@suse.de>
29838 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29839 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29841 2012-05-23 Andreas Jaeger <aj@suse.de>
29842 Maximilian Attems <max@stro.at>
29844 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29847 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29849 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29850 code so that pseudo_end is just ret and the stack pointer is
29851 correct also for static library in error case.
29853 2012-05-23 Joseph Myers <joseph@codesourcery.com>
29855 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29856 move to syscalls.list.
29857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29862 * manual/install.texi (Running make install): Do not mention Linux
29863 kernel version for which pt_chown is not needed.
29864 (Linux): Do not mention problems with nscd with 2.0 kernels.
29865 * INSTALL: Regenerated.
29867 2012-05-23 Andreas Jaeger <aj@suse.de>
29869 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29870 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29872 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29874 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29876 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29877 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29878 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29879 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29880 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29881 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29882 * sysdeps/unix/sysv/linux/bits/in.h
29883 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29885 2012-05-22 Roland McGrath <roland@hack.frob.com>
29887 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29888 (PREPARE_VERSION): Just use assert instead, it will be elided
29889 under [NDEBUG] anyway.
29891 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29893 * sysdeps/unix/sysv/linux/Makefile: Include
29894 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29895 (sysdep_routines): Remove sysctl.
29896 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29897 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29898 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29899 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29900 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29902 2012-05-22 Andreas Jaeger <aj@suse.de>
29904 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29905 that pseudo_end is just ret and the stack pointer is correct also
29906 for static library in error case.
29908 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29911 * nss/nsswitch.c (defconfig_entries): New variable.
29912 (__nss_database_lookup): Don't leak defconfig entries.
29913 (nss_parse_service_list): Don't leak on error paths.
29914 (free_database_entries): New function.
29915 (free_defconfig): New function.
29916 (free_mem): Move common code to free_database_entries.
29918 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29920 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29922 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29924 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29925 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29928 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29929 (INTERNAL_SYSCALL_TYPES): Likewise.
29930 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29931 (LOAD_REGS_TYPES_[1-6]): Likewise.
29932 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29933 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29935 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29937 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29938 copysignl for GLIBC_2_0.
29939 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29940 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29942 logbl for GLIBC_2_0.
29943 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29944 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29946 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29949 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29951 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29954 * time/mktime.c: Update copyright years.
29956 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29958 mktime: merge comment-quoting-style change from gnulib
29959 * time/mktime.c: Quote 'like this' in comments.
29960 The GNU coding standards suggest that we no longer quote `like this',
29961 as "`" and "'" are typically rendered asymmetrically nowadays.
29962 The typical gnulib style is to quote 'like this' when quoting
29963 code, and "like this" when quoting English.
29965 * time/mktime.c (compile-command): Add "-I.".
29967 mktime: merge mktime-internal.h change from gnulib
29968 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29970 mktime: merge time_r change from gnulib
29971 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29973 mktime: merge DEBUG change from gnulib
29974 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29975 case system <time.h> has a #define.
29977 mktime: merge <sys/types.h> change from gnulib
29978 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29979 since <time.t> is now guaranteed to define time_t.
29981 mktime: merge HAVE_CONFIG_H change from gnulib
29982 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29984 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29989 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29991 (struct rusage): Use anonymous union to pad each field to
29994 2012-05-21 David S. Miller <davem@davemloft.net>
29996 * Makefules (o-iterator): Remove .s cases.
29997 (compile-command.s): Delete.
29998 (COMPILE.s): Delete.
29999 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30001 2012-05-21 Joseph Myers <joseph@codesourcery.com>
30003 * configure.in (libc_cv_predef_stack_protector): Only consider
30004 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30005 * configure: Regenerated.
30007 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30010 New macro. Use R*LP on int and pointer.
30011 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30012 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30013 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30014 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30016 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30017 [__WORDSIZE_TIME64_COMPAT32] instead of
30018 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30019 (struct utmp): Likewise.
30020 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30021 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30023 (__WORDSIZE_TIME64_COMPAT32): This.
30024 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30025 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30026 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30027 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30028 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30029 (__WORDSIZE_TIME64_COMPAT32): New macro.
30031 2012-05-21 Andreas Jaeger <aj@suse.de>
30033 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30034 only if [SHARED]. Add prototype for __wcschr_ia32.
30036 2012-05-21 Roland McGrath <roland@hack.frob.com>
30038 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30039 of %rbp unmolested in the jmp_buf while mangling the low bits.
30040 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30041 unmolested high bits of %rbp while demangling the low bits.
30042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30044 2012-05-21 Andreas Jaeger <aj@suse.de>
30046 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30047 * sunrpc/svc_simple.c: Use it for registerrpc.
30048 * sunrpc/xcrypt.c: Use it for passwd2des.
30050 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30052 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30054 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30055 Don't define if [__SYSCALL_WORDSIZE != 32].
30056 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30059 2012-05-21 Bruno Haible <bruno@clisp.org>
30060 Andreas Jaeger <aj@suse.de>
30062 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30063 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30064 inptr and inend for must_buffer_ch.
30065 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30066 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30067 * stdio-common/Makefile (tests): Remove bug15.
30068 (bug15-ENV): Remove macro.
30069 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30072 2012-05-19 Andreas Jaeger <aj@suse.de>
30073 Roland McGrath <roland@hack.frob.com>
30075 * manual/contrib.texi: Completely rewritten. It contains now an
30076 alphabetical list of contributors and their contributions.
30078 2012-05-21 Richard Henderson <rth@twiddle.net>
30080 * misc/getauxval.c (__getauxval): Use unsigned long int.
30081 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30082 (getauxval): Use unsigned long int.
30084 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30086 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30088 2012-05-21 Roland McGrath <roland@hack.frob.com>
30090 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30091 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30092 __alignof__ (long double).
30094 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30098 2012-05-20 Richard Henderson <rth@twiddle.net>
30100 * misc/getauxval.c: New file.
30101 * misc/sys/auxv.h: New file.
30102 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30103 (routines): Add getauxval.
30104 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30105 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30106 * elf/dl-sysdep.c (_dl_auxv): Remove.
30107 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30108 * elf/dl-support.c (_dl_auxv): New variable.
30109 (_dl_aux_init): Initialize it.
30110 * manual/startup.texi (Auxiliary Vector): New node.
30111 * sysdeps/generic/bits/hwcap.h: New file.
30112 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30113 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30114 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30115 * sysdeps/sparc/sysdep.h: ... here. Include it.
30116 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30123 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30129 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30133 2012-05-19 David S. Miller <davem@davemloft.net>
30135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30137 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30140 * math/s_ccosh.c: Include <float.h>
30141 (__ccosh): Avoid internal overflow calculating sinh and cosh
30142 values before multiplying by sin and cos values.
30143 * math/s_ccoshf.c: Likewise.
30144 * math/s_ccoshl.c: Likewise.
30145 * math/s_csin.c: Likewise.
30146 * math/s_csinf.c: Likewise.
30147 * math/s_csinl.c: Likewise.
30148 * math/s_csinh.c: Likewise.
30149 * math/s_csinhf.c: Likewise.
30150 * math/s_csinhl.c: Likewise.
30151 * math/libm-test.inc (ccos_test): Add more tests.
30152 (ccosh_test): Likewise.
30153 (csin_test): Likewise.
30154 (csinh_test): Likewise.
30155 * sysdeps/i386/fpu/libm-test-ulps: Update.
30156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30158 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30160 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30161 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30163 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30165 2012-05-19 Joseph Myers <joseph@codesourcery.com>
30167 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30168 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30169 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30170 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30171 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30172 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30173 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30174 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30175 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30176 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30177 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30178 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30179 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30180 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30181 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30182 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30183 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30184 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30185 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30186 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30187 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30188 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30189 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30190 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30191 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30192 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30193 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30194 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30195 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30196 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30197 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30199 2012-05-18 Andreas Jaeger <aj@suse.de>
30201 * csu/.gitignore: Delete.
30203 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30205 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30206 (timex): Use __syscall_slong_t.
30208 2012-05-18 Andreas Jaeger <aj@suse.de>
30209 Carlos O'Donell <carlos_odonell@mentor.com>
30211 * manual/install.texi (Configuring and compiling): Update
30212 description about files modified in the source directory.
30213 * INSTALL: Regenerated.
30215 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30217 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30218 value. Use "or" to set return value to -1.
30219 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30220 negate return value.
30222 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30224 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30225 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30226 failure if the compiler has Graphite support disabled.
30227 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30229 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30230 (CFLAGS-memmove.c): Likewise.
30231 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30234 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30236 * sysdeps/x86_64/x32/_itoa.h: New file.
30238 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30239 getdents system call only if kernel and user dirents have the
30240 same d_ino and d_off.
30242 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30243 LLONG_MAX != LONG_MAX.
30244 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30245 (_fitoa_word): Likewise.
30247 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30249 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30250 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30251 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30253 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30254 include <bits/wordsize.h>. Check __x86_64__ instead of
30256 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30257 if __x86_64__ is defined. Use anonymous union on fpstate.
30259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30262 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30264 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30265 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30266 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30267 Refer to _rtld_local_ro instead of _rtld_global_ro.
30268 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30270 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30272 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30274 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30275 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30276 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30278 * sysdeps/powerpc/powerpc32/dl-machine.c
30279 (__elf_machine_runtime_setup) [PROF]: Don't reference
30282 2012-05-18 Andreas Jaeger <aj@suse.de>
30284 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30285 function only available for GCCs before 3.4 since GCC 3.4
30286 introduced a builtin.
30288 (llrintf): Likewise.
30289 (llrint): Likewise.
30296 (nearbyint): Likewise.
30297 (nearbyintf): Likewise.
30301 (floorf): Likewise.
30303 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30305 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30306 on both fields and cast pointer to __syscall_ulong_t.
30308 * bits/types.h (__fsword_t): New type.
30309 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30310 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30312 (__FSWORD_T_TYPE): Likewise.
30313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30314 (__FSWORD_T_TYPE): Likewise.
30315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30316 (__FSWORD_T_TYPE): Likewise.
30317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30318 (__FSWORD_T_TYPE): Likewise.
30319 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30320 __SWORD_TYPE with __fsword_t.
30321 (statfs64): Likewise.
30323 2012-05-17 David S. Miller <davem@davemloft.net>
30325 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30327 2012-05-17 Andreas Jaeger <aj@suse.de>
30329 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30332 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30334 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30336 2012-05-17 Andreas Jaeger <aj@suse.de>
30338 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30341 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30343 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30345 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30347 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30348 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30350 2012-05-17 Andreas Jaeger <aj@suse.de>
30351 Carlos O'Donell <carlos_odonell@mentor.com>
30354 * sysdeps/x86_64/multiarch/init-arch.h
30355 (bit_YMM_Usable): Rename to...
30356 (bit_AVX_Usable): ... this.
30357 (bit_FMA4_Usable): New macro.
30358 (bit_XMM_state): New macro.
30359 (bit_YMM_state): New macro.
30360 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30361 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30362 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30363 (CPUID_OSXSAVE): New macro.
30364 (CPUID_AVX): New macro.
30365 (CPUID_FMA4): New macro.
30366 (index_YMM_Usable): Rename to...
30367 (index_AVX_Usable): ... this.
30368 (HAS_AVX): Use HAS_ARCH_FEATURE.
30369 (HAS_FMA4): Likewise.
30370 (HAS_YMM_USABLE): Remove.
30371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30372 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30374 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30375 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30376 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30377 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30378 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30380 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30382 * math/libm-test.c: Support platforms without multiple rounding modes.
30383 * math/bug-nextafter.c: Support platforms without FP exceptions.
30384 * math/bug-nexttoward.c: Likewise.
30385 * math/test-fenv.c: Likewise.
30386 * math/test-misc.c: Likewise.
30387 * stdlib/bug-getcontext.c: Likewise.
30389 2012-05-17 Andreas Jaeger <aj@suse.de>
30391 * manual/examples/search.c (critter_cmp): Change signature to
30393 * manual/string.texi (Collation Functions): Likewise.
30395 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30397 * bits/types.h: Fold copyright years.
30398 * bits/typesizes.h: Likewise.
30399 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30403 * time/time.h: Likewise.
30405 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30408 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30409 in instead of returning them. Return void.
30410 (__libc_mallinfo): Accumulate over all arenas.
30411 (__malloc_stats): Adjust for change in int_mallinfo interface.
30413 2012-05-16 Roland McGrath <roland@hack.frob.com>
30416 * configure.in (NM): Add AC_CHECK_TOOL for it.
30417 (libc_extra_cflags): New substituted variable.
30418 Check for -fstack-protector being used implicitly.
30419 * configure: Regenerated.
30420 * config.make.in (config-extra-cflags): New variable,
30421 gets @libc_extra_cflags@.
30422 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30425 * configure.in: Check for _FORTIFY_SOURCE being predefined.
30426 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30427 * configure: Regenerated.
30428 * config.make.in (CPPUNDEFS): New substituted variable.
30429 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30430 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30431 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30433 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30435 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30436 (mq_attr): Use __syscall_slong_t.
30438 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30440 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30441 Check __x86_64__ instead of __WORDSIZE.
30442 (_STAT_VER_LINUX): Likewise.
30443 (stat): Check __x86_64__ instead of __WORDSIZE. Use
30444 __syscall_ulong_t and __syscall_slong_t.
30445 (stat64): Likewise.
30447 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30449 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30451 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30453 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30455 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30457 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30460 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30461 include <bits/wordsize.h>. Check __x86_64__ instead of
30463 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30465 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30467 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30468 include <bits/wordsize.h>. Check __x86_64__ instead of
30470 (user_regs_struct): Use "__extension__ unsigned long long"
30471 instead of "unsigned long" if __x86_64__ is defined.
30472 (user): Likewise. Pad after pointer field if __ILP32__ is
30475 2012-05-16 Joseph Myers <joseph@codesourcery.com>
30477 * configure.in (makeinfo): Require version 4.5 or later. Allow
30479 * configure: Regenerated.
30480 * manual/install.texi (texinfo): Increase version requirement to
30482 * INSTALL: Regenerated.
30484 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30488 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30490 * sysdeps/x86_64/x32/ffs.c: New file.
30492 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30494 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30495 defined. Use __syscall_ulong_t.
30496 (shminfo): Use __syscall_ulong_t.
30497 (shm_info): Likewise.
30499 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30502 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30504 (msgqnum_t): Use __syscall_ulong_t.
30505 (msglen_t): Likewise.
30506 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30509 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30510 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30512 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30514 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30515 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30517 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30520 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30521 include <bits/wordsize.h>. Check __x86_64__ instead of
30524 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30525 "unsigned long long int" if __x86_64__ is defined.
30526 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30529 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30530 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30532 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30534 (GET_PC): Cast to uintptr_t first.
30535 (GET_FRAME): Likewise.
30536 (GET_STACK): Likewise.
30538 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30539 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30540 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30541 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30542 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30543 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30544 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30545 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30546 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30547 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30548 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30549 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30551 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30552 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30553 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30554 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30555 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30556 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30557 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30558 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30559 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30560 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30561 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30562 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30563 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30564 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30565 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30568 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30570 * Makerules (+depfiles): Also collect depfiles from .oS in
30572 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30573 .oS, $(libnldbl-routines)).
30575 * Makerules (native-compile-mkdep-flags): Define.
30576 * sunrpc/Makefile (extra-objs): Add $(addprefix
30577 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30578 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30579 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30580 calling $(make-target-directory).
30582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30584 * bits/types.h (__snseconds_t): Removed.
30585 * time/time.h (struct timespec): Replace __snseconds_t with
30587 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30588 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30591 (__SNSECONDS_T_TYPE): Likewise.
30592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30593 (__SNSECONDS_T_TYPE): Likewise.
30594 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30595 (__SNSECONDS_T_TYPE): Likewise.
30597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30599 * sysdeps/mach/hurd/bits/typesizes.h
30600 (__SYSCALL_SLONG_TYPE): New macro.
30601 (__SYSCALL_ULONG_TYPE): Likewise.
30603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30605 * bits/types.h (__syscall_slong_t): New type.
30606 (__syscall_ulong_t): Likewise.
30608 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30609 (__SYSCALL_ULONG_TYPE): Likewise.
30610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30611 (__SYSCALL_SLONG_TYPE): Likewise.
30612 (__SYSCALL_ULONG_TYPE): Likewise.
30613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30614 (__SYSCALL_SLONG_TYPE): Likewise.
30615 (__SYSCALL_ULONG_TYPE): Likewise.
30616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30617 (__SYSCALL_SLONG_TYPE): Likewise.
30618 (__SYSCALL_ULONG_TYPE): Likewise.
30620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30622 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30623 Add sigaltstack-offsets.sym.
30624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30625 <sigaltstack-offsets.h>.
30626 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30627 longjmp_msg pointer.
30628 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30629 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30631 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30633 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30635 * elf/stackguard-macros.h: Remove file.
30636 * sysdeps/generic/stackguard-macros.h: New file.
30637 * sysdeps/i386/stackguard-macros.h: Likewise.
30638 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30639 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30640 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30641 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30642 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30643 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30644 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30645 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30646 <elf/stackguard-macros.h>.
30649 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30650 __aligned__ in attribute.
30651 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30652 (gregset_t): Likewise.
30654 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30656 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30657 * sysdeps/x86_64/64/Implies-after: Here. New file.
30658 * sysdeps/x86_64/x32/Implies-after: New file.
30660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30662 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30663 and access return value for _dl_profile_fixup. Use R10_LP to
30666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30668 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30672 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30673 * sysdeps/x86_64/x32/sysdep.h: New file.
30675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30677 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30678 * sysdeps/x86_64/setjmp.S: Likewise.
30680 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30682 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30683 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30684 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30685 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30686 remove unused global constant.
30688 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30690 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30691 include of <not-cancel.h>.
30693 2012-05-15 Roland McGrath <roland@hack.frob.com>
30695 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30697 2012-05-15 Jeff Law <law@redhat.com>
30698 Andreas Jaeger <aj@suse.de>
30701 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30703 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30704 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30705 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30706 code changing __hst_map_handle.map.
30708 2012-05-15 Roland McGrath <roland@hack.frob.com>
30710 * configure.in (sysnames): Look for Implies-before and Implies-after
30712 * configure: Regenerated.
30714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30716 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30717 8-byte data alignment with LP_SIZE alignment.
30719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30721 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30726 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30730 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30731 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30732 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30734 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30738 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30739 (stackinfo_sub_sp): Likewise.
30741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30743 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30748 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30753 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30758 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30760 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30762 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30763 into R11_LP and load __x86_64_shared_cache_size_half into
30766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30771 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30773 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30775 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30777 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30780 powerpc32/power7/fpu/s_logb.c via #include.
30781 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30782 powerpc32/power7/fpu/s_logbf.c via #include.
30783 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30784 powerpc32/power7/fpu/s_logbl.c via #include.
30786 2012-05-15 Joseph Myers <joseph@codesourcery.com>
30788 * README.libm: Remove file.
30790 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30792 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30793 count for x32. Use R*_LP and omit operand-size suffix.
30795 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30797 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30798 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30799 * sysdeps/x86_64/x32/shlib-versions: New file.
30801 2012-05-14 Roland McGrath <roland@hack.frob.com>
30803 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30804 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30805 Use _dl_fatal_printf instead.
30807 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30809 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30810 set if not set by the user. Do not allow for being unset.
30811 * sysdeps/unix/sysv/linux/configure: Regenerated.
30813 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30815 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30816 the `q' suffix from lea and replace .quad with ASM_ADDR.
30818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30820 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30821 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30823 (PTR_DEMANGLE): Likewise.
30825 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30827 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30829 (ASM_ADDR): Likewise.
30830 (RAX_LP): Likewise.
30831 (RBP_LP): Likewise.
30832 (RBX_LP): Likewise.
30833 (RCX_LP): Likewise.
30834 (RDI_LP): Likewise.
30835 (RSI_LP): Likewise.
30836 (RSP_LP): Likewise.
30839 (R10_LP): Likewise.
30840 (R10_LP): Likewise.
30841 (R11_LP): Likewise.
30842 (R12_LP): Likewise.
30843 (R13_LP): Likewise.
30844 (R14_LP): Likewise.
30845 (R15_LP): Likewise.
30847 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30849 * sysdeps/x86_64/x32/dl-machine.h: New file.
30851 2012-05-14 Andreas Jaeger <aj@suse.de>
30853 * manual/Makefile (subdir): Remove export of subdir.
30854 (all): Remove target.
30855 (.PHONY): Remove all from list.
30856 (mkinstalldirs): Remove.
30857 (.PHONY): Remove installdirs from list.
30858 ($(inst_infodir)/libc.info): Use make-target-directory.
30859 (installdirs): Remove.
30860 (subdir_%): Remove.
30861 (glibc-targets): Remove.
30864 ($(objpfx)stubs ../po/manual.pot): Remove.
30865 ($(objpfx)stamp%): Remove.
30866 (make-target-directory): Remove.
30867 (subdir_install): Remove.
30868 (routines): Remove.
30875 * manual/.gitignore: Remove, it's not needed anymore.
30876 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30878 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30880 (texis): Renamed to $(objpfx)texis.
30881 (texis-path): New, contains path to generated files.
30882 (chapters.%): Use texis-path for complete path, add extra argument
30884 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30885 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30886 (summary,texi, stamp-summary): Use complete path of
30887 files. Generate files in build dir.
30888 (dir-add.texi): Build in build dir.
30889 (libm-err.texi,stamp-libm-err): Likewise.
30890 (version.texi, stamp-version): Likewise.
30891 (.%c.texi): Likewise.
30892 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30893 (mostlyclean): Remove target.
30894 (realclean): Remove target.
30895 (generated): Add new variable with contents from mostlyclean and
30896 realclean, remove entries duplicated in common-mostlyclean, add
30897 stamp-libm-err and stamp-version.
30898 (generated-dirs): Add libc directory.
30899 ($(inst_infodir)/libc.info): Install files from build dir.
30901 * manual/install.texi (Configuring and compiling): Adjust since
30902 the info files are not part of the tar ball anymore.
30904 2012-05-14 Andreas Jaeger <aj@suse.de>
30906 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30909 2012-05-14 Joseph Myers <joseph@codesourcery.com>
30912 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30913 to 2.2.0 where earlier.
30914 * sysdeps/unix/sysv/linux/configure: Regenerated.
30915 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30916 Remove conditional code.
30917 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30918 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30919 Remove conditional code.
30920 [!__NR_lchown]: Likewise.
30921 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30922 [__NR_lchown]: Likewise.
30923 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30924 comment referencing __ASSUME_LCHOWN_SYSCALL.
30925 * sysdeps/unix/sysv/linux/i386/sigaction.c
30926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30928 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30929 Remove conditional code.
30930 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30931 (__protocol_available): Remove #if 0 code.
30932 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30934 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30935 * sysdeps/unix/sysv/linux/kernel-features.h
30936 (__ASSUME_GETCWD_SYSCALL): Don't define.
30937 (__ASSUME_REALTIME_SIGNALS): Likewise.
30938 (__ASSUME_PREAD_SYSCALL): Likewise.
30939 (__ASSUME_PWRITE_SYSCALL): Likewise.
30940 (__ASSUME_POLL_SYSCALL): Likewise.
30941 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30942 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30944 (__ASSUME_SIOCGIFNAME): Don't define.
30945 (__ASSUME_MSG_NOSIGNAL): Likewise.
30946 (__ASSUME_SENDFILE): Define unconditionally.
30947 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30948 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30950 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30951 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30952 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30953 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30954 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30955 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30956 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30958 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30961 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30964 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30967 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30970 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30973 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30976 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30977 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30979 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30980 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30981 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30982 Remove conditional code.
30983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30984 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30985 Remove conditional code.
30986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30987 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30988 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30989 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30990 Remove conditional code.
30991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30992 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30993 Remove conditional code.
30994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30995 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30996 Remove conditional code.
30997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30998 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30999 Remove conditional code.
31000 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31001 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31002 Remove conditional code.
31003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31004 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31005 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31007 * sysdeps/unix/sysv/linux/sigaction.c
31008 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31009 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31010 * sysdeps/unix/sysv/linux/sigpending.c
31011 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31012 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31013 * sysdeps/unix/sysv/linux/sigprocmask.c
31014 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31015 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31016 * sysdeps/unix/sysv/linux/sigsuspend.c
31017 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31018 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31019 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31020 (__libc_missing_rt_sigs): Remove.
31021 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31022 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31023 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31024 Remove conditional code.
31025 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31026 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31029 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31031 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31033 2012-05-14 Andreas Jaeger <aj@suse.de>
31035 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31036 it's not used in glibc.
31037 (__coshm1): Likewise.
31038 (__acosh1p): Likewise.
31041 * manual/string.texi (Copying and Concatenation): Add missing
31042 variable in concat example.
31043 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31045 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31049 __builtin_clzl with __builtin_clzll.
31051 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31054 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31057 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31059 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31060 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31061 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31062 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31064 2012-05-14 Mike Frysinger <vapier@gentoo.org>
31066 * NEWS: Update ia64 info.
31068 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31070 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31073 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31075 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31076 * sysdeps/unix/syscalls.list (dup3): Likewise.
31077 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31078 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31080 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31082 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31083 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31085 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31087 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31089 (TLS_IE): Use mov/add instead of movq/addq to load thread
31091 (TLS_GD_PREFIX): New.
31094 2012-05-11 David S. Miller <davem@davemloft.net>
31096 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31097 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31098 (_FPU_SETCW): Likewise.
31100 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31102 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31103 is 32-byte aligned.
31105 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31108 * iconvdata/gb18030.c: Update tables.
31109 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31110 characters specially.
31111 (BODY for TO_LOOP): Add encoding of missing ranges.
31113 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31116 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31117 * sysdeps/mach/hurd/dup3.c: Likewise.
31118 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31119 * sysdeps/powerpc/memmove.c:: Likewise.
31121 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31124 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31126 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31128 * elf/elf.h (R_X86_64_RELATIVE64): New.
31129 (R_X86_64_NUM): Updated.
31130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31131 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31132 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31133 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31134 tst-quad1pie tst-quad2pie
31135 (modules-names): Add tst-quadmod1 tst-quadmod2.
31136 ($(objpfx)tst-quad1): New dependency.
31137 ($(objpfx)tst-quad2): Likewise.
31138 ($(objpfx)tst-quad1pie): Likewise.
31139 ($(objpfx)tst-quad2pie): Likewise.
31140 * sysdeps/x86_64/tst-quad1.c: New file.
31141 * sysdeps/x86_64/tst-quad1pie.c: New file.
31142 * sysdeps/x86_64/tst-quad2.c: Likewise.
31143 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31144 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31145 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31146 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31147 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31151 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31152 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31153 * streams/stropts.h (t_scalar_t): Define type.
31155 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31156 (_PATH_PRESERVE): Set to "/var/lib".
31157 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31159 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31162 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31163 if __dir_mkfile succeeded.
31165 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31166 checking for _hurd_dtablesize. Unlock it right after having
31167 finished _hurd_dtable allocation.
31169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31171 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31172 * sysdeps/mach/hurd/configure: Regenerated.
31173 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31174 special-casing to...
31175 * sysdeps/gnu/configure.in: ... this new file.
31176 * sysdeps/unix/sysv/linux/configure: Regenerated.
31177 * sysdeps/gnu/configure: New generated file.
31179 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31180 for Linux: use nsec instead of usec, as well as:
31181 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31182 members of type struct timespec.
31183 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31185 (struct stat64): Likewise.
31186 (_STATBUF_ST_NSEC): New macro.
31187 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31189 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31190 __strtoul_internal rather than strtoul.
31192 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31194 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31197 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31199 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31200 which preserves existing values.
31201 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31203 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31205 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31206 TIMEOUT values. Return EINVAL for NFDS values either negative or
31207 greater than FD_SETSIZE.
31209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31211 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31212 allocated, call __vm_protect to finish enabling the existing space, and
31213 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31214 allocate the remainder.
31216 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31218 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31219 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31223 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31224 sysdeps/mach/hurd/readlink.c.
31226 * posix/tst-sysconf.c (posix_options): Only use
31227 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31228 _POSIX_SYNCHRONIZED_IO when they are defined
31229 * sysdeps/mach/hurd/bits/posix_opt.h:
31230 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31231 (_XOPEN_REALTIME): Undefine macro.
31232 (_XOPEN_REALTIME_THREADS): Undefine macro.
31233 (_XOPEN_SHM): Undefine macro.
31234 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31236 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31238 (_POSIX_ASYNC_IO): Undefine macro.
31239 (_POSIX_PRIORITIZED_IO): Undefine macro.
31240 (_POSIX_SPIN_LOCKS): Define macro to -1.
31242 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31243 SA_NODEFER, SA_RESETHAND.
31244 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31245 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31248 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31250 * elf/Makefile (pldd-modules): Define unconditionally.
31252 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31254 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31256 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31258 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31259 Return ENOENT when name is empty.
31260 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31262 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31264 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31266 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31268 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31270 Fix mlock in all cases except non-readable pages.
31271 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31272 instead of VM_PROT_ALL as parameter to __vm_wire function.
31274 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31275 (__mkdir): When path is `/', just fail with EEXIST.
31276 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31278 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31280 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31281 <sys/uio.h> (for writev).
31282 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31283 and <sys/param.h> (for MIN).
31285 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31287 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31288 REQUESTED_TIME. Properly set the remaining time and return EINTR
31291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31293 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31294 Depend on against $(link-rpcuserlibs).
31296 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31298 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31299 (__libc_stack_end): Do not use attribute_relro.
31300 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31301 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31302 to libthread-provided value.
31303 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31309 * bits/libc-lock.h (__libc_once_get): New macro.
31310 * sysdeps/mach/bits/libc-lock.h: Likewise.
31311 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31312 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31313 instead of using implementation details.
31315 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31316 * libio/freopen.c: Likewise.
31317 * libio/freopen64.c: Likewise.
31318 * misc/syslog.c: Likewise.
31319 * nscd/connections.c: Likewise.
31320 * nscd/netgroupcache.c: Likewise.
31321 * sysdeps/posix/getcwd.c: Likewise.
31323 2012-05-10 Roland McGrath <roland@hack.frob.com>
31325 * math/w_ilogbf.c: Add #include <limits.h>.
31327 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31329 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31330 path instead of returning without unlocking.
31332 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31333 immediate-write ioctls.
31334 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31336 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31338 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31339 __builtin_frame_address instead of making assumptions about the
31340 location of the return address relative to DATA. Force early load of
31341 the return address.
31342 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31343 __builtin_frame_address.
31346 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31347 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31348 implement dup3 and do some further code clean-ups.
31349 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31350 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31354 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31356 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31357 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31358 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31359 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31360 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31363 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31364 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31365 when handler == SIG_ERR, not when handler != SIG_ERR.
31367 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31369 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31370 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31373 accept4 for GNU Hurd.
31374 * include/sys/socket.h (__libc_accept4): New prototype.
31375 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31376 to implement __libc_accept4.
31377 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31379 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31381 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31382 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31383 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31384 signal-defines.sym.
31386 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31388 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
31392 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31393 assertion on O_CLOEXEC flag.
31394 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31395 * hurd/intern-fd.c: Likewise.
31396 * hurd/port2fd.c: Likewise.
31398 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31401 * bits/in.h (IPV6_PKTINFO): Define new macro.
31402 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31404 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31409 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31411 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31412 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31414 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31415 * math/libm-test.inc (logb_test) : Additional logb tests.
31417 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31418 Andreas Jaeger <aj@suse.de>
31420 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31421 * configure: Regenerated.
31422 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31423 * config.make.in (link-obsolete-rpc): New substituted variable.
31424 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31425 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31426 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31427 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31428 so that libc.a contains the symbols.
31429 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31430 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31431 * sunrpc/auth_none.c: Likewise.
31432 * sunrpc/auth_unix.c: Likewise.
31433 * sunrpc/authdes_prot.c: Likewise.
31434 * sunrpc/authuxprot.c: Likewise.
31435 * sunrpc/clnt_gen.c: Likewise.
31436 * sunrpc/clnt_perr.c: Likewise.
31437 * sunrpc/clnt_raw.c: Likewise.
31438 * sunrpc/clnt_simp.c: Likewise.
31439 * sunrpc/clnt_tcp.c: Likewise.
31440 * sunrpc/clnt_udp.c: Likewise.
31441 * sunrpc/clnt_unix.c: Likewise.
31442 * sunrpc/des_crypt.c: Likewise.
31443 * sunrpc/des_soft.c: Likewise.
31444 * sunrpc/get_myaddr.c: Likewise.
31445 * sunrpc/key_call.c: Likewise.
31446 * sunrpc/key_prot.c: Likewise.
31447 * sunrpc/netname.c: Likewise.
31448 * sunrpc/pm_getmaps.c: Likewise.
31449 * sunrpc/pm_getport.c: Likewise.
31450 * sunrpc/pmap_clnt.c: Likewise.
31451 * sunrpc/pmap_prot.c: Likewise.
31452 * sunrpc/pmap_prot2.c: Likewise.
31453 * sunrpc/pmap_rmt.c: Likewise.
31454 * sunrpc/publickey.c: Likewise.
31455 * sunrpc/rpc_cmsg.c: Likewise.
31456 * sunrpc/rpc_common.c: Likewise.
31457 * sunrpc/rpc_dtable.c: Likewise.
31458 * sunrpc/rpc_prot.c: Likewise.
31459 * sunrpc/rpc_thread.c: Likewise.
31460 * sunrpc/rtime.c: Likewise.
31461 * sunrpc/svc.c: Likewise.
31462 * sunrpc/svc_auth.c: Likewise.
31463 * sunrpc/svc_raw.c: Likewise.
31464 * sunrpc/svc_run.c: Likewise.
31465 * sunrpc/svc_tcp.c: Likewise.
31466 * sunrpc/svc_udp.c: Likewise.
31467 * sunrpc/svc_unix.c: Likewise.
31468 * sunrpc/svcauth_des.c: Likewise.
31469 * sunrpc/xcrypt.c: Likewise.
31470 * sunrpc/xdr.c: Likewise.
31471 * sunrpc/xdr_array.c: Likewise.
31472 * sunrpc/xdr_float.c: Likewise.
31473 * sunrpc/xdr_intXX_t.c: Likewise.
31474 * sunrpc/xdr_mem.c: Likewise.
31475 * sunrpc/xdr_rec.c: Likewise.
31476 * sunrpc/xdr_ref.c: Likewise.
31477 * sunrpc/xdr_sizeof.c: Likewise.
31478 * sunrpc/xdr_stdio.c: Likewise.
31480 2012-05-10 Roland McGrath <roland@hack.frob.com>
31482 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31483 change. Update copyright years.
31485 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31487 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31489 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31490 Joseph Myers <joseph@codesourcery.com>
31491 Paul Pluzhnikov <ppluzhnikov@google.com>
31494 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31496 [cross-compiling] (extra-libs): Likewise.
31497 [cross-compiling] (extra-libs-others): Likewise.
31498 [cross-compiling] (librpcsvc-routines): Likewise.
31499 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31500 [cross-compiling] (omit-deps): Likewise.
31501 (sunrpc-CPPFLAGS): New variable.
31502 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31503 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31504 (cross-rpcgen-objs): New variable.
31505 (extra-objs): Append $(cross-rpcgen-objs).
31506 ($(cross-rpcgen-objs)): New rule.
31507 ($(objpfx)cross-rpcgen): Likewise.
31508 (rpcgen-cmd): Define to use $(built-program-file). Expand
31510 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31511 ($(objpfx)x%.stmp): Likewise.
31512 * sunrpc/proto.h [IS_IN_build] (_): Define.
31513 [IS_IN_build] (_libc_intl_domainname): Likewise.
31515 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31518 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31519 and R_X86_64_TPOFF64.
31521 2012-05-10 Joseph Myers <joseph@codesourcery.com>
31523 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31524 sysdeps/unix/sysv/syscalls.list.
31527 * sysdeps/unix/sysv/syscalls.list: Remove file.
31529 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31532 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31533 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31534 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31535 (__LC_IDENTIFICATION): Make these macros useful in #if
31536 expressions, as required by C99.
31538 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31540 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31541 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31544 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31546 * stdlib/longlong.h: Updated from GCC.
31548 2012-05-09 Andreas Jaeger <aj@suse.de>
31550 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31551 default is first entry.
31552 (run_mode): Set type.
31553 (main): Remove informal message about syslog.
31554 (options): Fix typo.
31557 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31560 (llrintf): Likewise.
31561 (llrint): Likewise.
31564 (nearbyint): Likewise.
31565 (nearbyintf): Likewise.
31567 2012-05-09 Andreas Jaeger <aj@suse.de>
31568 Pedro Alves <palves@redhat.com>
31570 * nscd/nscd.c (run_mode): Use enum.
31571 (main): Cleanup coding style issue.
31573 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
31574 Andreas Jaeger <aj@suse.de>
31576 * nscd/nscd.c (go_background): Replaced with...
31577 (run_mode): ... this.
31578 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31579 (options): Add -F --foreground.
31580 (main): Implement it.
31581 (parse_opt): Parse it.
31583 2012-05-09 Andreas Jaeger <aj@suse.de>
31586 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31587 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31588 -Wconversion warning.
31589 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31592 2012-05-09 Joseph Myers <joseph@codesourcery.com>
31594 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31596 (LC_ALL): Use macro-int-constant.
31597 (LC_COLLATE): Likewise.
31598 (LC_CTYPE): Likewise.
31599 (LC_MESSAGES): Likewise.
31600 (LC_MONETARY): Likewise.
31601 (LC_NUMERIC): Likewise.
31602 (LC_TIME): Likewise.
31603 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31604 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31606 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31608 [C99-based standards] (float_t): Expect type.
31609 [C99-based standards] (double_t): Expect type.
31610 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31612 [C99-based standards] (HUGE_VALL): Likewise.
31613 [C99-based standards] (INFINITY): Likewise.
31614 [C99-based standards] (NAN): Likewise.
31615 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31616 [C99-based standards] (FP_NAN): Likewise.
31617 [C99-based standards] (FP_NORMAL): Likewise.
31618 [C99-based standards] (FP_SUBNORMAL): Likewise.
31619 [C99-based standards] (FP_ZERO): Likewise.
31620 [C99-based standards] (FP_FAST_FMA): Use
31621 optional-macro-int-constant. Specify type. Require == 1.
31622 [C99-based standards] (FP_FAST_FMAF): Likewise.
31623 [C99-based standards] (FP_FAST_FMAL): Likewise.
31624 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31625 [C99-based standards] (FP_ILOGBNAN): Likewise.
31626 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31628 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31629 [C99-based standards] (math_errhandling): Specify type.
31630 [ISO99 || ISO11] (signgam): Do not allow.
31631 [non-C99-based standards] (copysignf): Do not allow.
31632 [non-C99-based standards] (exp2f): Likewise.
31633 [non-C99-based standards] (log2f): Likewise.
31634 [non-C99-based standards] (modff): Allow.
31635 [non-C99-based standards] (erff): Do not allow.
31636 [non-C99-based standards] (erfcf): Likewise.
31637 [non-C99-based standards] (gammaf): Likewise.
31638 [non-C99-based standards] (hypotf): Likewise.
31639 [non-C99-based standards] (j0f): Likewise.
31640 [non-C99-based standards] (j1f): Likewise.
31641 [non-C99-based standards] (jnf): Likewise.
31642 [non-C99-based standards] (lgammaf): Likewise.
31643 [non-C99-based standards] (tgammaf): Likewise.
31644 [non-C99-based standards] (y0f): Likewise.
31645 [non-C99-based standards] (y1f): Likewise.
31646 [non-C99-based standards] (ynf): Likewise.
31647 [non-C99-based standards] (isnanf): Likewise.
31648 [non-C99-based standards] (acoshf): Likewise.
31649 [non-C99-based standards] (asinhf): Likewise.
31650 [non-C99-based standards] (atanhf): Likewise.
31651 [non-C99-based standards] (cbrtf): Likewise.
31652 [non-C99-based standards] (expm1f): Likewise.
31653 [non-C99-based standards] (ilogbf): Likewise.
31654 [non-C99-based standards] (log1pf): Likewise.
31655 [non-C99-based standards] (logbf): Likewise.
31656 [non-C99-based standards] (nextafterf): Likewise.
31657 [non-C99-based standards] (remainderf): Likewise.
31658 [non-C99-based standards] (rintf): Likewise.
31659 [non-C99-based standards] (scalbf): Likewise.
31660 [non-C99-based standards] (copysignl): Likewise.
31661 [non-C99-based standards] (exp2l): Likewise.
31662 [non-C99-based standards] (log2l): Likewise.
31663 [non-C99-based standards] (modfl): Allow.
31664 [non-C99-based standards] (erfl): Do not allow.
31665 [non-C99-based standards] (erfcl): Likewise.
31666 [non-C99-based standards] (gammal): Likewise.
31667 [non-C99-based standards] (hypotl): Likewise.
31668 [non-C99-based standards] (j0l): Likewise.
31669 [non-C99-based standards] (j1l): Likewise.
31670 [non-C99-based standards] (jnl): Likewise.
31671 [non-C99-based standards] (lgammal): Likewise.
31672 [non-C99-based standards] (tgammal): Likewise.
31673 [non-C99-based standards] (y0l): Likewise.
31674 [non-C99-based standards] (y1l): Likewise.
31675 [non-C99-based standards] (ynl): Likewise.
31676 [non-C99-based standards] (isnanl): Likewise.
31677 [non-C99-based standards] (acoshl): Likewise.
31678 [non-C99-based standards] (asinhl): Likewise.
31679 [non-C99-based standards] (atanhl): Likewise.
31680 [non-C99-based standards] (cbrtl): Likewise.
31681 [non-C99-based standards] (expm1l): Likewise.
31682 [non-C99-based standards] (ilogbl): Likewise.
31683 [non-C99-based standards] (log1pl): Likewise.
31684 [non-C99-based standards] (logbl): Likewise.
31685 [non-C99-based standards] (nextafterl): Likewise.
31686 [non-C99-based standards] (remainderl): Likewise.
31687 [non-C99-based standards] (rintl): Likewise.
31688 [non-C99-based standards] (scalbl): Likewise.
31689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31690 [non-C99-based standards] (FP_*): Do not allow.
31691 [C99-based standards] (FP_*): Change to
31692 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31693 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31695 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31696 (SIG_ERR): Likewise.
31697 [X/Open-based standards] (SIG_HOLD): Likewise.
31698 (SIG_IGN): Likewise.
31699 (SIGABRT): Use macro-int-constant. Specify type. Require
31701 (SIGFPE): Likewise.
31702 (SIGILL): Likewise.
31703 (SIGINT): Likewise.
31704 (SIGSEGV): Likewise.
31705 (SIGTER): Likewise.
31706 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31707 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31708 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31709 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31710 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31711 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31712 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31713 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31714 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31715 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31716 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31717 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31718 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31719 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31720 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31721 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31722 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31723 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31724 [X/Open-based standards] (SIGTRAP): Likewise.
31725 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31726 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31727 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31728 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31729 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31732 2012-05-08 Ian Wienand <ianw@vmware.com>
31735 * time/tzset.c (__tzset_parse_tz): Update default rules for
31736 daylight time changes in the Energy Policy Act of 2005.
31738 2012-05-09 Andreas Jaeger <aj@suse.de>
31741 * elf/ldconfig.c (parse_conf): Change string to make clear that
31742 ldconfig only issued a warning if ld.so.conf does not exist.
31744 2012-05-08 David S. Miller <davem@davemloft.net>
31746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31747 movxtod instead of popping the value on the stack.
31749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31751 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31753 * config.h.in: Add HAVE_ARM_PCS_VFP.
31755 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
31758 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31759 checking but the checks are disabled for any reason.
31761 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31763 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31764 and ELF64_R_TYPE with ELFW(R_TYPE).
31766 2012-05-08 Joseph Myers <joseph@codesourcery.com>
31768 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31769 (ulimit): Likewise.
31771 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31772 (settimeofday): Likewise.
31774 2012-05-08 Mike Frysinger <vapier@gentoo.org>
31776 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31777 a struct th_u2 inside the union, and move tu_block/tu_code into
31778 a new th_u3 union of tu_block/tu_code inside of that. Move
31779 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31780 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31781 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31782 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31783 (th_stuff): Change to th_u1.tu_stuff.
31785 (th_msg): Change to th_u1.th_u2.tu_data.
31787 2012-05-07 David S. Miller <davem@davemloft.net>
31789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31792 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31793 (SETUP_PIC_REG): Use it.
31794 (SETUP_PIC_REG_LEAF): Use it.
31796 2012-05-07 Joseph Myers <joseph@codesourcery.com>
31800 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31802 (EXPL_FINITE): Likewise.
31803 (FLDLOG): Likewise.
31804 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31805 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31807 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31809 (EXPL_FINITE): Likewise.
31810 (FLDLOG): Likewise.
31811 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31812 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31814 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31815 test of -max_value argument for long double.
31816 * sysdeps/i386/fpu/libm-test-ulps: Update.
31817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31819 2012-05-06 David S. Miller <davem@davemloft.net>
31821 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31822 quad soft-float symbols whose references which are compiler
31824 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31826 2012-05-06 Joseph Myers <joseph@codesourcery.com>
31830 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31832 (EXPL_FINITE): Likewise.
31833 (FLDLOG): Likewise.
31836 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31837 Adjust comments for base varying.
31838 (__expl_finite): Change alias to EXPL_FINITE.
31839 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31841 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31842 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31843 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31844 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31845 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31847 (EXPL_FINITE): Likewise.
31848 (FLDLOG): Likewise.
31851 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31852 Adjust comments for base varying.
31853 (__expl_finite): Change alias to EXPL_FINITE.
31854 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31859 * math/libm-test.inc (check_float_internal): Correct ulp
31860 calculation for subnormal expected results.
31862 2012-05-06 Andreas Jaeger <aj@suse.de>
31864 * Makeconfig (+math-flags): New, set to -frounding-math.
31865 (+cflags): Add +math-flags so that all of glibc gets compiled with
31868 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31870 2012-05-05 Joseph Myers <joseph@codesourcery.com>
31872 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31878 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31879 (__ieee754_expl): Allow for and saturate large arguments.
31880 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31881 (u_threshold): Likewise.
31882 (__exp): Call __ieee754_exp before checking for overflow and
31884 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31885 (u_threshold): Likewise.
31886 (__expf): Call __ieee754_expf before checking for overflow and
31888 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31889 (u_threshold): Likewise.
31890 (__expl): Call __ieee754_expl before checking for overflow and
31892 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31893 (__ieee754_expl): Allow for and saturate large arguments.
31894 * math/libm-test.inc (exp_test): Add another test. Do not allow
31895 missing overflow exception on overflow.
31896 (expm1_test): Do not allow missing overflow exception on overflow.
31898 * sysdeps/i386/fpu/e_expl.c: Move to ...
31899 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31900 rather than using inline asm.
31901 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31902 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31903 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31905 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31908 (signal): Likewise.
31912 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31914 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31915 sysdeps/unix/common/syscalls.list.
31916 (fchmod): Likewise.
31917 (fchown): Likewise.
31918 (ftruncate): Likewise.
31919 (getrusage): Likewise.
31920 (gettimeofday): Likewise.
31921 (setpgid): Likewise.
31922 (setregid): Likewise.
31923 (setreuid): Likewise.
31924 (sigaction): Likewise.
31925 (truncate): Likewise.
31926 (vhangup): Likewise.
31927 * sysdeps/unix/common/syscalls.list: Remove file.
31928 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31929 * sysdeps/unix/sysv/linux/Implies: Likewise.
31931 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31933 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31935 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31937 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31939 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31942 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31945 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31948 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31951 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31954 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31957 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31961 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31965 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31968 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31972 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31976 2012-05-04 Joseph Myers <joseph@codesourcery.com>
31978 * sysdeps/unix/common/bits/dirent.h: Remove file.
31979 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31981 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31982 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31983 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31984 * sysdeps/unix/bsd/isatty.c: Likewise.
31985 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31986 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31987 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31989 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31992 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31993 long double comparison inaccuracies.
31994 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31997 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31999 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32000 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32002 2012-05-04 Joseph Myers <joseph@codesourcery.com>
32005 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32006 nonzero digits before rounding a hex value.
32007 * stdlib/tst-strtod.c (tests): Add another test.
32009 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32011 * sysdeps/s390/fpu/libm-test-ulps: Update.
32013 2012-05-03 Andreas Jaeger <aj@suse.de>
32015 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32016 does not get optimized out.
32017 (malloc_opt_barrier): New.
32019 2012-05-03 Andreas Jaeger <aj@suse.de>
32020 Roland McGrath <roland@hack.frob.com>
32022 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32023 intermediate file deletion.
32024 (generated): Add .symlist files.
32026 2012-05-03 Joseph Myers <joseph@codesourcery.com>
32029 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32030 Redirect under this condition.
32031 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32032 [__USE_GNU] (__dprintf_chk): Not under this condition.
32033 [__USE_GNU] (__vdprintf_chk): Likewise.
32034 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32035 under this condition.
32036 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32037 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32038 [__USE_XOPEN2K8] (vdprintf): Likewise.
32039 [__USE_GNU] (__dprintf_chk): Not under this condition.
32040 [__USE_GNU] (__vdprintf_chk): Likewise.
32041 [__USE_GNU] (dprintf): Likewise.
32042 [__USE_GNU] (vdprintf): Likewise.
32044 2012-05-03 Roland McGrath <roland@hack.frob.com>
32046 * elf/Makefile (common-generated): Set this instead of generated for
32047 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32048 $(all-built-dso)-derived lists.
32050 2012-05-03 Andreas Jaeger <aj@suse.de>
32052 * sysdeps/i386/fpu/libm-test-ulps: Update.
32055 * FAQ.in: Likewise.
32056 * scripts/gen-FAQ.pl: Likewise.
32057 * manual/install.texi (Installation): Point to online location of
32059 * Makefile (files-for-dist): Remove FAQ.
32062 2012-05-02 Allan McRae <allan@archlinux.org>
32064 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32065 (LDFLAGS-reldepmod5.so): Likewise.
32066 (LDFLAGS-reldep6mod1.so): Likewise.
32067 (LDFLAGS-reldep6mod4.so): Likewise.
32068 (LDFLAGS-reldep8mod3.so): Likewise.
32069 (LDFLAGS-unload4mod1.so): Likewise.
32070 (LDFLAGS-unload4mod2.so): Likewise.
32071 (LDFLAGS-tst-initorder): Likewise.
32072 (LDFLAGS-tst-initordera2.so): Likewise.
32073 (LDFLAGS-tst-initordera3.so): Likewise.
32074 (LDFLAGS-tst-initordera4.so): Likewise.
32075 (LDFLAGS-tst-initorderb2.so): Likewise.
32076 (LDFLAGS-noload): Likewise.
32077 (LDFLAGS-next): Likewise.
32078 (LDFLAGS-order2mod1.so): Likewise.
32079 (LDFLAGS-order2mod2.so): Likewise.
32080 (LDFLAGS-tst-initorder2): Likewise.
32081 (LDFLAGS-tst-initorder2a.so): Likewise.
32082 (LDFLAGS-tst-initorder2b.so): Likewise.
32083 (LDFLAGS-tst-initorder2c.so): Likewise.
32084 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32086 2012-05-02 David S. Miller <davem@davemloft.net>
32088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32090 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32093 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32095 2012-05-02 Andreas Jaeger <aj@suse.de>
32097 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32098 since we manipulate rounding mode.
32099 (CPPFLAGS-test-idouble.c): Likewise.
32100 (CPPFLAGS-test-ifloat.c): Likewise.
32101 (CFLAGS-test-ldouble.c): Likewise.
32102 (CFLAGS-test-double.c): Likewise.
32103 (CFLAGS-test-float.c): Likewise.
32104 (CFLAGS-test-misc.c): Likewise.
32105 (CFLAGS-test-test-fenv.c): Likewise.
32107 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32112 comparisons to determine direction to adjust input.
32114 2012-05-01 Roland McGrath <roland@hack.frob.com>
32116 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32117 output to the target.
32119 * scripts/localplt.awk: New file.
32120 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32121 (check-localplt-CFLAGS): Variable removed.
32122 ($(all-built-dso:=.jmprel)): New static pattern rule.
32123 (generated): Add those targets.
32124 (localplt-built-dso): New variable.
32125 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32127 * elf/check-localplt.c: File removed.
32129 * scripts/check-execstack.awk: New file.
32130 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32131 (check-execstack-CFLAGS): Variable removed.
32132 ($(objpfx)check-execstack.h): Target removed.
32133 ($(objpfx)execstack-default): New target.
32134 (generated): Add that instead of check-execstack.h.
32135 ($(all-built-dso:=.phdr)): New static pattern rule.
32136 (generated): Add those targets.
32137 * elf/check-execstack.c: File removed.
32139 * scripts/check-textrel.awk: New file.
32140 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32141 (check-textrel-CFLAGS): Variable removed.
32142 (all-built-dso): Use := to define.o
32143 ($(all-built-dso:=.dyn)): New static pattern rule.
32144 (generated): Add those targets.
32145 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32146 * config.make.in (READELF): New substituted variable.
32147 * elf/check-textrel.c: File removed.
32149 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32151 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32153 * conform/data/ctype.h-data [C99-based standards] (isblank):
32155 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32156 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32158 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32159 Specify type. Require positive value.
32160 (EILSEQ): Likewise.
32161 (ERANGE): Likewise.
32162 [ISO || POSIX] (EILSEQ): Do not expect.
32163 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32164 Specify type. Require positive value.
32165 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32166 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32167 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32168 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32169 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32170 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32171 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32172 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32173 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32174 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32175 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32176 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32177 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32178 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32179 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32180 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32181 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32182 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32183 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32184 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32185 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32186 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32187 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32188 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32189 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32190 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32191 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32192 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32193 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32194 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32195 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32196 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32197 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32198 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32199 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32200 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32201 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32202 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32203 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32204 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32205 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32206 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32207 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32208 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32209 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32210 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32211 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32212 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32213 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32214 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32215 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32216 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32217 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32218 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32219 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32220 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32221 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32222 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32223 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32224 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32225 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32226 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32227 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32228 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32229 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32230 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32231 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32232 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32233 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32234 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32235 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32236 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32237 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32238 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32239 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32240 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32241 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32243 (FLT_ROUNDS): Expect as macro, not constant.
32244 (FLT_MANT_DIG): Use macro-int-constant.
32245 (DBL_MANT_DIG): Likewise.
32246 (LDBL_MANT_DIG): Likewise.
32247 (FLT_DIG): Likewise.
32248 (DBL_DIG): Likewise.
32249 (LDBL_DIG): Likewise.
32250 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32251 (DBL_MIN_EXP): Likewise.
32252 (LDBL_MIN_EXP): Likewise.
32253 (FLT_MAX_EXP): Use macro-int-constant.
32254 (DBL_MAX_EXP): Likewise.
32255 (LDBL_MAX_EXP): Likewise.
32256 (FLT_MAX_10_EXP): Likewise.
32257 (DBL_MAX_10_EXP): Likewise.
32258 (LDBL_MAX_10_EXP): Likewise.
32259 (FLT_MAX): Use macro-constant.
32260 (DBL_MAX): Likewise.
32261 (LDBL_MAX): Likewise.
32262 (FLT_EPSILON): Use macro-constant. Give upper bound.
32263 (DBL_EPSILON): Likewise.
32264 (LDBL_EPSILON): Likewise.
32265 (FLT_MIN): Likewise.
32266 (DBL_MIN): Likewise.
32267 (LDBL_MIN): Likewise.
32268 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32269 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32270 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32271 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32272 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32273 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32274 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32275 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32276 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32277 [ISO11] (FLT_TRUE_MIN): Likewise.
32278 [ISO11] (LDBL_TRUE_MIN): Likewise.
32279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32280 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32281 (SCHAR_MIN): Use macro-int-constant. Specify type.
32282 (SCHAR_MAX): Likewise.
32283 (UCHAR_MAX): Likewise.
32284 (CHAR_MIN): Likewise.
32285 (CHAR_MAX): Likewise.
32286 (MB_LEN_MAX): Use macro-int-constant.
32287 (SHRT_MIN): Use macro-int-constant. Specify type.
32288 (SHRT_MAX): Likewise.
32289 (USHRT_MAX): Likewise.
32290 (INT_MAX): Likewise.
32291 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32293 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32295 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32297 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32298 bound negative. Suffix upper bound with "L".
32299 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32301 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32303 [C99-based standards] (LLONG_MAX): Likewise.
32304 [C99-based standards] (ULLONG_MAX): Likewise.
32305 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32307 [ISO11] (max_align_t): Require type.
32308 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32310 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32311 from $CFLAGS, without defining away __attribute__ calls.
32312 (checknamespace): Use $CFLAGS_namespace.
32314 * conform/conformtest.pl (@keywords): Only include C99 keywords
32315 for standards based on C99 or C11.
32317 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32319 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32322 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32323 usability of symbols in #if.
32325 * conform/conformtest.pl: If macro or constant types start
32326 "promoted:", expect the symbol to be of the following type
32327 promoted by the integer promotions.
32329 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32330 in one place. Also handle "macro-constant".
32332 * conform/conformtest.pl: Only accept expected macro values with
32333 "==". Parse all "macro" lines in one place.
32334 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32336 * conform/conformtest.pl: Handle braced types on "constant" lines
32337 instead of handling "typed-constant".
32338 * conform/data/signal.h-data: Use "constant" instead of
32341 * conform/conformtest.pl: Handle "optional-" at start of lines in
32342 one place rather than duplicating several cases. Handle each
32343 format of "macro" line with initial "optional-".
32345 * conform/conformtest.pl: Only accept expected constant or
32346 optional-constant values with "==". Parse all "constant" lines in
32347 one place. Parse all "optional-constant" lines in one place.
32348 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32349 * conform/data/fmtmsg.h-data: Likewise.
32350 * conform/data/netinet/in.h-data: Likewise.
32351 * conform/data/tar.h-data: Likewise.
32352 * conform/data/limits.h-data: Use "==" form on "constant" and
32353 "optional-constant" lines.
32355 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32356 Use -std=c99 for XOPEN2K.
32357 (@knownproblems): Remove.
32358 (newtoken): Don't check %isknown.
32360 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32361 Do not expect macro.
32362 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32363 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32364 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32365 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32366 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32367 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32368 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32369 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32370 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32371 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32372 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32373 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32374 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32375 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32376 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32377 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32378 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32379 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32380 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32381 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32382 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32383 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32384 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32385 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32386 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32387 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32388 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32389 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32390 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32391 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32392 [XPG3] (acosh): Likewise.
32393 [XPG3] (asinh): Likewise.
32394 [XPG3] (atanh): Likewise.
32395 [XPG3] (cbrt): Likewise.
32396 [XPG3] (expm1): Likewise.
32397 [XPG3] (ilogb): Likewise.
32398 [XPG3] (log1p): Likewise.
32399 [XPG3] (logb): Likewise.
32400 [XPG3] (nextafter): Likewise.
32401 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32402 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32403 [XPG3] (remainder): Likewise.
32404 [XPG3] (rint): Likewise.
32405 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32406 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32407 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32408 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32409 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32410 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32411 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32412 [UNIX98 || XOPEN2K] (scalb): Expect.
32413 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32414 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32415 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32416 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32417 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32418 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32419 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32420 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32421 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32422 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32423 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32424 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32425 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32426 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32427 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32428 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32429 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32430 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32431 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32432 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32433 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32434 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32435 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32436 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32437 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32438 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32439 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32440 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32441 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32442 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32443 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32444 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32445 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32446 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32447 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32448 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32449 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32450 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32451 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32452 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32453 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32454 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32455 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32456 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32457 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32458 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32459 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32460 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32461 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32462 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32463 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32464 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32465 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32466 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32467 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32468 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32469 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32470 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32471 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32472 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32473 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32474 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32475 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32476 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32477 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32478 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32479 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32480 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32481 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32482 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32483 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32484 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32485 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32486 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32487 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32488 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32489 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32490 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32491 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32492 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32493 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32494 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32495 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32496 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32497 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32498 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32499 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32500 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32501 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32502 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32503 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32504 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32505 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32506 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32507 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32508 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32509 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32510 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32511 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32512 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32513 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32514 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32515 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32516 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32517 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32518 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32519 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32520 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32521 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32522 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32523 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32524 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32525 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32526 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32527 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32528 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32529 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32530 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32531 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32532 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32533 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32534 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32535 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32536 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32537 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32538 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32539 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32540 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32541 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32542 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32543 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32544 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32545 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32546 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32547 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32548 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32549 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32551 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32552 _XOPEN_SOURCE_EXTENDED for XPG4.
32554 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32556 * Makeconfig (localtime): Remove variable.
32557 (inst_localtime-file): Likewise.
32559 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32580 2012-05-01 Joseph Myers <joseph@codesourcery.com>
32584 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32585 comparisons to determine direction to adjust input.
32586 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32587 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32588 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32590 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32592 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32594 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32595 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32597 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32599 * math/libm-test.inc (nexttoward_test): Add more tests.
32601 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32605 in version GLIBC_2.1, not GLIBC_2.0.
32606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32609 2012-04-30 Joseph Myers <joseph@codesourcery.com>
32612 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32614 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32615 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32616 * math/libm-test.inc (acos_test): Add more tests.
32617 (asin_test): Likewise.
32618 * sysdeps/i386/fpu/libm-test-ulps: Update.
32619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32622 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32624 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32625 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32626 * math/libm-test.inc (acos_test_tonearest): New function.
32627 (acos_test_towardzero): Likewise.
32628 (acos_test_downward): Likewise.
32629 (acos_test_upward): Likewise.
32630 (asin_test_tonearest): Likewise.
32631 (asin_test_towardzero): Likewise.
32632 (asin_test_downward): Likewise.
32633 (asin_test_upward): Likewise.
32634 (main): Call the new functions.
32635 * sysdeps/i386/fpu/libm-test-ulps: Update.
32636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32640 * math/e_exp10.c: Include <float.h>.
32641 (__ieee754_exp10): Handle underflow here rather than multiplying
32642 large negative argument by M_LN10.
32643 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32645 * math/e_exp10l.c: Include <float.h>.
32646 (__ieee754_exp10l): Handle underflow here rather than multiplying
32647 large negative argument by M_LN10l.
32648 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32649 spurious overflow exception on underflow.
32651 2012-04-29 Marek Polacek <polacek@redhat.com>
32653 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32654 (__fortify_function): New macro.
32655 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32656 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32657 __extern_always_inline.
32658 * libio/bits/stdio2.h: Likewise.
32659 * libio/bits/stdio.h: Likewise.
32660 * string/string.h: Likewise.
32661 * string/bits/string3.h: Likewise.
32662 * include/stdio.h: Likewise.
32663 * stdlib/bits/stdlib.h: Likewise.
32664 * stdlib/stdlib.h: Likewise.
32665 * rt/bits/mqueue2.h: Likewise.
32666 * rt/mqueue.h: Likewise.
32667 * posix/bits/unistd.h: Likewise.
32668 * posix/unistd.h: Likewise.
32669 * io/bits/poll2.h: Likewise.
32670 * io/bits/fcntl2.h: Likewise.
32671 * io/fcntl.h: Likewise.
32672 * io/sys/poll.h: Likewise.
32673 * misc/bits/syslog.h: Likewise.
32674 * misc/bits/syslog-ldbl.h: Likewise.
32675 * misc/sys/syslog.h: Likewise.
32676 * socket/bits/socket2.h: Likewise.
32677 * socket/sys/socket.h: Likewise.
32678 * debug/tst-chk1.c: Likewise.
32679 * wcsmbs/bits/wchar2.h: Likewise.
32680 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32681 * wcsmbs/wchar.h: Likewise.
32683 2012-04-29 Andreas Jaeger <aj@suse.de>
32685 * Makerules (tests): Remove enable-check-abi protection.
32686 (check-abi-warn): Remove.
32687 (check-abi-%): Remove check-abi-warn usage.
32689 * configure.in: Remove check-abi configure option.
32690 * configure: Regenerated.
32691 * config.make.in (enable-check-abi): Remove.
32693 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32696 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32697 double functions to double *_finite functions.
32700 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32701 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32703 * stdio-common/Makefile (tests): Add tst-sprintf3.
32704 * stdio-common/tst-sprintf3.c: New file.
32706 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32707 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32709 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32711 * conform/conformtest.pl: Remove duplicate typed-constant
32714 2012-04-28 David S. Miller <davem@davemloft.net>
32716 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32717 (check-abi-%): Remove AWK script prerequisite and explicit
32719 (check-abi): Rewrite to just diff the symlist with the abilist.
32720 (config-tls, config-abi-config): Delete, no longer used.
32721 (update-abi-%): Remove AWK script and explicit abilist directory.
32722 (update-abi): Rewrite to simply compare and conditionally copy the
32723 symlist and the sysdep abilist file. Remove update-abi-config
32725 * abilist/ld.abilist: Remove.
32726 * abilist/libBrokenLocale.abilist: Remove.
32727 * abilist/libanl.abilist: Remove.
32728 * abilist/libcrypt.abilist: Remove.
32729 * abilist/libdl.abilist: Remove.
32730 * abilist/librt.abilist: Remove.
32731 * abilist/libthread_db.abilist: Remove.
32732 * abilist/libutil.abilist: Remove.
32733 * scripts/extract-abilist.awk: Remove.
32734 * scripts/merge-abilist.awk: Remove.
32735 * sysdeps/generic/libcidn.abilist: New file.
32736 * sysdeps/generic/libnss_compat.abilist: New file.
32737 * sysdeps/generic/libnss_db.abilist: New file.
32738 * sysdeps/generic/libnss_dns.abilist: New file.
32739 * sysdeps/generic/libnss_files.abilist: New file.
32740 * sysdeps/generic/libnss_hesiod.abilist: New file.
32741 * sysdeps/generic/libnss_nis.abilist: New file.
32742 * sysdeps/generic/libnss_nisplus.abilist: New file.
32743 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32744 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32745 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32747 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32748 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32749 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32750 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32751 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32752 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32753 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32754 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32755 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32757 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32758 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32759 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32760 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32762 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32763 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32764 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32765 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32766 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32767 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32769 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32770 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32771 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32773 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32876 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32877 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32878 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32881 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32882 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32883 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32884 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32885 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32886 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32887 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32888 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32889 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32941 2012-04-28 Joseph Myers <joseph@codesourcery.com>
32943 * conform/conformtest.pl: Fix typo in handling typed-constant from
32946 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32948 * README: Cut down references to pre-2.6 Linux kernels and
32949 Linuxthreads. Update lists of configurations in libc and ports
32950 and sort alphabetically. Say "or newer" with Linux kernel version
32953 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32955 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32958 * math/libm-test.inc (logb_test_downward): New test to expose
32959 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32962 2012-04-27 Joseph Myers <joseph@codesourcery.com>
32965 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32967 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32968 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32970 2012-04-26 Joseph Myers <joseph@codesourcery.com>
32972 * sysdeps/unix/i386/brk.S: Remove file.
32973 * sysdeps/unix/i386/dl-brk.S: Likewise.
32974 * sysdeps/unix/i386/pipe.S: Likewise.
32975 * sysdeps/unix/i386/sigreturn.S: Likewise.
32976 * sysdeps/unix/i386/syscall.S: Likewise.
32977 * sysdeps/unix/i386/vfork.S: Likewise.
32978 * sysdeps/unix/i386/wait.S: Likewise.
32980 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32981 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32983 * configure.in (arm*-none*): Do not allow without
32984 --enable-hacker-mode.
32985 (netbsd*): Remove case setting base_os.
32986 (386bsd*): Likewise.
32987 (freebsd*): Likewise.
32990 (sunos*): Likewise.
32991 (ultrix*): Likewise.
32992 (newsos*): Likewise.
32993 (dynix*): Likewise.
32999 (minix*): Likewise.
33000 (irix4*): Likewise.
33001 (irix6*): Likewise.
33002 (solaris[2-9]*): Likewise.
33004 * configure: Regenerated.
33006 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33009 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33010 overflow or cancellation in calculating denominator.
33011 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33013 down expression to avoid unexpected rounding in newer GCCs.
33014 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33016 2012-04-26 David S. Miller <davem@davemloft.net>
33018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33019 long-double compat symbols.
33020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33034 2012-04-25 David S. Miller <davem@davemloft.net>
33036 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33037 HWCAP_* values only after the memory barriers have been defined.
33038 (atomic_full_barrier): Define.
33039 (atomic_read_barrier): Define.
33040 (atomic_write_barrier): Define.
33042 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33044 * shlib-versions: Add libgcc_s version information.
33045 * sysdeps/generic/libgcc_s.h: Remove.
33046 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33048 * sysdeps/gnu/unwind-resume.c: Likewise.
33049 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33051 2012-04-25 David S. Miller <davem@davemloft.net>
33053 * sysdeps/unix/sparc/brk.S: Delete.
33054 * sysdeps/unix/sparc/dl-brk.S: Delete.
33055 * sysdeps/unix/sparc/pipe.S: Delete.
33056 * sysdeps/unix/sparc/sysdep.S: Delete.
33057 * sysdeps/unix/sparc/sysdep.h: Delete.
33058 * sysdeps/unix/sparc/vfork.S: Delete.
33059 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33060 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33061 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33062 (ret_ERRVAL, r0, r1, MOVE): Define.
33063 (JUMPTARGET): Remove.
33064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33065 sysdeps/unix/sparc/sysdep.h
33066 (ENTRY, END): Remove.
33067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33069 2012-04-25 Joseph Myers <joseph@codesourcery.com>
33071 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33072 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33075 * timezone/README: Update upstream location and email address for
33077 * timezone/zdump.c: Update from tzcode 2012b.
33078 * timezone/zic.c: Likewise.
33080 * configure.in (libc_cv_as_needed): Remove test.
33081 * configure: Regenerated.
33082 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33083 conditional definition.
33084 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33085 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33086 * config.make.in (have-as-needed): Remove variable.
33088 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33089 Paul Pluzhnikov <ppluzhnikov@google.com>
33091 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33094 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33096 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33097 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33098 * sysdeps/sh/strlen.S: Likewise.
33100 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33102 * sysdeps/unix/fork.S: Remove file.
33103 * sysdeps/unix/i386/fork.S: Likewise.
33104 * sysdeps/unix/sparc/fork.S: Likewise.
33106 * sysdeps/unix/system.c: Remove file.
33107 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33109 * sysdeps/unix/getegid.S: Remove file.
33110 * sysdeps/unix/geteuid.S: Likewise.
33112 2012-04-24 Roland McGrath <roland@hack.frob.com>
33114 * scripts/check-localplt.awk: New file.
33115 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33117 * scripts/data/localplt-generic.data: Add a comment.
33119 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33120 NODE when __dir_mkfile failed.
33121 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33122 Reported by Ludovic Courtès <ludo@gnu.org>.
33124 2012-04-24 Andreas Jaeger <aj@suse.de>
33126 * Makerules (common-clean): Also remove gen-as-const-headers
33129 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33131 * Makerules (native-compile): Do not change working directory for
33132 build. Use $(OUTPUT_OPTION) in command.
33133 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33135 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33138 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33139 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33140 * math/libm-test.inc (floor_test): Add more tests.
33141 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33143 2012-04-24 Joseph Myers <joseph@codesourcery.com>
33145 * sysdeps/unix/getdents.c: Remove file.
33146 * sysdeps/unix/sysv/getdents.c: Likewise.
33147 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33149 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33150 sysdeps/unix/mman/syscalls.list.
33152 (mprotect): Likewise.
33154 (munmap): Likewise.
33155 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33156 * sysdeps/unix/mman/syscalls.list: Remove.
33157 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33159 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33160 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33161 * configure: Regenerated.
33162 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33163 $(libgcc_s_suffix).
33164 * config.make.in (libgcc_s_suffix): Remove variable.
33166 2012-04-23 Joseph Myers <joseph@codesourcery.com>
33168 * sysdeps/unix/sysv/gethostname.c: Move to ...
33169 * sysdeps/posix/gethostname.c: ... here.
33171 * sysdeps/unix/execve.S: Remove file.
33173 * sysdeps/unix/_exit.S: Remove file.
33175 2012-04-23 Andreas Jaeger <aj@suse.de>
33178 * manual/Makefile: Remove make dist support, there's no
33179 need for a stand-alone documentation tar ball.
33180 (TEXI2DVI): Define always, it's not in Makeconfig.
33183 (edition): Removed.
33184 (glibc-doc-$(edition).tar): Removed
33188 (ETAGS): Remove, it's in Makeconfig.
33189 (move-if-change): Remove, it's in Makeconfig.
33191 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
33194 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33195 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33196 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33197 (strtod_l, strtof_l, strtold_l): Remove __wur.
33198 It is not necessarily an error to ignore strtol's return value.
33199 One can reliably look at the stored endptr to decide whether
33200 the number had valid syntax.
33202 2012-04-21 Andreas Jaeger <aj@suse.de>
33205 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33207 2012-04-21 Joseph Myers <joseph@codesourcery.com>
33209 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33210 * sysdeps/unix/sysv/Versions: Remove file.
33212 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33217 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
33220 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33221 version from __vm86.
33223 2012-04-20 Joseph Myers <joseph@codesourcery.com>
33225 * sysdeps/unix/common/lxstat.c: Remove file.
33226 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33228 * sysdeps/unix/sysv/Makefile: Remove file.
33230 * sysdeps/unix/sysv/direct.h: Remove file.
33232 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33233 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33234 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33235 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33236 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33237 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33238 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33240 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33242 * sysdeps/unix/xmknod.c: Remove file.
33243 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33245 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33247 * sysdeps/unix/sysv/i386/time.S: Remove file.
33249 * sysdeps/unix/fxstat.c: Remove file.
33250 * sysdeps/unix/xstat.c: Likewise.
33251 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33253 * sysdeps/unix/sysv/sigaction.c: Remove file.
33255 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33256 (sysdep_headers): Remove variable.
33257 [termio.h not in sysdep_headers] (generated): Likewise.
33258 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33259 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33260 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33261 * sysdeps/unix/sysv/tcflow.c: Likewise.
33262 * sysdeps/unix/sysv/tcflush.c: Likewise.
33263 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33264 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33265 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33266 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33267 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33269 * sysdeps/unix/siglist.c: Remove file.
33271 * sysdeps/unix/getppid.S: Remove file.
33273 * sysdeps/unix/mkdir.c: Remove file.
33274 * sysdeps/unix/rmdir.c: Likewise.
33276 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33278 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33280 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33281 errlist-compat value.
33283 2012-04-18 David S. Miller <davem@davemloft.net>
33285 * sysdeps/generic/memcopy.h (reg_char): Delete.
33286 * debug/strcat_chk.c: Use char, not reg_char.
33287 * debug/strcpy_chk.c: Likewise.
33288 * debug/strncat_chk.c: Likewise.
33289 * debug/strncpy_chk.c: Likewise.
33290 * string/memchr.c: Likewise.
33291 * string/memrchr.c: Likewise.
33292 * string/rawmemchr.c: Likewise.
33293 * string/strcat.c: Likewise.
33294 * string/strchr.c: Likewise.
33295 * string/strchrnul.c: Likewise.
33296 * string/strcmp.c: Likewise.
33297 * string/strcpy.c: Likewise.
33298 * string/strncat.c: Likewise.
33299 * string/strncmp.c: Likewise.
33300 * string/strncpy.c: Likewise.
33302 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33304 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33305 __builtin_memcopy is called when src and dest ranges are known to not
33308 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33310 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33311 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33312 fwd_align_merge macro call.
33313 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33314 bwd_align_merge macro call.
33315 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33317 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33319 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33320 bwd_align_merge macros.
33321 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33322 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33323 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33325 2012-04-18 David S. Miller <davem@davemloft.net>
33327 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33329 2012-04-18 Andreas Jaeger <aj@suse.de>
33332 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33333 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33336 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33337 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33338 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33340 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33341 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33342 Adjust for changed ldbl-128 files.
33344 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33345 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33346 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33348 2012-04-17 David S. Miller <davem@davemloft.net>
33350 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33352 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33354 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33355 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33356 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33357 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33358 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33359 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33361 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33364 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33365 * math/libm-test.inc: Add ilogb errno and exception tests.
33366 * math/w_ilogb.c: New file: ilogb wrapper.
33367 * math/w_ilogbf.c: New file: ilogbf wrapper.
33368 * math/w_ilogbl.c: New file: ilogbl wrapper.
33369 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33370 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33371 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33372 exception being thrown with 0.0 as argument.
33373 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33374 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33375 exception being thrown with 0.0 as argument.
33376 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33377 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33378 exception being thrown with 0.0 as argument.
33379 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33380 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33381 exception being thrown with 0.0 as argument.
33382 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33383 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33384 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33385 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33386 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33387 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33388 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33389 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33390 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33392 2012-04-17 Petr Baudis <pasky@ucw.cz>
33394 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33397 2012-04-16 Marek Polacek <polacek@redhat.com>
33399 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33401 2012-04-16 Marek Polacek <polacek@redhat.com>
33403 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33404 operands of fdivp instruction.
33406 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33408 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33409 * elf/tst-auditmod3b.c: Likewise.
33410 * elf/tst-auditmod4b.c: Likewise.
33411 * elf/tst-auditmod5b.c: Likewise.
33412 * elf/tst-auditmod6b.c: Likewise.
33413 * elf/tst-auditmod6c.c: Likewise.
33414 * elf/tst-auditmod7b.c: Likewise.
33415 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33416 * sysdeps/x86_64/preconfigure.in: Likewise.
33417 * sysdeps/x86_64/preconfigure: Regenerated.
33419 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33421 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33424 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
33426 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33427 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33429 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
33432 * locale/iso-639.def: Fix gl language name. Spotted by
33435 2012-04-12 Roland McGrath <roland@hack.frob.com>
33438 * libio/libio.h (__io_write_fn): Update comment.
33440 2012-04-12 Petr Baudis <pasky@ucw.cz>
33443 * stdio.texi (Hook Functions): The user provided writer function
33444 is not allowed to return -1.
33446 2012-04-11 David S. Miller <davem@davemloft.net>
33448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33450 2012-04-11 Mike Frysinger <vapier@gentoo.org>
33452 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33453 Add a leading slash to rtkaio.
33455 2012-04-11 Jim Meyering <meyering@redhat.com>
33458 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33459 It is not necessarily an error to ignore fwrite's return
33460 value. One can reliably use ferror to test for errors after
33463 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33465 * bits/types.h (__snseconds_t): New type.
33466 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33468 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33469 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33470 (__SNSECONDS_T_TYPE): Likewise.
33471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33472 (__SNSECONDS_T_TYPE): Likewise.
33473 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33474 (__SNSECONDS_T_TYPE): Likewise.
33476 2012-04-10 Andreas Jaeger <aj@suse.de>
33479 * manual/time.texi (Processor Time): Return type of times is
33480 elapsed real time since an arbitrary point in the past.
33481 (CPU Time): Move CLK_TCK from here...
33482 (Processor Time): ...to here. Correct description.
33483 * manual/conf.texi (Constants for Sysconf): Correct description of
33486 2012-04-10 David S. Miller <davem@davemloft.net>
33489 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33490 where the is a gap between DT_REL(A) and DT_JMPREL.
33492 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33494 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33495 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33496 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33498 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33500 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33501 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33502 (dl_main): Handle --inhibit-cache.
33503 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33505 * elf/dl-load.c (_dl_map_object): Use it.
33506 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33508 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33511 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33512 (__ieee754_powl): Saturate large exponents rather than testing for
33513 overflow of y*log2(x).
33514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33515 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33519 * math/s_ctan.c: Include <float.h>.
33520 (__ctan): Avoid internal overflow or cancellation in calculating
33522 * math/s_ctanf.c: Likewise.
33523 * math/s_ctanl.c: Likewise.
33524 * math/s_ctanh.c: Likewise.
33525 * math/s_ctanhf.c: Likewise.
33526 * math/s_ctanhl.c: Likewise.
33527 * math/libm-test.inc (ctan_test): Add more tests.
33528 (ctanh_test): Likewise.
33529 * sysdeps/i386/fpu/libm-test-ulps: Update.
33530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33532 2012-04-09 Andreas Jaeger <aj@suse.de>
33535 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33536 is an optional BSD extension.
33539 * manual/stdio.texi (Opening Streams): Document additional fopen
33542 2012-04-09 Roland McGrath <roland@hack.frob.com>
33544 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33545 %eax without telling the compiler.
33547 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33550 * manual/install.texi: Use sourceware.org.
33552 2012-04-09 Joseph Myers <joseph@codesourcery.com>
33555 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33556 (__ieee754_pow): Generate overflow and underflow using huge*huge
33557 and tiny*tiny rather than just returning constant infinity or zero
33558 for large exponents.
33559 * math/libm-test.inc (pow_test): Require overflow exceptions for
33560 applicable cases of large exponents.
33563 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33564 (__ieee754_pow): Use iterative multiplication algorithm only for
33565 integer exponents with absolute value below 1024. Check for odd
33566 integer exponents when using algorithm for real exponents.
33567 * math/libm-test.inc (pow_test): Add more tests.
33568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33570 2012-04-08 Joseph Myers <joseph@codesourcery.com>
33573 * math/libm-test.inc (exp_test): Do not allow overflow exception
33576 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33579 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33580 instead of __kernel_standard_f.
33582 2012-04-08 Mike Frysinger <vapier@gentoo.org>
33584 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33585 * sysdeps/x86_64/memset_chk.S: Likewise.
33587 2012-04-08 Andreas Jaeger <aj@suse.de>
33590 * manual/startup.texi (Environment Access): Describe return value
33591 for putenv and setenv.
33594 * manual/filesys.texi (Directory Entries): Add description for
33598 * manual/filesys.texi (Directory Entries): Clarify that it's file
33599 system not operating system in the description of DT_UNKNOWN.
33602 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33604 2012-04-08 Stephen Compall <s11@member.fsf.org>
33607 * manual/llio.texi (Opening and Closing Files): Add cross
33608 reference to explain mode argument.
33610 2012-04-07 Mike Frysinger <vapier@gentoo.org>
33612 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33613 * sysdeps/x86_64/memset_chk.S: Likewise.
33615 2012-04-07 David S. Miller <davem@davemloft.net>
33617 * elf/elf.h (R_SPARC_WDISP10): Define.
33618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33621 R_SPARC_SIZE64 and R_SPARC_H34.
33623 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33626 conditions and remove no longer applicable assertion.
33628 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33630 * bits/byteswap.h: Include <features.h>.
33631 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33632 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33634 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33636 * bits/byteswap.h (__bswap_16): Removed.
33637 Include <bits/byteswap-16.h> to get __bswap_16.
33638 * sysdeps/i386/bits/byteswap.h: Likewise.
33639 * sysdeps/s390/bits/byteswap.h: Likewise.
33640 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33641 * bits/byteswap-16.h: New file.
33642 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33643 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33644 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33645 * string/Makefile (headers): Add bits/byteswap-16.h.
33647 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33650 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33652 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33653 * nss/tst-nss-static.c: New.
33655 2012-04-06 Robert Millan <rmh@gnu.org>
33658 * manual/llio.texi (File Position Primitive): lseek
33659 refers to WHENCE when it really means OFFSET.
33661 2012-04-06 Andreas Jaeger <aj@suse.de>
33663 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33664 strncmp declarations.
33666 * abilist/libc.abilist: Add __poll and __ppoll.
33668 2012-04-05 David S. Miller <davem@davemloft.net>
33670 * scripts/check-local-headers.sh: Accept a host triplet in the
33671 path matched by the exclude regexp.
33673 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33675 * sysdeps/powerpc/powerpc32/dl-machine.h
33676 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33677 * sysdeps/s390/s390-32/dl-machine.h
33678 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33679 * sysdeps/sparc/sparc32/dl-machine.h
33680 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33681 * sysdeps/sparc/sparc64/dl-machine.h
33682 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33684 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33686 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33687 undefined symbol errors.
33689 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33692 2012-04-05 Michael Matz <matz@suse.de>
33695 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33697 2012-04-05 Andreas Jaeger <aj@suse.de>
33700 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33703 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33705 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33706 which ROUND is no valid rounding mode.
33708 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33710 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33712 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33714 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33716 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33717 an exception using FPU order intentionally.
33719 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33721 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33722 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33723 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33724 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33726 2012-04-05 Simon Josefsson <simon@josefsson.org>
33729 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33730 EINVAL when BUFLEN is too smal.
33732 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33735 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33736 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33738 2012-04-03 Andreas Jaeger <aj@suse.de>
33741 * manual/setjmp.texi (System V contexts): Fix sentence.
33744 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33745 New macro for this case.
33746 [!__GNUC__] (__bswap_64): New inline function for this case.
33747 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33748 * bits/byteswap.h: Likewise.
33749 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33750 ull, guard with __GLIBC_HAVE_LONG_LONG.
33752 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33753 __GLIBC_HAVE_LONG_LONG.
33755 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33756 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33758 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33761 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33762 inptr and inend, rather than using last_ch.
33764 2012-04-02 David S. Miller <davem@davemloft.net>
33766 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33767 * stdio-common/printf-parse.h (read_int): Change return type to
33768 'int', return -1 on INT_MAX overflow.
33769 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33770 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33771 overflows INT_MAX. Check for overflow of in-format-string precision
33772 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33773 SIZE_MAX not INT_MAX for integer overflow test.
33774 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33775 skip the construct in the format string but do not record anything.
33776 * stdio-common/bug22.c: Adjust to test both width/prevision
33777 INT_MAX overflow as well as total length INT_MAX overflow. Check
33778 explicitly for proper errno values.
33780 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33782 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33784 * string/test-strcmp.c [! WIDE]: Likewise.
33785 * time/tst-mktime2.c: Likewise for INT_MAX.
33786 * string/test-string.h: #include <sys/param.h> for MIN.
33788 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33789 * sysdeps/i386/init-first.c (init): Likewise.
33790 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33791 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33792 * sysdeps/sh/init-first.c (init): Likewise.
33794 2012-04-01 Ulrich Drepper <drepper@gmail.com>
33796 * po/ru.po: Update from translation team.
33797 * po/vi.po: Likewise.
33799 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33801 * resolv/nss_dns/dns-host.c: Merge copyright years.
33803 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33805 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33806 Optimize memcpy with prefetch if
33807 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33808 src, dst pointers have unequal 16 byte alignments.
33810 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33813 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33814 from a CNAME entry and return the minimum ttl for the query.
33815 (gaih_getanswer_slice): Likewise.
33817 2012-03-30 Jeff Law <law@redhat.com>
33819 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33821 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33822 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33824 * resolv/nss_dns/dns-host.c: Update copyright year.
33826 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33828 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33829 requests to save a system call. Fix check that all bytes are sent.
33831 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33832 comments for sendmmsg.
33834 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33837 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33838 with only 1 character between 0x0041 and 0x01b0.
33839 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33840 * wcsmbs/tst-mbsnrtowcs.c: New file.
33842 2012-03-29 David S. Miller <davem@davemloft.net>
33844 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33845 small copies by hand.
33847 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33850 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33851 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33854 2012-03-28 David S. Miller <davem@davemloft.net>
33856 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33857 that branches into memcpy.
33858 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33859 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33860 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33861 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33864 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33865 implementation too.
33866 * sysdeps/sparc/mempcpy.S: New file.
33868 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33869 the IFUNC routine in the libc case.
33870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33872 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33873 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33874 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33875 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33876 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33877 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33878 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33879 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33881 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33882 loop to 256 bytes instead of 64 bytes and fix test signedness.
33884 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33885 * sysdeps/sparc/sparc32/Makefile: rather than here...
33886 * sysdeps/sparc/sparc64/Makefile: and here.
33888 2012-03-28 Ulrich Drepper <drepper@gmail.com>
33890 * malloc/mallocbug.c: Avoid warnings about unused variables.
33892 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33895 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33896 in the right place. Discard and retry query if response is
33897 larger than input buffer size.
33899 2012-03-28 Joseph Myers <joseph@codesourcery.com>
33904 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33905 x for large integer exponent.
33906 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33907 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33908 sign of result as needed afterwards.
33909 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33910 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33911 result for underflowing pow the same as for overflow.
33912 (__kernel_standard_l): Handle powl overflow and underflow here
33913 rather than calling __kernel_standard.
33914 * math/libm-test.inc (pow_test): Add more tests.
33929 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33930 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33931 (__kernel_standard_l): New function.
33932 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33934 * math/w_acosl.c (__acosl): Likewise.
33935 * math/w_asinl.c (__asinl): Likewise.
33936 * math/w_atan2l.c (__atan2l): Likewise.
33937 * math/w_atanhl.c (__atanhl): Likewise.
33938 * math/w_coshl.c (__coshl): Likewise.
33939 * math/w_exp10l.c (__exp10l): Likewise.
33940 * math/w_exp2l.c (__exp2l): Likewise.
33941 * math/w_fmodl.c (__fmodl): Likewise.
33942 * math/w_hypotl.c (__hypotl): Likewise.
33943 * math/w_j0l.c (__j0l, __y0l): Likewise.
33944 * math/w_j1l.c (__j1l, __y1l): Likewise.
33945 * math/w_jnl.c (__jnl, __ynl): Likewise.
33946 * math/w_lgammal.c (__lgammal): Likewise.
33947 * math/w_log10l.c (__log10l): Likewise.
33948 * math/w_log2l.c (__log2l): Likewise.
33949 * math/w_logl.c (__logl): Likewise.
33950 * math/w_powl.c (__powl): Likewise.
33951 * math/w_remainderl.c (__remainderl): Likewise.
33952 * math/w_scalbl.c (sysv_scalbl): Likewise.
33953 * math/w_sinhl.c (__sinhl): Likewise.
33954 * math/w_sqrtl.c (__sqrtl): Likewise.
33955 * math/w_tgammal.c (__tgammal): Likewise.
33956 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33957 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33958 * math/libm-test.inc (acos_test): Add more tests.
33959 (acosh_test): Likewise.
33960 (asin_test): Likewise.
33961 (atanh_test): Likewise.
33962 (exp_test): Likewise.
33963 (exp10_test): Likewise.
33964 (exp2_test): Likewise.
33965 (expm1_test): Likewise.
33966 (lgamma_test): Likewise.
33967 (log_test): Likewise.
33968 (log10_test): Likewise.
33969 (log1p_test): Likewise.
33970 (log2_test): Likewise.
33971 (pow_test): Do not allow some spurious overflow exceptions.
33972 (sqrt_test): Add more tests.
33973 (tgamma_test): Likewise.
33974 (y0_test): Likewise.
33975 (y1_test): Likewise.
33976 (yn_test): Likewise.
33978 2012-03-27 Anton Blanchard <anton@samba.org>
33980 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33984 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33986 2012-03-27 David S. Miller <davem@davemloft.net>
33988 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33990 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33991 have-as-vis3 check.
33993 2012-03-27 Andreas Jaeger <aj@suse.de>
33995 * sysdeps/x86_64/elf/configure.in: Moved to ...
33996 * sysdeps/x86_64/configure.in: ... here.
33997 * sysdeps/x86_64/elf/start.S: Moved to ...
33998 * sysdeps/x86_64/start.S: ... here.
33999 * sysdeps/x86_64/elf/configure: Delete.
34001 * sysdeps/x86_64/configure.in: Merge contents from
34002 sysdeps/i386/configure.in (without i686 check).
34004 * sysdeps/i386/elf/Versions: Merge into ...
34005 * sysdeps/i386/Versions: ... this.
34006 * sysdeps/i386/elf/Versions: Delete file.
34007 * sysdeps/i386/elf/start.S: Moved to ...
34008 * sysdeps/i386/start.S: ...here.
34009 * sysdeps/i386/elf/configure.in: Merge into...
34010 * sysdeps/i386/configure.in: ...here.
34011 * sysdeps/i386/elf/configure.in: Delete file.
34012 * sysdeps/i386/elf/configure: Delete file.
34014 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34015 * debug/backtracesyms.c: ... here.
34016 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34017 * debug/backtracesymsfd.c: ... here.
34018 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34019 * sysdeps/generic/ifunc-sel.h: ... here.
34021 * sysdeps/unix/i386/start.c: Delete file.
34022 * sysdeps/unix/sparc/start.c: Delete file.
34023 * sysdeps/unix/start.c: Delete file.
34025 * sysdeps/sh/elf/configure.in: Moved to ...
34026 * sysdeps/sh/configure.in: ... here.
34027 * sysdeps/sh/elf/start.S: Moved to ...
34028 * sysdeps/sh/start.S: ... here.
34029 * sysdeps/sh/elf/configure: Delete file.
34031 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34032 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34033 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34034 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34035 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34036 * sysdeps/powerpc/powerpc64/start.S: here.
34037 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34038 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34039 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34040 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34041 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34043 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34044 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34045 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34046 * sysdeps/powerpc/powerpc32/start.S: ... here.
34047 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34048 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34049 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34051 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34052 * sysdeps/powerpc/ifunc-sel.h: ... here.
34053 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34054 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34056 * sysdeps/sparc/elf/configure.in: Moved to ...
34057 * sysdeps/sparc/configure.in: ... here.
34058 * sysdeps/sparc/elf/configure: Delete file.
34059 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34060 * sysdeps/sparc/sparc32/start.S: ... here.
34061 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34062 * sysdeps/sparc/sparc64/start.S: ... here.
34063 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34064 * sysdeps/sparc/sparc32/Makefile: ... this.
34065 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34066 * sysdeps/sparc/sparc64/Makefile: ... this.
34068 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34069 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34070 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34071 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34072 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34073 * sysdeps/s390/s390-32/setjmp.S: ... here.
34074 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34075 * sysdeps/s390/s390-32/configure.in: ... here.
34076 * sysdeps/s390/s390-32/elf/configure: Delete file.
34077 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34078 * sysdeps/s390/s390-32/start.S: ... here.
34080 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34081 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34082 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34083 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34084 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34085 * sysdeps/s390/s390-64/setjmp.S: ... here.
34086 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34087 * sysdeps/s390/s390-64/configure.in: ... here
34088 * sysdeps/s390/s390-64/elf/configure: Delete file.
34089 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34090 * sysdeps/s390/s390-64/start.S: ... here.
34091 * sysdeps/s390/s390-64/elf/configure: Delete.
34093 * configure.in: Remove support for elf directories in sysdeps.
34095 * configure: Regenerated.
34096 * sysdeps/i386/configure: Regenerated.
34097 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34098 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34099 * sysdeps/s390/s390-32/configure: Regenerated.
34100 * sysdeps/s390/s390-64/configure: Regenerated.
34101 * sysdeps/sh/configure: Regenerated.
34102 * sysdeps/sparc/configure: Regenerated.
34103 * sysdeps/x86_64/configure: Regenerated.
34105 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34110 denormal result into account.
34112 2012-03-25 Roland McGrath <roland@hack.frob.com>
34114 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34115 Reported by Allan McRae <allan@archlinux.org>.
34117 2012-03-23 Jeff Law <law@redhat.com>
34119 * nss/getnssent.c (__nss_getent): Fix typo.
34121 2012-03-23 David S. Miller <davem@davemloft.net>
34123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34125 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34127 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34128 to pad to uint64_t for each field.
34129 (dl_tls_index): Replace unsigned long with uint64_t.
34131 2012-03-23 Daniel Jacobowitz <dmj@google.com>
34132 Paul Pluzhnikov <ppluzhnikov@google.com>
34135 * grp/Makefile (otherlibs): Don't set it.
34136 * inet/Makefile (otherlibs): Likewise.
34137 * login/Makefile (otherlibs): Likewise.
34138 * nscd/Makefile (otherlibs): Likewise.
34139 * posix/Makefile (otherlibs): Likewise.
34140 * pwd/Makefile (otherlibs): Likewise.
34141 * rt/Makefile (otherlibs): Likewise.
34142 * sunrpc/Makefile (otherlibs): Likewise.
34143 * nss/Makefile (otherlibs): Likewise.
34144 Add libnss_files to routines and static-only-routines.
34145 ($(objpfx)getent): Remove rule.
34146 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34147 static-only-routines.
34149 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34152 * math/s_cexp.c: Include <float.h>.
34153 (__cexp): Handle exp result overflowing not necessarily
34154 overflowing both real and imaginary parts of result.
34155 * math/s_cexpf.c: Likewise.
34156 * math/s_cexpl.c: Likewise.
34157 * math/libm-test.inc (cexp_test): Add more tests.
34158 * sysdeps/i386/fpu/libm-test-ulps: Update.
34159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34161 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34163 * include/link.h (ELFW): New macro.
34164 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34165 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34167 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34169 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34172 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34174 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34176 (struct La_x32_retval): Likewise.
34178 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34180 * sysdeps/x86_64/preconfigure.in: New file.
34181 * sysdeps/x86_64/preconfigure: New generated file.
34183 2012-03-22 Joseph Myers <joseph@codesourcery.com>
34186 * math/e_exp2l.c: Include <float.h>.
34187 (__ieee754_exp2l): Handle overflow and underflow cases
34188 separately. Only pass fractional part of argument to
34190 * math/libm-test.inc (exp2_test): Add more tests.
34192 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34193 negating x to take absolute value.
34194 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34199 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34200 computing low part if x was negated.
34201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34203 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34205 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34206 la_x32_gnu_pltexit.
34207 (pltexit): Cast int_retval to ptrdiff_t.
34208 * elf/tst-auditmod3b.c: Likewise.
34209 * elf/tst-auditmod4b.c: Likewise.
34210 * elf/tst-auditmod5b.c: Likewise.
34211 * elf/tst-auditmod6b.c: Likewise.
34212 * elf/tst-auditmod6c.c: Likewise.
34213 * elf/tst-auditmod7b.c: Likewise.
34215 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34216 and x32_gnu_pltexit.
34218 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34219 __ELF_NATIVE_CLASS.
34220 (La_x32_regs): New macro.
34221 (La_x32_retval): Likewise.
34222 (la_x32_gnu_pltenter): New function prototype.
34223 (la_x32_gnu_pltexit): Likewise.
34225 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34232 * configure.in (libc_cv_cc_nofma): Check for option to disable
34233 generation of FMA instructions.
34234 * configure: Regenerate.
34235 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34236 * sysdeps/ieee754/dbl-64/Makefile: New file.
34237 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34238 Remove brandred-fma4.
34239 (CFLAGS-brandred-fma4.c): Remove.
34240 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34241 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34246 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34248 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34249 LLONG_MAX != LONG_MAX.
34250 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34251 (_fitoa_word): Likewise.
34252 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34253 LLONG_MAX != LONG_MAX.
34254 * stdio-common/_itowa.h: Include <_itoa.h>.
34255 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34256 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34257 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34258 only if not defined.
34259 (_ITOA_WORD_TYPE): Likewise.
34260 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34261 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34263 2012-03-21 David S. Miller <davem@davemloft.net>
34265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34267 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34269 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34270 of x86_64 when setting libc_cv_slibdir, libdir and
34272 * sysdeps/unix/sysv/linux/configure: Regenerated.
34274 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34276 * manual/lang.texi (Old Varargs): Remove section.
34277 (How Variadic): Update menu.
34278 (va_start): Do not mention varargs.h.
34280 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34281 Joseph Myers <joseph@codesourcery.com>
34283 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34285 * configure: Regenerated.
34287 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34289 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34290 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34293 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34296 * Makefile (files-for-dist): Remove NOTES.
34297 (NOTES): Remove rule.
34298 * README: Don't refer to NOTES.
34299 * manual/creature.texi: Don't include macros.texi.
34300 * manual/intro.texi (creature.texi): Remove comment referring to
34303 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34304 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34305 * configure: Regenerated.
34306 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34307 LIBC_TRY_CC_OPTION.
34308 (libc_cv_as_i686): Likewise.
34309 (libc_cv_cc_avx): Likewise.
34310 (libc_cv_cc_sse2avx): Likewise.
34311 (libc_cv_cc_fma4): Likewise.
34312 (libc_cv_cc_novzeroupper): Likewise.
34313 * sysdeps/i386/configure: Regenerated.
34316 * sysdeps/i386/fpu/s_cexp.S: Remove.
34317 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34318 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34319 * math/libm-test.inc (cexp_test): Add more tests.
34320 * sysdeps/i386/fpu/libm-test-ulps: Update.
34321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34323 2012-03-21 Allan McRae <allan@archlinux.org>
34325 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34327 2012-03-21 Joseph Myers <joseph@codesourcery.com>
34330 * math/w_exp2.c: Do not include <float.h>.
34331 (o_threshold, u_threshold): Remove.
34332 (__exp2): Calculate result before checking finiteness and calling
34334 * math/w_exp2f.c: Likewise.
34335 * math/w_exp2l.c: Likewise.
34336 * math/libm-test.inc (exp2_test): Require overflow exception for
34340 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34341 range of signed 64-bit integers before using fistpll. Remove
34342 checks for whether integers fit in mantissa bits.
34343 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34344 the range of signed 32-bit integers before using fistpl. Remove
34345 checks for whether integers fit in mantissa bits.
34346 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34347 (__ieee754_powl): Test for y outside the range of signed 64-bit
34348 integers before using fistpll. Reduce 64-bit values to 63-bit
34350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34351 divide-by-zero is raised for zero to large negative powers.
34352 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34353 (__ieee754_powl): Test for y outside the range of signed 64-bit
34354 integers before using fistpll. Reduce 64-bit values to 63-bit
34356 * math/libm-test.inc (pow_test): Add more tests.
34358 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34360 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34361 <stdio-common/_itoa.h>.
34362 * debug/segfault.c: Likewise.
34363 * elf/dl-cache.c: Likewise.
34364 * elf/dl-minimal.c: Likewise.
34365 * elf/dl-misc.c: Likewise.
34366 * elf/dl-sysdep.c: Likewise.
34367 * elf/dl-version.c: Likewise.
34368 * elf/rtld.c: Likewise.
34369 * hurd/hurdsock.c: Likewise.
34370 * hurd/lookup-retry.c: Likewise.
34371 * malloc/malloc.c: Likewise.
34372 * malloc/mtrace.c: Likewise.
34373 * nscd/nscd_getgr_r.c: Likewise.
34374 * nscd/nscd_getpw_r.c: Likewise.
34375 * nscd/nscd_getserv_r.c: Likewise.
34376 * posix/getopt_init.c: Likewise.
34377 * posix/wordexp.c: Likewise.
34378 * stdio-common/_itoa.c: Likewise.
34379 * stdio-common/printf_fphex.c: Likewise.
34380 * stdio-common/vfprintf.c: Likewise.
34381 * string/_strerror.c: Likewise.
34382 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34383 * sysdeps/i386/i686/hp-timing.h: Likewise.
34384 * sysdeps/mach/_strerror.c: Likewise.
34385 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34386 * sysdeps/mach/hurd/sethostid.c: Likewise.
34387 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34388 * sysdeps/mach/xpg-strerror.c: Likewise.
34389 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34390 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34391 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34392 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34393 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34394 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34395 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34396 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34397 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34398 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34399 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34400 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34401 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34402 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34403 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34404 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34405 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34406 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34407 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34408 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34409 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34411 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34413 * stdio-common/_itoa.h: Moved to ...
34414 * sysdeps/generic/_itoa.h: Here.
34416 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34418 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34419 instead of "_itoa.h" and "_itowa.h".
34420 * stdio-common/vfprintf.: Likewise.
34422 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34424 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34426 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34427 (__signbit): Likwise.
34428 (llrintf): Likwise.
34431 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34433 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34436 2012-03-20 Joseph Myers <joseph@codesourcery.com>
34438 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34439 OVERFLOW_EXCEPTION_OK.
34440 * math/libm-test.inc ("Philosophy"): Update comment about
34442 (OVERFLOW_EXCEPTION): Define.
34443 (OVERFLOW_EXCEPTION_OK): Likewise.
34444 (INVALID_EXCEPTION_OK): Renumber.
34445 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34446 (IGNORE_ZERO_INF_SIGN): Likewise.
34447 (test_exceptions): Handle FE_OVERFLOW.
34448 (exp10_test): Expect overflow exceptions.
34449 (exp2_test): Likewise.
34450 (expm1_test): Likewise.
34451 (nextafter_test): Likewise.
34452 (pow_test): Likewise.
34453 (scalbn_test): Likewise.
34454 (scalbln_test): Likewise.
34456 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34458 * sysdeps/x86_64/bits/atomic.h
34459 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34461 (atomic_exchange_acq): Likewise.
34462 (__arch_exchange_and_add_body): Likewise.
34463 (__arch_add_body): Likewise.
34464 (atomic_add_negative): Likewise.
34465 (atomic_add_zero): Likewise.
34467 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34469 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34470 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34472 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34474 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34475 Check __x86_64__ instead of __WORDSIZE.
34477 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34479 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34481 2012-03-19 David S. Miller <davem@davemloft.net>
34483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34485 * sysdeps/sparc/fpu/fenv_private.h: New file.
34486 * sysdeps/sparc/fpu/math_private.h: Use it.
34487 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34489 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34490 (libc_feholdexcept_setroundl): Remove.
34491 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34493 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34494 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34496 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34498 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34499 int64_t instead of long int.
34500 (INSERT_WORDS64): Likwise.
34502 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34504 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34505 _Unwind_GetCFA return to _Unwind_Ptr first.
34507 2012-03-19 Joseph Myers <joseph@codesourcery.com>
34510 * math/s_clog.c: Include <float.h>.
34511 (__clog): Scale large or subnormal inputs.
34512 * math/s_clogf.c: Likewise.
34513 * math/s_clogl.c: Likewise.
34514 * math/s_clog10.c: Include <float.h>.
34515 (M_LOG10_2): Define.
34516 (__clog10): Scale large or subnormal inputs.
34517 * math/s_clog10f.c: Likewise.
34518 * math/s_clog10l.c: Likewise.
34519 * math/libm-test.inc (clog_test): Add more tests.
34520 (clog10_test): Likewise.
34521 * sysdeps/i386/fpu/libm-test-ulps: Update.
34522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34525 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34527 * math/libm-test.inc (atan2_test): Add another test.
34529 * Makerules (common-objdir-compile): Remove.
34530 * sysdeps/unix/Makefile (config-generated): Do not add
34531 $(unix-generated) to variable.
34532 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34533 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34535 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34537 [generic bits/local_lim.h] (before-compile): Do not append to
34539 [generic bits/local_lim.h] (common-generated): Likewise.
34540 [generic sys/param.h] (before-compile): Do not append to variable.
34541 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34542 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34543 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34544 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34546 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34547 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34548 [generic sys/param.h] ($(addprefix
34549 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34550 [generic sys/param.h] (common-generated): Do not append to
34552 [generic sys/param.h] (sysdep_headers): Likewise.
34553 [generic bits/errno.h] (before-compile): Do not append to
34555 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34557 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34558 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34559 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34560 [generic bits/errno.h] (common-generated): Do not append to
34562 [generic bits/ioctls.h] (before-compile): Do not append to
34564 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34566 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34567 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34568 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34570 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34571 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34572 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34573 [generic bits/ioctls.h] (common-generated): Do not append to
34575 [generic sys/syscall.h] (syscall.h): Remove variable.
34576 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34578 [generic sys/syscall.h] (before-compile): Do not append to
34580 [generic sys/syscall.h] (common-generated): Likewise.
34581 * sysdeps/unix/errnos-tmpl.c: Remove file.
34582 * sysdeps/unix/errnos.awk: Likewise.
34583 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34584 * sysdeps/unix/ioctls.awk: Likewise.
34585 * sysdeps/unix/mk-local_lim.c: Likewise.
34586 * sysdeps/unix/snarf-ioctls: Likewise.
34588 2012-03-19 Richard Henderson <rth@twiddle.net>
34590 * sysdeps/i386/fpu/fenv_private.h: New file.
34591 * sysdeps/i386/fpu/math_private.h: Use it.
34592 (math_opt_barrier, math_force_eval): Remove.
34593 (libc_feholdexcept_setround_53bit): Remove.
34594 (libc_feupdateenv_53bit): Remove.
34595 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34596 (math_opt_barrier, math_force_eval): Remove.
34597 (libc_feholdexcept): Remove.
34598 (libc_feholdexcept_setround): Remove.
34599 (libc_fetestexcept, libc_fesetenv): Remove.
34600 (libc_feupdateenv_test): Remove.
34601 (libc_feupdateenv, libc_feholdsetround): Remove.
34602 (libc_feresetround): Remove.
34604 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34605 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34607 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34608 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34609 (libc_feupdateenv_testl): New.
34610 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34611 (libc_feupdateenv_testf): New.
34612 (libc_feupdateenv): Use libc_feupdateenv_test.
34613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34614 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34616 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34617 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34618 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34619 (libc_feresetround_noex): New.
34620 (libc_feresetround_noexf): New.
34621 (libc_feresetround_noexl): New.
34622 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34623 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34624 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34625 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34630 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34631 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34632 SET_RESTORE_ROUND_NOEX.
34633 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34634 SET_RESTORE_ROUND_NOEXF.
34635 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34636 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34637 (libc_feholdsetroundf): New.
34638 (libc_feresetround, libc_feresetroundf): New.
34640 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34641 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34642 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34644 * sysdeps/generic/math_private.h: Include <fenv.h>.
34645 (default_libc_feholdexcept): New.
34646 (default_libc_feholdexcept_setround): New.
34647 (default_libc_fesetenv, default_libc_feupdateenv): New.
34648 (libc_feholdexcept): Only define if undefined.
34649 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34650 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34651 (libc_feholdexcept_setroundl): Likewise.
34652 (libc_feholdexcept_setround_53bit): Likewise.
34653 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34654 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34655 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34656 (libc_feupdateenv_53bit): Likewise.
34657 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34658 (libc_feholdexcept): Convert from macro to inline function.
34659 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34660 (libc_fesetenv, libc_feupdateenv): Likewise.
34662 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34663 not previously defined.
34664 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34665 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34666 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34667 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34668 * sysdeps/ieee754/flt-32/math_private.h: New file.
34669 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34670 math_private.h below SET_FLOAT_WORD.
34671 (__isnan, __isinf_ns, __finite): Remove.
34672 (__isnanf, __isinf_nsf, __finitef): Remove.
34674 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34678 2012-03-17 David S. Miller <davem@davemloft.net>
34681 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34684 2012-03-16 David S. Miller <davem@davemloft.net>
34686 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34690 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34692 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34693 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34694 sysdep_routines when subdir is sysvipc.
34695 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34696 __getshmlba helper.
34698 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34700 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34702 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34705 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34708 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34709 (__lround): Renamed to ...
34710 (__llround): This. Replace long int with long long int.
34711 Define lround functions as aliases of llround functions.
34712 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34714 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34716 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34717 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34718 adresses to uintptr_t. Replace "long int" and "unsigned long
34719 int" with "greg_t" on va_arg.
34721 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34723 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34724 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34726 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34727 Move e_machine check before EI_CLASS check. Handle x32
34728 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34729 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34730 SKIP_EM_IA_64 and include
34731 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34733 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34734 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34735 (add_system_dir): New macro.
34737 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34738 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34740 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34751 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34753 * math/w_j0f.c (j0f): Likewise.
34755 * math/w_j0l.c (__j0l): Likewise.
34757 * math/w_j1.c (j1): Likewise.
34759 * math/w_j1f.c (j1f): Likewise.
34761 * math/w_j1l.c (__j1l): Likewise.
34763 * math/w_jn.c (jn): Likewise.
34765 * math/w_jnf.c (jnf): Likewise.
34767 * math/w_jnl.c (__jnl): Likewise.
34769 * math/libm-test.inc (j0_test): Add more tests.
34770 (j1_test): Likewise.
34771 (jn_test): Likewise. Add trailing semicolon to existing test.
34772 (y0_test): Likewise.
34773 (y1_test): Likewise.
34774 * sysdeps/i386/fpu/libm-test-ulps: Update.
34775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34779 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34780 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34781 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34782 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34783 (__tanl): Set errno for infinite argument.
34784 * sysdeps/i386/fpu/mptan.c: Remove.
34785 * sysdeps/i386/fpu/s_tan.S: Likewise.
34786 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34787 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34788 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34789 * math/libm-test.inc (tan_test): Add more tests and enable more
34790 tests for double and long double.
34791 * sysdeps/i386/fpu/libm-test-ulps: Update.
34792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34794 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34796 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34797 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34799 2012-03-16 Roland McGrath <roland@hack.frob.com>
34801 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34802 * configure.in: Use it for both main tree and add-ons.
34803 * configure: Regenerated.
34805 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34807 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34809 2012-03-16 Joseph Myers <joseph@codesourcery.com>
34811 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34815 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34816 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34817 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34818 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34819 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34821 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34823 != 0 for prec == 2.
34824 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34825 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34826 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34827 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34828 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34829 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34830 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34831 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34832 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34833 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34834 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34835 * math/libm-test.inc (cos_test): Add more tests and enable more
34836 tests for long double.
34837 (sin_test): Likewise.
34838 (sincos_test): Likewise.
34839 * sysdeps/i386/fpu/libm-test-ulps: Update.
34840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34842 2012-03-16 David S. Miller <davem@davemloft.net>
34844 * sysdeps/sparc/fpu/math_private.h: New file.
34846 2012-03-15 David S. Miller <davem@davemloft.net>
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34857 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34862 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34863 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34865 * sysdeps/sparc/sparc-ifunc.h: New file.
34866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34892 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34895 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34900 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34904 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34905 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34906 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34907 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34908 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34911 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34913 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34917 2012-03-15 Andreas Jaeger <aj@suse.de>
34920 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34921 ieee754/flt-32 implementation for sin, cos and sincos.
34922 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34923 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34924 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34925 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34926 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34927 ieee754/flt-32 implementation for tan.
34929 * math/libm-test.inc (cos_test): Enable some large input tests for
34931 (sin_test): Likewise.
34932 (sincos_test): Likewise.
34933 (tan_test): Add tests for large input.
34935 * sysdeps/i386/fpu/libm-test-ulps: Update.
34937 2012-03-15 Andreas Jaeger <aj@suse.de>
34940 * math/libm-test.inc (cos_test): Add more test cases.
34941 (sin_test): Likewise.
34942 (sincos_test): Likewise.
34944 2012-03-15 Andreas Jaeger <aj@suse.de>
34947 * math/libm-test.inc (cos_test): Add a test case for large input
34949 (sin_test): Likewise.
34950 (sincos_test): Likewise.
34952 2012-03-15 Andreas Jaeger <aj@suse.de>
34953 Joseph Myers <joseph@codesourcery.com>
34956 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34957 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34958 * sysdeps/i386/fpu/branred.c: Likewise.
34959 * sysdeps/i386/fpu/dosincos.c: Likewise.
34960 * sysdeps/i386/fpu/mpa.c: Likewise.
34961 * sysdeps/i386/fpu/s_cos.S: Likewise.
34962 * sysdeps/i386/fpu/s_sin.S: Likewise.
34963 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34964 * sysdeps/i386/fpu/sincos32.c: Likewise.
34966 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34968 (libc_feupdateenv_53bit): Define.
34969 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34971 (libc_feupdateenv_53bit): Define.
34973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34974 53 bit (without extend i386 double precision).
34976 * math/libm-test.inc (sincos_test): Add tests for large input.
34980 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34982 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34986 2012-03-15 David S. Miller <davem@davemloft.net>
34988 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34989 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34990 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34991 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35001 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35016 fmin/fmax sysdep routines.
35017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35019 2012-03-14 David S. Miller <davem@davemloft.net>
35021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35022 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35025 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35028 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35038 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35039 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35040 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35041 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35042 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35043 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35044 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35045 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35046 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35047 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35048 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35093 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35098 * sysdeps/sparc/configure.in: New file.
35099 * sysdeps/sparc/configure: Generate.
35100 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35101 * configure: Regenerate.
35102 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35103 * config.make.in (have-as-vis3): New.
35104 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35105 available use -Av9d instead of -Av9a.
35106 * sysdeps/sparc/sparc64/Makefile: Likewise.
35107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35117 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35118 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35119 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35122 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35123 fzeros/fnegs to load 0x80000000 into a float register instead of
35125 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35127 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35131 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35132 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35133 ($(inst_includedir)/bits/syscall.h): Remove rule.
35134 ($(objpfx)bits/syscall.d): Include instead of
35135 $(objpfx)syscall-list.d.
35136 (generated): Change syscall-list.h and syscall-list.d to
35137 bits/syscall.h and bits/syscall.d.
35139 2012-03-14 Roland McGrath <roland@hack.frob.com>
35142 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35144 2012-03-14 Joseph Myers <joseph@codesourcery.com>
35147 * math/s_csqrt.c: Include <float.h>.
35148 (__csqrt): Scale large or subnormal inputs.
35149 * math/s_csqrtf.c: Likewise.
35150 * math/s_csqrtl.c: Likewise.
35151 * math/libm-test.inc (csqrt_test): Add more tests.
35152 * sysdeps/i386/fpu/libm-test-ulps: Update.
35153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35156 * math/libm-test.inc (hypot_test): Add more tests.
35158 2012-03-13 David S. Miller <davem@davemloft.net>
35161 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35162 double-precision for the calculation instead of scaling.
35164 2012-03-13 Joseph Myers <joseph@codesourcery.com>
35166 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35167 manipulate bits before adding and subtracting TWO52[sx].
35168 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35169 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35171 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35173 2012-03-13 David S. Miller <davem@davemloft.net>
35175 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35176 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35177 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35178 rtld-global-offsets.h
35179 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35181 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35184 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35186 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35187 'err' in the ifdef scope in which it is actually used.
35189 * nss/nss_db/db-init.c: Include string.h
35191 2012-03-12 David S. Miller <davem@davemloft.net>
35193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35194 masking out of the most significant byte of random value used.
35195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35196 Fix coding style in previous change.
35198 * sysdeps/unix/sysv/linux/kernel-features.h
35199 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35200 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35202 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35205 2012-03-11 David S. Miller <davem@davemloft.net>
35207 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35208 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35209 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35210 for 'resultvar' otherwise things get truncated on 64-bit.
35212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35213 Fix masking out of the most significant byte of random value used.
35215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35217 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35221 2012-03-09 David S. Miller <davem@davemloft.net>
35223 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35224 variables with appropriate CPP guards.
35225 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35226 from the frame pointer, not the stack pointer. Correct layout
35227 comments. Fix test on resulting framesize and the management of
35228 the outregs buffer for pltexit. Preserve floating point return
35229 values across _dl_call_pltexit call.
35230 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35231 framesize and the management of the outregs buffer for pltexit.
35232 Preserve floating point return values across _dl_call_pltexit
35234 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35235 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35236 (la_sparc64_gnu_pltexit): New functions.
35237 (print_exit): Fix format string for return register value.
35239 2012-03-10 Joseph Myers <joseph@codesourcery.com>
35241 * sunrpc/Makefile (others): Add rpcgen.
35242 ($(objpfx)rpcgen): Remove special build rule and dependency on
35244 * sunrpc/rpcgen.c: New file.
35246 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35249 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35250 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35251 * sysdeps/i386/crti.S: Likewise.
35252 * sysdeps/i386/crtn.S: Likewise.
35253 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35254 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35255 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35256 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35257 * sysdeps/sh/crti.S: Likewise.
35258 * sysdeps/sh/crtn.S: Likewise.
35259 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35262 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35264 * locale/programs/locfile-kw.gperf: Likewise.
35265 * locale/programs/charmap-kw.h: Regenerated.
35266 * locale/programs/locfile-kw.h: Likewise.
35269 * intl/plural.y: Replace FSF snail mail address with URL.
35270 * intl/plural.c: Regenerated.
35272 2012-03-09 Richard Henderson <rth@twiddle.net>
35274 * include/math_private.h: Remove file.
35275 * math/math_private.h: Move file ...
35276 * sysdeps/generic/math_private.h: ... here.
35278 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35279 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35280 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35282 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35283 and <math_private.h>.
35284 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35285 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35286 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35287 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35288 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35289 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35290 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35291 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35292 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35293 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35295 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35296 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35297 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35298 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35299 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35300 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35301 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35302 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35303 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35305 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35306 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35307 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35308 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35309 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35310 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35311 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35313 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35314 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35316 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35317 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35318 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35319 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35320 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35321 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35322 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35324 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35325 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35326 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35327 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35328 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35329 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35330 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35331 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35332 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35333 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35334 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35335 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35336 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35337 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35338 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35339 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35340 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35341 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35342 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35343 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35344 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35345 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35347 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35348 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35349 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35350 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35351 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35352 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35353 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35354 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35355 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35356 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35357 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35358 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35359 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35360 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35362 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35363 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35364 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35365 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35366 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35367 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35368 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35369 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35371 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35372 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35373 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35374 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35375 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35376 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35377 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35378 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35379 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35380 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35381 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35382 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35383 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35384 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35385 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35386 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35387 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35388 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35389 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35390 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35391 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35392 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35394 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35395 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35396 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35397 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35398 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35399 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35400 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35401 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35402 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35403 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35404 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35405 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35406 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35407 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35408 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35409 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35410 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35411 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35412 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35413 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35414 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35415 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35416 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35417 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35418 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35419 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35420 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35421 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35422 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35423 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35424 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35425 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35426 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35427 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35428 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35429 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35430 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35431 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35432 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35433 * sysdeps/ieee754/k_standard.c: Likewise.
35434 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35435 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35436 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35437 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35438 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35439 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35442 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35443 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35444 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35445 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35446 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35447 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35448 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35449 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35450 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35451 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35452 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35453 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35454 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35463 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35465 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35466 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35470 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35476 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35479 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35481 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35482 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35505 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35507 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35508 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35509 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35511 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35512 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35515 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35517 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35518 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35520 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35523 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35524 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35526 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35527 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35528 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35529 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35530 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35531 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35532 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35533 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35535 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35538 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35541 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35542 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35543 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35544 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35545 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35546 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35547 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35548 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35549 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35550 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35551 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35552 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35556 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35559 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35560 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35561 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35562 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35563 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35564 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35565 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35566 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35567 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35568 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35569 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35570 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35571 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35572 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35573 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35574 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35575 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35576 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35577 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35578 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35579 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35580 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35581 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35582 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35583 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35584 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35585 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35586 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35587 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35588 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35589 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35590 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35591 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35592 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35593 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35594 * sysdeps/ieee754/s_lib_version.c: Likewise.
35595 * sysdeps/ieee754/s_matherr.c: Likewise.
35596 * sysdeps/ieee754/s_signgam.c: Likewise.
35597 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35598 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35599 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35600 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35601 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35602 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35603 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35604 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35605 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35606 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35607 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35608 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35609 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35610 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35611 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35612 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35613 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35616 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35617 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35619 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35621 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35622 * sunrpc/rpc_main.c: Likewise.
35623 * sunrpc/rpc_svcout.c: Likewise.
35625 2012-03-09 David S. Miller <davem@davemloft.net>
35627 * include/math_private.h: New file.
35629 2012-03-09 Joseph Myers <joseph@codesourcery.com>
35631 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35632 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35633 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35634 from <bits/socket_type.h>.
35635 (enum __socket_type): Don't define here.
35636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35638 bits/socket_type.h.
35641 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35642 checking __USE_GNU.
35644 * Makerules ($(inst_includedir)/%.h): New rule.
35645 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35646 (install-others): Remove variable setting.
35647 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35649 2012-03-08 Richard Henderson <rth@twiddle.net>
35651 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35652 from macro to inline function; merge with the
35653 !__LIBC_INTERNAL_MATH_INLINES version.
35654 (__ieee754_sqrtf): Likewise.
35656 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35657 to inline function.
35658 (__rintf, __floor, __floorf): Likewise.
35660 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35661 macro to inline function.
35662 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35664 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35665 not <math/math_private.h>.
35667 2012-03-08 David S. Miller <davem@davemloft.net>
35669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35671 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35673 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35675 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35677 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35678 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35680 2012-03-08 Ulrich Drepper <drepper@gmail.com>
35682 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35683 be defined individually, they must be defined as a block. Define
35684 S for printing a string instead of hidint the different by using a
35685 macro for adding the 'l'.
35686 * stdio-common/tst-fphex-wide.c: Adjust.
35688 2012-03-07 Marek Polacek <polacek@redhat.com>
35690 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35692 2012-03-08 Marek Polacek <polacek@redhat.com>
35695 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35696 * stdio-common/tst-fphex.c: Define a few macros to make the
35697 test reusable. Use them.
35698 * stdio-common/tst-fphex-wide.c: New file.
35700 2012-03-08 Joseph Myers <joseph@codesourcery.com>
35703 * manual/macros.texi (gnusystems): New macro.
35704 (nongnusystems): Likewise.
35705 (gnulinuxhurdsystems): Likewise.
35706 (gnuhurdsystems): Likewise..
35707 (gnulinuxsystems): Likewise.
35708 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35709 variants of the GNU system, not "GNU system".
35710 * manual/conf.texi: Likewise.
35711 * manual/errno.texi: Likewise. Update example of errno macro
35713 * manual/filesys.texi: Likewise.
35714 (getumask): Document as specific to GNU/Hurd.
35715 * manual/install.texi: Likewise. Reword some references to
35717 * manual/intro.texi: Likewise.
35718 * manual/io.texi: Likewise.
35719 (File Name Portability): Detail which constraints are inapplicable
35720 to all GNU systems and which are only inapplicable to GNU/Hurd.
35721 * manual/job.texi: Likewise.
35722 * manual/llio.texi: Likewise.
35723 (O_NOCTTY): Document as present on GNU/Linux.
35724 * manual/maint.texi: Likewise.
35725 * manual/memory.texi: Likewise.
35726 * manual/pattern.texi: Likewise.
35727 * manual/pipe.texi: Likewise.
35728 * manual/process.texi: Likewise.
35729 * manual/resource.texi: Likewise.
35730 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35732 * manual/setjmp.texi: Likewise.
35733 * manual/signal.texi: Likewise.
35734 * manual/startup.texi: Likewise.
35735 * manual/stdio.texi: Likewise.
35736 * manual/terminal.texi: Likewise.
35737 (ONLCR): Document as POSIX.
35738 (OXTABS): Document availability on GNU/Linux as XTABS.
35739 (ONOEOT): Document availability separately from other bits.
35740 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35741 * manual/time.texi: Likewise.
35742 * manual/users.texi: Likewise.
35743 * INSTALL: Regenerated.
35744 * sysdeps/gnu/errlist.c: Regenerated.
35746 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35747 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35748 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35750 * configure: Regenerated.
35752 2012-03-07 Joseph Myers <joseph@codesourcery.com>
35754 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35755 default includes instead of AC_HEADER_CHECK.
35756 * sysdeps/i386/configure: Regenerated.
35759 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35760 * math/s_cacoshf.c (__cacoshf): Likewise.
35761 * math/s_cacoshl.c (__cacoshl): Likewise.
35762 * math/s_casinh.c (__casinh): Set signs of result from argument.
35763 * math/s_casinhf.c (__casinhf): Likewise.
35764 * math/s_casinhl.c (__casinhl): Likewise.
35765 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35766 (casinh_test): Add more tests.
35767 * sysdeps/i386/fpu/libm-test-ulps: Update.
35768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35770 2012-03-07 Ulrich Drepper <drepper@gmail.com>
35772 * po/zh_TW.po: Update from translation team.
35774 * login/Makefile (distribute): Remove variable.
35775 * catgets/Makefile: Likewise.
35776 * mach/Makefile: Likewise.
35777 * malloc/Makefile: Likewise.
35778 * misc/Makefile: Likewise.
35779 * iconv/Makefile: Likewise.
35780 * nscd/Makefile: Likewise.
35781 * hurd/Makefile: Likewise.
35782 * manual/Makefile: Likewise.
35783 * locale/Makefile: Likewise.
35784 * intl/Makefile: Likewise.
35785 * conform/Makefile: Likewise.
35786 * nss/Makefile: Likewise.
35787 * time/Makefile: Likewise.
35788 * soft-fp/Makefile: Likewise.
35789 * dirent/Makefile: Likewise.
35790 * gmon/Makefile: Likewise.
35791 * po/Makefile: Likewise.
35792 * rt/Makefile: Likewise.
35793 * socket/Makefile: Likewise.
35794 * math/Makefile: Likewise.
35795 * signal/Makefile: Likewise.
35796 * debug/Makefile: Likewise.
35797 * elf/Makefile: Likewise.
35798 * timezone/Makefile: Likewise.
35799 * stdlib/Makefile: Likewise.
35800 * iconvdata/Makefile: Likewise.
35801 * sunrpc/Makefile: Likewise.
35802 * io/Makefile: Likewise.
35803 * argp/Makefile: Likewise.
35804 * inet/Makefile: Likewise.
35805 * hesiod/Makefile: Likewise.
35806 * grp/Makefile: Likewise.
35807 * csu/Makefile: Likewise.
35808 * wctype/Makefile: Likewise.
35809 * crypt/Makefile: Likewise.
35810 * libio/Makefile: Likewise.
35811 * string/Makefile: Likewise.
35812 * nis/Makefile: Likewise.
35813 * resolv/Makefile: Likewise.
35814 * stdio-common/Makefile: Likewise.
35815 * wcsmbs/Makefile: Likewise.
35816 * dlfcn/Makefile: Likewise.
35817 * posix/Makefile: Likewise.
35820 * timezone/Makefile: Don't install timezone files, just the programs
35823 2012-03-06 Ulrich Drepper <drepper@gmail.com>
35825 * nss/databases.def: Add missing gshadow entry.
35827 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35829 2012-03-06 Marek Polacek <polacek@redhat.com>
35832 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35833 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35834 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35835 * stdio-common/tst-long-dbl-fphex.c: New file.
35837 2012-03-06 David S. Miller <davem@davemloft.net>
35839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35840 (set_obp_int): New function.
35841 (get_obp_int): New function.
35842 (__get_clockfreq_via_dev_openprom): Likewise.
35843 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35844 Avoid unused variable warnings on 'val' and use builtin_expect.
35845 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35847 (INLINE_CLONE_SYSCALL): Likewise.
35849 2012-03-05 David S. Miller <davem@davemloft.net>
35851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35853 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35857 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35858 only for |x| >= 40.
35859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35861 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35863 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35864 Replace gettimeofday with __vdso_gettimeofday.
35866 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35867 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35868 __vdso_clock_gettime and __vdso_getcpu.
35870 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35871 time with __vdso_time.
35873 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35875 * manual/lang.texi (size_t): Note types to which size_t may be
35876 equivalent with the GNU C Library, but do not describe when
35877 differences between them are significant.
35879 2012-03-05 Andreas Jaeger <aj@suse.de>
35881 * sysdeps/i386/fpu/libm-test-ulps: Update.
35883 2012-03-05 Joseph Myers <joseph@codesourcery.com>
35886 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35887 (__ieee754_pow): Save and restore rounding mode and use
35888 round-to-nearest for main computations.
35889 * math/libm-test.inc (pow_test_tonearest): New function.
35890 (pow_test_towardzero): Likewise.
35891 (pow_test_downward): Likewise.
35892 (pow_test_upward): Likewise.
35893 (main): Call the new functions.
35894 * sysdeps/i386/fpu/libm-test-ulps: Update.
35895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35898 * math/libm-test.inc (cosh_test_tonearest): New function.
35899 (cosh_test_towardzero): Likewise.
35900 (cosh_test_downward): Likewise.
35901 (cosh_test_upward): Likewise.
35902 (sinh_test_tonearest): Likewise.
35903 (sinh_test_towardzero): Likewise.
35904 (sinh_test_downward): Likewise.
35905 (sinh_test_upward): Likewise.
35906 (main): Call the new functions.
35907 * sysdeps/i386/fpu/libm-test-ulps: Update.
35908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35910 2012-03-05 Tom de Vries <tom@codesourcery.com>
35912 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35913 default stack guard is set in last bytes.
35914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35916 2012-03-05 Kees Cook <keescook@chromium.org>
35918 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35921 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35922 possibly allocate from heap instead of stack.
35923 * stdio-common/bug-vfprintf-nargs.c: New file.
35924 * stdio-common/Makefile (tests): Add nargs overflow test.
35926 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35930 2012-03-03 Marek Polacek <polacek@redhat.com>
35932 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35933 * math/math_private.h: Likewise.
35934 * stdlib/tst-strtod.c: Likewise.
35935 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35936 * sysdeps/x86_64/bits/atomic.h: Likewise.
35938 2012-03-02 David S. Miller <davem@davemloft.net>
35940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35944 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35945 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35946 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35947 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35949 2012-03-02 Roland McGrath <roland@hack.frob.com>
35952 * manual/examples/README: New file, says the example source files
35953 can be used under GPL>=2.
35954 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35955 line containing just "*/".
35956 * manual/examples/add.c: Add copyright header (GPL>=2).
35957 * manual/examples/argp-ex1.c: Likewise.
35958 * manual/examples/argp-ex2.c: Likewise.
35959 * manual/examples/argp-ex3.c: Likewise.
35960 * manual/examples/argp-ex4.c: Likewise.
35961 * manual/examples/atexit.c: Likewise.
35962 * manual/examples/db.c: Likewise.
35963 * manual/examples/dir.c: Likewise.
35964 * manual/examples/dir2.c: Likewise.
35965 * manual/examples/execinfo.c: Likewise.
35966 * manual/examples/filecli.c: Likewise.
35967 * manual/examples/filesrv.c: Likewise.
35968 * manual/examples/fmtmsgexpl.c: Likewise.
35969 * manual/examples/genpass.c: Likewise.
35970 * manual/examples/inetcli.c: Likewise.
35971 * manual/examples/inetsrv.c: Likewise.
35972 * manual/examples/isockad.c: Likewise.
35973 * manual/examples/longopt.c: Likewise.
35974 * manual/examples/memopen.c: Likewise.
35975 * manual/examples/memstrm.c: Likewise.
35976 * manual/examples/mkfsock.c: Likewise.
35977 * manual/examples/mkisock.c: Likewise.
35978 * manual/examples/mygetpass.c: Likewise.
35979 * manual/examples/pipe.c: Likewise.
35980 * manual/examples/popen.c: Likewise.
35981 * manual/examples/rprintf.c: Likewise.
35982 * manual/examples/search.c: Likewise.
35983 * manual/examples/select.c: Likewise.
35984 * manual/examples/setjmp.c: Likewise.
35985 * manual/examples/sigh1.c: Likewise.
35986 * manual/examples/sigusr.c: Likewise.
35987 * manual/examples/stpcpy.c: Likewise.
35988 * manual/examples/strdupa.c: Likewise.
35989 * manual/examples/strftim.c: Likewise.
35990 * manual/examples/strncat.c: Likewise.
35991 * manual/examples/subopt.c: Likewise.
35992 * manual/examples/swapcontext.c: Likewise.
35993 * manual/examples/termios.c: Likewise.
35994 * manual/examples/testopt.c: Likewise.
35995 * manual/examples/testpass.c: Likewise.
35996 * manual/examples/timeval_subtract.c: Likewise.
35999 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36001 * manual/timeval_subtract.c.texi: ... here, new file.
36003 2012-03-02 David S. Miller <davem@davemloft.net>
36005 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36007 2012-03-02 Joseph Myers <joseph@codesourcery.com>
36010 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36011 (__sin): Save and restore rounding mode and use round-to-nearest
36012 for all computations.
36013 (__cos): Save and restore rounding mode and use round-to-nearest
36014 for all computations.
36015 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36017 (tan): Save and restore rounding mode and use round-to-nearest for
36019 * math/libm-test.inc (cos_test_tonearest): New function.
36020 (cos_test_towardzero): Likewise.
36021 (cos_test_downward): Likewise.
36022 (cos_test_upward): Likewise.
36023 (sin_test_tonearest): Likewise.
36024 (sin_test_towardzero): Likewise.
36025 (sin_test_downward): Likewise.
36026 (sin_test_upward): Likewise.
36027 (tan_test_tonearest): Likewise.
36028 (tan_test_towardzero): Likewise.
36029 (tan_test_downward): Likewise.
36030 (tan_test_upward): Likewise.
36031 (main): Call the new functions.
36032 * sysdeps/i386/fpu/libm-test-ulps: Update.
36033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36036 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36037 small n, then large n, before computing and testing k+n.
36038 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36039 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36043 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36044 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36045 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36046 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36048 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36049 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36050 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36051 * math/libm-test.inc (scalbn_test): Add more tests.
36052 (scalbln_test): Likewise.
36054 * manual/filesys.texi (mode_t): Describe constraints on size and
36055 signedness, not exact equivalence to a particular type.
36057 (ino64_t): Likewise.
36059 (nlink_t): Likewise.
36060 (blkcnt_t): Likewise.
36061 (blkcnt64_t): Likewise.
36062 * manual/llio.texi (off_t): Likewise.
36065 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36066 (__ieee754_exp): Save and restore rounding mode and use
36067 round-to-nearest for all computations.
36068 * math/libm-test.inc (exp_test_tonearest): New function.
36069 (exp_test_towardzero): Likewise.
36070 (exp_test_downward): Likewise.
36071 (exp_test_upward): Likewise.
36072 (main): Call the new functions.
36073 * sysdeps/i386/fpu/libm-test-ulps: Update.
36074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36076 2012-03-01 Chris Demetriou <cgd@google.com>
36078 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36079 have predictable order.
36081 2012-03-01 David S. Miller <davem@davemloft.net>
36083 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36085 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36086 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36087 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36088 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36090 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36091 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36092 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36094 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36095 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36096 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36097 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36098 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36102 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36103 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36104 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36106 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36107 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36108 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36109 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36110 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36111 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36112 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36113 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36114 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36115 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36116 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36117 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36119 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36120 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36122 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36123 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36124 * sysdeps/sparc/elf/configure: Regenerated.
36126 2012-03-01 Joseph Myers <joseph@codesourcery.com>
36128 * configure.in (AS, LD): Require binutils 2.20 or later.
36129 * configure: Regenerated.
36130 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36131 as required minimum version.
36132 * INSTALL: Regenerated.
36136 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36137 before squaring exponent.
36138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36139 bottom long double and 27 bits of top long double before squaring
36141 * math/libm-test.inc (erfc_test): Add more tests.
36142 * sysdeps/i386/fpu/libm-test-ulps: Update.
36143 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36146 2012-03-01 Kai Tietz <ktietz@redhat.com>
36148 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36149 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36150 containing bit-fields.
36151 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36152 * soft-fp/single.h (_FP_UNION_S): Likewise.
36153 * soft-fp/double.h (_FP_UNION_D): Likewise.
36155 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36158 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36159 not include ../strcmp.S.
36160 [USE_AS_STRNCASECMP_L]: Likewise.
36161 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36162 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36163 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36164 (__strncasecmp_l_ia32): Define as alias to
36165 __strncasecmp_l_nonascii.
36168 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36169 * sysdeps/i386/fpu/libm-test-ulps: Update.
36170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36172 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36175 2012-02-29 Jeff Law <law@redhat.com>
36177 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36178 out of bounds read.
36180 2012-02-29 Marek Polacek <polacek@redhat.com>
36183 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36184 * elf/Makefile: Add rules to run tst-unused-dep.out.
36186 2012-02-28 David S. Miller <davem@davemloft.net>
36188 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36189 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36190 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36191 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36192 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36193 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36195 2012-02-29 Joseph Myers <joseph@codesourcery.com>
36197 * math/libm-test.inc (llround_test): Move one test from
36198 lround_test. Use TEST_f_L in moved test.
36199 (lround_test): Move misplaced test to llround_test. Add testcase
36202 2012-02-28 Ulrich Drepper <drepper@gmail.com>
36204 * sysdeps/x86_64/fpu/e_expf.S: New file.
36205 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36207 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36210 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36211 of remain_len that may cause incomplete multi-byte character and
36213 * posix/bug-regex33.c: New file.
36214 * posix/Makefile (tests): Add bug-regex33.
36216 2012-02-28 Joseph Myers <joseph@codesourcery.com>
36218 * manual/macros.texi: New file.
36219 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36220 * manual/libc.texinfo: Include macros.texi.
36221 * manual/creatute.texi: Likewise.
36222 * manual/install.texi: Likewise.
36223 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36224 @glibcadj{} in references to the GNU C Library.
36225 * manual/charset.texi: Likewise.
36226 * manual/conf.texi: Likewise.
36227 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36228 when not using those macros.
36229 * manual/creature.texi: Likewise.
36230 * manual/crypt.texi: Likewise.
36231 * manual/errno.texi: Likewise.
36232 * manual/filesys.texi: Likewise.
36233 * manual/header.texi: Likewise.
36234 * manual/install.texi: Likewise.
36235 * manual/intro.texi: Likewise.
36236 * manual/io.texi: Likewise.
36237 * manual/job.texi: Likewise.
36238 * manual/lang.texi: Likewise.
36239 * manual/libc.texiinfo: Likewise.
36240 * manual/llio.texi: Likewise.
36241 * manual/locale.texi: Likewise.
36242 * manual/maint.texi: Likewise.
36243 * manual/math.texi: Likewise.
36244 * manual/memory.texi: Likewise.
36245 * manual/message.texi: Likewise.
36246 * manual/nss.texi: Likewise.
36247 * manual/pattern.texi: Likewise.
36248 * manual/process.texi: Likewise.
36249 * manual/resource.texi: Likewise.
36250 * manual/search.texi: Likewise.
36251 * manual/setjmp.texi: Likewise.
36252 * manual/signal.texi: Likewise.
36253 * manual/socket.texi: Likewise.
36254 * manual/startup.texi: Likewise.
36255 * manual/stdio.texi: Likewise.
36256 * manual/string.texi: Likewise.
36257 * manual/sysinfo.texi: Likewise.
36258 * manual/syslog.texi: Likewise.
36259 * manual/terminal.texi: Likewise.
36260 * manual/time.texi: Likewise.
36261 * manual/users.texi: Likewise.
36262 * INSTALL: Regenerated.
36263 * NOTES: Regenerated.
36264 * sysdeps/gnu/errlist.c: Regenerated.
36266 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36268 * include/dirent.h: Include <dirstream.h> before
36271 2012-02-28 David S. Miller <davem@davemloft.net>
36273 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36274 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36275 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36276 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36278 2012-02-27 David S. Miller <davem@davemloft.net>
36280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36282 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36286 frame pointer instead of stack pointer relative arg slot.
36287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36288 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36289 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36291 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36294 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36296 2012-02-27 David S. Miller <davem@davemloft.net>
36298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36302 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36303 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36304 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36305 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36307 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36309 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36310 later. Allow versions 5-9.
36311 * configure: Regenerated.
36312 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36313 required minimum version and 4.6 as recommended version. Do not
36314 mention bugs in GCC 2.7 and 2.8.
36315 * INSTALL: Regenerated.
36317 2012-02-27 David S. Miller <davem@davemloft.net>
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36323 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36324 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36325 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36326 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36329 manipulate bits before adding and subtracting TWO112[sx].
36330 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36332 2012-02-27 Roland McGrath <roland@hack.frob.com>
36335 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36336 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36337 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36338 being in POSIX, because they are in 1003.1-2008.
36340 * rt/tst-aio.c: Include <fcntl.h>.
36341 * rt/tst-aio7.c: Likewise.
36342 * rt/tst-aio64.c: Likewise.
36344 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36346 2012-02-27 Joseph Myers <joseph@codesourcery.com>
36348 * manual/install.texi (--with-headers): Describe headers as
36349 interface headers, not private headers.
36350 (Specific advice for GNU/Linux systems): Describe use of headers
36351 from "make headers_install", not private headers from older
36353 * INSTALL: Regenerated.
36354 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36356 * sysdeps/unix/sysv/linux/configure: Regenerated.
36358 * manual/llio.texi (fclean): Remove documentation.
36360 * manual/Makefile (libc-texi-generated): New variable. Include
36362 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36363 $(libc-texi-generated), not duplicated list of files.
36364 (version.texi, stamp-version): New rules.
36365 (realclean): Remove $(libc-texi-generated), not individual files
36366 from that list. Do not remove dir-add.texinfo.
36367 * manual/libc.texinfo: Comment out uses of edition numbers and
36368 references to printed manual. Remove last-updated dates.
36369 (EDITION): Comment out.
36371 (VERSION, UPDATED): Remove.
36372 (version.texi): Include.
36374 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36376 * sysdeps/posix/spawni.c: Include <signal.h>.
36377 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36378 * sysdeps/pthread/aio_fsync.c: Likewise.
36380 2012-02-26 Ulrich Drepper <drepper@gmail.com>
36382 * conform/Makefile (tests): Run only when not cross-compiling and
36383 when fast-check is not defined.
36385 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36386 * conform/data/limits.h-data: Fixes for POSIX2008.
36387 * conform/run-conformtest.sh: Run all tests.
36388 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36390 * include/bits/dlfcn.h: Likewise.
36391 * include/langinfo.h: Likewise.
36392 * include/monetary.h: Likewise.
36393 * include/sys/poll.h: Likewise.
36395 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36397 * posix/spawn.h: Define __need_sigset_t.
36398 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36399 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36400 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36401 to get sigevent_t only.
36402 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36403 only for __USE_GNU.
36404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36405 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36406 process_vm_writev only for __USE_GNU.
36407 * termios/termios.h: Declare tcgetsid also for POSIX2008.
36409 * conform/Makefile: For now ignore errors from run-conformtest.
36410 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36411 POSIX to avoid namespace pollution. Don't prepend headers.
36412 * conform/data/aio.h-data: Fixes for POSIX testing.
36413 * conform/data/fcntl.h-data: Likewise.
36414 * conform/data/glob.h-data: Likewise.
36415 * conform/data/grp.h-data: Likewise.
36416 * conform/data/pthread.h-data: Likewise.
36417 * conform/data/pwd.h-data: Likewise.
36418 * conform/data/signal.h-data: Likewise.
36419 * conform/data/spawn.h-data: Likewise.
36420 * conform/data/stdio.h-data: Likewise.
36421 * conform/data/stdlib.h-data: Likewise.
36422 * conform/data/stropts.h-data: Likewise.
36423 * conform/data/sys/mman.h-data: Likewise.
36424 * conform/data/sys/stat.h-data: Likewise.
36425 * conform/data/sys/types.h-data: Likewise.
36426 * conform/data/sys/wait.h-data: Likewise.
36427 * conform/data/time.h-data: Likewise.
36428 * conform/data/unistd.h-data: Likewise.
36429 * conform/data/utime.h-data: Likewise.
36431 * io/sys/stat.h: fchmod was always in POSIX.
36432 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36433 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36434 * rt/aio.h: Define __need_timespec before including <time.h>.
36435 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36436 struct. Add forward declaration of pthread_attr_t and use it in
36438 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36439 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36440 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36441 always remove CLK_TCK definition.
36443 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
36445 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36447 2012-02-25 Ulrich Drepper <drepper@gmail.com>
36449 * conform/run-conformtest.sh: New file.
36450 * conform/Makefile: Run run-conformtest for tests.
36451 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
36454 * conform/data/uchar.h-data: New file.
36455 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36456 * conform/data/arpa/inet.h-data: Likewise.
36457 * conform/data/assert.h-data: Likewise.
36458 * conform/data/complex.h-data: Likewise.
36459 * conform/data/cpio.h-data: Likewise.
36460 * conform/data/ctype.h-data: Likewise.
36461 * conform/data/dirent.h-data: Likewise.
36462 * conform/data/dlfcn.h-data: Likewise.
36463 * conform/data/errno.h-data: Likewise.
36464 * conform/data/fcntl.h-data: Likewise.
36465 * conform/data/float.h-data: Likewise.
36466 * conform/data/fmtmsg.h-data: Likewise.
36467 * conform/data/fnmatch.h-data: Likewise.
36468 * conform/data/ftw.h-data: Likewise.
36469 * conform/data/glob.h-data: Likewise.
36470 * conform/data/grp.h-data: Likewise.
36471 * conform/data/iconv.h-data: Likewise.
36472 * conform/data/inttypes.h-data: Likewise.
36473 * conform/data/langinfo.h-data: Likewise.
36474 * conform/data/libgen.h-data: Likewise.
36475 * conform/data/limits.h-data: Likewise.
36476 * conform/data/locale.h-data: Likewise.
36477 * conform/data/math.h-data: Likewise.
36478 * conform/data/monetary.h-data: Likewise.
36479 * conform/data/mqueue.h-data: Likewise.
36480 * conform/data/ndbm.h-data: Likewise.
36481 * conform/data/net/if.h-data: Likewise.
36482 * conform/data/netdb.h-data: Likewise.
36483 * conform/data/netinet/in.h-data: Likewise.
36484 * conform/data/nl_types.h-data: Likewise.
36485 * conform/data/poll.h-data: Likewise.
36486 * conform/data/pthread.h-data: Likewise.
36487 * conform/data/pwd.h-data: Likewise.
36488 * conform/data/regex.h-data: Likewise.
36489 * conform/data/sched.h-data: Likewise.
36490 * conform/data/search.h-data: Likewise.
36491 * conform/data/semaphore.h-data: Likewise.
36492 * conform/data/setjmp.h-data: Likewise.
36493 * conform/data/signal.h-data: Likewise.
36494 * conform/data/spawn.h-data: Likewise.
36495 * conform/data/stdarg.h-data: Likewise.
36496 * conform/data/stdio.h-data: Likewise.
36497 * conform/data/stdlib.h-data: Likewise.
36498 * conform/data/string.h-data: Likewise.
36499 * conform/data/strings.h-data: Likewise.
36500 * conform/data/stropts.h-data: Likewise.
36501 * conform/data/sys/ipc.h-data: Likewise.
36502 * conform/data/sys/mman.h-data: Likewise.
36503 * conform/data/sys/msg.h-data: Likewise.
36504 * conform/data/sys/resource.h-data: Likewise.
36505 * conform/data/sys/select.h-data: Likewise.
36506 * conform/data/sys/sem.h-data: Likewise.
36507 * conform/data/sys/shm.h-data: Likewise.
36508 * conform/data/sys/socket.h-data: Likewise.
36509 * conform/data/sys/stat.h-data: Likewise.
36510 * conform/data/sys/statvfs.h-data: Likewise.
36511 * conform/data/sys/time.h-data: Likewise.
36512 * conform/data/sys/timeb.h-data: Likewise.
36513 * conform/data/sys/times.h-data: Likewise.
36514 * conform/data/sys/types.h-data: Likewise.
36515 * conform/data/sys/uio.h-data: Likewise.
36516 * conform/data/sys/un.h-data: Likewise.
36517 * conform/data/sys/utsname.h-data: Likewise.
36518 * conform/data/sys/wait.h-data: Likewise.
36519 * conform/data/syslog.h-data: Likewise.
36520 * conform/data/tar.h-data: Likewise.
36521 * conform/data/termios.h-data: Likewise.
36522 * conform/data/utime.h-data: Likewise.
36523 * conform/data/utmpx.h-data: Likewise.
36524 * conform/data/varargs.h-data: Likewise.
36525 * conform/data/wchar.h-data: Likewise.
36526 * conform/data/wctype.h-data: Likewise.
36527 * conform/data/wordexp.h-data: Likewise.
36529 * include/stropts.h: New file.
36530 * include/uchar.h: New file.
36531 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36532 * include/assert.h: Likewise.
36533 * include/ctype.h: Likewise.
36534 * include/dirent.h: Likewise.
36535 * include/dlfcn.h: Likewise.
36536 * include/fcntl.h: Likewise.
36537 * include/fnmatch.h: Likewise.
36538 * include/glob.h: Likewise.
36539 * include/grp.h: Likewise.
36540 * include/libio.h: Likewise.
36541 * include/locale.h: Likewise.
36542 * include/math.h: Likewise.
36543 * include/net/if.h: Likewise.
36544 * include/netdb.h: Likewise.
36545 * include/netinet/in.h: Likewise.
36546 * include/pthread.h: Likewise.
36547 * include/pwd.h: Likewise.
36548 * include/regex.h: Likewise.
36549 * include/sched.h: Likewise.
36550 * include/search.h: Likewise.
36551 * include/setjmp.h: Likewise.
36552 * include/signal.h: Likewise.
36553 * include/stdio.h: Likewise.
36554 * include/stdlib.h: Likewise.
36555 * include/string.h: Likewise.
36556 * include/sys/cdefs.h: Likewise.
36557 * include/sys/mman.h: Likewise.
36558 * include/sys/msg.h: Likewise.
36559 * include/sys/resource.h: Likewise.
36560 * include/sys/select.h: Likewise.
36561 * include/sys/socket.h: Likewise.
36562 * include/sys/stat.h: Likewise.
36563 * include/sys/statvfs.h: Likewise.
36564 * include/sys/time.h: Likewise.
36565 * include/sys/times.h: Likewise.
36566 * include/sys/uio.h: Likewise.
36567 * include/sys/utsname.h: Likewise.
36568 * include/sys/wait.h: Likewise.
36569 * include/termios.h: Likewise.
36570 * include/time.h: Likewise.
36571 * include/ulimit.h: Likewise.
36572 * include/unistd.h: Likewise.
36573 * include/utime.h: Likewise.
36574 * include/wchar.h: Likewise.
36575 * include/wctype.h: Likewise.
36576 * include/wordexp.h: Likewise.
36578 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36580 * time/time.h: TIME_UTC must be a macro.
36581 Make timespec_get available for ISO C11 only as well.
36583 2012-02-24 Ulrich Drepper <drepper@gmail.com>
36585 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36586 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36588 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36590 * configure.in: Use -o not -a in test for unsupported multi-arch.
36592 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36594 * manual/texinfo.tex: Update to version 2012-01-19.16.
36596 2012-02-24 Joseph Myers <joseph@codesourcery.com>
36598 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36600 2012-02-24 Roland McGrath <roland@hack.frob.com>
36603 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36604 * manual/fdl-1.3.texi: New file.
36605 * manual/fdl-1.1.texi: File removed.
36608 * manual/libc.texinfo (FDL_VERSION): New @set.
36609 Use it for mention of FDL in cover text.
36610 (Documentation License): Use it in @include file name.
36612 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36613 Roland McGrath <roland@hack.frob.com>
36616 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36617 (not LONG_LONG_MAX and LONG_LONG_MIN.
36618 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36619 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36621 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36623 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36627 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36628 manipulate bits before adding and subtracting TWO23[sx].
36629 * math/libm-test.inc (nearbyint_test): Add more tests.
36631 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36634 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36635 bits before adding and subtracting TWO23[sx].
36636 * math/libm-test.inc (rint_test): Add more tests.
36637 (rint_test_tonearest): Likewise.
36638 (rint_test_towardzero): Likewise.
36639 (rint_test_downward): Likewise.
36640 (rint_test_upward: Likewise.
36642 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36645 * include/stdc-predef.h: New file. Extracted from features.h.
36646 * include/features.h: Include stdc-predef.h.
36647 * Makefile (headers): Add stdc-predef.h.
36648 * CONFORMANCE (Compiler limitations): Update.
36650 2012-02-22 Joseph Myers <joseph@codesourcery.com>
36652 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36654 2012-02-21 David S. Miller <davem@davemloft.net>
36656 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36657 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36659 2012-02-20 David S. Miller <davem@davemloft.net>
36661 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36662 using a normal save/restore sequence, rather than allocating a
36663 dummy stack frame just to store a frame pointer and restore.
36664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36666 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36668 * manual/install.texi: Fix stray word in line-wrapped comment.
36670 2012-02-20 David S. Miller <davem@davemloft.net>
36672 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36673 both binutils and gcc support GOTDATA.
36675 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36676 "rd %pc" in the PIC register setup sequences.
36678 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36679 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36680 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36681 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36682 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36684 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36685 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36687 (SYSCALL_ERROR_HANDLER): Likewise.
36688 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36689 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36691 (SYSCALL_ERROR_HANDLER): Likewise.
36693 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36694 (HAVE_GCC_GOTDATA): New.
36695 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36696 relocation support in both binutils and gcc.
36697 * sysdeps/sparc/elf/configure: Regenerate.
36699 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36700 * sysdeps/sparc/sparc32/elf/configure: Delete.
36701 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36702 * sysdeps/sparc/sparc64/elf/configure: Delete.
36703 * sysdeps/sparc/elf/configure.in: New file.
36704 * sysdeps/sparc/elf/configure: Generate.
36706 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36707 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36708 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36709 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36710 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36712 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36714 * manual/install.texi: Do not mention specific glibc version
36716 * manual/libc.texinfo (VERSION, UPDATED): Update.
36717 (@copying): Use @copyright{} and range of years.
36719 2012-02-21 Joseph Myers <joseph@codesourcery.com>
36722 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36723 [crti.S not in sysdirs] (generated): Do not append.
36724 [crti.S not in sysdirs] (omit-deps): Likewise.
36725 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36726 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36727 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36728 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36729 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36731 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36732 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36733 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36734 * csu/defs.awk: Remove file.
36735 * sysdeps/generic/initfini.c: Likewise.
36736 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36738 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36741 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36743 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36744 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36745 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36746 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36747 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36748 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36750 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36751 (__EPOLL_PACKED): Define to empty if not defined by
36753 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36757 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36759 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36760 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36761 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36762 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36764 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36768 2012-02-20 Joseph Myers <joseph@codesourcery.com>
36770 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36772 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36773 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36774 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36777 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36780 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36782 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36784 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36785 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36787 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36789 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36792 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36794 * math/w_acos.c: Use non-signaling floating-point comparisons.
36795 * math/w_acosf.c: Likewise.
36796 * math/w_acosh.c: Likewise.
36797 * math/w_acoshf.c: Likewise.
36798 * math/w_acoshl.c: Likewise.
36799 * math/w_acosl.c: Likewise.
36800 * math/w_asin.c: Likewise.
36801 * math/w_asinf.c: Likewise.
36802 * math/w_asinl.c: Likewise.
36803 * math/w_atanh.c: Likewise.
36804 * math/w_atanhf.c: Likewise.
36805 * math/w_atanhl.c: Likewise.
36806 * math/w_exp2.c: Likewise.
36807 * math/w_exp2f.c: Likewise.
36808 * math/w_exp2l.c: Likewise.
36809 * math/w_j0.c: Likewise.
36810 * math/w_j0f.c: Likewise.
36811 * math/w_j0l.c: Likewise.
36812 * math/w_j1.c: Likewise.
36813 * math/w_j1f.c: Likewise.
36814 * math/w_j1l.c: Likewise.
36815 * math/w_jn.c: Likewise.
36816 * math/w_jnf.c: Likewise.
36817 * math/w_log.c: Likewise.
36818 * math/w_log10.c: Likewise.
36819 * math/w_log10f.c: Likewise.
36820 * math/w_log10l.c: Likewise.
36821 * math/w_log2.c: Likewise.
36822 * math/w_log2f.c: Likewise.
36823 * math/w_log2l.c: Likewise.
36824 * math/w_logf.c: Likewise.
36825 * math/w_logl.c: Likewise.
36826 * math/w_sqrt.c: Likewise.
36827 * math/w_sqrtf.c: Likewise.
36828 * math/w_sqrtl.c: Likewise.
36829 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36830 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36831 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36835 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36838 * manual/string.texi (strnlen): Use correct parameter name in
36839 equivalent expression.
36841 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36844 * manual/users.texi (seteuid): Consistently use neweuid for
36847 2012-02-19 Joseph Myers <joseph@codesourcery.com>
36850 * manual/nss.texi (Services in the NSS configuration): Correct
36851 list of services in example configuration file.
36853 2012-02-19 Nick Bowler <nbowler@draconx.ca>
36856 * manual/arith.texi: Remove statements about negative zero
36857 behaving identically to zero.
36859 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36862 * manual/install.texi: Do not document upgrading from libc5.
36864 2012-02-18 Joseph Myers <joseph@codesourcery.com>
36867 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36869 2012-02-18 David S. Miller <davem@davemloft.net>
36871 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36872 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36873 %o7 across the call.
36874 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36877 SETUP_PIC_REG_LEAF.
36878 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36879 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36880 * sysdeps/sparc/crtn.S: Likewise.
36882 2012-02-17 Ulrich Drepper <drepper@gmail.com>
36884 * aout/Makefile: Remove.
36886 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36889 * manual/examples/argp-ex1.c (main): Format definition in GNU
36891 * manual/examples/argp-ex2.c (main): Likewise.
36892 * manual/examples/argp-ex3.c (main): Likewise.
36893 * manual/examples/argp-ex4.c (main): Likewise.
36894 * manual/examples/longopt.c (main): Use new-style prototype
36896 * manual/examples/strncat.c (main): Specify return type and use
36897 (void) for arguments.
36898 * manual/examples/subopt.c (main): Use char **argv argument.
36900 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36903 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36906 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36909 * manual/string.texi (strchr): Change when strchrnul is
36912 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36915 * manual/locale.texi (setlocale): Document LOCPATH.
36917 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36920 * manual/process.texi (execle): Move @dots{} before last argument.
36922 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
36925 * manual/charset.texi (Generic Charset Conversion): Fix typo
36926 (LC_TYPE -> LC_CTYPE).
36928 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36931 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36932 (scalbnf): Likewise.
36933 (scalbnl): Likewise.
36934 (scalbln): Likewise.
36935 (scalblnf): Likewise.
36936 (scalblnl): Likewise.
36937 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36938 (vwarnx): Likewise.
36941 * manual/filesys.texi (telldir): Use braces around return type.
36942 * manual/llio.texi (mmap): Add space after comma.
36943 (mmap64): Likewise.
36944 * manual/math.texi (jn): Use @var{} on parameter names.
36950 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36952 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36954 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36955 (sched_get_priority_max): Likewise.
36956 * manual/signal.texi (sigvec): Add space after comma.
36957 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36959 (if_indextoname): Likewise.
36960 (if_freenameindex): Likewise.
36961 (sendto): Use ',' instead of '.' in prototype.
36962 * manual/startup.texi (syscall): Use @dots{} instead of literal
36964 * manual/stdio.texi (__fpending): Separate initial words of
36965 paragraph from @deftypefun line.
36966 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36968 (vsyslog): Use @var{} on parameter names.
36969 * manual/terminal.texi (stty): Use @var{} on parameter names.
36970 * manual/users.texi (getutmp): Use @var{} on parameter names.
36971 (getutmpx): Likewise.
36973 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36976 * manual/stdio.texi (fopen): Fix typos in description of
36979 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36982 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36983 get clock_id definition.
36985 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
36988 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36989 (madvise): Cast every argument to void on its own.
36991 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36994 * manual/startup.texi (Exit Status): Fix typo.
36996 2012-02-17 Joseph Myers <joseph@codesourcery.com>
36999 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37000 * manual/examples/argp-ex2.c: Likewise.
37001 * manual/examples/argp-ex3.c: Likewise.
37003 2012-02-16 Richard Henderson <rth@redhat.com>
37005 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37006 * sysdeps/s390/s390-32/initfini.c: Remove.
37007 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37008 * sysdeps/s390/s390-64/initfini.c: Remove.
37010 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37012 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37013 compiler output for sysdeps/generic/initfini.c.
37014 * sysdeps/sh/elf/initfini.c: Remove file.
37016 2012-02-16 David S. Miller <davem@davemloft.net>
37019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37021 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37022 * sysdeps/sparc/crti.S: New file.
37023 * sysdeps/sparc/crtn.S: New file.
37024 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37025 * sysdeps/sparc/sparc64/Makefile: Likewise.
37027 2012-02-15 Mike Frysinger <vapier@gentoo.org>
37030 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37032 2012-02-15 Roland McGrath <roland@hack.frob.com>
37035 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37037 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37038 (write, read, close): Likewise.
37039 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37041 2012-02-15 Joseph Myers <joseph@codesourcery.com>
37043 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37044 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37045 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37046 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37048 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37052 2012-02-14 Marek Polacek <polacek@redhat.com>
37054 * sysdeps/x86_64/crti.S: New file.
37055 * sysdeps/x86_64/crtn.S: New file.
37056 * sysdeps/x86_64/elf/initfini.c: Remove file.
37058 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37060 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37061 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37062 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37063 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37065 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37069 2012-02-13 Joseph Myers <joseph@codesourcery.com>
37071 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37072 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37073 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37074 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37076 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37080 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37082 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37083 __feraiseexcept instead of feraiseexcept.
37085 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37086 nanosleep invocations.
37087 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37088 strings, and add error checking for a nanosleep invocations.
37090 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37092 Replace FSF snail mail address with URLs, as per GNU coding standards.
37093 Most of the snail mail addresses were wrong anyway, and omitting
37094 them makes the source code easier to maintain. Almost all of the
37095 changes are to license notices and to locale LC_IDENTIFICATION
37096 addresses, except for this one:
37097 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37098 not its snail mail address.
37100 2012-02-09 Richard Henderson <rth@twiddle.net>
37102 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37103 of kernel-features.h.
37105 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37107 2012-02-08 Marek Polacek <polacek@redhat.com>
37109 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37110 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37111 * sysdeps/gnu/_G_config.h: Likewise.
37112 * sysdeps/generic/_G_config.h: Likewise.
37114 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37116 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37120 * sysdeps/powerpc/powerpc32/crti.S: New file.
37121 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37122 * sysdeps/powerpc/powerpc64/crti.S: New file.
37123 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37125 * Makeconfig (have-initfini): Don't set.
37126 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37127 * configure.in (nopic_initfini): Don't substitute.
37128 * config.h.in (HAVE_INITFINI): Don't #undef.
37129 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37130 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37132 2012-02-08 Joseph Myers <joseph@codesourcery.com>
37134 Support crti.S and crtn.S provided directly by architectures.
37135 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37136 [crti.S in sysdirs] (omit-deps): Likewise.
37137 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37138 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37139 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37140 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37141 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37142 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37143 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37144 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37145 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37146 compiler output for sysdeps/generic/initfini.c.
37147 * sysdeps/i386/elf/Makefile: Remove file.
37148 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37150 2012-02-07 Marek Polacek <polacek@redhat.com>
37152 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37153 * sysdeps/gnu/_G_config.h: Likewise.
37154 * sysdeps/mach/hurd/_G_config.h: Likewise.
37156 2012-02-07 Marek Polacek <polacek@redhat.com>
37158 * math/Makefile (tests): Add tst-CMPLX2.
37159 * math/tst-CMPLX2.c: New file.
37161 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37163 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37165 * math/libm-test.inc (jn_test): Add missing L suffix.
37167 2012-02-06 Marek Polacek <polacek@redhat.com>
37169 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37170 * sysdeps/i386/fpu/e_powf.S: Likewise.
37171 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37172 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37173 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37174 * sysdeps/i386/fpu/e_pow.S: Likewise.
37175 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37176 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37177 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37178 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37179 * sysdeps/i386/fpu/e_log2.S: Likewise.
37180 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37181 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37182 * sysdeps/i386/fpu/e_powl.S: Likewise.
37183 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37184 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37185 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37186 * sysdeps/i386/fpu/e_logl.S: Likewise.
37187 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37188 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37189 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37190 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37191 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37192 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37193 * sysdeps/i386/fpu/e_log.S: Likewise.
37194 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37195 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37196 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37197 * sysdeps/i386/fpu/e_logf.S: Likewise.
37198 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37199 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37200 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37201 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37202 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37203 * sysdeps/i386/fpu/e_log10.S: Likewise.
37204 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37205 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37206 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37207 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37208 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37209 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37210 * sysdeps/i386/asm-syntax.h: Likewise.
37211 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37212 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37213 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37214 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37215 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37216 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37217 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37218 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37219 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37220 * sysdeps/powerpc/sysdep.h: Likewise.
37221 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37222 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37224 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37227 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37229 2012-02-06 Joseph Myers <joseph@codesourcery.com>
37231 * sysdeps/i386/sysdep.h: Include <features.h>.
37232 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37235 2012-02-05 Joseph Myers <joseph@codesourcery.com>
37237 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37239 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37242 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37244 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37245 (SETUP_PIC_REG): Use GET_PC_THUNK.
37246 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37249 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37251 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37252 for non-PIC compilation.
37253 (SETUP_PIC_REG): Add .p2align directive.
37254 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37255 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37256 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37257 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37258 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37259 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37260 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37261 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37262 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37263 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37264 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37265 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37266 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37267 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37268 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37269 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37270 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37271 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37272 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37273 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37274 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37275 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37276 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37277 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37278 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37280 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37281 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37282 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37283 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37284 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37285 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37286 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37287 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37288 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37289 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37290 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37291 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37292 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37293 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37294 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37296 2012-02-03 Joseph Myers <joseph@codesourcery.com>
37298 * math/tst-CMPLX.c: Include <stdio.h>.
37300 2012-01-31 Joseph Myers <joseph@codesourcery.com>
37302 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37304 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37305 * sysdeps/sparc/bits/mathdef.h: Likewise.
37307 2012-01-31 Marek Polacek <polacek@redhat.com>
37309 * libio/libio.h: Don't define _PARAMS.
37310 * locale/programs/config.h: Don't define PARAMS.
37311 * stdlib/strtol_l.c: Likewise.
37312 (__strtol_l): Remove PARAMS from the prototype.
37314 2012-01-31 Ulrich Drepper <drepper@gmail.com>
37316 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37317 names. Just use the correct names. Remove unnecessary wrapper
37319 * malloc/arena.c: Likewise.
37320 * malloc/hooks.c: Likewise.
37322 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37323 ARENA_TEST says not to. Simplify test for creation of a new arena.
37324 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37326 2012-01-30 Ulrich Drepper <drepper@gmail.com>
37328 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37330 (update_get_addr): New function.
37331 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37332 GET_ADDR_MODULE parameter.
37334 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37336 * crypt/cert.c: Remove __STDC__ conditionals.
37337 * crypt/crypt-entry.c: Likewise.
37338 * crypt/crypt_util.c: Likewise.
37339 * libio/filedoalloc.c: Likewise.
37340 * libio/fileops.c: Likewise.
37341 * libio/genops.c: Likewise.
37342 * libio/iofclose.c: Likewise.
37343 * libio/iofdopen.c: Likewise.
37344 * libio/iofopen.c: Likewise.
37345 * libio/iofopen64.c: Likewise.
37346 * libio/iogetdelim.c: Likewise.
37347 * libio/iopopen.c: Likewise.
37348 * libio/obprintf.c: Likewise.
37349 * libio/oldfileops.c: Likewise.
37350 * libio/oldiofclose.c: Likewise.
37351 * libio/oldiofdopen.c: Likewise.
37352 * libio/oldiofopen.c: Likewise.
37353 * libio/oldiopopen.c: Likewise.
37354 * libio/wfiledoalloc.c: Likewise.
37355 * libio/wgenops.c: Likewise.
37356 * locale/programs/xmalloc.c: Likewise.
37357 * misc/syslog.c: Likewise.
37358 * stdio-common/xbug.c: Likewise.
37359 * string/memchr.c: Likewise.
37360 * string/memcmp.c: Likewise.
37361 * string/memrchr.c: Likewise.
37362 * string/rawmemchr.c: Likewise.
37363 * sysdeps/posix/getcwd.c: Likewise.
37364 * time/strftime_l.c: Likewise.
37366 2012-01-30 Joseph Myers <joseph@codesourcery.com>
37368 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37369 * config.make.in (config-cflags-sse2avx): Define.
37370 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37373 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37375 * scripts/config.guess: Update from upstream config git repository.
37376 * scripts/config.sub: Likewise.
37378 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37380 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37382 (R_TILEPRO_*, R_TILEGX_*): New macros.
37384 * scripts/firstversions.awk: Fix bug in version range handling.
37386 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37388 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37390 * include/sys/epoll.h: New file.
37391 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37394 2012-01-28 Ulrich Drepper <drepper@gmail.com>
37396 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37397 Avoid unnecessary __WORDSIZE == 64 test.
37398 (fmaxf): Use VEX format if possible.
37403 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37404 * math/math_private.h: Remove libc_fegetround* and
37406 * sysdeps/i386/configure.in: Check for -msse2avx.
37407 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37408 also if SSE2AVX is defined.
37409 Remove libc_fegetround* and libc_fesetround*.
37410 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37411 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37412 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37414 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37415 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37416 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37417 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37418 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37420 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37422 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37424 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37426 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37428 2012-01-27 Ulrich Drepper <drepper@gmail.com>
37431 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37433 * Makeconfig (libm): Define.
37434 * elf/Makefile: Add rules to build and run tst-relsort1.
37435 * elf/tst-relsort1.c: New file.
37436 * elf/tst-relsort1mod1.c: New file.
37437 * elf/tst-relsort1mod2.c: New file.
37439 2012-01-27 Joseph Myers <joseph@codesourcery.com>
37441 * math/s_ldexp.c: Remove __STDC__ conditionals.
37442 * math/s_ldexpf.c: Likewise.
37443 * math/s_ldexpl.c: Likewise.
37444 * math/s_nextafter.c: Likewise.
37445 * math/s_nexttowardf.c: Likewise.
37446 * math/s_significand.c: Likewise.
37447 * math/s_significandf.c: Likewise.
37448 * math/s_significandl.c: Likewise.
37449 * math/w_jnl.c: Likewise.
37450 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37451 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37452 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37453 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37454 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37455 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37456 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37457 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37458 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37459 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37460 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37461 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37462 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37463 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37464 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37465 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37466 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37467 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37469 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37470 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37471 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37472 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37473 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37474 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37475 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37476 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37477 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37478 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37479 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37480 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37481 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37482 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37483 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37484 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37485 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37486 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37487 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37488 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37489 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37490 * sysdeps/ieee754/k_standard.c: Likewise.
37491 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37492 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37493 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37494 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37495 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37496 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37497 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37498 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37499 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37500 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37501 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37502 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37503 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37504 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37505 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37507 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37509 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37510 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37511 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37512 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37513 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37514 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37515 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37516 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37517 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37519 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37520 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37521 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37522 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37523 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37524 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37526 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37527 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37528 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37529 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37530 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37531 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37533 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37534 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37535 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37536 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37537 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37538 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37540 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37541 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37542 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37543 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37544 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37545 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37546 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37547 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37548 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37549 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37550 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37551 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37552 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37553 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37554 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37555 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37556 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37557 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37558 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37559 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37560 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37561 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37562 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37563 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37564 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37565 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37566 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37567 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37568 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37569 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37570 * sysdeps/ieee754/s_matherr.c: Likewise.
37571 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37572 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37573 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37576 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37578 * crypt/md5.h: Remove __STDC__ conditionals.
37579 * libio/libioP.h: Likewise.
37580 * locale/programs/config.h: Likewise.
37581 * sysdeps/generic/sysdep.h: Likewise.
37582 * sysdeps/i386/asm-syntax.h: Likewise.
37583 * sysdeps/s390/asm-syntax.h: Likewise.
37584 * sysdeps/unix/sysdep.h: Likewise.
37585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37588 2012-01-26 Joseph Myers <joseph@codesourcery.com>
37590 * libio/libio.h: Remove __STDC__ conditionals.
37591 * malloc/obstack.h: Likewise.
37592 * math/complex.h: Likewise.
37593 * math/math.h: Likewise.
37594 * sysdeps/generic/_G_config.h: Likewise.
37595 * sysdeps/gnu/_G_config.h: Likewise.
37596 * sysdeps/mach/hurd/_G_config.h: Likewise.
37597 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37598 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37599 * sysdeps/sparc/bits/mathdef.h: Likewise.
37601 2012-01-26 Ulrich Drepper <drepper@gmail.com>
37604 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37605 Clean up HAS_* macros.
37606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37607 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37609 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37611 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37612 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37613 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37614 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37615 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37617 2012-01-25 Joseph Myers <joseph@codesourcery.com>
37619 * elf/tst-unique3.cc (gets): Remove declaration.
37620 * elf/tst-unique3lib.cc (gets): Likewise.
37621 * elf/tst-unique3lib2.cc (gets): Likewise.
37622 * elf/tst-unique4.cc (gets): Likewise.
37624 2012-01-24 Ulrich Drepper <drepper@gmail.com>
37626 * include/stdio.h: Add C++ protection. Add gets declarations and
37628 * debug/tst-chk1.c: Don't declare gets here.
37629 * stdio-common/tst-gets.c: Likewise.
37631 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37633 * posix/glob: Remove directory.
37635 2012-01-24 Joseph Myers <joseph@codesourcery.com>
37637 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37639 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37641 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37642 of the non-standard EPFNOSUPPORT.
37644 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37646 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37647 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37648 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37650 2012-01-21 Ulrich Drepper <drepper@gmail.com>
37652 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37654 2012-01-20 Ulrich Drepper <drepper@gmail.com>
37656 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37658 * nscd/grpcache.c (cache_addgr): Likewise.
37659 * nscd/hstcache.c (cache_addhst): Likewise.
37660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37661 * nscd/pwdcache.c (cache_addpw): Likewise.
37662 * nscd/servicescache.c (cache_addserv): Likewise.
37664 2012-01-16 Ulrich Drepper <drepper@gmail.com>
37666 * malloc/malloc.c: Various cleanups.
37667 * malloc/hooks.c: Likewise.
37669 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37670 * stdlib/bug-fmtmsg1.c: New file.
37672 * stdlib/fmtmsg.c (init): Add missing unlock.
37673 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37675 2012-01-12 Marek Polacek <polacek@redhat.com>
37677 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37680 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37682 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37683 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37684 macro to ensure uniqueness of label name.
37685 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37686 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37688 2012-01-11 Ulrich Drepper <drepper@gmail.com>
37690 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37692 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37693 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37694 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37697 2012-01-10 Ulrich Drepper <drepper@gmail.com>
37699 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37701 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37702 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37703 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37705 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37707 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37708 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37709 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37712 * math/bits/math-finite.h: Add ldexp support.
37714 2012-01-10 Marek Polacek <polacek@redhat.com>
37716 * locale/programs/localedef.h (show_archive_content): Add noreturn
37719 2012-01-09 Ulrich Drepper <drepper@gmail.com>
37721 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37723 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37725 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37727 * io/Makefile (headers): Add bits/poll2.h.
37729 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37732 typo #include statement.
37734 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37736 * include/sys/cdefs.h: Define __attribute_alloc_size.
37737 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37738 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37739 * elf/pldd.c: Likewise.
37740 * iconv/iconv_charmap.c: Likewise.
37741 * iconv/iconvconfig.c: Likewise.
37742 * iconv/strtab.c: Likewise.
37743 * locale/programs/locale.c: Likewise.
37744 * locale/programs/localedef.h: Likewise.
37745 * locale/programs/simple-hash.c: Likewise.
37746 * nscd/nscd.h: Likewise.
37747 * nss/makedb.c: Likewise.
37748 * sysdeps/generic/ldconfig.h: Likewise.
37749 * locale/programs/localedef.c: Remove xmalloc prototype.
37750 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37752 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37754 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37757 2012-01-08 Ulrich Drepper <drepper@gmail.com>
37759 * math/Makefile (tests): Add tst-CMPLX.
37760 * math/tst-CMPLX.c: New file.
37762 * math/complex.h (CMPLXL): Fix typo.
37764 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37765 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37767 * debug/tst-chk1.c: Add poll and ppoll tests.
37768 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37769 * include/sys/poll.h: Add hidden proto for ppoll.
37770 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37771 * sysdeps/mach/hurd/ppoll.c: Likewise.
37772 * io/ppoll.c: Likewise.
37773 * debug/poll_chk.c: New file.
37774 * debug/ppoll_chk.c: New file.
37775 * include/bits/poll2.h: New file.
37776 * io/bits/poll2.h: New file.
37779 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37781 * configure.in: static is always set to yes. Remove.
37782 * config.make.in: Don't set build-static.
37783 * Makeconfig: Remove use of build-static.
37784 * dlfcn/Makefile: Likewise.
37785 * elf/Makefile: Likewise.
37786 * math/Makefile: Likewise.
37787 * misc/Makefile: Likewise.
37788 * nptl/Makefile: Likewise.
37789 * sysdeps/mach/hurd/Makefile: Likewise.
37791 * configure.in: PWD_P is not used anymore.
37792 * config.make.in: Remove PWD_P entry.
37794 * configure.in: Remove last remnants of RANLIB.
37795 No need to check for signed size_t anymore.
37796 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37798 Remove __builtin_expect test because we require at least gcc 3.4.
37799 * aclocal.m4: Likewise.
37801 * wcsmbs/mbrtoc16.c: Implement using towc function.
37802 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37803 * wcsmbs/wcsmbsload.c: Likewise.
37804 * iconv/gconv_simple.c: Likewise.
37805 * iconv/gconv_int.h: Likewise.
37806 * iconv/gconv_builtin.h: Likewise.
37807 * iconv/iconv_prog.c: Remove CHAR16 handling.
37809 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37811 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37813 * configure.in: Remove --with-elf and --enable-bounded options.
37814 Dont set base_machine for ia64. More non-ELF conditions removed.
37815 Remove testing and setting of leading underscore information.
37816 * config.make.in (build-bounded): Set to no.
37817 * config.h.in: Remove NO_UNDERSCORES entry.
37818 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37820 * csu/start.c: Remove !NO_UNDERSCORE code.
37821 * locale/localeinfo.h: Likewise.
37822 * sysdeps/generic/machine-gmon.h: Likewise.
37823 * sysdeps/generic/sysdep.h: Likewise.
37824 * sysdeps/i386/sysdep.h: Likewise.
37825 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37826 * sysdeps/mach/sysdep.h: Likewise.
37827 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37828 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37829 * sysdeps/sh/sysdep.h: Likewise.
37830 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37831 * sysdeps/unix/i386/sysdep.S: Likewise.
37832 * sysdeps/unix/sparc/start.c: Likewise.
37833 * sysdeps/unix/sparc/sysdep.S: Likewise.
37834 * sysdeps/unix/sparc/sysdep.h: Likewise.
37835 * sysdeps/unix/start.c: Likewise.
37836 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37837 * sysdeps/x86_64/sysdep.h: Likewise.
37839 2012-01-07 Ulrich Drepper <drepper@gmail.com>
37842 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37844 * argp/argp-fmtstream.h: Use const instead __const.
37845 * argp/argp.h: Likewise.
37846 * assert/assert.h: Likewise.
37847 * bits/fenv.h: Likewise.
37848 * bits/sched.h: Likewise.
37849 * bits/sigset.h: Likewise.
37850 * bits/sigthread.h: Likewise.
37851 * catgets/nl_types.h: Likewise.
37852 * conform/data/pthread.h-data: Likewise.
37853 * crypt/crypt-private.h: Likewise.
37854 * crypt/crypt.h: Likewise.
37855 * crypt/crypt_util.c: Likewise.
37856 * ctype/ctype.h: Likewise.
37857 * debug/execinfo.h: Likewise.
37858 * debug/mbsnrtowcs_chk.c: Likewise.
37859 * debug/mbsrtowcs_chk.c: Likewise.
37860 * debug/wcsnrtombs_chk.c: Likewise.
37861 * debug/wcsrtombs_chk.c: Likewise.
37862 * debug/wcstombs_chk.c: Likewise.
37863 * dirent/dirent.h: Likewise.
37864 * dlfcn/dlfcn.h: Likewise.
37865 * elf/neededtest4.c: Likewise.
37866 * grp/grp.h: Likewise.
37867 * gshadow/gshadow.h: Likewise.
37868 * iconv/gconv.h: Likewise.
37869 * iconv/gconv_int.h: Likewise.
37870 * iconv/gconv_simple.c: Likewise.
37871 * iconv/iconv.h: Likewise.
37872 * iconv/loop.c: Likewise.
37873 * iconv/skeleton.c: Likewise.
37874 * include/aio.h: Likewise.
37875 * include/aliases.h: Likewise.
37876 * include/argz.h: Likewise.
37877 * include/arpa/inet.h: Likewise.
37878 * include/assert.h: Likewise.
37879 * include/dirent.h: Likewise.
37880 * include/dlfcn.h: Likewise.
37881 * include/execinfo.h: Likewise.
37882 * include/fcntl.h: Likewise.
37883 * include/fenv.h: Likewise.
37884 * include/glob.h: Likewise.
37885 * include/grp.h: Likewise.
37886 * include/libintl.h: Likewise.
37887 * include/mntent.h: Likewise.
37888 * include/netdb.h: Likewise.
37889 * include/pwd.h: Likewise.
37890 * include/rpc/netdb.h: Likewise.
37891 * include/sched.h: Likewise.
37892 * include/search.h: Likewise.
37893 * include/shadow.h: Likewise.
37894 * include/signal.h: Likewise.
37895 * include/stdio.h: Likewise.
37896 * include/stdlib.h: Likewise.
37897 * include/string.h: Likewise.
37898 * include/sys/socket.h: Likewise.
37899 * include/sys/stat.h: Likewise.
37900 * include/sys/statfs.h: Likewise.
37901 * include/sys/statvfs.h: Likewise.
37902 * include/sys/syslog.h: Likewise.
37903 * include/sys/time.h: Likewise.
37904 * include/sys/uio.h: Likewise.
37905 * include/time.h: Likewise.
37906 * include/unistd.h: Likewise.
37907 * include/utmp.h: Likewise.
37908 * include/wchar.h: Likewise.
37909 * include/wctype.h: Likewise.
37910 * inet/aliases.h: Likewise.
37911 * inet/arpa/inet.h: Likewise.
37912 * inet/netinet/ether.h: Likewise.
37913 * inet/netinet/in.h: Likewise.
37914 * intl/libintl.h: Likewise.
37915 * io/bits/fcntl2.h: Likewise.
37916 * io/fcntl.h: Likewise.
37917 * io/ftw.h: Likewise.
37918 * io/sys/poll.h: Likewise.
37919 * io/sys/stat.h: Likewise.
37920 * io/sys/statfs.h: Likewise.
37921 * io/sys/statvfs.h: Likewise.
37922 * io/utime.h: Likewise.
37923 * libio/bits/stdio.h: Likewise.
37924 * libio/bits/stdio2.h: Likewise.
37925 * libio/libio.h: Likewise.
37926 * libio/libioP.h: Likewise.
37927 * libio/stdio.h: Likewise.
37928 * locale/lc-ctype.c: Likewise.
37929 * locale/locale.h: Likewise.
37930 * login/utmp.h: Likewise.
37931 * malloc/arena.c: Likewise.
37932 * malloc/malloc.c: Likewise.
37933 * malloc/malloc.h: Likewise.
37934 * malloc/mcheck.c: Likewise.
37935 * malloc/mtrace.c: Likewise.
37936 * math/bits/mathcalls.h: Likewise.
37937 * math/fenv.h: Likewise.
37938 * math/math_private.h: Likewise.
37939 * misc/bits/error.h: Likewise.
37940 * misc/bits/syslog.h: Likewise.
37941 * misc/err.h: Likewise.
37942 * misc/error.h: Likewise.
37943 * misc/fstab.h: Likewise.
37944 * misc/mntent.h: Likewise.
37945 * misc/regexp.h: Likewise.
37946 * misc/search.h: Likewise.
37947 * misc/sgtty.h: Likewise.
37948 * misc/sys/mman.h: Likewise.
37949 * misc/sys/syslog.h: Likewise.
37950 * misc/sys/uio.h: Likewise.
37951 * misc/sys/xattr.h: Likewise.
37952 * misc/ttyent.h: Likewise.
37953 * nis/rpcsvc/ypclnt.h: Likewise.
37954 * nss/nss.h: Likewise.
37955 * posix/bits/unistd.h: Likewise.
37956 * posix/fnmatch.h: Likewise.
37957 * posix/glob.h: Likewise.
37958 * posix/sched.h: Likewise.
37959 * posix/spawn.h: Likewise.
37960 * posix/sys/wait.h: Likewise.
37961 * posix/unistd.h: Likewise.
37962 * posix/wordexp.h: Likewise.
37963 * pwd/pwd.h: Likewise.
37964 * resolv/netdb.h: Likewise.
37965 * resource/sys/resource.h: Likewise.
37966 * rt/aio.h: Likewise.
37967 * rt/bits/mqueue2.h: Likewise.
37968 * rt/mqueue.h: Likewise.
37969 * shadow/shadow.h: Likewise.
37970 * signal/signal.h: Likewise.
37971 * socket/send.c: Likewise.
37972 * socket/sendto.c: Likewise.
37973 * socket/sys/socket.h: Likewise.
37974 * stdio-common/printf.h: Likewise.
37975 * stdlib/bits/stdlib.h: Likewise.
37976 * stdlib/fmtmsg.h: Likewise.
37977 * stdlib/monetary.h: Likewise.
37978 * stdlib/stdlib.h: Likewise.
37979 * stdlib/ucontext.h: Likewise.
37980 * streams/stropts.h: Likewise.
37981 * string/argz.h: Likewise.
37982 * string/bits/string2.h: Likewise.
37983 * string/string.h: Likewise.
37984 * string/strings.h: Likewise.
37985 * sunrpc/rpc/auth.h: Likewise.
37986 * sunrpc/rpc/auth_des.h: Likewise.
37987 * sunrpc/rpc/clnt.h: Likewise.
37988 * sunrpc/rpc/netdb.h: Likewise.
37989 * sunrpc/rpc/pmap_clnt.h: Likewise.
37990 * sunrpc/rpc/xdr.h: Likewise.
37991 * sysdeps/generic/inttypes.h: Likewise.
37992 * sysdeps/generic/net/if.h: Likewise.
37993 * sysdeps/generic/sys/swap.h: Likewise.
37994 * sysdeps/gnu/net/if.h: Likewise.
37995 * sysdeps/gnu/utmpx.h: Likewise.
37996 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37997 * sysdeps/i386/i486/bits/string.h: Likewise.
37998 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37999 * sysdeps/s390/bits/string.h: Likewise.
38000 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38001 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38002 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38003 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38004 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38005 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38006 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38007 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38008 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38009 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38010 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38011 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38012 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38013 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38014 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38015 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38016 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38018 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38020 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38021 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38022 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38023 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38024 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38025 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38026 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38027 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38028 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38029 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38030 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38031 * sysvipc/sys/ipc.h: Likewise.
38032 * sysvipc/sys/msg.h: Likewise.
38033 * sysvipc/sys/sem.h: Likewise.
38034 * sysvipc/sys/shm.h: Likewise.
38035 * termios/termios.h: Likewise.
38036 * time/sys/time.h: Likewise.
38037 * time/time.h: Likewise.
38038 * wcsmbs/bits/wchar2.h: Likewise.
38039 * wcsmbs/uchar.h: Likewise.
38040 * wcsmbs/wchar.h: Likewise.
38041 * wctype/wctype.h: Likewise.
38044 * Makeconfig: Remove all but ELF support including AIX support.
38045 * Makerules: Likewise.
38046 * config.h.in: Likewise.
38047 * config.make.in: Likewise.
38048 * configure: Likewise.
38049 * configure.in: Likewise.
38050 * csu/Makefile: Likewise.
38051 * csu/version.c: Likewise.
38052 * debug/Makefile: Likewise.
38053 * dlfcn/Makefile: Likewise.
38054 * elf/Makefile: Likewise.
38055 * extra-lib.mk: Likewise.
38056 * iconv/Makefile: Likewise.
38057 * include/libc-symbols.h: Likewise.
38058 * include/shlib-compat.h: Likewise.
38059 * resolv/Makefile: Likewise.
38060 * resolv/res_libc.c: Likewise.
38061 * rt/Makefile: Likewise.
38062 * sysdeps/i386/asm-syntax.h: Likewise.
38063 * sysdeps/i386/sysdep.h: Likewise.
38064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38065 * sysdeps/mach/sysdep.h: Likewise.
38066 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38067 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38068 * sysdeps/s390/asm-syntax.h: Likewise.
38069 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38070 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38071 * sysdeps/sh/sysdep.h: Likewise.
38072 * sysdeps/unix/sparc/sysdep.h: Likewise.
38073 * sysdeps/wordsize-32/divdi3.c: Likewise.
38074 * sysdeps/x86_64/sysdep.h: Likewise.
38076 * argp/Versions: Remove _argp_unlock_xxx.
38079 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38080 * abilist/libBrokenLocale.abilist: Likewise.
38081 * abilist/libanl.abilist: Likewise.
38082 * abilist/libc.abilist: Likewise.
38083 * abilist/libcrypt.abilist: Likewise.
38084 * abilist/libdl.abilist: Likewise.
38085 * abilist/libm.abilist: Likewise.
38086 * abilist/libnsl.abilist: Likewise.
38087 * abilist/libpthread.abilist: Likewise.
38088 * abilist/libresolv.abilist: Likewise.
38089 * abilist/librt.abilist: Likewise.
38090 * abilist/libthread_db.abilist: Likewise.
38091 * abilist/libutil.abilist: Likewise.
38092 * abilist/libnss_db.abilist: New file.
38094 * scripts/abilist.awk: Add support for indirect functions.
38096 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38098 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38100 * shlib-versions: Remove entries for ports architectures.
38102 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38104 * elf/stackguard-macros.h: Remove support for IA-64.
38105 * elf/tst-auditmod1.c: Likewise.
38106 * sysdeps/generic/ldsodefs.h: Likewise.
38108 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38109 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38113 * configure.in: Remove --enable-omitfp support.
38115 * config.make.in: Likewise.
38116 * Makeconfig: Likewise.
38117 * manual/install.texi: Likewise.
38119 In case anyone cares, the IA-64 architecture could move to ports.
38120 * sysdeps/ia64/*: Removed.
38121 * sysdeps/unix/sysv/linux/ia64/*: Removed.
38122 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38125 * configure.in: Remove entries for unsupported architectures.
38128 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38129 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38131 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38132 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38133 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38134 fall back to using wcrtomb.
38135 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38136 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38138 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38139 * wcsmbs/tst-c16c32-1.c: New file.
38141 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38144 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38146 * elf/tst-unique3.cc: Add explicit declaration of gets.
38147 * elf/tst-unique3lib.cc: Likewise.
38148 * elf/tst-unique3lib2.cc: Likewise.
38149 * elf/tst-unique4.cc: Likewise.
38151 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38153 2012-01-06 Joseph Myers <joseph@codesourcery.com>
38156 * assert/assert.h (static_assert): Don't define for C++.
38157 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38158 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38160 2012-01-03 Ulrich Drepper <drepper@gmail.com>
38162 * iconv/loop.c (single loop): Fix assertion in storing of
38165 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38167 2012-01-01 Ulrich Drepper <drepper@gmail.com>
38169 * posix/getconf.c: Update copyright year.
38170 * nss/getent.c: Likewise.
38171 * nss/makedb.c: Likewise.
38172 * iconv/iconvconfig.c: Likewise.
38173 * iconv/iconv_prog.c: Likewise.
38174 * elf/ldconfig.c: Likewise.
38175 * elf/pldd.c: Likewise.
38176 * elf/sotruss.ksh: Likewise.
38177 * catgets/gencat.c: Likewise.
38178 * csu/version.c: Likewise.
38179 * elf/ldd.bash.in: Likewise.
38180 * elf/sprof.c (print_version): Likewise.
38181 * locale/programs/locale.c: Likewise.
38182 * locale/programs/localedef.c: Likewise.
38183 * login/programs/pt_chown.c: Likewise.
38184 * nscd/nscd.c (print_version): Likewise.
38185 * debug/xtrace.sh: Likewise.
38186 * malloc/memusage.sh: Likewise.
38187 * malloc/mtrace.pl: Likewise.
38188 * debug/catchsegv.sh: Likewise.
38190 2011-12-30 Jakub Jelinek <jakub@redhat.com>
38192 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38195 2011-12-24 Ulrich Drepper <drepper@gmail.com>
38198 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38199 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38201 * iconv/gconv_int.h: Likewise.
38202 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38203 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38204 from libc for GLIBC_2.16.
38205 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38206 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38207 * wcsmbs/uchar.h: Really define mbstate_t.
38208 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38209 * wcsmbs/c16rtomb.c: New file.
38210 * wcsmbs/mbrtoc16.c: New file.
38211 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38212 for C/POSIX locale.
38213 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38214 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38216 * wcsmbs/wchar.h: Add missing __restrict.
38218 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38221 * time/Makefile (routines): Add timespec_get.
38222 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38223 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38224 timespec for ISO C11.
38225 * time/timespec_get.c: New file.
38226 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38227 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38230 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38231 * stdlib/stdlib.h: Declare aligned_alloc.
38232 * Versions.def: Add GLIBC_2.16 for libc.
38233 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38236 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38239 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38243 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38246 * assert/assert.h (static_assert): Define.
38248 * version.h: Update for 2.16 development version.
38251 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38254 * version.h (RELEASE): Bump for 2.15 release.
38255 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38257 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38258 Patch by Marek Polacek <mpolacek@redhat.com>.
38260 * bits/byteswap.h: Protect long long constants with __extension__.
38261 * sysdeps/i386/bits/byteswap.h: Likewise.
38262 * sysdeps/ia64/bits/byteswap.h: Likewise.
38263 * sysdeps/s390/bits/byteswap.h: Likewise.
38264 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38266 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38269 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38270 destination buffer.
38271 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38273 2011-12-23 Marek Polacek <polacek@redhat.com>
38275 * elf/dl-addr.c (determine_info): Add inline keyword.
38276 * elf/tst-auditmod4b.c (check_avx): Likewise.
38277 * elf/tst-auditmod6b.c (check_avx): Likewise.
38278 * elf/tst-auditmod6c.c (check_avx): Likewise.
38279 * elf/tst-auditmod7b.c (check_avx): Likewise.
38281 2011-12-23 Ulrich Drepper <drepper@gmail.com>
38283 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38286 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38289 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38290 processing for last bytes.
38292 2011-08-06 Bruno Haible <bruno@clisp.org>
38295 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38296 U+0385, not to U+1FEE.
38299 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38300 entry for U+00A5 U+0301.
38302 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38305 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38306 buffer for the output is too small.
38308 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38312 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38313 SSE flags if possible.
38315 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38318 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38319 processing for last bytes.
38321 2011-12-22 Joseph Myers <joseph@codesourcery.com>
38323 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38324 (syscall-list-default-options, syscall-list-default-condition)
38325 (syscall-list-includes): Define.
38326 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38327 list of ABIs and options and #if conditions for each ABI. Do not
38328 handle common syscalls between ABIs specially.
38329 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38331 (syscall-list-variants, syscall-list-32bit-options)
38332 (syscall-list-32bit-condition, syscall-list-64bit-options)
38333 (syscall-list-64bit-condition): Define.
38334 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38335 (syscall-list-variants, syscall-list-32bit-options)
38336 (syscall-list-32bit-condition, syscall-list-64bit-options)
38337 (syscall-list-64bit-condition): Define.
38338 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38340 (syscall-list-variants, syscall-list-32bit-options)
38341 (syscall-list-32bit-condition, syscall-list-64bit-options)
38342 (syscall-list-64bit-condition): Define.
38343 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38345 (syscall-list-variants, syscall-list-32bit-options)
38346 (syscall-list-32bit-condition, syscall-list-64bit-options)
38347 (syscall-list-64bit-condition): Define.
38349 2011-12-22 Ulrich Drepper <drepper@gmail.com>
38351 * locale/iso-639.def: Add brx entry.
38354 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38355 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38357 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38358 __feraiseexcept_renamed.
38360 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38363 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38364 EPOLLET with unsigned values.
38365 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38366 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38368 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38369 to large cancellation.
38370 * math/s_cacoshf.c: Likewise.
38371 * math/s_cacoshl.c: Likewise.
38373 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38377 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38378 * math/s_cacoshf.c: Likewise.
38379 * math/s_cacoshl.c: Likewise.
38381 2011-12-21 Ulrich Drepper <drepper@gmail.com>
38384 * iconv/gconv.h: Define __GCONV_SWAP.
38385 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38386 * iconvdata/utf-16.c: Likewise.
38387 * iconvdata/utf-32.c: Likewise.
38389 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38393 numerator after shifting it by one limb.
38395 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38397 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38398 under [__USE_EXTERN_INLINES].
38400 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38403 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38405 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38407 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38408 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38410 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38411 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38412 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38413 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38414 for strncasecmp/strncasecmp_l compilation.
38415 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38416 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38418 2011-12-08 Marek Polacek <mpolacek@redhat.com>
38421 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38424 2011-12-17 Ulrich Drepper <drepper@gmail.com>
38427 * time/tzfile.c (__tzfile_read): Check values from file header.
38429 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38431 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38432 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38433 * powerpc/powerpc32/dl-start.S: Likewise.
38434 * powerpc/powerpc32/elf/start.S: Likewise.
38435 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38436 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38437 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38438 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38439 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38440 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38441 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38442 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38443 * powerpc/powerpc32/fpu/s_round.S: Likewise.
38444 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38445 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38446 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38447 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38448 * powerpc/powerpc32/memset.S: Likewise.
38449 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38450 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38451 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38452 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38453 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38454 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38455 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38456 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38457 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38458 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38459 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38460 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38461 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38463 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38465 * math/libm-test.inc: Added more nearbyint tests.
38466 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38467 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38469 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38471 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38473 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38476 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38478 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38479 Add wcscpy-ssse3 wcscpy-c.
38480 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38481 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38482 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38483 * sysdeps/x86_64/wcschr.S: New file.
38484 * sysdeps/x86_64/wcsrchr.S: New file.
38485 * string/test-strcmp.c: Remove checking of wcscmp function for
38487 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38488 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38489 wcsrchr-sse2 wcsrchr-c.
38490 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38491 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38492 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38493 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38494 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38495 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38496 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38497 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38498 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38499 * wcsmbc/wcschr.c (WCSCHR): New macro.
38501 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38503 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38504 * wcsmbs/test-wcsrchr.c: New file.
38505 * string/test-strrchr.c: Add wcsrchr support.
38507 * wcsmbs/test-wcscpy.c: New file.
38508 * string/test-strcpy.c: Add wcscpy support.
38511 2011-12-10 Ulrich Drepper <drepper@gmail.com>
38513 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38516 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38519 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38521 2011-12-04 Ulrich Drepper <drepper@gmail.com>
38523 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38524 Minor optimizations.
38526 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38527 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38528 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38530 2011-12-03 Ulrich Drepper <drepper@gmail.com>
38532 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38533 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38534 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38535 for gcc to avoid warnings.
38536 * inet/Makefile (tests): Add tst-checks.
38537 * inet/tst-checks.c: New file.
38539 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38542 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38545 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38546 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38548 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38550 2011-12-02 Ulrich Drepper <drepper@gmail.com>
38552 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38555 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38557 2011-11-29 Joseph Myers <joseph@codesourcery.com>
38559 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38560 conditional on GCC version.
38561 (__arch_compare_and_exchange_val_8_acq)
38562 (__arch_compare_and_exchange_val_16_acq)
38563 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38564 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38565 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38567 2011-12-02 Joseph Myers <joseph@codesourcery.com>
38569 * sysdeps/sh/backtrace.c: New file.
38571 2011-12-02 Andreas Schwab <schwab@redhat.com>
38573 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38576 2011-12-01 Andreas Schwab <schwab@redhat.com>
38578 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38579 falling back to utime.
38581 2011-11-30 Andreas Schwab <schwab@redhat.com>
38583 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38584 expectations for float.
38586 2011-11-29 Andreas Schwab <schwab@redhat.com>
38588 * locale/weight.h (findidx): Add parameter len.
38589 * locale/weightwc.h (findidx): Likewise.
38590 * posix/fnmatch_loop.c (FCT): Adjust caller.
38591 * posix/regcomp.c (build_equiv_class): Likewise.
38592 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38593 * posix/regexec.c (check_node_accept_bytes): Likewise.
38594 * string/strcoll_l.c (STRCOLL): Likewise.
38595 * string/strxfrm_l.c (STRXFRM): Likewise.
38597 2011-11-17 Ulrich Drepper <drepper@gmail.com>
38599 * Makefile.in: Remove CVSOPT handling.
38600 * configure.in: Remove use of AC_REVISION.
38601 * iconvdata/Makefile (distribute): No need to filter out CVS.
38602 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38605 2011-11-16 Andreas Schwab <schwab@redhat.com>
38607 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38608 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38609 [USE_AS_STRNCASECMP_L]: Likewise.
38610 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38611 NO_TLS_DIRECT_SEG_REFS.
38612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38613 Fix argument offsets for non-PIC.
38614 [USE_AS_STRNCASECMP_L]: Likewise.
38615 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38616 NO_TLS_DIRECT_SEG_REFS.
38618 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38620 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38622 * locale/loadlocale.c (_nl_load_locale): Likewise.
38624 2011-11-15 Andreas Schwab <schwab@redhat.com>
38626 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38627 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38628 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38629 (SYSCALL_GETTIME): Set errno on error.
38631 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38632 count references to noai6ai_cached.
38634 2011-11-15 Ulrich Drepper <drepper@gmail.com>
38636 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38638 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38639 FD_CLOEXEC for /proc/self/maps.
38641 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38642 FD_CLOEXEC for /proc/meminfo.
38644 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38647 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38648 FD_CLOEXEC for given file.
38650 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38652 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38653 FD_CLOEXEC for /etc/hosts.
38654 (_gethtent): Likewise.
38656 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38658 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38659 cancellation and set FD_CLOEXEC for /etc/netgroup.
38661 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38662 reading /etc/publickey.
38664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38665 allow cancellation when reading /etc/group.
38667 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38669 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38671 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38672 when using data file.
38674 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38676 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38677 (write_nis_obj): Use "c" and "e" in fopen.
38679 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38681 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38683 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38685 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38687 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38690 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38692 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38694 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38696 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38697 file parsing and set FD_CLOEXEC.
38699 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38701 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38703 2011-11-14 Andreas Schwab <schwab@redhat.com>
38705 * malloc/arena.c (arena_get2): Don't call reused_arena when
38706 _int_new_arena failed.
38708 2011-11-14 Ulrich Drepper <drepper@gmail.com>
38710 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38711 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38712 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38713 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38714 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38715 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38716 to compile strcasecmp and strncasecmp.
38717 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38718 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38722 2011-11-13 Ulrich Drepper <drepper@gmail.com>
38724 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38725 locale-defines.sym to gen-as-const-headers.
38726 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38727 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38729 to compile strcasecmp and strncasecmp.
38730 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38731 strcasecmp_l and strncasecmp_l.
38732 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38733 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38734 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38735 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38736 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38737 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38738 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38739 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38740 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38741 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38742 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38744 2011-11-12 Ulrich Drepper <drepper@gmail.com>
38746 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38747 result of SYSDEP_GETTIME_CPU to retval.
38748 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38749 parameter list to macro. Remove trailing semicolon. Adjust users.
38751 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38754 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38756 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38758 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38759 from unused variable.
38761 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38763 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38766 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38769 * sunrpc/rpc_prot.c (rejected): Fix case value.
38771 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38772 unsigned long long int to avoid warnings in shift.
38774 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38776 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38779 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38780 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38781 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38783 * nis/nis_table.c (nis_list): Use variable of correct type for
38784 result of __follow_path call.
38786 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38788 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38789 of math functions ceil, trunc, floor, round, and sqrt, when
38790 avaliable on the platform.
38791 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38793 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38794 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38795 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38797 2011-10-30 Marek Polacek <mpolacek@redhat.com>
38799 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38800 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38802 2011-11-11 Roland McGrath <roland@hack.frob.com>
38804 * include/unistd.h: Fix __readlink return type.
38805 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38807 2011-11-11 Ulrich Drepper <drepper@gmail.com>
38809 * stdlib/ucontext.h: Undo last change for makecontext.
38811 2011-11-11 Andreas Schwab <schwab@redhat.com>
38813 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38815 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38816 * setjmp/setjmp.h: Mark functions as non-leaf.
38817 * setjmp/bits/setjmp2.h: Likewise.
38818 * stdlib/ucontext.h: Likewise.
38820 2011-11-10 Andreas Schwab <schwab@redhat.com>
38822 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38823 (reused_arena): Don't check arena limit.
38824 (arena_get2): Atomically check arena limit.
38826 2011-11-08 Ulrich Drepper <drepper@gmail.com>
38828 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38829 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38834 2011-11-07 Andreas Schwab <schwab@redhat.com>
38836 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38837 handler when locking.
38839 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38840 Fix size of allocated buffer.
38842 2011-11-04 Andreas Schwab <schwab@redhat.com>
38845 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38846 declarations for long double functions.
38847 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38849 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38851 2011-11-03 Andreas Schwab <schwab@redhat.com>
38853 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38856 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38859 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38861 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38863 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38865 * include/alloca.h (stackinfo_alloca_round): Define.
38866 (extend_alloca): Use it.
38867 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38868 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38871 * scripts/check-local-headers.sh: Ignore libaudit.h.
38873 * nscd/Makefile (extra-objs): Make recursively expanded.
38875 2011-11-01 Ulrich Drepper <drepper@gmail.com>
38877 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38878 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38880 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38881 * posix/tst-rfc3484-2.c: Likewise.
38882 * posix/tst-rfc3484-3.c: Likewise.
38884 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38886 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38888 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38889 process_vm_writev from libc using GLIBC_2.15 version.
38891 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38893 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38895 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38898 2011-10-31 Ulrich Drepper <drepper@gmail.com>
38901 * nss/getent.c (initgroups_keys): Show error message in case no group
38904 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38905 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38906 __bump_nl_timestamp.
38907 * nscd/connections (nscd_init): When host database is served open
38908 netlink socket and request notification about configuration changes.
38909 (main_loop_poll): Track netlink file descriptor and bump timestamp
38910 in case data becomes available.
38911 (main_loop_epoll): Likewise.
38912 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38913 (database_pers_head): Add extra_data fileds.
38914 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38915 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38916 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38919 in6ai data, call __free_in6ai.
38920 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38921 Add -DHAVE_NETLINK.
38922 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38923 interface information. Reuse previous data if netlink timestamp
38925 (__bump_nl_timestamp): New function.
38926 (__free_in6ai): New function.
38928 2011-10-30 Ulrich Drepper <drepper@gmail.com>
38930 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38931 close_not_cancel_no_status here.
38932 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38934 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38937 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38940 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38941 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38942 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38944 2011-07-03 Andreas Jaeger <aj@suse.de>
38947 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38948 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38949 * math/libm-test.inc (sin_test): Add test case.
38951 2011-10-29 Ulrich Drepper <drepper@gmail.com>
38954 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38955 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38957 * elf/chroot_canon.c (chroot_canon): Cleanups.
38959 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38962 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38963 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38965 * string/test-strchr.c: Make usable for strchrnul testing.
38966 * string/test-strchrnul.c: New file.
38967 * string/Makefile (strop-tests): Add strchrnul.
38969 * po/it.po: Update from translation team.
38970 * po/es.po: Likewise.
38972 2011-10-28 Ulrich Drepper <drepper@gmail.com>
38974 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38975 the three constants needed as parameters. Drop the others.
38976 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38977 __m128i_strloadu_tolower.
38978 Create and initialize variable zero and use it in all the places
38979 where _mm_setzero_si128 was used.
38981 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38982 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38983 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38984 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38986 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38987 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38988 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38989 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38990 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38991 __mpranred, __mptan.
38992 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38993 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38994 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38995 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38996 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38997 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38998 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38999 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39000 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39002 2011-10-28 Andreas Schwab <schwab@redhat.com>
39004 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39005 redefine if SHARED.
39006 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39009 wide char related routines to wcsmbs subdir.
39011 2011-10-27 Andreas Schwab <schwab@redhat.com>
39014 * misc/sys/cdefs.h (__THROWNL): Define.
39015 * posix/unistd.h: Use __THREADNL instead of __THREAD
39016 for memory synchronization functions.
39018 2011-10-26 Roland McGrath <roland@hack.frob.com>
39021 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39023 * manual/stdio.texi (Obstack Streams): Node removed.
39025 2011-10-26 Andreas Schwab <schwab@redhat.com>
39027 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39028 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39029 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39031 * math/math_private.h (math_force_eval): Allow non-addressable
39033 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39035 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39037 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39038 file is not needed.
39040 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39042 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39043 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39044 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39045 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39046 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39047 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39049 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39050 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39051 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39052 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39053 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39054 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39055 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39056 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39057 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39058 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39059 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39060 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39061 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39062 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39063 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39064 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39065 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39066 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39067 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39069 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39070 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39072 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39073 place. Use VEX encoding when compiling for AVX.
39075 2011-10-25 Andreas Schwab <schwab@redhat.com>
39077 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39078 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39080 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39082 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39084 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39085 useless if() expression.
39086 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39087 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39088 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39089 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39090 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39091 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39094 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39096 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39097 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39098 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39099 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39101 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39102 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39104 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39106 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39108 2011-10-25 Andreas Schwab <schwab@redhat.com>
39110 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39112 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39114 2011-10-25 Ulrich Drepper <drepper@gmail.com>
39116 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39117 .text section. Avoid duplicate constants.
39118 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39120 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39122 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39126 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39127 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39128 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39129 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39130 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39131 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39132 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39133 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39134 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39135 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39137 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39138 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39139 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39140 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39141 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39142 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39143 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39144 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39145 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39146 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39147 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39148 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39149 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39151 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39152 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39153 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39154 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39155 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39156 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39157 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39158 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39159 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39160 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39161 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39162 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39164 2011-10-24 Ulrich Drepper <drepper@gmail.com>
39166 * sysdeps/x86_64/dla.h: Move to ...
39167 * sysdeps/x86_64/fpu/dla.h: ...here.
39168 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39169 situations. Use __builtin_fma only for gcc 4.6 and up.
39171 * config.make.in: Add have-mfma4 entry.
39172 * configure.in: Substitute libc_cv_cc_fma4.
39173 * math/Makefile (dbl-only-routines): Add sincostab.
39174 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39175 Use __sincostab not sincos.
39176 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39178 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39183 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39184 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39185 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39186 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39188 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39189 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39191 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39192 define aliases when function name is a macro.
39193 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39194 sysdeps/ieee754/dbl-64/sincos.tbl.
39195 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39196 fma4-enabled routines.
39197 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39198 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39199 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39200 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39201 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39202 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39203 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39204 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39205 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39206 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39207 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39208 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39209 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39210 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39211 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39212 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39213 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39214 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39215 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39216 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39217 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39218 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39219 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39220 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39221 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39222 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39223 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39224 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39225 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39226 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39228 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39239 2011-10-24 Andreas Schwab <schwab@redhat.com>
39241 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39243 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39245 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39247 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39249 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39251 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39252 Remove unused variable magic_bits.
39253 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39255 * string/strnlen.c: Define and use STRNLEN macro.
39256 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39257 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39258 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39259 * wcsmbs/wcslen.c: Define and use WCSLEN.
39260 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39261 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39262 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39263 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39264 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39265 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39266 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39268 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39271 strnlen-sse2-no-bsf.
39272 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39274 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39275 Add strnlen support.
39276 (USE_AS_STRNLEN): New macro.
39277 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39278 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39279 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39280 * sysdeps/x86_64/wcslen.S: New file.
39282 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39284 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39285 XMM-moves are used for copying on small sizes.
39287 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39289 * wcsmbs/Makefile (strop-tests): Add wcschr.
39290 * wcsmbs/test-wcschr.c: New file.
39291 * string/test-strchr.c: Update.
39292 Add wcschr support.
39295 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39297 * wcsmbs/Makefile (strop-tests): Add wcslen.
39298 * wcsmbs/test-wcslen.c: New file.
39299 * string/test-strlen.c: Update.
39300 Add wcslen support.
39303 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39305 * po/it.po: Update from translation team.
39307 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39309 * sysdeps/x86_64/wcscmp.S: Update.
39310 Fix wrong comparison semantics.
39311 wcscmp shall use signed comparison not unsigned.
39312 Don't use substraction to avoid overflow bug.
39313 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39314 * wcsmbc/wcscmp.c: Likewise.
39315 * string/test-strcmp.c: Likewise.
39316 Add new tests to check cases with negative values.
39318 2011-10-23 Ulrich Drepper <drepper@gmail.com>
39320 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39321 * sysdeps/x86_64/dla.h: ...here. New file.
39322 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39327 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39328 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39329 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39330 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39332 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39335 __ynl_finite aliases.
39337 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39341 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39343 [DLA_FMA] (EMULV): Use DLA_FMA.
39344 [DLA_FMA] (MUL12): Use EMULV.
39345 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39346 that are not needed.
39347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39349 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39352 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39353 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39355 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39357 * math/s_nan.c: Undef __nan.
39358 * math/s_nanf.c: Undef __nanf.
39359 * math/s_nanl.c: Undef __nanl.
39360 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39363 2011-10-22 Ulrich Drepper <drepper@gmail.com>
39365 * math/s_catan.c: Add branch predictions.
39366 * math/s_catanf.c: Likewise.
39367 * math/s_catanh.c: Likewise.
39368 * math/s_catanhf.c: Likewise.
39369 * math/s_catanhl.c: Likewise.
39370 * math/s_catanl.c: Likewise.
39371 * math/s_cexp.c: Likewise.
39372 * math/s_cexpf.c: Likewise.
39373 * math/s_cexpl.c: Likewise.
39374 * math/s_clog.c: Likewise.
39375 * math/s_clog10.c: Likewise.
39376 * math/s_clog10f.c: Likewise.
39377 * math/s_clog10l.c: Likewise.
39378 * math/s_clogf.c: Likewise.
39379 * math/s_clogl.c: Likewise.
39380 * math/s_csqrt.c: Likewise.
39381 * math/s_csqrtf.c: Likewise.
39382 * math/s_csqrtl.c: Likewise.
39383 * math/s_ctanf.c: Likewise.
39384 * math/s_ctanh.c: Likewise.
39385 * math/s_ctanhf.c: Likewise.
39386 * math/s_ctanhl.c: Likewise.
39387 * math/s_ctanl.c: Likewise.
39389 * math/math_private.h: Define __nan, __nanf, __nanl.
39390 * math/s_cacosh.c: Include <math_private.h>.
39391 * math/s_cacoshl.c: Likewise.
39392 * math/s_casinh.c: Likewise.
39393 * math/s_casinhf.c: Likewise.
39394 * math/s_casinhl.c: Likewise.
39395 * math/s_ccos.c: Rely entire on ccosh.
39396 * math/s_ccosf.c: Rely entire on ccoshf.
39397 * math/s_ccosl.c: Rely entirely on ccoshl.
39398 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39399 Remove tests for FE_INVALID.
39400 * math/s_ccoshf.c: Likewise.
39401 * math/s_ccoshl.c: Likewise.
39402 * math/s_csin.c: Likewise.
39403 * math/s_csinf.c: Likewise.
39404 * math/s_csinh.c Likewise.
39405 * math/s_csinhf.c: Likewise.
39406 * math/s_csinhl.c: Likewise.
39407 * math/s_csinl.c: Likewise.
39408 * math/s_ctan.c: Likewise.
39409 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39410 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39411 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39413 2011-10-21 Ulrich Drepper <drepper@gmail.com>
39415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39416 compilation problems.
39418 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39421 2011-10-20 Ulrich Drepper <drepper@gmail.com>
39423 * sysdeps/i386/configure.in: Test for -mfma4 option.
39424 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39425 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39426 COMMON_CPUID_INDEX_80000001.
39427 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39428 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39429 use it if FMA3 is not supported.
39430 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39432 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39433 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39435 2011-10-20 Andreas Schwab <schwab@redhat.com>
39438 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39439 it would create a cycle with a link time dependency.
39441 2011-10-19 Ulrich Drepper <drepper@gmail.com>
39443 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39445 * string/Makefile (strop-tests): Add rawmemchr.
39446 * string/test-rawmemchr.c: New file.
39448 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39449 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
39450 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
39451 when compiling str{,n}casecmp and when AVX is available. Hook up
39452 new optimized code in initializers.
39454 2011-10-19 Andreas Schwab <schwab@redhat.com>
39456 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39457 __feraiseexcept instead of feraiseexcept.
39459 2011-10-18 Ulrich Drepper <drepper@gmail.com>
39461 * math/math_private.h: Define defaults for libc_fetestexcept and
39463 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39464 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39465 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39466 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39467 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39468 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39469 libc_fetestexcept and libc_feupdateenv.
39471 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39472 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39473 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39474 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39475 libc_feholdexcept_setround.
39477 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39478 Add s_nearbyint-c and s_nearbyintf-c.
39479 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39480 nearbyintf inlines.
39481 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39482 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39483 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39484 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39486 * math/math_private.h: Define defaults for libc_fegetround,
39487 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39488 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39489 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39490 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39491 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39492 standard functions.
39493 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39494 Remove comments and hacks for old compiler versions.
39495 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39496 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39497 libc_feholdexceptl.
39499 2011-10-18 Andreas Schwab <schwab@redhat.com>
39501 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39502 (__feraiseexcept_renamed): Add __NTH.
39503 (feraiseexcept): Add __NTH. Rename local variables to fix
39504 namespace violations.
39506 2011-10-17 Ulrich Drepper <drepper@gmail.com>
39508 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39510 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39512 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39513 recently added interfaces.
39514 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39516 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39517 about macro parameter expansion.
39519 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39520 __NO_MATH_INLINES is defined. Cleanups.
39522 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39523 and __floorf is target has SSE4.1.
39524 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39525 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39526 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39527 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39529 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39531 (floorf): Likewise.
39533 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39535 2011-10-17 Andreas Schwab <schwab@redhat.com>
39537 * misc/sys/cdefs.h: Fix last change.
39539 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39542 2011-10-16 Ulrich Drepper <drepper@gmail.com>
39544 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39546 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39547 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39548 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39549 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39550 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39551 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39552 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39553 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39554 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39555 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39556 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39557 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39558 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39559 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39560 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39561 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39562 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39563 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39564 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39565 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39566 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39567 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39569 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39570 ceil, ceilf, floor, floorf.
39572 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39573 Perform IRELATIVE relocations last.
39575 * elf/do-rel.h: Add another parameter nrelative, replacing the
39576 local variable with the same name. Change name of the function
39577 to end in Rel or Rela (uppercase).
39578 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39579 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39580 elf_dynamic_do_##reloc function.
39582 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39584 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39585 is sufficient, at least on modern CPUs.
39587 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39589 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39590 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39592 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39594 * math/bits/math-finite.h: Add entries for exp.
39595 * math/e_expl.c: Add __*_finite alias.
39596 * sysdeps/i386/fpu/e_exp.S: Likewise.
39597 * sysdeps/i386/fpu/e_expf.S: Likewise.
39598 * sysdeps/i386/fpu/e_expl.c: Likewise.
39599 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39600 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39601 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39602 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39603 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39604 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39605 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39607 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39608 is sufficient, at least on modern CPUs.
39610 * ctype/ctype-info.c (__ctype_init): Define.
39611 * include/ctype.h (__ctype_init): Declare.
39612 (__ctype_b_loc): The variable is always initialized.
39613 (__ctype_toupper_loc): Likewise.
39614 (__ctype_tolower_loc): Likewise.
39615 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39616 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39618 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39620 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39622 * configure.in: Also look in $cxxmachine/include for C++ system
39625 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39627 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39628 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39629 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39630 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39631 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39632 (USE_AS_WMEMCMP): New macro.
39634 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39635 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39636 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39637 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39639 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39640 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39641 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39642 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39643 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39644 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39645 (USE_AS_WMEMCMP): New macro.
39646 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39647 * sysdeps/string/test-memcmp.c: Update.
39648 Fix simple_wmemcmp.
39650 * wcsmbs/wmemcmp.c: Update.
39651 (WMEMCMP): New macro.
39654 2011-10-12 Andreas Jaeger <aj@suse.de>
39657 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39659 2011-10-15 Ulrich Drepper <drepper@gmail.com>
39661 * libio/iofwide.c (do_length): Avoid warning.
39663 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39665 2011-10-14 Ulrich Drepper <drepper@gmail.com>
39667 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39669 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39670 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39671 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39672 * sysdeps/i386/i686/fpu/e_log.S: New file.
39673 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39674 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39676 * ctype/ctype.h: Add support for inlined isXXX functions when
39677 compiling C++ code.
39679 2011-10-14 Andreas Schwab <schwab@redhat.com>
39681 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39683 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39685 2011-10-13 Roland McGrath <roland@hack.frob.com>
39688 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39690 2011-10-13 Andreas Schwab <schwab@redhat.com>
39692 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39693 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39696 * sysdeps/x86_64/memrchr.S: Check for zero size.
39698 * string/stratcliff.c: Add memrchr tests.
39700 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39703 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39704 rawmemchr-sse2 rawmemchr-sse2-bsf.
39705 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39706 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39707 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39708 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39709 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39710 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39711 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39712 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39713 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39714 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39715 * string/memrchr.c (MEMRCHR): New macro.
39717 2011-10-12 Ulrich Drepper <drepper@gmail.com>
39719 Add integration with gcc's -ffinite-math-only and optimize wrapper
39721 * Versions.def: Define GLIBC_2.15 version for libm.
39722 * math/Makefile (headers): Add bits/math-finite.h.
39723 * math/bits/math-finite.h: New file.
39724 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39725 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39726 * math/e_acoshl.c: Add __*_finite alias.
39727 * math/e_acosl.c: Likewise.
39728 * math/e_asinl.c: Likewise.
39729 * math/e_atan2l.c: Likewise.
39730 * math/e_atanhl.c: Likewise.
39731 * math/e_coshl.c: Likewise.
39732 * math/e_exp10.c: Likewise.
39733 * math/e_exp10f.c: Likewise.
39734 * math/e_exp10l.c: Likewise.
39735 * math/e_exp2l.c: Likewise.
39736 * math/e_fmodl.c: Likewise.
39737 * math/e_gammal_r.c: Likewise.
39738 * math/e_hypotl.c: Likewise.
39739 * math/e_j0l.c: Likewise.
39740 * math/e_j1l.c: Likewise.
39741 * math/e_jnl.c: Likewise.
39742 * math/e_lgammal_r.c: Likewise.
39743 * math/e_log10l.c: Likewise.
39744 * math/e_log2l.c: Likewise.
39745 * math/e_logl.c: Likewise.
39746 * math/e_powl.c: Likewise.
39747 * math/e_sinhl.c: Likewise.
39748 * math/e_sqrtl.c: Likewise.
39749 * math/e_scalb.c: Completely rewritten and optimized.
39750 * math/e_scalbf.c: Likewise.
39751 * math/e_scalbl.c: Likewise.
39752 * math/w_acos.c: Likewise.
39753 * math/w_acosf.c: Likewise.
39754 * math/w_acosl.c: Likewise.
39755 * math/w_acosh.c: Likewise.
39756 * math/w_acoshf.c: Likewise.
39757 * math/w_acoshl.c: Likewise.
39758 * math/w_asin.c: Likewise.
39759 * math/w_asinf.c: Likewise.
39760 * math/w_asinl.c: Likewise.
39761 * math/w_atan2.c: Likewise.
39762 * math/w_atan2f.c: Likewise.
39763 * math/w_atan2l.c: Likewise.
39764 * math/w_atanh.c: Likewise.
39765 * math/w_atanhf.c: Likewise.
39766 * math/w_atanhl.c: Likewise.
39767 * math/w_exp10.c: Likewise.
39768 * math/w_exp10f.c: Likewise.
39769 * math/w_exp10l.c: Likewise.
39770 * math/w_fmod.c: Likewise.
39771 * math/w_fmodf.c: Likewise.
39772 * math/w_fmodl.c: Likewise.
39773 * math/w_j0.c: Likewise.
39774 * math/w_j0f.c: Likewise.
39775 * math/w_j0l.c: Likewise.
39776 * math/w_j1.c: Likewise.
39777 * math/w_j1f.c: Likewise.
39778 * math/w_j1l.c: Likewise.
39779 * math/w_jn.c: Likewise.
39780 * math/w_jnf.c: Likewise.
39781 * math/w_log.c: Likewise.
39782 * math/w_logf.c: Likewise.
39783 * math/w_logl.c: Likewise.
39784 * math/w_log10.c: Likewise.
39785 * math/w_log10f.c: Likewise.
39786 * math/w_log10l.c: Likewise.
39787 * math/w_log2.c: Likewise.
39788 * math/w_log2f.c: Likewise.
39789 * math/w_log2l.c: Likewise.
39790 * math/w_pow.c: Likewise.
39791 * math/w_powf.c: Likewise.
39792 * math/w_powl.c: Likewise.
39793 * math/w_remainder.c: Likewise.
39794 * math/w_remainderf.c: Likewise.
39795 * math/w_remainderl.c: Likewise.
39796 * math/w_scalb.c: Likewise.
39797 * math/w_scalbf.c: Likewise.
39798 * math/w_scalbl.c: Likewise.
39799 * math/w_sqrt.c: Likewise.
39800 * math/w_sqrtf.c: Likewise.
39801 * math/w_sqrtl.c: Likewise.
39802 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39803 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39805 * math/math_private.h: Declare __kernel_standard_f.
39806 * math/w_cosh.c: Remove cruft and optimize a bit.
39807 * math/w_coshf.c: Likewise.
39808 * math/w_coshl.c: Likewise.
39809 * math/w_exp2.c: Likewise.
39810 * math/w_exp2f.c: Likewise.
39811 * math/w_exp2l.c: Likewise.
39812 * math/w_hypot.c: Likewise.
39813 * math/w_hypotf.c: Likewise.
39814 * math/w_hypotl.c: Likewise.
39815 * math/w_lgamma.c: Likewise.
39816 * math/w_lgamma_r.c: Likewise.
39817 * math/w_lgammaf.c: Likewise.
39818 * math/w_lgammaf_r.c: Likewise.
39819 * math/w_lgammal.c: Likewise.
39820 * math/w_lgammal_r.c: Likewise.
39821 * math/w_sinh.c: Likewise.
39822 * math/w_sinhf.c: Likewise.
39823 * math/w_sinhl.c: Likewise.
39824 * math/w_tgamma.c: Likewise.
39825 * math/w_tgammaf.c: Likewise.
39826 * math/w_tgammal.c: Likewise.
39827 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39828 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39829 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39830 Minor optimizations. Pretty printing. Remove cruft.
39831 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39832 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39833 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39834 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39835 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39836 * sysdeps/i386/fpu/e_asin.S: Likewise.
39837 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39838 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39839 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39840 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39841 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39842 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39844 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39845 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39846 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39847 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39848 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39849 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39850 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39851 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39852 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39853 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39854 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39855 * sysdeps/i386/fpu/e_log.S: Likewise.
39856 * sysdeps/i386/fpu/e_log10.S: Likewise.
39857 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39858 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39859 * sysdeps/i386/fpu/e_log2.S: Likewise.
39860 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39861 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39862 * sysdeps/i386/fpu/e_logf.S: Likewise.
39863 * sysdeps/i386/fpu/e_logl.S: Likewise.
39864 * sysdeps/i386/fpu/e_pow.S: Likewise.
39865 * sysdeps/i386/fpu/e_powf.S: Likewise.
39866 * sysdeps/i386/fpu/e_powl.S: Likewise.
39867 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39868 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39869 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39870 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39871 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39872 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39873 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39874 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39875 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39876 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39877 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39879 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39880 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39881 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39883 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39884 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39885 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39886 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39887 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39889 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39890 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39892 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39893 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39894 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39896 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39897 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39898 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39899 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39900 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39901 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39902 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39903 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39904 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39905 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39906 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39907 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39908 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39909 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39910 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39911 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39912 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39913 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39914 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39915 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39916 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39917 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39933 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39941 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39947 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39948 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39949 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39956 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39959 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39960 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39961 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39962 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39964 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39966 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39967 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39968 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39969 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39970 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39971 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39972 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39973 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39974 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39975 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39976 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39977 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39978 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39979 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39980 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39981 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39982 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39983 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39984 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39985 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39986 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39987 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39988 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39989 (__isnanf): Likewise.
39990 (__isinf_ns): Likewise.
39991 (__isinf_nsf): Likewise.
39992 (__finite): Likewise.
39993 (__finitef): Likewise.
39994 (__ieee754_sqrt): Define as macro.
39995 (__ieee754_sqrtf): Define as macro.
39996 (__ieee754_sqrtl): Define as macro.
39997 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39999 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40000 __FINITE_MATH_ONLY__ consistent.
40001 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40003 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40005 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40008 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40010 2011-10-09 Ulrich Drepper <drepper@gmail.com>
40012 * po/ja.po: Update from translation team.
40014 2011-10-08 Roland McGrath <roland@hack.frob.com>
40016 * locale/programs/locarchive.c (prepare_address_space): New function.
40017 (create_archive, enlarge_archive, open_archive): Use it.
40019 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40020 inside [SHARED], where it is used.
40022 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40024 * nss/getent.c (netgroup_keys): Remove unused variable.
40025 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40027 2011-10-08 Ulrich Drepper <drepper@gmail.com>
40029 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40030 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40032 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40033 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40034 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40035 * math/Makefile (libm-calls): Add s_isinf_ns.
40036 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40037 * math/multc3.c: Likewise.
40038 * math/s_casin.c: Likewise.
40039 * math/s_casinf.c: Likewise.
40040 * math/s_casinl.c: Likewise.
40041 * math/s_ccos.c: Likewise.
40042 * math/s_ccosf.c: Likewise.
40043 * math/s_ccosl.c: Likewise.
40044 * math/s_ctan.c: Likewise.
40045 * math/s_ctanf.c: Likewise.
40046 * math/s_ctanh.c: Likewise.
40047 * math/s_ctanhf.c: Likewise.
40048 * math/s_ctanhl.c: Likewise.
40049 * math/s_ctanl.c: Likewise.
40050 * math/w_fmod.c: Likewise.
40051 * math/w_fmodf.c: Likewise.
40052 * math/w_fmodl.c: Likewise.
40053 * math/w_remainder.c: Likewise.
40054 * math/w_remainderf.c: Likewise.
40055 * math/w_remainderl.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40057 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40058 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40060 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40061 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40062 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40063 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40065 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40067 * stdio-common/printf_fphex.c: Likewise.
40068 * stdio-common/printf_size.c: Likewise.
40070 * math/e_exp10.c: Include math_private.h using <...> not "...".
40071 * math/e_exp10f.c: Likewise.
40072 * math/e_exp10l.c: Likewise.
40073 * math/e_exp2l.c: Likewise.
40074 * math/e_j0l.c: Likewise.
40075 * math/e_j1l.c: Likewise.
40076 * math/e_jnl.c: Likewise.
40077 * math/e_lgammal_r.c: Likewise.
40078 * math/e_rem_pio2l.c: Likewise.
40079 * math/e_scalb.c: Likewise.
40080 * math/e_scalbf.c: Likewise.
40081 * math/e_scalbl.c: Likewise.
40082 * math/k_cosl.c: Likewise.
40083 * math/k_sinl.c: Likewise.
40084 * math/k_tanl.c: Likewise.
40085 * math/s_cacoshf.c: Likewise.
40086 * math/s_catan.c: Likewise.
40087 * math/s_catanf.c: Likewise.
40088 * math/s_catanh.c: Likewise.
40089 * math/s_catanhf.c: Likewise.
40090 * math/s_catanhl.c: Likewise.
40091 * math/s_catanl.c: Likewise.
40092 * math/s_ccosh.c: Likewise.
40093 * math/s_ccoshf.c: Likewise.
40094 * math/s_ccoshl.c: Likewise.
40095 * math/s_cexp.c: Likewise.
40096 * math/s_cexpf.c: Likewise.
40097 * math/s_cexpl.c: Likewise.
40098 * math/s_clog.c: Likewise.
40099 * math/s_clog10.c: Likewise.
40100 * math/s_clog10f.c: Likewise.
40101 * math/s_clog10l.c: Likewise.
40102 * math/s_clogf.c: Likewise.
40103 * math/s_clogl.c: Likewise.
40104 * math/s_csin.c: Likewise.
40105 * math/s_csinf.c: Likewise.
40106 * math/s_csinh.c: Likewise.
40107 * math/s_csinhf.c: Likewise.
40108 * math/s_csinhl.c: Likewise.
40109 * math/s_csinl.c: Likewise.
40110 * math/s_csqrt.c: Likewise.
40111 * math/s_csqrtf.c: Likewise.
40112 * math/s_csqrtl.c: Likewise.
40113 * math/s_ctan.c: Likewise.
40114 * math/s_ctanf.c: Likewise.
40115 * math/s_ctanh.c: Likewise.
40116 * math/s_ctanhf.c: Likewise.
40117 * math/s_ctanhl.c: Likewise.
40118 * math/s_ctanl.c: Likewise.
40119 * math/s_ldexp.c: Likewise.
40120 * math/s_ldexpf.c: Likewise.
40121 * math/s_ldexpl.c: Likewise.
40122 * math/s_significand.c: Likewise.
40123 * math/s_significandf.c: Likewise.
40124 * math/s_significandl.c: Likewise.
40125 * math/w_acos.c: Likewise.
40126 * math/w_acosf.c: Likewise.
40127 * math/w_acosh.c: Likewise.
40128 * math/w_acoshf.c: Likewise.
40129 * math/w_acoshl.c: Likewise.
40130 * math/w_acosl.c: Likewise.
40131 * math/w_asin.c: Likewise.
40132 * math/w_asinf.c: Likewise.
40133 * math/w_asinl.c: Likewise.
40134 * math/w_atan2.c: Likewise.
40135 * math/w_atan2f.c: Likewise.
40136 * math/w_atan2l.c: Likewise.
40137 * math/w_atanh.c: Likewise.
40138 * math/w_atanhf.c: Likewise.
40139 * math/w_atanhl.c: Likewise.
40140 * math/w_cosh.c: Likewise.
40141 * math/w_coshf.c: Likewise.
40142 * math/w_coshl.c: Likewise.
40143 * math/w_dremf.c: Likewise.
40144 * math/w_exp10.c: Likewise.
40145 * math/w_exp10f.c: Likewise.
40146 * math/w_exp10l.c: Likewise.
40147 * math/w_exp2.c: Likewise.
40148 * math/w_exp2f.c: Likewise.
40149 * math/w_fmod.c: Likewise.
40150 * math/w_fmodf.c: Likewise.
40151 * math/w_fmodl.c: Likewise.
40152 * math/w_hypot.c: Likewise.
40153 * math/w_hypotf.c: Likewise.
40154 * math/w_hypotl.c: Likewise.
40155 * math/w_j0.c: Likewise.
40156 * math/w_j0f.c: Likewise.
40157 * math/w_j0l.c: Likewise.
40158 * math/w_j1.c: Likewise.
40159 * math/w_j1f.c: Likewise.
40160 * math/w_j1l.c: Likewise.
40161 * math/w_jn.c: Likewise.
40162 * math/w_jnf.c: Likewise.
40163 * math/w_jnl.c: Likewise.
40164 * math/w_lgamma.c: Likewise.
40165 * math/w_lgamma_r.c: Likewise.
40166 * math/w_lgammaf.c: Likewise.
40167 * math/w_lgammaf_r.c: Likewise.
40168 * math/w_lgammal.c: Likewise.
40169 * math/w_lgammal_r.c: Likewise.
40170 * math/w_log.c: Likewise.
40171 * math/w_log10.c: Likewise.
40172 * math/w_log10f.c: Likewise.
40173 * math/w_log10l.c: Likewise.
40174 * math/w_log2.c: Likewise.
40175 * math/w_log2f.c: Likewise.
40176 * math/w_log2l.c: Likewise.
40177 * math/w_logf.c: Likewise.
40178 * math/w_logl.c: Likewise.
40179 * math/w_pow.c: Likewise.
40180 * math/w_powf.c: Likewise.
40181 * math/w_powl.c: Likewise.
40182 * math/w_remainder.c: Likewise.
40183 * math/w_remainderf.c: Likewise.
40184 * math/w_remainderl.c: Likewise.
40185 * math/w_scalb.c: Likewise.
40186 * math/w_scalbf.c: Likewise.
40187 * math/w_scalbl.c: Likewise.
40188 * math/w_sinh.c: Likewise.
40189 * math/w_sinhf.c: Likewise.
40190 * math/w_sinhl.c: Likewise.
40191 * math/w_sqrt.c: Likewise.
40192 * math/w_sqrtf.c: Likewise.
40193 * math/w_sqrtl.c: Likewise.
40194 * math/w_tgamma.c: Likewise.
40195 * math/w_tgammaf.c: Likewise.
40196 * math/w_tgammal.c: Likewise.
40198 * po/ja.po: Update from translation team.
40200 2011-09-29 Andreas Jaeger <aj@suse.de>
40203 * sunrpc/netname.c (netname2host): Fix logic.
40207 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40209 * math/w_remainder.c (__remainder): Likewise.
40210 * math/w_remainderf.c (__remainderf): Likewise.
40211 * math/libm-test.inc (remainder_test): Add test cases.
40213 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40215 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40218 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40220 * string/test-memcmp.c: Avoid unncessary #defines.
40221 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40223 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40225 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40226 Use new sse2 version for core i3 - i7 as it's faster
40227 than sse42 version.
40228 (bit_Prefer_PMINUB_for_stringop): New.
40229 * sysdeps/x86_64/rawmemchr.S: Update.
40230 Replace with faster SSE2 version.
40231 * sysdeps/x86_64/memrchr.S: New file.
40232 * sysdeps/x86_64/memchr.S: Update.
40233 Replace with faster SSE2 version.
40235 2011-09-12 Marek Polacek <mpolacek@redhat.com>
40237 * elf/dl-load.c (lose): Add cast to avoid warning.
40239 2011-10-07 Ulrich Drepper <drepper@gmail.com>
40241 * po/ca.po: Update from translation team.
40243 * inet/getnetgrent_r.c: Hook up nscd.
40244 * nscd/Makefile (routines): Add nscd_netgroup.
40245 (nscd-modules): Add netgroupcache.
40246 (CFLAGS-netgroupcache.c): Define.
40247 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40248 (cache_search): Add const to second parameter.
40249 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40251 (dbs): Add netgrdb entry.
40252 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40253 (verify_persistent_db): Handle netgrdb.
40254 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40255 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40257 (netgroup_response_header): Define.
40258 (innetgroup_response_header): Define.
40259 (datahead): Add netgroup_response_header and innetgroup_response_header
40261 * nscd/nscd.conf: Add entries for netgroup cache.
40262 * nscd/nscd.h (dbtype): Add netgrdb.
40263 (_PATH_NSCD_NETGROUP_DB): Define.
40264 (netgroup_iov_disabled): Declare.
40265 (xmalloc, xcalloc, xrealloc): Move declarations here.
40266 (cache_search): Adjust prototype.
40267 Add netgroup-related prototypes.
40268 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40269 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40270 (__nscd_innetgr): Declare.
40271 * nscd/selinux.c (perms): Use access_vector_t as element type and
40272 add netgroup-related initializers.
40273 * nscd/netgroupcache.c: New file.
40274 * nscd/nscd_netgroup.c: New file.
40275 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40276 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40277 For four parameters use innetgr.
40278 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40279 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40280 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40281 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40283 * nscd/connections.c (register_traced_file): Don't register file
40284 for disabled databases.
40286 2011-10-06 Ulrich Drepper <drepper@gmail.com>
40288 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40290 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40291 from tree and freeing node.
40293 2011-09-25 Jiri Olsa <jolsa@redhat.com>
40295 * nss/nsswitch.c (__nss_database_lookup): Handle
40296 nss_parse_service_list out of memory case.
40298 2011-09-15 Jiri Olsa <jolsa@redhat.com>
40300 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40301 out of memory case.
40303 2011-10-04 Andreas Schwab <schwab@redhat.com>
40305 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40306 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40308 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40309 elf_machine_rela, elf_machine_lazy_rel.
40310 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40311 (ELF_DYNAMIC_DO_REL): Likewise.
40312 (ELF_DYNAMIC_DO_RELA): Likewise.
40313 (ELF_DYNAMIC_RELOCATE): Likewise.
40314 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40315 to ELF_DYNAMIC_DO_REL.
40316 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40317 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40318 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40320 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40321 skip_ifunc, don't call ifunc function if non-zero.
40322 (elf_machine_rela): Likewise.
40323 (elf_machine_lazy_rel): Likewise.
40324 (elf_machine_lazy_rela): Likewise.
40325 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40326 (elf_machine_lazy_rel): Likewise.
40327 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40329 (elf_machine_lazy_rel): Likewise.
40330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40332 (elf_machine_lazy_rel): Likewise.
40333 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40334 (elf_machine_lazy_rel): Likewise.
40335 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40336 (elf_machine_lazy_rel): Likewise.
40337 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40338 (elf_machine_lazy_rel): Likewise.
40339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40340 (elf_machine_lazy_rel): Likewise.
40341 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40342 (elf_machine_lazy_rel): Likewise.
40343 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40344 (elf_machine_lazy_rel): Likewise.
40346 2011-09-28 Ulrich Drepper <drepper@gmail.com>
40348 * nss/nss_files/files-init.c (_nss_files_init): Use static
40349 initialization for all the *_traced_file variables.
40351 2011-09-28 Andreas Schwab <schwab@redhat.com>
40353 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40355 2011-09-27 Roland McGrath <roland@hack.frob.com>
40358 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40360 2011-09-27 Andreas Schwab <schwab@redhat.com>
40362 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40363 Reread the line before reparsing it.
40365 2011-09-26 Andreas Schwab <schwab@redhat.com>
40367 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40369 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40370 Maxim Kuvyrkov <maxim@codesourcery.com>
40371 Joseph Myers <joseph@codesourcery.com>
40373 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40374 if needed for __stack_chk_guard.
40376 2011-09-19 Roland McGrath <roland@hack.frob.com>
40378 * sysdeps/posix/spawni.c (script_execute): Always define it.
40379 It will be optimized away if unused.
40380 (maybe_script_execute): New function.
40381 (__spawni): Call it.
40383 * Makerules: Don't include tls.make.
40384 (config-tls): Always set to thread.
40385 * tls.make.c: File removed.
40387 2011-09-19 Mike Frysinger <vapier@gentoo.org>
40389 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40390 * config.make.in (CPPFLAGS-config): New substituted variable.
40392 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40397 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40398 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40400 2011-09-15 Roland McGrath <roland@hack.frob.com>
40402 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40403 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40404 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40405 (CALL_FAIL): Likewise.
40406 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40407 (CALL_FAIL): Macro removed.
40408 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40410 2011-09-15 Ulrich Drepper <drepper@gmail.com>
40412 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40413 for __FINITE_MATH_ONLY__ == 1.
40415 2011-09-15 Andreas Schwab <schwab@redhat.com>
40417 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40418 __ieee754_sqrt instead of sqrt.
40419 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40420 __ieee754_sqrtf instead of sqrtf.
40421 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40422 __floorf instead of floorf.
40423 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40424 __floorf, __truncf instead of floorf, truncf.
40426 2011-09-14 Ulrich Drepper <drepper@gmail.com>
40428 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40430 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40431 __extern_always_inline.
40432 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40435 2011-09-14 Andreas Schwab <schwab@redhat.com>
40437 * elf/rtld.c (dl_main): Also relocate in dependency order when
40438 doing symbol dependency testing.
40440 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
40442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40443 Always define `refsym'.
40445 2011-09-13 Andreas Schwab <schwab@redhat.com>
40447 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40448 (__FD_ELT): Renamed from __FDELT.
40449 * misc/bits/select2.h (__FD_ELT): Likewise.
40450 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40451 __FD_MASK instead of __FDELT, __FDMASK.
40452 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40454 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40457 * elf/Makefile (gen-ldd): Fix pattern.
40459 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40460 (init_tls): Likewise.
40462 2011-09-12 Ulrich Drepper <drepper@gmail.com>
40464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40466 2011-09-12 Andreas Schwab <schwab@redhat.com>
40468 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40469 `struct cmsghdr *' instead of `void *'.
40470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40473 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40475 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40477 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40478 ldd_rewrite_script.
40480 2011-09-11 Ulrich Drepper <drepper@gmail.com>
40482 * configure.in: Remove --with-tls option.
40483 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40484 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40485 out in case it is missing.
40486 * sysdeps/ia64/elf/configure.in: Likewise.
40487 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40488 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40489 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40490 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40491 * sysdeps/sh/elf/configure.in: Likewise.
40492 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40493 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40494 * sysdeps/x86_64/elf/configure.in: Likewise.
40495 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40496 * sysdeps/mach/hurd/tls.h: Likewise.
40499 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40502 * configure.in: Fix use of AC_INIT.
40504 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40506 2011-09-10 Ulrich Drepper <drepper@gmail.com>
40508 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40510 * malloc/hooks.c: Likewise.
40513 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40514 variables statically.
40515 (narenas): Initialize.
40516 (list_lock): Initialize.
40517 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40518 initializtion of main_arena and list_lock. Small cleanups.
40519 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40520 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40521 Add initializers to main_arena and mp_.
40522 (malloc_state): Remove pagesize member. Change all users to use
40525 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40526 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40527 is always initialized.
40529 * malloc/malloc.c: Removed unused configurations and dead code.
40530 * malloc/arena.c: Likewise.
40531 * malloc/hooks.c: Likewise.
40532 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40534 * include/tls.h: Removed. USE___THREAD must always be defined.
40535 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40536 * elf/dl-libc.c: Likewise.
40537 * elf/dl-tsd.c: Likewise.
40538 * include/errno.h: Likewise.
40539 * include/netdb.h: Likewise.
40540 * include/resolv.h: Likewise.
40541 * inet/herrno-loc.c: Likewise.
40542 * inet/herrno.c: Likewise.
40543 * malloc/arena.c: Likewise.
40544 * malloc/hooks.c: Likewise.
40545 * malloc/malloc.c: Likewise.
40546 * resolv/res-state.c: Likewise.
40547 * resolv/res_libc.c: Likewise.
40548 * sysdeps/i386/dl-machine.h: Likewise.
40549 * sysdeps/ia64/dl-machine.h: Likewise.
40550 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40551 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40552 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40553 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40554 * sysdeps/sh/dl-machine.h: Likewise.
40555 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40556 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40557 * sysdeps/unix/i386/sysdep.S: Likewise.
40558 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40559 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40561 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40562 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40564 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40568 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40569 * sysdeps/x86_64/dl-machine.h: Likewise.
40570 * tls.make.c: Likewise.
40572 * configure.in: Remove --with-__thread option. Make tests for
40573 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40574 tls_model attribute fail if no support is available. Remove
40576 * Makeconfig: Adjust for dropped configure option. All features are
40578 * Makerules: Likewise.
40579 * Versions.def: Likewise.
40580 * argp/argp-fmtstream.c: Likewise.
40581 * argp/argp-fmtstream.h: Likewise.
40582 * argp/argp-help.c: Likewise.
40583 * assert/assert.c: Likewise.
40584 * config.h.in: Likewise.
40585 * config.make.in: Likewise.
40586 * configure: Likewise.
40587 * configure.in: Likewise.
40588 * csu/Versions: Likewise.
40589 * csu/init.c: Likewise.
40590 * elf/tst-audit2.c: Likewise.
40591 * elf/tst-tls10.c: Likewise.
40592 * elf/tst-tls10.h: Likewise.
40593 * elf/tst-tls11.c: Likewise.
40594 * elf/tst-tls12.c: Likewise.
40595 * elf/tst-tls14.c: Likewise.
40596 * elf/tst-tlsmod11.c: Likewise.
40597 * elf/tst-tlsmod12.c: Likewise.
40598 * elf/tst-tlsmod13.c: Likewise.
40599 * elf/tst-tlsmod13a.c: Likewise.
40600 * elf/tst-tlsmod14a.c: Likewise.
40601 * elf/tst-tlsmod15b.c: Likewise.
40602 * elf/tst-tlsmod16a.c: Likewise.
40603 * elf/tst-tlsmod16b.c: Likewise.
40604 * elf/tst-tlsmod7.c: Likewise.
40605 * elf/tst-tlsmod8.c: Likewise.
40606 * elf/tst-tlsmod9.c: Likewise.
40607 * gmon/gmon.c: Likewise.
40608 * grp/fgetgrent_r.c: Likewise.
40609 * grp/putgrent.c: Likewise.
40610 * hurd/fopenport.c: Likewise.
40611 * include/libc-symbols.h: Likewise.
40612 * include/tls.h: Likewise.
40613 * intl/gettextP.h: Likewise.
40614 * intl/loadinfo.h: Likewise.
40615 * locale/global-locale.c: Likewise.
40616 * locale/localeinfo.h: Likewise.
40617 * mach/devstream.c: Likewise.
40618 * malloc/arena.c: Likewise.
40619 * malloc/set-freeres.c: Likewise.
40620 * misc/err.c: Likewise.
40621 * misc/getttyent.c: Likewise.
40622 * misc/mntent_r.c: Likewise.
40623 * posix/getopt.c: Likewise.
40624 * posix/wordexp.c: Likewise.
40625 * pwd/fgetpwent_r.c: Likewise.
40626 * resolv/Versions: Likewise.
40627 * resolv/res_hconf.c: Likewise.
40628 * shadow/fgetspent_r.c: Likewise.
40629 * shadow/putspent.c: Likewise.
40630 * stdio-common/printf_fphex.c: Likewise.
40631 * stdio-common/tmpfile.c: Likewise.
40632 * stdlib/abort.c: Likewise.
40633 * stdlib/fmtmsg.c: Likewise.
40634 * sunrpc/auth_unix.c: Likewise.
40635 * sunrpc/clnt_perr.c: Likewise.
40636 * sunrpc/clnt_tcp.c: Likewise.
40637 * sunrpc/clnt_udp.c: Likewise.
40638 * sunrpc/clnt_unix.c: Likewise.
40639 * sunrpc/openchild.c: Likewise.
40640 * sunrpc/svc_simple.c: Likewise.
40641 * sunrpc/svc_tcp.c: Likewise.
40642 * sunrpc/svc_udp.c: Likewise.
40643 * sunrpc/svc_unix.c: Likewise.
40644 * sunrpc/xdr.c: Likewise.
40645 * sunrpc/xdr_array.c: Likewise.
40646 * sunrpc/xdr_rec.c: Likewise.
40647 * sunrpc/xdr_ref.c: Likewise.
40648 * sunrpc/xdr_stdio.c: Likewise.
40650 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40652 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40654 2011-07-03 Andreas Jaeger <aj@suse.de>
40656 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40657 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40658 regenerate with gen-libm-tests.pl.
40660 2010-05-12 Petr Baudis <pasky@suse.cz>
40663 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40664 around j0() zero points by switching to j1().
40665 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40666 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40668 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40670 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40672 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40674 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40677 Patch in part by Pavel Roskin <proski@gnu.org>.
40680 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40682 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40683 Free memory block if necessary.
40686 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40687 be NULL. Don't lock in this case.
40689 2011-09-09 Roland McGrath <roland@hack.frob.com>
40691 * elf/elf.h (ELFOSABI_GNU): New macro.
40692 (ELFOSABI_LINUX): Define to that.
40694 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40696 * string/strncat.c (strncat): Undef the symbol in case it has been
40697 defined in bits/string.h.
40699 2011-09-09 Ulrich Drepper <drepper@gmail.com>
40701 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40703 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40706 2011-08-17 Andreas Jaeger <aj@suse.de>
40708 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40710 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40711 Ian Lance Taylor <iant@google.com>
40713 * math/libm-test.inc (lround_test): New testcase.
40714 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40716 2011-09-08 Ulrich Drepper <drepper@gmail.com>
40718 * Makefile: Remove support for automatic cvs check-ins.
40719 * Makerules: Likewise.
40720 * config.make.in: Likewise.
40721 * configure.in: Likewise.
40722 * intl/Makefile: Likewise.
40723 * locale/Makefile: Likewise.
40724 * po/Makefile: Likewise.
40725 * posix/Makefile: Likewise.
40726 * sysdeps/gnu/Makefile: Likewise.
40727 * sysdeps/mach/hurd/Makefile: Likewise.
40728 * sysdeps/sparc/sparc32/Makefile: Likewise.
40731 * posix/Makefile (bug-regex32-ENV): Define.
40732 Patch by John Stanley <jpsinthemix@verizon.net>.
40734 * misc/Makefile (headers): Add bits/select2.h.
40735 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40736 * misc/bits/select2.h: New file.
40737 * include/bits/select2.h: New file.
40738 * debug/Makefile (routines): Add fdelt_chk.
40739 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40740 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40742 * debug/fdelt_chk.c: New file.
40744 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40745 * wcsmbs/test-wmemcmp.c: Likewise.
40746 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40747 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40749 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40751 * string/Makefile (strop-tests): Add memcmp.
40752 * string/test-wmemcmp.c: New file.
40753 * string/test-memcmp.c: Add wmemcmp support.
40755 2011-09-08 Roland McGrath <roland@hack.frob.com>
40758 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40761 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40762 garbage value in a __mach_port_mod_refs call in the cases of the
40763 task-self and thread-self ports.
40765 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40767 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40769 2011-09-08 Andreas Schwab <schwab@redhat.com>
40771 * elf/dl-load.c (lose): Check for non-null L.
40773 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40775 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40777 * elf/dl-libc.c (dlerror_run): Pass back error code from
40781 * elf/dl-load.c (lose): Free l_origin if it is valid.
40783 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40785 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40786 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40787 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40788 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40789 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40790 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40792 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40794 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40795 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40796 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40797 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40798 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40799 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40800 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40801 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40802 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40803 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40805 2011-08-15 Alan Modra <amodra@gmail.com>
40808 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40809 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40810 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40811 ppc_mcount to static-only-routines.
40812 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40814 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40815 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40817 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40819 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40820 for finite and infinity parameters.
40822 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40824 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40825 and add nop instructions for throughput optimization.
40826 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40828 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40830 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40831 aligned copy for power7 with vector-scalar instructions.
40832 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40834 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40836 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40839 2011-09-07 Andreas Schwab <schwab@redhat.com>
40842 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40845 2011-09-07 Ulrich Drepper <drepper@gmail.com>
40847 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40848 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40849 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40850 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40853 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40855 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40856 Forgot to demangle the pointer.
40858 * sysdeps/i386/sysdep.h: Define atom_text_section.
40859 * sysdeps/x86_64/sysdep.h: Likewise.
40860 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40861 section with atom_text_section.
40862 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40863 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40864 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40866 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40868 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40869 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40870 already be defined. Change to take two parameters and don't assign
40871 result to variable. Adjust all users.
40872 Define INTERNAL_GETTIME if not already defined.
40873 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40876 HAVE_CLOCK_GETTIME_VSYSCALL.
40877 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40879 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40880 gettimeofday vsyscall, just use time.
40882 2011-09-06 Andreas Schwab <schwab@redhat.com>
40884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40887 2011-09-06 Ulrich Drepper <drepper@gmail.com>
40889 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40893 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40894 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40895 syscall if possible.
40897 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40899 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40900 e_ident. Don't pass to find_mapsXX.
40901 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40903 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40906 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40907 * sysdeps/x86_64/multiarch/strchr.S: Update.
40908 Check bit_slow_BSF bit.
40909 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40910 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40911 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40913 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40916 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40918 (tryshell): Define.
40919 (__spawni): Change last parameter to be flag. Test
40920 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40921 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40922 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40923 * posix/spawni.c: Likewise.
40924 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40925 * posix/spawnp.c: Likewise. Change normal version to use
40926 SPAWN_XFLAGS_USE_PATH.
40927 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40928 SPAWN_XFLAGS_TRY_SHELL.
40931 * posix/glob.h: Remove gcc 1.x support.
40934 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40936 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40939 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40941 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40942 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40943 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40944 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40945 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40946 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40948 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40950 * sysdeps/x86_64/wcscmp.S: New file.
40952 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40953 wcscmp-c wcscmp-sse2
40954 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40955 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40956 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40957 * wcsmbs/wcscmp.c: Allow renaming.
40959 2011-09-05 David S. Miller <davem@davemloft.net>
40961 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40962 stack slot, rather than the struct return pointer slot.
40963 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40964 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40966 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40968 2011-09-05 Ulrich Drepper <drepper@gmail.com>
40970 * po/ja.po: Update from translation team.
40973 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40974 kernel in 64-bit binaries.
40976 2011-09-01 David S. Miller <davem@davemloft.net>
40978 * elf/elf.h (HWCAP_SPARC_*): Move to..
40979 * sysdeps/sparc/sysdep.h: this new file and add new values.
40980 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40981 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40982 _DL_HWCAP_COUNT to 24.
40983 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40985 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40986 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40987 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40989 instead of magic constants.
40990 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40992 2011-08-31 David S. Miller <davem@davemloft.net>
40994 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40996 Reimplement to do errno handling inline.
40997 (SYSCALL_ERROR_HANDLER): New macro.
40998 (__SYSCALL_STRING): Do not do errno handling in asm.
40999 (__CLONE_SYSCALL_STRING): Delete.
41000 (__INTERNAL_SYSCALL_STRING): Delete.
41001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41002 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41003 (PSEUDO): Reimplement to do errno handling inline.
41004 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41005 (SYSCALL_ERROR_HANDLER): New macro.
41006 (__SYSCALL_STRING): Do not do errno handling in asm.
41007 (__CLONE_SYSCALL_STRING): Delete.
41008 (__INTERNAL_SYSCALL_STRING): Delete.
41009 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41010 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41012 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41013 (inline_syscall*): Add 'err' argument.
41014 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41015 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41016 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41017 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41019 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41020 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41022 2011-08-30 Andreas Schwab <schwab@redhat.com>
41024 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41026 2011-08-29 Jiri Olsa <jolsa@redhat.com>
41028 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41031 2011-08-24 David S. Miller <davem@davemloft.net>
41033 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41035 2011-08-24 Andreas Schwab <schwab@redhat.com>
41037 * elf/Makefile: Add rules to build and run unload8 test.
41038 * elf/unload8.c: New file.
41039 * elf/unload8mod1.c: New file.
41040 * elf/unload8mod1x.c: New file.
41041 * elf/unload8mod2.c: New file.
41042 * elf/unload8mod3.c: New file.
41044 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41047 2011-08-23 David S. Miller <davem@davemloft.net>
41049 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41050 subtract stack bias.
41051 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41052 %sp not %fp in calculations.
41053 (_JMPBUF_UNWINDS_ADJ): Likewise.
41055 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41056 (aio_suspend): Call it to force an exception region around the
41057 AIO_MISC_WAIT() invocation.
41059 2011-08-23 Andreas Schwab <schwab@redhat.com>
41061 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41064 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41066 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41068 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41069 and <dl-machine.h>.
41070 (Elf64_FuncDesc): Remove.
41072 2011-08-22 David S. Miller <davem@davemloft.net>
41074 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41075 sigaltstack check, add missing cfi directives.
41076 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41077 missing cfi directives, and sigaltstack handling.
41079 2011-08-16 Andreas Schwab <schwab@redhat.com>
41082 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41083 object is seen twice.
41084 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41086 * elf/Makefile (distribute): Add tst-initorder2.c.
41087 (tests): Add tst-initorder2.
41088 (modules-names): Add tst-initorder2a tst-initorder2b
41089 tst-initorder2c tst-initorder2d. Add rules to build them.
41090 ($(objpfx)tst-initorder2.out): New rule.
41091 * elf/tst-initorder2.c: New file.
41092 * elf/tst-initorder2.exp: New file.
41094 2011-08-22 Andreas Schwab <schwab@redhat.com>
41096 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41098 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41099 dependencies back to end of function.
41101 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41102 $(elfobjdir)/ld.so.
41104 2011-08-21 Ulrich Drepper <drepper@gmail.com>
41106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41107 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41108 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41109 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41110 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41111 of __vdso_gettimeofday.
41112 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41113 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41115 (_libc_vdso_platform_setup): Remove initialization of
41116 __vdso_gettimeofday and __vdso_time.
41118 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41120 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41121 and fgetc_unlocked.
41122 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41125 * elf/dl-open.c (add_to_global): Report additions to the global scope
41126 for LD_DEBUG=scopes.
41127 (dl_open_worker): Also print scope of newly loaded dependencies.
41128 (_dl_show_scope): Indicate if there is no scope.
41131 * stdio-common/Makefile (tests): Add bug24.
41132 * stdio-common/bug24.c: New file.
41134 2011-08-19 Andreas Jaeger <aj@suse.de>
41137 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41138 non-existant file when using close-on-exec mode.
41140 2011-08-20 Ulrich Drepper <drepper@gmail.com>
41142 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41143 the very first instruction.
41145 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41146 the CFI state in the end.
41147 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41148 inclusion of dl-trampoline.h.
41149 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41151 2011-08-19 Andreas Schwab <schwab@redhat.com>
41153 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41154 expectations for long double.
41156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41157 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41159 2011-08-14 David S. Miller <davem@davemloft.net>
41161 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41162 artificual limit depends upon the system page size.
41164 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41166 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41167 * resolv/Makefile: Define CFLAGS-libresolv.
41169 2011-08-17 Andreas Schwab <schwab@redhat.com>
41171 * nss/makedb.c (compute_tables): Make variables used in nested
41174 2011-08-17 Ulrich Drepper <drepper@gmail.com>
41176 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41177 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41178 if buffer was too small.
41180 * elf/pldd.c (main): Attach to all threads in the process.
41181 Rewrite /proc handling to use *at functions.
41183 2011-08-16 Ulrich Drepper <drepper@gmail.com>
41185 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41186 specifies first scope to show.
41187 (dl_open_worker): Update callers. Move printing scope of new
41188 object to before the relocation.
41189 * elf/rtld.c (dl_main): Update _dl_show_scope call.
41190 * sysdeps/generic/ldsodefs.h: Update declaration.
41192 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41193 string for the scope number.
41195 2011-08-14 Ulrich Drepper <drepper@gmail.com>
41197 * nscd/servicescache.c (cache_addserv): Make sure written is always
41200 2011-08-14 Roland McGrath <roland@hack.frob.com>
41202 * sysdeps/i386/i486/bits/atomic.h
41203 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41204 statement expression, so as to suppress "set but not used" warning.
41205 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41207 * string/strncat.c (STRNCAT): Use prototype definition.
41209 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41210 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41212 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41213 (localedef-modules): Add localedef.
41214 (locale-modules): Add locale.
41216 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41217 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41218 to avoid a warning.
41220 2011-08-14 David S. Miller <davem@davemloft.net>
41222 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41223 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41225 2011-08-13 Ulrich Drepper <drepper@gmail.com>
41227 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41228 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41229 * elf/rtld.c (dl_main): Set l_name of vDSO.
41230 Call _dl_show_scope when DL_DEBUG_SCOPES.
41231 (process_dl_debug): Recognize scopes flag and also set it for all.
41232 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41233 Declare _dl_show_scope.
41235 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41236 (do_dlopen): Pass caller_dlopen to dl_open.
41237 (__libc_dlopen_mode): Initialize caller_dlopen.
41239 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41240 of libc. Make tolower call locale-independent. Optimize a bit by
41241 using isdigit instead of isalnum.
41242 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41244 2011-08-12 Ulrich Drepper <drepper@gmail.com>
41246 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41247 was a dependency or dynamically loaded.
41249 2011-08-11 Ulrich Drepper <drepper@gmail.com>
41251 * intl/l10nflist.c: Allow architecture-specific pop function.
41252 * sysdeps/x86_64/l10nflist.c: New file.
41254 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41257 2011-08-10 Andreas Schwab <schwab@redhat.com>
41259 * include/dirent.h: Add libc_hidden_proto for scandirat and
41260 scandirat64. Don't declare __scandirat64.
41261 * dirent/scandirat.c: Add libc_hidden_def.
41262 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41263 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41265 2011-08-10 David S. Miller <davem@davemloft.net>
41267 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41270 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41271 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41273 2011-08-09 Ulrich Drepper <drepper@gmail.com>
41275 * Versions.def [libc]: Add GLIBC_2.15.
41276 * dirent/Makefile (routines): Add scandirat and scandirat64.
41277 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41279 * dirent/dirent.h: Declare scandirat and scandirat64.
41280 * dirent/scandirat.c: New file.
41281 * dirent/scandirat64.c: New file.
41282 * sysdeps/wordsize-64/scandirat.c: New file.
41283 * sysdeps/wordsize-64/scandirat64.c: New file.
41284 * dirent/opendir.c: Define opendirat.
41285 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41287 * dirent/scandir64.c: Adjust for scandir.c change.
41288 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41289 __scandirat64, and __scandir_cancel_handler.
41290 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41291 additional parameter and use openat instead of open (outside of ld.so).
41292 Add new __opendir as wrapper around __opendirat.
41293 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41294 here without requiring old scandirat implementation.
41296 2011-08-08 Ulrich Drepper <drepper@gmail.com>
41298 * dirent/scandir.c (cancel_handler): Renamed to
41299 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41300 defined. Adjust users.
41301 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41302 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41304 2011-08-04 Ulrich Drepper <drepper@gmail.com>
41306 * string/test-string.h (IMPL): Use __STRING to expand name and then
41309 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41312 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41314 * string/Makefile: Update.
41315 (strop-tests): Append strncat.
41316 * string/test-wcscmp.c: New file.
41317 New comprehensive test for wcscmp.
41318 * string/test-strcmp.c: Update.
41319 (WIDE): New define.
41321 2011-07-22 Andreas Schwab <schwab@redhat.com>
41323 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41326 2011-07-26 Andreas Schwab <schwab@redhat.com>
41328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41329 encoding to ACE if AI_IDN.
41331 2011-08-01 Jakub Jelinek <jakub@redhat.com>
41333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41334 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41336 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41338 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41339 Fix overflow bug in strncat.
41340 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41342 * string/test-strncat.c: Update.
41343 Add new tests for checking overflow bugs.
41345 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41348 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41349 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41350 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41351 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41352 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41353 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41354 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41355 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41358 (USE_AS_STRCAT): Define.
41359 Add strcat and strncat support.
41360 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41362 2011-07-25 Andreas Schwab <schwab@redhat.com>
41364 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41365 __n bigger than INT_MAX+1.
41366 (__strncmp_g): Likewise.
41368 2011-07-23 Ulrich Drepper <drepper@gmail.com>
41370 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41371 * libio/stido.h: Likewise.
41373 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41378 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41379 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41380 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41381 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41382 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41385 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41390 (_dl_x86_64_save_sse): Likewise.
41392 2011-07-22 Ulrich Drepper <drepper@gmail.com>
41394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41396 (_dl_x86_64_save_sse): Likewise.
41398 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41400 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41402 2011-07-21 Andreas Schwab <schwab@redhat.com>
41404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41406 (_dl_x86_64_save_sse): Use correct AVX check.
41408 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41410 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41411 bug in strncpy/strncat.
41412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41414 2011-07-21 Ulrich Drepper <drepper@gmail.com>
41416 * string/tester.c (test_strcat): Add tests for different alignments
41417 of source and destination.
41418 (test_strncat): Likewise.
41420 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41423 * posix/glob.c (glob): Check passed in values before using them in
41424 expressions to avoid some overflows.
41425 (glob_in_dir): Likewise.
41428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41429 check for AVX enablement so that we don't crash with old kernels and
41431 * elf/tst-audit4.c: Add same checks here.
41432 * elf/tst-audit6.c: Likewise.
41434 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41436 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
41438 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41440 2011-07-20 Ulrich Drepper <drepper@gmail.com>
41442 * po/cs.po: Update from translation team.
41443 * po/bg.po: Likewise.
41445 2011-07-12 Marek Polacek <mpolacek@redhat.com>
41447 * misc/sys/cdefs.h: Add support for const attribute.
41448 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41449 to gnu_dev_{major,minor,makedev} functions.
41451 2011-07-20 Marek Polacek <mpolacek@redhat.com>
41453 * intl/dcigettext.c (get_output_charset): Add missing bracket.
41455 2011-07-20 Andreas Schwab <schwab@redhat.com>
41457 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41460 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41462 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41463 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41464 register in order to avoid conflicts with the soft frame pointer
41465 being held in r11 when necessary.
41466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41467 (INTERNAL_VSYSCALL_NCS): Likewise.
41469 2011-07-14 Marek Polacek <mpolacek@redhat.com>
41471 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41472 * elf/dl-fini.c (_dl_fini): Adjust caller.
41473 * elf/dl-close.c (_dl_close_worker): Likewise.
41474 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41476 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41478 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41479 "aux_cache->nlibs < 0".
41481 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41482 in the reload-count case.
41484 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41487 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41488 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41489 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41490 * sysdeps/x86_64/multiarch/strcat.S: New file.
41491 * sysdeps/x86_64/multiarch/strncat.S: New file.
41492 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41493 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41494 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41495 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41496 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41497 (USE_AS_STRCAT): Define.
41498 Add strcat and strncat support.
41499 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41500 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41501 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41502 * string/strncat.c: Update.
41503 (USE_AS_STRNCAT): Define.
41504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41505 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41507 * sysdeps/x86_64/multiarch/init-arch.h
41508 (bit_Prefer_PMINUB_for_stringop): New.
41509 (index_Prefer_PMINUB_for_stringop): Likewise.
41510 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41511 bit_Prefer_PMINUB_for_stringop.
41513 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41515 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41517 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41518 of casting of buffer.
41519 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41520 buffer32 and buffer64.
41521 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41522 writes instead of casting of buffer.
41523 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41525 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41528 2011-07-19 Andreas Schwab <schwab@redhat.com>
41530 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41532 2011-07-19 Ulrich Drepper <drepper@gmail.com>
41534 * nscd/nscd.c (termination_handler): Don't do anything for a database
41535 if it has not yet been initialized.
41537 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41539 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41541 2011-07-15 Marek Polacek <mpolacek@redhat.com>
41543 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41545 2011-07-18 Ulrich Drepper <drepper@gmail.com>
41547 * po/nl.po: Update from translation team.
41548 * po/sv.po: Likewise.
41550 2011-07-16 Roland McGrath <roland@hack.frob.com>
41552 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41553 now disallowed by GCC.
41555 * configure.in (use-default-link): Default to yes if a test -shared
41556 link meets our qualifications.
41557 * configure: Regenerated.
41559 * config.make.in (output-format): New variable.
41560 * configure.in: Check for ld --print-output-format support.
41561 * configure: Regenerated.
41562 * Makerules ($(common-objpfx)format.lds)
41563 [$(output-format) != unknown]: Just use $(output-format),
41564 instead of the linker-script munging.
41566 2011-07-14 Roland McGrath <roland@hack.frob.com>
41568 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41569 of $(common-objpfx)shlib.lds.
41570 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41572 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41573 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41575 * configure.in (-z relro check): Adjust test code to add a large
41576 writable data section after it.
41577 * configure: Regenerated.
41579 2011-07-11 Roland McGrath <roland@hack.frob.com>
41581 * configure.in (-z relro check): Fix test code to make the variable
41583 * configure: Regenerated.
41585 2011-07-11 Ulrich Drepper <drepper@gmail.com>
41587 * nscd/nscd.h (struct traced_file): Define.
41588 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41589 elements. Add traced_files.
41590 (inotify_fd): Declare.
41591 (register_traced_file): Declare.
41592 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41593 (inotify_fd): Export.
41594 (resolv_conf_descr): Remove.
41595 (nscd_init): Move inotify descriptor creation to main.
41596 Don't register files for notification here.
41597 (register_traced_file): New function.
41598 (invalidate_cache): Don't use reset_res to determine whether to call
41599 res_init, go through the list of registered files.
41600 (main_loop_poll): The inotify descriptors are now stored in the
41601 structures for the traced files.
41602 (main_loop_epoll): Likewise
41603 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41604 to __nss_disable_nscd.
41605 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41606 for a database anymore. Check the records for all the registered
41608 * nss/Makefile (libnss_files-routines): Add files-init.
41609 (libnss_db-routines): Add db-init.
41610 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41611 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41612 * nss/nss_db/db-init.c: New file.
41613 * nss/nss_files/files-init.c: New file.
41614 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41615 __nss_lookup_function.
41616 (__nss_lookup_function): Call nss_load_library.
41617 (nss_load_all_libraries): New function.
41618 (__nss_disable_nscd): Take parameter with callback function for files
41619 to register. Set is_nscd. Load all the DSOs for the NSS modules
41620 used for the cached services.
41621 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41622 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41623 options for features to all the files in nscd.
41625 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41627 2011-07-10 Roland McGrath <roland@hack.frob.com>
41629 * csu/elf-init.c (__libc_csu_init): Comment typo.
41631 2011-07-09 Ulrich Drepper <drepper@gmail.com>
41633 * po/pl.po: Update from translation team.
41634 * po/ja.po: Likewise.
41635 * po/ru.po: Likewise.
41636 * po/ko.po: Likewise.
41637 * po/fr.po: Likewise.
41639 2011-07-09 Roland McGrath <roland@hack.frob.com>
41641 * configure.in (.ctors/.dtors header and trailer check):
41642 Use an empirical test on a built program.
41643 * configure: Regenerated.
41645 * configure.in (-z relro check): Use an empirical test on a built DSO.
41646 Detect, but do not require, on ia64.
41647 * configure: Regenerated.
41649 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41650 Update tests that use readelf to use $READELF instead.
41651 * configure: Regenerated.
41653 2011-07-08 Ulrich Drepper <drepper@gmail.com>
41655 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41656 if the result is not used.
41658 2011-07-05 Andreas Jaeger <aj@suse.de>
41661 * stdlib/tst-strtod.c: Add testcase.
41663 2011-07-07 Ulrich Drepper <drepper@gmail.com>
41665 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41666 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41667 The latter has a higher limit. Take additional parameter to pass to
41669 (__pathconf): Pass file to __statfs_link_max.
41670 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41672 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41676 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41677 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41679 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41680 (__statfs_filesize_max): Likewise.
41681 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41683 2011-07-05 Andreas Jaeger <aj@suse.de>
41685 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41687 2011-07-06 Marek Polacek <mpolacek@redhat.com>
41689 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41691 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41694 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41696 * Makefile (strop-tests): Add strncat.
41697 * string/test-strncat.c: New file.
41699 2011-06-30 Marek Polacek <mpolacek@redhat.com>
41701 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41703 2011-06-21 Andreas Jaeger <aj@suse.de>
41705 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41706 Copy rule from iconvdata/Makefile.
41708 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41711 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41712 but no long options are defined, just return 'W'.
41714 2011-06-22 Marek Polacek <mpolacek@redhat.com>
41717 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41719 2011-07-06 Ulrich Drepper <drepper@gmail.com>
41721 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41723 (innetgr): Likewise.
41725 2011-07-05 Roland McGrath <roland@hack.frob.com>
41727 * config.make.in (install_root): Default to $(DESTDIR).
41729 2011-07-05 Ulrich Drepper <drepper@gmail.com>
41731 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41733 2011-07-02 Roland McGrath <roland@hack.frob.com>
41735 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41737 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41738 containing directory rather than embedding absolute directory names.
41740 * scripts/check-local-headers.sh: Rewritten using awk.
41741 Match by word, not by line. Print error messages for matches.
41742 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41744 * Makerules [shlib-lds-flags empty]:
41745 ($(common-objpfx)libc_pic.opts): New target.
41746 ($(common-objpfx)libc_pic.os.clean): New target.
41747 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41749 * config.make.in (OBJCOPY): New variable.
41750 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41751 * configure: Regenerated.
41753 * config.make.in (use-default-link): New variable.
41754 * configure.in (use_default_link): Grok --with-default-link to set it.
41755 * configure: Regenerated.
41756 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41757 (shlib-lds, shlib-lds-flags): Define to empty.
41759 * Makerules (shlib-lds): New variable.
41760 (shlib-lds-flags): New variable.
41761 (build-shlib, build-moduile, build-module-asneeded): Use it.
41762 ($(common-objpfx)libc.so): Use $(shlib-lds).
41763 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41764 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41766 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41767 DT_FLAGS/DT_FLAGS_1 with zero flags.
41769 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41770 linker script munging.
41772 2011-07-02 Ulrich Drepper <drepper@gmail.com>
41774 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41776 * crypt/sha512.c (sha512_process_block): Perform total addition using
41777 128-bit if possible.
41778 (__sha512_finish_ctx): Likewise.
41779 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41781 * crypt/sha256.c (SWAP64): Define.
41782 (sha256_process_block): Perform total addition using 64-bit if
41784 (__sha256_finish_ctx): Likewise.
41786 2011-07-01 Ulrich Drepper <drepper@gmail.com>
41788 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41789 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41790 * nscd/hstcache.c (cache_addhst): Likewise.
41791 * nscd/grpcache.c (cache_addgr): Likewise.
41792 * nscd/aicache.c (addhstaiX): Likewise
41793 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41795 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
41797 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41798 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41799 * nscd/hstcache.c (cache_addhst): Likewise.
41800 * nscd/grpcache.c (cache_addgr): Likewise.
41801 * nscd/aicache.c (addhstaiX): Likewise
41803 2011-07-01 Andreas Schwab <schwab@redhat.com>
41805 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41806 domain only when needed.
41808 2011-06-30 Andreas Schwab <schwab@redhat.com>
41810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41811 is always restored.
41813 2011-06-29 Ulrich Drepper <drepper@gmail.com>
41815 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41816 are re-adding the entry.
41817 * nscd/servicescache.c (cache_addserv): Likewise.
41819 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41821 * sysdeps/generic/dl-irel.h: fix protection against multiple
41823 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41825 2011-06-28 Ulrich Drepper <drepper@gmail.com>
41828 * malloc/memusage.sh: Fix quoting in message.
41829 * debug/xtrace.sh: Likewise.
41831 * configure.in: Remove support for --experimental-malloc option, make
41833 * config.make.in: Likewise.
41834 * malloc/Makefile: Likewise.
41836 2011-06-27 Andreas Schwab <schwab@redhat.com>
41838 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41839 two-byte characters.
41841 2011-06-27 Roland McGrath <roland@hack.frob.com>
41843 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41844 AC_CACHE_CHECK invocation.
41845 * configure: Regenerated.
41847 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41849 2011-06-27 Ulrich Drepper <drepper@gmail.com>
41852 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41853 bit from old_res_options.
41855 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41857 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41858 value type for setfct.
41860 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41862 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41863 __gettimeofday instead of gettimeofday.
41865 2011-06-26 Ulrich Drepper <drepper@gmail.com>
41867 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41869 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41871 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41873 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41876 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41879 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41880 strcpy-sse2-unaligned strncpy-sse2-unaligned
41881 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41882 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41883 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41884 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41885 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41886 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41887 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41888 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41889 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41890 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41891 (STRCPY): Support SSE2 and SSSE3 versions.
41893 2011-06-24 Ulrich Drepper <drepper@gmail.com>
41896 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41897 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41898 kernels which artificially limit size of requests.
41900 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41903 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41904 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41905 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41906 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41907 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41908 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41909 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41912 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41913 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41914 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41915 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41916 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41918 Enable unaligned load optimization for Intel Core i3, i5 and i7
41920 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41922 (index_Fast_Unaligned_Load): Define.
41923 (HAS_FAST_UNALIGNED_LOAD): Define.
41925 2011-06-23 Marek Polacek <mpolacek@redhat.com>
41927 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41929 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41932 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41933 until it is clear that the information is realy needed.
41934 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41936 2011-06-22 Andreas Schwab <schwab@redhat.com>
41938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41940 2011-06-22 Ulrich Drepper <drepper@gmail.com>
41942 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41943 /sys/devices/system/cpu/online if it is usable.
41945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41946 reading the information from the /proc filesystem to once a second.
41948 2011-06-21 Andreas Jaeger <aj@suse.de>
41950 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41951 NULL after inclusion of kernel headers.
41953 2011-06-21 Ulrich Drepper <drepper@gmail.com>
41955 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41956 calls to internal_setent.
41959 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41960 addresses using gethostbyname4_r ignore IPv4 addresses.
41962 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41963 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41965 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41967 2011-06-20 David S. Miller <davem@davemloft.net>
41969 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41971 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41973 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41974 (elf_irel): Use it.
41975 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41976 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41977 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41978 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41979 * sysdeps/x86_64/dl-irel.h: Likewise.
41981 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41982 * elf/dl-sym.c: Likewise.
41984 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41986 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41987 need to dereference resplen2.
41989 2011-06-14 Andreas Schwab <schwab@redhat.com>
41991 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41993 2011-06-15 Ulrich Drepper <drepper@gmail.com>
41995 * Makeconfig: Define vardbdir and inst_vardbdir.
41996 * nss/Makefile: Add rules to install db-Makefile.
41998 * nss/nss_db/db-XXX.c: Cleanup.
42000 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42001 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42003 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42004 * nss/makedb.c: Implement -g option to specify that value strings
42005 are generated and should not be added to table iterated over for
42007 * nss/nss_db/db-initgroups.c: New file.
42009 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42012 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42013 (internal_getgrouplist): Adjust to name change.
42014 Update use_initgroups_entry if this is not the first call.
42015 * nss/databases.def: Add initgroups entry.
42017 * nss/makedb.c (compute_tables): Check result of multiple hash table
42018 sizes to minimize maximum chain length.
42020 2011-06-14 Ulrich Drepper <drepper@gmail.com>
42022 * Versions.def: Add entry for libnss_db.
42023 * shlib-versions: Likewise.
42024 * nss/Makefile: Add rules to build libnss_db.
42025 * nss/Versions: Add libnss_db information. Organize libnss_files
42027 * nss/db-Makefile: Add gshadow support. Change rules for the new
42028 makedb progra. Some minor improvements to generate smaller files.
42029 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42031 * nss/makedb.c: ...here.
42032 Improve database format to be smaller and require less memory at
42034 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42036 * nss/nss_db/db-netgrp.c: Likewise.
42037 * nss/nss_db/db-open.c: Likewise.
42038 * nss/nss_files/flies-XXX.x: Adjust comments.
42039 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42040 * nss/nss_files/files-grp.c: Likewise.
42041 * nss/nss_files/files-hosts.c: Likewise.
42042 * nss/nss_files/files-network.c: Likewise.
42043 * nss/nss_files/files-proto.c: Likewise.
42044 * nss/nss_files/files-pwd.c: Likewise.
42045 * nss/nss_files/files-rpc.c: Likewise.
42046 * nss/nss_files/files-service.c: Likewise.
42047 * nss/nss_files/files-sgrp.c: Likewise.
42048 * nss/nss_files/files-spwd.c: Likewise.
42049 * nss/nss_db/db-alias.c: Removed.
42050 * nss/nss_db/dummy-db.h: Removed.
42052 2011-06-02 Ulrich Drepper <drepper@gmail.com>
42054 * nss/makedb.c: Rewritten to not use database library.
42055 * nss/Makefile: Update to build new makedb program.
42057 2011-06-14 Andreas Jaeger <aj@suse.de>
42059 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42060 memset declaration.
42062 2011-06-10 Andreas Schwab <schwab@redhat.com>
42064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42067 2011-06-10 Roland McGrath <roland@hack.frob.com>
42069 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42070 * elf/Makefile ($(objpfx)ld.so): Likewise.
42072 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42073 Don't list ld.so twice in dependencies.
42075 * posix/bug-regex31.c: Include <stdlib.h>.
42077 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42079 * nis/nss_compat/compat-spwd.c
42080 (getspent_next_nss_netgr): Remove unused variable.
42081 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42083 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42084 nonmembers" output to use the right array.
42086 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42088 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42090 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42091 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42092 * catgets/gencat.c (read_input_file): Likewise.
42093 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42095 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42096 variable definition inside #if's controlling its use.
42098 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42100 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42102 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42104 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42107 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42109 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42110 * configure: Regenerated.
42112 * Makerules: Revert last change.
42113 * elf/Makefile: Likewise.
42115 2011-06-09 Roland McGrath <roland@hack.frob.com>
42117 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42118 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42119 (reloc-link): Likewise.
42121 2011-06-09 Ulrich Drepper <drepper@gmail.com>
42123 * elf/Makefile: Add rules to build pldd.
42124 * elf/pldd.c: New file.
42125 * elf/pldd-xx.c: New file.
42127 2011-06-07 Ulrich Drepper <drepper@gmail.com>
42129 * version.h: Update for 2.15 development version.
42131 2011-06-07 David S. Miller <davem@davemloft.net>
42133 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42136 elf_machine_lazy_rel): Likewise.
42137 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42138 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42139 elf_machine_lazy_rel): Likewise.
42140 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42141 dl_hwcap via passed in argument.
42142 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42145 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42147 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42149 2011-06-06 Roland McGrath <roland@hack.frob.com>
42152 * manual/fdl-1.1.texi: New file, verbatim from:
42153 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42154 * manual/lgpl-2.1.texi: New file, verbatim from:
42155 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42156 * manual/Makefile (licenses): New variable, list those new file names.
42158 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42160 * manual/fdl.texi: File removed.
42161 * manual/lesser.texi: File removed.
42162 * manual/libc.texinfo (Copying, Documentation License):
42163 Use new @include file names, put @appendix directive before @include.
42165 2011-06-04 Jakub Jelinek <jakub@redhat.com>
42168 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42169 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42170 (mq_open): Add __NTH.
42172 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42175 Assume Intel Core i3/i5/i7 processor if AVX is available.
42177 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42182 2011-05-31 Andreas Schwab <schwab@redhat.com>
42184 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42185 memory. Use alloca_account. Fix memory leak when retrying.
42187 2011-05-31 Ulrich Drepper <drepper@gmail.com>
42189 * version.h (RELEASE): Bump for 2.14 release.
42190 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42192 * config.make.in (RANLIB): Remove entry.
42194 2011-05-30 Ulrich Drepper <drepper@gmail.com>
42196 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42197 (libc.pot): Work around missing support for .ksh extension in xgettext.
42200 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42201 if both request failed.
42202 (send_dg): In case of server errors clear resplen or *resplen2.
42205 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42206 when there are multiple maps.
42207 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42208 (_dl_fini): Remove test here.
42210 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42212 2011-05-29 Ulrich Drepper <drepper@gmail.com>
42215 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42216 bit from old_res_options.
42217 (gaih_inet): Likewise.
42220 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42223 * resolv/res_init.c (res_setoptions): Make the code more compact.
42226 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42230 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42232 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42235 * malloc/malloc.h: Declare malloc hook variables as volatile.
42237 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42241 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42242 raise in the comment.
42243 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42245 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42247 2011-05-28 Ulrich Drepper <drepper@gmail.com>
42250 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42251 grow the buffers more if it already has to be sufficient.
42252 (build_wcs_upper_buffer): Likewise.
42253 * posix/regexec.c (check_matching): Likewise.
42254 (clean_state_log_if_needed): Likewise.
42255 (extend_buffers): Don't enlarge buffers beyond size of the input
42257 Patches mostly by Emil Wojak <emil@wojak.eu>.
42258 * posix/bug-regex32.c: New file.
42259 * posix/Makefile (tests): Add bug-regex32.
42261 * locale/findlocale.c (_nl_find_locale): Return right away if
42262 _nl_explode_name failed.
42263 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42265 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42267 * debug/xtrace.sh: Unify messages.
42268 * malloc/memusage.sh: Likewise.
42271 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42272 time symbol from vDSO. Substitute with vsyscall if not available.
42273 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42276 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42277 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42278 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42279 Add sendmmsg and internal_sendmmsg.
42280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42281 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42282 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42284 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42285 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42288 2011-05-27 Ulrich Drepper <drepper@gmail.com>
42291 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42292 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42294 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42298 * iconvdata/Makefile (tests): Add bug-iconv9.
42299 * iconvdata/bug-iconv9.c: New file.
42301 2011-05-27 Andreas Schwab <schwab@redhat.com>
42304 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42306 2011-05-25 Jakub Jelinek <jakub@redhat.com>
42308 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42309 (struct user_regs_struct): Change intcs field back to cs.
42311 2011-05-25 Ulrich Drepper <drepper@gmail.com>
42313 * po/ja.po: Update from translation team.
42315 2011-05-23 Ulrich Drepper <drepper@gmail.com>
42318 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42319 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42321 2011-05-20 Andreas Schwab <schwab@redhat.com>
42323 * stdlib/longlong.h: Update from GCC.
42325 2011-05-23 Andreas Schwab <schwab@redhat.com>
42327 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42329 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42330 Add parameter name.
42331 (__sysconf): Pass it down.
42333 2011-05-22 Ulrich Drepper <drepper@gmail.com>
42336 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42339 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42340 add in in __libc_use_alloca calls. Adjust callers.
42341 (glob): Use malloc in some situations.
42343 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42344 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42347 2011-05-21 Ulrich Drepper <drepper@gmail.com>
42349 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42350 and CLOCK_BOOTTIME_ALARM.
42353 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42356 * string/_strerror.c (__strerror_r): Print negative errors as signed
42360 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42361 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42362 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42364 * configure.in: Fix typo in redirection and correct removal of test
42365 files in two cases.
42368 * locale/setlocale.c (new_composite_name): Fix test to check for
42369 identical name of all categories.
42372 * libio/filedoalloc.c (local_isatty): New function.
42373 (_IO_file_doallocate): Use local_isatty.
42374 * stdio-common/perror.c (perror): In case a new stream is used
42375 forward the stream error.
42376 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42379 2011-05-20 Ulrich Drepper <drepper@gmail.com>
42382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42384 * include/alloca.h (extend_alloca_account): Define.
42387 * posix/regex.h: Fix comments with documentation of user-accessible
42388 fields after compilation and describe correct free'ing of pattern
42389 after re_compile_pattern.
42390 Patch by Reuben Thomas <rrt@sc3d.org>.
42392 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42394 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42395 and -mno-altivec to prevent the compiler from using Altivec and/or
42396 VSX instructions when the corresponding registers are not available.
42398 2011-05-19 Andreas Schwab <schwab@redhat.com>
42400 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42402 2011-05-19 Ulrich Drepper <drepper@gmail.com>
42404 * libio/freopen.c (freopen): Use __dup2, not dup2.
42405 * libio/freopen64.c (freopen64): Likewise.
42407 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42410 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42411 * math/Makefile (tests): Add test-powl.
42412 (CFLAGS-test-powl.c): Define.
42413 * math/test-powl.c: New file.
42415 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42417 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42419 2011-05-17 Ulrich Drepper <drepper@gmail.com>
42422 * iconvdata/gb18030.c: Update to GB18020-2005.
42424 2011-05-16 Ulrich Drepper <drepper@gmail.com>
42426 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42427 RE_SYNTAX_POSIX_AWK): Update to match recent development.
42428 Patch by Aharon Robbins <arnold@skeeve.com>.
42431 * stdlib/putenv.c (putenv): Don't always create copy of the variable
42435 * misc/pselect.c (__pselect): Handle timeout value errors hidden
42436 through underflows.
42439 * misc/error.c (error_at_line): Ensure file_name and old_file_name
42440 point to strings before performing equality test for error_one_per_line
42444 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42447 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42448 (struct user_fpregs_struct): Avoid __uint*_t types.
42451 * malloc/mtrace.c (tr_where): Add additional parameter to point to
42452 symbol info. Use it instead of calling _dl_addr locally.
42453 (lock_and_info): New function.
42454 (tr_freehook): Call lock_and_info and pass symbol info as additional
42455 parameter to tr_where.
42456 (tr_mallochook): Likewise.
42457 (tr_reallochook): Likewise.
42458 (tr_memalignhook): Likewise.
42460 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42461 used and couldn't be at all thread-safe.
42463 2011-05-15 Ulrich Drepper <drepper@gmail.com>
42465 * libio/freopen.c (freopen): Don't close old file descriptor
42466 before the new one is opened. Instead dup the new file descriptor
42467 to the old one after the new stream is created.
42468 * libio/freopen64.c (freopen64): Likewise.
42469 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42470 * libio/fileops.c (_IO_new_file_close_it): Handle new
42471 _IO_FLAGS2_NOCLOSE flag.
42472 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42473 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42474 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42475 _IO_FLAGS2_NOCLOSE flag.
42476 * include/unistd.h: Add hidden_proto for dup3.
42477 Define __have_dup3.
42478 * io/dup3.c: Define hidden symbol.
42479 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42482 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42483 when an incomplete long option is used.
42484 * posix/tst-getopt_long1.c: New file.
42485 * posix/Makefile (tests): Add tst-getopt_long1.
42488 * scripts/config.guess: Update from autoconf-2.68.
42489 * scripts/config.sub: Likewise.
42492 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42494 (has_cpuclock): ...this. New function.
42495 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42496 macro here based on has_cpuclock code.
42499 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42500 First byte (not low byte) is now always NUL.
42501 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42504 Use non-cancelable interfaces.
42507 * locale/iso-639.def: Add entry for Sorani.
42510 * include/stdlib.h: Move include protection to the right place.
42511 Define abort_msg_s. Declare __abort_msg with it.
42512 * stdlib/abort.c (__abort_msg): Adjust type.
42513 * assert/assert.c (__assert_fail_base): New function. Majority
42514 of code from __assert_fail. Allocate memory for __abort_msg with
42516 (__assert_fail): Now call __assert_fail_base.
42517 * assert/assert-perr.c: Remove bulk of implementation. Use
42518 __assert_fail_base.
42519 * include/assert.hL Declare __assert_fail_base.
42520 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42522 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42524 2011-05-14 Ulrich Drepper <drepper@gmail.com>
42528 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42529 until all modules are registered in the DTV.
42530 * elf/Makefile: Add rules to build and run tst-tls19.
42531 * elf/tst-tls19.c: New file.
42532 * elf/tst-tls19mod1.c: New file.
42533 * elf/tst-tls19mod2.c: New file.
42534 * elf/tst-tls19mod3.c: New file.
42535 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42538 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42542 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42543 two-byte sequence errors.
42544 * iconvdata/Makefile (tests): Add bug-iconv8.
42545 * iconvdata/bug-iconv8.c: New file.
42548 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42551 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42554 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42555 (dummy_getcfa): New function.
42556 (init): Get _Unwind_GetCFA address, use dummy if not found.
42557 (backtrace_helper): In recursion check, also check whether CFA changes.
42558 (__backtrace): Completely initialize arg.
42560 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42561 storing incomplete byte sequence in state object. Avoid testing for
42562 guaranteed too small input if we know there is enough data available.
42564 2011-05-11 Andreas Schwab <schwab@redhat.com>
42566 * Makeconfig (+link-pie): Indent.
42567 * Rules (binaries-pie): Define if $(have-fpie) and
42569 (binaries-shared): Also filter out $(binaries-pie).
42570 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42571 * nscd/Makefile (others-pie): Add nscd.
42572 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42573 ($(objpfx)nscd): Remove command override.
42574 * login/Makefile (others-pie): Add pt_chown.
42575 ($(objpfx)pt_chown): Remove command override.
42576 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42577 remove command overrides.
42579 2011-05-13 Ulrich Drepper <drepper@gmail.com>
42581 * libio/tst_putwc.c: Fix error messages.
42584 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42585 currently writing and seek to current position when not.
42586 * libio/Makefile (tests): Add bug-fclose1.
42587 * libio/bug-fclose1.c: New file.
42589 2011-05-12 Ulrich Drepper <drepper@gmail.com>
42592 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42593 don't set DF_1_NODELETE here.
42594 (do_lookup_x): When entering new entry test for copy relocation
42595 and if necessary set DF_1_NODELETE flag.
42596 * elf/tst-unique4.cc: New file.
42597 * elf/tst-unique4.h: New file.
42598 * elf/tst-unique4lib.cc: New file.
42599 * elf/Makefile: Add rules to build and run tst-unique4.
42600 Patch by Piotr Bury <pbury@goahead.com>.
42602 2011-05-11 Ulrich Drepper <drepper@gmail.com>
42605 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42608 * misc/mntent_r.c (addmntent): Flush the stream after the output
42611 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42612 (is_trusted_path_normalize): Skip initial colon. Append slash
42613 to empty buffer. Duplicate is_trusted_path code but allow
42614 constructed patch to be prefix.
42615 (is_dst): Allow $ORIGIN followed by /.
42616 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42617 Correct testing of result of is_trusted_path_normalize
42618 (decompose_rpath): Fix warning.
42620 2011-05-10 Ulrich Drepper <drepper@gmail.com>
42623 * grp/initgroups.c (internal_getgrouplist): When we found the service
42624 list through the initgroups entry in nsswitch.conf do not always
42625 continue on a successful lookup. Don't always use the
42626 __nss_group_database value if it is set.
42627 * nss/nsswitch.conf (initgroups): Change action for successful db
42628 lookup to continue for compatibility.
42630 2011-05-09 Ulrich Drepper <drepper@gmail.com>
42633 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42635 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42637 * iconvdata/tst-tables.sh: Likewise.
42638 * iconvdata/cp770.c: New file.
42639 * iconvdata/cp771.c: New file.
42640 * iconvdata/cp772.c: New file.
42641 * iconvdata/cp773.c: New file.
42642 * iconvdata/cp774.c: New file.
42643 * iconvdata/testdata/CP770: New file.
42644 * iconvdata/testdata/CP770..UTF8: New file.
42645 * iconvdata/testdata/CP771: New file.
42646 * iconvdata/testdata/CP771..UTF8: New file.
42647 * iconvdata/testdata/CP772: New file.
42648 * iconvdata/testdata/CP772..UTF8: New file.
42649 * iconvdata/testdata/CP773: New file.
42650 * iconvdata/testdata/CP773..UTF8: New file.
42651 * iconvdata/testdata/CP774: New file.
42652 * iconvdata/testdata/CP774..UTF8: New file.
42654 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42656 * iconvdata/gen-8bit-gap.sh: Likewise.
42657 * iconvdata/gen-8bit.sh: Likewise.
42659 * locale/iso-639.def: Add ary entry.
42662 * locale/C-translit.h.in: Add U20A1 transliteration.
42665 * locale/iso-639.def: Add wae entry.
42666 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42669 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42673 * locale/C-translit.h.in: Add entry for U20B9.
42674 Patch by pravin.d.s@gmail.com.
42676 2011-05-08 Ulrich Drepper <drepper@gmail.com>
42679 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42680 ENAMETOOLONG use generic getcwd.
42681 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42682 in rtld. Use *stat64.
42683 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42684 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42685 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42686 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42687 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42688 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42689 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42690 __fstatat64 macros.
42691 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42692 * dirent/rewinddir.c: Add libc_hidden_def.
42693 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42694 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42696 * include/dirent.h (__alloc_dir): Add flags parameter.
42697 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42698 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42700 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42701 from fdopendir if O_CLOEXEC is already set.
42703 2011-03-15 Alan Modra <amodra@gmail.com>
42705 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42706 l_tls_firstbyte_offset non-zero. Save padding offset in
42707 l_tls_firstbyte_offset for later use.
42708 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42709 freeing static tls block.
42711 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42713 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42714 where #ifdef was intended. The intent is to prevent ARG_MAX from
42715 being defined by the kernel headers.
42717 2011-05-07 Ulrich Drepper <drepper@gmail.com>
42720 * resolv/resolv.h: Define RES_NOTLDQUERY.
42721 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42722 no-tld-query and set RES_NOTLDQUERY.
42723 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42724 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42725 modern BIND to search name as TLD unless forbidden.
42727 2011-05-07 Petr Baudis <pasky@suse.cz>
42728 Ulrich Drepper <drepper@gmail.com>
42731 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42732 (is_trusted_path): ...to here.
42733 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42734 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42735 using is_trusted_path_normalize() in setuid scripts.
42737 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42739 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42740 __BEGIN/__END_DECLS.
42742 2011-05-06 Ulrich Drepper <drepper@gmail.com>
42744 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42745 NSS_STATUS_NOTFOUND if no record was found.
42747 2011-05-05 Andreas Schwab <schwab@redhat.com>
42749 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42750 (headers-not-in-tirpc): Remove rpc/netdb.h
42751 * resolv/netdb.h: Revert last change.
42753 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42755 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42756 circular dependency between libgcc.a and libc.a.
42758 2011-05-05 Andreas Schwab <schwab@redhat.com>
42760 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42761 * nis/Makefile: Don't install rpcsvc/*.
42762 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42763 instead of <rpc/types.h>.
42764 (MAXHOSTNAMELEN): Define.
42766 2011-05-03 Andreas Schwab <schwab@redhat.com>
42768 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42770 2011-04-28 Maciej Babinski <mbabinski@google.com>
42773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42774 gethostbyname4_r when IPv6 results are possible.
42776 2011-05-02 Ulrich Drepper <drepper@gmail.com>
42779 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42780 _PC_PIPE_BUF handling.
42782 2011-04-30 Bruno Haible <bruno@clisp.org>
42785 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42786 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42788 * inet/getnameinfo.c (getnameinfo): Likewise.
42790 2011-04-29 Ulrich Drepper <drepper@gmail.com>
42792 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42793 to groups setting in database lookup.
42794 * nss/nsswitch.conf: Add initgroups entry.
42796 2011-04-22 Ulrich Drepper <drepper@gmail.com>
42799 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42801 Patch by Eric Blake <eblake@redhat.com>.
42803 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42805 * sunrpc/Makefile (need-export-routines): Add svc_run.
42806 (routines): Remove svc_run.
42807 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42808 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42809 * sunrpc/svc_run.c (svc_run): Likewise.
42810 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42812 2011-04-21 Ulrich Drepper <drepper@gmail.com>
42814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42815 problem in reallocation in last patch.
42817 2011-04-20 Ulrich Drepper <drepper@gmail.com>
42819 * sunrpc/Makefile: Move inclusion of Rules.
42821 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42823 * nss/nss_files/files-initgroups.c: New file.
42824 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42825 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42826 _nss_files_initgroups_dyn.
42828 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42830 * elf/elf.h (R_ARM_IRELATIVE): Define.
42832 2011-04-19 Ulrich Drepper <drepper@gmail.com>
42834 * po/ru.po: Update from translation team.
42836 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42838 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42841 2011-02-06 Mike Frysinger <vapier@gentoo.org>
42844 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42845 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42846 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42847 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42848 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42850 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42852 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42854 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42856 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42858 2011-04-17 Ulrich Drepper <drepper@gmail.com>
42861 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42863 * stdlib/bug-getcontext.c: New file.
42864 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42866 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42868 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42869 instructions into .machine "z9-109".
42870 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42871 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42873 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42875 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42876 between environment variables and auxiliary vector.
42878 2011-04-16 Ulrich Drepper <drepper@gmail.com>
42880 * Makefile: Add rules to build linkobj/libc.so.
42881 * include/libc-symbols.h: Define libc_hidden_nolink.
42882 * include/rpc/auth.h: Mark functions which are to be hidden.
42883 * include/rpc/auth_des.h: Likewise.
42884 * include/rpc/auth_unix.h: Likewise.
42885 * include/rpc/clnt.h: Likewise.
42886 * include/rpc/des_crypt.h: Likewise.
42887 * include/rpc/key_prot.h: Likewise.
42888 * include/rpc/pmap_clnt.h: Likewise.
42889 * include/rpc/pmap_prot.h: Likewise.
42890 * include/rpc/pmap_rmt.h: Likewise.
42891 * include/rpc/rpc_msg.h: Likewise.
42892 * include/rpc/svc.h: Likewise.
42893 * include/rpc/svc_auth.h: Likewise.
42894 * include/rpc/xdr.h: Likewise.
42895 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42896 * nss/Makefile: Likewise.
42897 * sunrpc/Makefile: Don't install headers. Build library with normal
42898 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42899 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42900 for the compat linking library. Remove use of INTDEF/INTUSE.
42901 * sunrpc/auth_none.c: Likewise.
42902 * sunrpc/auth_unix.c: Likewise.
42903 * sunrpc/authdes_prot.c: Likewise.
42904 * sunrpc/authuxprot.c: Likewise.
42905 * sunrpc/clnt_gen.c: Likewise.
42906 * sunrpc/clnt_perr.c: Likewise.
42907 * sunrpc/clnt_raw.c: Likewise.
42908 * sunrpc/clnt_simp.c: Likewise.
42909 * sunrpc/clnt_tcp.c: Likewise.
42910 * sunrpc/clnt_udp.c: Likewise.
42911 * sunrpc/clnt_unix.c: Likewise.
42912 * sunrpc/des_crypt.c: Likewise.
42913 * sunrpc/des_soft.c: Likewise.
42914 * sunrpc/get_myaddr.c: Likewise.
42915 * sunrpc/key_call.c: Likewise.
42916 * sunrpc/key_prot.c: Likewise.
42917 * sunrpc/netname.c: Likewise.
42918 * sunrpc/pm_getmaps.c: Likewise.
42919 * sunrpc/pm_getport.c: Likewise.
42920 * sunrpc/pmap_clnt.c: Likewise.
42921 * sunrpc/pmap_prot.c: Likewise.
42922 * sunrpc/pmap_prot2.c: Likewise.
42923 * sunrpc/pmap_rmt.c: Likewise.
42924 * sunrpc/publickey.c: Likewise.
42925 * sunrpc/rpc_cmsg.c: Likewise.
42926 * sunrpc/rpc_common.c: Likewise.
42927 * sunrpc/rpc_dtable.c: Likewise.
42928 * sunrpc/rpc_prot.c: Likewise.
42929 * sunrpc/rpc_thread.c: Likewise.
42930 * sunrpc/rtime.c: Likewise.
42931 * sunrpc/svc.c: Likewise.
42932 * sunrpc/svc_auth.c: Likewise.
42933 * sunrpc/svc_authux.c: Likewise.
42934 * sunrpc/svc_raw.c: Likewise.
42935 * sunrpc/svc_run.c: Likewise.
42936 * sunrpc/svc_simple.c: Likewise.
42937 * sunrpc/svc_tcp.c: Likewise.
42938 * sunrpc/svc_udp.c: Likewise.
42939 * sunrpc/svc_unix.c: Likewise.
42940 * sunrpc/svcauth_des.c: Likewise.
42941 * sunrpc/xcrypt.c: Likewise.
42942 * sunrpc/xdr.c: Likewise.
42943 * sunrpc/xdr_array.c: Likewise.
42944 * sunrpc/xdr_float.c: Likewise.
42945 * sunrpc/xdr_intXX_t.c: Likewise.
42946 * sunrpc/xdr_mem.c: Likewise.
42947 * sunrpc/xdr_rec.c: Likewise.
42948 * sunrpc/xdr_ref.c: Likewise.
42949 * sunrpc/xdr_sizeof.c: Likewise.
42950 * sunrpc/xdr_stdio.c: Likewise.
42952 2011-04-10 Ulrich Drepper <drepper@gmail.com>
42955 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42956 * sysdeps/ia64/dl-tls.h: Likewise.
42957 * sysdeps/powerpc/dl-tls.h: Likewise.
42958 * sysdeps/s390/dl-tls.h: Likewise.
42959 * sysdeps/sh/dl-tls.h: Likewise.
42960 * sysdeps/sparc/dl-tls.h: Likewise.
42961 * sysdeps/x86_64/dl-tls.h: Likewise.
42962 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42964 2011-03-14 Andreas Schwab <schwab@redhat.com>
42966 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42967 rpath element also skip the following colon.
42968 (expand_dynamic_string_token): Add is_path parameter and pass
42969 down to DL_DST_REQUIRED and _dl_dst_substitute.
42970 (decompose_rpath): Call expand_dynamic_string_token with
42971 non-zero is_path. Ignore empty rpaths.
42972 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42975 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42980 2011-04-09 Ulrich Drepper <drepper@gmail.com>
42983 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42984 Patch by Filipe David Manana <fdmanana@apache.org>.
42986 2011-04-07 Andreas Schwab <schwab@redhat.com>
42988 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42989 Maintain aligned stack.
42990 (CHECK_RSP): Remove unused macro.
42992 2011-04-03 Ulrich Drepper <drepper@gmail.com>
42994 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42995 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42997 2011-04-02 Ulrich Drepper <drepper@gmail.com>
42999 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43001 * include/features.h: Mention __USE_XOPEN2K8 in comment.
43003 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43006 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43007 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43008 * sysdeps/x86_64/memmove.c: New file.
43009 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43010 (memcpy): Renamed to ...
43011 (__new_memcpy): This.
43012 (memcpy): Provide GLIBC_2_14 memcpy.
43013 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43014 (memcpy): Provide GLIBC_2_2_5 memcpy.
43016 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43019 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43021 2011-03-30 Andreas Schwab <schwab@redhat.com>
43023 * misc/syncfs.c: New file.
43024 * misc/Makefile (routines): Add syncfs.
43025 * posix/unistd.h: Declare syncfs.
43026 * sysdeps/unix/syscalls.list: Add syncfs.
43028 2011-04-01 Andreas Schwab <schwab@redhat.com>
43030 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43033 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43035 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43037 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43040 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43042 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43043 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43044 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43050 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43051 sync_file_range.c with -fexceptions.
43052 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43053 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43054 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43055 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43056 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43057 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43058 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43059 sync_file_range as cancellation point
43060 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43061 now a wrapper around __call_sync_file_range with cancellation handling.
43062 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43063 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43064 function name to __call_sync_file_range.
43065 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43066 Add call_sync_file_range.
43068 2011-04-01 Andreas Schwab <schwab@redhat.com>
43070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43073 2011-04-01 Ulrich Drepper <drepper@gmail.com>
43075 * iconv/iconv.h: Fix typo in comment.
43076 * io/fcntl.h: Likewise.
43077 * libio/stdio.h: Likewise.
43078 * posix/spawn.h: Likewise.
43079 * posix/unistd.h: Likewise.
43080 * stdlib/stdlib.h: Likewise.
43081 * time/time.h: Likewise.
43082 * wcsmbs/wchar.h: Likewise.
43084 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43085 open_by_handle): Add.
43086 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43087 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43088 Augment a few comments.
43089 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43090 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43091 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43093 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43094 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43097 * io/fcntl.h (AT_EMPTY_PATH): Define.
43099 2011-03-30 Ulrich Drepper <drepper@gmail.com>
43101 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43102 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43103 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43105 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
43106 * Versions.def: Add GLIBC_2.14.
43107 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43110 2011-03-22 Ulrich Drepper <drepper@gmail.com>
43112 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43114 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43116 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43119 * string/test-strncmp.c (do_page_test): New function.
43120 (check2): Likewise.
43121 (test_main): Call check2.
43122 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43124 2011-03-20 Ulrich Drepper <drepper@gmail.com>
43127 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43128 Handle cache information in CPU leaf 4.
43129 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43131 2011-03-18 Ulrich Drepper <drepper@gmail.com>
43134 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43135 character representation.
43136 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43138 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43140 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43141 END(__isnan) to END(__isnanf) to match function entry point/label
43142 EALIGN(__isnanf,...).
43144 2011-03-10 Jakub Jelinek <jakub@redhat.com>
43146 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43148 2011-03-10 Ulrich Drepper <drepper@gmail.com>
43151 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43152 copy from the symbol referenced in the relocation to initialize the
43154 Patch by Piotr Bury <pbury@goahead.com>.
43155 * elf/Makefile: Add rules to build and tst-unique3.
43156 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43157 * elf/tst-unique3.cc: New file.
43158 * elf/tst-unique3.h: New file.
43159 * elf/tst-unique3lib.cc: New file.
43160 * elf/tst-unique3lib2.cc: New file.
43162 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43164 2011-03-10 Mike Frysinger <vapier@gentoo.org>
43166 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43167 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43170 2011-03-06 Ulrich Drepper <drepper@gmail.com>
43172 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43173 to-be-loaded object along a path to loader is ld.so.
43175 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43176 Ulrich Drepper <drepper@gmail.com>
43178 * sysdeps/x86_64/memset.S: After aligning destination, code
43179 branches to different locations depending on the value of
43180 misalignment, when multiarch is enabled. Fix this.
43182 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43184 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43185 Set _x86_64_preferred_memory_instruction for AMD processsors.
43186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43187 Set bit_Prefer_SSE_for_memop for AMD processors.
43189 2011-03-04 Ulrich Drepper <drepper@gmail.com>
43191 * libio/fmemopen.c (fmemopen): Optimize a bit.
43193 2011-03-03 Andreas Schwab <schwab@redhat.com>
43195 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43197 2011-03-03 Roland McGrath <roland@redhat.com>
43199 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43201 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43203 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43204 __bzero_ultra1 instead of __memset_ultra1.
43206 2011-02-23 Andreas Schwab <schwab@redhat.com>
43207 Ulrich Drepper <drepper@gmail.com>
43210 * include/link.h (struct link_map): Add l_orig_initfini.
43211 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43212 returning unsuccessfully.
43213 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43214 close of a file loaded at startup, restore the original l_initfini
43216 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43217 list, store the pointer.
43218 * elf/Makefile ($(objpfx)noload-mem): New rule.
43219 (noload-ENV): Define.
43220 (tests): Add $(objpfx)noload-mem.
43221 * elf/noload.c: Include <memcheck.h>.
43222 (main): Call mtrace. Close all opened handles.
43224 2011-02-17 Andreas Schwab <schwab@redhat.com>
43227 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43228 dependencies are missing.
43230 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43232 Fix __if_freereq crash: Unlike the generic version which uses free,
43234 * sysdeps/mach/hurd/ifreq.h: New file.
43236 2011-01-27 Petr Baudis <pasky@suse.cz>
43237 Ulrich Drepper <drepper@gmail.com>
43240 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43241 to extend_alloca().
43242 * stdio-common/bug23.c: New file.
43243 * stdio-common/Makefile (tests): Add bug23.
43245 2010-09-28 Andreas Schwab <schwab@redhat.com>
43246 Ulrich Drepper <drepper@gmail.com>
43249 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43250 before performing relro protection. At old place add assertion
43251 to make sure nothing changed.
43253 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43254 Glauber de Oliveira Costa <glommer@gmail.com>
43256 * elf/elf.h: Add new ARM TLS relocs.
43258 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43261 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43263 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43265 * sysdeps/wordsize-64/tst-writev.c: New file.
43267 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43269 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43270 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43271 insns in _dl_start to prevent a TOC reference before relocs are
43274 2011-02-15 Ulrich Drepper <drepper@gmail.com>
43277 * Makeconfig: Remove RANLIB definition.
43278 * Makerules: Don't use RANLIB.
43279 * aclocal.m4: Remove ranlib test.
43280 * configure.in: No need to check for ranlib.
43281 * elf/rtld-Rules: Don't use RANLIB.
43283 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43285 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43287 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43288 inclusion protection macro.
43290 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43291 SIGRTMIN and SIGRTMAX and print information in that case only when
43292 SIGRTMIN is defined.
43294 2011-02-11 Jakub Jelinek <jakub@redhat.com>
43296 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43297 arginfo fn returning -1.
43299 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43300 and thousands string is zero terminated.
43302 2011-02-03 Andreas Schwab <schwab@redhat.com>
43304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43305 sysdeps/unix/sysv/linux/bits/socket.h.
43307 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43309 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43310 (__CPU_COUNT): Remove old macros.
43311 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43312 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43313 (__CPU_ALLOC, __CPU_FREE): Add macros.
43314 (__sched_cpualloc, __sched_cpufree): Add declarations.
43316 2011-02-05 Ulrich Drepper <drepper@gmail.com>
43318 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43319 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43320 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43321 (readdhstai): Return value of addhstaiX call.
43322 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43323 (addgrbyX): Return value returned by cache_addgr.
43324 (readdgrbyname): Return value returned by addgrbyX.
43325 (readdgrbygid): Likewise.
43326 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43327 (addpwbyX): Return value returned by cache_addpw.
43328 (readdpwbyname): Return value returned by addhstbyX.
43329 (readdpwbyuid): Likewise.
43330 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43331 (addservbyX): Return value returned by cache_addserv.
43332 (readdservbyname): Return value returned by addservbyX:
43333 (readdservbyport): Likewise.
43334 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43335 (addhstbyX): Return value returned by cache_addhst.
43336 (readdhstbyname): Return value returned by addhstbyX.
43337 (readdhstbyaddr): Likewise.
43338 (readdhstbynamev6): Likewise.
43339 (readdhstbyaddrv6): Likewise.
43340 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43341 (readdinitgroups): Return value returned by addinitgroupsX.
43342 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43343 (prune_cache): Keep track of timeout value of re-added entries.
43344 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43345 * nscd/nscd.h: Adjust prototypes of readd* functions.
43347 2011-02-04 Roland McGrath <roland@redhat.com>
43349 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43350 (nis_stats): Likewise.
43351 * nis/nis_modify.c (nis_modify): Likewise.
43352 * nis/nis_remove.c (nis_remove): Likewise.
43353 * nis/nis_add.c (nis_add): Likewise.
43355 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43357 * posix/fnmatch_loop.c: Add some consts.
43359 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43361 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43364 * config.make.in (config-cflags-novzeroupper): Define.
43365 * configure.in: Substitute libc_cv_cc_novzeroupper.
43366 * elf/Makefile (AVX-CFLAGS): Define.
43367 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43368 (CFLAGS-tst-auditmod4a.c): Likewise.
43369 (CFLAGS-tst-auditmod4b.c): Likewise.
43370 (CFLAGS-tst-auditmod6b.c): Likewise.
43371 (CFLAGS-tst-auditmod6c.c): Likewise.
43372 (CFLAGS-tst-auditmod7b.c): Likewise.
43373 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43375 2011-02-02 Ulrich Drepper <drepper@gmail.com>
43377 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43378 function to the callback.
43379 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43381 2011-02-02 Andreas Schwab <schwab@redhat.com>
43383 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43386 2011-01-19 Ulrich Drepper <drepper@gmail.com>
43389 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43391 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43393 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43396 * elf/Makefile: Add rules to build and run new test.
43397 * elf/tst-initorder.c: New file.
43398 * elf/tst-initorder.exp: New file.
43399 * elf/tst-initordera1.c: New file.
43400 * elf/tst-initordera2.c: New file.
43401 * elf/tst-initordera3.c: New file.
43402 * elf/tst-initordera4.c: New file.
43403 * elf/tst-initorderb1.c: New file.
43404 * elf/tst-initorderb2.c: New file.
43405 * elf/tst-order-a1.c: New file.
43406 * elf/tst-order-a2.c: New file.
43407 * elf/tst-order-a3.c: New file.
43408 * elf/tst-order-a4.c: New file.
43409 * elf/tst-order-b1.c: New file.
43410 * elf/tst-order-b2.c: New file.
43411 * elf/tst-order-main.c: New file.
43412 New test case by George Gensure <werkt0@gmail.com>.
43414 2010-10-01 Andreas Schwab <schwab@redhat.com>
43416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43417 decoding ACE if AI_CANONIDN.
43419 2011-01-18 Ulrich Drepper <drepper@gmail.com>
43421 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43423 2011-01-17 Ulrich Drepper <drepper@gmail.com>
43425 * version.h (RELEASE): Bump for 2.13 release.
43426 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43428 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43430 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43432 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43433 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43434 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43435 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43437 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43439 * posix/getconf.c: Update copyright year.
43440 * catgets/gencat.c: Likewise.
43441 * csu/version.c: Likewise.
43442 * debug/catchsegv.sh: Likewise.
43443 * debug/xtrace.sh: Likewise.
43444 * elf/ldconfig.c: Likewise.
43445 * elf/ldd.bash.in: Likewise.
43446 * elf/sprof.c (print_version): Likewise.
43447 * iconv/iconv_prog.c: Likewise.
43448 * iconv/iconvconfig.c: Likewise.
43449 * locale/programs/locale.c: Likewise.
43450 * locale/programs/localedef.c: Likewise.
43451 * malloc/memusage.sh: Likewise.
43452 * malloc/mtrace.pl: Likewise.
43453 * nscd/nscd.c (print_version): Likewise.
43454 * nss/getent.c: Likewise.
43456 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43457 PF_CAIF, and PF_ALG.
43458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43460 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43462 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43463 (modules-names): Use them.
43464 (ifunc-test-modules, ifunc-pie-tests): Define.
43465 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43466 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43467 (test-extras): Likewise.
43468 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43469 $(compile-command.c).
43470 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43471 (all-built-dso): Define.
43472 (check-textrel.out, check-execstack.out): Depend on it.
43474 * configure.in: Don't override --enable-multi-arch.
43476 2011-01-15 Ulrich Drepper <drepper@gmail.com>
43479 * nscd/hstcache.c (tryagain): Define.
43480 (cache_addhst): Return tryagain not notfound for temporary errors.
43481 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43484 2011-01-14 Ulrich Drepper <drepper@gmail.com>
43487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43488 to make the syscall.
43489 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43492 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43493 and fall back to matching as normal character if the string ends before
43494 the matching ']' is found. This is what POSIX requires.
43495 * posix/testfnm.c: Adjust test result.
43496 * posix/globtest.sh: Adjust test result. Add new test.
43497 * posix/tst-fnmatch.input: Likewise.
43498 * posix/tst-fnmatch2.c: Add new test.
43500 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43502 * elf/Makefile (check-execstack): Revert last change. Depend on
43504 (check-execstack.h): New target.
43505 (generated): Add check-execstack.h.
43506 * elf/check-execstack.c: Include "check-execstack.h".
43507 (main): Revert last change.
43508 (handle_file): Return zero if GNU_STACK is absent and
43509 DEFAULT_STACK_PERMS doesn't include PF_X.
43511 2011-01-13 Ulrich Drepper <drepper@gmail.com>
43513 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43514 in child fails because the descriptor is already closed.
43515 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43516 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43517 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43520 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43524 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43525 temporary buffer used to handle multi lookups locally.
43526 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43528 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43530 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43533 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43535 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43536 alignment for SSE2.
43538 2011-01-12 Ulrich Drepper <drepper@gmail.com>
43541 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43542 characters. When rounding increased number of integer digits recompute
43544 * stdio-common/tst-grouping.c: New file.
43545 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43547 2011-01-09 Ulrich Drepper <drepper@gmail.com>
43549 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43550 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43552 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43554 * bits/select.h: Likewise.
43556 2011-01-08 Ulrich Drepper <drepper@gmail.com>
43558 * po/ja.po: Update from translation team.
43560 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
43563 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43564 implementation just like for lxstat, fxstatat, et al.
43566 2010-12-27 Jim Meyering <meyering@redhat.com>
43569 * posix/regexec.c (build_trtable): Return failure indication upon
43570 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43572 2010-12-25 Ulrich Drepper <drepper@gmail.com>
43575 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43576 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43577 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43578 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43581 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43584 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43585 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43587 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43589 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43590 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43591 script has SORT_BY_INIT_PRIORITY.
43592 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43593 NO_CTORS_DTORS_SECTIONS is defined.
43594 * elf/soinit.c: Likewise.
43595 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43596 NO_CTORS_DTORS_SECTIONS is defined.
43597 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43598 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43599 * sysdeps/sh/init-first.c: Likewise.
43600 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43602 2010-12-24 Ulrich Drepper <drepper@gmail.com>
43604 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43605 always use the slow path.
43607 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43609 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43610 similar rule which adds the sysdep directories to the header search in
43611 order to pick up the correct platform stackinfo.h.
43612 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43613 perform test if it is, otherwise return successfully without testing.
43614 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43615 DEFAULT_STACK_PERMS define in stackinfo.h.
43616 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43617 defined in stackinfo.h.
43618 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43619 DEFAULT_STACK_PERMS defined in stackinfo.h.
43620 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43621 * sysdeps/ia64/stackinfo.h: Likewise.
43622 * sysdeps/s390/stackinfo.h: Likewise.
43623 * sysdeps/sh/stackinfo.h: Likewise.
43624 * sysdeps/sparc/stackinfo.h: Likewise.
43625 * sysdeps/x86_64/stackinfo.h: Likewise.
43626 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43627 PF_X for powerpc64. Retain PF_X for powerpc32.
43629 2010-12-19 Ulrich Drepper <drepper@gmail.com>
43631 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43633 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43634 GETDENTS_64BIT_ALIGNED.
43636 2010-12-14 Ulrich Drepper <dreper@gmail.com>
43638 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43640 2010-12-10 Andreas Schwab <schwab@redhat.com>
43642 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43645 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43646 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43648 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43649 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43651 2010-12-09 Ulrich Drepper <drepper@gmail.com>
43654 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43657 2010-12-09 Jakub Jelinek <jakub@redhat.com>
43659 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43661 2010-12-03 Ulrich Drepper <drepper@gmail.com>
43663 * po/it.po: Update from translation team.
43665 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43670 2010-11-30 Ulrich Drepper <drepper@gmail.com>
43672 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43674 2010-11-24 Andreas Schwab <schwab@redhat.com>
43676 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43678 (gaih_getanswer_slice): Likewise.
43680 2010-10-20 Jakub Jelinek <jakub@redhat.com>
43682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43684 2010-05-31 Petr Baudis <pasky@suse.cz>
43687 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43688 silently even in the chroot mode.
43690 2010-11-22 Ulrich Drepper <drepper@gmail.com>
43692 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43693 last patch a bit. Pretty printing
43695 2010-05-31 Petr Baudis <pasky@suse.cz>
43698 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43699 initialization of skip_initgroups_dyn.
43701 2010-11-19 Ulrich Drepper <drepper@gmail.com>
43703 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43704 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43706 2010-11-16 Ulrich Drepper <drepper@gmail.com>
43708 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43710 2010-11-11 Andreas Schwab <schwab@redhat.com>
43712 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43713 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43714 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43715 ($(objpfx)tst-fnmatch-mem): New rule.
43716 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43717 * posix/tst-fnmatch.c (main): Call mtrace.
43719 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43722 Support Intel processor model 6 and model 0x2c.
43724 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
43726 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43729 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43732 * string/test-strncasecmp.c (check_result): New function.
43733 (do_one_test): Use it.
43734 (check1): New function.
43735 (test_main): Use it.
43736 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43737 Support strcasecmp and strncasecmp.
43739 2010-11-08 Ulrich Drepper <drepper@gmail.com>
43742 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43743 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43745 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43747 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43751 * sysdeps/x86_64/multiarch/bzero.S: New file.
43752 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43753 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43754 * sysdeps/x86_64/multiarch/memset.S: New file.
43755 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43757 Set bit_Prefer_SSE_for_memop for Intel processors.
43758 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43760 (index_Prefer_SSE_for_memop): Define.
43761 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43763 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
43765 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43766 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43768 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43771 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43772 (__x86_64_raw_data_cache_size_half): Likewise.
43773 (__x86_64_raw_shared_cache_size): Likewise.
43774 (__x86_64_raw_shared_cache_size_half): Likewise.
43776 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43777 (__x86_64_raw_data_cache_size_half): Likewise.
43778 (__x86_64_raw_shared_cache_size): Likewise.
43779 (__x86_64_raw_shared_cache_size_half): Likewise.
43780 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43781 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43782 and __x86_64_raw_shared_cache_size_half. Round
43783 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43784 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43785 to multiple of 256 bytes.
43787 2010-11-03 Ulrich Drepper <drepper@gmail.com>
43790 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43791 of inacessible symlinks. Verify result of symlink before returning it.
43792 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43793 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43795 2010-10-28 Erich Ritz <erichritz@gmail.com>
43797 * math/math.h (isinf): Fix typo in comment.
43799 2010-11-01 Ulrich Drepper <drepper@gmail.com>
43801 * po/da.po: Update from translation team.
43803 2010-10-26 Ulrich Drepper <drepper@gmail.com>
43805 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43806 is added to the list.
43808 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43809 Ulrich Drepper <drepper@gmail.com>
43811 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43812 the global list here. Move code to...
43813 (_dl_add_to_namespace_list): ...here. New function.
43814 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43815 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43816 * elf/dl-load.c (lose): Don't remove the element from the list.
43817 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43818 (_dl_map_object): Likewise.
43820 2010-10-25 Ulrich Drepper <drepper@gmail.com>
43823 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43824 into all bytes of SSE register.
43825 Patch by Richard Li <richardpku@gmail.com>.
43827 2010-10-24 Ulrich Drepper <drepper@gmail.com>
43830 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43833 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43835 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43836 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43837 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43838 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43843 2010-10-22 Andreas Schwab <schwab@redhat.com>
43845 * include/dlfcn.h (__RTLD_SECURE): Define.
43846 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43847 mode & __RTLD_SECURE instead.
43848 (open_path): Rename preloaded parameter to secure.
43849 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43850 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43851 * elf/dl-deps.c (openaux): Likewise.
43852 * elf/rtld.c (struct map_args): Remove is_preloaded.
43853 (map_doit): Don't use it.
43854 (dl_main): Likewise.
43855 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43856 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43858 2010-09-09 Andreas Schwab <schwab@redhat.com>
43860 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43861 (sysd-rules-targets): Remove duplicates.
43862 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43863 rtld-%.$o dependency.
43865 2010-10-18 Andreas Schwab <schwab@redhat.com>
43867 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43868 _dl_map_object do it.
43870 2010-10-19 Ulrich Drepper <drepper@gmail.com>
43872 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43873 fast fma builtins, define the macros in the C99 standard.
43874 (FP_FAST_FMAF): Likewise.
43875 (FP_FAST_FMAL): Likewise.
43876 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43878 * bits/mathdef.h: Update copyright year.
43879 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43881 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43883 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43884 builtins, define the macros in the C99 standard.
43885 (FP_FAST_FMAF): Likewise.
43886 (FP_FAST_FMAL): Likewise.
43887 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43889 (FP_FAST_FMAF): Likewise.
43891 2010-10-15 Jakub Jelinek <jakub@redhat.com>
43894 * math/libm-test.inc (fma_test): Some new testcases.
43895 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43896 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43897 y and infinite z. Do multiplication by C already in long double.
43898 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43900 y and infinite z. Do bitwise or of inexact bit into u.d.
43901 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43902 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43903 * sysdeps/i386/fpu/s_fma.S: Removed.
43904 * sysdeps/i386/fpu/s_fmal.S: Removed.
43906 2010-10-16 Jakub Jelinek <jakub@redhat.com>
43909 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43911 computation is not scheduled after fetestexcept. Fix value
43912 of minimum denormal long double.
43914 2010-10-14 Jakub Jelinek <jakub@redhat.com>
43917 * math/libm-test.inc (fma_test): Add some more tests.
43918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43921 2010-10-15 Andreas Schwab <schwab@redhat.com>
43923 * scripts/data/localplt-s390-linux-gnu.data: New file.
43924 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43926 2010-10-13 Jakub Jelinek <jakub@redhat.com>
43929 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43930 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43932 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43934 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43936 if one of x and y is very large and the other is subnormal.
43937 * sysdeps/s390/fpu/s_fmaf.c: New file.
43938 * sysdeps/s390/fpu/s_fma.c: New file.
43939 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43940 * sysdeps/powerpc/fpu/s_fma.S: New file.
43941 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43942 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43943 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43945 2010-10-12 Jakub Jelinek <jakub@redhat.com>
43948 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43950 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43951 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43952 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43953 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43954 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43955 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43956 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43958 2010-10-12 Ulrich Drepper <drepper@redhat.com>
43961 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43962 * posix/bug-regex31.input: Add test case.
43964 2010-10-11 Ulrich Drepper <drepper@gmail.com>
43966 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43967 * posix/bug-regex31.input: New file.
43970 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43971 (parse_sub_exp): Fix last change, use postorder.
43973 * posix/bug-regex31.c: New file.
43974 * posix/Makefile: Add rules to build and run bug-regex31.
43976 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43979 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43982 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43983 to have entries in sys_siglist.
43986 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43989 2010-10-07 Jakub Jelinek <jakub@redhat.com>
43992 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43993 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43994 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43995 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43996 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43997 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43998 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43999 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44000 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44001 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44002 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44003 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44004 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44005 * math/ftestexcept.c (fetestexcept): Likewise.
44006 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44007 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44008 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44009 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44010 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44011 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44012 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44014 2010-10-11 Ulrich Drepper <drepper@gmail.com>
44017 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44020 2010-10-06 Ulrich Drepper <drepper@gmail.com>
44022 * string/bug-strstr1.c: New file.
44023 * string/Makefile: Add rules to build and run bug-strstr1.
44025 2010-10-05 Eric Blake <eblake@redhat.com>
44028 * string/str-two-way.h (two_way_long_needle): Always clear memory
44029 when skipping input due to the shift table.
44031 2010-10-03 Ulrich Drepper <drepper@gmail.com>
44034 * malloc/mcheck.c: Handle large requests.
44037 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44038 for strncmp and strncasecmp.
44039 * string/stratcliff.c: Add tests for strcmp and strncmp.
44040 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44042 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44044 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44047 2010-09-30 Andreas Jaeger <aj@suse.de>
44049 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44050 (CGROUP_SUPER_MAGIC): Define.
44051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44052 Handle btrfs and cgroup file systems.
44053 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44056 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
44058 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44059 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44061 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44064 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44065 trying to locate the ELF header.
44067 2010-09-27 Andreas Schwab <schwab@redhat.com>
44070 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44071 Mask out sign-bit copies when constructing f_fsid.
44073 2010-09-24 Petr Baudis <pasky@suse.cz>
44075 * debug/stack_chk_fail_local.c: Add missing licence exception.
44076 * debug/warning-nop.c: Likewise.
44078 2010-09-15 Joseph Myers <joseph@codesourcery.com>
44080 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44081 implementing getdents64 using getdents syscall, set d_type if
44082 __ASSUME_GETDENTS32_D_TYPE.
44084 2010-09-16 Andreas Schwab <schwab@redhat.com>
44086 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44087 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44089 2010-09-21 Ulrich Drepper <drepper@redhat.com>
44092 * posix/unistd.h: Undo change of feature selection for ftruncate from
44095 2010-09-20 Ulrich Drepper <drepper@redhat.com>
44097 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44100 2010-09-20 Andreas Schwab <schwab@redhat.com>
44102 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44104 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44106 2010-09-14 Andreas Schwab <schwab@redhat.com>
44108 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44109 variables after CHECK_SP call.
44110 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44112 2010-09-13 Andreas Schwab <schwab@redhat.com>
44113 Ulrich Drepper <drepper@redhat.com>
44115 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44116 re-relocationg ld.so.
44117 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44118 _dl_init_paths call.
44119 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44122 2010-09-14 Ulrich Drepper <drepper@redhat.com>
44124 * resolv/res_init.c (__res_vinit): Count the default server we added.
44126 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44127 Ulrich Drepper <drepper@redhat.com>
44130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44131 (____longjmp_chk): Use %ebx for saving value across system call.
44134 2010-09-06 Andreas Schwab <schwab@redhat.com>
44136 * manual/Makefile: Don't mix pattern rules with normal rules.
44138 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44140 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44142 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44143 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44144 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44145 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44149 2010-09-04 Ulrich Drepper <drepper@redhat.com>
44152 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44153 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44155 2010-09-02 Ulrich Drepper <drepper@redhat.com>
44157 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44158 * sysdeps/x86_64/addmul_1.S: Likewise.
44159 * sysdeps/x86_64/lshift.S: Likewise.
44160 * sysdeps/x86_64/mul_1.S: Likewise.
44161 * sysdeps/x86_64/rshift.S: Likewise.
44162 * sysdeps/x86_64/sub_n.S: Likewise.
44163 * sysdeps/x86_64/submul_1.S: Likewise.
44165 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44167 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44168 Define __sched_param instead of SCHED_* and sched_param when
44169 <bits/sched.h> is included with __need_schedparam defined.
44170 * bits/sched.h [__need_schedparam]
44171 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44172 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44173 (__defined_schedparam): Define to 1.
44174 (__sched_param): New structure, identical to sched_param.
44175 (__need_schedparam): Undefine.
44177 2010-08-31 Mike Frysinger <vapier@gentoo.org>
44179 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44180 (epoll_create1): Declare.
44182 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44184 2010-08-31 Andreas Schwab <schwab@redhat.com>
44187 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44188 shifting retval into place.
44190 2010-09-01 Ulrich Drepper <drepper@redhat.com>
44192 * nis/rpcsvc/nis.h: Update copyright notice.
44193 * nis/rpcsvc/nis.x: Likewise.
44194 * nis/rpcsvc/nis_callback.h: Likewise.
44195 * nis/rpcsvc/nis_callback.x: Likewise.
44196 * nis/rpcsvc/nis_object.x: Likewise.
44197 * nis/rpcsvc/nis_tags.h: Likewise.
44198 * nis/rpcsvc/yp.h: Likewise.
44199 * nis/rpcsvc/yp.x: Likewise.
44200 * nis/rpcsvc/ypupd.h: Likewise.
44201 * nis/yp_xdr.c: Likewise.
44202 * nis/ypupdate_xdr.c: Likewise.
44204 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44205 mainly the body of pmap_getport. Add parameters to specify timeouts.
44206 (pmap_getport): Use __libc_rpc_getport.
44207 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44208 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44209 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44211 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44216 2010-08-27 Roland McGrath <roland@redhat.com>
44218 * sysdeps/i386/i686/multiarch/Makefile
44219 (CFLAGS-varshift.c): New variable.
44221 2010-08-27 Ulrich Drepper <drepper@redhat.com>
44223 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44224 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44228 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44230 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44232 * sysdeps/x86_64/strlen.S: Unroll the loop.
44233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44234 strlen-sse2 strlen-sse2-bsf.
44235 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44236 __strlen_no_bsf if bit_Slow_BSF is set.
44237 (__strlen_sse42): Removed.
44238 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44239 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44241 2010-08-25 Roland McGrath <roland@redhat.com>
44243 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44244 * sysdeps/x86_64/multiarch/varshift.c: New file.
44245 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44246 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44247 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44248 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44250 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44253 strlen-sse2 strlen-sse2-bsf.
44254 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44255 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44256 (__strlen_sse2): Removed.
44257 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44258 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44260 bit_Slow_BSF for Atom.
44261 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44262 (index_Slow_BSF): Define.
44263 (HAS_SLOW_BSF): Define.
44265 2010-08-25 Ulrich Drepper <drepper@redhat.com>
44268 * resolv/res_init.c (__res_vinit): When no server address at all
44269 is given default to loopback.
44271 2010-08-24 Roland McGrath <roland@redhat.com>
44273 * configure.in: Remove config-name.h generation.
44274 * configure: Regenerated.
44275 * config-name.in: File removed.
44276 * scripts/config-uname.sh: New file.
44277 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44278 ($(objdir)config-name.h): New target.
44280 * sunrpc/rpc_parse.h: Avoid nested comment.
44282 2010-08-24 Richard Henderson <rth@redhat.com>
44283 Ulrich Drepper <drepper@redhat.com>
44284 H.J. Lu <hongjiu.lu@intel.com>
44286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44288 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44289 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44290 _mm_alignr_epi8 with _mm_loadu_si128.
44291 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44292 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44293 (__m128i_shift_right): Removed.
44294 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44295 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44296 * sysdeps/x86_64/multiarch/varshift.h: New file.
44297 * sysdeps/x86_64/multiarch/varshift.S: New file.
44299 2010-08-21 Mike Frysinger <vapier@gentoo.org>
44301 * configure.in: Move assembler checks to before sysdep dir checking.
44303 2010-08-20 Petr Baudis <pasky@suse.cz>
44305 * LICENSES: Sync the sunrpc license.
44307 2010-08-19 Ulrich Drepper <drepper@redhat.com>
44309 * sunrpc/auth_des.c: Update copyright notice once again.
44310 * sunrpc/auth_none.c: Likewise.
44311 * sunrpc/auth_unix.c: Likewise.
44312 * sunrpc/authdes_prot.c: Likewise.
44313 * sunrpc/authuxprot.c: Likewise.
44314 * sunrpc/bindrsvprt.c: Likewise.
44315 * sunrpc/clnt_gen.c: Likewise.
44316 * sunrpc/clnt_perr.c: Likewise.
44317 * sunrpc/clnt_raw.c: Likewise.
44318 * sunrpc/clnt_simp.c: Likewise.
44319 * sunrpc/clnt_tcp.c: Likewise.
44320 * sunrpc/clnt_udp.c: Likewise.
44321 * sunrpc/clnt_unix.c: Likewise.
44322 * sunrpc/des_crypt.c: Likewise.
44323 * sunrpc/des_soft.c: Likewise.
44324 * sunrpc/get_myaddr.c: Likewise.
44325 * sunrpc/getrpcport.c: Likewise.
44326 * sunrpc/key_call.c: Likewise.
44327 * sunrpc/key_prot.c: Likewise.
44328 * sunrpc/openchild.c: Likewise.
44329 * sunrpc/pm_getmaps.c: Likewise.
44330 * sunrpc/pm_getport.c: Likewise.
44331 * sunrpc/pmap_clnt.c: Likewise.
44332 * sunrpc/pmap_prot.c: Likewise.
44333 * sunrpc/pmap_prot2.c: Likewise.
44334 * sunrpc/pmap_rmt.c: Likewise.
44335 * sunrpc/rpc/auth.h: Likewise.
44336 * sunrpc/rpc/auth_unix.h: Likewise.
44337 * sunrpc/rpc/clnt.h: Likewise.
44338 * sunrpc/rpc/des_crypt.h: Likewise.
44339 * sunrpc/rpc/key_prot.h: Likewise.
44340 * sunrpc/rpc/netdb.h: Likewise.
44341 * sunrpc/rpc/pmap_clnt.h: Likewise.
44342 * sunrpc/rpc/pmap_prot.h: Likewise.
44343 * sunrpc/rpc/pmap_rmt.h: Likewise.
44344 * sunrpc/rpc/rpc.h: Likewise.
44345 * sunrpc/rpc/rpc_des.h: Likewise.
44346 * sunrpc/rpc/rpc_msg.h: Likewise.
44347 * sunrpc/rpc/svc.h: Likewise.
44348 * sunrpc/rpc/svc_auth.h: Likewise.
44349 * sunrpc/rpc/types.h: Likewise.
44350 * sunrpc/rpc/xdr.h: Likewise.
44351 * sunrpc/rpc_clntout.c: Likewise.
44352 * sunrpc/rpc_cmsg.c: Likewise.
44353 * sunrpc/rpc_common.c: Likewise.
44354 * sunrpc/rpc_cout.c: Likewise.
44355 * sunrpc/rpc_dtable.c: Likewise.
44356 * sunrpc/rpc_hout.c: Likewise.
44357 * sunrpc/rpc_main.c: Likewise.
44358 * sunrpc/rpc_parse.c: Likewise.
44359 * sunrpc/rpc_parse.h: Likewise.
44360 * sunrpc/rpc_prot.c: Likewise.
44361 * sunrpc/rpc_sample.c: Likewise.
44362 * sunrpc/rpc_scan.c: Likewise.
44363 * sunrpc/rpc_scan.h: Likewise.
44364 * sunrpc/rpc_svcout.c: Likewise.
44365 * sunrpc/rpc_tblout.c: Likewise.
44366 * sunrpc/rpc_util.c: Likewise.
44367 * sunrpc/rpc_util.h: Likewise.
44368 * sunrpc/rpcinfo.c: Likewise.
44369 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44370 * sunrpc/rpcsvc/key_prot.x: Likewise.
44371 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44372 * sunrpc/rpcsvc/mount.x: Likewise.
44373 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44374 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44375 * sunrpc/rpcsvc/rex.x: Likewise.
44376 * sunrpc/rpcsvc/rstat.x: Likewise.
44377 * sunrpc/rpcsvc/rusers.x: Likewise.
44378 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44379 * sunrpc/rpcsvc/spray.x: Likewise.
44380 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44381 * sunrpc/rtime.c: Likewise.
44382 * sunrpc/svc.c: Likewise.
44383 * sunrpc/svc_auth.c: Likewise.
44384 * sunrpc/svc_authux.c: Likewise.
44385 * sunrpc/svc_raw.c: Likewise.
44386 * sunrpc/svc_run.c: Likewise.
44387 * sunrpc/svc_simple.c: Likewise.
44388 * sunrpc/svc_tcp.c: Likewise.
44389 * sunrpc/svc_udp.c: Likewise.
44390 * sunrpc/svc_unix.c: Likewise.
44391 * sunrpc/svcauth_des.c: Likewise.
44392 * sunrpc/xcrypt.c: Likewise.
44393 * sunrpc/xdr.c: Likewise.
44394 * sunrpc/xdr_array.c: Likewise.
44395 * sunrpc/xdr_float.c: Likewise.
44396 * sunrpc/xdr_mem.c: Likewise.
44397 * sunrpc/xdr_rec.c: Likewise.
44398 * sunrpc/xdr_ref.c: Likewise.
44399 * sunrpc/xdr_sizeof.c: Likewise.
44400 * sunrpc/xdr_stdio.c: Likewise.
44402 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44405 2010-08-19 Andreas Schwab <schwab@redhat.com>
44407 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44409 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
44411 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44412 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44413 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44414 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44415 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44416 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44417 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44418 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44419 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44420 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44421 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44422 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44423 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44424 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44426 2010-07-26 Anton Blanchard <anton@samba.org>
44428 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44429 * malloc/arena.c (heap_trim): Likewise.
44431 2010-08-16 Ulrich Drepper <drepper@redhat.com>
44433 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44436 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44438 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
44440 * sysdeps/i386/elf/Makefile: New file.
44442 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44444 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44445 from fanotify_init.
44446 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44449 2010-08-15 Ulrich Drepper <drepper@redhat.com>
44451 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44453 * sysdeps/multiarch/strcmp.S: Likewise.
44455 2010-08-14 Ulrich Drepper <drepper@redhat.com>
44457 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44458 strncase_l-nonascii.
44459 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44460 Add strncase_l-ssse3.
44461 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44462 * sysdeps/x86_64/strcmp.S: Likewise.
44463 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44464 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44465 * sysdeps/x86_64/strncase.S: New file.
44466 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44467 * sysdeps/x86_64/strncase_l.S: New file.
44468 * string/Makefile (strop-tests): Add strncasecmp.
44469 * string/test-strncasecmp.c: New file.
44471 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44474 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44475 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44477 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44479 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44481 2010-08-12 Ulrich Drepper <drepper@redhat.com>
44483 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44484 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44485 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44487 2010-05-01 Alan Modra <amodra@gmail.com>
44489 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44490 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44491 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44492 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44493 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44494 tidying. Don't tail-call __sigjmp_save for static lib.
44495 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44497 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44498 (CALL_MCOUNT): Add eh info, and nop after bl.
44499 (TAIL_CALL_SYSCALL_ERROR): New macro.
44500 (PSEUDO_RET): Use it.
44501 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44502 Correct save location of integer regs and cr.
44503 (_dl_profile_resolve): Correct cr save location. Delete nops
44504 after bl when SHARED. Reduce cfi size a little by better
44505 placement of cfi directives.
44506 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44507 make a stack frame. Instead use parm save area as a temp.
44508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44509 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44511 Don't make a stack frame for parent, use parm save area.
44512 Increase child stack frame to 112 bytes. Don't save unused reg,
44513 and adjust reg usage. Set up cfi on error recovery and
44514 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44516 (__makecontext): Add dummy nop after jump to exit.
44517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44518 Use correct parm save area and cr save, reduce stack frame.
44519 Correct cfi for possible PSEUDO_RET frame setup.
44520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44521 Branch to local label emitted by PSEUDO_RET rather than
44524 2010-08-12 Andreas Schwab <schwab@redhat.com>
44527 * locale/programs/locale.c (print_assignment): New function.
44528 (show_locale_vars): Use it.
44530 2010-08-11 Ulrich Drepper <drepper@redhat.com>
44532 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44534 (struct statfs64): Likewise.
44535 (_STATFS_F_FLAGS): Define.
44536 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44537 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44538 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44539 (ST_VALID): Define locally.
44540 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44541 __statvfs_getflags, use the provided value.
44542 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44543 __ASSUME_STATFS_F_FLAGS.
44545 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44547 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44548 Add sys/fanotify.h.
44549 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44550 fanotify_mask for GLIBC_2.13.
44551 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44552 fanotify_init and fanotify_mark.
44553 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44554 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44556 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44558 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44559 prlimit64 for GLIBC_2.13.
44560 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44565 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44566 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44567 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44570 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44573 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44574 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44576 * nss/Makefile: Add rules to build and run tst-nss-test1.
44577 * shlib-versions: Add entry for libnss_test1.
44578 * nss/nss_test1.c: New file.
44579 * nss/tst-nss-test1.c: New file.
44581 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44582 (__nss_configure_lookup): Set appropriate entry in
44583 __nss_configure_lookup to true.
44584 * nss/nsswitch.h: Define enum with indeces of databases in
44585 databases and __nss_database_custom arrays. Declare
44586 __nss_database_custom.
44587 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44588 to avoid using nscd when custom rules are installed.
44589 * nss/getXXbyYY_r.c: Likewise.
44590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44592 * nss/nss_files/files-parse.c: Whitespace fixes.
44594 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44597 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44598 * posix/fnmatch_loop.c: Likewise.
44600 2010-07-17 Andi Kleen <ak@linux.intel.com>
44602 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44603 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44604 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44605 * Versions.def [GLIBC_2.13]: Add.
44607 2010-08-06 Ulrich Drepper <drepper@redhat.com>
44609 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44610 Also fail if tpwd after pwuid call is NULL.
44612 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44614 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44615 when converting to ms.
44617 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44619 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44620 EOPNOTSUPP errors with ENOTTY.
44621 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44622 EOPNOTSUPP errors with ENOTTY.
44624 2010-07-31 Ulrich Drepper <drepper@redhat.com>
44626 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44627 Add strcasecmp_l-ssse3.
44628 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44630 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44631 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44632 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44634 2010-07-30 Ulrich Drepper <drepper@redhat.com>
44636 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44638 * string/Makefile (strop-tests): Add strcasecmp.
44639 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44640 strcasecmp_l-nonascii.
44641 (gen-as-const-headers): Add locale-defines.sym.
44642 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44643 * sysdeps/x86_64/strcasecmp.S: New file.
44644 * sysdeps/x86_64/strcasecmp_l.S: New file.
44645 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44646 * sysdeps/x86_64/locale-defines.sym: New file.
44647 * string/test-strcasecmp.c: New file.
44649 * string/test-strcasestr.c: Test both ends of the range of characters.
44650 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44652 2010-07-29 Roland McGrath <roland@redhat.com>
44655 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44657 2010-07-27 Ulrich Drepper <drepper@redhat.com>
44659 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44662 2010-07-27 Andreas Schwab <schwab@redhat.com>
44664 * manual/memory.texi (Malloc Tunable Parameters): Document
44667 2010-07-26 Roland McGrath <roland@redhat.com>
44670 * configure.in (-fgnu89-inline check): Set and substitute
44671 gnu89_inline, not libc_cv_gnu89_inline.
44672 * configure: Regenerated.
44673 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44675 2010-07-26 Ulrich Drepper <drepper@redhat.com>
44677 * string/test-strnlen.c: New file.
44678 * string/Makefile (strop-tests): Add strnlen.
44679 * string/tester.c (test_strnlen): Add a few more test cases.
44680 * string/tst-strlen.c: Better error reporting.
44682 * sysdeps/x86_64/strnlen.S: New file.
44684 2010-07-24 Ulrich Drepper <drepper@redhat.com>
44686 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44687 lower-latency instructions.
44689 2010-07-23 Ulrich Drepper <drepper@redhat.com>
44691 * string/test-strcasestr.c: New file.
44692 * string/test-strstr.c: New file.
44693 * string/Makefile (strop-tests): Add strstr and strcasestr.
44694 * string/str-two-way.h: Don't undefine MAX.
44695 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44697 2010-07-21 Andreas Schwab <schwab@redhat.com>
44699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44700 strcasestr-nonascii.
44701 (CFLAGS-strcasestr-nonascii.c): Define.
44702 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44703 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44704 Remove unused attribute.
44706 2010-07-20 Roland McGrath <roland@redhat.com>
44708 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44709 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44710 ld.so.cache was broken. With it, there is no way to disable dsocaps
44711 like LD_HWCAP_MASK can disable hwcaps.
44713 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44715 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44717 2010-07-16 Ulrich Drepper <drepper@redhat.com>
44719 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44720 call in strcasestr.
44721 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44722 __strcasestr_sse42_nonascii.
44723 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44724 strcasestr-nonascii.c.
44725 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44727 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
44729 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44730 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44731 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44732 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44734 2010-07-09 Ulrich Drepper <drepper@redhat.com>
44736 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44739 2010-07-06 Andreas Schwab <schwab@redhat.com>
44742 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44745 2010-07-06 Ulrich Drepper <drepper@redhat.com>
44747 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44748 _PC_PIPE_BUF using F_GETPIPE_SZ.
44750 2010-07-05 Roland McGrath <roland@redhat.com>
44752 * manual/arith.texi (Rounding Functions): Fix rint description
44753 implicit in round description.
44755 2010-07-02 Ulrich Drepper <drepper@redhat.com>
44757 * elf/Makefile: Fix linking for a few tests to make recent linker
44760 2010-06-30 Andreas Schwab <schwab@redhat.com>
44762 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44763 $(common-objpfx)libc_nonshared.a.
44765 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
44767 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44768 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44769 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44770 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44771 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44772 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44773 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44774 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44789 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44790 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44791 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44792 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44793 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44794 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44795 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44796 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44797 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44798 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44799 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44800 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44816 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44818 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44819 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44820 * string/memmove.c (memmove): Renamed to ...
44821 (MEMMOVE): ...this. Default to memmove.
44822 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44823 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44826 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44827 mempcpy-ssse3-back memmove-ssse3-back.
44828 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44829 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44830 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44831 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44832 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44833 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44834 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44835 * sysdeps/x86_64/multiarch/memmove.c: New file.
44836 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44837 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44838 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44839 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44840 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44841 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44843 (index_Fast_Copy_Backward): Define.
44844 (HAS_ARCH_FEATURE): Define.
44845 (HAS_FAST_REP_STRING): Define.
44846 (HAS_FAST_COPY_BACKWARD): Define.
44848 2010-06-21 Andreas Schwab <schwab@redhat.com>
44850 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44851 Restore proper fallback handling.
44853 2010-06-19 Ulrich Drepper <drepper@redhat.com>
44856 * posix/group_member.c (__group_member): Correct checking loop.
44858 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44859 OOM in getpwuid_r correctly. Return error number when the caller
44860 should return, otherwise -1.
44861 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44862 call returning > 0 value.
44863 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44865 2010-06-07 Andreas Schwab <schwab@redhat.com>
44867 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44868 libc_nonshared.a from targets in modules-names.
44870 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44872 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44875 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
44877 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44879 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44882 2010-06-02 Andreas Schwab <schwab@redhat.com>
44884 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44886 2010-06-14 Ulrich Drepper <drepper@redhat.com>
44888 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44890 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44894 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44895 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44897 2010-06-14 Roland McGrath <roland@redhat.com>
44899 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44901 2010-06-07 Jakub Jelinek <jakub@redhat.com>
44903 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44904 __REDIRECT followed by __THROW.
44905 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44906 * posix/getopt.h (getopt): Likewise.
44908 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44910 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44911 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44912 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44914 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44915 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44917 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
44919 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44921 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44925 Properly check family and model.
44927 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44929 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44931 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
44933 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44935 2010-05-21 Ulrich Drepper <drepper@redhat.com>
44937 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44940 2010-05-19 Andreas Schwab <schwab@redhat.com>
44942 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44945 2010-05-21 Andreas Schwab <schwab@redhat.com>
44947 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44948 and internal_recvmmsg.
44949 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44950 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44951 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44952 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44954 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44955 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44956 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44958 2010-05-20 Andreas Schwab <schwab@redhat.com>
44960 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44962 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
44964 POWER7 optimizations.
44965 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44966 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44968 2010-05-19 Ulrich Drepper <drepper@redhat.com>
44970 * version.h: Update for 2.13 development version.
44972 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
44974 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44975 exceptions. Return 0.
44977 2010-05-07 Roland McGrath <roland@redhat.com>
44979 * elf/ldconfig.c (main): Add a const.
44981 2010-05-06 Ulrich Drepper <drepper@redhat.com>
44983 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44984 (args_options): Add no-idn option.
44985 (ahosts_keys_int): Add idn_flags to ai_flags.
44986 (parse_option): Handle 'i' option to clear idn_flags.
44988 * malloc/malloc.c (_int_free): Possible race in the most recently
44989 added check. Only act on the data if no current modification
44992 See ChangeLog.17 for earlier changes.