alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/
[glibc.git] / ChangeLog
blob4a5331726add4a3d00319275e2986f3433ab3087
1 2014-05-23  Richard Henderson  <rth@twiddle.net>
3         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
18         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
21         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
22         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
23         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
29         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
32         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
39         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
42         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
47         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
49         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
52         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
53         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
54         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
55         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
56         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
57         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
58         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
59         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
60         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
61         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
62         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
63         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
65         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
66         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
67         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
68         before exiting on error.
69         (__libc_vfork): New strong alias.
70         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
71         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
73         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
74         that was previously under [RESET_PID].
75         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
77         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
79 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
81         [BZ #16977]
82         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
83         value when x - 1 is zero.
84         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
85         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
86         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
87         0.0L for an argument of 1.0L.
88         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
89         Likewise.
90         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
91         value when x - 1 is zero.
92         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
93         * sysdeps/i386/fpu/libm-test-ulps: Update.
94         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
96 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
98         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
99         alphasort and versionsort.
101 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
103         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
104         macro.
105         [copysignf]: Likewise.
107 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
109         * crypt/md5-crypt.c: Fix formatting.
111 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
113         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
114         (b64_from_24bit): New function.
116 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
118         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
119         libc_hidden_builtin_def to ifunc.
120         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
121         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
123 2014-05-21  Roland McGrath  <roland@hack.frob.com>
125         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
126         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
128 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
130         * nscd/Depend (linuxthreads): Remove.
131         (nptl): Add.
132         * resolv/Depend (linuxthreads): Remove.
133         * rt/Depend (linuxthreads): Remove.
135         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
136         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
137         $(common-objpfx)elf/.
138         (link-libc-before-gnulib): Likewise.
139         (elfobjdir): Remove variable.
140         * Makefile (install): Use $(elf-objpfx) instead of
141         $(common-objpfx)elf/.
142         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
143         $(elfobjdir)/.
144         (link-libc-deps): Likewise.
145         ($(common-objpfx)libc.so): Likewise.
146         ($(common-objpfx)linkobj/libc.so): Likewise.
147         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
148         instead of $(common-objpfx)elf/.
149         (symbolic-link-list): Likewise.
150         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
151         [$(cross-compiling) = no]: Likewise.
152         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
153         $(elfobjdir)/.
154         (static-gnulib-arch): Likewise.
155         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
156         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
157         $(common-objpfx)elf/.
159 2014-05-21  Richard Henderson  <rth@redhat.com>
161         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
162         (SINGLE_THREAD_P): Use the correct width load.  Fold
163         into the ldr offset.
165         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
166         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
168 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
170         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
171         (libgcc_s_resume): Use __attribute_used__.
172         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
173         Likewise.
175 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
177         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
178         optimization when used with float constants.
180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
182 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
184         [BZ #16915]
185         * locale/nl_langinfo_l.c: Make direct reference to every
186         _nl_current_CATEGORY symbol.
187         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
188         (tests-static): Add tst-langinfo-static.
189         (tests-special): Add tst-langinfo-static.out.
190         ($(objpfx)tst-langinfo.out): Redirect output.
191         ($(objpfx)tst-langinfo-static.out): New.
192         * localedata/tst-langinfo.sh: Send output to stdout.
193         * localedata/tst-langinfo-static.c: New file.
195         [BZ #16965]
196         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
197         when the shift amount is modulo the limb size.
199 2014-05-20  Richard Henderson  <rth@redhat.com>
201         [BZ #16967]
202         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
203         Change type of sa_flags from unsigned int to int.
205         [BZ #16966]
206         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
208         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
210 2014-05-20  Will Newton  <will.newton@linaro.org>
212         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
213         Test the return value of the system call in the nocancel case.
215 2014-05-20  Will Newton  <will.newton@linaro.org>
216             Yvan Roux  <yvan.roux@linaro.org>
218         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
219         #include of asm/ptrace.h.
220         (PTRACE_GET_THREAD_AREA): Remove #undef.
221         (PTRACE_GETHBPREGS): Likewise.
222         (PTRACE_SETHBPREGS): Likewise.
223         (struct user_regs_struct): New structure.
224         (struct user_fpsimd_struct): New structure.
225         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
226         #include of asm/ptrace.h and second #include of sys/user.h.
227         (PTRACE_GET_THREAD_AREA): Remove #undef.
228         (PTRACE_GETHBPREGS): Likewise.
229         (PTRACE_SETHBPREGS): Likewise.
230         (ELF_NGREG): Use new struct user_regs_struct.
231         (elf_fpregset_t): Use new struct user_fpsimd_struct.
233 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
235         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
236         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
238 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
240         [BZ #16958]
241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
242         membar to avoid block loads/stores to overlap previous stores.
244 2014-05-17  Richard Henderson  <rth@redhat.com>
246         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
247         Create the __##syscall_name##_nocancel entry point.
248         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
249         Remove; let the sysdep-cancel.h code create it.
251 2014-05-17  David S. Miller  <davem@davemloft.net>
253         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
254         Protect with __USE_GNU.
255         (TIOCSET_TEMPT): Likewise.
256         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
257         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
258         these are already provided in bits/ioctl-types.h
260 2014-05-16  Roland McGrath  <roland@hack.frob.com>
262         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
263         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
265         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
266         Use wait4 regardless of [__NR_waitpid].
268 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
270         PR libgcc/60166
271         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
272         (_FP_NANSIGN_Q): Set the quiet bit.
274 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
276         * benchtests/Makefile
277         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
278         not $(common-objpfx)math/libm.so.
279         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
280         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
281         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
282         $(common-objpfx)dlfcn/libdl.so.
283         ($(objpfx)tst-audit8): Depend on $(libm), not
284         $(common-objpfx)math/libm.so.
285         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
286         not $(common-objpfx)dlfcn/libdl.so.
287         * math/Makefile
288         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
289         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
290         [$(build-shared) = yes].
291         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
292         $(common-objpfx)nptl/libpthread.so.
293         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
294         $(common-objpfx)math/libm.so$(libm.so-version) or
295         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
296         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
297         $(common-objpfx)dlfcn/libdl.so.
298         * setjmp/Makefile (link-libm): Remove variable.
299         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
300         * stdio-common/Makefile (link-libm): Remove variable.
301         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
302         * stdlib/Makefile (link-libm): Remove variable.
303         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
304         ($(objpfx)tst-strtod-round): Likewise.
305         ($(objpfx)tst-tininess): Likewise.
306         ($(objpfx)tst-strtod-underflow): Likewise.
307         ($(objpfx)tst-strtod6): Likewise.
308         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
309         $(libdl), not $(common-objpfx)nptl/libpthread.so and
310         $(common-objpfx)dlfcn/libdl.so.
312 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
314         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
315         BSD terminal modes definitions.
317 2014-05-16  Roland McGrath  <roland@hack.frob.com>
319         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
320         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
322         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
323         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
324         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
325         Don't do #include_next.
326         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
327         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
328         Don't do #include_next.
329         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
330         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
331         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
332         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
334 2014-05-16  Allan McRae  <allan@archlinux.org>
336         * po/sv.po: Update Swedish translation from translation project.
338         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
339         in sed expression.
341 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
343         [BZ #16917]
344         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
345         errno if the TIOCGPTN ioctl fails with an error different than
346         EINVAL.
347         * login/tst-ptsname.c: New file.
348         * login/Makefile (tests): Add tst-ptsname.
350         [BZ #16943]
351         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
352         and prlimit64.
354 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
356         [BZ #16849]
357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
358         herrno to return EAI_AGAIN.
360 2014-05-14  Roland McGrath  <roland@hack.frob.com>
362         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
363         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
364         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
365         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
366         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
367         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
368         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
369         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
370         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
371         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
372         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
373         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
374         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
375         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
376         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
377         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
378         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
379         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
380         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
381         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
382         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
383         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
384         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
385         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
386         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
387         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
388         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
389         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
390         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
391         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
393         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
395         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
397         Moved ...
398         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
400         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
402         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
404         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
406         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
408         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
410         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
412         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
414         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
416         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
418         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
420         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
422         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
423         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
424         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
426         Moved ...
427         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
429         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
431         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
433         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
435         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
437         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
439         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
443         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
445         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
447         Moved ...
448         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
450         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
452         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
453         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
454         (libpthread-sysdep_routines): Add elision-related stuff here instead.
455         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
456         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
457         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
458         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
459         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
460         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
461         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
462         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
463         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
464         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
465         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
466         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
467         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
468         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
469         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
470         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
471         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
472         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
473         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
474         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
475         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
476         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
477         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
478         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
479         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
480         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
481         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
482         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
484         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
485         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
487         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
488         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
489         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
490         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
491         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
492         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
493         Moved ...
494         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
495         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
496         Moved ...
497         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
498         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
499         Moved ...
500         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
501         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
502         Moved ...
503         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
504         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
505         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
506         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
507         Moved ...
508         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
509         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
510         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
512         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
513         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
514         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
515         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
516         Moved ...
517         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
518         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
519         Moved ...
520         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
521         ... here.
522         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
523         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
524         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
525         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
526         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
527         Moved ...
528         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
529         ... here.
530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
531         Moved ...
532         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
533         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
534         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
535         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
536         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
537         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
538         Moved ...
539         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
540         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
541         Moved ...
542         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
543         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
544         Moved ...
545         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
546         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
547         Moved ...
548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
549         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
550         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
551         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
552         Moved ...
553         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
554         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
555         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
557         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
558         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
559         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
560         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
561         Moved ...
562         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
563         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
564         Moved ...
565         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
566         ... here.
567         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
568         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
569         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
570         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
571         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
572         Moved ...
573         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
574         ... here.
575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
576         Moved ...
577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
578         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
579         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
580         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
581         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
582         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
584         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
585         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
586         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
587         Moved ...
588         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
589         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
590         Moved ...
591         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
592         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
593         Moved ...
594         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
595         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
596         Moved ...
597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
598         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
599         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
600         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
601         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
602         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
603         Moved ...
604         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
605         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
606         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
607         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
608         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
609         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
610         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
611         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
612         Moved ...
613         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
614         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
615         Moved ...
616         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
617         ... here.
618         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
619         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
620         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
621         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
622         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
623         Moved ...
624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
625         ... here.
626         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
627         Moved ...
628         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
629         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
630         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
631         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
632         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
633         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
634         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
635         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
636         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
637         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
638         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
640         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
641         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
643         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
644         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
646         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
647         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
648         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
649         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
650         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
651         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
652         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
653         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
654         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
655         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
656         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
657         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
658         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
659         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
660         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
661         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
662         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
663         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
664         Moved ...
665         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
666         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
668         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
669         Moved ...
670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
671         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
672         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
673         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
674         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
675         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
676         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
677         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
678         Moved ...
679         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
680         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
681         Moved ...
682         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
683         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
684         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
686         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
687         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
688         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
689         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
690         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
691         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
692         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
693         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
694         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
695         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
696         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
697         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
698         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
700         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
701         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
702         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
703         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
704         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
706         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
707         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
708         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
709         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
710         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
711         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
712         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
713         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
714         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
715         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
718         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
720         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
721         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
722         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
723         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
724         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
725         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
726         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
727         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
728         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
729         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
730         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
731         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
732         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
733         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
735         Update #include.
736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
737         Likewise.
738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
739         Likewise.
740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
741         Likewise.
742         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
743         Likewise.
744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
745         Likewise.
746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
747         Likewise.
748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
749         Likewise.
750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
751         Likewise.
752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
753         Likewise.
754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
758         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
759         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
760         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
761         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
762         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
763         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
764         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
766         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
767         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
768         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
770         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
771         that was previously under [RESET_PID].
772         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
773         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
774         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
776         * sysdeps/i386/nptl/Implies: New file.
777         * sysdeps/x86_64/nptl/Implies: New file.
778         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
779         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
780         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
781         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
783         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
784         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
785         (__libc_vfork): New strong alias.
786         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
787         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
789         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
790         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
791         (__libc_vfork): New strong alias.
792         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
793         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
795         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
796         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
797         (__libc_vfork): New strong alias.
798         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
799         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
800         * nptl/pt-vfork.c: New file.
801         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
802         (libpthread: GLIBC_2.20): New version set (empty).
804 2014-05-14  Will Newton  <will.newton@linaro.org>
806         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
807         rather than #if.
809 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
811         [BZ #16564]
812         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
813         arguments with exponent 65 or above.
814         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
815         arguments 0x1p113L or above.
816         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
817         to arguments 0x1p107L or above.
818         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
819         positive arguments with exponent 65 or above.
820         * math/auto-libm-test-in: Add more tests of log1p.
821         * math/auto-libm-test-out: Regenerated.
823         [BZ #16928]
824         * math/s_cacos.c (__cacos): Ensure zero real part of result from
825         non-finite arguments is +0.
826         * math/s_cacosf.c (__cacosf): Likewise.
827         * math/s_cacosl.c (__cacosl): Likewise.
828         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
829         * sysdeps/i386/fpu/libm-test-ulps: Update.
830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832         [BZ #16927]
833         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
834         value.
835         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
836         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
837         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
838         for explicit high bit of mantissa when testing for argument equal
839         to 1.
840         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
841         * sysdeps/i386/fpu/libm-test-ulps: Update.
842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
844         [BZ #16516]
845         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
846         (__erf): Scale by 16 instead of 8 in potentially underflowing
847         case.  Ensure exception if result actually underflows.
848         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
849         (__erff): Scale by 16 instead of 8 in potentially underflowing
850         case.  Ensure exception if result actually underflows.
851         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
852         (efx8): Remove variable.
853         (__erfl): Scale by 16 instead of 8 in potentially underflowing
854         case.  Ensure exception if result actually underflows.
855         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
856         (efx8): Remove variable.
857         (__erfl): Scale by 16 instead of 8 in potentially underflowing
858         case.  Ensure exception if result actually underflows.
859         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
860         (efx8): Remove variable.
861         (__erfl): Scale by 16 instead of 8 in potentially underflowing
862         case.  Ensure exception if result actually underflows.
863         * math/auto-libm-test-in: Add more tests of erf.
864         * math/auto-libm-test-out: Regenerated.
866 2014-05-14  Andreas Schwab  <schwab@suse.de>
868         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
869         Remove code conditionalized on USE___THREAD.
871         * config.h.in (HAVE_PT_CHOWN): Define as 0.
872         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
873         not definedness.
875 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
878         Define unconditionally.
879         (__ASSUME_O_CLOEXEC): Likewise.
880         (__ASSUME_SOCK_CLOEXEC): Likewise.
881         (__ASSUME_IN_NONBLOCK): Likewise.
882         (__ASSUME_PIPE2): Likewise.
883         (__ASSUME_EVENTFD2): Likewise.
884         (__ASSUME_SIGNALFD4): Likewise.
885         (__ASSUME_DUP3): Likewise.
886         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
887         (__ASSUME_DUP3): Do not define.
888         (__ASSUME_EVENTFD2): Likewise.
889         (__ASSUME_IN_NONBLOCK): Likewise.
890         (__ASSUME_O_CLOEXEC): Likewise.
891         (__ASSUME_PIPE2): Likewise.
892         (__ASSUME_SIGNALFD4): Likewise.
893         (__ASSUME_SOCK_CLOEXEC): Likewise.
894         (__ASSUME_UTIMES): Undefine.
895         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
896         (__ASSUME_UTIMES): Do not define.
897         (__ASSUME_O_CLOEXEC): Likewise.
898         (__ASSUME_SOCK_CLOEXEC): Likewise.
899         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
900         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
901         0x020621].
902         (__ASSUME_PIPE2): Likewise.
903         (__ASSUME_EVENTFD2): Likewise.
904         (__ASSUME_SIGNALFD4): Likewise.
905         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
906         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
907         Do not define.
908         (__ASSUME_EVENTFD2): Likewise.
909         (__ASSUME_SIGNALFD4): Likewise.
910         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
911         (__ASSUME_32BITUIDS): Likewise.
912         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
913         (__ASSUME_IPC64): Likewise.
914         (__ASSUME_ST_INO_64_BIT): Likewise.
915         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
916         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
917         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
918         (__ASSUME_UTIMES): Do not define.
919         (__ASSUME_PSELECT): Likewise.
920         (__ASSUME_PPOLL): Likewise.
921         (__ASSUME_O_CLOEXEC): Likewise.
922         (__ASSUME_SOCK_CLOEXEC): Likewise.
923         (__ASSUME_IN_NONBLOCK): Likewise.
924         (__ASSUME_PIPE2): Likewise.
925         (__ASSUME_EVENTFD2): Likewise.
926         (__ASSUME_SIGNALFD4): Likewise.
927         (__ASSUME_DUP3): Likewise.
928         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
929         (__ASSUME_UTIMES): Likewise.
930         (__ASSUME_O_CLOEXEC): Likewise.
931         (__ASSUME_SOCK_CLOEXEC): Likewise.
932         (__ASSUME_IN_NONBLOCK): Likewise.
933         (__ASSUME_PIPE2): Likewise.
934         (__ASSUME_EVENTFD2): Likewise.
935         (__ASSUME_SIGNALFD4): Likewise.
936         (__ASSUME_DUP3): Likewise.
937         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
938         (__ASSUME_UTIMES): Likewise.
939         (__ASSUME_O_CLOEXEC): Likewise.
940         (__ASSUME_SOCK_CLOEXEC): Likewise.
941         (__ASSUME_IN_NONBLOCK): Likewise.
942         (__ASSUME_PIPE2): Likewise.
943         (__ASSUME_EVENTFD2): Likewise.
944         (__ASSUME_SIGNALFD4): Likewise.
945         (__ASSUME_DUP3): Likewise.
946         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
947         Likewise.
948         (__ASSUME_UTIMES): Likewise.
949         (__ASSUME_EVENTFD2): Likewise.
950         (__ASSUME_SIGNALFD4): Likewise.
951         * sysdeps/unix/sysv/linux/tile/kernel-features.h
952         (__ASSUME_O_CLOEXEC): Likewise.
953         (__ASSUME_SOCK_CLOEXEC): Likewise.
954         (__ASSUME_IN_NONBLOCK): Likewise.
955         (__ASSUME_PIPE2): Likewise.
956         (__ASSUME_EVENTFD2): Likewise.
957         (__ASSUME_SIGNALFD4): Likewise.
958         (__ASSUME_DUP3): Likewise.
959         (__ASSUME_UTIMES): Undefine.
961         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
962         feclearexcept.  Remove symbol versioning code.
963         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
964         symbol versioning code.
965         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
966         symbol versioning code.
967         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
968         feupdateenv.  Remove symbol versioning code.
969         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
970         fegetexceptflag.  Remove symbol versioning code.
971         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
972         fesetexceptflag.  Remove symbol versioning code.
973         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
974         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
975         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
976         (__posix_fadvise64_l32): Remove prototype.
977         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
978         code.
980 2014-05-13  Roland McGrath  <roland@hack.frob.com>
982         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
983         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
984         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
985         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
987 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
989         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
990         current working directory
992 2014-05-13  Roland McGrath  <roland@hack.frob.com>
994         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
995         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
996         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
997         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
998         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
999         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1000         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1001         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1002         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1003         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1004         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1005         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1007         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1008         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1009         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1010         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1011         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1012         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1013         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1014         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1015         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1016         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1017         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1018         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1019         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1020         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1021         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1022         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1023         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1024         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1025         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1026         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1027         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1028         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1029         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1030         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1031         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1032         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1033         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1034         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1035         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1037         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1038         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1040         * sysdeps/unix/sysv/linux/arm/Makefile
1041         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1042         Add rt-aeabi_unwind_cpp_pr1.
1043         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1044         Add nptl-aeabi_unwind_cpp_pr1.
1045         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1046         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1047         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1048         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1049         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1050         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1052         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1053         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1054         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1055         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1057         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1058         Deconditionalize the code that was previously under [RESET_PID].
1059         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1061         * sysdeps/generic/exit-thread.h: New file.
1062         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1063         * include/unistd.h (__exit_thread): Remove declaration.
1064         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1065         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1066         * csu/libc-start.c: Include <exit-thread.h>.
1067         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1068         * nptl/pthread_create.c: Include <exit-thread.h>.
1069         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1070         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1071         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1072         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1073         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1074         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1075         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1076         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1077         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1078         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1079         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1080         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1081         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1082         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1083         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1084         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1085         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1087 2014-05-13  Andreas Schwab  <schwab@suse.de>
1089         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1091 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1093         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1094         (__ASSUME_UTIMES): Do not condition on kernel version.
1095         (__ASSUME_PSELECT): Define unconditionally.
1096         (__ASSUME_PPOLL): Likewise.
1097         (__ASSUME_ATFCTS): Likewise.
1098         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1099         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1100         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1101         (__ASSUME_UTIMENSAT): Define unconditionally.
1102         (__ASSUME_PRIVATE_FUTEX): Likewise.
1103         (__ASSUME_FALLOCATE): Likewise.
1104         (__ASSUME_O_CLOEXEC): Likewise.
1105         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1106         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1107         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1108         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1109         (__ASSUME_IN_NONBLOCK): Likewise.
1110         (__ASSUME_PIPE2): Likewise.
1111         (__ASSUME_EVENTFD2): Likewise.
1112         (__ASSUME_SIGNALFD4): Likewise.
1113         (__ASSUME_DUP3): Likewise.
1114         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1115         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1116         (__ASSUME_AT_RANDOM): Likewise.
1117         (__ASSUME_PREADV): Likewise.
1118         (__ASSUME_PWRITEV): Likewise.
1119         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1120         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1121         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1122         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1123         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1124         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1125         (__ASSUME_O_CLOEXEC): Define unconditionally.
1126         (__ASSUME_PSELECT): Do not undefine conditionally.
1127         (__ASSUME_PPOLL): Likewise.
1128         (__ASSUME_ATFCTS): Likewise.
1129         (__ASSUME_SET_ROBUST_LIST): Likewise.
1130         (__ASSUME_UTIMENSAT): Likewise.
1131         (__ASSUME_FDATASYNC): Define unconditionally.
1132         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1133         (__ASSUME_SIGFRAME_V2): Likewise.
1134         )__ASSUME_EVENTFD2): Likewise.
1135         (__ASSUME_SIGNALFD4): Likewise.
1136         (__ASSUME_PSELECT): Do not undefine conditionally.
1137         (__ASSUME_PPOLL): Likewise.
1138         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1139         (__ASSUME_PSELECT): Define unconditionally.
1140         (__ASSUME_PPOLL): Likewise.
1141         (__ASSUME_O_CLOEXEC): Likewise.
1142         (__ASSUME_SOCK_CLOEXEC): Likewise.
1143         (__ASSUME_IN_NONBLOCK): Likewise.
1144         (__ASSUME_PIPE2): Likewise.
1145         (__ASSUME_EVENTFD2): Likewise.
1146         (__ASSUME_SIGNALFD4): Likewise.
1147         (__ASSUME_DUP3): Likewise.
1148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1149         (__ASSUME_O_CLOEXEC): Likewise.
1150         (__ASSUME_SOCK_CLOEXEC): Likewise.
1151         (__ASSUME_IN_NONBLOCK): Likewise.
1152         (__ASSUME_PIPE2): Likewise.
1153         (__ASSUME_EVENTFD2): Likewise.
1154         (__ASSUME_SIGNALFD4): Likewise.
1155         (__ASSUME_DUP3): Likewise.
1156         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1157         (__ASSUME_EVENTFD2): Likewise.
1158         (__ASSUME_SIGNALFD4): Likewise.
1159         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1161 2014-05-12  Andreas Schwab  <schwab@suse.de>
1163         [BZ #16932]
1164         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1165         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1166         than maximum RPC packet size.
1167         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1168         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1169         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1170         (_nss_nis_getservbyport_r): Likewise.
1172 2014-05-12  Will Newton  <will.newton@linaro.org>
1174         * malloc/Makefile (tests): Add tst-mallopt.
1175         * malloc/tst-mallopt.c: New file.
1177 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1179         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1180         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1182 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1184         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1185         (tst-tlsmod6.so): Likewise.
1187 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1189         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1191 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1193         [BZ #16064]
1194         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1195         and <dl-procinfo.h>.
1196         (__fegetenv): Save SSE state in envp->__eip if supported.
1197         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1198         envp->__eip if supported.
1199         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1200         and <dl-procinfo.h>.
1201         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1202         __data_offset and __data_selector in environment to 0.  Set SSE
1203         state if supported.
1204         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1205         test-fenv-sse.
1206         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1207         -mfpmath=sse.
1208         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1210 2014-05-09  Will Newton  <will.newton@linaro.org>
1212         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1213         and libc_relro_required for ARM.
1214         * sysdeps/arm/preconfigure: Regenerate.
1216 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1217             Stefan Liebler  <stli@linux.vnet.ibm.com>
1219         * config.make.in (enable-lock-elision): New Makefile variable.
1220         * configure.ac: Likewise.
1221         * configure: Regenerate.
1222         * sysdeps/s390/configure.ac:
1223         Add check for gcc transactions support.
1224         * sysdeps/s390/configure: Regenerate.
1225         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1226         Build elision files if enabled.
1227         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1228         Add lock elision support for s390.
1229         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1230         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1231         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1232         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1233         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1234         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1236         Likewise.
1237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1238         Likewise.
1239         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1240         Likewise.
1241         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1242         Likewise.
1243         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1244         (__lll_timedlock_elision, __lll_lock_elision)
1245         (__lll_unlock_elision, __lll_trylock_elision)
1246         (lll_timedlock_elision, lll_lock_elision)
1247         (lll_unlock_elision, lll_trylock_elision): Add.
1248         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1249         (pthread_mutex_t): Add lock elision support for s390.
1251 2014-05-14  Wilco  <wdijkstr@arm.com>
1253         * sysdeps/arm/fclrexcpt.c: Cleanup.
1254         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1255         * sysdeps/arm/feenablxcpt.c: Cleanup.
1256         * sysdeps/arm/fegetenv.c: Cleanup.
1257         * sysdeps/arm/fegetexcept.c: Cleanup.
1258         * sysdeps/arm/fegetround.c: Cleanup.
1259         * sysdeps/arm/feholdexcpt.c: Cleanup.
1260         * sysdeps/arm/fesetenv.c: Cleanup.
1261         * sysdeps/arm/fesetround.c: Cleanup.
1262         * sysdeps/arm/feupdateenv.c: Cleanup.
1263         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1264         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1265         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1266         * sysdeps/arm/ftestexcept.c: Cleanup.
1267         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1268         * sysdeps/arm/setfpucw.c: Cleanup.
1270 2014-05-09  Will Newton  <will.newton@linaro.org>
1272         * sysdeps/arm/armv7/strcmp.S: New file.
1273         * NEWS: Mention addition of ARMv7 optimized strcmp.
1275 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1277         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1278         look for %.ac rather than %.in.
1280         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1281         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1282         * sysdeps/mach/hurd/configure: Regenerated.
1283         * sysdeps/unix/sysv/linux/configure: Regenerated.
1285         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1287 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1289         [BZ# 16922]
1290         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1291         (LONG_SUB): Ditto.
1292         (PTR_SUB): Ditto.
1294 2014-05-07  Andreas Schwab  <schwab@suse.de>
1296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1297         when skipping over non-matching result from nscd.
1299 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1301         [BZ #16876]
1302         * nptl/sockperf.c (client): Check socket return value.
1304         [BZ #16877]
1305         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1306         nscd security class.
1308 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1310         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1311         * sysdeps/arm/unwind.h: ... here.
1313 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1315         [BZ# 16916]
1316         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1317         Define.
1319 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1321         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1322         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1323         multiarch strncpy for PPC64.
1324         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1325         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1327         multiarch optimizations.
1328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1329         (__libc_ifunc_impl_list): Likewise.
1330         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1331         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1332         multiarch stpncpy for PPC64.
1333         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1334         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1336 2014-05-06  Andreas Schwab  <schwab@suse.de>
1338         [BZ #16912]
1339         * gmon/mcount.c (_MCOUNT_DECL): Use
1340         atomic_compare_and_exchange_bool_acq instead of
1341         catomic_compare_and_exchange_bool_acq.
1343 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1345         * elf/Makefile (others, install-bin): Remove pldd.
1346         (pldd-modules): Variable removed.
1347         ($(objpfx)pldd): Target removed.
1348         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1349         (others, install-bin): Append pldd here.
1350         ($(objpfx)pldd): New target.
1352         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1353         to 0, so the first #if test emitted later doesn't see it undefined.
1354         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1355         * sysdeps/gnu/errlist.c: Regenerated.
1357 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1359         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1360         [libc_hidden_builtin_def]: Define to empty value.
1361         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1362         [libc_hidden_builtin_def]: Likewise.
1363         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1364         [libc_hidden_builtin_def]: Likewise.
1365         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1366         [libc_hidden_builtin_def]: Likewise.
1367         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1368         __redirect_memcpy and define ifunc as default hidden symbol.
1369         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1370         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1372 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1374         * locale/iso-4217.def: Reintroduce XDR currency.
1376 2014-05-04  Allan McRae  <allan@archlinux.org>
1378         * po/eo.po: Update Esperanto translation from translation project.
1380 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1382         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1383         and FEATURE_INDEX_MAX to 1.
1384         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1386 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1388         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1389         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1390         * iconvdata/big5.c (ONE_DIRECTION): Define.
1391         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1392         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1393         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1394         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1395         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1396         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1397         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1398         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1399         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1400         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1401         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1402         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1403         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1404         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1405         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1406         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1407         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1408         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1409         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1410         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1411         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1412         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1413         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1414         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1415         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1416         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1417         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1418         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1419         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1420         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1421         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1422         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1423         * iconvdata/johab.c (ONE_DIRECTION): Define.
1424         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1425         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1426         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1427         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1428         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1429         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1430         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1431         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1432         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1433         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1435 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1437         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1438         (_IO_JUMPS_OFFSET): Define to 0.
1440         * nptl/sysdeps/pthread/bits/libc-lock.h
1441         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1442         (__libc_lock_define_initialized_recursive): Always define using
1443         initializer.  Modern compilers treat uninitialized (implicit zero) and
1444         explicit zero initializers the same (i.e. put the datum in bss).
1446 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1448         * nscd/nscd-client.h: Include <string.h>.
1450 2014-05-01  David S. Miller  <davem@davemloft.net>
1452         [BZ #16885]
1453         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1454         multiple zero bytes exist at the end of a string.
1455         Reported by Aurelien Jarno <aurelien@aurel32.net>
1457         * string/test-strcmp.c (check): Add explicit test for situations where
1458         there are multiple zero bytes after the first.
1460 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1462         [BZ #16890]
1463         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1464         when compiling wprintf.
1465         * stdio-common/tstdiomisc.c (t3): New function.
1466         (main): Call it.
1468 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1470         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1471         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1472         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1473         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1475 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1477         * stdlib/longlong.h: Updated from GCC.
1479 2014-05-01  Will Newton  <will.newton@linaro.org>
1480             Bernard Ogden  <bernie.ogden@linaro.org>
1482         * NEWS: Update fixed bug list.
1484         [BZ #15119]
1485         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1487 2014-04-30  David S. Miller  <davem@davemloft.net>
1489         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1490         (libc_feholdexcept_setround_sparc_ctx): New function.
1491         (libc_fesetenv_sparc_ctx): Likewise.
1492         (libc_feupdateenv_sparc_ctx): Likewise.
1493         (libc_feholdsetround_sparc_ctx): Likewise.
1494         (libc_feholdexcept_setround_ctx): Define.
1495         (libc_feholdexcept_setroundf_ctx): Likewise.
1496         (libc_feholdexcept_setroundl_ctx): Likewise.
1497         (libc_fesetenv_ctx): Likewise.
1498         (libc_fesetenvf_ctx): Likewise.
1499         (libc_fesetenvl_ctx): Likewise.
1500         (libc_feupdateenv_ctx): Likewise.
1501         (libc_feupdateenvf_ctx): Likewise.
1502         (libc_feupdateenvl_ctx): Likewise.
1503         (libc_feresetround_ctx): Likewise.
1504         (libc_feresetroundf_ctx): Likewise.
1505         (libc_feresetroundl_ctx): Likewise.
1506         (libc_feholdsetround_ctx): Likewise.
1507         (libc_feholdsetroundf_ctx): Likewise.
1508         (libc_feholdsetroundl_ctx): Likewise.
1510         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1511         with __USE_GNU instead of XOPEN cpp guards.
1513         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1514         0.
1516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1517         with XOPEN cpp guards.
1519 2014-04-30  Julian Brown  <julian@codesourcery.com>
1521         [BZ #16888]
1522         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1523         handling.
1525 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1527         [BZ #9894]
1528         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1529         Change to 2.6.32.
1530         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1531         * sysdeps/unix/sysv/linux/configure: Regenerated.
1532         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1533         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1534         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1535         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1536         * README: Update reference to required Linux kernel version.
1537         * manual/install.texi (Linux): Update reference to required Linux
1538         kernel headers version.
1539         * INSTALL: Regenerated.
1541         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1542         header inclusion.
1543         [POSIX] (limits.h): Likewise.
1544         [POSIX] (math.h): Likewise.
1545         [POSIX] (sys/wait.h): Likewise.
1546         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1547         function.
1548         [POSIX] (stddef.h): Do not allow header inclusion.
1550 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1552         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1554 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1556         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1557         Return immediately after lll_futex_wake.
1559 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1561         [BZ #16791]
1562         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1563         structure.
1564         (datahead_init_pos): Call datahead_init_common early.
1565         (datahead_init_neg): Likewise.
1567         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1568         datahead_init_neg): New functions.
1569         * nscd/aicache.c (addhstaiX): Use them.
1570         * nscd/grpcache.c (cache_addgr): Likewise.
1571         * nscd/hstcache.c (cache_addhst): Likewise.
1572         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1573         * nscd/netgroupcache.c (do_notfound): Likewise.
1574         (addgetnetgrentX): Likewise.
1575         (addinnetgrX): Likewise.
1576         * nscd/pwdcache.c (cache_addpw): Likewise.
1577         * nscd/servicescache.c (cache_addserv): Likewise.
1579 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1580             Atsushi Onoe  <atsushi@onoe.org>
1582         [BZ #14308]
1583         [BZ #12994]
1584         [BZ #13651]
1585         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1586         one response is valid.
1587         * resolv/res_send.c (send_dg): Check for validity of other
1588         response if the current response is a referral.
1590 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1592         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1594 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1596         [BZ #16823]
1597         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1598         Always divide by positive zero when computing -Inf result.
1599         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1600         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1602 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1604         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1605         FPSCR if value do not change.
1606         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1607         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1608         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1609         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1610         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1611         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1612         function.
1614 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1616         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1617         * sysdeps/unix/sysv/linux/hppa: Move directory from
1618         ports/systeps/unix/sysv/linux/hppa.
1619         * README: Update listing for hppa-*-linux-gnu.
1621 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1623         [BZ #16754]
1624         * manual/stdio.texi (Hook functions): Fix types of stream hook
1625         functions.
1626         [BZ #16854]
1627         * socket/sys/socket.h: Fix typo in comment.
1629 2014-04-28  Wilco  <wdijkstr@arm.com>
1631         * sysdeps/arm/fenv_private.h: New file.
1632         * sysdeps/arm/math_private.h: New file.
1633         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1635 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1637         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1638         with __int128_t.
1639         (La_x86_64_retval): Likewise.
1641 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1643         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1644         fpsr if value didn't change.
1645         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1646         to fpcr if value didn't change.
1647         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1648         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1649         fpsr or fpcr if value didn't change.
1650         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1651         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1652         fpcr if value didn't change.
1653         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1654         to fpsr if value didn't change.
1656 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1658         * nptl/tst-sem3.c: Use test-skeleton.c
1659         (main): Rename to do_test.  Use return instead of
1660         exit.
1661         * nptl/tst-sem4.c: Use test-skeleton.c
1662         (main): Rename to do_test.
1664 2014-04-22  David S. Miller  <davem@davemloft.net>
1666         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1667         (struct sigaction): New struct member __glibc_reserved0, change
1668         type of sa_flags to int.
1670 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1672         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1673         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1675 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1677         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1678         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1680 2014-04-22  Will Newton  <will.newton@linaro.org>
1681             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1683         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1684         (__longjmp): Add longjmp and longjmp_target SystemTap
1685         probes.
1686         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1687         (__sigsetjmp): Add setjmp SystemTap probe.
1689 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
1691         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1692         match manual order.
1694 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1696         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1698         * sysdeps/powerpc/fpu/fenv_private.h
1699         (libc_feholdexcept_setroundl_ctx): Define to
1700         libc_feholdexcept_setround_ppc_ctx.
1701         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1702         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1703         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1704         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1706 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1708         * sysdeps/aarch64/math-tests.h: New file.
1710 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
1712         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1713         New.
1714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1715         Check and set bit_AVX2_Usable.
1716         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1717         macro.
1718         (bit_AVX2): Likewise.
1719         (index_AVX2_Usable): Likewise.
1720         (CPUID_AVX2): Likewise.
1721         (HAS_AVX2): Likewise.
1723 2014-04-17  Will Newton  <will.newton@linaro.org>
1725         * manual/setjmp.texi (System V contexts): Add note that
1726         calling setcontext on a context created by a call to a
1727         signal handler is undefined.  Update text to note that
1728         setcontext from a signal handler is possible but not
1729         recommended.
1731         [BZ #16629]
1732         * stdlib/tst-setcontext.c: Include signal.h.
1733         (main): Check that the signal stack before and
1734         after swapcontext is the same.
1736         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1737         Re-implement to restore registers in user code and avoid
1738         rt_sigreturn system call.
1740 2014-04-17  Wilco  <wdijkstr@arm.com>
1742         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1743         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1744         * math/test-fenv.c: Skip exception trap tests on targets which only
1745         support non-stop mode.
1747 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1748             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1750         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1751         (libc_feholdsetround_aarch64_ctx)
1752         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1753         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1754         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1755         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1756         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1757         (libc_feresetround_noexl_ctx): Define.
1759 2014-04-16  Richard Henderson  <rth@redhat.com>
1761         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1763         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1764         unwind tables.
1766         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1767         const from the non-libc, non-ldso copy.
1769         * sysdeps/alpha/libm-test-ulps: Regenerate.
1771 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1772             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1774         * sysdeps/aarch64/fpu/math_private.h: New file.
1776 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1778         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1780 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1782         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1783         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1784         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1785         Intel MPX bound registers before _dl_profile_fixup.
1786         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1787         registers after _dl_profile_fixup.  Save and restore bound
1788         registers bnd0/bnd1 when calling _dl_call_pltexit.
1789         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1790         (LR_BND_OFFSET): Likewise.
1791         (LRV_BND0_OFFSET): Likewise.
1792         (LRV_BND1_OFFSET): Likewise.
1794 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1796         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1797         to...
1798         * sysdeps/mach/hurd/i386/tls.h: ... here.
1799         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1800         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1801         fields.
1803 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1805         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1807 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1809         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1811 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1813         [BZ #14770]
1814         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1815         * sysdeps/s390/configure: Regenerate.
1817         [BZ #16824]
1818         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1819         Set round-to-nearest internally to reduce error accumulation.
1821 2014-04-16  Alan Modra  <amodra@gmail.com>
1823         [BZ #16740]
1824         [BZ #16619]
1825         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1826         * math/libm-test.inc (frexp_test_data): Add tests.
1827         * NEWS: Update fixed bug list.
1829 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1831         * benchtests/Makefile: Depend on libraries in build directory.
1832         (bench-math): Separate out math tests.
1833         (bench-pthread): Separate out pthread tests.
1834         (bench): Include math and pthread tests.
1836 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1838         [BZ #16831]
1839         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1840         _dl_debug_initialize.
1842         * configure.ac: Remove SELinux header check.
1843         * configure: Regenerate.
1844         * nscd/selinux.c (perms): Array of const char* to permission names.
1845         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1846         default policy. Call string_to_security_class and string_to_av_perm to
1847         translate strings. Enforce default policy and call avs_has_perm with
1848         results of translated strings.
1850 2014-04-13  David S. Miller  <davem@davemloft.net>
1852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1854 2014-04-12  Allan McRae  <allan@archlinux.org>
1856         [BZ #16838]
1857         * manual/string.texi (Collation Functions): Fix qsort argument
1858         order in example.
1859         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1861 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1863         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1864         Make the test a no-op if there are no exceptions defined.
1866 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1868         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1869         enable-hardcoded-path-in-tests
1871 2014-04-11  Will Newton  <will.newton@linaro.org>
1873         * benchtests/Makefile (extra-objs): Add json-lib.o.
1874         (bench-func): Tidy up JSON output.
1875         * benchtests/bench-skeleton.c: Include json-lib.h.
1876         (main): Use JSON library functions to do output of
1877         benchmark results.
1878         * benchtests/bench-timing-type.c (main): Output the
1879         timing type simply, leaving formatting to the user.
1880         * benchtests/json-lib.c: New file.
1881         * benchtests/json-lib.h: Likewise.
1883 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1885         [BZ #15215]
1886         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1887         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1888         memory barriers.  Add comments.
1889         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1890         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1891         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1892         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1893         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1894         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1896 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1898         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1899         * sysdeps/s390/s390-64/configure.ac: ... this ...
1900         * sysdeps/s390/configure.ac: ... to here.
1901         * sysdeps/s390/s390-32/configure: Delete file.
1902         * sysdeps/s390/s390-64/configure: Delete file.
1903         * sysdeps/s390/configure: Regenerate.
1905 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1907         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1909 2014-04-11  Will Newton  <will.newton@linaro.org>
1911         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1912         to zero if it is not defined elsewhere.  (mtrim): Test
1913         the value of MALLOC_DEBUG with #if rather than #ifdef.
1915 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1917         * benchtests/pthread_once-inputs: New file.
1918         * benchtests/pthread_once-source.c: New file.
1919         * benchtests/README: Update documentation.
1921 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1922             H.J. Lu  <hongjiu.lu@intel.com>
1924         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1925         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1926         * sysdeps/x86_64/configure: Regenerated.
1927         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1928         macro.
1929         (REGISTER_SAVE_RAX): Likewise.
1930         (REGISTER_SAVE_RCX): Likewise.
1931         (REGISTER_SAVE_RDX): Likewise.
1932         (REGISTER_SAVE_RSI): Likewise.
1933         (REGISTER_SAVE_RDI): Likewise.
1934         (REGISTER_SAVE_R8): Likewise.
1935         (REGISTER_SAVE_R9): Likewise.
1936         (REGISTER_SAVE_BND0): Likewise.
1937         (REGISTER_SAVE_BND1): Likewise.
1938         (REGISTER_SAVE_BND2): Likewise.
1939         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1940         bound registers when calling _dl_fixup.
1942 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1944         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1945         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1946         of its definition.
1947         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1948         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1949         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1950         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1951         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1952         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1953         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1955 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1957         [BZ #15514]
1958         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1959         pathconf(_PC_NAME_MAX).
1961 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1963         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1964         Remove macro usage.
1965         (__PTHREAD_SPINS): Move definition to ...
1966         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1967         (__PTHREAD_SPINS): ... here.
1968         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1969         (__PTHREAD_SPIN): Likewise.
1970         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1971         (__PTHREAD_SPIN): Likewise.
1972         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1973         (__PTHREAD_SPIN): Likewise.
1974         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1975         (__PTHREAD_SPIN): Likewise.
1976         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1977         (__PTHREAD_SPIN): Likewise.
1978         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1979         (__PTHREAD_SPIN): Likewise.
1980         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1981         (__PTHREAD_SPIN): Likewise.
1982         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1983         (__PTHREAD_SPIN): Likewise.
1984         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1985         (__PTHREAD_SPIN): Likewise.
1986         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1987         (__PTHREAD_SPIN): Likewise.
1988         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1989         (__PTHREAD_SPIN): Likewise.
1990         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1991         (__PTHREAD_SPIN): Likewise.
1993         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1994         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1995         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1996         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1997         imply folder.
1998         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1999         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2000         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2001         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2002         correct imply path.
2003         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2004         strlen symbol for non multi-arch builds.
2005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2006         missing hidden_def and weak_alias.
2008 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2010         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2012 2014-04-07  Will Newton  <will.newton@linaro.org>
2014         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2015         and contents.  [!_LIBC] Remove #ifndef and contents.
2016         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2017         * string/memccpy.c (__memccpy): Use ANSI prototype.
2018         * string/memfrob.c (memfrob): Likewise.
2019         * string/strcoll.c (STRCOLL): Likewise.
2020         * string/strlen.c (strlen): Likewise.
2021         * string/strtok.c (STRTOK): Likewise.
2022         * string/strcat.c: Remove unused #include of memcopy.h.
2023         (strcat): Use ANSI prototype.
2024         * string/strchr.c: Remove unused #include of memcopy.h.
2025         (strchr): Use ANSI prototype.
2026         * string/strcmp.c: Remove unused #include of memcopy.h.
2027         (strcmp): Use ANSI prototype.
2028         * string/strcpy.c: Remove unused #include of memcopy.h.
2029         (strcpy): Use ANSI prototype.
2031 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2033         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2034         * config.make.in (config-extra-cppflags): Set it from
2035         libc_extra_cppflags.
2036         * configure.ac (libc_extra_cflags): Make it accumulate over
2037         configure fragments.
2038         (libc_extra_cppflags): New flag.
2039         * configure. Regenerate.
2040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2041         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2042         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2045         [BZ #16815]
2046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2047         result for FE_DOWNWARD rounding mode.
2048         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2049         Likewise.
2050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2052 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2054         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2055         in function argument name.
2057 2014-04-03  David Svoboda  <svoboda@cert.org>
2059         [BZ #5666]
2060         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2061         explicitly.
2063 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2065         * elf/dl-unmap-segments.h: New file.
2066         * sysdeps/generic/ldsodefs.h
2067         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2068         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2069         * elf/dl-fptr.c: Likewise.
2070         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2071         * sysdeps/aarch64/tlsdesc.c: Likewise.
2072         * sysdeps/arm/tlsdesc.c: Likewise.
2073         * sysdeps/i386/tlsdesc.c: Likewise.
2074         * sysdeps/tile/dl-runtime.c: Likewise.
2075         * sysdeps/x86_64/tlsdesc.c: Likewise.
2076         * elf/dl-load.h: New file.
2077         * elf/dl-load.c: Include it.
2078         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2079         Macros moved to dl-load.h.
2080         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2081         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2082         Use _dl_unmap_segments in place of __munmap.
2083         Break out segment-mapping loop into ...
2084         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2086 2014-04-03  Will Newton  <will.newton@linaro.org>
2088         * elf/dl-lookup.c (do_lookup_x): Remove comment
2089         referring to nested function and move variable
2090         declarations down to before first use.
2092 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2094         [BZ #16799]
2095         [BZ #16800]
2096         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2097         with 0 numerator.
2098         * math/s_catanf.c (__catanf): Likewise.
2099         * math/s_catanh.c (__catanh): Likewise.
2100         * math/s_catanhf.c (__catanhf): Likewise.
2101         * math/s_catanhl.c (__catanhl): Likewise.
2102         * math/s_catanl.c (__catanl): Likewise.
2103         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2104         by positive zero when computing -Inf result.
2105         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2106         (catanh_test): Likewise.
2107         * sysdeps/i386/fpu/libm-test-ulps: Update.
2108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2110         [BZ #16789]
2111         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2112         instead of using underflowing value in computing result.
2113         * math/s_clog10.c (__clog10): Likewise.
2114         * math/s_clog10f.c (__clog10f): Likewise.
2115         * math/s_clog10l.c (__clog10l): Likewise.
2116         * math/s_clogf.c (__clogf): Likewise.
2117         * math/s_clogl.c (__clogl): Likewise.
2118         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2119         (clog10_test): Likewise.
2120         * sysdeps/i386/fpu/libm-test-ulps: Update.
2121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2123 2014-04-02  Alan Modra  <amodra@gmail.com>
2125         [BZ #16739]
2126         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2127         output when value is near a power of two.  Use int64_t for lx and
2128         remove casts.  Use decimal rather than hex exponent constants.
2129         Don't use long double multiplication when double will suffice.
2130         * math/libm-test.inc (nextafter_test_data): Add tests.
2131         * NEWS: Add 16739 and 16786 to bug list.
2133         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2135         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2137 2014-04-01  Will Newton  <will.newton@linaro.org>
2139         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2140         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2142 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2144         [BZ #13347]
2145         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2146         * nptl/tst-setuid2.c: New file.
2147         * nptl/Makefile (xtests): Add tst-setuid2.
2149 2014-04-01  Alan Modra  <amodra@gmail.com>
2151         [BZ #16786]
2152         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2154 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2156         [BZ #6803]
2157         [BZ #6804]
2158         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2159         set errno as appropriate.
2160         * math/w_scalbf.c (__scalbf): Likewise.
2161         * math/w_scalbl.c (__scalbl): Likewise.
2162         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2163         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2164         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2165         Add more NaN tests.
2167         [BZ #16349]
2168         * math/w_atan2.c: Include <errno.h>.
2169         (__atan2): Set errno for result underflowing to zero.
2170         * math/w_atan2f.c: Include <errno.h>.
2171         (__atan2f): Set errno for result underflowing to zero.
2172         * math/w_atan2l.c: Include <errno.h>.
2173         (__atan2l): Set errno for result underflowing to zero.
2174         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2175         tests.
2176         * math/auto-libm-test-out: Regenerated.
2178 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2180         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2181         Encode instruction correctly in little endian.
2182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2183         Likewise.
2184         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2185         Likewise.
2186         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2187         Likewise.
2188         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2189         Likewise.
2191 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2193         [BZ #9894]
2194         * sysdeps/unix/sysv/linux/kernel-features.h
2195         [__sparc__ && !__arch64__ && !__sparc_v9__]
2196         (__ASSUME_SET_ROBUST_LIST): Do not define.
2197         [__sparc__ && !__arch64__ && !__sparc_v9__]
2198         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2199         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2200         Likewise.
2201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2202         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2203         (__ASSUME_REQUEUE_PI): Likewise.
2204         (__ASSUME_SET_ROBUST_LIST): Likewise.
2205         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2206         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2207         Undefine.
2208         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2209         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2210         Likewise.
2211         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2212         Likewise.
2213         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2214         Likewise.
2215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2216         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2217         Undefine.
2218         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2219         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2220         Likewise.
2222         [BZ #16648]
2223         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2225         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2227 2014-03-31  Will Newton  <will.newton@linaro.org>
2229         * benchtests/Makefile (bench): Add ffs and ffsll to list
2230         of tests.
2231         * benchtests/ffs-inputs: New file.
2232         * benchtests/ffsll-inputs: Likewise.
2234 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2236         [BZ #16770]
2237         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2238         too large before casting to int.
2239         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2240         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2241         * math/libm-test.inc (scalb_test_data): Add more tests.
2243 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2245         * benchtests/Makefile (DETAILED_OPT): New make option.
2246         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2247         set.
2248         * benchtests/bench-skeleton.c: Include stdbool.h.
2249         (main): Store and print timings per input.
2250         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2251         member to each argument value.
2252         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2253         (_print_arg_data): Initialize per-input timing to 0.
2255         * benchtests/Makefile (timing-type): New binary.
2256         (bench-clean): Also remove bench-timing-type.
2257         (bench): New target for timing-type.
2258         (bench-func): Print output in JSON format.
2259         * benchtests/bench-skeleton.c (main): Print output in JSON
2260         format.
2261         * benchtests/bench-timing-type.c: New file.
2262         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2263         (TIMING_PRINT_STATS): Remove.
2264         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2265         name separately.
2267         * benchtests/bench-modf.c: Remove.
2268         * benchtests/modf-inputs: New inputs file.
2270 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2272         [BZ #16362]
2273         * math/s_clog10.c (M_PI_LOG10E): New macro.
2274         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2275         imaginary parts are 0.
2276         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2277         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2278         imaginary parts are 0.
2279         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2280         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2281         imaginary parts are 0.
2282         * math/libm-test.inc (clog10_test_data): Update expected results
2283         for when real and imaginary parts are 0.
2285 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2287         * elf/dl-load.c: Finish conversion of __builtin_expect into
2288         __glibc_{un}likely.
2290 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2292         [BZ #16348]
2293         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2294         1+x for argument with exponent below -67.
2295         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2296         Likewise.
2297         * math/auto-libm-test-in: Add more tests of exp.
2298         * math/auto-libm-test-out: Regenerated.
2300 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2302         [BZ #16759]
2303         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2304         (nscd_getnetgrent): Use it.
2306         [BZ #16760]
2307         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2308         of stpcpy.
2310 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2312         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2313         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2314         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2315         (lll_robust_unlock): Remove out of line section. Use cfi
2316         intrinsics.
2317         (LLL_STUB_UNWIND_INFO*): Remove.
2318         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2319         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2320         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2321         (lll_robust_unlock): Remove out of line section. Use cfi
2322         intrinsics.
2323         (LLL_STUB_UNWIND_INFO*): Remove.
2325 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2327         [BZ #16758]
2328         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2329         blank values.
2331 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2333         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2335 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2337         [BZ #16198]
2338         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2339         fnstenv.
2340         * math/test-fenv-preserve.c: New file.
2341         * math/Makefile (tests): Add test-fenv-preserve.
2343 2014-03-26  Will Newton <will.newton@linaro.org>
2345         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2347 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2349         * scripts/versionlist.awk: Partition the version sets and emit all
2350         GLIBC_* (sorted) before all others (sorted).
2352 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2354         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2355         GLIBC_2.2.5 version.
2357 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2359         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2360         calls.
2362         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2363         previous change.
2365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2367 2014-03-25  Andreas Schwab  <schwab@suse.de>
2369         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2370         label to be used after in6ailist is initialized.
2372 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2375         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2377 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2379         [BZ #16357]
2380         [BZ #16599]
2381         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2382         min_plus_half.
2383         (fp_formats): Update initializers.
2384         (init_fp_formats): Initialize new field.
2385         (output_for_one_input_case): Allow underflow for results up to
2386         min_plus_half.
2387         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2388         * math/auto-libm-test-in: Don't mark some underflows from asin and
2389         atanh as spurious.
2390         * math/auto-libm-test-out: Regenerated.
2391         * sysdeps/i386/fpu/libm-test-ulps: Update.
2392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2394 2014-03-25  Andreas Schwab  <schwab@suse.de>
2396         * libio/Makefile (tst-ftell-partial-wide-ENV)
2397         (tst-ftell-active-handler-ENV): Define.
2399 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2401         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2403 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2405         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2407 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2409         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2410         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2411         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2413 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2415         [BZ #16634]
2416         * elf/dl-load.c (open_verify): Add mode parameter.
2417         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2418         (open_path): Change from boolean 'secure' to complete flag 'mode'
2419         (_dl_map_object): Adjust.
2420         * elf/Makefile (tests): Add tst-dlopen-aout.
2421         * elf/tst-dlopen-aout.c: New test.
2423 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2425         [BZ #16714]
2426         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2427         (struct stat): Rename member pad0 to __glibc_reserved0.
2429         [BZ #16712]
2430         * sysdeps/s390/s390-32/bits/wordsize.h
2431         (__WORDSIZE32_SIZE_ULONG): New define.
2432         * sysdeps/s390/s390-64/bits/wordsize.h
2433         (__WORDSIZE32_SIZE_ULONG): Likewise.
2434         * sysdeps/generic/stdint.h (SIZE_MAX):
2435         Define as UL if __WORDSIZE32_SIZE_ULONG.
2437         [BZ #16713]
2438         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2439         (__glibc_reserved0): New variable.
2440         (sa_flags): Change type to int.
2442         * posix/Makefile (before-compile): Use += before-compile instead
2443         of a :=.
2445         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2446         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2448 2014-03-20  Andreas Schwab  <schwab@suse.de>
2450         [BZ #16743]
2451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2452         non-matching result from nscd.
2454 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2456         * scripts/bench.py: Moved to ...
2457         * benchtests/scripts/bench.py: ... here.
2458         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2460 2014-03-24  Andreas Schwab  <schwab@suse.de>
2462         [BZ #16002]
2463         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2464         alloca_account and account alloca use for struct in6ailist.
2466 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2468         [BZ #16284]
2469         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2470         rounding mode to recompute results that overflow to infinity or
2471         underflow to zero.
2472         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2473         bug 16284.
2474         * math/auto-libm-test-out: Regenerated.
2475         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2476         (ccosh_test): Likewise.
2477         (csin_test_data): Use plus_oflow.
2478         (csin_test): Use ALL_RM_TEST.
2479         (csinh_test_data): Use plus_oflow.
2480         (csinh_test): Use ALL_RM_TEST.
2481         * sysdeps/i386/fpu/libm-test-ulps: Update.
2482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2484 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2486         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2487         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2488         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2490         [BZ #16731]
2491         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2492         when x - 1 is zero.
2493         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2494         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2495         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2496         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2497         argument is 1.
2498         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2499         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2500         zero.
2501         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2502         * sysdeps/i386/fpu/libm-test-ulps: Update.
2503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2505 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2507         * scripts/bench.pl: Remove file.
2508         * scripts/bench.py: New benchmark script.
2509         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2510         * benchtests/README: Mention python dependency.
2511         * scripts/pylintrc: New file.
2512         * scripts/pylint: New file.
2514         * bits/mathdef.h: Use #ifdef instead of #if.
2515         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2516         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2517         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2518         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2519         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2520         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2522 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2523             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2525         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2527         and strpbrk-ppc64 objects.
2528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2529         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2530         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2531         multiarch strpbrk for POWER7.
2532         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2533         multiarch strpbrk for PPC64.
2534         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2535         ifunc selector.
2536         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2537         strpbrk for POWER7.
2539 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2541         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2542         (atan_test): Likewise.
2543         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2544         (atanh_test): Use ALL_RM_TEST.
2545         (atan2_test_data): Likewise.
2546         (cabs_test): Likewise.
2547         (cacosh_test): Likewise.
2548         (carg_test): Likewise.
2549         (casin_test): Likewise.
2550         (casinh_test): Likewise.
2551         (cbrt_test): Likewise.
2552         (csqrt_test): Likewise.
2553         (erf_test): Likewise.
2554         (erfc_test): Likewise.
2555         (pow10_test): Likewise.
2556         (exp2_test): Likewise.
2557         (hypot_test): Likewise.
2558         (j0_test): Likewise.
2559         (j1_test): Likewise.
2560         (lgamma_test): Likewise.
2561         (gamma_test): Likewise.
2562         (sincos_test): Likewise.
2563         (tanh_test): Likewise.
2564         (y0_test): Likewise.
2565         (y1_test): Likewise.
2566         * sysdeps/i386/fpu/libm-test-ulps: Update.
2567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2571         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2573         and strcspn-ppc64 objects.
2574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2575         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2576         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2577         multiarch strcspn for POWER7.
2578         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2579         multiarch strcspn for PPC64.
2580         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2581         ifunc selector.
2582         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2583         strcspn for POWER7.
2585 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2587         * math/gen-libm-test.pl (generate_testfile): Expect only function
2588         name as argument to AUTO_TESTS_* and pass results for all rounding
2589         modes to parse_args.
2590         (parse_auto_input): Separate inputs of automatic tests from
2591         outputs before storing in %auto_tests.
2592         * math/libm-test.inc (acos_test_data): Update call to
2593         AUTO_TESTS_f_f.
2594         (acos_test): Use ALL_RM_TEST.
2595         (acos_tonearest_test_data): Remove.
2596         (acos_test_tonearest): Likewise.
2597         (acos_towardzero_test_data): Likewise.
2598         (acos_test_towardzero): Likewise.
2599         (acos_downward_test_data): Likewise.
2600         (acos_test_downward): Likewise.
2601         (acos_upward_test_data): Likewise.
2602         (acos_test_upward): Likewise.
2603         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2604         (asin_test_data): Likewise.
2605         (asin_test): Use ALL_RM_TEST.
2606         (asin_tonearest_test_data): Remove.
2607         (asin_test_tonearest): Likewise.
2608         (asin_towardzero_test_data): Likewise.
2609         (asin_test_towardzero): Likewise.
2610         (asin_downward_test_data): Likewise.
2611         (asin_test_downward): Likewise.
2612         (asin_upward_test_data): Likewise.
2613         (asin_test_upward): Likewise.
2614         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2615         (atan_test_data): Likewise.
2616         (atanh_test_data): Likewise.
2617         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2618         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2619         (carg_test_data): Likewise.
2620         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2621         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2622         (ccosh_test_data): Likewise.
2623         (cexp_test_data): Likewise.
2624         (clog_test_data): Likewise.
2625         (clog10_test_data): Likewise.
2626         (cos_test_data): Update call to AUTO_TESTS_f_f.
2627         (cos_test): Use ALL_RM_TEST.
2628         (cos_tonearest_test_data): Remove.
2629         (cos_test_tonearest): Likewise.
2630         (cos_towardzero_test_data): Likewise.
2631         (cos_test_towardzero): Likewise.
2632         (cos_downward_test_data): Likewise.
2633         (cos_test_downward): Likewise.
2634         (cos_upward_test_data): Likewise.
2635         (cos_test_upward): Likewise.
2636         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2637         (cosh_test): Use ALL_RM_TEST.
2638         (cosh_tonearest_test_data): Remove.
2639         (cosh_test_tonearest): Likewise.
2640         (cosh_towardzero_test_data): Likewise.
2641         (cosh_test_towardzero): Likewise.
2642         (cosh_downward_test_data): Likewise.
2643         (cosh_test_downward): Likewise.
2644         (cosh_upward_test_data): Likewise.
2645         (cosh_test_upward): Likewise.
2646         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2647         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2648         (ctan_test_data): Likewise.
2649         (ctan_test): Use ALL_RM_TEST.
2650         (ctan_tonearest_test_data): Remove.
2651         (ctan_test_tonearest): Likewise.
2652         (ctan_towardzero_test_data): Likewise.
2653         (ctan_test_towardzero): Likewise.
2654         (ctan_downward_test_data): Likewise.
2655         (ctan_test_downward): Likewise.
2656         (ctan_upward_test_data): Likewise.
2657         (ctan_test_upward): Likewise.
2658         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2659         (ctanh_test): Use ALL_RM_TEST.
2660         (ctanh_tonearest_test_data): Remove.
2661         (ctanh_test_tonearest): Likewise.
2662         (ctanh_towardzero_test_data): Likewise.
2663         (ctanh_test_towardzero): Likewise.
2664         (ctanh_downward_test_data): Likewise.
2665         (ctanh_test_downward): Likewise.
2666         (ctanh_upward_test_data): Likewise.
2667         (ctanh_test_upward): Likewise.
2668         (erf_test_data): Update call to AUTO_TESTS_f_f.
2669         (erfc_test_data): Likewise.
2670         (exp_test_data): Likewise.
2671         (exp_test): Use ALL_RM_TEST.
2672         (exp_tonearest_test_data): Remove.
2673         (exp_test_tonearest): Likewise.
2674         (exp_towardzero_test_data): Likewise.
2675         (exp_test_towardzero): Likewise.
2676         (exp_downward_test_data): Likewise.
2677         (exp_test_downward): Likewise.
2678         (exp_upward_test_data): Likewise.
2679         (exp_test_upward): Likewise.
2680         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2681         (exp10_test): Use ALL_RM_TEST.
2682         (exp10_tonearest_test_data): Remove.
2683         (exp10_test_tonearest): Likewise.
2684         (exp10_towardzero_test_data): Likewise.
2685         (exp10_test_towardzero): Likewise.
2686         (exp10_downward_test_data): Likewise.
2687         (exp10_test_downward): Likewise.
2688         (exp10_upward_test_data): Likewise.
2689         (exp10_test_upward): Likewise.
2690         (exp2_test_data): Update call to AUTO_TESTS_f_f.
2691         (expm1_test_data): Likewise.
2692         (expm1_test): Use ALL_RM_TEST.
2693         (expm1_tonearest_test_data): Remove.
2694         (expm1_test_tonearest): Likewise.
2695         (expm1_towardzero_test_data): Likewise.
2696         (expm1_test_towardzero): Likewise.
2697         (expm1_downward_test_data): Likewise.
2698         (expm1_test_downward): Likewise.
2699         (expm1_upward_test_data): Likewise.
2700         (expm1_test_upward): Likewise.
2701         (fma_test_data): Update call to AUTO_TESTS_fff_f.
2702         (fma_test): Use ALL_RM_TEST.
2703         (fma_towardzero_test_data): Remove.
2704         (fma_test_towardzero): Likewise.
2705         (fma_downward_test_data): Likewise.
2706         (fma_test_downward): Likewise.
2707         (fma_upward_test_data): Likewise.
2708         (fma_test_upward): Likewise.
2709         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2710         (j0_test_data): Update call to AUTO_TESTS_f_f.
2711         (j1_test_data): Likewise.
2712         (jn_test_data): Update call to AUTO_TESTS_if_f.
2713         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2714         (log_test_data): Update call to AUTO_TESTS_f_f.
2715         (log10_test_data): Likewise.
2716         (log1p_test_data): Likewise.
2717         (log2_test_data): Likewise.
2718         (pow_test_data): Update call to AUTO_TESTS_ff_f.
2719         (pow_tonearest_test_data): Likewise.
2720         (sin_test_data): Update call to AUTO_TESTS_f_f.
2721         (sin_test): Use ALL_RM_TEST.
2722         (sin_tonearest_test_data): Remove.
2723         (sin_test_tonearest): Likewise.
2724         (sin_towardzero_test_data): Likewise.
2725         (sin_test_towardzero): Likewise.
2726         (sin_downward_test_data): Likewise.
2727         (sin_test_downward): Likewise.
2728         (sin_upward_test_data): Likewise.
2729         (sin_test_upward): Likewise.
2730         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2731         (sinh_test_data): Update call to AUTO_TESTS_f_f.
2732         (sinh_test): Use ALL_RM_TEST.
2733         (sinh_tonearest_test_data): Remove.
2734         (sinh_test_tonearest): Likewise.
2735         (sinh_towardzero_test_data): Likewise.
2736         (sinh_test_towardzero): Likewise.
2737         (sinh_downward_test_data): Likewise.
2738         (sinh_test_downward): Likewise.
2739         (sinh_upward_test_data): Likewise.
2740         (sinh_test_upward): Likewise.
2741         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2742         (sqrt_test): Use ALL_RM_TEST.
2743         (sqrt_tonearest_test_data): Remove.
2744         (sqrt_test_tonearest): Likewise.
2745         (sqrt_towardzero_test_data): Likewise.
2746         (sqrt_test_towardzero): Likewise.
2747         (sqrt_downward_test_data): Likewise.
2748         (sqrt_test_downward): Likewise.
2749         (sqrt_upward_test_data): Likewise.
2750         (sqrt_test_upward): Likewise.
2751         (tan_test_data): Update call to AUTO_TESTS_f_f.
2752         (tan_test): Use ALL_RM_TEST.
2753         (tan_tonearest_test_data): Remove.
2754         (tan_test_tonearest): Likewise.
2755         (tan_towardzero_test_data): Likewise.
2756         (tan_test_towardzero): Likewise.
2757         (tan_downward_test_data): Likewise.
2758         (tan_test_downward): Likewise.
2759         (tan_upward_test_data): Likewise.
2760         (tan_test_upward): Likewise.
2761         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2762         (tgamma_test_data): Likewise.
2763         (y0_test_data): Likewise.
2764         (y1_test_data): Likewise.
2765         (yn_test_data): Update call to AUTO_TESTS_if_f.
2766         (main): Do not call removed functions.
2768 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2770         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2771         (ldexp_test_data): Remove.
2772         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2773         scalbn_test_data.
2774         (scalb_test): Use ALL_RM_TEST.
2776 2014-03-19  Andreas Schwab  <schwab@suse.de>
2778         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2780 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2782         [BZ #16649]
2783         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2784         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2785         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2786         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2787         (__ASSUME_PREADV): Undefine.
2788         (__ASSUME_PWRITEV): Likewise.
2790 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2792         * bits/mman-linux.h: Add comment about non-Linux use.
2793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2794         bits/mman-linux.h resting place.
2796         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2797         * bits/mman-linux.h: ... here.
2799 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2801         * conform/conformtest.pl: Add standard definition when calling C
2802         preprocessor on data files.
2803         (checknamespace): Remove unused variable.
2805 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2807         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2808         minus_oflow, plus_uflow and minus_uflow in expected results.
2809         * math/libm-test.inc (scalbn_test_data): Add more tests of
2810         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2811         minus_uflow.
2812         (scalbn_test): Use ALL_RM_TEST.
2813         (scalbln_test_data): Add more tests of negative arguments.  Use
2814         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2815         (scalbln_test): Use ALL_RM_TEST.
2817 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2819         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2821 2014-03-18  Will Newton  <will.newton@linaro.org>
2823         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2824         inaccurate comment.
2826 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2828         * Makerules [!subdir] (check-abi): Exit with error status if a
2829         test failed.
2831 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2833         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2834         for rint.  Include results for all rounding modes.
2835         (nearbyint_test): Use ALL_RM_TEST.
2836         (rint_test_data): Include all tests used for nearbyint.
2838 2014-03-17  Will Newton  <will.newton@linaro.org>
2840         * nptl/sysdeps/pthread/pthread.h: Revert previous
2841         change.
2843         * sysdeps/generic/ldsodefs.h: Revert previous
2844         change.
2846         * libio/genops.c: Revert previous change.
2847         * libio/libioP.h: Likewise.
2848         * stdio-common/vfprintf.c: Likewise.
2850         * sysdeps/generic/math_private.h: Revert previous
2851         change.
2853         * sysdeps/generic/math_private.h: Check whether
2854         HAVE_RM_CTX is defined with #ifdef rather
2855         than #if.
2857         * argp/argp-fmtstream.h: Check whether
2858         __STRICT_ANSI__ is defined with #ifdef rather
2859         than #if.
2860         * argp/argp.h: Likewise.
2862         * libio/genops.c: Check whether
2863         _IO_JUMPS_OFFSET is defined with #ifdef rather
2864         than #if.
2865         * libio/libioP.h: Likewise.
2866         * stdio-common/vfprintf.c: Likewise.
2868         * sysdeps/generic/ldsodefs.h: Check whether
2869         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2870         than #if.
2872         * nptl/sysdeps/pthread/pthread.h: Check
2873         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2874         its value.
2876 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2878         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2879         setting O_APPEND.
2880         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2881         test case.
2883         [BZ #16680]
2884         * libio/fileops.c (_IO_file_open): Seek to end of file but
2885         don't cache the offset.
2886         (get_file_offset): Remove function.
2887         (do_ftell): Use cached offset when available.
2888         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2889         don't cache the offset.
2890         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2891         case.
2892         (do_one_test): Call it.
2893         (do_ftell_test): Fix up expected old offset for a+ mode.
2894         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2895         available.
2897         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2898         up test status with function return status.
2899         (do_write_test): Likewise.
2900         (do_append_test): Likewise.
2902         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2903         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2904         Remove.
2906 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2908         * math/gen-libm-test.pl (parse_args): Handle results specified for
2909         each rounding mode separately.
2910         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2911         tests and results from lrint_tonearest_test_data,
2912         lrint_towardzero_test_data, lrint_downward_test_data and
2913         lrint_upward_test_data.
2914         (lrint_test): Use ALL_RM_TEST.
2915         (lrint_tonearest_test_data): Remove.
2916         (lrint_test_tonearest): Likewise.
2917         (lrint_towardzero_test_data): Likewise.
2918         (lrint_test_towardzero): Likewise.
2919         (lrint_downward_test_data): Likewise.
2920         (lrint_test_downward): Likewise.
2921         (lrint_upward_test_data): Likewise.
2922         (lrint_test_upward): Likewise.
2923         (llrint_test_data): Merge in per-rounding-mode tests and results
2924         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2925         llrint_downward_test_data and llrint_upward_test_data.
2926         (llrint_test): Use ALL_RM_TEST.
2927         (llrint_tonearest_test_data): Remove.
2928         (llrint_test_tonearest): Likewise.
2929         (llrint_towardzero_test_data): Likewise.
2930         (llrint_test_towardzero): Likewise.
2931         (llrint_downward_test_data): Likewise.
2932         (llrint_test_downward): Likewise.
2933         (llrint_upward_test_data): Likewise.
2934         (llrint_test_upward): Likewise.
2935         (rint_test_data): Merge in per-rounding-mode tests and results
2936         from rint_tonearest_test_data, rint_towardzero_test_data,
2937         rint_downward_test_data and rint_upward_test_data.  Add
2938         per-rounding-mode results for tests not in those arrays.
2939         (rint_test): Use ALL_RM_TEST.
2940         (rint_tonearest_test_data): Remove.
2941         (rint_test_tonearest): Likewise.
2942         (rint_towardzero_test_data): Likewise.
2943         (rint_test_towardzero): Likewise.
2944         (rint_downward_test_data): Likewise.
2945         (rint_test_downward): Likewise.
2946         (rint_upward_test_data): Likewise.
2947         (rint_test_upward): Likewise.
2948         (main): Don't call removed functions.
2950 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2952         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2953         "Compiled on ..." crapola.  It is anti-useful.
2955 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2957         * scripts/evaluate-test.sh: Handle fourth argument to determine
2958         whether test run should stop on failure.
2959         * Makeconfig (stop-on-test-failure): New variable.
2960         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2961         $(stop-on-test-failure).
2962         * Makefile (tests): Give a summary of results from testing and
2963         exit with failure status if they include an ERROR or FAIL.
2964         (xtests): Likewise.
2965         * manual/install.texi (Configuring and compiling): Mention
2966         stop-on-test-failure=y.
2967         * INSTALL: Regenerated.
2969 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2971         * scripts/versionlist.awk: New file.
2972         * Makerules [$(build-shared) = yes]
2973         (postclean-generated): Add Versions.def, not Versions.def.v and
2974         Versions.def.v.i.
2975         ($(common-objpfx)Versions.def.v.i): Target removed.
2976         ($(common-objpfx)Versions.def): New target.
2977         ($(common-objpfx)Versions.all): Depend on that rather that
2978         $(common-objpfx)Versions.def.v.
2979         * Versions.def: File removed.
2981         * Makeconfig (+gccwarn): Add -Wundef.
2982         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2983         a dl-sysdep.h breaking its contract.
2984         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2985         * include/stackinfo.h: New file.
2986         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2987         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2988         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2989         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2990         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2991         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2992         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2993         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2994         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2995         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2996         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2997         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2998         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2999         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3000         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3002 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3004         [BZ #16707]
3005         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3006         implementation.
3007         * math/libm-test.inc (round_test_data): Add more tests.
3009         [BZ #16706]
3010         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3011         implementation.
3012         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3014         [BZ #16701]
3015         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3016         implementation.
3017         * math/libm-test.inc (ceil_test_data): Add more tests.
3019         * math/libm-test.inc (trunc_test_data): Add more tests related to
3020         BZ#16414.
3022 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3024         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3025         with #if rather than #ifdef.
3026         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3028 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3030         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3031         first.  Disable AVX-512 GCC support if assembler doesn't support
3032         it.
3033         * sysdeps/x86_64/configure: Regenerated.
3035 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3037         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3038         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3039         (__old_pthread_attr_setstack): Likewise.
3040         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3041         [!_STACK_GROWS_DOWN]: Likewise.
3043 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3045         * config.make.in (have-bash2): Delete.
3046         * configure.ac (libc_cv_have_bash2): Delete.
3047         * configure: Regenerate.
3048         * elf/Makefile (common-ldd-rewrite): Rename to ...
3049         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3050         (sh-ldd-rewrite): Delete.
3051         (bash-ldd-rewrite): Delete.
3052         (have-bash2): Delete checks.
3053         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3054         ldd-rewrite.
3056         * config.make.in (have-ksh): Delete.
3057         (KSH): Delete.
3058         * configure.ac (libc_cv_have_ksh): Delete.
3059         * configure: Regenerate.
3061         * elf/Makefile: Delete $(have-ksh) check.
3062         ($(objpfx)sotruss): Change KSH to BASH.
3063         * elf/sotruss.ksh: Rename to ...
3064         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3065         function style to match POSIX.  Drop ksh vim mode setting.
3067         * manual/time.texi (Specifying the Time Zone with TZ): Change
3068         Tuesday to Thursday.
3070         * debug/tst-longjmp_chk2.c: Update header comment.
3071         (stackoverflow_handler): Add comment.  Call assert on pass value.
3073 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3075         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3076         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3077         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3078         (La_x86_64_vector): Add zmm.
3079         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3080         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3081         ($(objpfx)tst-audit10): New target.
3082         ($(objpfx)tst-audit10.out): Likewise.
3083         (tst-audit10-ENV): New.
3084         (AVX512-CFLAGS): Likewise.
3085         (CFLAGS-tst-audit10.c): Likewise.
3086         (CFLAGS-tst-auditmod10a.c): Likewise.
3087         (CFLAGS-tst-auditmod10b.c): Likewise.
3088         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3089         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3090         * sysdeps/x86_64/configure: Regenerated.
3091         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3092         AVX-512 zmm register support.
3093         (_dl_x86_64_save_sse): Likewise.
3094         (_dl_x86_64_restore_sse): Likewise.
3095         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3096         size vector registers.
3097         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3098         (ZMM_SIZE): Likewise.
3099         * sysdeps/x86_64/tst-audit10.c: New file.
3100         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3101         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3103 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3105         * configure.ac (HAVE_EHDR_START): New check.
3106         * configure: Regenerated.
3107         * config.h.in (HAVE_EHDR_START): New #undef.
3108         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3109         assuming the lowest-addressed segment maps the start of the file.
3111 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3113         * INSTALL: Regenerated.
3115 2014-03-13  Will Newton  <will.newton@linaro.org>
3117         * manual/setjmp.texi (System V contexts): Improve
3118         clarity and grammar of documentation.
3120 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3122         [BZ #16381]
3123         * elf/Makefile (tests): Add tst-pie2.
3124         (tests-pie): Add tst-pie2.
3125         * elf/tst-pie2.c: New file.
3126         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3127         for ET_EXEC.
3128         * elf/rtld.c (map_doit): Load executable as lt_executable.
3129         (dl_main): Likewise.
3131 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3133         [BZ #16642]
3134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3135         (__ASSUME_PSELECT): Undefine.
3137 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3139         [BZ #16689]
3140         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3141         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3142         static build.
3143         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3144         selector for static builds.
3146 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3148         [BZ #16695]
3149         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3150         key in the buffer.
3152 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3154         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3155         IFUNC selector for static builds.
3157 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3159         * sysdeps/mips/math_private.h [__mips_hard_float]
3160         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3161         libc_feresetround_mips_ctx.
3162         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3163         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3164         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3166         [BZ #16677]
3167         * math/s_nextafter.c (__nextafter): Do not return value from
3168         overflowing computation.
3169         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3170         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3171         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3172         Likewise.
3173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3174         Likewise.
3175         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3176         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3178 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3180         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3181         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3182         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3183         the new mov targetting sp.
3185 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3187         [BZ #16683]
3188         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3189         Define it for static builds as well.
3190         (NO_BZERO_IMPL): Likewise.
3192 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3194         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3195         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3196         multiarch strspn for PPC64.
3197         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3198         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3200         (__libc_ifunc_impl_list): Likewise.
3201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3202         multiarch optimizations
3203         * string/strspn.c (strspn): Using macro to redefine symbol name.
3205 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3206             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3208         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3209         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3210         multiarch strncat for PPC64.
3211         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3212         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3214         (__libc_ifunc_impl_list): Likewise.
3215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3216         multiarch optimizations
3218 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3220         [BZ #16639]
3221         * nscd/nscd.service: Make service type forking.
3223 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3225         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3226         sign in non default rounding modes.
3227         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3229 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3231         * math/libm-test.inc (ALL_RM_TEST): New macro.
3232         (ceil_test): Use ALL_RM_TEST.
3233         (cimag_test): Likewise.
3234         (conj_test): Likewise.
3235         (copysign_test): Likewise.
3236         (cproj_test): Likewise.
3237         (creal_test): Likewise.
3238         (fabs_test): Likewise.
3239         (floor_test): Likewise.
3240         (fmax_test): Likewise.
3241         (fmin_test): Likewise.
3242         (fmod_test): Likewise.
3243         (fpclassify_test): Likewise.
3244         (frexp_test): Likewise.
3245         (ilogb_test): Likewise.
3246         (isfinite_test): Likewise.
3247         (finite_test): Likewise.
3248         (isgreater_test): Likewise.
3249         (isgreaterequal_test): Likewise.
3250         (isinf_test): Likewise.
3251         (isless_test): Likewise.
3252         (islessequal_test): Likewise.
3253         (islessgreater_test): Likewise.
3254         (isnan_test): Likewise.
3255         (isnormal_test): Likewise.
3256         (issignaling_test): Likewise.
3257         (isunordered_test): Likewise.
3258         (logb_test): Likewise.
3259         (logb_downward_test_data): Remove.
3260         (logb_test_downward): Likewise.
3261         (lround_test): Use ALL_RM_TEST.
3262         (llround_test): Likewise.
3263         (modf_test): Likewise.
3264         (nexttoward_test): Likewise.
3265         (remainder_test): Likewise.
3266         (drem_test): Likewise.
3267         (remainder_tonearest_test_data): Likewise.
3268         (remainder_test_tonearest): Likewise.
3269         (drem_test_tonearest): Likewise.
3270         (remainder_towardzero_test_data): Likewise.
3271         (remainder_test_towardzero): Likewise.
3272         (drem_test_towardzero): Likewise.
3273         (remainder_downward_test_data): Likewise.
3274         (remainder_test_downward): Likewise.
3275         (drem_test_downward): Likewise.
3276         (remainder_upward_test_data): Likewise.
3277         (remainder_test_upward): Likewise.
3278         (drem_test_upward): Likewise.
3279         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3280         (round_test): Use ALL_RM_TEST.
3281         (signbit_test): Likewise.
3282         (trunc_test): Likewise.
3283         (significand_test): Likewise.
3284         (main): Don't call removed functions.
3286 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3288         [BZ #16674]
3289         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3290         || __USE_XOPEN2K8].
3291         (ILL_ILLOPN): Likewise.
3292         (ILL_ILLADR): Likewise.
3293         (ILL_ILLTRP): Likewise.
3294         (ILL_PRVOPC): Likewise.
3295         (ILL_PRVREG): Likewise.
3296         (ILL_COPROC): Likewise.
3297         (ILL_BADSTK): Likewise.
3298         (FPE_INTDIV): Likewise.
3299         (FPE_INTOVF): Likewise.
3300         (FPE_FLTDIV): Likewise.
3301         (FPE_FLTOVF): Likewise.
3302         (FPE_FLTUND): Likewise.
3303         (FPE_FLTRES): Likewise.
3304         (FPE_FLTINV): Likewise.
3305         (FPE_FLTSUB): Likewise.
3306         (SEGV_MAPERR): Likewise.
3307         (SEGV_ACCERR): Likewise.
3308         (BUS_ADRALN): Likewise.
3309         (BUS_ADRERR): Likewise.
3310         (BUS_OBJERR): Likewise.
3311         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3312         (TRAP_TRACE): Likewise.
3313         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3314         __USE_XOPEN2K8].
3315         (CLD_KILLED): Likewise.
3316         (CLD_DUMPED): Likewise.
3317         (CLD_TRAPPED): Likewise.
3318         (CLD_STOPPED): Likewise.
3319         (CLD_CONTINUED): Likewise.
3320         (POLL_IN): Likewise.
3321         (POLL_OUT): Likewise.
3322         (POLL_MSG): Likewise.
3323         (POLL_ERR): Likewise.
3324         (POLL_PRI): Likewise.
3325         (POLL_HUP): Likewise.
3326         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3327         Likewise.
3328         (ILL_ILLOPN): Likewise.
3329         (ILL_ILLADR): Likewise.
3330         (ILL_ILLTRP): Likewise.
3331         (ILL_PRVOPC): Likewise.
3332         (ILL_PRVREG): Likewise.
3333         (ILL_COPROC): Likewise.
3334         (ILL_BADSTK): Likewise.
3335         (FPE_INTDIV): Likewise.
3336         (FPE_INTOVF): Likewise.
3337         (FPE_FLTDIV): Likewise.
3338         (FPE_FLTOVF): Likewise.
3339         (FPE_FLTUND): Likewise.
3340         (FPE_FLTRES): Likewise.
3341         (FPE_FLTINV): Likewise.
3342         (FPE_FLTSUB): Likewise.
3343         (SEGV_MAPERR): Likewise.
3344         (SEGV_ACCERR): Likewise.
3345         (BUS_ADRALN): Likewise.
3346         (BUS_ADRERR): Likewise.
3347         (BUS_OBJERR): Likewise.
3348         (BUS_MCEERR_AR): Likewise.
3349         (BUS_MCEERR_AO): Likewise.
3350         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3351         (TRAP_TRACE): Likewise.
3352         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3353         __USE_XOPEN2K8].
3354         (CLD_KILLED): Likewise.
3355         (CLD_DUMPED): Likewise.
3356         (CLD_TRAPPED): Likewise.
3357         (CLD_STOPPED): Likewise.
3358         (CLD_CONTINUED): Likewise.
3359         (POLL_IN): Likewise.
3360         (POLL_OUT): Likewise.
3361         (POLL_MSG): Likewise.
3362         (POLL_ERR): Likewise.
3363         (POLL_PRI): Likewise.
3364         (POLL_HUP): Likewise.
3365         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3366         (ILL_ILLOPN): Likewise.
3367         (ILL_ILLADR): Likewise.
3368         (ILL_ILLTRP): Likewise.
3369         (ILL_PRVOPC): Likewise.
3370         (ILL_PRVREG): Likewise.
3371         (ILL_COPROC): Likewise.
3372         (ILL_BADSTK): Likewise.
3373         (FPE_INTDIV): Likewise.
3374         (FPE_INTOVF): Likewise.
3375         (FPE_FLTDIV): Likewise.
3376         (FPE_FLTOVF): Likewise.
3377         (FPE_FLTUND): Likewise.
3378         (FPE_FLTRES): Likewise.
3379         (FPE_FLTINV): Likewise.
3380         (FPE_FLTSUB): Likewise.
3381         (SEGV_MAPERR): Likewise.
3382         (SEGV_ACCERR): Likewise.
3383         (BUS_ADRALN): Likewise.
3384         (BUS_ADRERR): Likewise.
3385         (BUS_OBJERR): Likewise.
3386         (BUS_MCEERR_AR): Likewise.
3387         (BUS_MCEERR_AO): Likewise.
3388         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3389         (TRAP_TRACE): Likewise.
3390         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3391         __USE_XOPEN2K8].
3392         (CLD_KILLED): Likewise.
3393         (CLD_DUMPED): Likewise.
3394         (CLD_TRAPPED): Likewise.
3395         (CLD_STOPPED): Likewise.
3396         (CLD_CONTINUED): Likewise.
3397         (POLL_IN): Likewise.
3398         (POLL_OUT): Likewise.
3399         (POLL_MSG): Likewise.
3400         (POLL_ERR): Likewise.
3401         (POLL_PRI): Likewise.
3402         (POLL_HUP): Likewise.
3403         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3404         Likewise.
3405         (ILL_ILLOPN): Likewise.
3406         (ILL_ILLADR): Likewise.
3407         (ILL_ILLTRP): Likewise.
3408         (ILL_PRVOPC): Likewise.
3409         (ILL_PRVREG): Likewise.
3410         (ILL_COPROC): Likewise.
3411         (ILL_BADSTK): Likewise.
3412         (ILL_BADIADDR): Likewise.
3413         (ILL_BREAK): Likewise.
3414         (FPE_INTDIV): Likewise.
3415         (FPE_INTOVF): Likewise.
3416         (FPE_FLTDIV): Likewise.
3417         (FPE_FLTOVF): Likewise.
3418         (FPE_FLTUND): Likewise.
3419         (FPE_FLTRES): Likewise.
3420         (FPE_FLTINV): Likewise.
3421         (FPE_FLTSUB): Likewise.
3422         (FPE_DECOVF): Likewise.
3423         (FPE_DECDIV): Likewise.
3424         (FPE_DECERR): Likewise.
3425         (FPE_INVASC): Likewise.
3426         (FPE_INVDEC): Likewise.
3427         (SEGV_MAPERR): Likewise.
3428         (SEGV_ACCERR): Likewise.
3429         (SEGV_PSTKOVF): Likewise.
3430         (BUS_ADRALN): Likewise.
3431         (BUS_ADRERR): Likewise.
3432         (BUS_OBJERR): Likewise.
3433         (BUS_MCEERR_AR): Likewise.
3434         (BUS_MCEERR_AO): Likewise.
3435         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3436         (TRAP_TRACE): Likewise.
3437         (TRAP_BRANCH): Likewise.
3438         (TRAP_HWBKPT): Likewise.
3439         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3440         __USE_XOPEN2K8].
3441         (CLD_KILLED): Likewise.
3442         (CLD_DUMPED): Likewise.
3443         (CLD_TRAPPED): Likewise.
3444         (CLD_STOPPED): Likewise.
3445         (CLD_CONTINUED): Likewise.
3446         (POLL_IN): Likewise.
3447         (POLL_OUT): Likewise.
3448         (POLL_MSG): Likewise.
3449         (POLL_ERR): Likewise.
3450         (POLL_PRI): Likewise.
3451         (POLL_HUP): Likewise.
3452         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3453         (ILL_ILLOPN): Likewise.
3454         (ILL_ILLADR): Likewise.
3455         (ILL_ILLTRP): Likewise.
3456         (ILL_PRVOPC): Likewise.
3457         (ILL_PRVREG): Likewise.
3458         (ILL_COPROC): Likewise.
3459         (ILL_BADSTK): Likewise.
3460         (FPE_INTDIV): Likewise.
3461         (FPE_INTOVF): Likewise.
3462         (FPE_FLTDIV): Likewise.
3463         (FPE_FLTOVF): Likewise.
3464         (FPE_FLTUND): Likewise.
3465         (FPE_FLTRES): Likewise.
3466         (FPE_FLTINV): Likewise.
3467         (FPE_FLTSUB): Likewise.
3468         (SEGV_MAPERR): Likewise.
3469         (SEGV_ACCERR): Likewise.
3470         (BUS_ADRALN): Likewise.
3471         (BUS_ADRERR): Likewise.
3472         (BUS_OBJERR): Likewise.
3473         (BUS_MCEERR_AR): Likewise.
3474         (BUS_MCEERR_AO): Likewise.
3475         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3476         (TRAP_TRACE): Likewise.
3477         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3478         __USE_XOPEN2K8].
3479         (CLD_KILLED): Likewise.
3480         (CLD_DUMPED): Likewise.
3481         (CLD_TRAPPED): Likewise.
3482         (CLD_STOPPED): Likewise.
3483         (CLD_CONTINUED): Likewise.
3484         (POLL_IN): Likewise.
3485         (POLL_OUT): Likewise.
3486         (POLL_MSG): Likewise.
3487         (POLL_ERR): Likewise.
3488         (POLL_PRI): Likewise.
3489         (POLL_HUP): Likewise.
3490         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3491         (ILL_ILLOPN): Likewise.
3492         (ILL_ILLADR): Likewise.
3493         (ILL_ILLTRP): Likewise.
3494         (ILL_PRVOPC): Likewise.
3495         (ILL_PRVREG): Likewise.
3496         (ILL_COPROC): Likewise.
3497         (ILL_BADSTK): Likewise.
3498         (FPE_INTDIV): Likewise.
3499         (FPE_INTOVF): Likewise.
3500         (FPE_FLTDIV): Likewise.
3501         (FPE_FLTOVF): Likewise.
3502         (FPE_FLTUND): Likewise.
3503         (FPE_FLTRES): Likewise.
3504         (FPE_FLTINV): Likewise.
3505         (FPE_FLTSUB): Likewise.
3506         (SEGV_MAPERR): Likewise.
3507         (SEGV_ACCERR): Likewise.
3508         (BUS_ADRALN): Likewise.
3509         (BUS_ADRERR): Likewise.
3510         (BUS_OBJERR): Likewise.
3511         (BUS_MCEERR_AR): Likewise.
3512         (BUS_MCEERR_AO): Likewise.
3513         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3514         (TRAP_TRACE): Likewise.
3515         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3516         __USE_XOPEN2K8].
3517         (CLD_KILLED): Likewise.
3518         (CLD_DUMPED): Likewise.
3519         (CLD_TRAPPED): Likewise.
3520         (CLD_STOPPED): Likewise.
3521         (CLD_CONTINUED): Likewise.
3522         (POLL_IN): Likewise.
3523         (POLL_OUT): Likewise.
3524         (POLL_MSG): Likewise.
3525         (POLL_ERR): Likewise.
3526         (POLL_PRI): Likewise.
3527         (POLL_HUP): Likewise.
3528         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3529         (ILL_ILLOPN): Likewise.
3530         (ILL_ILLADR): Likewise.
3531         (ILL_ILLTRP): Likewise.
3532         (ILL_PRVOPC): Likewise.
3533         (ILL_PRVREG): Likewise.
3534         (ILL_COPROC): Likewise.
3535         (ILL_BADSTK): Likewise.
3536         (FPE_INTDIV): Likewise.
3537         (FPE_INTOVF): Likewise.
3538         (FPE_FLTDIV): Likewise.
3539         (FPE_FLTOVF): Likewise.
3540         (FPE_FLTUND): Likewise.
3541         (FPE_FLTRES): Likewise.
3542         (FPE_FLTINV): Likewise.
3543         (FPE_FLTSUB): Likewise.
3544         (SEGV_MAPERR): Likewise.
3545         (SEGV_ACCERR): Likewise.
3546         (BUS_ADRALN): Likewise.
3547         (BUS_ADRERR): Likewise.
3548         (BUS_OBJERR): Likewise.
3549         (BUS_MCEERR_AR): Likewise.
3550         (BUS_MCEERR_AO): Likewise.
3551         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3552         (TRAP_TRACE): Likewise.
3553         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3554         __USE_XOPEN2K8].
3555         (CLD_KILLED): Likewise.
3556         (CLD_DUMPED): Likewise.
3557         (CLD_TRAPPED): Likewise.
3558         (CLD_STOPPED): Likewise.
3559         (CLD_CONTINUED): Likewise.
3560         (POLL_IN): Likewise.
3561         (POLL_OUT): Likewise.
3562         (POLL_MSG): Likewise.
3563         (POLL_ERR): Likewise.
3564         (POLL_PRI): Likewise.
3565         (POLL_HUP): Likewise.
3566         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3567         (ILL_ILLOPN): Likewise.
3568         (ILL_ILLADR): Likewise.
3569         (ILL_ILLTRP): Likewise.
3570         (ILL_PRVOPC): Likewise.
3571         (ILL_PRVREG): Likewise.
3572         (ILL_COPROC): Likewise.
3573         (ILL_BADSTK): Likewise.
3574         (ILL_DBLFLT): Likewise.
3575         (ILL_HARDWALL): Likewise.
3576         (FPE_INTDIV): Likewise.
3577         (FPE_INTOVF): Likewise.
3578         (FPE_FLTDIV): Likewise.
3579         (FPE_FLTOVF): Likewise.
3580         (FPE_FLTUND): Likewise.
3581         (FPE_FLTRES): Likewise.
3582         (FPE_FLTINV): Likewise.
3583         (FPE_FLTSUB): Likewise.
3584         (SEGV_MAPERR): Likewise.
3585         (SEGV_ACCERR): Likewise.
3586         (BUS_ADRALN): Likewise.
3587         (BUS_ADRERR): Likewise.
3588         (BUS_OBJERR): Likewise.
3589         (BUS_MCEERR_AR): Likewise.
3590         (BUS_MCEERR_AO): Likewise.
3591         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3592         (TRAP_TRACE): Likewise.
3593         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3594         __USE_XOPEN2K8].
3595         (CLD_KILLED): Likewise.
3596         (CLD_DUMPED): Likewise.
3597         (CLD_TRAPPED): Likewise.
3598         (CLD_STOPPED): Likewise.
3599         (CLD_CONTINUED): Likewise.
3600         (POLL_IN): Likewise.
3601         (POLL_OUT): Likewise.
3602         (POLL_MSG): Likewise.
3603         (POLL_ERR): Likewise.
3604         (POLL_PRI): Likewise.
3605         (POLL_HUP): Likewise.
3606         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3607         (ILL_ILLOPN): Likewise.
3608         (ILL_ILLADR): Likewise.
3609         (ILL_ILLTRP): Likewise.
3610         (ILL_PRVOPC): Likewise.
3611         (ILL_PRVREG): Likewise.
3612         (ILL_COPROC): Likewise.
3613         (ILL_BADSTK): Likewise.
3614         (FPE_INTDIV): Likewise.
3615         (FPE_INTOVF): Likewise.
3616         (FPE_FLTDIV): Likewise.
3617         (FPE_FLTOVF): Likewise.
3618         (FPE_FLTUND): Likewise.
3619         (FPE_FLTRES): Likewise.
3620         (FPE_FLTINV): Likewise.
3621         (FPE_FLTSUB): Likewise.
3622         (SEGV_MAPERR): Likewise.
3623         (SEGV_ACCERR): Likewise.
3624         (BUS_ADRALN): Likewise.
3625         (BUS_ADRERR): Likewise.
3626         (BUS_OBJERR): Likewise.
3627         (BUS_MCEERR_AR): Likewise.
3628         (BUS_MCEERR_AO): Likewise.
3629         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3630         (TRAP_TRACE): Likewise.
3631         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3632         __USE_XOPEN2K8].
3633         (CLD_KILLED): Likewise.
3634         (CLD_DUMPED): Likewise.
3635         (CLD_TRAPPED): Likewise.
3636         (CLD_STOPPED): Likewise.
3637         (CLD_CONTINUED): Likewise.
3638         (POLL_IN): Likewise.
3639         (POLL_OUT): Likewise.
3640         (POLL_MSG): Likewise.
3641         (POLL_ERR): Likewise.
3642         (POLL_PRI): Likewise.
3643         (POLL_HUP): Likewise.
3644         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3645         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3647         [BZ #16670]
3648         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3649         before #include of <time.h>.
3650         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3651         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3652         (test-xfail-UNIX98/sched.h/conform): Likewise.
3654 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3656         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3657         error absence of trapping exception support.
3658         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3660 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3662         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3663         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3664         * timezone/Makefile (testdata): Move definition above include of
3665         Rules.
3666         (test-zones): New variable.
3667         (tests-special): Add zone files.
3668         (build-testdata): Use $(evaluate-test).
3670         * elf/Makefile (tests-special): Rename tests to end with .out.
3671         ($(objpfx)noload-mem): Likewise.
3672         ($(objpfx)tst-leaks1-mem): Likewise.
3673         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3674         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3675         $(objpfx)test-iconvconfig.out.
3676         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3677         set -e inside subshell and redirect output to file.
3678         * iconvdata/Makefile (generated): Rename tests to end with .out.
3679         Correct type.
3680         (tests-special): Rename tests to end with .out.
3681         ($(objpfx)mtrace-tst-loading): Likewise.
3682         * intl/Makefile (generated): Likewise.
3683         (tests-special): Likewise.
3684         ($(objpfx)mtrace-tst-gettext): Likewise.
3685         * misc/Makefile (generated): Likewise.
3686         (tests-special): Likewise.
3687         ($(objpfx)tst-error1-mem): Likewise.
3688         * nptl/Makefile (tests-special): Likewise.
3689         ($(objpfx)tst-stack3-mem): Likewise.
3690         (generated): Likewise.
3691         * posix/Makefile (generated): Likewise.
3692         (tests-special): Likewise.
3693         (xtests-special): Likewise.
3694         ($(objpfx)tst-fnmatch-mem): Likewise.
3695         ($(objpfx)bug-regex2-mem): Likewise.
3696         ($(objpfx)bug-regex14-mem): Likewise.
3697         ($(objpfx)bug-regex21-mem): Likewise.
3698         ($(objpfx)bug-regex31-mem): Likewise.
3699         ($(objpfx)tst-vfork3-mem): Likewise.
3700         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3701         ($(objpfx)tst-pcre-mem): Likewise.
3702         ($(objpfx)tst-boost-mem): Likewise.
3703         ($(objpfx)bug-ga2-mem): Likewise.
3704         ($(objpfx)bug-glob2-mem): Likewise.
3705         * resolv/Makefile (generate): Likewise.
3706         (tests-special): Likewise.
3707         (xtests-special): Likewise.
3708         (generated): Likewise.
3709         ($(objpfx)mtrace-tst-leaks): Likewise.
3710         ($(objpfx)mtrace-tst-leaks2): Likewise.
3712         * scripts/merge-test-results.sh: New file.
3713         * Makefile (tests-special-notdir): New variable.
3714         (tests): Run merge-test-results.sh.
3715         (xtests): Likewise.
3716         * Rules (tests-special-notdir): New variable.
3717         (xtests-special-notdir): Likewise.
3718         (tests): Run merge-test-results.sh
3719         (xtests): Likewise.
3721         * Makeconfig (test-xfail-name): New variable.
3722         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3723         compute variable name for expected failures.
3724         * conform/Makefile (conformtest-headers-data): New variable.
3725         (conformtest-standards): Likewise.
3726         (conformtest-headers-ISO): Likewise.
3727         (conformtest-headers-ISO99): Likewise.
3728         (conformtest-headers-ISO11): Likewise.
3729         (conformtest-headers-POSIX): Likewise.
3730         (conformtest-headers-XPG3): Likewise.
3731         (conformtest-headers-XPG4): Likewise.
3732         (conformtest-headers-UNIX98): Likewise.
3733         (conformtest-headers-XOPEN2K): Likewise.
3734         (conformtest-headers-POSIX2008): Likewise.
3735         (conformtest-headers-XOPEN2K8): Likewise.
3736         (conformtest-header-list-base): Likewise.
3737         (conformtest-header-list-tests): Likewise.
3738         (conformtest-header-base): Likewise.
3739         (conformtest-header-tests): Likewise.
3740         (tests-special): Add $(conformtest-header-list-tests).  If
3741         [$(fast-check) && !$(cross-compiling)], add
3742         $(conformtest-header-tests) instead of
3743         $(objpfx)run-conformtest.out.
3744         (generated): Add $(conformtest-header-list-base).  If
3745         [$(fast-check) && !$(cross-compiling)], add
3746         $(conformtest-header-base).  Remove previous setting.
3747         ($(conformtest-header-list-tests)): New target.
3748         (test-xfail-run-conformtest): Remove variable.
3749         ($(objpfx)run-conformtest.out): Remove target.
3750         (test-xfail-ISO11/complex.h/conform): New variable.
3751         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3752         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3753         (test-xfail-XPG3/varargs.h/conform): Likewise.
3754         (test-xfail-XPG4/varargs.h/conform): Likewise.
3755         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3756         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3757         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3758         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3759         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3760         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3761         (test-xfail-XPG3/ftw.h/conform): Likewise.
3762         (test-xfail-XPG3/grp.h/conform): Likewise.
3763         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3764         (test-xfail-XPG3/limits.h/conform): Likewise.
3765         (test-xfail-XPG3/pwd.h/conform): Likewise.
3766         (test-xfail-XPG3/search.h/conform): Likewise.
3767         (test-xfail-XPG3/signal.h/conform): Likewise.
3768         (test-xfail-XPG3/stdio.h/conform): Likewise.
3769         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3770         (test-xfail-XPG3/string.h/conform): Likewise.
3771         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3772         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3773         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3774         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3775         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3776         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3777         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3778         (test-xfail-XPG3/termios.h/conform): Likewise.
3779         (test-xfail-XPG3/time.h/conform): Likewise.
3780         (test-xfail-XPG3/unistd.h/conform): Likewise.
3781         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3782         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3783         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3784         (test-xfail-XPG4/netdb.h/conform): Likewise.
3785         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3786         (test-xfail-XPG4/signal.h/conform): Likewise.
3787         (test-xfail-XPG4/stdio.h/conform): Likewise.
3788         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3789         (test-xfail-XPG4/stropts.h/conform): Likewise.
3790         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3791         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3792         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3793         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3794         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3795         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3796         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3797         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3798         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3799         (test-xfail-XPG4/termios.h/conform): Likewise.
3800         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3801         (test-xfail-XPG4/unistd.h/conform): Likewise.
3802         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3803         (test-xfail-POSIX/sched.h/conform): Likewise.
3804         (test-xfail-POSIX/signal.h/conform): Likewise.
3805         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3806         (test-xfail-POSIX/tar.h/conform): Likewise.
3807         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3808         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3809         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3810         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3811         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3812         (test-xfail-UNIX98/sched.h/conform): Likewise.
3813         (test-xfail-UNIX98/signal.h/conform): Likewise.
3814         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3815         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3816         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3817         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3818         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3819         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3820         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3821         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3822         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3823         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3824         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3825         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3826         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3827         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3828         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3829         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3830         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3831         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3832         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3833         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3834         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3835         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3836         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3837         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3838         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3839         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3840         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3841         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3842         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3843         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3844         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3845         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3846         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3847         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3848         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3849         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3850         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3851         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3852         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3853         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3854         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3855         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3856         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3857         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3858         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3859         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3860         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3861         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3862         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3863         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3864         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3865         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3866         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3867         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3868         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3869         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3870         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3871         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3872         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3873         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3874         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3875         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3876         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3877         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3878         (conformtest-cc-flags): Likewise.
3879         ($(conformtest-header-tests): New target.
3880         * conform/check-header-lists.sh: New file.
3881         * conform/run-conformtest.sh: Remove.
3883         * conform/conformtest.pl: Allow ' and \ in values given for
3884         constants.
3885         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3886         inclusion.
3887         [POSIX] (sys/types.h): Likewise.
3888         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3889         inclusion.
3890         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3891         inclusion.
3892         * conform/data/signal.h-data (SIGIO): Remove expectation.
3893         [XPG3] (SIGBUS): Do not expect.
3894         [POSIX || XPG3] (SIGPOLL): Likewise.
3895         [POSIX || XPG3] (SIGPROF): Likewise.
3896         [POSIX || XPG3] (SIGSYS): Likewise.
3897         [XPG3] (SIGTRAP): Likewise.
3898         [POSIX || XPG3] (SIGURG): Likewise.
3899         [POSIX || XPG3] (SIGVTALRM): Likewise.
3900         [POSIX || XPG3] (SIGXCPU): Likewise.
3901         [POSIX || XPG3] (SIGXFSZ): Likewise.
3902         [POSIX] (SA_SIGINFO): Expect.
3903         [XPG3] (siginfo_t): Do not expect type or contents.
3904         [POSIX] (si_pid): Do not expect element.
3905         [POSIX] (si_uid): Likewise.
3906         [POSIX] (si_addr): Likewise.
3907         [POSIX] (si_status): Likewise.
3908         [POSIX] (si_band): Likewise.
3909         [XPG4] (si_value): Likewise.
3910         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3911         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3912         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3913         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3914         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3915         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3916         [POSIX || XPG3] (ILL_COPROC): Likewise.
3917         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3918         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3919         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3920         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3921         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3922         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3923         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3924         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3925         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3926         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3927         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3928         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3929         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3930         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3931         [POSIX || XPG3] (CLD_EXITED): Likewise.
3932         [POSIX || XPG3] (CLD_KILLED): Likewise.
3933         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3934         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3935         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3936         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3937         [POSIX || XPG3] (POLL_IN): Likewise.
3938         [POSIX || XPG3] (POLL_OUT): Likewise.
3939         [POSIX || XPG3] (POLL_MSG): Likewise.
3940         [POSIX || XPG3] (POLL_ERR): Likewise.
3941         [POSIX || XPG3] (POLL_PRI): Likewise.
3942         [POSIX || XPG3] (POLL_HUP): Likewise.
3943         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3944         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3945         (SIG*): Do not allow.
3946         [XPG3] (si_*): Likewise.
3947         [XPG3] (SI_*): Likewise.
3948         [XPG3 || XPG4] (sigev_*): Likewise.
3949         [XPG3 || XPG4] (SIGEV_*): Likewise.
3950         [XPG3 || XPG4] (sival_*): Likewise.
3951         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3952         [POSIX || XPG3] (BUS_*): Likewise.
3953         [POSIX || XPG3] (CLD_*): Likewise.
3954         [POSIX || XPG3] (FPE_*): Likewise.
3955         [POSIX || XPG3] (ILL_*): Likewise.
3956         [POSIX || XPG3] (POLL_*): Likewise.
3957         [POSIX || XPG3] (SEGV_*): Likewise.
3958         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3959         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3960         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3961         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3962         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3963         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3964         Specify type and value.
3965         (TVERSLEN): Likewise.
3966         (REGTYPE): Likewise.
3967         (AREGTYPE): Likewise.
3968         (LNKTYPE): Likewise.
3969         (SYMTYPE): Likewise.
3970         (CHRTYPE): Likewise.
3971         (BLKTYPE): Likewise.
3972         (DIRTYPE): Likewise.
3973         (FIFOTYPE): Likewise.
3974         (CONTTYPE): Likewise.
3975         (TSUID): Likewise.
3976         (TSGID): Likewise.
3977         (TSVTX): Likewise.
3978         (TUREAD): Likewise.
3979         (TUWRITE): Likewise.
3980         (TUEXEC): Likewise.
3981         (TGREAD): Likewise.
3982         (TGWRITE): Likewise.
3983         (TGEXEC): Likewise.
3984         (TOREAD): Likewise.
3985         (TOWRITE): Likewise.
3986         (TOEXEC): Likewise.
3987         [POSIX] (TSVTX): Expect constant.
3989 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3991         * Makefile (tests): Change dependencies to ....
3992         (tests-special): ... additions to this variable.
3993         (tests): Depend on $(tests-special).
3994         * Makerules (check-abi-list): New variable.
3995         (check-abi): Depend on $(check-abi-list).
3996         [$(subdir) = elf] (tests-special): Add
3997         $(objpfx)check-abi-libc.out.
3998         [$(build-shared) = yes && subdir] (tests-special): Add
3999         $(check-abi-list).
4000         [$(build-shared) = yes && subdir] (tests): Do not depend on
4001         check-abi.
4002         * Rules (tests): Depend on $(tests-special).
4003         (xtests): Depend on $(xtests-special).
4004         * catgets/Makefile (tests): Change dependencies to ....
4005         (tests-special): ... additions to this variable.
4006         * conform/Makefile (tests): Change dependencies to ....
4007         (tests-special): ... additions to this variable.
4008         * elf/Makefile (tests): Change dependencies to ....
4009         (tests-special): ... additions to this variable.
4010         * grp/Makefile (tests): Change dependencies to ....
4011         (tests-special): ... additions to this variable.
4012         * iconv/Makefile (xtests): Change dependencies to ....
4013         (xtests-special): ... additions to this variable.
4014         * iconvdata/Makefile (tests): Change dependencies to ....
4015         (tests-special): ... additions to this variable.
4016         * intl/Makefile (tests): Change dependencies to ....
4017         (tests-special): ... additions to this variable.  Also add
4018         $(objpfx)tst-gettext.out.
4019         * io/Makefile (tests): Change dependencies to ....
4020         (tests-special): ... additions to this variable.
4021         * libio/Makefile (tests): Change dependencies to ....
4022         (tests-special): ... additions to this variable.
4023         * malloc/Makefile (tests): Change dependencies to ....
4024         (tests-special): ... additions to this variable.
4025         * misc/Makefile (tests): Change dependencies to ....
4026         (tests-special): ... additions to this variable.
4027         * nptl/Makefile (tests): Change dependencies to ....
4028         (tests-special): ... additions to this variable.
4029         * nptl_db/Makefile (tests): Change dependencies to ....
4030         (tests-special): ... additions to this variable.
4031         * posix/Makefile (tests): Change dependencies to ....
4032         (tests-special): ... additions to this variable.
4033         (xtests): Change dependencies to ....
4034         (xtests-special): ... additions to this variable.
4035         * resolv/Makefile (tests): Change dependencies to ....
4036         (tests-special): ... additions to this variable.
4037         (xtests): Change dependencies to ....
4038         (xtests-special): ... additions to this variable.
4039         * stdio-common/Makefile (tests): Change dependencies to ....
4040         (tests-special): ... additions to this variable.
4041         (do-tst-unbputc): Remove target.
4042         (do-tst-printf): Likewise.
4043         * stdlib/Makefile (tests): Change dependencies to ....
4044         (tests-special): ... additions to this variable.
4045         * string/Makefile (tests): Change dependencies to ....
4046         (tests-special): ... additions to this variable.
4047         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4048         (tests-special): ... additions to this variable.
4050         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4051         whole file.
4052         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4053         whole file.
4054         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4055         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4057         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4058         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4059         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4060         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4061         * conform/data/libgen.h-data [XPG3]: Likewise.
4062         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4063         * conform/data/ndbm.h-data [XPG3]: Likewise.
4064         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4065         * conform/data/netdb.h-data [XPG3]: Likewise.
4066         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4067         * conform/data/poll.h-data [XPG3]: Likewise.
4068         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4069         * conform/data/strings.h-data [XPG3]: Likewise.
4070         * conform/data/stropts.h-data [XPG3]: Likewise.
4071         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4072         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4073         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4074         Likewise.
4075         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4076         * conform/data/sys/time.h-data [XPG3]: Likewise.
4077         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4078         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4079         * conform/data/sys/un.h-data [XPG3]: Likewise.
4080         * conform/data/syslog.h-data [XPG3]: Likewise.
4081         * conform/data/ucontext.h-data [XPG3]: Likewise.
4082         * conform/data/utmpx.h-data [XPG3]: Likewise.
4083         * conform/data/varargs.h-data [UNIX98]: Enable file.
4085         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4087         * math/libm-test.inc (struct test_f_f_data): Move expected results
4088         into structure for each rounding mode.
4089         (struct test_ff_f_data): Likewise.
4090         (struct test_ff_f_data_nexttoward): Likewise.
4091         (struct test_fi_f_data): Likewise.
4092         (struct test_fl_f_data): Likewise.
4093         (struct test_if_f_data): Likewise.
4094         (struct test_fff_f_data): Likewise.
4095         (struct test_c_f_data): Likewise.
4096         (struct test_f_f1_data): Likewise.
4097         (struct test_fF_f1_data): Likewise.
4098         (struct test_ffI_f1_data): Likewise.
4099         (struct test_c_c_data): Likewise.
4100         (struct test_cc_c_data): Likewise.
4101         (struct test_f_i_data): Likewise.
4102         (struct test_ff_i_data): Likewise.
4103         (struct test_f_l_data): Likewise.
4104         (struct test_f_L_data): Likewise.
4105         (struct test_fFF_11_data): Likewise.
4106         (RM_): New macro.
4107         (RM_FE_DOWNWARD): Likewise.
4108         (RM_FE_TONEAREST): Likewise.
4109         (RM_FE_TOWARDZERO): Likewise.
4110         (RM_FE_UPWARD): Likewise.
4111         (RUN_TEST_LOOP_f_f): Update references to expected results.
4112         (RUN_TEST_LOOP_2_f): Likewise.
4113         (RUN_TEST_LOOP_fff_f): Likewise.
4114         (RUN_TEST_LOOP_c_f): Likewise.
4115         (RUN_TEST_LOOP_f_f1): Likewise.
4116         (RUN_TEST_LOOP_fF_f1): Likewise.
4117         (RUN_TEST_LOOP_fI_f1): Likewise.
4118         (RUN_TEST_LOOP_ffI_f1): Likewise.
4119         (RUN_TEST_LOOP_c_c): Likewise.
4120         (RUN_TEST_LOOP_cc_c): Likewise.
4121         (RUN_TEST_LOOP_f_i): Likewise.
4122         (RUN_TEST_LOOP_f_i_tg): Likewise.
4123         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4124         (RUN_TEST_LOOP_f_b): Likewise.
4125         (RUN_TEST_LOOP_f_b_tg): Likewise.
4126         (RUN_TEST_LOOP_f_l): Likewise.
4127         (RUN_TEST_LOOP_f_L): Likewise.
4128         (RUN_TEST_LOOP_fFF_11): Likewise.
4129         * math/gen-libm-test.pl (parse_args): Output four copies of
4130         expected results for each test.
4132         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4133         (__ASSUME_UTIMES): Remove.
4134         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4135         (__ASSUME_UTIMES): Likewise.
4137         * math/gen-auto-libm-tests.c: Update comment on output format.
4138         (output_for_one_input_case): Generate before-rounding and
4139         after-rounding information as conditions on output flags not
4140         floating-point format.
4141         * math/auto-libm-test-out: Regenerated.
4142         * math/gen-libm-test.pl (cond_value): New function.
4143         (or_cond_value): Use cond_value.
4144         (generate_testfile): Handle conditional exceptions.
4146 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4148         * math/libm-test.inc (max_valid_error): New variable.
4149         (init_max_error): Take new argument specifying whether function
4150         results are exactly determined.  Set max_valid_error and bound
4151         other variables for errors based on this argument.
4152         (set_max_error): Do not record results above max_valid_error.
4153         (check_float_internal): Only accept errors of up to 0.5ulps if
4154         also at most max_valid_error.
4155         (START): Take new argument EXACT and pass it to init_max_error.
4156         (acos_test): Update call to START.
4157         (acos_test_tonearest): Likewise.
4158         (acos_test_towardzero): Likewise.
4159         (acos_test_downward): Likewise.
4160         (acos_test_upward): Likewise.
4161         (acosh_test): Likewise.
4162         (asin_test): Likewise.
4163         (asin_test_tonearest): Likewise.
4164         (asin_test_towardzero): Likewise.
4165         (asin_test_downward): Likewise.
4166         (asin_test_upward): Likewise.
4167         (asinh_test): Likewise.
4168         (atan_test): Likewise.
4169         (atanh_test): Likewise.
4170         (atan2_test): Likewise.
4171         (cabs_test): Likewise.
4172         (cacos_test): Likewise.
4173         (cacosh_test): Likewise.
4174         (carg_test): Likewise.
4175         (casin_test): Likewise.
4176         (casinh_test): Likewise.
4177         (catan_test): Likewise.
4178         (catanh_test): Likewise.
4179         (cbrt_test): Likewise.
4180         (ccos_test): Likewise.
4181         (ccosh_test): Likewise.
4182         (ceil_test): Likewise.
4183         (cexp_test): Likewise.
4184         (cimag_test): Likewise.
4185         (clog_test): Likewise.
4186         (clog10_test): Likewise.
4187         (conj_test): Likewise.
4188         (copysign_test): Likewise.
4189         (cos_test): Likewise.
4190         (cos_test_tonearest): Likewise.
4191         (cos_test_towardzero): Likewise.
4192         (cos_test_downward): Likewise.
4193         (cos_test_upward): Likewise.
4194         (cosh_test): Likewise.
4195         (cosh_test_tonearest): Likewise.
4196         (cosh_test_towardzero): Likewise.
4197         (cosh_test_downward): Likewise.
4198         (cosh_test_upward): Likewise.
4199         (cpow_test): Likewise.
4200         (cproj_test): Likewise.
4201         (creal_test): Likewise.
4202         (csin_test): Likewise.
4203         (csinh_test): Likewise.
4204         (csqrt_test): Likewise.
4205         (ctan_test): Likewise.
4206         (ctan_test_tonearest): Likewise.
4207         (ctan_test_towardzero): Likewise.
4208         (ctan_test_downward): Likewise.
4209         (ctan_test_upward): Likewise.
4210         (ctanh_test): Likewise.
4211         (ctanh_test_tonearest): Likewise.
4212         (ctanh_test_towardzero): Likewise.
4213         (ctanh_test_downward): Likewise.
4214         (ctanh_test_upward): Likewise.
4215         (erf_test): Likewise.
4216         (erfc_test): Likewise.
4217         (exp_test): Likewise.
4218         (exp_test_tonearest): Likewise.
4219         (exp_test_towardzero): Likewise.
4220         (exp_test_downward): Likewise.
4221         (exp_test_upward): Likewise.
4222         (exp10_test): Likewise.
4223         (exp10_test_tonearest): Likewise.
4224         (exp10_test_towardzero): Likewise.
4225         (exp10_test_downward): Likewise.
4226         (exp10_test_upward): Likewise.
4227         (pow10_test): Likewise.
4228         (exp2_test): Likewise.
4229         (expm1_test): Likewise.
4230         (expm1_test_tonearest): Likewise.
4231         (expm1_test_towardzero): Likewise.
4232         (expm1_test_downward): Likewise.
4233         (expm1_test_upward): Likewise.
4234         (fabs_test): Likewise.
4235         (fdim_test): Likewise.
4236         (floor_test): Likewise.
4237         (fma_test): Likewise.
4238         (fma_test_towardzero): Likewise.
4239         (fma_test_downward): Likewise.
4240         (fma_test_upward): Likewise.
4241         (fmax_test): Likewise.
4242         (fmin_test): Likewise.
4243         (fmod_test): Likewise.
4244         (fpclassify_test): Likewise.
4245         (frexp_test): Likewise.
4246         (hypot_test): Likewise.
4247         (ilogb_test): Likewise.
4248         (isfinite_test): Likewise.
4249         (finite_test): Likewise.
4250         (isgreater_test): Likewise.
4251         (isgreaterequal_test): Likewise.
4252         (isinf_test): Likewise.
4253         (isless_test): Likewise.
4254         (islessequal_test): Likewise.
4255         (islessgreater_test): Likewise.
4256         (isnan_test): Likewise.
4257         (isnormal_test): Likewise.
4258         (issignaling_test): Likewise.
4259         (isunordered_test): Likewise.
4260         (j0_test): Likewise.
4261         (j1_test): Likewise.
4262         (jn_test): Likewise.
4263         (ldexp_test): Likewise.
4264         (lgamma_test): Likewise.
4265         (gamma_test): Likewise.
4266         (lrint_test): Likewise.
4267         (lrint_test_tonearest): Likewise.
4268         (lrint_test_towardzero): Likewise.
4269         (lrint_test_downward): Likewise.
4270         (lrint_test_upward): Likewise.
4271         (llrint_test): Likewise.
4272         (llrint_test_tonearest): Likewise.
4273         (llrint_test_towardzero): Likewise.
4274         (llrint_test_downward): Likewise.
4275         (llrint_test_upward): Likewise.
4276         (log_test): Likewise.
4277         (log10_test): Likewise.
4278         (log1p_test): Likewise.
4279         (log2_test): Likewise.
4280         (logb_test): Likewise.
4281         (logb_test_downward): Likewise.
4282         (lround_test): Likewise.
4283         (llround_test): Likewise.
4284         (modf_test): Likewise.
4285         (nearbyint_test): Likewise.
4286         (nextafter_test): Likewise.
4287         (nexttoward_test): Likewise.
4288         (pow_test): Likewise.
4289         (pow_test_tonearest): Likewise.
4290         (pow_test_towardzero): Likewise.
4291         (pow_test_downward): Likewise.
4292         (pow_test_upward): Likewise.
4293         (remainder_test): Likewise.
4294         (drem_test): Likewise.
4295         (remainder_test_tonearest): Likewise.
4296         (drem_test_tonearest): Likewise.
4297         (remainder_test_towardzero): Likewise.
4298         (drem_test_towardzero): Likewise.
4299         (remainder_test_downward): Likewise.
4300         (drem_test_downward): Likewise.
4301         (remainder_test_upward): Likewise.
4302         (drem_test_upward): Likewise.
4303         (remquo_test): Likewise.
4304         (rint_test): Likewise.
4305         (rint_test_tonearest): Likewise.
4306         (rint_test_towardzero): Likewise.
4307         (rint_test_downward): Likewise.
4308         (rint_test_upward): Likewise.
4309         (round_test): Likewise.
4310         (scalb_test): Likewise.
4311         (scalbn_test): Likewise.
4312         (scalbln_test): Likewise.
4313         (signbit_test): Likewise.
4314         (sin_test): Likewise.
4315         (sin_test_tonearest): Likewise.
4316         (sin_test_towardzero): Likewise.
4317         (sin_test_downward): Likewise.
4318         (sin_test_upward): Likewise.
4319         (sincos_test): Likewise.
4320         (sinh_test): Likewise.
4321         (sinh_test_tonearest): Likewise.
4322         (sinh_test_towardzero): Likewise.
4323         (sinh_test_downward): Likewise.
4324         (sinh_test_upward): Likewise.
4325         (sqrt_test): Likewise.
4326         (sqrt_test_tonearest): Likewise.
4327         (sqrt_test_towardzero): Likewise.
4328         (sqrt_test_downward): Likewise.
4329         (sqrt_test_upward): Likewise.
4330         (tan_test): Likewise.
4331         (tan_test_tonearest): Likewise.
4332         (tan_test_towardzero): Likewise.
4333         (tan_test_downward): Likewise.
4334         (tan_test_upward): Likewise.
4335         (tanh_test): Likewise.
4336         (tgamma_test): Likewise.
4337         (trunc_test): Likewise.
4338         (y0_test): Likewise.
4339         (y1_test): Likewise.
4340         (yn_test): Likewise.
4341         (significand_test): Likewise.
4343         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4344         individual tests in comment.
4345         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4346         (prev_max_error): New variable.
4347         (prev_real_max_error): Likewise.
4348         (prev_imag_max_error): Likewise.
4349         (compare_ulp_data): Don't refer to test names in comment.
4350         (find_test_ulps): Remove function.
4351         (find_function_ulps): Likewise.
4352         (find_complex_function_ulps): Likewise.
4353         (init_max_error): Take function name as argument.  Look up ulps
4354         for that function.
4355         (print_ulps): Remove function.
4356         (print_max_error): Use prev_max_error instead of calling
4357         find_function_ulps.
4358         (print_complex_max_error): Use prev_real_max_error and
4359         prev_imag_max_error instead of calling find_complex_function_ulps.
4360         (check_float_internal): Take max_ulp parameter instead of calling
4361         find_test_ulps.  Don't call print_ulps.
4362         (check_float): Update call to check_float_internal.
4363         (check_complex): Update calls to check_float_internal.
4364         (START): Pass argument to init_max_error.
4365         * math/gen-libm-test.pl (%results): Don't include "kind"
4366         information.
4367         (parse_ulps): Don't handle ulps of individual tests.
4368         (print_ulps_file): Likewise.
4369         (output_ulps): Likewise.
4370         * math/README.libm-test: Update.
4371         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4372         individual tests.
4373         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4374         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4375         * sysdeps/arm/libm-test-ulps: Likewise.
4376         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4377         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4378         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4379         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4380         * sysdeps/microblaze/libm-test-ulps: Likewise.
4381         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4382         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4383         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4384         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4386         * sysdeps/sh/libm-test-ulps: Likewise.
4387         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4388         * sysdeps/tile/libm-test-ulps: Likewise.
4389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4391 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4393         * math/libm-test.inc (print_complex_max_error): Check separately
4394         whether real and imaginary errors are within allowed range and
4395         pass 0 to print_complex_function_ulps instead of value within
4396         allowed range.
4398 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4400         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4401         formatting.
4402         (get_handles_fopen): Likewise.
4403         (do_write_test): Likewise.
4405         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4407         * libio/fileops.c (do_ftell): Use cached offset when
4408         available.
4409         * libio/iofwide.c (do_ftell_wide): Likewise.
4410         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4411         _IO_file_attach.
4412         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4414         [BZ #16532]
4415         * libio/libioP.h (get_file_offset): New function.
4416         * libio/fileops.c (get_file_offset): Likewise.
4417         (do_ftell): Likewise.
4418         (_IO_new_file_seekoff): Split out ftell logic.
4419         * libio/wfileops.c (do_ftell_wide): Likewise.
4420         (_IO_wfile_seekoff): Split out ftell logic.
4421         * libio/tst-ftell-active-handler.c: New test case.
4422         * libio/Makefile (tests): Add it.
4424 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4426         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4427         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4429 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4431         [BZ #16639]
4432         * nscd/connections.c (nscd_init): Call do_exit.
4433         (start_threads): Call do_exit and notify_parent.
4434         (begin_drop_privileges): Call do_exit.
4435         (finish_drop_privileges): Likewise.
4436         * nscd/selinux.c (preserve_capabilities): Likewise.
4437         (install_real_capabilities): Likewise.
4438         (nscd_selinux_enabled): Likewise.
4439         (avc_create_thread): Likewise.
4440         (avc_alloc_lock): Likewise.
4441         (nscd_avc_init): Likewise.
4442         * nscd/nscd.c (parent_fd): New static variable.
4443         (main): Create a pipe between parent and child processes.
4444         Skip closing parent_fd.
4445         (monitor_child): New function.
4446         (do_exit): Likewise.
4447         (notify_parent): Likewise.
4448         * nscd/nscd.h (notify_parent): Likewise.
4449         (do_exit): Likewise.
4451 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4453         * malloc/malloc.c (__libc_calloc): Revert last change.
4455 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4459 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4461         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4463         implementation.
4464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4465         (__libc_ifunc_impl_list): Likewise.
4466         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4467         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4468         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4469         * string/strrchr.c: Define STRRCHR.
4471 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4473         * benchtest/bench-strtok.c (simple_strtok): Delete.
4474         (strtok_string): Use as benchmark.
4475         * string/strtok (STRTOK): New macro.
4477 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4479         * manual/threads.texi: Add header and standard comments to all
4480         functions.
4482         * elf/dl-lookup.c (check_match): New function.
4483         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4484         (do_lookup_x): Remove nested function check_match. Use non-nested
4485         function check_match.
4487 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4489         * csu/Makefile (generated, before-compile): Use += rather than =.
4490         * catgets/Makefile (generated, generated-dirs): Likewise.
4491         * debug/Makefile (generated): Likewise.
4492         * dlfcn/Makefile (generated): Likewise.
4493         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4494         * iconvdata/Makefile (before-compile, generated): Likewise.
4495         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4496         * libio/Makefile (generated): Likewise.
4497         * malloc/Makefile (generated): Likewise.
4498         * manual/Makefile (generated, generated-dirs): Likewise.
4499         * misc/Makefile (generated): Likewise.
4500         * posix/Makefile (generated): Likewise.
4501         * resolv/Makefile (generated): Likewise.
4502         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4503         * timezone/Makefile (generated, generated-dirs): Likewise.
4505         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4507 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4510         power8 implementation.
4511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4512         file: POWER8 llround ifunc implementation.
4513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4514         (__lllround): Add POWER8 implementation.
4515         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4516         POWER8 llround implementation.
4518         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4519         power8 implementation.
4520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4521         file: POWER8 llrint ifunc implementation.
4522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4523         Add POWER8 implementation.
4524         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4525         POWER8 llrint implementation.
4527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4528         power8 implementation.
4529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4530         file: POWER8 finite ifunc implementation.
4531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4532         Add POWER8 implementation.
4533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4534         Likewise.
4535         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4536         POWER8 finite implementation.
4537         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4540         power8 implementation.
4541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4542         file: POWER8 isinf ifunc implementation.
4543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4544         POWER8 implementation.
4545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4546         Likewise.
4547         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4548         isinf implementation.
4549         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4551         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4552         (INIT_ARCH): Add hwcap2 initialization.
4553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4554         power8 implementation.
4555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4556         file: POWER8 isnan ifunc implementation.
4557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4558         POWER8 implementation.
4559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4560         Likewise.
4561         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4562         isnan implementation.
4563         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4565 2014-02-27  Joey Ye  <joey.ye@arm.com>
4567         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4568         (_FP_NANFRAC_Q): Set to zero.
4570 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4572         [BZ #16623]
4573         * math/auto-libm-test-in: New test inputs.
4574         * math/auto-libm-test-out: Regenerate.
4575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4576         and DA.
4577         (__cos): Likewise.
4578         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4580 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4582         * scripts/evaluate-test.sh: Take new argument indicating whether
4583         failure is expected.
4584         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4585         indicating whether failure is expected.
4586         * conform/Makefile (test-xfail-run-conformtest): New variable.
4587         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4588         level.
4589         * posix/Makefile (test-xfail-annexc): New variable.
4590         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4592 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4594         * argp/Makefile: Include Makeconfig immediately after defining
4595         subdir.
4596         * assert/Makefile: Likewise.
4597         * benchtests/Makefile: Likewise.
4598         * catgets/Makefile: Likewise.
4599         * conform/Makefile: Likewise.
4600         * crypt/Makefile: Likewise.
4601         * csu/Makefile: Likewise.
4602         (all): Remove target.
4603         * ctype/Makefile: Include Makeconfig immediately after defining
4604         subdir.
4605         * debug/Makefile: Likewise.
4606         * dirent/Makefile: Likewise.
4607         * dlfcn/Makefile: Likewise.
4608         * gmon/Makefile: Likewise.
4609         * gnulib/Makefile: Likewise.
4610         * grp/Makefile: Likewise.
4611         * gshadow/Makefile: Likewise.
4612         * hesiod/Makefile: Likewise.
4613         * hurd/Makefile: Likewise.
4614         (all): Remove target.
4615         * iconvdata/Makefile: Include Makeconfig immediately after
4616         defining subdir.
4617         * inet/Makefile: Likewise.
4618         * intl/Makefile: Likewise.
4619         * io/Makefile: Likewise.
4620         * libio/Makefile: Likewise.
4621         (all): Remove target.
4622         * locale/Makefile: Include Makeconfig immediately after defining
4623         subdir.
4624         * login/Makefile: Likewise.
4625         * mach/Makefile: Likewise.
4626         (all): Remove target.
4627         * malloc/Makefile: Include Makeconfig immediately after defining
4628         subdir.
4629         (all): Remove target.
4630         * manual/Makefile: Include Makeconfig immediately after defining
4631         subdir.
4632         * math/Makefile: Likewise.
4633         * misc/Makefile: Likewise.
4634         * nis/Makefile: Likewise.
4635         * nss/Makefile: Likewise.
4636         * po/Makefile: Likewise.
4637         (all): Remove target.
4638         * posix/Makefile: Include Makeconfig immediately after defining
4639         subdir.
4640         * pwd/Makefile: Likewise.
4641         * resolv/Makefile: Likewise.
4642         * resource/Makefile: Likewise.
4643         * rt/Makefile: Likewise.
4644         * setjmp/Makefile: Likewise.
4645         * shadow/Makefile: Likewise.
4646         * signal/Makefile: Likewise.
4647         * socket/Makefile: Likewise.
4648         * soft-fp/Makefile: Likewise.
4649         * stdio-common/Makefile: Likewise.
4650         * stdlib/Makefile: Likewise.
4651         * streams/Makefile: Likewise.
4652         * string/Makefile: Likewise.
4653         * sunrpc/Makefile: Likewise.
4654         (all): Remove target.
4655         * sysvipc/Makefile: Include Makeconfig immediately after defining
4656         subdir.
4657         * termios/Makefile: Likewise.
4658         * time/Makefile: Likewise.
4659         * timezone/Makefile: Likewise.
4660         (all): Remove target.
4661         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4662         subdir.
4663         * wctype/Makefile: Likewise.
4665 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4667         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4668         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4669         (libc_feholdexcept_setround_mips): Ditto.
4670         (libc_feholdsetround): New.
4671         (libc_feholdsetroundf): New.
4672         (libc_feholdsetroundl): New.
4673         (libc_feupdateenv_test_mips): New.
4674         (libc_feupdateenv_test): New.
4675         (libc_feupdateenv_testf): New.
4676         (libc_feupdateenv_testl): New.
4677         (libc_feresetround): New.
4678         (libc_feresetroundf): New.
4679         (libc_feresetroundl): New.
4680         (libc_fetestexcept_mips): New.
4681         (libc_fetestexcept): New.
4682         (libc_fetestexceptf): New.
4683         (libc_fetestexceptl): New.
4684         (HAVE_RM_CTX): New.
4685         (libc_feholdexcept_setround_mips_ctx): New.
4686         (libc_feholdexcept_setround_ctx): New.
4687         (libc_feholdexcept_setroundf_ctx): New.
4688         (libc_feholdexcept_setroundl_ctx): New.
4689         (libc_fesetenv_mips_ctx): New.
4690         (libc_fesetenv_ctx): New.
4691         (libc_fesetenv_ctxf): New.
4692         (libc_fesetenv_ctxl): New.
4693         (libc_feupdateenv_mips_ctx): New.
4694         (libc_feupdateenv_ctx): New.
4695         (libc_feupdateenvf_ctx): New.
4696         (libc_feupdateenvl_ctx): New.
4697         (libc_feholdsetround_mips_ctx): New.
4698         (libc_feholdsetround_ctx): New.
4699         (libc_feholdsetroundf_ctx): New.
4700         (libc_feholdsetroundl_ctx): New.
4701         (libc_feresetround_mips_ctx): New.
4702         (libc_feresetround_ctx): New.
4703         (libc_feresetroundf_ctx): New.
4704         (libc_feresetroundl_ctx): New.
4706 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
4708         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4710         * manual/ipc.texi: New file.
4711         * manual/Makefile (chapters): Add ipc.
4712         * manual/job.texi: Add "Inter-Process Communication" to next.
4713         * manual/process.texi: Add "Inter-Process Communication" to prev.
4715 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4719 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
4721         * malloc/malloc.c (__libc_calloc): Simplify implementation.
4723         * manual/arith.texi: Fix spaces after sentences.
4724         * manual/charset.texi: Likewise.
4725         * manual/errno.texi: Likewise.
4726         * manual/install.texi: Likewise.
4727         * manual/llio.texi: Likewise.
4728         * manual/locale.texi: Likewise.
4729         * manual/maint.texi: Likewise.
4730         * manual/math.texi: Likewise.
4731         * manual/memory.texi: Likewise.
4732         * manual/message.texi: Likewise.
4733         * manual/probes.texi: Likewise.
4734         * manual/resource.texi: Likewise.
4735         * manual/signal.texi: Likewise.
4736         * manual/socket.texi: Likewise.
4737         * manual/stdio.texi: Likewise.
4738         * manual/string.texi: Likewise.
4739         * manual/time.texi: Likewise.
4740         * manual/users.texi: Likewise.
4742 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
4744         [BZ #16632]
4745         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4746         _DEFAULT_SOURCE is defined.
4748 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
4749             Carlos O'Donell  <carlos@redhat.com>
4751         [BZ #16613]
4752         * elf/dl-tls.c (_dl_count_modids): New function.
4753         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4754         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4755         audit library and increment generation counter.
4756         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4757         * elf/tst-audit9.c: New file.
4758         * elf/tst-auditmod9a.c: New file.
4759         * elf/tst-auditmod9b.c: New file.
4760         * elf/Makefile: Add rules to build and run tst-audit9.
4762 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4764         [BZ #15347]
4765         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4767 2014-02-25  Will Newton  <will.newton@linaro.org>
4769         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4770         (__longjmp): Restore sp and lr before restoring callee
4771         saved registers.  Add longjmp and longjmp_target
4772         SystemTap probe point.
4773         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4774         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4775         Define to zero to match jmpbuf layout.
4776         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4777         (__sigsetjmp): Save sp and lr before saving callee
4778         saved registers.  Add setjmp SystemTap probe point.
4780 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4782         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4784 2014-02-24  Andreas Schwab  <schwab@suse.de>
4786         [BZ #15804]
4787         * elf/pldd.c (wait_for_ptrace_stop): New function.
4788         (main): Call it after attaching.
4790 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4792         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4793         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4794         Versions files is now verboten.
4795         * hurd/Versions (libc: GLIBC_2.0):
4796         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4797         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4798         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4799         * mach/Versions: Likewise.
4801         * csu/Versions: Remove unused %include.
4802         * resolv/Versions: Likewise.
4804 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4806         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4807         ($(objpfx)check-local-headers.out): Likewise.
4808         ($(objpfx)begin-end-check.out): Likewise.
4809         * Makerules (check-abi-%.out): Likewise.
4810         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4811         ($(objpfx)test2.cat): Likewise.
4812         ($(objpfx)de/libc.cat): Likewise.
4813         ($(objpfx)test-gencat.out): Likewise.
4814         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4815         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4816         ($(objpfx)noload-mem): Likewise.
4817         ($(objpfx)tst-pathopt.out): Likewise.
4818         ($(objpfx)tst-rtld-load-self.out): Likewise.
4819         ($(objpfx)tst-array1-cmp.out): Likewise.
4820         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4821         ($(objpfx)tst-array2-cmp.out): Likewise.
4822         ($(objpfx)tst-array3-cmp.out): Likewise.
4823         ($(objpfx)tst-array4-cmp.out): Likewise.
4824         ($(objpfx)tst-array5-cmp.out): Likewise.
4825         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4826         ($(objpfx)check-textrel.out): Likewise.
4827         ($(objpfx)check-execstack.out): Likewise.
4828         ($(objpfx)check-localplt.out): Likewise.
4829         ($(objpfx)order2-cmp.out): Likewise.
4830         ($(objpfx)tst-leaks1-mem): Likewise.
4831         ($(objpfx)tst-leaks1-static-mem): Likewise.
4832         ($(objpfx)tst-initorder-cmp.out): Likewise.
4833         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4834         ($(objpfx)tst-unused-dep.out): Likewise.
4835         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4836         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4837         * iconv/Makefile (test-iconvconfig): Likewise.
4838         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4839         ($(objpfx)iconv-test.out): Likewise.
4840         ($(objpfx)tst-tables.out): Likewise.
4841         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4842         ($(objpfx)tst-gettext.out): Likewise.
4843         ($(objpfx)tst-translit.out): Likewise.
4844         ($(objpfx)tst-gettext2.out): Likewise.
4845         ($(objpfx)tst-gettext4.out): Likewise.
4846         ($(objpfx)tst-gettext6.out): Likewise.
4847         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4848         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4849         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4850         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4851         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4852         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4853         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4854         ($(objpfx)wordexp-tst.out): Likewise.
4855         ($(objpfx)annexc.out): Likewise.
4856         ($(objpfx)tst-fnmatch-mem): Likewise.
4857         ($(objpfx)bug-regex2-mem): Likewise.
4858         ($(objpfx)bug-regex14-mem): Likewise.
4859         ($(objpfx)bug-regex21-mem): Likewise.
4860         ($(objpfx)bug-regex31-mem): Likewise.
4861         ($(objpfx)tst-vfork3-mem): Likewise.
4862         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4863         ($(objpfx)tst-pcre-mem): Likewise.
4864         ($(objpfx)tst-boost-mem): Likewise.
4865         ($(objpfx)tst-getconf.out): Likewise.
4866         ($(objpfx)bug-ga2-mem): Likewise.
4867         ($(objpfx)bug-glob2-mem): Likewise.
4868         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4869         ($(objpfx)mtrace-tst-leaks2): Likewise.
4870         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4871         ($(objpfx)tst-printf.out): Likewise.
4872         ($(objpfx)tst-setvbuf1.out): Likewise.
4873         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4874         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4875         ($(objpfx)tst-fmtmsg.out): Likewise.
4876         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4877         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4879         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4880         * bits/sigaction.h [__USE_MISC]: Likewise.
4881         * bits/waitstatus.h: Update #endif comments.
4882         * ctype/ctype.h: Likewise.
4883         * dirent/dirent.h: Likewise.
4884         [__USE_MISC]: Remove redundant conditionals.
4885         * grp/grp.h: Update #endif comments.
4886         [__USE_GNU]: Remove redundant conditionals.
4887         [__USE_MISC]: Likewise.
4888         * inet/netinet/in.h [__USE_GNU]: Likewise.
4889         * io/sys/stat.h [__USE_MISC]: Likewise.
4890         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4891         * libio/bits/stdio.h: Update #endif comments.
4892         [__USE_MISC]: Remove redundant conditionals.
4893         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4894         * libio/stdio.h: Update #endif comments.
4895         [__USE_MISC]: Remove redundant conditionals.
4896         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4897         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4898         * math/math.h: Update #else and #endif comments.
4899         [__USE_MISC]: Remove redundant conditionals.
4900         * misc/sys/uio.h: Update #endif comments.
4901         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4902         * posix/glob.h [__USE_MISC]: Likewise.
4903         * posix/sys/types.h: Update #endif comments.
4904         [__USE_MISC]: Remove redundant conditionals.
4905         * posix/sys/wait.h: Update #endif comments.
4906         [__USE_MISC]: Remove redundant conditionals.
4907         * posix/unistd.h: Update #endif comments.
4908         [__USE_MISC]: Remove redundant conditionals.
4909         * pwd/pwd.h [__USE_GNU]: Likewise.
4910         [__USE_MISC]: Likewise.
4911         * resolv/netdb.h [__USE_GNU]: Likewise.
4912         * signal/signal.h: Update #endif comments.
4913         [__USE_MISC]: Remove redundant conditionals.
4914         * stdlib/stdlib.h: Update #else and #endif comments.
4915         [__USE_MISC]: Remove redundant conditionals.
4916         [__USE_GNU]: Likewise.
4917         * string/bits/string2.h [__USE_MISC]: Likewise.
4918         * string/string.h: Update #endif comments.
4919         [__USE_MISC]: Remove redundant conditionals.
4920         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4921         Likewise.
4922         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4923         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4924         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4925         Likewise.
4926         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4927         Likewise.
4928         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4929         comments.
4930         [__USE_MISC]: Remove redundant conditionals.
4931         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4932         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4933         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4934         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4935         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4936         Likewise.
4937         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4938         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4939         Likewise.
4940         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4941         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4942         Likewise.
4943         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4944         Likewise.
4945         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4946         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4947         Likewise.
4948         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4949         Likewise.
4950         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4951         * sysdeps/x86/bits/string.h: Update #endif comments.
4952         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4953         conditionals.
4954         * time/sys/time.h: Update #endif comments.
4955         * time/time.h: Likewise.
4956         [__USE_MISC]: Remove redundant conditionals.
4958 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4960         [BZ #16600]
4961         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4963 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4965         * Versions.def (librt): Add GLIBC_2.17.
4967 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4969         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4970         synonym for _SYS_AUXV_H to allow direct inclusion.
4971         * sysdeps/sparc/bits/hwcap.h: Likewise.
4972         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4973         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4974         * sysdeps/sparc/sysdep.h: Likewise.
4976 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4978         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4980 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4982         * benchtests/bench-strrchr.c: Print length instead of position.
4984 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4986         [BZ #16611]
4987         * sysdeps/unix/sysv/linux/kernel-features.h
4988         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4989         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4990         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4991         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4992         Likewise.
4993         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4994         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4995         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4996         (__ASSUME_SENDMMSG): Define instead of using previous
4997         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4998         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4999         (__ASSUME_SENDMMSG_SYSCALL): Define.
5000         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5001         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5002         Likewise.
5003         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5004         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5005         Likewise.
5006         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5007         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5008         Likewise.
5009         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5010         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5011         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5012         [__ASSUME_SENDMMSG]: Change conditionals to
5013         [__ASSUME_SENDMMSG_SOCKETCALL].
5014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5015         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5016         Define.
5017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5018         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5019         Likewise.
5020         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5021         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5022         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5023         [!__ASSUME_SENDMMSG]: Change conditional to
5024         [!__ASSUME_SENDMMSG_SOCKETCALL].
5025         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5026         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5027         Define.
5029         [BZ #16610]
5030         * sysdeps/unix/sysv/linux/kernel-features.h
5031         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5032         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5033         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5034         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5035         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5036         [__i386__ || __sparc__]
5037         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5038         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5039         (__ASSUME_RECVMMSG): Define instead of using previous
5040         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5041         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5042         (__ASSUME_RECVMMSG_SYSCALL): Define.
5043         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5044         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5045         Likewise.
5046         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5047         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5048         Likewise.
5049         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5050         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5051         Likewise.
5052         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5053         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5054         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5055         [__ASSUME_RECVMMSG]: Change condition to
5056         [__ASSUME_RECVMMSG_SOCKETCALL].
5057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5058         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5059         Define.
5060         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5061         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5062         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5063         Likewise.
5064         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5065         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5066         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5067         [!__ASSUME_RECVMMSG]: Change condition to
5068         [!__ASSUME_RECVMMSG_SOCKETCALL].
5069         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5070         (__ASSUME_RECVMMSG_SYSCALL): Define.
5072         [BZ #16609]
5073         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5074         __powerpc__ || __s390__ || __sh__ || __sparc__]
5075         (__ASSUME_SOCKETCALL): Define.
5076         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5077         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5078         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5079         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5080         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5081         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5082         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5083         (__ASSUME_ACCEPT4): Define instead of using previous
5084         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5085         __powerpc__ || __sparc__ || __s390__)] condition.
5086         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5087         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5088         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5089         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5090         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5091         [!__ASSUME_ACCEPT4]: Change condition to
5092         [!__ASSUME_ACCEPT4_SOCKETCALL].
5093         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5094         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5095         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5096         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5097         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5098         __ASSUME_ACCEPT4_SYSCALL.
5099         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5100         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5101         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5102         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5103         __ASSUME_ACCEPT4_SYSCALL.
5104         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5105         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5106         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5107         [__ASSUME_ACCEPT4]: Change condition to
5108         [__ASSUME_ACCEPT4_SOCKETCALL].
5109         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5110         (__ASSUME_SOCKETCALL): Define.
5111         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5113         (__ASSUME_SOCKETCALL): Define.
5114         (__ASSUME_ACCEPT4): Remove.
5115         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5116         Define.
5117         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5118         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5119         Likewise.
5120         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5121         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5123         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5124         macro.
5125         (HWCAP_ARM_LPAE): Likewise.
5126         (HWCAP_ARM_EVTSTRM): Likewise.
5127         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5128         Add vpfd32, lpae and evtstrm.
5129         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5130         Increase to 22.
5132 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5134         * math/auto-libm-test-in: Add tests of clog10.
5135         * math/auto-libm-test-out: Regenerated.
5136         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5137         * sysdeps/i386/fpu/libm-test-ulps: Update.
5138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5140 2014-02-18  Andreas Schwab  <schwab@suse.de>
5142         [BZ #16574]
5143         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5144         Store non-zero if the second buffer was newly allocated.
5145         (send_dg): Likewise.
5146         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5147         to send_vc and send_dg.
5148         (res_nsend): Pass NULL for ansp2_malloced.
5149         * resolv/res_query.c (__libc_res_nquery): Add parameter
5150         answerp2_malloced and pass it down to __libc_res_nsend.
5151         (res_nquery): Pass additional NULL to __libc_res_nquery.
5152         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5153         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5154         second answer buffer if answerp2_malloced was set.
5155         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5156         (__libc_res_nquerydomain): Add parameter
5157         answerp2_malloced and pass it down to __libc_res_nquery.
5158         (res_nquerydomain): Pass additional NULL to
5159         __libc_res_nquerydomain.
5160         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5161         additional NULL to __libc_res_nsend and __libc_res_nquery.
5162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5163         additional NULL to __libc_res_nsearch.
5164         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5165         parameter of __libc_res_nsearch to check for separately allocated
5166         second buffer.
5167         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5168         __libc_res_nquery.
5169         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5170         additional NULL to __libc_res_nquery.
5171         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5172         __libc_res_nsearch.
5173         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5174         * include/resolv.h: Update prototypes of __libc_res_nquery,
5175         __libc_res_nsearch, __libc_res_nsend.
5177 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5179         * math/auto-libm-test-in: Add tests of fma.
5180         * math/auto-libm-test-out: Regenerated.
5181         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5182         (fma_towardzero_test_data): Likewise.
5183         (fma_downward_test_data): Likewise.
5184         (fma_upward_test_data): Likewise.
5185         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5186         mpc_mode.
5187         (rounding_modes): Add values for new field.
5188         (func_calc_method): Add value mpfr_fff_f.
5189         (func_calc_desc): Add mpfr_fff_f union field.
5190         (test_function): Add field exact_args.
5191         (FUNC): Add macro argument EXACT_ARGS.
5192         (FUNC_mpfr_f_f): Update call to FUNC.
5193         (FUNC_mpfr_f_f): Likewise.
5194         (FUNC_mpfr_ff_f): Likewise.
5195         (FUNC_mpfr_if_f): Likewise.
5196         (FUNC_mpc_c_f): Likewise.
5197         (FUNC_mpc_c_c): Likewise.
5198         (test_functions): Add fma.  Update calls to FUNC.
5199         (handle_input_arg): Add argument exact_args.
5200         (add_test): Update call to handle_input_arg.
5201         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5202         (output_for_one_input_case): Update call to calc_generic_results.
5203         Recalculate exact zero results in each rounding mode.
5205         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5206         non-negative before setting low bit.
5207         * math/auto-libm-test-in: Mark one asin test possibly having
5208         spurious underflow.
5209         * math/auto-libm-test-out: Regenerated.
5210         * sysdeps/i386/fpu/libm-test-ulps: Update.
5211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5213 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5215         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5216         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5217         ports/sysdeps/unix/sysv/linux/microblaze.
5218         * README: Add missing listing for microblaze*-*-linux-gnu.
5220 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5222         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5223         * sysdeps/unix/sysv/linux/ia64: Move directory from
5224         ports/sysdeps/unix/sysv/linux/ia64.
5225         * README: Update listing for ia64-*-linux-gnu.
5227 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5228             Joseph Myers  <joseph@codesourcery.com>
5230         * Makeconfig (test-name): New variable.
5231         (evaluate-test): Likewise.
5232         * Makerules (do-test-clean): Remove .test-result files.
5233         (common-mostlyclean): Likewise.
5234         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5235         * scripts/evaluate-test.sh: New file.
5237 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5239         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5240         separate $(objpfx)tst-fopenloc-cmp.out and
5241         $(objpfx)tst-fopenloc-mem.out targets.
5242         (tests): Update dependencies.
5243         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5244         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5245         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5246         (tst-rxspencer-no-utf8-ARGS): New variable.
5247         (tst-rxspencer-no-utf8-ENV): Likewise.
5248         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5249         instead of $(objpfx)tst-rxspencer-mem.
5250         ($(objpfx)tst-rxspencer-mem): Change target to
5251         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5252         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5253         * posix/tst-rxspencer-no-utf8.c: New file.
5255         * elf/Makefile ($(objpfx)order.out): Remove rule.
5256         [$(run-built-tests) = yes] (tests): Depend on
5257         $(objpfx)order-cmp.out.
5258         ($(objpfx)order-cmp.out): New rule.
5259         [$(run-built-tests) = yes] (tests): Depend on
5260         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5261         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5262         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5263         $(objpfx)tst-array5-static-cmp.out.
5264         ($(objpfx)tst-array1.out): Remove rule.
5265         ($(objpfx)tst-array1-cmp.out): New rule.
5266         ($(objpfx)tst-array1-static.out): Remove rule.
5267         ($(objpfx)tst-array1-static-cmp.out): New rule.
5268         ($(objpfx)tst-array2.out): Remove rule.
5269         ($(objpfx)tst-array2-cmp.out): New rule.
5270         ($(objpfx)tst-array3.out): Remove rule.
5271         ($(objpfx)tst-array3-cmp.out): New rule.
5272         ($(objpfx)tst-array4.out): Remove rule.
5273         ($(objpfx)tst-array4-cmp.out): New rule.
5274         ($(objpfx)tst-array5.out): Remove rule.
5275         ($(objpfx)tst-array5-cmp.out): New rule.
5276         ($(objpfx)tst-array5-static.out): Remove rule.
5277         ($(objpfx)tst-array5-static-cmp.out): New rule.
5278         [$(run-built-tests) = yes] (tests): Depend on
5279         $(objpfx)order2-cmp.out.
5280         ($(objpfx)order2.out): Remove rule.
5281         ($(objpfx)order2-cmp.out): New rule.
5282         ($(objpfx)tst-initorder.out): Remove rule.
5283         [$(run-built-tests) = yes] (tests): Depend on
5284         $(objpfx)tst-initorder-cmp.out.
5285         ($(objpfx)tst-initorder-cmp.out): New rule.
5286         ($(objpfx)tst-initorder2.out): Remove rule.
5287         [$(run-built-tests) = yes] (tests): Depend on
5288         $(objpfx)tst-initorder2-cmp.out.
5289         ($(objpfx)tst-initorder2-cmp.out): New rule.
5290         [$(run-built-tests) = yes] (tests): Depend on
5291         $(objpfx)tst-unused-dep-cmp.out.
5292         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5293         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5294         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5295         on $(objpfx)tst-setvbuf1-cmp.out.
5296         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5297         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5298         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5299         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5300         ($(objpfx)tst-svc.out): Remove rule.
5301         ($(objpfx)tst-svc-cmp.out): New rule.
5303 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5305         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5306         * ctype/ctype.h [__USE_MISC]: Likewise.
5307         * dirent/dirent.h [__USE_MISC]: Likewise.
5308         * grp/grp.h [__USE_MISC]: Likewise.
5309         * io/fcntl.h [__USE_MISC]: Likewise.
5310         * io/sys/stat.h [__USE_MISC]: Likewise.
5311         * libio/stdio.h [__USE_MISC]: Likewise.
5312         * posix/unistd.h [__USE_MISC]: Likewise.
5313         * pwd/pwd.h [__USE_MISC]: Likewise.
5314         * stdlib.h [__USE_MISC]: Likewise.
5315         * string/bits/string2.h [__USE_MISC]: Likewise.
5316         * string/string.h [__USE_MISC]: Likewise.
5317         * time/time.h [__USE_MISC]: Likewise.
5319 2014-02-13  Andreas Schwab  <schwab@suse.de>
5321         [BZ #16574]
5322         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5323         second answer buffer if it was separately allocated.
5325 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5327         * sysdeps/mips/math-tests.h: Include <features.h>.
5328         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5329         (ROUNDING_TESTS_long_double): Do not define.
5330         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5331         (EXCEPTION_TESTS_long_double): Likewise.
5332         * sysdeps/mips/mips64/libm-test-ulps: Update.
5334         * include/features.h (__USE_BSD): Remove macro definitions.
5335         (__USE_SVID): Likewise.
5336         (_BSD_SOURCE): Likewise.
5337         (_SVID_SOURCE): Likewise.
5338         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5339         from definition of _DEFAULT_SOURCE.
5340         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5341         [_DEFAULT_SOURCE].
5342         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5343         * bits/mman.h [__USE_BSD]: Likewise.
5344         * bits/termios.h [__USE_BSD]: Likewise.
5345         * bits/waitstatus.h [__USE_BSD]: Likewise.
5346         * ctype/ctype.h [__USE_SVID]: Likewise.
5347         * dirent/dirent.h [__USE_BSD]: Likewise.
5348         * grp/grp.h [__USE_SVID]: Likewise.
5349         [__USE_BSD]: Likewise.
5350         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5351         * io/fcntl.h [__USE_BSD]: Likewise.
5352         * io/ftw.h [__USE_BSD]: Likewise.
5353         * io/sys/stat.h [__USE_BSD]: Likewise.
5354         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5355         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5356         * libio/stdio.h [__USE_SVID]: Likewise.
5357         [__USE_BSD]: Likewise.
5358         * math/math.h [__USE_SVID]: Likewise.
5359         [__USE_BSD]: Likewise.
5360         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5361         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5362         * misc/search.h [__USE_SVID]: Likewise.
5363         * misc/sys/mman.h [__USE_BSD]: Likewise.
5364         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5365         * misc/sys/uio.h [__USE_BSD]: Likewise.
5366         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5367         * posix/glob.h [__USE_BSD]: Likewise.
5368         * posix/regex.h [__USE_BSD]: Likewise.
5369         * posix/sys/types.h [__USE_BSD]: Likewise.
5370         [__USE_SVID]: Likewise.
5371         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5372         * posix/sys/wait.h [__USE_BSD]: Likewise.
5373         [__USE_SVID]: Likewise.
5374         * posix/unistd.h [__USE_BSD]: Likewise.
5375         [__USE_SVID]: Likewise.
5376         * pwd/pwd.h [__USE_SVID]: Likewise.
5377         * resolv/netdb.h [__USE_BSD]: Likewise.
5378         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5379         * signal/signal.h [__USE_BSD]: Likewise.
5380         [__USE_SVID]: Likewise.
5381         * socket/sys/socket.h [__USE_BSD]: Likewise.
5382         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5383         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5384         [__USE_SVID]: Likewise.
5385         * string/bits/string2.h [__USE_BSD]: Likewise.
5386         [__USE_SVID]: Likewise.
5387         * string/bits/string3.h [__USE_BSD]: Likewise.
5388         * string/endian.h [__USE_BSD]: Likewise.
5389         * string/string.h [__USE_SVID]: Likewise.
5390         [__USE_BSD]: Likewise.
5391         * string/strings.h [__USE_BSD]: Likewise.
5392         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5393         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5394         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5395         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5396         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5397         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5398         Likewise.
5399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5400         Likewise.
5401         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5402         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5403         Likewise.
5404         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5405         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5406         Likewise.
5407         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5408         Likewise.
5409         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5410         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5411         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5412         Likewise.
5413         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5414         Likewise.
5415         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5416         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5417         * termios/termios.h [__USE_BSD]: Likewise.
5418         * time/sys/time.h [__USE_BSD]: Likewise.
5419         * time/time.h [__USE_BSD]: Likewise.
5420         [__USE_SVID]: Likewise.
5422         * Makefile (subdir_targets): Remove subdir_lint.out.
5424         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5425         (do-tst-printf): Likewise.
5426         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5427         $(objpfx)tst-printf.out.
5429         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5431         * Makerules (check-abi-%): Change target to
5432         $(objpfx)check-abi-%.out.
5433         (check-abi target): Update dependencies.
5434         (check-abi-pattern variable): Redirect output of diff to $@.
5435         (check-abi variable): Likewise.
5436         * elf/Makefile (check-abi): Update dependencies.
5438         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5439         unused.
5440         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5441         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5442         subnormal range.
5443         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5444         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5445         value has largest subnormal exponent.
5446         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5447         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5448         * sysdeps/aarch64/soft-fp/sfp-machine.h
5449         (_FP_TININESS_AFTER_ROUNDING): New macro.
5450         * sysdeps/alpha/soft-fp/sfp-machine.h
5451         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5452         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5453         Likewise.
5454         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5455         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5456         * sysdeps/mips/soft-fp/sfp-machine.h
5457         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5458         * sysdeps/powerpc/soft-fp/sfp-machine.h
5459         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5460         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5461         Likewise.
5462         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5463         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5464         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5465         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5466         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5467         Likewise.
5469 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5471         [BZ #16545]
5472         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5473         model 1.
5475 2014-02-12  Richard Henderson  <rth@redhat.com>
5477         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5478         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5479         * sysdeps/unix/sysv/linux/alpha: Move directory from
5480         ports/sysdeps/unix/sysv/linux/alpha.
5481         * README: Update listing for alpha-*-linux-gnu.
5483 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5485         * include/features.h: Update comment documenting feature test
5486         macros.
5487         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5488         _DEFAULT_SOURCE.
5489         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5490         (_SVID_SOURCE): Likewise.
5491         (_DEFAULT_SOURCE): Update description of default features.
5492         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5493         with _GNU_SOURCE.
5494         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5495         (S_ISVTX): Likewise.
5496         * manual/math.texi (Mathematical Constants): Likewise.
5497         * manual/signal.texi (Interrupted Primitives): Likewise.
5498         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5499         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5500         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5501         Don't refer to _SVID_SOURCE in warning text.
5503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5505         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5506         already defined.
5507         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5508         * sysdeps/mips/dl-lookup.c: Remove.
5509         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5511 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5513         [BZ #16447]
5514         * math/auto-libm-test-in: Add testcase for expl.
5515         * math/auto-libm-test-out: Regenerate.
5516         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5517         calculation of unsafe.
5518         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5520 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5522         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5523         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5524         ports/sysdeps/unix/sysv/linux/aarch64.
5525         * README: Update listing for aarch64*-*-linux-gnu.
5527 2014-02-11  Will Newton  <will.newton@linaro.org>
5529         * manual/probes.texi (Mathematical Function Probes): Use
5530         "triggered" instead of "hit".
5532         * manual/probes.texi (Internal Probes): Add documentation
5533         of setjmp, longjmp and longjmp_target probes.
5535         * include/stap-probe.h: Add comment about probe argument
5536         format.
5538         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5539         definition.  (tr_where, tr_freehook, tr_mallochook,
5540         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5542 2014-02-11  David S. Miller  <davem@davemloft.net>
5544         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5545         processing int_tests.
5547 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5549         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5550         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5551         * sysdeps/unix/sysv/linux/mips: Move directory from
5552         ports/sysdeps/unix/sysv/linux/mips.
5553         * README: Update listing for mips-*-linux-gnu and
5554         mips64-*-linux-gnu.
5556 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5558         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5559         * sysdeps/unix/sysv/linux/m68k: Move directory from
5560         ports/sysdeps/unix/sysv/linux/m68k.
5561         * README: Update listing for m68k-*-linux-gnu.
5563 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5565         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5566         * sysdeps/unix/sysv/linux/generic: Move directory from
5567         ports/sysdeps/unix/sysv/linux/generic.
5568         * sysdeps/unix/sysv/linux/tile: Move directory from
5569         ports/sysdeps/unix/sysv/linux/tile.
5570         * README: Update listing for tile*-*-linux-gnu.
5572 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5574         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5575         __builtin_expect.
5576         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5577         * catgets/open_catalog.c (__open_catalog): Likewise.
5578         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5579         * debug/confstr_chk.c: Likewise.
5580         * debug/fread_chk.c (__fread_chk): Likewise.
5581         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5582         * debug/getgroups_chk.c: Likewise.
5583         * debug/mbsnrtowcs_chk.c: Likewise.
5584         * debug/mbsrtowcs_chk.c: Likewise.
5585         * debug/mbstowcs_chk.c: Likewise.
5586         * debug/memcpy_chk.c: Likewise.
5587         * debug/memmove_chk.c: Likewise.
5588         * debug/mempcpy_chk.c: Likewise.
5589         * debug/memset_chk.c: Likewise.
5590         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5591         * debug/strcat_chk.c (__strcat_chk): Likewise.
5592         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5593         * debug/strncat_chk.c (__strncat_chk): Likewise.
5594         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5595         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5596         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5597         * debug/wcpncpy_chk.c: Likewise.
5598         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5599         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5600         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5601         * debug/wcsncpy_chk.c: Likewise.
5602         * debug/wcsnrtombs_chk.c: Likewise.
5603         * debug/wcsrtombs_chk.c: Likewise.
5604         * debug/wcstombs_chk.c: Likewise.
5605         * debug/wmemcpy_chk.c: Likewise.
5606         * debug/wmemmove_chk.c: Likewise.
5607         * debug/wmempcpy_chk.c: Likewise.
5608         * debug/wmemset_chk.c: Likewise.
5609         * dirent/scandirat.c (SCANDIRAT): Likewise.
5610         * dlfcn/dladdr1.c (dladdr1): Likewise.
5611         * dlfcn/dladdr.c (dladdr): Likewise.
5612         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5613         * dlfcn/dlerror.c (__dlerror): Likewise.
5614         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5615         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5616         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5617         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5618         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5619         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5620         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5621         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5622         Likewise.
5623         * elf/dl-conflict.c: Likewise.
5624         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5625         * elf/dl-dst.h: Likewise.
5626         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5627         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5628         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5629         * elf/dl-init.c (call_init, _dl_init): Likewise.
5630         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5631         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5632         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5633         Likewise.
5634         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5635         Likewise.
5636         * elf/dl-minimal.c (__libc_memalign): Likewise.
5637         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5638         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5639         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5640         * elf/dl-sym.c (do_sym): Likewise.
5641         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5642         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5643         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5644         * elf/dl-writev.h (_dl_writev): Likewise.
5645         * elf/ldconfig.c (search_dir): Likewise.
5646         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5647         (dl_main): Likewise.
5648         * elf/setup-vdso.h (setup_vdso): Likewise.
5649         * grp/compat-initgroups.c (compat_call): Likewise.
5650         * grp/fgetgrent.c (fgetgrent): Likewise.
5651         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5652         * grp/putgrent.c (putgrent): Likewise.
5653         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5654         Likewise.
5655         * hurd/hurdinit.c: Likewise.
5656         * iconvdata/8bit-gap.c (struct): Likewise.
5657         * iconvdata/ansi_x3.110.c : Likewise.
5658         * iconvdata/big5.c : Likewise.
5659         * iconvdata/big5hkscs.c : Likewise.
5660         * iconvdata/cp1255.c: Likewise.
5661         * iconvdata/cp1258.c : Likewise.
5662         * iconvdata/cp932.c : Likewise.
5663         * iconvdata/euc-cn.c: Likewise.
5664         * iconvdata/euc-jisx0213.c : Likewise.
5665         * iconvdata/euc-jp.c: Likewise.
5666         * iconvdata/euc-jp-ms.c : Likewise.
5667         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5668         * iconvdata/gb18030.c : Likewise.
5669         * iconvdata/gbbig5.c (const): Likewise.
5670         * iconvdata/gbgbk.c: Likewise.
5671         * iconvdata/gbk.c : Likewise.
5672         * iconvdata/ibm1364.c : Likewise.
5673         * iconvdata/ibm930.c : Likewise.
5674         * iconvdata/ibm932.c: Likewise.
5675         * iconvdata/ibm933.c : Likewise.
5676         * iconvdata/ibm935.c : Likewise.
5677         * iconvdata/ibm937.c : Likewise.
5678         * iconvdata/ibm939.c : Likewise.
5679         * iconvdata/ibm943.c: Likewise.
5680         * iconvdata/iso_11548-1.c: Likewise.
5681         * iconvdata/iso-2022-cn.c : Likewise.
5682         * iconvdata/iso-2022-cn-ext.c : Likewise.
5683         * iconvdata/iso-2022-jp-3.c: Likewise.
5684         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5685         * iconvdata/iso-2022-kr.c : Likewise.
5686         * iconvdata/iso646.c (gconv_end): Likewise.
5687         * iconvdata/iso_6937-2.c : Likewise.
5688         * iconvdata/iso_6937.c : Likewise.
5689         * iconvdata/iso8859-1.c: Likewise.
5690         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5691         * iconvdata/shift_jisx0213.c : Likewise.
5692         * iconvdata/sjis.c : Likewise.
5693         * iconvdata/t.61.c : Likewise.
5694         * iconvdata/tcvn5712-1.c : Likewise.
5695         * iconvdata/tscii.c: Likewise.
5696         * iconvdata/uhc.c : Likewise.
5697         * iconvdata/unicode.c (gconv_end): Likewise.
5698         * iconvdata/utf-16.c (gconv_end): Likewise.
5699         * iconvdata/utf-32.c (gconv_end): Likewise.
5700         * iconvdata/utf-7.c (base64): Likewise.
5701         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5702         * iconv/gconv_close.c (__gconv_close): Likewise.
5703         * iconv/gconv_open.c (__gconv_open): Likewise.
5704         * iconv/gconv_simple.c (internal_ucs4_loop_single)
5705         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5706         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5707         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5708         (ucs4le_internal_loop_single): Likewise.
5709         * iconv/iconv.c (iconv): Likewise.
5710         * iconv/iconv_close.c: Likewise.
5711         * iconv/loop.c (SINGLE): Likewise.
5712         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5713         * include/atomic.h: Likewise.
5714         * inet/inet6_option.c (option_alloc): Likewise.
5715         * intl/bindtextdom.c (set_binding_values): Likewise.
5716         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5717         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5718         * intl/localealias.c (read_alias_file): Likewise.
5719         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5720         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5721         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5722         * libio/fmemopen.c (fmemopen): Likewise.
5723         * libio/iofgets.c (_IO_fgets): Likewise.
5724         * libio/iofgets_u.c (fgets_unlocked): Likewise.
5725         * libio/iofgetws.c (fgetws): Likewise.
5726         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5727         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5728         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5729         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5730         * locale/findlocale.c (_nl_find_locale): Likewise.
5731         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5732         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5733         Likewise.
5734         * locale/setlocale.c (setlocale): Likewise.
5735         * login/programs/pt_chown.c (main): Likewise.
5736         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5737         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5738         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5739         (mmap, mmap64, mremap, munmap): Likewise.
5740         * math/e_exp2l.c: Likewise.
5741         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5742         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5743         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5744         * math/s_catan.c (__catan): Likewise.
5745         * math/s_catanf.c (__catanf): Likewise.
5746         * math/s_catanh.c (__catanh): Likewise.
5747         * math/s_catanhf.c (__catanhf): Likewise.
5748         * math/s_catanhl.c (__catanhl): Likewise.
5749         * math/s_catanl.c (__catanl): Likewise.
5750         * math/s_ccosh.c (__ccosh): Likewise.
5751         * math/s_ccoshf.c (__ccoshf): Likewise.
5752         * math/s_ccoshl.c (__ccoshl): Likewise.
5753         * math/s_cexp.c (__cexp): Likewise.
5754         * math/s_cexpf.c (__cexpf): Likewise.
5755         * math/s_cexpl.c (__cexpl): Likewise.
5756         * math/s_clog10.c (__clog10): Likewise.
5757         * math/s_clog10f.c (__clog10f): Likewise.
5758         * math/s_clog10l.c (__clog10l): Likewise.
5759         * math/s_clog.c (__clog): Likewise.
5760         * math/s_clogf.c (__clogf): Likewise.
5761         * math/s_clogl.c (__clogl): Likewise.
5762         * math/s_csin.c (__csin): Likewise.
5763         * math/s_csinf.c (__csinf): Likewise.
5764         * math/s_csinh.c (__csinh): Likewise.
5765         * math/s_csinhf.c (__csinhf): Likewise.
5766         * math/s_csinhl.c (__csinhl): Likewise.
5767         * math/s_csinl.c (__csinl): Likewise.
5768         * math/s_csqrt.c (__csqrt): Likewise.
5769         * math/s_csqrtf.c (__csqrtf): Likewise.
5770         * math/s_csqrtl.c (__csqrtl): Likewise.
5771         * math/s_ctan.c (__ctan): Likewise.
5772         * math/s_ctanf.c (__ctanf): Likewise.
5773         * math/s_ctanh.c (__ctanh): Likewise.
5774         * math/s_ctanhf.c (__ctanhf): Likewise.
5775         * math/s_ctanhl.c (__ctanhl): Likewise.
5776         * math/s_ctanl.c (__ctanl): Likewise.
5777         * math/w_pow.c: Likewise.
5778         * math/w_powf.c: Likewise.
5779         * math/w_powl.c: Likewise.
5780         * math/w_scalb.c (sysv_scalb): Likewise.
5781         * math/w_scalbf.c (sysv_scalbf): Likewise.
5782         * math/w_scalbl.c (sysv_scalbl): Likewise.
5783         * misc/error.c (error_tail): Likewise.
5784         * misc/pselect.c (__pselect): Likewise.
5785         * nis/nis_callback.c (__nis_create_callback): Likewise.
5786         * nis/nis_call.c (__nisfind_server): Likewise.
5787         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5788         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5789         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5790         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5791         * nis/nis_lookup.c (nis_lookup): Likewise.
5792         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5793         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5794         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5795         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5796         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5797         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5798         * nis/nss_compat/compat-initgroups.c (add_group)
5799         (internal_getgrent_r): Likewise.
5800         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5801         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5802         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5803         (internal_getspnam_r): Likewise.
5804         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5805         (_nss_nis_getaliasbyname_r): Likewise.
5806         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5807         (_nss_nis_getntohost_r): Likewise.
5808         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5809         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5810         (_nss_nis_getgrgid_r): Likewise.
5811         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5812         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5813         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5814         (_nss_nis_gethostbyname4_r): Likewise.
5815         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5816         (initgroups_netid): Likewise.
5817         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5818         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5819         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5820         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5821         (_nss_nis_getprotobynumber_r): Likewise.
5822         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5823         (_nss_nis_getsecretkey): Likewise.
5824         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5825         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5826         (_nss_nis_getpwuid_r): Likewise.
5827         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5828         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5829         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5830         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5831         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5832         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5833         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5834         Likewise.
5835         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5836         (_nss_nisplus_getntohost_r): Likewise.
5837         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5838         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5839         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5840         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5841         Likewise.
5842         * nis/nss_nisplus/nisplus-initgroups.c
5843         (_nss_nisplus_initgroups_dyn): Likewise.
5844         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5845         (_nss_nisplus_getnetbyaddr_r): Likewise.
5846         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5847         (_nss_nisplus_getprotobynumber_r): Likewise.
5848         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5849         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5850         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5851         Likewise.
5852         * nis/nss_nisplus/nisplus-service.c
5853         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5854         (_nss_nisplus_getservbyport_r): Likewise.
5855         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5856         (_nss_nisplus_getspnam_r): Likewise.
5857         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5858         Likewise.
5859         * nscd/aicache.c (addhstaiX): Likewise.
5860         * nscd/cache.c (cache_search, prune_cache): Likewise.
5861         * nscd/connections.c (register_traced_file, send_ro_fd)
5862         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5863         (main_loop_epoll): Likewise.
5864         * nscd/grpcache.c (addgrbyX): Likewise.
5865         * nscd/hstcache.c (addhstbyX): Likewise.
5866         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5867         * nscd/mem.c (gc, mempool_alloc): Likewise.
5868         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5869         (addinnetgrX): Likewise.
5870         * nscd/nscd-client.h (__nscd_acquire_maplock)
5871         (__nscd_drop_map_ref): Likewise.
5872         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5873         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5874         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5875         Likewise.
5876         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5877         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5878         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5879         (__nscd_get_map_ref): Likewise.
5880         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5881         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5882         Likewise.
5883         * nscd/pwdcache.c (addpwbyX): Likewise.
5884         * nscd/selinux.c (preserve_capabilities): Likewise.
5885         * nscd/servicescache.c (addservbyX): Likewise.
5886         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5887         * posix/fnmatch.c (fnmatch): Likewise.
5888         * posix/getopt.c (_getopt_internal_r): Likewise.
5889         * posix/glob.c (glob, glob_in_dir): Likewise.
5890         * posix/wordexp.c (exec_comm_child): Likewise.
5891         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5892         (getanswer_r, gaih_getanswer_slice): Likewise.
5893         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5894         * resolv/res_init.c: Likewise.
5895         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5896         * resolv/res_query.c (__libc_res_nquery): Likewise.
5897         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5898         Likewise.
5899         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5900         * stdio-common/perror.c (perror): Likewise.
5901         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5902         * stdio-common/tmpnam.c (tmpnam): Likewise.
5903         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5904         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5905         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5906         Likewise.
5907         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5908         * stdlib/putenv.c (putenv): Likewise.
5909         * stdlib/setenv.c (__add_to_environ): Likewise.
5910         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5911         * stdlib/strtol_l.c (INTERNAL): Likewise.
5912         * string/memmem.c (memmem): Likewise.
5913         * string/strerror.c (strerror): Likewise.
5914         * string/strnlen.c (__strnlen): Likewise.
5915         * string/test-memmem.c (simple_memmem): Likewise.
5916         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5917         * sunrpc/pm_getport.c (__get_socket): Likewise.
5918         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5919         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5920         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5921         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5922         Likewise.
5923         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5925         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5926         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5927         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5928         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5929         Likewise.
5930         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5931         Likewise.
5932         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5933         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5934         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5935         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5936         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5938         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5939         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5940         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5941         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5942         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5943         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5944         Likewise.
5945         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5946         Likewise.
5947         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5948         Likewise.
5949         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5950         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5951         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5952         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5953         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5954         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5955         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5956         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5957         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5958         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5959         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5960         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5961         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5962         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5964         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5965         Likewise.
5966         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5967         Likewise.
5968         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5969         Likewise.
5970         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5971         Likewise.
5972         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5974         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5975         Likewise.
5976         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5977         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5978         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5979         * sysdeps/posix/sleep.c: Likewise.
5980         * sysdeps/posix/tempname.c: Likewise.
5981         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5982         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5983         Likewise.
5984         * sysdeps/powerpc/powerpc32/dl-machine.h
5985         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5986         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5988         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5989         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5990         Likewise.
5991         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5992         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5993         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5994         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5995         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5996         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5997         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5998         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5999         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6000         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6001         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6002         (elf_machine_lazy_rel): Likewise.
6003         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6004         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6005         (elf_machine_lazy_rel): Likewise.
6006         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6007         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6008         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6009         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6010         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6011         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6012         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6013         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6014         Likewise.
6015         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6016         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6017         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6018         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6019         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6020         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6021         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6022         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6023         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6024         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6025         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6026         Likewise.
6027         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6028         (__posix_fallocate64_l64): Likewise.
6029         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6030         (posix_fallocate): Likewise.
6031         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6032         Likewise.
6033         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6034         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6035         (getifaddrs_internal): Likewise.
6036         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6037         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6038         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6039         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6040         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6041         (__posix_fallocate64_l64): Likewise.
6042         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6043         Likewise.
6044         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6045         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6046         (__get_clockfreq): Likewise.
6047         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6048         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6049         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6052         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6053         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6054         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6055         Likewise.
6056         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6057         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6058         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6059         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6060         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6061         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6062         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6063         Likewise.
6064         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6065         (posix_fallocate): Likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6067         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6068         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6069         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6070         (elf_machine_rela, elf_machine_rela_relative)
6071         (elf_machine_lazy_rel): Likewise.
6072         * time/asctime.c (asctime_internal): Likewise.
6073         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6074         * time/tzset.c (__tzset_parse_tz): Likewise.
6075         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6076         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6077         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6078         * wcsmbs/wcsmbsload.h: Likewise.
6080         [BZ #15894]
6081         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6083         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6084         (arena_get2): Remove THREAD_STATS conditionals.
6085         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6086         (__malloc_stats, int): Likewise.
6088 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6090         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6091         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6093         * manual/setjmp.texi: Fix typos/grammar errors.
6095         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6096         Only return early when n is <= 0.  Delete unused return statement.
6098         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6099         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6100         * debug/tst-longjmp_chk3.c: New file.
6102         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6103         (test_main): Replace code with set_fortify_handler call.
6104         * debug/test-strcpy_chk.c: Likewise.
6105         * debug/tst-chk1.c: Likewise.
6106         * debug/tst-longjmp_chk.c: Likewise.
6107         * test-skeleton.c: Include fcntl.h & paths.h
6108         (set_fortify_handler): Define.
6110         * debug/tst-longjmp_chk.c: Add header comment and include
6111         ../test-skeleton.c.
6112         (do_test): Mark static.
6113         (TEST_FUNCTION): Define.
6115         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6116         (IP_PMTUDISC_INTERFACE): Likewise.
6117         (IP_MULTICAST_IF): Likewise.
6118         (IP_MULTICAST_TTL): Likewise.
6119         (IP_MULTICAST_LOOP): Likewise.
6120         (IP_ADD_MEMBERSHIP): Likewise.
6121         (IP_DROP_MEMBERSHIP): Likewise.
6122         (IP_UNBLOCK_SOURCE): Likewise.
6123         (IP_BLOCK_SOURCE): Likewise.
6124         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6125         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6126         (IP_MSFILTER): Likewise.
6127         (MCAST_JOIN_GROUP): Likewise.
6128         (MCAST_BLOCK_SOURCE): Likewise.
6129         (MCAST_UNBLOCK_SOURCE): Likewise.
6130         (MCAST_LEAVE_GROUP): Likewise.
6131         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6132         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6133         (MCAST_MSFILTER): Likewise.
6134         (IP_MULTICAST_ALL): Likewise.
6135         (IP_UNICAST_IF): Likewise.
6137         * timezone/Makefile: Delete $(have-ksh) check.
6138         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6139         * timezone/tzselect.ksh: Add +x mode bits.
6141         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6142         (ANON_INODE_FS_MAGIC): Likewise.
6143         (BDEVFS_MAGIC): Likewise.
6144         (BINFMTFS_MAGIC): Likewise.
6145         (BTRFS_TEST_MAGIC): Likewise.
6146         (CRAMFS_MAGIC_WEND): Likewise.
6147         (DEBUGFS_MAGIC): Likewise.
6148         (ECRYPTFS_SUPER_MAGIC): Likewise.
6149         (EXT3_SUPER_MAGIC): Likewise.
6150         (EXT4_SUPER_MAGIC): Likewise.
6151         (FUTEXFS_SUPER_MAGIC): Likewise.
6152         (HOSTFS_SUPER_MAGIC): Likewise.
6153         (HUGETLBFS_MAGIC): Likewise.
6154         (MINIX3_SUPER_MAGIC): Likewise.
6155         (MTD_INODE_FS_MAGIC): Likewise.
6156         (NILFS_SUPER_MAGIC): Likewise.
6157         (OPENPROM_SUPER_MAGIC): Likewise.
6158         (PIPEFS_MAGIC): Likewise.
6159         (PSTOREFS_MAGIC): Likewise.
6160         (QNX6_SUPER_MAGIC): Likewise.
6161         (RAMFS_MAGIC): Likewise.
6162         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6163         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6164         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6165         (SECURITYFS_MAGIC): Likewise.
6166         (SELINUX_MAGIC): Likewise.
6167         (SMACK_MAGIC): Likewise.
6168         (SOCKFS_MAGIC): Likewise.
6169         (SQUASHFS_MAGIC): Likewise.
6170         (STACK_END_MAGIC): Likewise.
6171         (TMPFS_MAGIC): Likewise.
6172         (USBDEVICE_SUPER_MAGIC): Likewise.
6173         (V9FS_MAGIC): Likewise.
6174         (XENFS_SUPER_MAGIC): Likewise.
6175         (CRAMFS_MAGIC): Fix typo in comment.
6176         (EXT2_SUPER_MAGIC): Update comment.
6177         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6179 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6181         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6182         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6183         * sysdeps/unix/sysv/linux/arm: Move directory from
6184         ports/sysdeps/unix/sysv/linux/arm.
6185         * README: Update listing for arm-*-linux-gnueabi.
6187         * README: Remove mention of am33.
6189 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6191         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6192         than the comma operator, to avoid "rhs of comma has no effect"
6193         compiler warnings.
6194         (__sigfillset, __sigandset, __sigorset): Likewise.
6195         * include/signal.h (__sigemptyset): Likewise.
6196         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6198 2014-02-07  Allan McRae  <allan@archlinux.org>
6200         * version.h (RELEASE): Set to "development".
6201         (VERSION): Set to "2.19.90"
6202         * NEWS: Add 2.20 section.
6204 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6206         [BZ #16529]
6207         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6209 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6211         * manual/contrib.texi: Update entry for Carlos O'Donell,
6212         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6214 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6216         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6218         * sysdeps/unix/sysv/linux/kernel-features.h
6219         [__LINUX_KERNEL_VERSION >= 0x020621]
6220         (__ASSUME_PROC_PID_TASK_COMM): Define.
6222 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6224         [BZ #16398]
6225         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6226         conversion when destination buffer does not have enough space.
6227         * libio/tst-ftell-partial-wide.c: New test case.
6228         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6230         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6231         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6232         Leonard and Allan McRae.
6234 2014-02-04  David S. Miller  <davem@davemloft.net>
6236         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6237         32-bit.
6239 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6242         New file
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6244         New file
6245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6246         New file.
6247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6248         New file.
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6250         New file.
6251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6252         New file.
6253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6254         New file.
6255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6256         New file.
6257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6258         New file.
6259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6260         New file.
6261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6262         New file.
6263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6264         New file.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6266         New file.
6268 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6270         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6271         * shlib-versions: Likewise.
6273 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6274             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6276         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6277         (abilist-pattern): New variable, set to %-le.abilist.
6279         * Makerules (abilist-pattern): New variable.
6280         (vpath): Use $(abilist-pattern) in place of %.abilist.
6281         (check-abi-% pattern rule): Likewise.
6282         (check-abi, update-abi): Likewise.
6284 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6288 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6290         * manual/startup.texi: Add next, previous, and top entries for
6291         the `Program Arguments' and `Environment Variables' nodes.
6293 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6295         * manual/macros.texi: Add comments before MTASC-safety macros.
6297         * manual/users.texi: Document MTASC-safety properties.
6299         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6300         (pthread_getspecific, pthread_setspecific): Format with
6301         @deftypefun, and add @safety note.
6302         * manual/signal.texi: Move comments that analyze the above
6303         functions to their home place.
6305 2014-02-03  Allan McRae  <allan@archlinux.org>
6307         * po/sl.po: Update Slovenian translation from translation project.
6309 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6311         * manual/time.texi (timegm): Add missing blank after @c.
6312         Reported by Joseph Myers <joseph@codesourcery.com>.
6314 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6316         * manual/check-safety.sh: New.
6317         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6319         * manual/terminal.texi: Document MTASC-safety properties.
6321         * manual/filesys.texi: Document MTASC-safety properties.
6323         * manual/errno.texi: Document MTASC-safety properties.
6325         * manual/intro.texi: Document safety identifiers and
6326         conditionals.
6328         * manual/string.texi (wcstok): Fix prototype.
6329         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6331         * manual/time.texi: Document MTASC-safety properties.
6333         * manual/string.texi: Document MTASC-safety properties.
6335         * manual/threads.texi: Document MTASC-safety properties.
6337         * manual/stdio.texi: Document MTASC-safety properties.
6339         * manual/syslog.texi: Document MTASC-safety properties.
6341         * manual/sysinfo.texi: Document MTASC-safety properties.
6343         * manual/startup.texi: Document MTASC-safety properties.
6345         * manual/socket.texi: Document MTASC-safety properties.
6347         * manual/signal.texi: Document MTASC-safety properties.
6349 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6351         * manual/setjmp.texi: Document MTASC-safety properties.
6353         * manual/search.texi: Document MTASC-safety properties.
6355         * manual/resource.texi: Document MTASC-safety properties.
6357         * manual/process.texi: Document MTASC-safety properties.
6359         * manual/platform.texi: Document MTASC-safety properties.
6361         * manual/pipe.texi: Document MTASC-safety properties.
6363         * manual/pattern.texi: Document MTASC-safety properties.
6365         * manual/message.texi: Document MTASC-safety properties.
6367         [BZ #12751]
6368         * manual/memory.texi: Document MTASC-safety properties.
6370         * manual/math.texi: Document MTASC-safety properties.
6372         * manual/locale.texi: Document MTASC-safety properties.
6374         * manual/llio.texi: Document MTASC-safety properties.
6376         * manual/libdl.texi: New.
6378         * manual/lang.texi: Document MTASC-safety properties.
6380         * manual/job.texi: Document MTASC-safety properties.
6382         * manual/getopt.texi: Document MTASC-safety properties.
6384         * manual/ctype.texi: Document MTASC-safety properties.
6386 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6388         [BZ #16046]
6389         * csu/libc-tls.c (static_map): Remove variable.
6390         (__libc_setup_tls): Use main executable's link map for TLS data.
6391         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6392         casing for LM_ID_BASE and GL(dl_nns).
6393         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6394         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6395         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6396         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6397         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6398         member.
6399         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6400         l_phnum members.
6402 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6404         * manual/debug.texi: Document MTASC-safety properties.
6406 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6408         [BZ #16510]
6409         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6410         of __x86_64__ when disabling x87 inline functions.
6412 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6414         * manual/charset.texi: Document MTASC-safety properties.
6416         * manual/crypt.texi: Document MTASC-safety properties.
6418         * manual/conf.texi: Document MTASC-safety properties.
6420         * manual/arith.texi: Document MTASC-safety properties.
6422         * manual/argp.texi: Document MTASC-safety properties.
6424         * manual/macros.texi: Introduce macros to document multi
6425         thread, asynchronous signal and asynchronous cancellation
6426         safety properties.
6427         * manual/intro.texi: Introduce the properties themselves.
6429 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6431         * sysdeps/sh/sh4/Makefile: New file.
6433 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6435         * math/gen-libm-test.pl ($srcdir): New variable.
6436         ($auto_input): Use it.
6438 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6440         [BZ #16506]
6441         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6442         access beyond array bounds when parsing netgroups file.
6444         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6445         the old buffer before realloc.
6447 2014-01-27  Allan McRae  <allan@archlinux.org>
6449         * po/fr.po: Update French translation from translation project.
6451 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6453         * sysdeps/sh/libm-test-ulps: Regenerate.
6455 2014-01-24  David S. Miller  <davem@davemloft.net>
6457         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6459 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6461         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6462         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6464 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6466         [BZ #16474]
6467         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6468         string pointers after reallocation.
6470 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6472         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6473         __SH4A__ instead of __SH_FPU_ANY__.
6475 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6477         * sysdeps/sh/fpu_control.h: New file.
6478         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6479         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6480         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6481         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6482         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6483         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6484         * sysdeps/sh/sys/ucontext.h: Remove.
6485         * sysdeps/sh/sys: Remove directory.
6487 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6489         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6490         s390/sys/ucontext.h.
6491         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6492         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6494 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6496         [BZ #15605]
6497         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6499 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6501         [BZ#16431]
6502         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6503         Adjust the vDSO correctly for internal calls.
6504         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6506 2014-01-20  Allan McRae  <allan@archlinux.org>
6508         * po/ca.po: Update Catalan translation from translation project.
6510 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6512         * sysdeps/s390/sotruss-lib.c: New file.
6514 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6516         [BZ#16430]
6517         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6518         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6519         local calls issues by not having a PLT stub required for IFUNC calls.
6520         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6522 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6524         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6525         * math/test-fpucw-static.c: Likewise.
6527 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6529         [BZ #16453]
6530         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6532 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6534         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6535         implementation for powerpc.
6537 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6539         [BZ #14782]
6540         * sysdeps/posix/system.c (__libc_system): Do not enable
6541         asynchronous cancellation.
6543 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6545         [BZ #16427]
6546         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6547         handling only for numbers special also in the IEEE case.
6549 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6551         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6553 2014-01-11  Allan McRae  <allan@archlinux.org>
6555         * po/bg.po: Update Bulgarian translation from translation project.
6557         * po/de.po: Update German translation from translation project.
6559 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6561         * sysdeps/generic/gcc-compat.h: New file.
6563 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6565         * benchtests/asin-inputs: Correct slow inputs.
6566         * benchtests/acos-inputs: Likewise.
6568 2014-01-10  Allan McRae  <allan@archlinux.org>
6570         * po:sv.po: Update Swedish translation from translation project.
6572         * po/vi.po: Update Vietnamese translation from translation project.
6574         * po/eo.po: Update Esperanto translation from translation project.
6576         * po/cs.po: Update Czech translation from translation project.
6578         * po/nl.po: Update Dutch translation from translation project.
6580         * po/pl.po: Update Polish translation from translation project.
6582         * po/ru.po: Update Russian translation from translation project.
6584         * po/uk.po: Update Ukrainian translation from translation project.
6586 2014-01-08  Brooks Moses  <bmoses@google.com>
6588         * elf/dl-load.c: Fix comment typo.
6590 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6592         * po/header.pot: Rename to...
6593         * po/pot.header: ... this.
6594         * po/Makefile: Use pot.header.
6596 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6597             Maxim Kuvyrkov  <maxim@kugelworks.com>
6599         [BZ #16394]
6600         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6601         SRC and DEST against LEN.
6603 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6605         [BZ #16414]
6606         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6607         implementation.
6608         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6610 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6614 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6616         [BZ #16408]
6617         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6618         for large positive arguments.
6620 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6622         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6624         * math/auto-libm-test-in: Mark various tests with
6625         xfail-rounding:ldbl-128ibm.
6626         * math/auto-libm-test-out: Regenerated.
6628         [BZ #16407]
6629         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6630         Increase overflow threshold.
6632 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6634         [BZ #14286]
6635         * stdio-common/vfprintf.c: Check for integer overflow.
6637 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6639         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6640         the first argument and return value of __tls_get_addr_internal.
6642 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6644         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6645         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6647 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6649         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6650         * sysdeps/s390/rtld-global-offsets.sym: New file.
6651         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6652         GLIBC_2.19 symbol.
6653         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6654         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6655         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6656         ... this.
6657         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6658         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6659         ... this.
6660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6661         Regenerate.
6662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6663         Regenerate.
6664         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6665         halfs of GPRs for high_gprs contexts.
6666         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6667         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6668         field.
6669         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6670         uc_flags field.
6671         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6672         64 bit versions:
6673         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6674         for high GPRs (uc_high_gprs) and for future extensions
6675         (__reserved).
6676         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6677         for future extensions (__reserved).
6678         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6679         64 bit versions:
6680         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6681         SC_HIGHGPRS offset definition.
6682         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6683         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6685         * Versions.def: Add GLIBC_2.19 for libpthread.
6686         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6687         siglongjmp for libpthread with GLIBC_2.19 symver.
6688         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6689         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6690         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6691         * sysdeps/s390/__longjmp.c: New file.
6692         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6693         * sysdeps/s390/longjmp.c: New file.
6694         * sysdeps/s390/setjmp.S: New file.
6695         * sysdeps/s390/sigjmp.S: New file.
6696         * sysdeps/s390/v1-longjmp.c: New file.
6697         * sysdeps/s390/v1-setjmp.h: New file.
6698         * sysdeps/s390/v1-sigjmp.c: New file.
6699         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6700         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6701         GLIBC_2.19 version.
6702         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6703         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6704         versioned symbols for ____longjmp_chk.
6705         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6706         Likewise.
6707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6708         Regenerate.
6709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6710         Regenerate.
6711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6712         Regenerate.
6713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6714         Regenerate.
6715         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6716         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6717         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6718         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6719         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6720         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6721         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6722         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6723         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6724         * sysdeps/s390/rtld-__longjmp.c: New file.
6725         * sysdeps/s390/rtld-setjmp.S: New file.
6727 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
6729         [BZ #16400]
6730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6731         Return -__logl (x) for small positive arguments without evaluating
6732         a polynomial.
6734 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
6736         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6737         Rename to ...
6738         (__ptrace_peeksiginfo_args): ... this.
6739         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6740         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6741         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6743 2014-01-06  Allan McRae  <allan@archlinux.org>
6745         * inet/netinet/in.h: Fix typo in comment.
6747 2014-01-05  Andreas Jaeger  <aj@suse.de>
6749         * sysdeps/i386/fpu/libm-test-ulps: Update.
6751 2014-01-05  Allan McRae  <allan@archlinux.org>
6753         * po/libc.pot: Regenerated.
6755         * malloc/memusagestat.c: Fix gettext call formatting.
6757 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6759         * nscd/nscd.c: Improve usage() output.
6761 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6763         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6764         * sysdeps/unix/sysv/linux/configure: Regenerated.
6765         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6766         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6768 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #16390]
6771         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6772         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6774 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6777         extra tokens at end of #undef directive.
6778         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6779         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6780         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6782 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6784         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6786         * math/auto-libm-test-in: Mark various tests with
6787         xfail-rounding:ldbl-128ibm.
6788         * math/auto-libm-test-out: Regenerated.
6790 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6792         [BZ #16386]
6793         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6794         numbers with subnormal high part when calculating exponent.
6796         [BZ #16385]
6797         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6798         fabs.
6800         [BZ #16384]
6801         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6802         M_LN2l.
6803         (__ieee754_acoshl): Use __log1pl not __log1p.
6805 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6807         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6808         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6809         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6810         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6811         (reused_arena, arena_get2): Convert to GNU style.
6812         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6813         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6814         (memalign_check, __malloc_set_state): Likewise.
6815         * malloc/mallocbug.c (main): Likewise.
6816         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6817         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6818         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6819         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6820         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6821         (__posix_memalign, malloc_info): Likewise.
6822         * malloc/malloc.h: Likewise.
6823         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6824         (mallochook, memalignhook, reallochook, mabort): Likewise.
6825         * malloc/mcheck.h: Likewise.
6826         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6827         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6828         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6829         * malloc/morecore.c (__default_morecore): Likewise.
6830         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6831         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6832         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6833         (print_and_abort): Likewise.
6834         * malloc/obstack.h: Likewise.
6835         * malloc/set-freeres.c (__libc_freeres): Likewise.
6836         * malloc/tst-mallocstate.c (main): Likewise.
6837         * malloc/tst-mtrace.c (main): Likewise.
6838         * malloc/tst-realloc.c (do_test): Likewise.
6840 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6842         [BZ #16366]
6843         * nscd/netgroupcache.c (do_notfound): New function.
6844         (addgetnetgrentX): Use it.
6846         [BZ # 16365]
6847         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6848         NSS_STATUS_NOTFOUND.
6850 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6852         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6855 2014-01-01  Allan McRae  <allan@archlinux.org>
6857         * scripts/update-copyrights: Update configure input file suffix.
6859         * NEWS: Update copyright year.
6860         * catgets/gencat.c: Likewise.
6861         * csu/version.c: Likewise.
6862         * debug/catchsegv.sh: Likewise.
6863         * debug/pcprofiledump.c: Likewise.
6864         * debug/xtrace.sh: Likewise.
6865         * elf/ldconfig.c: Likewise.
6866         * elf/ldd.bash.in: Likewise.
6867         * elf/pldd.c: Likewise.
6868         * elf/sotruss.ksh: Likewise.
6869         * elf/sprof.c: Likewise.
6870         * iconv/iconv_prog.c: Likewise.
6871         * iconv/iconvconfig.c: Likewise.
6872         * locale/programs/locale.c: Likewise.
6873         * locale/programs/localedef.c: Likewise.
6874         * login/programs/pt_chown.c: Likewise.
6875         * malloc/memusage.sh: Likewise.
6876         * malloc/memusagestat.c: Likewise.
6877         * malloc/mtrace.pl: Likewise.
6878         * manual/libc.texinfo: Likewise.
6879         * nscd/nscd.c: Likewise.
6880         * nss/getent.c: Likewise.
6881         * nss/makedb.c: Likewise.
6882         * posix/getconf.c: Likewise.
6883         * scripts/test-installation.pl: Likewise.
6885         * All files with FSF copyright notices: Update copyright dates
6886         using scripts/update-copyrights.
6887         * intl/plural.c: Regenerated.
6888         * locale/programs/charmap-kw.h: Likewise.
6889         * locale/programs/locfile-kw.h: Likewise.
6891 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6893         * sysdeps/unix/sysv/linux/configure: Regenerated.
6894         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6895         the linux/fanotify.h header.
6896         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6897         HAVE_LINUX_FANOTIFY_H is defined.
6899 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6901         * benchtests/cos-inputs: New inputs.
6902         * benchtests/sin-inputs: Likewise.
6904         * benchtests/atan-inputs: New inputs. Fix name of multiple
6905         precision fallback inputs.
6907         * benchtests/atanh-inputs: New inputs.
6908         * benchtests/tanh-inputs: Likewise.
6910         * benchtests/acosh-inputs: New inputs.
6911         * benchtests/asinh-inputs: Likewise.
6913         * benchtests/cosh-inputs: New inputs.
6914         * benchtests/sinh-inputs: Likewise.
6916         * benchtests/acos-inputs: Add more inputs.
6917         * benchtests/asin-inputs: Likewise.
6919 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6921         [BZ #16375]
6922         * manual/arith.texi: Fix spelling.
6923         * manual/charset.texi: Likewise.
6924         * manual/errno.texi: Likewise.
6925         * manual/filesys.texi: Likewise.
6926         * manual/lang.texi: Likewise.
6927         * manual/llio.texi: Likewise.
6928         * manual/locale.texi: Likewise.
6929         * manual/message.texi: Likewise.
6930         * manual/resource.texi: Likewise.
6931         * manual/search.texi: Likewise.
6932         * manual/setjmp.texi: Likewise.
6933         * manual/stdio.texi: Likewise.
6934         * manual/string.texi: Likewise.
6935         * manual/sysinfo.texi: Likewise.
6936         * manual/time.texi: Likewise.
6938 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6940         * po/sl.po: New file.
6942 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6944         * .gitignore: Add core/.gdbinit/.gdb_history.
6946 2013-12-27  Allan McRae  <allan@archlinux.org>
6948         [BZ #16369]
6949         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6950         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6952 2013-12-24  Brooks Moses  <bmoses@google.com>
6954         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6955         all compilers that claim C++98 compliance, not just GCC.
6956         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6957         Likewise.
6959 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6961         * NEWS: Restore accidentally deleted bug-fix entries.
6963 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6964             Ondřej Bílka  <neleai@seznam.cz>
6966         [BZ #15073]
6967         * malloc/malloc.c (_int_free): Perform sanity check only if we
6968         have_lock.
6970 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6972         [BZ #12986]
6973         * manual/stdio.texi (String Input Conversions): Clarify that character
6974         classes are not supported.
6976 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6980 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6982         [BZ #16337]
6983         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6984         Calculate results for small negative arguments directly rather
6985         than using reflection formula with special underflow handling.
6987         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6988         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6989         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6990         (fchflags): Likewise.
6991         (revoke): Likewise.
6992         (setlogin): Likewise.
6993         (sigaltstack): Likewise.
6994         (wait4): Likewise.
6995         (sigblock): Remove.
6996         (sigsetmask): Likewise.
6997         (wait3): Likewise.
6998         (waitpid): Likewise.
6999         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7000         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7001         file.
7002         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7003         * sysdeps/unix/bsd/Makefile: ... here.
7004         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7005         * sysdeps/unix/bsd/Versions: ... here.
7006         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7007         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7008         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7009         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7010         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7011         * sysdeps/unix/bsd/sigblock.c: ... here.
7012         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7013         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7014         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7015         * sysdeps/unix/bsd/sigvec.c: ... here.
7016         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7017         * sysdeps/unix/bsd/tcdrain.c: ... here.
7018         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7019         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7020         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7021         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7022         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7023         * sysdeps/unix/bsd/wait.c: ... here.
7024         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7025         * sysdeps/unix/bsd/wait3.c: ... here.
7026         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7027         * sysdeps/unix/bsd/waitpid.c: ... here.
7029 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7031         [BZ #16356]
7032         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7033         round-to-nearest for [!USE_AS_EXPM1L].
7034         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7035         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7036         more tests of exp and exp10.  Expect some exp10 tests to miss
7037         exceptions or fail in directed rounding modes.
7038         * math/auto-libm-test-out: Regenerated.
7039         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7040         (exp10_test_tonearest): New function.
7041         (exp10_towardzero_test_data): New array.
7042         (exp10_test_towardzero): New function.
7043         (exp10_downward_test_data): New array.
7044         (exp10_test_downward): New function.
7045         (exp10_upward_test_data): New array.
7046         (exp10_test_upward): New function.
7047         (main): Call the new functions.
7048         * sysdeps/i386/fpu/libm-test-ulps: Update.
7049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7051 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7053         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7054         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7055         * math/auto-libm-test-out: Regenerated.
7056         * math/libm-test.inc (acosh_test_data): Add more tests.
7057         (atanh_test_data): Likewise.
7058         (ceil_test_data): Likewise.
7059         (copysign_test_data): Likewise.
7060         * sysdeps/i386/fpu/libm-test-ulps: Update.
7061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063         * timezone/checktab.awk: Update from tzcode 2013i.
7064         * timezone/private.h: Likewise.
7065         * timezone/scheck.c: Likewise.
7066         * timezone/tzfile.h: Likewise.
7067         * timezone/tzselect.ksh: Likewise.
7068         * timezone/zdump.c: Likewise.
7069         * timezone/zic.c: Likewise.
7071         * math/auto-libm-test-in: Add tests of cpow.
7072         * math/auto-libm-test-out: Regenerated.
7073         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7074         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7075         mpc_cc_c.
7076         (func_calc_desc): Add mpc_cc_c union field.
7077         (test_functions): Add cpow.
7078         (special_fill_2pi): New function.
7079         (special_real_inputs): Add 2pi.
7080         (calc_generic_results): Handle mpc_cc_c.
7081         * sysdeps/i386/fpu/libm-test-ulps: Update.
7082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7084         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7085         csqrt, ctan and ctanh.
7086         * math/auto-libm-test-out: Regenerated.
7087         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7088         (TEST_COND_x86): Likewise.
7089         (ccos_test_data): Use AUTO_TESTS_c_c.
7090         (ccosh_test_data): Likewise.
7091         (cexp_test_data): Likewise.
7092         (clog_test_data): Likewise.
7093         (csqrt_test_data): Likewise.
7094         (ctan_test_data): Likewise.
7095         (ctan_tonearest_test_data): Likewise.
7096         (ctan_towardzero_test_data): Likewise.
7097         (ctan_downward_test_data): Likewise.
7098         (ctan_upward_test_data): Likewise.
7099         (ctanh_test_data): Likewise.
7100         (ctanh_tonearest_test_data): Likewise.
7101         (ctanh_towardzero_test_data): Likewise.
7102         (ctanh_downward_test_data): Likewise.
7103         (ctanh_upward_test_data): Likewise.
7104         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7105         mpc_c_c.
7106         (func_calc_desc): Add mpc_c_c union field.
7107         (FUNC_mpc_c_c): New macro.
7108         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7109         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7110         ctanh.
7111         (special_fill_min_subnorm_p120): New function.
7112         (special_real_inputs): Add min_subnorm_p120.
7113         (calc_generic_results): Handle mpc_c_c.
7114         * sysdeps/i386/fpu/libm-test-ulps: Update.
7115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7117 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7119         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7120         (do_sin_slow): New functions.
7121         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7122         (cslow2, csloww1, csloww2): Use the new functions.
7124         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7125         Use M to change sign of result instead of X.  Assume X is
7126         positive.
7127         (csloww1): Likewise.
7128         (__sin): Adjust.
7129         (__cos): Adjust.
7131         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7132         arguments A and DA.
7133         (__sin): Adjust.
7134         (__cos): Likewise.
7136         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7137         (__cos): Likewise.
7138         (sloww1): Don't adjust sign of DX.
7139         (csloww1): Likewise.
7140         (sloww2): Use X directly and don't adjust sign of DX.
7141         (csloww2): Likewise.
7143 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7145         * math/auto-libm-test-in: Add tests of cabs and carg.
7146         * math/auto-libm-test-out: Regenerated.
7147         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7148         (carg_test_data): Likewise.
7149         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7150         mpc_c_f.
7151         (func_calc_desc): Add mpc_c_f union field.
7152         (test_functions): Add cabs and carg.
7153         (calc_generic_results): Handle mpc_c_f.
7155         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7156         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7157         as a macro and a compat symbol.
7158         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7159         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7160         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7161         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7162         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7163         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7164         not use .hidden.
7165         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7166         Likewise.
7167         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7168         Likewise.
7169         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7170         Likewise.
7171         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7172         Likewise.
7173         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7174         Likewise.
7175         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7176         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7177         from GLIBC_2.3.2.
7179 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7183 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7185         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7186         trailing whitespace removed.
7187         * scripts/config.guess: Update to version 2013-11-29.
7188         * scripts/config.sub: Update to version 2013-10-01.
7190         * math/auto-libm-test-in: Add tests of sincos.
7191         * math/auto-libm-test-out: Regenerated.
7192         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7193         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7194         mpfr_f_11.
7195         (func_calc_desc): Add mpfr_f_11 union field.
7196         (test_functions): Add sincos.
7197         (calc_generic_results): Handle mpfr_f_11.
7198         * sysdeps/i386/fpu/libm-test-ulps: Update.
7199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7201 2013-12-19  Andreas Schwab  <schwab@suse.de>
7203         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7204         CALL_MCOUNT.
7205         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7206         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7207         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7209 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7211         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7212         * sysdeps/i386/fpu/libm-test-ulps: Update.
7213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7215         [BZ #16293]
7216         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7217         round-to-nearest mode when using frndint.
7218         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7219         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7220         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7221         Likewise.
7222         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7223         sinh test to fail.
7224         * math/auto-libm-test-out: Regenerated.
7225         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7226         (TEST_COND_x86): Likewise.
7227         (expm1_tonearest_test_data): New array.
7228         (expm1_test_tonearest): New function.
7229         (expm1_towardzero_test_data): New array.
7230         (expm1_test_towardzero): New function.
7231         (expm1_downward_test_data): New array.
7232         (expm1_test_downward): New function.
7233         (expm1_upward_test_data): New array.
7234         (expm1_test_upward): New function.
7235         (main): Run the new test functions.
7236         * sysdeps/i386/fpu/libm-test-ulps: Update.
7237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7239         * include/features.h: Update comment documenting feature test
7240         macros.  Mention _DEFAULT_SOURCE in comment.
7241         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7242         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7243         _BSD_SOURCE and _SVID_SOURCE.
7244         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7245         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7246         !_SVID_SOURCE]: Likewise.
7247         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7248         (__USE_POSIX_IMPLICITLY): Define.
7249         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7250         (_POSIX_SOURCE): Undefine and redefine.
7251         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7252         (_POSIX_C_SOURCE): Likewise.
7253         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7254         (Feature Test Macros): Update documentation of default features.
7256 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7258         * benchtests/Makefile: Add bench-strtok.
7259         * benchtests/bench-strtok.c: New file: strtok benchtest.
7261 2013-12-19  Allan McRae  <allan@archlinux.org>
7263         * manual/install.texi: Suppress menu for plain text output.
7264         * INSTALL: Regenerated.
7266 2013-12-18  Brooks Moses  <bmoses@google.com>
7268         [BZ #15846]
7269         * misc/getauxval.c: Include errno.h.
7270         (__getauxval): Set errno to ENOENT if the requested type is not
7271         found.
7272         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7273         don't declare with __attribute_const__.
7274         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7275         * manual/startup.texi: Document that getauxval sets errno.
7277 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7279         * math/auto-libm-test-in: Add tests of jn and yn.
7280         * math/auto-libm-test-out: Regenerated.
7281         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7282         (yn_test_data): Likewise.
7283         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7284         mpfr_if_f.
7285         (func_calc_desc): Add mpfr_if_f union field.
7286         (FUNC_mpfr_if_f): New macro.
7287         (test_functions): Add jn and yn.
7288         (calc_generic_results): Assert type of second input for
7289         mpfr_ff_f.  Handle mpfr_if_f.
7290         (output_for_one_input_case): Disable all checking for arguments
7291         fitting floating-point types in case of an integer argument.
7292         * sysdeps/i386/fpu/libm-test-ulps: Update.
7293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7296         Don't expect fegetround reference in libm.so.
7298 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7300         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7301         $(config-cflags-nofma).
7303 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7305         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7306         * math/auto-libm-test-out: Regenerated.
7308         [BZ #16338]
7309         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7310         to determine exponent and adjust argument to have exponent of -1.
7311         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7312         log2.
7313         * math/auto-libm-test-out: Regenerated.
7314         * sysdeps/i386/fpu/libm-test-ulps: Update.
7315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7317 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7319         * manual/probes.texi: Remove cases when per-thread arenas are
7320         disabled.
7322 2013-12-18  Andreas Schwab  <schwab@suse.de>
7324         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7325         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7326         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7327         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7328         * sysdeps/i386/i686/multiarch/Makefile: Update.
7329         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7331 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7333         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7334         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7336 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7338         [BZ #15968]
7339         Support TZ transition times < 00:00:00.
7340         This is needed for version-3 tz-format files; it supports time
7341         stamps past 2037 for America/Godthab (the only entry in the tz
7342         database for which this change is relevant).
7343         * manual/time.texi (TZ Variable): Document transition times
7344         from -167:59:59 through -00:00:01.
7345         * time/tzset.c (tz_rule): Time of day is now signed.
7346         (__tzset_parse_tz): Parse negative time of day.
7348         Document TZ transition times >= 25:00:00.
7349         * manual/time.texi (TZ Variable): Document transition times from
7350         25:00:00 through 167:59:59.  These are already supported, and this
7351         support will help with version-3 tz-format files.
7353         * manual/time.texi (TZ Variable): Modernize North America example
7354         to reflect current (i.e., 2007-and-later) daylight saving rules.
7356         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7358 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7360         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7361         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7362         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7363         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7364         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7365         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7366         * sysdeps/unix/bsd/clock.c: Likewise.
7367         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7368         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7369         * sysdeps/unix/bsd/init-posix.c: Likewise.
7370         * sysdeps/unix/bsd/poll.c: Likewise.
7371         * sysdeps/unix/bsd/ptsname.c: Likewise.
7372         * sysdeps/unix/bsd/seekdir.c: Likewise.
7373         * sysdeps/unix/bsd/setegid.c: Likewise.
7374         * sysdeps/unix/bsd/seteuid.c: Likewise.
7375         * sysdeps/unix/bsd/setgid.c: Likewise.
7376         * sysdeps/unix/bsd/setrgid.c: Likewise.
7377         * sysdeps/unix/bsd/setruid.c: Likewise.
7378         * sysdeps/unix/bsd/setsid.c: Likewise.
7379         * sysdeps/unix/bsd/setuid.c: Likewise.
7380         * sysdeps/unix/bsd/sigaction.c: Likewise.
7381         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7382         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7383         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7384         * sysdeps/unix/bsd/telldir.c: Likewise.
7385         * sysdeps/unix/bsd/times.c: Likewise.
7386         * sysdeps/unix/bsd/usleep.c: Likewise.
7388         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7389         ($(objpfx)libbsd-compat.a): Remove rule.
7391         * include/features.h (__FAVOR_BSD): Do not define.
7392         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7393         features conflicting with POSIX.
7394         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7395         (_BSD_SOURCE): Remove description of not being a subset of other
7396         feature test macros.
7397         * manual/job.texi (getpgrp): Do not document BSD version.
7398         (getpgid): Do not document by reference to BSD getpgrp.
7399         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7400         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7401         * signal/signal.h [__FAVOR_BSD]: Likewise.
7402         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7403         instead of making contents conditional on [__FAVOR_BSD].
7404         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7406 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7410 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7412         [BZ #16314]
7413         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7414         values below 2**-450, not 2**-500.
7415         * math/auto-libm-test-in: Don't allow spurious underflow from
7416         hypot.
7417         * math/auto-libm-test-out: Regenerated.
7419         [BZ #16316]
7420         [BZ #16330]
7421         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7422         values of ha and hb and sort them after adjusting subnormal
7423         arguments.
7424         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7425         Likewise.
7426         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7427         values of ea and eb and sort them after adjusting subnormal
7428         arguments.
7429         * math/auto-libm-test-in: Do not expect some hypot tests of
7430         subnormals to fail.  Add more hypot tests.
7431         * math/auto-libm-test-out: Regenerated.
7433 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7435         [BZ #13304]
7436         * sysdeps/sh/s_fma.c: New file.
7437         * sysdeps/sh/s_fmaf.c: New file.
7438         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7439         version.
7440         * sysdeps/sh/Implies: Add sh/soft-fp.
7442 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7444         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7445         level of indirection to members `objname', `errstring', `malloced'.
7446         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7447         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7448         it as the __longjmp argument (just pass 1 instead).
7449         (_dl_catch_error): Initialize C with argument pointers and address of
7450         volatile local ERRCODE rather than copying values out of C at return.
7452 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7454         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7455         * math/auto-libm-test-out: Regenerated.
7456         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7457         (hypot_test_data): Likewise.
7458         (pow_test_data): Likewise.
7459         (pow_tonearest_test_data): Likewise.
7460         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7461         mpfr_ff_f.
7462         (func_calc_desc): Add mpfr_ff_f union field.
7463         (FUNC_mpfr_ff_f): New macro.
7464         (test_functions): Add atan2, hypot and pow.
7465         (special_fill_min): New function.
7466         (special_fill_minus_min): Likewise.
7467         (special_fill_min_subnorm): Likewise.
7468         (special_fill_minus_min_subnorm): Likewise.
7469         (special_real_inputs): Add min, -min, min_subnorm and
7470         -min_subnorm.
7471         (calc_generic_results): Handle mpfr_ff_f.
7472         * sysdeps/i386/fpu/libm-test-ulps: Update.
7473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475 2013-12-16  Will Newton  <will.newton@linaro.org>
7477         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7478         (Aligned Memory Blocks): Add documentation for aligned_alloc
7479         and suggest it as an alternative to posix_memalign.
7480         (Hooks for Malloc): Document __memalign_hook is also called
7481         for aligned_alloc.  (Summary of Malloc): Add summary for
7482         aligned alloc.  Document __memalign_hook is also called
7483         for aligned_alloc.
7485 2013-12-16  Will Newton  <will.newton@linaro.org>
7487         * manual/memory.texi (Malloc Examples): Clarify default
7488         alignment documentation.  Suggest posix_memalign rather
7489         than memalign or valloc.
7490         (Aligned Memory Blocks): Remove suggestion to use memalign
7491         or valloc.  Remove obsolete comment about BSD.
7492         Document memalign errno values and mark the function obsolete.
7493         Document posix_memalign returned error codes.  Mark valloc
7494         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7495         called for posix_memalign and valloc.
7496         (Summary of Malloc): Add posix_memalign to function summary.
7497         __memalign_hook is also called for posix_memalign and valloc.
7499 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7501         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7502         TAYLOR_SIN.
7503         (__sin): Adjust.
7504         (__cos): Likewise.
7505         (sloww): Use mynumber union.  Expand ternary operator into
7506         if-else statements.
7507         (cslow): use mynumber union.
7509 2013-12-16  Allan McRae  <allan@archlinux.org>
7511         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7512         * configure: Regenerated.
7514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7516         [BZ #14120]
7517         * configure.ac: Added --enable-maintainer-mode. Check for
7518         autoconf when enabled.
7519         * configure: Regenerated.
7521         * nscd/nscd.service: New file.
7522         * nscd/nscd.tmpfiles: New file.
7524 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7526         [BZ #12100]
7527         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7528         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7529         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7530         (strstr): Add __strstr_sse2_unaligned ifunc.
7531         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7532         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7533         (strcasestr): Remove __strcasestr_sse42 ifunc.
7534         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7538 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7540         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7541         * sysdeps/sh/bits/fenv.h: ... here.
7542         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7544 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7546         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7548         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7549         hypotf multiarch implementations.
7550         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7551         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7552         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7553         multiarch hypot for PPC64.
7554         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7555         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7556         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7557         multiarch hypotf for PPC64.
7559         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7560         modff multiarch implementations.
7561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7564         multiarch modf for PPC64.
7565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7568         multiarch modff for PPC64.
7570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7571         and logl multiarch implementations.
7572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7575         multiarch logb for PPC64.
7576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7579         multiarch logb for PPC64.
7580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7583         multiarch logb for PPC64.
7585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7586         isinff multiarch implementation.
7587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7588         file.
7589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7591         multiarch isinf for PPC64.
7592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7593         file.
7594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7595         multiarch isinff for PPC64.
7597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7598         finitef multiarch implementation.
7599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7600         file.
7601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7603         multiarch finite for PPC64.
7604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7605         file.
7606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7607         multiarch finitef for PPC64.
7609         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7610         lrint multiarch implementation.
7611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7612         file.
7613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7615         multiarch llrint for PPC64.
7616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7617         multiarch lrint for PPC64.
7619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7620         copysignf multiarch implementation.
7621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7622         file.
7623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7624         file.
7625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7626         multiarch copysign for PPC64.
7627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7628         multiarch copysignf for PPC64.
7630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7631         multiarch implementation.
7632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7633         file.
7634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7635         file.
7636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7637         file.
7638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7639         file.
7640         multiarch llround for PPC64.
7641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7642         multiarch trunc for PPC64.
7643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7644         multiarch truncf for PPC64.
7646         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7647         multiarch implementation.
7648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7649         file.
7650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7651         file.
7652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7653         file.
7654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7655         file.
7656         multiarch llround for PPC64.
7657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7658         multiarch round for PPC64.
7659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7660         multiarch roundf for PPC64.
7662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7663         multiarch implementation.
7664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7665         file.
7666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7667         file.
7668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7669         file.
7670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7671         file.
7672         multiarch llround for PPC64.
7673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7674         multiarch floor for PPC64.
7675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7676         multiarch floorf for PPC64.
7678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7679         multiarch implementation.
7680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7681         file.
7682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7683         file.
7684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7685         file.
7686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7687         file.
7688         multiarch llround for PPC64.
7689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7690         multiarch ceil for PPC64.
7691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7692         multiarch ceilf for PPC64.
7694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7695         multiarch implementation.
7696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7697         file.
7698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7699         file.
7700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7701         file.
7702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7703         multiarch llround for PPC64.
7704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7705         multiarch lround for PPC64.
7707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7708         multiarch implementation.
7709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7712         file.
7713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7716         multiarch isnan for PPC64.
7717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7718         multiarch isnanf for PPC64.
7720         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7721         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7722         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7723         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7724         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7727         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7728         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7733         multiarch implementations.
7734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7735         (__libc_ifunc_impl_list): Likewise.
7736         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7738         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7739         multiarch stpcpy for PPC64.
7741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7742         multiarch implementations.
7743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7744         (__libc_ifunc_impl_list): Likewise.
7745         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7746         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7747         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7748         multiarch strcpy for PPC64.
7750         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7751         redefine function name.
7752         (_wordcopy_fwd_dest_aligned): Likewise.
7753         (_wordcopy_bwd_aligned): Likewise.
7754         (_wordcopy_bwd_dest_aligned): Likewise.
7755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7756         multiarch implementations.
7757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7758         (__libc_ifunc_impl_list): Likewise.
7759         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7760         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7761         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7762         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7763         multiarch wcscpy for PPC64.
7765         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7766         multiarch implementations.
7767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7768         (__libc_ifunc_impl_list): Likewise.
7769         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7770         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7771         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7772         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7773         multiarch wcscpy for PPC64.
7775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7776         multiarch implementations.
7777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7778         (__libc_ifunc_impl_list): Likewise.
7779         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7780         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7781         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7782         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7783         multiarch wcsrchr for PPC64.
7785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7786         multiarch implementations.
7787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7788         (__libc_ifunc_impl_list): Likewise.
7789         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7790         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7791         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7792         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7793         multiarch wcschr for PPC64.
7795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7796         multiarch implementations.
7797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7798         (__libc_ifunc_impl_list): Likewise.
7799         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7800         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7801         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7802         multiarch strchrnul for PPC64.
7804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7805         implementations.
7806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7807         (__libc_ifunc_impl_list): Likewise.
7808         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7809         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7810         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7811         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7812         strchr for PPC64.
7814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7815         implementations.
7816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7817         (__libc_ifunc_impl_list): Likewise.
7818         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7819         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7820         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7821         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7822         strncmp for PPC64.
7824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7825         multiarch implementations.
7826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7827         (__libc_ifunc_impl_list): Likewise.
7828         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7829         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7830         strncasecmp for PPC64.
7831         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7832         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7833         multiarch strncasecmp_l for PPC64.
7835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7836         multiarch implementations.
7837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7838         (__libc_ifunc_impl_list): Likewise.
7839         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7840         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7841         multiarch strcasecmp for PPC64.
7842         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7843         file.
7844         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7845         multiarch strcasecmp_l for PPC64.
7847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7848         implementations.
7849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7850         (__libc_ifunc_impl_list): Likewise.
7851         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7852         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7853         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7854         strnlen for PPC64.
7856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7857         implementations.
7858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7859         (__libc_ifunc_impl_list): Likewise.
7860         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7861         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7862         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7863         strlen for PPC64.
7865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7866         implementations.
7867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7868         (__libc_ifunc_impl_list): Likewise.
7869         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7870         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7871         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7872         rawmemrchr for PPC64.
7874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7875         implementation.
7876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7877         (__libc_ifunc_impl_list): Likewise.
7878         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7879         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7880         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7881         memrchr for PPC64.
7883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7884         implementation.
7885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7886         (__libc_ifunc_impl_list): Likewise.
7887         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7888         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7889         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7890         memchr for PPC64.
7892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7893         implementation.
7894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7895         (__libc_ifunc_impl_list): Likewise.
7896         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7897         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7898         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7899         mempcpy for PPC64.
7901         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7902         avoid cretion of __bzero symbol.
7903         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7904         Likewise.
7905         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7906         Likewise.
7907         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7908         Likewise.
7909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7910         multiarch implementations.
7911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7912         (__libc_ifunc_impl_list): Likewise.
7913         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7914         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7915         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7916         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7917         bzero for PPC32.
7918         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7919         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7920         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7921         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7922         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7923         memset for PPC64.
7924         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7926         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7928         implementations.
7929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7930         (__libc_ifunc_impl_list): Likewise.
7931         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7932         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7933         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7934         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7935         memcmp for PPC64.
7937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7938         multiarch for POWER/PPC64.
7939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7940         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7941         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7942         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7944         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7945         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7946         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7947         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7948         memcpy for PPC64.
7950         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7951         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7952         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7953         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7954         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7955         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7956         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7957         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7958         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7959         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7960         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7961         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7962         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7963         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7964         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7973 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7975         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7977 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7979         * benchtests/Makefile (bench): Add exp2 and log2.
7980         (LDLIBS-bench-exp2): Add -lm.
7981         (LDLIBS-bench-log2): Likewise.
7982         * benchtests/exp2-inputs: New inputs file.
7983         * benchtests/log2-inputs: New inputs file.
7984         * benchtests/log-inputs: Add new inputs.
7985         * benchtests/tan-inputs: Likewise.
7987 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7989         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7990         definition...
7991         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7992         (csloww2): ... from here.
7994         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7995         instead of structures.
7996         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7997         (POLYNOMIAL): Likewise.
7998         (TAYLOR_SLOW): Likewise.
7999         (__sin): Likewise.
8000         (__cos): Likewise.
8001         (slow1): Likewise.
8002         (slow2): Likewise.
8003         (sloww): Likewise.
8004         (sloww1); Likewise.
8005         (sloww2): Likewise.
8006         (bsloww1): Likewise.
8007         (bsloww2): Likewise.
8008         (cslow2): Likewise.
8009         (csloww): Likewise.
8010         (csloww1): Likewise.
8011         (csloww2): Likewise.
8013 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8015         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8016         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8017         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8018         * malloc/hooks.c (realloc_check): Likewise.
8020         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8021         * malloc/arena.c: Remove PER_THREAD conditional.
8022         [!PER_THREAD]: Remove code.
8023         (ptmalloc_unlock_all2): Likewise.
8024         (ptmalloc_init): Likewise.
8025         (_int_new_arena): Likewise.
8026         (arena_get2): Likewise.
8027         * malloc/hooks.c (__malloc_get_state): Likewise.
8028         (__malloc_set_state): Likewise.
8029         * malloc/malloc.c: Likewise.
8030         (struct malloc_state): Likewise.
8031         (struct malloc_par): Likewise.
8032         (__libc_realloc): Likewise.
8033         (__libc_mallopt): Likewise.
8035 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8037         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8039 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8041         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8042         macro to a function.  Check for zero perturb_byte.
8043         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8045         * malloc/malloc.c: (force_reg): Remove.
8046         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8047         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8048         force_reg by atomic_forced_read.
8049         * malloc/arena.c (ptmalloc_init): Likewise.
8050         * malloc/hooks.c (top_check): Likewise.
8052 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8056 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8058         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8060 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8062         * math/auto-libm-test-in: Add tests of lgamma.
8063         * math/auto-libm-test-out: Regenerated.
8064         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8065         (M_LOG_2_SQRT_PIl): Likewise.
8066         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8067         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8068         mpfr_f_f1.
8069         (func_calc_desc): Add mpfr_f_f1 union field.
8070         (ARGS1): New macro.
8071         (ARGS2): Likewise.
8072         (ARGS3): Likewise.
8073         (ARGS4): Likewise.
8074         (RET1): Likewise.
8075         (RET2): Likewise.
8076         (CALC): Likewise.
8077         (FUNC): Likewise.
8078         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8079         (test_functions): Add lgamma.
8080         (calc_generic_results): Handle mpfr_f_f1.
8081         * sysdeps/i386/fpu/libm-test-ulps: Update.
8082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8084 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8086         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8087         __mpn_add_n for PowerPC64/POWER7.
8088         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8089         __mpn_sub_n for PowerPC64/POWER7.
8091         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8092         __mpn_addmul_1 for PowerPC64.
8093         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8094         __mpn_submul_1 for PowerPC64.
8095         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8096         for PowerPC64.
8097         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8098         for PowerPC64.
8100 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8102         [BZ #15089]
8103         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8105 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8107         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8109         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8110         add multiarch folders.
8111         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8112         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8113         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8114         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8115         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8116         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8117         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8118         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8119         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8120         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8121         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8130         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8132         New file.
8133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8134         New file.
8135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8136         multiarch __ieee754_hypot for PowerPC32.
8137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8138         New file.
8139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8140         New file.
8141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8142         multiarch __ieee754_hypotf for PowerPC32.
8144         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8145         long_double_symbol only if __logbl is defined.
8146         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8147         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8148         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8149         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8151         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8152         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8153         path for implementation.
8154         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8155         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8157         logb, and logbl multiarch implementations for PowerPC32.
8158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8159         file.
8160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8161         file.
8162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8163         multiarch logb for PowerPC32.
8164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8165         file.
8166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8167         file.
8168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8169         multiarch logbf for PowerPC32.
8170         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8172         file.
8173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8174         multiarch logbl implementation for PowerPC32.
8176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8177         and modff multiarch implementations.
8178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8179         New file.
8180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8181         New file.
8182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8183         multiarch modf for PowerPC32.
8184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8185         New file.
8186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8187         New file.
8188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8189         multiarch modff for PowerPC32.
8191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8192         and lrintf multiarch implementations.
8193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8194         New file.
8195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8196         New file.
8197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8198         multiarch lrint for PowerPC32.
8199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8200         file: multiarch lrintf for PowerPC32.
8202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8203         and lroundf multiarch implementations.
8204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8205         New file.
8206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8207         New file.
8208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8209         New file.
8210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8211         multiarch lround for PowerPC32.
8212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8213         file: multiarch lroundf for PowerPC32.
8215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8216         copysign and copysignf multiarch implementations.
8217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8218         New file.
8219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8220         New file.
8221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8222         file: multiarch copysign for PowerPC32.
8223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8224         file: multiarch copysignf for PowerPC32.
8226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8227         and truncf multiarch implementations.
8228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8229         New file.
8230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8231         file.
8232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8233         multiarch trunc for PowerPC32.
8234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8235         New file.
8236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8237         New file.
8238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8239         multiarch truncf for PowerPC32.
8241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8242         and roundf multiarch implementations.
8243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8244         New file.
8245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8246         file.
8247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8248         multiarch round for PowerPC32.
8249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8250         New file.
8251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8252         New file.
8253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8254         multiarch roundf for PowerPC32.
8256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8257         and floorf multiarch implementations.
8258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8259         New file.
8260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8261         file.
8262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8263         multiarch floor for PowerPC32.
8264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8265         New file.
8266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8267         New file.
8268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8269         multiarch floorf for PowerPC32.
8271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8272         and ceilf multiarch implementations.
8273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8274         New file.
8275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8276         file.
8277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8278         multiarch ceil for PowerPC32.
8279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8280         New file.
8281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8282         file.
8283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8284         multiarch ceilf for PowerPC32.
8286         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8287         is defined.
8288         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8289         FINITEF is defined.
8290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8291         and finitef multiarch implementations.
8292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8293         New file.
8294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8295         file.
8296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8297         multiarch finite for PowerPC32.
8298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8299         New file.
8300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8301         file: multiarch finitef for PowerPC32.
8303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8304         and isinff multiarch implementations.
8305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8306         file.
8307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8308         file.
8309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8310         multiarch isinf for PowerPC32.
8311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8312         New file.
8313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8314         multiarch isinff for PowerPC32.
8316         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8317         alias when __isnan is defined.
8318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8319         and isnanf multiarch implementations.
8320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8321         file.
8322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8323         file.
8324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8325         file.
8326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8327         file.
8328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8329         multiarch isnan for PowerPC32.
8330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8331         New file.
8332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8333         New file.
8334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8335         multiarch isnanf for PowerPC32.
8337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8338         and sqrtf multiarch implementations.
8339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8340         file.
8341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8342         file.
8343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8344         multiarch sqrt for PowerPC32.
8345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8346         file.
8347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8348         file.
8349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8350         multiarch sqrtf for PowerPC32.
8352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8353         and llroundf multiarch implementations.
8354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8355         New file.
8356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8357         New file.
8358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8359         New file.
8360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8361         file: multiarch llround for PowerPC32.
8362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8363         file: multiarch llroundf for PowerPC32.
8365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8366         multiarch PowerPC32 fpu implementations.
8367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8368         New file.
8369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8370         New file.
8371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8372         multiarch llrint for PowerPC32.
8373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8374         New file.
8375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8376         New file.
8377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8378         file.
8380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8382         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8383         file.
8384         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8385         file.
8386         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8387         file.
8388         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8389         multiarch wordcopy for PPC32.
8390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8391         wordcopy objects.
8392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8393         (__libc_ifunc_impl_list): Likewise.
8394         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8395         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8396         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8397         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8398         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8399         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8401         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8402         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8403         file.
8404         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8405         file.
8406         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8407         file.
8408         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8409         multiarch wcscpy for PPC32.
8410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8411         multiarch objects.
8412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8413         (__libc_ifunc_impl_list): Likewise.
8414         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8415         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8416         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8417         sysdeps/powerpc/power6/wcscpy.c.
8419         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8421         file.
8422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8423         file.
8424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8425         file.
8426         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8427         multiarch wcsrchr for PPC32.
8428         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8429         multiarch objects.
8430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8431         (__libc_ifunc_impl_list): Likewise.
8432         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8433         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8434         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8435         sysdeps/powerpc/power6/wcsrchr.c.
8437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8438         file.
8439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8440         file.
8441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8443         multiarch wcschr for PPc32.
8444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8445         multiarch objects.
8446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8447         (__libc_ifunc_impl_list): Likewise.
8448         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8449         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8450         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8451         sysdeps/powerpc/power6/wcschr.c.
8453         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8454         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8455         file.
8456         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8457         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8458         file: multiarch strchr for PPC32.
8459         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8460         multiarch objects.
8461         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8462         (__libc_ifunc_impl_list): Likewise.
8464         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8465         name.
8466         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8467         file.
8468         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8469         file.
8470         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8471         multiarch strchrnul for PPC32.
8472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8473         multiarch objects.
8474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8475         (__libc_ifunc_impl_list): Likewise.
8477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8478         file.
8479         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8480         multiarch strncasecmp for PPC32.
8481         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8482         file.
8483         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8484         multiarch strncasecmp_l for PPC32.
8485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8486         strncasecmp multiarch objects.
8487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8488         (__libc_ifunc_impl_list): Likewise.
8490         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8491         file.
8492         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8493         multiarch strncasecmp for PPC32.
8494         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8495         New file.
8496         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8497         multiarch strcasecmp_l for PPC32.
8498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8499         multiarch objects.
8500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8501         (__libc_ifunc_impl_list): Likewise.
8503         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8504         file.
8505         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8506         file.
8507         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8508         multiarch strncmp for PPC32.
8509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8510         multiarch objects.
8511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8512         (__libc_ifunc_impl_list): Likewise.
8514         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8515         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8516         file.
8517         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8518         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8520         multiarch objects.
8521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8522         (__libc_ifunc_impl_list): Likewise.
8524         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8525         file.
8526         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8527         file.
8528         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8530         multiarch objects.
8531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8532         (__libc_ifunc_impl_list): Likewise.
8534         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8535         file.
8536         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8537         file.
8538         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8539         multiarch rawmemchr for PPC32.
8540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8541         multiarch objects.
8542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8543         (__libc_ifunc_impl_list): Likewise.
8545         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8546         file.
8547         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8548         file.
8549         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8550         file: memrchr multiarch for PPC32.
8551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8552         multiarch objects.
8553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8554         (__libc_ifunc_impl_list): Likewise.
8556         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8557         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8558         file.
8559         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8560         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8561         multiarch memchr for PPC32.
8562         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8563         multiarch objects.
8564         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8565         (__libc_ifunc_impl_list): Likewise.
8567         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8568         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8569         file.
8570         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8571         file.
8572         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8573         file: multiarch mempcpy for PPC32.
8574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8575         multiarch objects.
8576         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8577         (__libc_ifunc_impl_list): Likewise.
8579         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8580         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8581         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8582         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8583         multiarch bzero for PPC32.
8584         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8585         file.
8586         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8587         file.
8588         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8589         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8590         file: multiarch memset for PPC32.
8591         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8593         memset multiarch objects.
8594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8595         (__libc_ifunc_impl_list): Likewise.
8597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8598         file.
8599         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8600         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8601         memcmp for PPC32.
8602         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8604         multiarch objects.
8605         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8606         (__libc_ifunc_impl_list): Likewise.
8608         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8609         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8610         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8611         file.
8612         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8613         file.
8614         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8615         file.
8616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8617         multiarch memcpy for PPC32.
8618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8619         multiarch objects.
8620         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8621         (__libc_ifunc_impl_list): Likewise.
8623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8624         support multiarch for POWER/PPC32.
8625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8626         Likewise.
8627         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8629         Implies file to make multiarch folder appers before the fpu and
8630         default folder for power4 configuration.
8632 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8634         * scripts/bench.pl: Append volatile keyword to type.
8636 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8638         * sysdeps/sh/sotruss-lib.c: New file.
8639         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8641 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8645 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8647         [BZ #6810]
8648         * math/w_tgamma.c: Include <errno.h>.
8649         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8650         * math/w_tgammaf.c: Include <errno.h>.
8651         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8652         * math/w_tgammal.c: Include <errno.h>.
8653         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8654         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8655         underflow.  Add more tgamma tests.
8656         * math/auto-libm-test-out: Regenerated.
8657         * sysdeps/i386/fpu/libm-test-ulps: Update.
8658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8660         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8661         sin, sinh, tan, tanh, tgamma, y0 and y1.
8662         * math/auto-libm-test-out: Regenerated.
8663         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8664         (TEST_COND_x86): Likewise.
8665         (M_E2l): Remove macro.
8666         (M_E3l): Likewise.
8667         (M_2_SQRT_PIl): Likewise.
8668         (M_SQRT_PIl): Likewise.
8669         (M_1_DIV_El): Likewise.
8670         (log_test_data): Use AUTO_TESTS_f_f.
8671         (log10_test_data): Likewise.
8672         (log1p_test_data): Likewise.
8673         (log2_test_data): Likewise.
8674         (sin_test_data): Likewise.
8675         (sin_tonearest_test_data): Likewise.
8676         (sin_towardzero_test_data): Likewise.
8677         (sin_downward_test_data): Likewise.
8678         (sin_upward_test_data): Likewise.
8679         (sinh_test_data): Likewise.
8680         (sinh_tonearest_test_data): Likewise.
8681         (sinh_towardzero_test_data): Likewise.
8682         (sinh_downward_test_data): Likewise.
8683         (sinh_upward_test_data): Likewise.
8684         (tan_test_data): Likewise.
8685         (tan_tonearest_test_data): Likewise.
8686         (tan_towardzero_test_data): Likewise.
8687         (tan_downward_test_data): Likewise.
8688         (tan_upward_test_data): Likewise.
8689         (tanh_test_data): Likewise.
8690         (tgamma_test_data): Likewise.
8691         (y0_test_data): Likewise.
8692         (y1_test_data): Likewise.
8693         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8694         (special_real_inputs): Add pi/4.
8695         * sysdeps/i386/fpu/libm-test-ulps: Update.
8696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8698 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8700         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8701         "longjmp_target" static probes.
8702         (__longjmp): Rename to __longjmp_symbol.
8703         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8704         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8705         on which longjmp to generate.
8706         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8707         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8708         probe.
8709         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8710         (__sigjmp_save): Rename to __sigjmp_save_symbol.
8711         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8712         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8713         and __sigjmp_save_symbol based on which sigsetjmp to generated.
8714         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8716         __longjmp_symbol based on which __longjmp to generate.
8717         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8718         probe.
8719         (setjmp): Rename to setjmp_symbol.
8720         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8721         (_setjmp): Rename to _setjmp_symbol.
8722         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8723         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8724         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8725         which setjmp to generate.
8726         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8727         "longjmp_target" static probes.
8729 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8731         * benchtests/README: Add note about output arguments.
8732         * benchtests/bench-sincos.c: Remove file.
8733         * benchtests/sincos-inputs: New file.
8734         * scripts/bench.pl: Identify output arguments and define
8735         static variables for them.
8737         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8739         [BZ #15941]
8740         * Makefile (INSTALL): Add install-plain.texi as the primary
8741         dependency.
8742         * manual/install-plain.texi: New file.
8743         * manual/install.texi: Include node directive only for
8744         non-plaintext output.
8746 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
8748         * stdlib/longlong.h: Update from GCC.
8750         [BZ #6807]
8751         [BZ #15901]
8752         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8753         * math/w_j0f.c (y0f): Likewise.
8754         * math/w_j0l.c (__y0l): Likewise.
8755         * math/w_j1.c (y1): Likewise.
8756         * math/w_j1f.c (y1f): Likewise.
8757         * math/w_j1l.c (__y1l): Likewise
8758         * math/w_jn.c (yn): Likewise.
8759         * math/w_jnf.c (ynf): Likewise.
8760         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8761         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8762         value for Bessel function domain errors outside _SVID_ mode.
8763         Adjust sign of return value for yn (negative integer, 0).
8764         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8765         by zero in return for negative x and set sign appropriately for
8766         negative n.
8767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8768         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8769         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8770         expectations in error cases.
8771         (y1_test_data): Likewise.
8772         (yn_test_data): Likewise.
8773         * sysdeps/i386/fpu/libm-test-ulps: Update.
8774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8776 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8778         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8779         "64" to "64-v1".  Add "64-v2".
8780         (abi-64-options): Rename to ...
8781         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8782         (abi-64-condition): Rename to ...
8783         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8784         (abi-64-ld-soname): Rename to ...
8785         (abi-64-v1-ld-soname): ... this.
8786         (abi-64-v2-options): Define.
8787         (abi-64-v2-condition): Likewise.
8788         (abi-64-v2-ld-soname): Likewise.
8789         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8790         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8795 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8796             Alan Modra  <amodra@gmail.com>
8798         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8799         New versions for use with the ELFv2 ABI.
8800         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8801         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8802         declaration.
8803         (struct La_ppc64v2_retval): Likewise.
8804         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8805         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8806         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8807         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8808         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8809         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8810         Do not save or restore CR.
8811         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8812         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8813         return values for ELFv2 ABI.  Fix location of FPR return registers.
8814         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8815         updated values for _CALL_ELF == 2.
8816         (La_regs, La_retval, int_retval): Likewise.
8818 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8820         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8821         (FRAME_MIN_SIZE_PARM): Likewise.
8822         (FRAME_BACKCHAIN): Likewise.
8823         (FRAME_CR_SAVE): Likewise.
8824         (FRAME_LR_SAVE): Likewise.
8825         (FRAME_TOC_SAVE): Likewise.
8826         (FRAME_PARM_SAVE): Likewise.
8827         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8828         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8829         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8830         (call_mcount_parm_offset): New macro.
8831         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8832         (PROF): Use symbolic stack frame offsets.
8833         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8834         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8835         Redefine in terms of FRAME_MIN_SIZE.
8836         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8837         (_dl_profile_resolve): Likewise.  Update comment.
8838         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8839         symbols stack frame offsets.
8840         (__sigsetjmp): Likewise.
8841         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8842         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8843         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8844         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8847         (FRAME_BACKCHAIN): Remove.
8848         (FRAME_CR_SAVE): Likewise.
8849         (FRAME_LR_SAVE): Likewise.
8850         (FRAME_COMPILER_DW): Likewise.
8851         (FRAME_LINKER_DW): Likewise.
8852         (FRAME_TOC_SAVE): Likewise.
8853         (FRAME_PARM_SAVE): Likewise.
8854         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8855         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8856         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8858         (CHECK_SP): Use symbolic stack frame offsets.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8860         zone" instead of caller's parameter save area for temp storage.
8861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8862         Likewise.  Also, use symbolic stack frame offsets.
8863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8864         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8865         our own stack frame instead of the caller's.
8866         (__socket): Use symbolic stack frame offsets.
8868 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8869             Alan Modra  <amodra@gmail.com>
8871         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8872         Define.
8873         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8874         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8875         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8876         New function.
8877         (elf_machine_fixup_plt): Call it.
8878         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8879         reloc arguments.
8880         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8881         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8882         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8883         r2 before calling target.
8885 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8886             Alan Modra  <amodra@gmail.com>
8888         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8889         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8890         versions of macros to support ELFv2 ABI.
8891         (LOCALENTRY): New macro.
8892         (ENTRY, EALIGN): Use it.
8893         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8894         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8895         fall through into ENTRY entry point.
8896         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8897         Only define if _CALL_ELF != 2.
8899         (elf_machine_matches_host): Verify ABI version matches.
8900         (RTLD_START): Use LOCALENTRY.
8901         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8902         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8903         (PLT_ENTRY_WORDS): New macro.
8904         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8905         (elf_machine_runtime_setup): Support ELFv2 ABI.
8906         (elf_machine_fixup_plt): Likewise.
8907         (elf_machine_plt_conflict): Likewise.
8908         (resolve_ifunc): Likewise.
8909         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8910         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8911         Likewise.
8912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8913         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8915         (makecontext): Support ELFv2 ABI.
8916         * elf/elf.h (EF_PPC64_ABI): Define.
8918 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8920         * sysdeps/powerpc/powerpc64/sysdep.h
8921         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8922         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8923         (ENTRY) [ASSEMBLER]: ... but instead here ...
8924         (EALIGN) [ASSEMBLER]: ... and here.
8925         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8926         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8927         (ENTRY_2) [!ASSEMBLER]: Use it.
8928         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8929         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8930         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8931         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8932         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8934         Use PPC64_LOAD_FUNCPTR.
8936         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8938 2013-12-04  Alan Modra  <amodra@gmail.com>
8940         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8941         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8942         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8943         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8945         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8946         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8947         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8948         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8949         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8950         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8952 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8955         (__makecontext): Fix incorrect CFI when backtracing out of
8956         context created via makecontext.
8957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8958         (__setcontext): Fix incorrect CFI during switch to new context.
8959         (__novec_setcontext): Likewise.
8961 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8963         [BZ #4772]
8964         * time/strptime_l.c (__strptime_internal): Allow modifiers
8965         in strptime.
8966         * time/tst-strptime.c (day_tests): Add testcase.
8968 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8970         * scripts/bench.pl: Skip over blank lines.
8972 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8974         [BZ #926]
8975         * manual/time.texi (Calendar Time): Clarify what timezone functions
8976         use.
8978 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8982 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8984         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8985         implementation.
8986         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8987         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8988         * debug/memset_chk.c (__memset_chk): Likewise.
8989         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8990         * debug/strncpy_chk.c: Likewise.
8992 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8994         [BZ #15268]
8995         [BZ #15425]
8996         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8997         (__ieee754_exp): For possibly underflowing results, check size of
8998         result and force underflow exception if required.
8999         * math/auto-libm-test-in: Add more tests of exp.
9000         * math/auto-libm-test-out: Regenerated.
9001         * sysdeps/i386/fpu/libm-test-ulps: Update.
9002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9004         [BZ #16283]
9005         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9006         * math/w_exp2f.c (__exp2f): Likewise.
9007         * math/w_exp2l.c (__exp2l): Likewise.
9008         * math/auto-libm-test-in: Do not allow missing errno on exp2
9009         underflow.
9010         * math/auto-libm-test-out: Regenerated.
9012 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9014         [BZ #16274]
9015         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9016         handle filename validation.
9017         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9018         (do_open): Delete.
9020 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9022         [BZ #6786]
9023         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9024         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9025         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9026         <float.h>.
9027         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9028         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9029         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9030         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9031         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9032         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9033         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9034         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9035         Add more erfc tests.
9036         * math/auto-libm-test-out: Regenerated.
9037         * sysdeps/i386/fpu/libm-test-ulps: Update.
9038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9040         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9041         exp2, expm1, j0 and j1.
9042         * math/auto-libm-test-out: Regenerated.
9043         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9044         (erfc_test_data): Likewise.
9045         (exp_test_data): Likewise.
9046         (exp_tonearest_test_data): Likewise.
9047         (exp_towardzero_test_data): Likewise.
9048         (exp_downward_test_data): Likewise.
9049         (exp_upward_test_data): Likewise.
9050         (exp10_test_data): Likewise.
9051         (exp2_test_data): Likewise.
9052         (expm1_test_data): Likewise.
9053         (j0_test_data): Likewise.
9054         (j1_test_data): Likewise.
9055         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9056         (input_flag_type): Add flag_xfail_rounding.
9057         (input_flags): Add xfail-rounding.
9058         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9059         (output_for_one_input_case): Handle flag_xfail_rounding.
9060         * sysdeps/i386/fpu/libm-test-ulps: Update.
9061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9063 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9065         [BZ #16289]
9066         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9067         division by 0.
9069 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9071         [BZ #16195]
9072         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9073         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9074         (STAP_PROBE0): New macro.
9075         (STAP_PROBE1): Likewise.
9076         (STAP_PROBE2): Likewise.
9077         (STAP_PROBE3): Likewise.
9078         (STAP_PROBE4): Likewise.
9080 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9082         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9084 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9086         * benchtests/Makefile (bench): Add sqrt.
9087         (LDLIBS-bench-sqrt): New.
9088         * benchtests/sqrt-input: New.
9090 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9092         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9093         (GAIH_EAI): Likewise.
9094         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9095         (gaih_inet): Likewise.
9096         (getaddrinfo): Don't use GAIH_EAI.
9098         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9099         (struct gaih): Remove definition.
9101 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9103         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9104         Use HERRNOP directly.
9106 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9110 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9112         * math/gen-auto-libm-tests.c (test_functions): Add more
9113         single-argument functions.
9114         (special_fill_pi_2): New function.
9115         (special_fill_minus_pi_2): Likewise.
9116         (special_fill_pi_6): Likewise.
9117         (special_fill_minus_pi_6): Likewise.
9118         (special_fill_pi_3): Likewise.
9119         (special_fill_2pi_3): Likewise.
9120         (special_fill_e): Likewise.
9121         (special_fill_1_e): Likewise.
9122         (special_fill_e_minus_1): Likewise.
9123         (special_real_inputs): Add more special inputs.
9124         (output_for_one_input_case): Do not require ERANGE on underflow to
9125         zero if round-to-nearest result does not underflow to zero, unless
9126         exact results required.
9127         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9128         atan, atanh, cbrt, cos and cosh.
9129         * math/auto-libm-test-out: Regenerated.
9130         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9131         (acos_tonearest_test_data): Likewise.
9132         (acos_towardzero_test_data): Likewise.
9133         (acos_downward_test_data): Likewise.
9134         (acos_upward_test_data): Likewise.
9135         (acosh_test_data): Likewise.
9136         (asin_test_data): Likewise.
9137         (asin_tonearest_test_data): Likewise.
9138         (asin_towardzero_test_data): Likewise.
9139         (asin_upward_test_data): Likewise.
9140         (asinh_test_data): Likewise.
9141         (atan_test_data): Likewise.
9142         (atanh_test_data): Likewise.
9143         (cbrt_test_data): Likewise.
9144         (cos_test_data): Likewise.
9145         (cos_tonearest_test_data): Likewise.
9146         (cos_towardzero_test_data): Likewise.
9147         (cos_downward_test_data): Likewise.
9148         (cos_upward_test_data): Likewise.
9149         (cosh_test_data): Likewise.
9150         (cosh_tonearest_test_data): Likewise.
9151         (cosh_towardzero_test_data): Likewise.
9152         (cosh_downward_test_data): Likewise.
9153         (cosh_upward_test_data): Likewise.
9154         * sysdeps/i386/fpu/libm-test-ulps: Update.
9155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9159         [BZ #6787]
9160         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9161         * math/w_exp10f.c (__exp10f): Likewise.
9162         * math/w_exp10l.c (__exp10l): Likewise.
9163         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9164         errno settings in existing tests.
9166         [BZ #14032]
9167         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9168         precision control set to double precision.
9169         * sysdeps/i386/fpu/w_sqrt.c: New file.
9170         * math/auto-libm-test-in: Add more tests.
9171         * math/auto-libm-test-out: Update.
9173         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9174         (sqrt_test_tonearest): New function.
9175         (sqrt_towardzero_test_data): New variable.
9176         (sqrt_test_towardzero): New function.
9177         (sqrt_downward_test_data): New variable.
9178         (sqrt_test_downward): New function.
9179         (sqrt_upward_test_data): New variable.
9180         (sqrt_test_upward): New function.
9181         (main): Call the new functions.
9183         * math/gen-auto-libm-tests.c: New file.
9184         * math/auto-libm-test-in: Likewise.
9185         * math/auto-libm-test-out: New generated file.
9186         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9187         variables.
9188         (%beautify): Add generated representations of zero.
9189         (top level): Set $auto_input and call parse_auto_input.
9190         (beautify): Remove trailing "f" from hex float constants.
9191         (parse_args): Handle XFAIL_TEST.
9192         (convert_condition): New function.
9193         (or_value): Likewise.
9194         (or_cond_value): Likewise.
9195         (generate_testfile): Handle AUTO_TESTS_* lines.
9196         (parse_auto_input): New function.
9197         * math/libm-test.inc (XFAIL_TEST): New macro.
9198         (ERRNO_UNCHANGED): Update value.
9199         (ERRNO_EDOM): Likewise.
9200         (ERRNO_ERANGE): Likewise.
9201         (IGNORE_RESULT): Likewise.
9202         (TEST_COND_flt_32): New macro.
9203         (TEST_COND_dbl_64): Likewise.
9204         (TEST_COND_ldbl_96_intel): Likewise.
9205         (TEST_COND_ldbl_96_m68k): Likewise.
9206         (TEST_COND_ldbl_128): Likewise.
9207         (TEST_COND_ldbl_128ibm): Likewise.
9208         (TEST_COND_long32): Likewise.
9209         (TEST_COND_long64): Likewise.
9210         (TEST_COND_before_rounding): Likewise.
9211         (TEST_COND_after_rounding): Likewise.
9212         (enable_test): Handle XFAIL_TEST flag.
9213         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9214         with finite results.
9215         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9216         auto-libm-test-out.
9218 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9219             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9221         [BZ #16214]
9222         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9223         __tls_get_addr_internal instead of __tls_get_offset in order to
9224         avoid GOT pointer dependency.  Make rtld export
9225         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9226         __tls_get_addr since we are a __tls_get_offset platform.
9227         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9228         GOT pointer being set up before.
9229         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9231 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9233         * manual/math.texi (Errors in Math Functions): Document accuracy
9234         goals.
9236         [BZ #15004]
9237         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9238         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9239         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9240         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9241         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9242         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9243         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9244         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9245         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9246         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9247         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9248         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9249         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9250         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9251         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9252         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9254         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9255         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9256         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9257         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9258         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9259         Likewise.
9260         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9261         Likewise.
9262         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9263         Likewise.
9264         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9265         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9266         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9267         atomic-feupdateenv and flt-rounds.
9268         * sysdeps/powerpc/nofpu/Versions (libc): Add
9269         __atomic_feholdexcept, __atomic_feclearexcept,
9270         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9271         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9272         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9273         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9274         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9275         here.
9276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9277         Update.
9279         * manual/arith.texi (FP Exceptions): Document that exceptions may
9280         not be raised when matherr is used.
9281         (Math Error Reporting): Document overflow in directed rounding
9282         modes.  Document that errno may not be set when finite values are
9283         returned on overflow.  Document intent to set errno on underflow
9284         only for underflow to zero.
9286         [BZ #16271]
9287         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9288         round-to-nearest then adjust result for other rounding modes.
9289         * include/fenv.h (fegetround): Use libm_hidden_proto.
9290         * math/fegetround.c (fegetround): Use libm_hidden_def.
9291         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9292         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9293         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9294         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9295         Likewise.
9296         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9297         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9298         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9299         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9301 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9303         [BZ #16077]
9304         * nss/Versions (libnss_files): Add
9305         _nss_files_gethostbyname3_r.
9306         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9307         New function.
9308         (HOST_DB_LOOKUP): Remove macro.
9309         (_nss_files_gethostbyname_r): Implement function without the
9310         HOST_DB_LOOKUP macro.
9311         (_nss_files_gethostbyname2_r): Likewise.
9313 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9315         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9317 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9319         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9320         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9321         warning.
9323 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9325         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9326         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9327         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9328         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9329         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9330         __fe_nomask_env_priv and attribute_hidden.
9331         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9332         (libc_feupdateenv_test_ppc): Likewise.
9333         (libc_feresetround_ppc): Likewise.
9334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9335         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9336         compat_symbol macro.
9337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9338         (__fe_nomask_env): Likewise.
9339         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9341 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9343         * string/Makefile: Remove ifunc tests.
9344         * string/test-string.h: Define TEST_IFUNC.
9345         * string/test-bcopy-ifunc.c: Remove.
9346         * string/test-bzero-ifunc.c: Likewise.
9347         * string/test-memccpy-ifunc.c: Likewise.
9348         * string/test-memchr-ifunc.c: Likewise.
9349         * string/test-memcmp-ifunc.c: Likewise.
9350         * string/test-memcpy-ifunc.c: Likewise.
9351         * string/test-memmem-ifunc.c: Likewise.
9352         * string/test-memmove-ifunc.c: Likewise.
9353         * string/test-mempcpy-ifunc.c: Likewise.
9354         * string/test-memrchr-ifunc.c: Likewise.
9355         * string/test-memset-ifunc.c: Likewise.
9356         * string/test-rawmemchr-ifunc.c: Likewise.
9357         * string/test-stpcpy-ifunc.c: Likewise.
9358         * string/test-stpncpy-ifunc.c: Likewise.
9359         * string/test-strcasecmp-ifunc.c: Likewise.
9360         * string/test-strcasestr-ifunc.c: Likewise.
9361         * string/test-strcat-ifunc.c: Likewise.
9362         * string/test-strchr-ifunc.c: Likewise.
9363         * string/test-strchrnul-ifunc.c: Likewise.
9364         * string/test-strcmp-ifunc.c: Likewise.
9365         * string/test-strcpy-ifunc.c: Likewise.
9366         * string/test-strcspn-ifunc.c: Likewise.
9367         * string/test-strlen-ifunc.c: Likewise.
9368         * string/test-strncasecmp-ifunc.c: Likewise.
9369         * string/test-strncat-ifunc.c: Likewise.
9370         * string/test-strncmp-ifunc.c: Likewise.
9371         * string/test-strncpy-ifunc.c: Likewise.
9372         * string/test-strnlen-ifunc.c: Likewise.
9373         * string/test-strpbrk-ifunc.c: Likewise.
9374         * string/test-strrchr-ifunc.c: Likewise.
9375         * string/test-strspn-ifunc.c: Likewise.
9376         * string/test-strstr-ifunc.c: Likewise.
9378 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9380         * benchtests/Makefile: Remove ifunc tests.
9381         * benchtests/bench-string.h: Define TEST_IFUNC.
9382         * benchtests/bench-bcopy-ifunc.c: Remove.
9383         * benchtests/bench-bzero-ifunc.c: Likewise.
9384         * benchtests/bench-memccpy-ifunc.c: Likewise.
9385         * benchtests/bench-memchr-ifunc.c: Likewise.
9386         * benchtests/bench-memcmp-ifunc.c: Likewise.
9387         * benchtests/bench-memcpy-ifunc.c: Likewise.
9388         * benchtests/bench-memmem-ifunc.c: Likewise.
9389         * benchtests/bench-memmove-ifunc.c: Likewise.
9390         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9391         * benchtests/bench-memrchr-ifunc.c: Likewise.
9392         * benchtests/bench-memset-ifunc.c: Likewise.
9393         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9394         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9395         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9396         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9397         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9398         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9399         * benchtests/bench-strcat-ifunc.c: Likewise.
9400         * benchtests/bench-strchr-ifunc.c: Likewise.
9401         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9402         * benchtests/bench-strcmp-ifunc.c: Likewise.
9403         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9404         * benchtests/bench-strcpy-ifunc.c: Likewise.
9405         * benchtests/bench-strcspn-ifunc.c: Likewise.
9406         * benchtests/bench-strlen-ifunc.c: Likewise.
9407         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9408         * benchtests/bench-strncat-ifunc.c: Likewise.
9409         * benchtests/bench-strncmp-ifunc.c: Likewise.
9410         * benchtests/bench-strncpy-ifunc.c: Likewise.
9411         * benchtests/bench-strnlen-ifunc.c: Likewise.
9412         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9413         * benchtests/bench-strrchr-ifunc.c: Likewise.
9414         * benchtests/bench-strsep-ifunc.c: Likewise.
9415         * benchtests/bench-strspn-ifunc.c: Likewise.
9416         * benchtests/bench-strstr-ifunc.c: Likewise.
9418 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9420         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9422 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9424         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9425         * rt/aio.h: Likewise.
9426         * sysdeps/gnu/bits/utmp.h: Likewise.
9427         * sysdeps/gnu/bits/utmpx.h: Likewise.
9428         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9429         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9430         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9431         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9432         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9433         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9434         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9435         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9436         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9437         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9438         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9439         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9440         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9442         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9443         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9444         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9445         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9446         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9447         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9448         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9449         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9450         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9451         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9452         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9454         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9455         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9456         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9457         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9458         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9459         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9460         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9461         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9462         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9463         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9464         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9465         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9466         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9467         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9468         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9469         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9471 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9473         [BZ #16245]
9474         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9475         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9477 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9479         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9480         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9481         Likewise.
9483 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9485         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9486         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9487         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9488         (__fesetround): Remove define.
9489         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9490         rounding and exceptions handling.
9491         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9492         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9493         (__fe_nomask_env): Likewise.
9494         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9495         __fegetround instead of fegetround.
9496         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9497         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9499 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9501         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9502         it's there.
9504         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9506 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9508         [BZ #11157]
9509         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9510         (encrypt_r): Likewise.
9511         * malloc/obstack.h (obstack_free): Likewise.
9512         * posix/unistd.h (encrypt): Likewise.
9514 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9516         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9517         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9518         DL_CALL_DT_FINI() that call the functions directly.
9519         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9520         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9521         * elf/dl-fini.c: Likewise.
9523 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9525         * malloc/hooks.c (memalign_check): Add alignment rounding.
9526         * malloc/malloc.c (_mid_memalign): New function.
9527         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9528         Implement by calling _mid_memalign.
9529         * manual/probes.texi (Memory Allocation Probes): Remove
9530         memory_valloc_retry and memory_pvalloc_retry.
9532 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9534         * locale/programs/locarchive.c (open_archive): Add const
9535         qualifier to ARCHIVEFNAME and copy default fname to
9536         DEFAULT_FNAME.
9538         [BZ #15601]
9539         * libio/tst-widetext.input: Rename Oriya to Odia.
9540         * locale/iso-639.def: Likewise.
9542         * manual/probes.texi (Mathematical Function Probes): Add
9543         documentation for sin, cos, asin and acos probes.
9544         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9545         (__sin32): Add slowasin probe.
9546         (__cos32): Add slowacos probe.
9547         (__mpsin): Add slowsin probe.
9548         (__mpcos): Add slowcos probe.
9550 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9552         [BZ #15483]
9553         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9554         thread-local __sim_exceptions_thread and global
9555         __sim_exceptions_global.
9556         (__sim_disabled_exceptions): Change to thread-local
9557         __sim_disabled_exceptions_thread and global
9558         __sim_disabled_exceptions_global.
9559         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9560         and global __sim_round_mode_global.
9561         (__simulate_exceptions): Use thread-local floating-point state and
9562         set global state from it as needed.
9563         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9564         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9565         __sim_round_mode_thread.
9566         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9567         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9568         and global __sim_exceptions_global.
9569         (__sim_disabled_exceptions): Change to thread-local
9570         __sim_disabled_exceptions_thread and global
9571         __sim_disabled_exceptions_global.
9572         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9573         and global __sim_round_mode_global.
9574         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9575         (SIM_SET_GLOBAL): Likewise.
9576         * sysdeps/powerpc/soft-fp/sfp-machine.h
9577         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9578         __sim_round_mode_thread.
9579         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9580         __sim_disabled_exceptions_thread.
9581         (__sim_exceptions): Change to __sim_exceptions_thread.
9582         (__sim_disabled_exceptions): Change to
9583         __sim_disabled_exceptions_thread.
9584         (__sim_round_mode): Change to __sim_round_mode_thread.
9585         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9586         thread-local floating-point state and set global state from it as
9587         needed.
9588         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9589         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9590         (__sim_disabled_exceptions): Remove extern declaration.
9591         (feenableexcept): Use thread-local floating-point state and set
9592         global state from it as needed.
9593         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9594         extern declaration.
9595         (__sim_disabled_exceptions): Likewise.
9596         (__sim_round_mode): Likewise.
9597         (__fegetenv): Use thread-local floating-point state.
9598         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9599         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9600         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9601         floating-point state and set global state from it as needed.
9602         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9603         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9604         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9605         Likewise.
9606         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9607         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9608         Likewise.
9609         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9610         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9611         Use __sim_round_mode_thread.
9612         * math/test-fenv-tls.c: New file.
9613         * math/Makefile (tests): Add test-fenv-tls.
9614         ($(objpfx)test-fenv-tls): Depend on
9615         $(common-objpfx)nptl/libpthread.so.
9617 2013-11-19  Andreas Schwab  <schwab@suse.de>
9619         * locale/programs/locale.c (show_info): Decode wordarray elements.
9620         * locale/categories.def (LC_MONETARY): Add element for
9621         _NL_MONETARY_CRNCYSTR.
9622         * locale/C-monetary.c (conversion_rate): New variable.
9623         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9624         element.
9626 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9628         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9629         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9631 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9633         * elf/Makefile (tst-auxv): New test.
9634         * elf/tst-auxv.c: New
9635         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9637 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9639         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9640         (hidden_proto): Caller changed.
9641         (hidden_tls_proto): New macro.
9642         (libc_hidden_tls_proto): Likewise.
9643         (rtld_hidden_tls_proto): Likewise.
9644         (libm_hidden_tls_proto): Likewise.
9645         (libresolv_hidden_tls_proto): Likewise.
9646         (librt_hidden_tls_proto): Likewise.
9647         (libdl_hidden_tls_proto): Likewise.
9648         (libnss_files_hidden_tls_proto): Likewise.
9649         (libnsl_hidden_tls_proto): Likewise.
9650         (libnss_nisplus_hidden_tls_proto): Likewise.
9651         (libutil_hidden_tls_proto): Likewise.
9653 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9655         [BZ #10253]
9656         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9657         (decompose_rpath): Defer expansion to fillin_rpath.
9658         (_dl_init_paths): Pass linkmap to fillin_rpath.
9660 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9662         * benchtests/Makefile: Add strsep.
9663         * benchtests/bench-strsep.c: New file: strsep benchtest.
9664         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9666 2013-11-18  Andreas Schwab  <schwab@suse.de>
9668         * locale/programs/locale.c (show_info) [case byte]: Check for
9669         '\377' instead of '\177'.
9670         * locale/C-monetary.c (not_available): Always use "\377".
9671         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9672         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9673         detect unavailable sign_posn locale elements.
9674         * locale/localeconv.c (__localeconv): For grouping and
9675         mon_grouping handle "\177" and "\377" like no grouping.
9676         (INT_ELEM): New macro.  Use it to set all numeric members.
9677         * locale/programs/ld-monetary.c (monetary_read)
9678         <tok_mon_grouping>: Normalize single -1 to the empty string.
9679         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9680         Likewise.
9682 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9684         [BZ #16055]
9685         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9686         when we match (nil).
9687         * stdio-common/tst-sscanf.c (struct test): Add testcase.
9689 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
9691         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9692         (NO_TEST_INLINE): Update value.
9693         (ERRNO_UNCHANGED): Likewise.
9694         (ERRNO_EDOM): Likewise.
9695         (ERRNO_ERANGE): Likewise.
9696         (IGNORE_RESULT): Likewise.
9697         (check_float_internal): Check signs of NaN results if
9698         TEST_NAN_SIGN used.
9699         (check_complex): Pass TEST_NAN_SIGN flag through to second
9700         check_float_internal call.
9701         (copysign_test_data): Add tests with quiet NaNs as second
9702         argument.  Use TEST_NAN_SIGN.
9703         (fabs_test_data): Add test of negative quiet NaN argument.  Use
9704         TEST_NAN_SIGN.
9705         (signbit_test_data): Add tests of quiet NaN argument.
9706         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9708         * math/gen-libm-test.pl (show_exceptions): Take extra argument
9709         $ignore_result.
9710         (parse_args): Handle function results specified as IGNORE.
9711         * math/libm-test.inc (IGNORE_RESULT): New macro.
9712         (check_float_internal): Do not check numerical result if flag
9713         IGNORE_RESULT set.
9714         (check_complex): Pass through IGNORE_RESULT to second
9715         check_float_internal call.
9716         (check_int): Do not check numerical result if flag IGNORE_RESULT
9717         set.
9718         (check_long): Likewise.
9719         (check_bool): Likewise.
9720         (check_longlong): Likewise.
9721         (lrint_test_data): Add tests of infinite and NaN arguments.
9722         (lrint_tonearest_test_data): Likewise.
9723         (lrint_towardzero_test_data): Likewise.
9724         (lrint_downward_test_data): Likewise.
9725         (lrint_upward_test_data): Likewise.
9726         (llrint_test_data): Likewise.
9727         (llrint_tonearest_test_data): Likewise.
9728         (llrint_towardzero_test_data): Likewise.
9729         (llrint_downward_test_data): Likewise.
9730         (llrint_upward_test_data): Likewise.
9731         (lround_test_data): Likewise.
9732         (llround_test_data): Likewise.
9734         * math/libm-test.inc (NO_TEST_INLINE): New macro.
9735         (ERRNO_UNCHANGED): Update value.
9736         (ERRNO_EDOM): Likewise.
9737         (ERRNO_ERANGE): Likewise.
9738         (NO_TEST_INLINE_FLOAT): New macro.
9739         (NO_TEST_INLINE_DOUBLE): Likewise.
9740         (enable_test): New function.
9741         (RUN_TEST_f_f): Check enable_test before running test.
9742         (RUN_TEST_2_f): Likewise.
9743         (RUN_TEST_fff_f): Likewise.
9744         (RUN_TEST_c_f): Likewise.
9745         (RUN_TEST_f_f1): Likewise.
9746         (RUN_TEST_fF_f1): Likewise.
9747         (RUN_TEST_fI_f1): Likewise.
9748         (RUN_TEST_ffI_f1): Likewise.
9749         (RUN_TEST_c_c): Likewise.
9750         (RUN_TEST_cc_c): Likewise.
9751         (RUN_TEST_f_i): Likewise.
9752         (RUN_TEST_f_i_tg): Likewise.
9753         (RUN_TEST_ff_i_tg): Likewise.
9754         (RUN_TEST_f_b): Likewise.
9755         (RUN_TEST_f_b_tg): Likewise.
9756         (RUN_TEST_f_l): Likewise.
9757         (RUN_TEST_f_L): Likewise.
9758         (RUN_TEST_fFF_11): Likewise.
9759         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9760         conditionals.
9761         (cosh_test_data): Likewise.
9762         (exp_test_data): Likewise.
9763         (expm1_test_data): Likewise.
9764         (hypot_test_data): Likewise.
9765         (pow_test_data): Likewise.
9766         (sinh_test_data): Likewise.
9767         (tanh_test_data): Likewise.
9768         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9769         flags argument.
9771         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9772         tests with quiet NaN input and output.
9773         (acosh_test_data): Likewise.
9774         (asin_test_data): Likewise.
9775         (asinh_test_data): Likewise.
9776         (atan_test_data): Likewise.
9777         (atanh_test_data): Likewise.
9778         (atan2_test_data): Likewise.
9779         (cbrt_test_data): Likewise.
9780         (cos_test_data): Likewise.
9781         (cosh_test_data): Likewise.
9782         (erf_test_data): Likewise.
9783         (erfc_test_data): Likewise.
9784         (exp_test_data): Likewise.
9785         (exp10_test_data): Likewise.
9786         (exp2_test_data): Likewise.
9787         (expm1_test_data): Likewise.
9788         (hypot_test_data): Likewise.
9789         (j0_test_data): Likewise.
9790         (j1_test_data): Likewise.
9791         (jn_test_data): Likewise.
9792         (lgamma_test_data): Likewise.
9793         (log_test_data): Likewise.
9794         (log10_test_data): Likewise.
9795         (log1p_test_data): Likewise.
9796         (log2_test_data): Likewise.
9797         (pow_test_data): Likewise.
9798         (scalb_test_data): Likewise.
9799         (sin_test_data): Likewise.
9800         (sincos_test_data): Likewise.
9801         (sinh_test_data): Likewise.
9802         (tan_test_data): Likewise.
9803         (tanh_test_data): Likewise.
9804         (tgamma_test_data): Likewise.
9805         (y0_test_data): Likewise.
9806         (y1_test_data): Likewise.
9807         (yn_test_data): Likewise.
9809         [BZ #16167]
9810         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9811         argument being NaN and avoid computations with second argument in
9812         that case.
9813         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9814         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9815         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9817 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9819         * locale/iso-639.def: Add Chitwani Tharu (the).
9821 2013-11-14  Andreas Schwab  <schwab@suse.de>
9823         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9824         word instead of empty string.
9826 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9829         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9831         (__fe_nomask_env): Likewise.
9833 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9835         * benchtests/bench-timing.h: Include time.h.
9837 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9839         [BZ #15997]
9840         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9841         to 3.4.0 for x32.
9842         * sysdeps/unix/sysv/linux/configure: Regenerated.
9844 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9846         [BZ #16151]
9847         * stdlib/strtod_l.c (round_and_return): Do not consider
9848         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9849         exponent one less than half the least subnormal exponent.
9850         * stdlib/test-strtod-round-data: Add more tests.
9851         * stdlib/tst-strtod-round.c (tests): Regenerated.
9853 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9855         [BZ #14143]
9856         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9857         (__fe_mask_env): Likewise.
9858         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9859         libm_hidden_proto and add function prototype.
9860         (__fe_mask_env): Add function prototype.
9861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9862         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9864         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9866         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9868 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9870         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9871         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9873 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9875         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9876         of htab_find_slot().
9878 2013-11-11  David S. Miller  <davem@davemloft.net>
9880         [BZ #16150]
9881         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9882         symbol in the non-vis3 case in static builds.
9883         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9884         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9885         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9886         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9888 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9890         [BZ #387]
9891         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9892         it is empty.
9894 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9896         * benchtests/Makefile: Add bench-strtod.
9897         * benchtests/bench-strtod.c: New file: strtod benchtest
9899 2013-11-11  Andreas Schwab  <schwab@suse.de>
9901         [BZ #16153]
9902         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9903         terminating NUL in key length.
9905 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9907         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9908         Add artificial ODP entry for vDSO symbol for PPC64.
9909         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9910         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9912 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9914         [BZ #15374]
9915         * nss/getent.c (services_keys): Recognize services starting with digit.
9917 2013-11-06  David S. Miller  <davem@davemloft.net>
9919         [BZ #15985]
9920         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9921         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9923 2013-11-06  Will Newton  <will.newton@linaro.org>
9925         * manual/memory.texi (Malloc Examples): Remove register
9926         keyword from examples.
9928 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9930         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9932 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9934         [BZ #6981]
9935         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9936         depending on [__GCC_IEC_559 > 0].
9937         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9938         depending on [__GCC_IEC_559_COMPLEX > 0].
9940 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9942         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9943         to iso-639.def.
9945 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9947         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9949 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9951         [BZ #16112]
9952         * malloc/malloc (malloc_info): Do not handle first bin as
9953         special case.
9955 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9957         * locale/iso-639.def: Add Central Nahuatl (nhn).
9959 2013-11-01  Bruno Haible  <bruno@clisp.org>
9961         [BZ #7003]
9962         * manual/math.texi (BSD Random): Specify range upper bound as
9963         in POSIX.
9965 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9967         * locale/iso-639.def: Add Meadow Mari (mhr).
9969 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9971         [BZ #14752], [BZ #15763]
9972         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9973         Validate name.
9974         * rt/tst_shm.c: Add test for escaping directory.
9976 2013-10-31  Andreas Schwab  <schwab@suse.de>
9978         [BZ #15917]
9979         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9980         followed by 'x' as part of digit sequence.
9981         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9983 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9985         [BZ #16037]
9986         * configure.ac: allow GNU Make 4.0 and greater.
9987         * configure: Regenerated.
9989 2013-10-30  Will Newton  <will.newton@linaro.org>
9991         [BZ #16038]
9992         * malloc/hooks.c (memalign_check): Limit alignment to the
9993         maximum representable power of two.
9994         * malloc/malloc.c (__libc_memalign): Likewise.
9995         * malloc/tst-memalign.c (do_test): Add test for very
9996         large alignment values.
9997         * malloc/tst-posix_memalign.c (do_test): Likewise.
9999 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10001         [BZ #11087]
10002         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10003         (munmap_chunk): Likewise.
10004         (mremap_chunk): Likewise.
10006 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10008         [BZ #15799]
10009         * stdlib/div.c (div): Remove obsolete code.
10010         * stdlib/ldiv.c (ldiv): Likewise.
10011         * stdlib/lldiv.c (lldiv): Likewise.
10013 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10015         [BZ #16071]
10016         * nss/nss_files/files-XXX.c (get_contents_ret): New
10017         enumerator.
10018         (get_contents): New function.
10019         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10021 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10023         * configure.in: Moved to ...
10024         * configure.ac: ... here. Change reference to configure.in
10025         to configure.ac.
10026         * sysdeps/arm/preconfigure.ac: ... here.
10027         configure.in to configure.ac.
10028         * sysdeps/gnu/configure.in: Moved to ...
10029         * sysdeps/gnu/configure.ac: ... here.
10030         * sysdeps/i386/configure.in: Moved to ...
10031         * sysdeps/i386/configure.ac: ... here.
10032         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10033         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10034         * sysdeps/mach/configure.in: Moved to ...
10035         * sysdeps/mach/configure.ac: ... here.
10036         * sysdeps/mach/hurd/configure.in: Moved to ...
10037         * sysdeps/mach/hurd/configure.ac: ... here.
10038         * sysdeps/powerpc/configure.in: Moved to ...
10039         * sysdeps/powerpc/configure.ac: ... here.
10040         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10041         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10042         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10043         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10044         * sysdeps/s390/s390-32/configure.in: Moved to ...
10045         * sysdeps/s390/s390-32/configure.ac: ... here.
10046         * sysdeps/s390/s390-64/configure.in: Moved to ...
10047         * sysdeps/s390/s390-64/configure.ac: ... here.
10048         * sysdeps/sh/configure.in: Moved to ...
10049         * sysdeps/sh/configure.ac: ... here.
10050         * sysdeps/sparc/configure.in: Moved to ...
10051         * sysdeps/sparc/configure.ac: ... here.
10052         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10053         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10054         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10055         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10056         * sysdeps/x86_64/configure.in: Moved to ...
10057         * sysdeps/x86_64/configure.ac: ... here.
10058         * sysdeps/x86_64/preconfigure.in: Moved to ...
10059         * sysdeps/x86_64/preconfigure.ac: ... here.
10060         * aclocal.m4: Change reference to configure.in to configure.ac.
10061         * config.h.in: Likewise.
10062         * manual/install.texi: Likewise.
10063         * manual/maint.texi: Likewise.
10064         * Makefile: Likewise.
10065         * malloc/Makefile: Likewise.
10066         * nscd/Makefile: Likewise.
10067         * Makeconfig: Change reference to configure.in and
10068         preconfigure.in to configure.ac and preconfigure.ac
10069         respectively.
10070         * INSTALL: Regenerated.
10071         * configure: Likewise.
10072         * sysdeps/gnu/configure: Likewise.
10073         * sysdeps/i386/configure: Likewise.
10074         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10075         * sysdeps/mach/configure: Likewise.
10076         * sysdeps/mach/hurd/configure: Likewise.
10077         * sysdeps/powerpc/configure: Likewise.
10078         * sysdeps/powerpc/powerpc32/configure: Likewise.
10079         * sysdeps/powerpc/powerpc64/configure: Likewise.
10080         * sysdeps/s390/s390-32/configure: Likewise.
10081         * sysdeps/s390/s390-64/configure: Likewise.
10082         * sysdeps/sh/configure: Likewise.
10083         * sysdeps/sparc/configure: Likewise.
10084         * sysdeps/unix/sysv/linux/configure: Likewise.
10085         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10086         * sysdeps/x86_64/configure: Likewise.
10087         * sysdeps/x86_64/preconfigure: Likewise.
10089 2013-10-29  Andreas Schwab  <schwab@suse.de>
10091         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10093 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10095         * benchtests/pow-inputs: Add new inputs.
10097         * benchtests/exp-inputs: Add new inputs.
10099         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10100         conditional check for return value.
10101         (__cos32): Likewise.
10103 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10105         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10106         to provide a boost for large inputs with word alignment.
10107         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10108         implementation based on optimized PPC64 strcpy.
10109         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10110         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10111         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10112         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10114 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10116         [BZ #2801]
10117         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10119 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10121         [BZ #14876]
10122         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10123         * time/tst-strptime.c (day_tests): Add testcase.
10125 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10127         [BZ #14029]
10128         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10130 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10132         [BZ #16074]
10133         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10134         MAP_FAILED on error.
10136 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10138         [BZ #16072]
10139         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10140         heap for large requests.
10142 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10144         [BZ #9954]
10145         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10146         result if the result has no associated interface.
10147         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10148         interface for all 127.X.Y.Z addresses.
10150 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10152         * locale/iso-639.def: Add Ligurian (lij)
10154 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10156         [BZ #15825]
10157         * sunrpc/rpc_main.c: Document rpcgen -5.
10159 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10161         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10163 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10165         [BZ #10278]
10166         * posix/glob.c: Match only directories when trailing slash is present.
10167         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10168         (main): Add testcase.
10170 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10172         [BZ #15670]
10173         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10175 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10177         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10178         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10179         AUTH_DES and cindex for FIPS 140-2.
10180         (DES Encryption): Add cindex FIPS 46-3.
10182         * locale/locarchive.h (struct locarhandle): Add fname.
10183         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10184         if an optional argument was specified to --list-archive,
10185         otherwise NULL.
10186         * locale/programs/locarchive.c (show_archive_content): Take new
10187         argument fname and pass it via ah.fname to open_archive.
10188         * locale/programs/localedef.h: Update decl.
10189         (open_archive): If AH->fname is non-null, open that file
10190         rather than the default file name, and don't ignore ENOENT.
10191         (create_archive): Set AH.fname to NULL.
10192         (delete_locales_from_archive): Likewise.
10193         (add_locales_to_archive): Likewise.
10194         * locale/programs/locfile.c (write_all_categories): Likewise.
10196 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10197             Aldy Hernandez  <aldyh@redhat.com>
10199         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10200         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10201         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10202         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10203         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10204         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10205         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10206         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10207         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10208         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10209         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10210         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10211         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10212         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10213         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10214         Likewise.
10215         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10216         Likewise.
10217         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10218         Likewise.
10219         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10220         Likewise.
10221         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10222         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10223         Likewise.
10224         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10225         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10226         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10227         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10228         Likewise.
10229         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10230         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10231         * sysdeps/powerpc/preconfigure: Likewise.
10232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10233         Likewise.
10234         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10235         Replace contents of file by #include of <fenv_libc.h>.
10236         * sysdeps/powerpc/soft-fp/sfp-machine.h
10237         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10238         and <sys/prctl.h>.
10239         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10240         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10241         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10242         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10243         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10244         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10246         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10247         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10248         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10249         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10250         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10252         Allow copysignl PLT reference to be missing.
10254 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10255             Joseph Myers  <joseph@codesourcery.com
10257         [BZ #15948]
10258         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10259         single character.
10260         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10262 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10264         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10265         * elf/tst-tls1.c: Likewise.
10266         * elf/tst-tls10.h: Likewise.
10267         * elf/tst-tls14.c: Likewise.
10268         * elf/tst-tls2.c: Likewise.
10269         * elf/tst-tls3.c: Likewise.
10270         * elf/tst-tls4.c: Likewise.
10271         * elf/tst-tls5.c: Likewise.
10272         * elf/tst-tls6.c: Likewise.
10273         * elf/tst-tls7.c: Likewise.
10274         * elf/tst-tls8.c: Likewise.
10275         * elf/tst-tls9.c: Likewise.
10276         * elf/tst-tlsmod1.c: Likewise.
10277         * elf/tst-tlsmod13.c: Likewise.
10278         * elf/tst-tlsmod13a.c: Likewise.
10279         * elf/tst-tlsmod14a.c: Likewise.
10280         * elf/tst-tlsmod16a.c: Likewise.
10281         * elf/tst-tlsmod16b.c: Likewise.
10282         * elf/tst-tlsmod2.c: Likewise.
10283         * elf/tst-tlsmod3.c: Likewise.
10284         * elf/tst-tlsmod4.c: Likewise.
10285         * elf/tst-tlsmod5.c: Likewise.
10286         * elf/tst-tlsmod6.c: Likewise.
10288 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10290         [BZ #12486]
10291         * malloc/malloc.c: remove checks for statistics.
10293 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10295         [BZ #15277]
10296         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10297         * inet/tst-network.c: Add testcase.
10299 2013-10-17  Andreas Schwab  <schwab@suse.de>
10301         [BZ #15218]
10302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10303         to determine canonical name.
10305 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10307         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10308         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10309         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10310         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10311         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10312         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10313         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10314         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10315         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10316         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10317         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10318         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10319         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10320         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10321         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10322         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10323         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10324         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10325         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10326         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10327         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10328         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10330         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10331         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10332         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10333         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10334         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10335         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10336         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10337         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10338         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10339         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10340         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10341         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10342         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10343         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10344         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10345         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10346         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10347         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10348         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10349         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10350         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10351         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10352         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10353         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10354         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10355         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10356         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10357         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10358         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10359         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10360         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10361         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10362         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10363         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10364         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10366 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10368         [BZ #16041]
10369         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10370         make result into a quiet NaN.
10372 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10374         * soft-fp/adddf3.c: Fix horizontal whitespace.
10375         * soft-fp/addsf3.c: Likewise.
10376         * soft-fp/addtf3.c: Likewise.
10377         * soft-fp/divdf3.c: Likewise.
10378         * soft-fp/divsf3.c: Likewise.
10379         * soft-fp/divtf3.c: Likewise.
10380         * soft-fp/double.h: Likewise.
10381         * soft-fp/eqdf2.c: Likewise.
10382         * soft-fp/eqsf2.c: Likewise.
10383         * soft-fp/eqtf2.c: Likewise.
10384         * soft-fp/extenddftf2.c: Likewise.
10385         * soft-fp/extended.h: Likewise.
10386         * soft-fp/extendsfdf2.c: Likewise.
10387         * soft-fp/extendsftf2.c: Likewise.
10388         * soft-fp/extendxftf2.c: Likewise.
10389         * soft-fp/fixdfdi.c: Likewise.
10390         * soft-fp/fixdfsi.c: Likewise.
10391         * soft-fp/fixdfti.c: Likewise.
10392         * soft-fp/fixsfdi.c: Likewise.
10393         * soft-fp/fixsfsi.c: Likewise.
10394         * soft-fp/fixsfti.c: Likewise.
10395         * soft-fp/fixtfdi.c: Likewise.
10396         * soft-fp/fixtfsi.c: Likewise.
10397         * soft-fp/fixtfti.c: Likewise.
10398         * soft-fp/fixunsdfdi.c: Likewise.
10399         * soft-fp/fixunsdfsi.c: Likewise.
10400         * soft-fp/fixunsdfti.c: Likewise.
10401         * soft-fp/fixunssfdi.c: Likewise.
10402         * soft-fp/fixunssfsi.c: Likewise.
10403         * soft-fp/fixunssfti.c: Likewise.
10404         * soft-fp/fixunstfdi.c: Likewise.
10405         * soft-fp/fixunstfsi.c: Likewise.
10406         * soft-fp/fixunstfti.c: Likewise.
10407         * soft-fp/floatdidf.c: Likewise.
10408         * soft-fp/floatdisf.c: Likewise.
10409         * soft-fp/floatditf.c: Likewise.
10410         * soft-fp/floatsidf.c: Likewise.
10411         * soft-fp/floatsisf.c: Likewise.
10412         * soft-fp/floatsitf.c: Likewise.
10413         * soft-fp/floattidf.c: Likewise.
10414         * soft-fp/floattisf.c: Likewise.
10415         * soft-fp/floattitf.c: Likewise.
10416         * soft-fp/floatundidf.c: Likewise.
10417         * soft-fp/floatundisf.c: Likewise.
10418         * soft-fp/floatunditf.c: Likewise.
10419         * soft-fp/floatunsidf.c: Likewise.
10420         * soft-fp/floatunsisf.c: Likewise.
10421         * soft-fp/floatunsitf.c: Likewise.
10422         * soft-fp/floatuntidf.c: Likewise.
10423         * soft-fp/floatuntisf.c: Likewise.
10424         * soft-fp/floatuntitf.c: Likewise.
10425         * soft-fp/fmadf4.c: Likewise.
10426         * soft-fp/fmasf4.c: Likewise.
10427         * soft-fp/fmatf4.c: Likewise.
10428         * soft-fp/gedf2.c: Likewise.
10429         * soft-fp/gesf2.c: Likewise.
10430         * soft-fp/getf2.c: Likewise.
10431         * soft-fp/ledf2.c: Likewise.
10432         * soft-fp/lesf2.c: Likewise.
10433         * soft-fp/letf2.c: Likewise.
10434         * soft-fp/muldf3.c: Likewise.
10435         * soft-fp/mulsf3.c: Likewise.
10436         * soft-fp/multf3.c: Likewise.
10437         * soft-fp/negdf2.c: Likewise.
10438         * soft-fp/negsf2.c: Likewise.
10439         * soft-fp/negtf2.c: Likewise.
10440         * soft-fp/op-1.h: Likewise.
10441         * soft-fp/op-2.h: Likewise.
10442         * soft-fp/op-4.h: Likewise.
10443         * soft-fp/op-8.h: Likewise.
10444         * soft-fp/op-common.h: Likewise.
10445         * soft-fp/quad.h: Likewise.
10446         * soft-fp/single.h: Likewise.
10447         * soft-fp/soft-fp.h: Likewise.
10448         * soft-fp/sqrtdf2.c: Likewise.
10449         * soft-fp/sqrtsf2.c: Likewise.
10450         * soft-fp/sqrttf2.c: Likewise.
10451         * soft-fp/subdf3.c: Likewise.
10452         * soft-fp/subsf3.c: Likewise.
10453         * soft-fp/subtf3.c: Likewise.
10454         * soft-fp/truncdfsf2.c: Likewise.
10455         * soft-fp/trunctfdf2.c: Likewise.
10456         * soft-fp/trunctfsf2.c: Likewise.
10457         * soft-fp/trunctfxf2.c: Likewise.
10458         * soft-fp/unorddf2.c: Likewise.
10459         * soft-fp/unordsf2.c: Likewise.
10460         * soft-fp/unordtf2.c: Likewise.
10462 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10464         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10465         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10467 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10469         * elf/dl-libc.c: Clear initfini list after freeing.
10471 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10473         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10474         * soft-fp/addsf3.c: Likewise.
10475         * soft-fp/addtf3.c: Likewise.
10476         * soft-fp/divdf3.c: Likewise.
10477         * soft-fp/divsf3.c: Likewise.
10478         * soft-fp/divtf3.c: Likewise.
10479         * soft-fp/double.h: Likewise.
10480         * soft-fp/eqdf2.c: Likewise.
10481         * soft-fp/eqsf2.c: Likewise.
10482         * soft-fp/eqtf2.c: Likewise.
10483         * soft-fp/extenddftf2.c: Likewise.
10484         * soft-fp/extended.h: Likewise.
10485         * soft-fp/extendsfdf2.c: Likewise.
10486         * soft-fp/extendsftf2.c: Likewise.
10487         * soft-fp/extendxftf2.c: Likewise.
10488         * soft-fp/fixdfdi.c: Likewise.
10489         * soft-fp/fixdfsi.c: Likewise.
10490         * soft-fp/fixdfti.c: Likewise.
10491         * soft-fp/fixsfdi.c: Likewise.
10492         * soft-fp/fixsfsi.c: Likewise.
10493         * soft-fp/fixsfti.c: Likewise.
10494         * soft-fp/fixtfdi.c: Likewise.
10495         * soft-fp/fixtfsi.c: Likewise.
10496         * soft-fp/fixtfti.c: Likewise.
10497         * soft-fp/fixunsdfdi.c: Likewise.
10498         * soft-fp/fixunsdfsi.c: Likewise.
10499         * soft-fp/fixunsdfti.c: Likewise.
10500         * soft-fp/fixunssfdi.c: Likewise.
10501         * soft-fp/fixunssfsi.c: Likewise.
10502         * soft-fp/fixunssfti.c: Likewise.
10503         * soft-fp/fixunstfdi.c: Likewise.
10504         * soft-fp/fixunstfsi.c: Likewise.
10505         * soft-fp/fixunstfti.c: Likewise.
10506         * soft-fp/floatdidf.c: Likewise.
10507         * soft-fp/floatdisf.c: Likewise.
10508         * soft-fp/floatditf.c: Likewise.
10509         * soft-fp/floatsidf.c: Likewise.
10510         * soft-fp/floatsisf.c: Likewise.
10511         * soft-fp/floatsitf.c: Likewise.
10512         * soft-fp/floattidf.c: Likewise.
10513         * soft-fp/floattisf.c: Likewise.
10514         * soft-fp/floattitf.c: Likewise.
10515         * soft-fp/floatundidf.c: Likewise.
10516         * soft-fp/floatundisf.c: Likewise.
10517         * soft-fp/floatunsidf.c: Likewise.
10518         * soft-fp/floatunsisf.c: Likewise.
10519         * soft-fp/floatuntidf.c: Likewise.
10520         * soft-fp/floatuntisf.c: Likewise.
10521         * soft-fp/floatuntitf.c: Likewise.
10522         * soft-fp/fmadf4.c: Likewise.
10523         * soft-fp/fmasf4.c: Likewise.
10524         * soft-fp/fmatf4.c: Likewise.
10525         * soft-fp/gedf2.c: Likewise.
10526         * soft-fp/gesf2.c: Likewise.
10527         * soft-fp/getf2.c: Likewise.
10528         * soft-fp/ledf2.c: Likewise.
10529         * soft-fp/lesf2.c: Likewise.
10530         * soft-fp/letf2.c: Likewise.
10531         * soft-fp/muldf3.c: Likewise.
10532         * soft-fp/mulsf3.c: Likewise.
10533         * soft-fp/multf3.c: Likewise.
10534         * soft-fp/negdf2.c: Likewise.
10535         * soft-fp/negsf2.c: Likewise.
10536         * soft-fp/negtf2.c: Likewise.
10537         * soft-fp/op-1.h: Likewise.
10538         * soft-fp/op-2.h: Likewise.
10539         * soft-fp/op-4.h: Likewise.
10540         * soft-fp/op-8.h: Likewise.
10541         * soft-fp/op-common.h: Likewise.
10542         * soft-fp/quad.h: Likewise.
10543         * soft-fp/single.h: Likewise.
10544         * soft-fp/soft-fp.h: Likewise.
10545         * soft-fp/sqrtdf2.c: Likewise.
10546         * soft-fp/sqrtsf2.c: Likewise.
10547         * soft-fp/sqrttf2.c: Likewise.
10548         * soft-fp/subdf3.c: Likewise.
10549         * soft-fp/subsf3.c: Likewise.
10550         * soft-fp/subtf3.c: Likewise.
10551         * soft-fp/truncdfsf2.c: Likewise.
10552         * soft-fp/trunctfdf2.c: Likewise.
10553         * soft-fp/trunctfsf2.c: Likewise.
10554         * soft-fp/trunctfxf2.c: Likewise.
10555         * soft-fp/unorddf2.c: Likewise.
10556         * soft-fp/unordsf2.c: Likewise.
10557         * soft-fp/unordtf2.c: Likewise.
10559 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10561         [BZ #15672]
10562         * misc/error.c (error_tail): Fix possible buffer overflow.
10564 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10566         [BZ #13028]
10567         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10568         address.
10570 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10572         [BZ #832]
10573         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10574         testing pipefail option.
10576 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10578         * soft-fp/double.h: Indent preprocessor directives inside #if.
10579         * soft-fp/extended.h: Likewise.
10580         * soft-fp/op-2.h: Likewise.
10581         * soft-fp/op-4.h: Likewise.
10582         * soft-fp/op-common.h: Likewise.
10583         * soft-fp/quad.h: Likewise.
10584         * soft-fp/single.h: Likewise.
10585         * soft-fp/soft-fp.h: Likewise.
10587 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10589         * iconv/iconv_prog.c: Fix typos.
10590         * stdio-common/psiginfo-data.h: Likewise.
10592 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10594         [BZ #15764]
10595         * locale/setlocale.c: Fix typo.
10597 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10599         [BZ #16036]
10600         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10601         signaling NaN arguments.
10602         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10603         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10605         [BZ #14910]
10606         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10607         unordered operands.
10608         * soft-fp/gesf2.c (__gesf2): Likewise.
10609         * soft-fp/getf2.c (__getf2): Likewise.
10610         * soft-fp/ledf2.c (__ledf2): Likewise.
10611         * soft-fp/lesf2.c (__lesf2): Likewise.
10612         * soft-fp/letf2.c (__letf2): Likewise.
10614         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10615         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10616         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10617         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10618         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10619         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10620         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10621         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10622         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10623         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10624         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10625         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10626         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10627         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10628         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10629         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10630         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10631         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10632         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10633         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10634         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10635         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10636         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10637         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10638         * soft-fp/floattidf.c (__floattidf): Likewise.
10639         * soft-fp/floattisf.c (__floattisf): Likewise.
10640         * soft-fp/floattitf.c (__floattitf): Likewise.
10641         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10642         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10643         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10644         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10645         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10646         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10647         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10648         * soft-fp/gesf2.c (__gesf2): Likewise.
10649         * soft-fp/getf2.c (__getf2): Likewise.
10650         * soft-fp/ledf2.c (__ledf2): Likewise.
10651         * soft-fp/lesf2.c (__lesf2): Likewise.
10652         * soft-fp/letf2.c (__letf2): Likewise.
10654         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10655         Undefine and redefine.
10656         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10657         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10658         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10659         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10660         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10661         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10662         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10663         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10664         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10665         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10666         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10667         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10668         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10669         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10670         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10672         [BZ #16032]
10673         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10674         without decrementing exponent if mantissa >= that for the
10675         denominator, not >.
10676         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10677         denominator, not >.  Decrement exponent in < case instead of
10678         incrementing in >= case.
10679         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10680         without decrementing exponent if mantissa >= that for the
10681         denominator, not >.
10683         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10684         computing saturated result for unsigned overflow.
10686 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10687             Jeff Law  <law@redhat.com>
10689         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10690         (atan2Mp): Add systemtap probe marker.
10691         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10692         (__ieee754_log): Add systemtap probe marker.
10693         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10694         (atanMp): Add systemtap probe marker.
10695         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10696         (tanMp): Add systemtap probe marker.
10697         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10698         (__slowexp): Add systemtap probe marker.
10699         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10700         (__slowpow): Add systemtap probe marker.
10701         * manual/probes.texi: Document probes.
10703 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
10705         [BZ #15362]
10706         * libio/fileops.c (_IO_new_file_write): Return count of bytes
10707         written.
10708         (_IO_new_file_xsputn): Don't return EOF if nothing has been
10709         written.
10710         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10711         written to buffer but not flushed.
10712         * libio/iofwrite_u.c:  Likewise.
10713         * libio/iopadn.c:  Return bytes returned even if EOF was
10714         encountered.
10715         * libio/iowpadn.c:  Likewise.
10716         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10717         if _IO_padn does not write the whole buffer.
10718         [!COMPILE_WPRINTF] (PAD): Likewise.
10720 2013-10-10  David S. Miller  <davem@davemloft.net>
10722         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10723         directory block.
10725 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10727         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
10728         instead of FSF address.
10729         * soft-fp/fixdfti.c: Likewise.
10730         * soft-fp/fixsfti.c: Likewise.
10731         * soft-fp/fixtfti.c: Likewise.
10732         * soft-fp/fixunsdfti.c: Likewise.
10733         * soft-fp/fixunssfti.c: Likewise.
10734         * soft-fp/fixunstfti.c: Likewise.
10735         * soft-fp/floattidf.c: Likewise.
10736         * soft-fp/floattisf.c: Likewise.
10737         * soft-fp/floattitf.c: Likewise.
10738         * soft-fp/floatuntidf.c: Likewise.
10739         * soft-fp/floatuntisf.c: Likewise.
10740         * soft-fp/floatuntitf.c: Likewise.
10741         * soft-fp/trunctfxf2.c: Likewise.
10743         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
10744         * soft-fp/fixdfti.c: Likewise.
10745         * soft-fp/fixsfti.c: Likewise.
10746         * soft-fp/fixtfti.c: Likewise.
10747         * soft-fp/fixunsdfti.c: Likewise.
10748         * soft-fp/fixunssfti.c: Likewise.
10749         * soft-fp/fixunstfti.c: Likewise.
10750         * soft-fp/floattidf.c: Likewise.
10751         * soft-fp/floattisf.c: Likewise.
10752         * soft-fp/floattitf.c: Likewise.
10753         * soft-fp/floatuntidf.c: Likewise.
10754         * soft-fp/floatuntisf.c: Likewise.
10755         * soft-fp/floatuntitf.c: Likewise.
10756         * soft-fp/trunctfxf2.c: Likewise.
10758 2013-10-10  David S. Miller  <davem@davemloft.net>
10760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10762 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10764         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10765         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10766         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10767         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10768         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10769         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10770         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10773         for NaNs before doing comparisons on argument.
10774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10775         Likewise.
10777 2013-10-10  Will Newton  <will.newton@linaro.org>
10779         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10780         passed to _int_memalign does not overflow.
10782 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10784         * scripts/bench.pl: Add include-sources directive.
10785         * benchtests/README: Update documentation.
10787 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10789         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10790         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10791         instead of FP_INIT_ROUNDMODE.
10792         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10793         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10795         [BZ #16034]
10796         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10797         copy class of input value.
10798         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10799         not handle exceptions.
10800         * soft-fp/negsf2.c (__negsf2): Likewise.
10801         * soft-fp/negtf2.c (__negtf2): Likewise.
10802         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10804 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10806         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10807         semicolon.  From Linux kernel.
10809 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10811         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10813 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10815         [BZ #156]
10816         * manual/socket.texi: Added statement about buffer
10817         for gethostbyname2_r.
10819 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10821         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10822         Use .p2align directive instead, throughout.
10823         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10824         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10825         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10826         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10827         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10828         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10829         * sysdeps/x86_64/strchr.S: Likewise.
10830         * sysdeps/x86_64/strrchr.S: Likewise.
10832 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10834         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10836         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10838         * sysdeps/generic/math_private.h (__mpsin1): Remove
10839         declaration.
10840         (__mpcos1): Likewise.
10841         (__mpsin): New argument __range_reduce.
10842         (__mpcos): Likewise.
10843         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10844         (slow): Use __mpsin and __mpcos.
10845         (slow1): Likewise.
10846         (slow2): Likewise.
10847         (sloww): Likewise.
10848         (sloww1): Likewise.
10849         (sloww2): Likewise.
10850         (bsloww): Likewise.
10851         (bsloww1): Likewise.
10852         (bsloww2): Likewise.
10853         (cslow2): Likewise.
10854         (csloww): Likewise.
10855         (csloww1): Likewise.
10856         (csloww2): Likewise.
10857         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10858         range_reduce.  Merge in __mpsin1.
10859         (__mpcos): Likewise.
10860         (__mpsin1): Remove.
10861         (__mpcos1): Likewise.
10863 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10865         * locale/loadlocale.c (_nl_intern_locale_data): Use
10866         LOCFILE_ALIGNED_P.
10867         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10868         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10869         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10870         obstack data is appropriately aligned.
10871         (obstack_int32_grow_fast): Likewise.
10872         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10873         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10874         (add_locale_uint32_array): Likewise.
10876 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10878         * benchtests/Makefile: Remove ARGLIST and RET variables.
10879         ($(objpfx)bench-%.c): Pass only function name to the script.
10880         * benchtests/README: Update documentation.
10881         * benchtests/acos-inputs: Add new directives.
10882         * benchtests/acosh-inputs: Likewise.
10883         * benchtests/asin-inputs: Likewise.
10884         * benchtests/asinh-inputs: Likewise.
10885         * benchtests/atan-inputs: Likewise.
10886         * benchtests/atanh-inputs: Likewise.
10887         * benchtests/cos-inputs: Likewise.
10888         * benchtests/cosh-inputs: Likewise.
10889         * benchtests/exp-inputs: Likewise.
10890         * benchtests/log-inputs: Likewise.
10891         * benchtests/pow-inputs: Likewise.
10892         * benchtests/rint-inputs: Likewise.
10893         * benchtests/sin-inputs: Likewise.
10894         * benchtests/sinh-inputs: Likewise.
10895         * benchtests/tan-inputs: Likewise.
10896         * benchtests/tanh-inputs: Likewise.
10897         * scripts/bench.pl: Add support for new directives.
10899 2013-10-07  Alan Modra  <amodra@gmail.com>
10901         * README: Fix careless merge.
10903 2013-10-05  Alan Modra  <amodra@gmail.com>
10905         * NEWS: Mention powerpc64le support and bugs fixed.
10906         * README: Both big-endian and little-endian powerpc64 supported.
10908 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10910         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10911         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10912         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10913         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10915 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10917         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10918         match prototype.
10920 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10922         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10923         Move -mhard-float appending from
10924         ports/sysdeps/powerpc/powerpc32/Makefile.
10925         [$(with-fp) = yes] (ASFLAGS): Likewise.
10926         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10927         * sysdeps/powerpc/nofpu: Move directory from
10928         ports/sysdeps/powerpc/nofpu.
10929         * sysdeps/powerpc/soft-fp: Move directory from
10930         ports/sysdeps/powerpc/soft-fp.
10931         * sysdeps/powerpc/powerpc32/405: Move directory from
10932         ports/sysdeps/powerpc/powerpc32/405.
10933         * sysdeps/powerpc/powerpc32/440: Move directory from
10934         ports/sysdeps/powerpc/powerpc32/440.
10935         * sysdeps/powerpc/powerpc32/464: Move directory from
10936         ports/sysdeps/powerpc/powerpc32/464.
10937         * sysdeps/powerpc/powerpc32/476: Move directory from
10938         ports/sysdeps/powerpc/powerpc32/476.
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10940         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10942         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10944         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10946         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10948         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10949         * README: Update for powerpc-*-linux-gnu software floating point
10950         support in libc.
10952         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10953         case to powerpc/powerpc32*.
10954         * sysdeps/unix/sysv/linux/configure: Regenerated.
10956         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10957         (_FPU_MASK_OM): Define as 0x04.
10958         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10959         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10960         0x00c10080.
10961         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10962         0x0000003c.
10963         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10966         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10967         getcontext_e500.
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10969         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10970         setcontext_e500.
10971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10972         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10973         and setcontext_e500.
10975 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10977         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10979 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10981         * manual/threads.texi (Default Thread Attributes): Fix typo.
10983 2013-10-04  Will Newton  <will.newton@linaro.org>
10985         * malloc/Makefile: Add tst-memalign.
10986         * malloc/tst-memalign.c: New file.
10988         * malloc/tst-posix_memalign.c: Add comments.
10989         (do_test): Add comments and call free on all potentially
10990         allocated pointers. Add space after cast.
10992         * malloc/tst-pvalloc.c: Add comments.
10993         (do_test): Add comments and call free on all potentially
10994         allocated pointers. Remove duplicate check for NULL pointer.
10995         Add space after cast.
10997         * malloc/tst-valloc.c: Add comments.
10998         (do_test): Add comments and call free on all potentially
10999         allocated pointers. Remove duplicate check for NULL pointer.
11000         Add space after cast.
11002 2013-10-04  Alan Modra  <amodra@gmail.com>
11004         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11005         Use stdint types in rather than __attribute__((mode())).
11006         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11008 2013-10-04  Alan Modra  <amodra@gmail.com>
11010         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11011         Correct handling of unaligned relocs for little-endian.
11012         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11014 2013-10-04  Alan Modra  <amodra@gmail.com>
11016         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11017         * configure: Regenerate.
11018         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11019         * shlib-versions: Likewise.
11021 2013-10-04  Alan Modra  <amodra@gmail.com>
11023         * string/tester.c (test_memrchr): Increment reported test cycle.
11025 2013-10-04  Alan Modra  <amodra@gmail.com>
11027         * string/test-memcpy.c (do_one_test): When reporting errors, print
11028         string address and don't overrun end of string.
11030 2013-10-04  Alan Modra  <amodra@gmail.com>
11032         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11033         insrdi.  Make better use of reg selection to speed exit slightly.
11034         Schedule entry path a little better.  Remove useless "are we done"
11035         checks on entry to main loop.  Handle wrapping around zero address.
11036         Correct main loop count.  Handle single left-over word from main
11037         loop inline rather than by using loop_small.  Remove extra word
11038         case in loop_small caused by wrong loop count.  Add little-endian
11039         support.
11040         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11041         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11042         cache hint.
11043         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11044         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11045         support.  Avoid rlwimi.
11046         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11048 2013-10-04  Alan Modra  <amodra@gmail.com>
11050         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11051         insrdi.  Formatting.
11052         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11053         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11054         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11055         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11056         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11057         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11059 2013-10-04  Alan Modra  <amodra@gmail.com>
11061         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11062         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11063         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11064         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11065         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11066         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11067         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11068         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11069         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11070         use of regs.  Use power7 mtocrf.  Tidy function tails.
11072 2013-10-04  Alan Modra  <amodra@gmail.com>
11074         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11075         Formatting.  Consistently use rXXX register defines or rN defines.
11076         Use early exit labels that avoid restoring unused non-volatile regs.
11077         Make cr field use more consistent with rWORDn compares.  Rename
11078         regs used as shift registers for unaligned loop, using rN defines
11079         for short lifetime/multiple use regs.
11080         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11081         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11082         addi 1,1,64 to pop stack frame.  Simplify return value code.
11083         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11085 2013-10-04  Alan Modra  <amodra@gmail.com>
11087         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11088         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11089         rather than rlwimi.
11090         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11091         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11092         little-endian support.  Correct typos.
11093         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11094         rather than rlwimi.
11095         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11096         in loop and entry code to keep "and." results.
11097         (strchr): Add little-endian support.  Comment.  Move cntlzd
11098         earlier in tail.
11099         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11101 2013-10-04  Alan Modra  <amodra@gmail.com>
11103         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11104         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11105         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11106         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11108 2013-10-04  Alan Modra  <amodra@gmail.com>
11110         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11111         (rTMP): Define as r11.
11112         (strcmp): Add little-endian support.  Optimise tail.
11113         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11114         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11115         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11116         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11117         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11118         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11119         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11121 2013-10-04  Alan Modra  <amodra@gmail.com>
11123         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11124         little-endian support.  Remove unnecessary "are we done" tests.
11125         Handle "s" wrapping around zero and extremely large "size".
11126         Correct main loop count.  Handle single left-over word from main
11127         loop inline rather than by using small_loop.  Correct comments.
11128         Delete "zero" tail, use "end_max" instead.
11129         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11131 2013-10-04  Alan Modra  <amodra@gmail.com>
11133         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11134         support.  Don't branch over align.
11135         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11136         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11137         support.  Rearrange tmp reg use to suit.  Comment.
11138         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11140 2013-10-04  Alan Modra  <amodra@gmail.com>
11142         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11144 2013-10-04  Alan Modra  <amodra@gmail.com>
11146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11147         conditional form of branch and link when obtaining pc.
11148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11150 2013-10-04  Alan Modra  <amodra@gmail.com>
11152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11153         HIWORD/LOWORD.
11154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11157 2013-10-04  Alan Modra  <amodra@gmail.com>
11159         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11160         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11161         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11162         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11163         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11164         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11165         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11166         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11167         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11168         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11170 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11171             Alistair Popple <alistair@ozlabs.au.ibm.com>
11172             Alan Modra <amodra@gmail.com>
11174         [BZ #15723]
11175         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11176         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11177         _dl_hwcap access for little-endian.
11178         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11179         destroy vmx regs when saving unaligned.
11180         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11181         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11182         destroy vmx regs when saving unaligned.
11184 2013-10-04  Alan Modra  <amodra@gmail.com>
11186         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11187         Don't use a union to pack hi/low value.
11189 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11191         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11192         for little-endian.
11193         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11194         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11195         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11196         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11197         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11199 2013-10-04  Alan Modra  <amodra@gmail.com>
11201         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11202         constants to usual value for .cst8 section, and remove redundant
11203         high address load.
11204         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11205         constant for 0x1p52.  Load little-endian words of double from
11206         correct stack offsets.
11208 2013-10-04  Alan Modra  <amodra@gmail.com>
11210         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11211         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11212         words of double from correct stack offsets.
11213         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11214         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11215         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11216         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11218         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11219         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11220         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11221         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11222         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11223         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11224         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11225         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11226         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11227         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11228         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11229         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11231 2013-10-04  Alan Modra  <amodra@gmail.com>
11233         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11234         64-bit int/double union.
11235         (_FPU_SETCW): Likewise.
11236         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11237         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11239 2013-10-04  Alan Modra  <amodra@gmail.com>
11241         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11242         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11244 2013-10-04  Alan Modra  <amodra@gmail.com>
11246         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11247         use vector int constants.
11248         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11250 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11252         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11253         array with long long.
11254         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11255         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11256         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11257         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11258         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11259         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11260         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11261         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11262         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11263         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11264         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11265         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11266         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11268 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11270         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11271         (__signbit): Likewise.  Correct for little-endian.
11272         (__signbitl): Call __signbit.
11273         (lrint): Correct for little-endian.
11274         (lrintf): Call lrint.
11276 2013-10-04  Alan Modra  <amodra@gmail.com>
11278         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11279         union 32-bit int array member with 64-bit int array.
11280         (t515, tm256): Double rather than long double.
11281         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11283 2013-10-04  Alan Modra  <amodra@gmail.com>
11285         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11286         Delete.
11287         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11289         version of math_ldbl.h.
11291 2013-10-04  Alan Modra  <amodra@gmail.com>
11293         [BZ #15734], [BZ #15735]
11294         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11295         all uses of ieee875 long double macros and unions.  Simplify test
11296         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11297         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11298         normalize after ldbl_extract_mantissa, and don't add hidden bit
11299         already handled.  Don't treat low word of ieee854 mantissa like
11300         low word of IBM long double and mask off bit when testing for
11301         zero.
11302         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11303         all uses of ieee875 long double macros and unions.  Simplify tests
11304         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11305         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11306         two1022, instead use their values.  Recognise that tests for large
11307         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11308         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11309         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11310         test for 0.0L and nan.  Correct negation.
11311         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11312         ieee875 long double macros and unions.  Correct output for large
11313         magnitude x.  Correct absolute value calculation.
11314         (__erfcl): Likewise.
11315         * math/libm-test.inc: Add tests for errors discovered in IBM long
11316         double versions of fmodl, remainderl, erfl and erfcl.
11318 2013-10-04  Alan Modra  <amodra@gmail.com>
11320         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11321         all uses of ieee854 long double macros and unions.  Simplify tests
11322         for long doubles that are fully specified by the high double.
11323         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11324         Likewise.
11325         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11326         Remove dead code too.
11327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11328         (__ieee754_ynl): Likewise.
11329         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11330         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11331         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11332         Remove dead code too.
11333         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11334         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11335         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11336         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11337         Simplify.
11338         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11339         Simplify.
11340         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11341         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11342         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11343         Comment on variable precision.
11344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11345         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11346         Likewise.
11347         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11348         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11349         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11350         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11351         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11353 2013-10-04  Alan Modra  <amodra@gmail.com>
11355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11357         all uses of ieee854 long double macros and unions.
11358         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11362         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11363         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11364         Likewise.
11365         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11366         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11367         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11368         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11369         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11370         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11371         Simplify sign and nan test too.
11372         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11373         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11374         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11375         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11376         Likewise.
11377         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11378         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11379         Likewise.
11380         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11381         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11382         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11383         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11384         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11385         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11387 2013-10-04  Alan Modra  <amodra@gmail.com>
11389         * stdio-common/printf_size.c (__printf_size): Don't use
11390         union ieee854_long_double in fpnum union.
11391         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11392         signbit macro to retrieve sign from long double.
11393         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11394         retrieve sign from long double.
11395         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11396         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11397         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11398         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11399         * math/test-misc.c (main): Don't use union ieee854_long_double.
11401 2013-10-04  Alan Modra  <amodra@gmail.com>
11403         [BZ #15680]
11404         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11405         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11406         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11407         calculation.  Remove unnecessary test for denormal exponent.
11408         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11409         Correct handling of denormals.  Avoid undefined shift behaviour.
11410         Correct normalisation of low mantissa when low double is denormal.
11411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11412         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11413         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11414         Correct normalisation of low mantissa.  Test for overflow of high
11415         mantissa and normalise.
11416         (ldbl_nearbyint): Use more readable constant for two52.
11417         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11418         (__mpn_construct_long_double): Fix test for overflow of high
11419         mantissa and correct normalisation.  Avoid undefined shift.
11421 2013-10-04  Alan Modra  <amodra@gmail.com>
11423         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11424         (union ibm_extended_long_double): Define as an array of ieee754_double.
11425         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11426         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11427         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11428         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11429         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11430         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11431         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11432         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11433         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11434         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11435         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11437 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11439         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11440         page size instead of calling getpagesize.
11442         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11443         (LOCFILE_ALIGN_MASK): Likewise.
11444         (LOCFILE_ALIGN_UP): Likewise.
11445         (LOCFILE_ALIGNED_P): Likewise.
11446         * locale/programs/ld-collate.c (collate_output): Use the new
11447         macros instead of __alignof__ (int32_t).
11448         * locale/weight.h (findidx): Likewise.
11450 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11452         [BZ #431]
11453         * manual/string.texi: Fix strncat and wcsncat.
11455 2013-10-03  Brooks Moses  <bmoses@google.com>
11457         [BZ #15915]
11458         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11459         * Makerules: ...here, and adjust associated comments.
11461 2013-10-02  Will Newton  <will.newton@linaro.org>
11463         * malloc/Makefile: Add tst-pvalloc.
11464         * malloc/tst-pvalloc.c: New file.
11466 2013-10-02  Will Newton  <will.newton@linaro.org>
11468         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11469         improve test coverage.
11471 2013-10-02  Will Newton  <will.newton@linaro.org>
11473         * malloc/Makefile: Add tst-posix_memalign.
11474         * malloc/tst-posix_memalign.c: New file.
11476 2013-10-01  Eric Blake  <eblake@redhat.com>
11478         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11479         Use __THROWNL rather than __THROW on static functions.
11481 2013-09-30  Petr Machata  <pmachata@redhat.com>
11483         * elf/elf.h (R_AARCH64_ABS16): New macro.
11484         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11485         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11486         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11487         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11488         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11489         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11490         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11491         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11492         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11493         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11494         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11495         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11496         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11497         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11498         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11499         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11500         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11501         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11502         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11503         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11504         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11505         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11506         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11507         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11508         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11509         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11510         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11511         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11512         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11513         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11514         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11515         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11516         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11517         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11518         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11519         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11520         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11521         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11522         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11523         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11524         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11525         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11526         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11527         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11528         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11529         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11530         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11531         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11532         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11533         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11534         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11535         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11536         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11537         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11538         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11539         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11540         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11541         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11542         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11543         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11544         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11545         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11546         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11547         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11548         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11549         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11550         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11551         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11552         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11553         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11554         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11555         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11556         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11557         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11558         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11559         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11560         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11561         (R_AARCH64_TLSDESC_LDR): Likewise.
11562         (R_AARCH64_TLSDESC_ADD): Likewise.
11563         (R_AARCH64_TLSDESC_CALL): Likewise.
11565 2013-09-30  Andreas Schwab  <schwab@suse.de>
11567         [BZ #15048]
11568         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11569         the nss database lookup.
11570         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11571         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11573 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11575         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11577 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11579         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11580         ${Bash-specific parameter/pattern/string} parameter expansion.
11581         * sysdeps/unix/make-syscalls.sh: Likewise.
11583 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11585         * sysdeps/sh/stackguard-macros.h: New file.
11587 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11591         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11592         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11593         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11594         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11596 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11598         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11599         Fix thread ID register.
11601 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11603         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11604         [POSIX || UNIX98]: Require rather than permitting all symbols from
11605         <time.h>.
11606         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11607         element of struct sched_param.
11608         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11609         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11610         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11611         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11612         constant.
11614 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11616         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11617         argument calculation.
11619 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11621         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11622         Expect macro.
11623         [POSIX] (pthread_attr_t): Do not require type.
11624         [POSIX] (pthread_cond_t): Likewise.
11625         [POSIX] (pthread_condattr_t): Likewise.
11626         [POSIX] (pthread_key_t): Likewise.
11627         [POSIX] (pthread_mutex_t): Likewise.
11628         [POSIX] (pthread_mutexattr_t): Likewise.
11629         [POSIX] (pthread_once_t): Likewise.
11630         [POSIX] (pthread_t): Likewise.
11631         [POSIX-based standards] (pthread_atfork): Expect function.
11633 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11634             Richard Sandiford  <richard@codesourcery.com>
11636         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11637         (swap_endianness_p): New extern variable.
11638         (set_big_endian): New inline function.
11639         (maybe_swap_uint32): Likewise.
11640         (maybe_swap_uint32_array): Likewise.
11641         (maybe_swap_uint32_obstack): Likewise.
11642         * locale/programs/locfile.c: Include <stdbool.h>.
11643         (swap_endianness_p): New variable.
11644         (add_locale_uint32): Call maybe_swap_uint32.
11645         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11646         (write_locale_data): Call maybe_swap_uint32_array.
11647         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11648         maybe_swap_uint32.
11649         (obstack_int32_grow_fast): Likewise.
11650         (output_weightwc): Call maybe_swap_uint32_obstack.
11651         (collate_output): Likewise.
11652         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11653         (OPT_LITTLE_ENDIAN): Likewise.
11654         (options): Add --little-endian and --big-endian options.
11655         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11656         * locale/programs/locarchive.c: Include "locfile.h".
11657         (GET): New macro.
11658         (SET): Likewise.
11659         (INC): Likewise.
11660         (create_archive): Use the new macros to access fields of
11661         structures directly mapped from or written to locale archives.
11662         (oldlocrecentcmp): Likewise.
11663         (enlarge_archive): Likewise.
11664         (insert_name): Likewise.
11665         (add_alias): Likewise.
11666         (add_locale): Likewise.
11667         (delete_locales_from_archive): Likewise.
11668         (show_archive_content): Likewise.
11669         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11670         locale data.
11672 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11674         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11675         http://www.gnu.org/doc/freemanuals.texi.
11676         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11678 2013-09-24  Will Newton  <will.newton@linaro.org>
11680         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11681         macro.
11683 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
11685         * locale/hashval.h (compute_hashval): Interpret bytes of key as
11686         unsigned char.
11688 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
11690         * manual/threads.texi (POSIX Threads): Fix a typo.
11692 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11694         [BZ #14547]
11695         * string/tst-strcoll-overflow.c: New test case.
11696         * string/Makefile (xtests): Add tst-strcoll-overflow.
11697         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11698         cache if string sizes may cause integer overflow.
11700         [BZ #14547]
11701         * string/strcoll_l.c (coll_seq): New members rule, idx,
11702         save_idx and back_us.
11703         (get_next_seq_nocache): New function.
11704         (do_compare_nocache): New function.
11705         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11706         when malloc fails.
11708 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
11710         [BZ #15754]
11711         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11712         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11713         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11715         [BZ #15754]
11716         * elf/Makefile (tests): Add tst-ptrguard1.
11717         (tests-static): Add tst-ptrguard1-static.
11718         (tst-ptrguard1-ARGS): Define.
11719         (tst-ptrguard1-static-ARGS): Define.
11720         * elf/tst-ptrguard1.c: New file.
11721         * elf/tst-ptrguard1-static.c: New file.
11722         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11723         * sysdeps/i386/stackguard-macros.h: Likewise.
11724         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11725         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11726         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11727         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11728         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11729         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11731 2013-09-23  Hector Marco  <hecmargi@upv.es>
11732             Ismael Ripoll  <iripoll@disca.upv.es>
11733             Carlos O'Donell  <carlos@redhat.com>
11735         [BZ #15754]
11736         * sysdeps/generic/stackguard-macros.h: Define
11737         __pointer_chk_guard_local and POINTER_CHK_GUARD.
11738         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11739         Define __pointer_chk_guard_local.
11740         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11741         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11743 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
11745         [BZ #15859]
11746         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11748 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
11750         * include/string.h (__ffs): Declare as hidden.
11751         * string/ffs.c (__ffs): Define as hidden.
11752         * sysdeps/i386/ffs.c (__ffs): Likewise.
11753         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11754         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11755         * sysdeps/s390/ffs.c (__ffs): Likewise.
11756         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11758 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11760         * NEWS: Mention malloc probes.
11762         * malloc/arena.c (new_heap): New memory_heap_new probe.
11763         (grow_heap): New memory_heap_more probe.
11764         (shrink_heap): New memory_heap_less probe.
11765         (heap_trim): New memory_heap_free probe.
11766         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11767         (systrim): New memory_sbrk_less probe.
11768         * manual/probes.texi: Document them.
11770         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11771         * manual/probes.texi: Document it.
11773         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11774         (__libc_realloc): Add memory_realloc_retry probe.
11775         (__libc_memalign): Add memory_memalign_retry probe.
11776         (__libc_valloc): Add memory_valloc_retry probe.
11777         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11778         (__libc_calloc): Add memory_calloc_retry probe.
11779         * manual/probes.texi: Document them.
11781         * malloc/arena.c (get_free_list): Add probe
11782         memory_arena_reuse_free_list.
11783         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11784         and memory_arena_reuse.
11785         (arena_get2) [!PER_THREAD]: Likewise.
11786         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11787         memory_arena_reuse_realloc.
11788         * manual/probes.texi: Document them.
11790         * malloc/malloc.c (__libc_free): Add
11791         memory_mallopt_free_dyn_thresholds probe.
11792         (__libc_mallopt): Add multiple memory_mallopt probes.
11793         * manual/probes.texi: Document them.
11795         * malloc/malloc.c: Include stap-probe.h.
11796         (__libc_mallopt): Add memory_mallopt probe.
11797         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11798         * manual/probes.texi: New.
11799         * manual/Makefile (chapters): Add probes.
11800         * manual/threads.texi: Set next node.
11802 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11804         [BZ #15963, #13985]
11805         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11806         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11807         Add `Chinese' to `nan' entry name.
11809 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11811         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11812         (POLYNOMIAL): Likewise.
11813         (TAYLOR_SINCOS): Likewise.
11814         (TAYLOR_SLOW): Likewise.
11815         (__sin): Use TAYLOR_SINCOS.
11816         (__cos): Likewise.
11817         (slow): Use TAYLOR_SLOW.
11818         (sloww): Likewise.
11819         (bsloww): Likewise.
11820         (csloww): Likewise.
11822 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11824         * stdlib/strtod_l.c: Fix buffer overrun.
11826 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11828         * benchtests/Makefile (bench): Add sincos.
11829         * benchtests/bench-sincos.c: New file.
11831         * math/libm-test.inc (cos_test_data): New test inputs.
11832         (sin_test_data): Likewise.
11834         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11835         macro.
11836         (__sin): Use it.
11837         (__cos): Likewise.
11838         (slow1): Likewise.
11839         (slow2): Likewise.
11840         (sloww1): Likewise.
11841         (sloww2): Likewise.
11842         (bsloww1): Likewise.
11843         (bsloww2): Likewise.
11844         (cslow2): Likewise.
11845         (csloww1): Likewise.
11846         (csloww2): Likewise.
11848         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11849         function.
11850         (__sin): Use it.
11851         (__cos): Likewise.
11853         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11854         gotos.
11855         (__cos): Likewise.
11857 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11859         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11860         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11861         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11862         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11863         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11864         * elf/cache.c (print_entry): Handle the new cache flags.
11866 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11867             Aldy Hernandez  <aldyh@redhat.com>
11869         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11870         Change condition to [_SOFT_FLOAT].
11871         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11872         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11873         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11874         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11875         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11876         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11877         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11878         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11879         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11881         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11883         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11886         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11887         declaration.
11889 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11891         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11892         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11893         (__longjmp): Use LOAD_GP to load saved GPRs.
11894         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11895         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11896         (__sigsetjmp): Use SAVE_GP to save GPRs.
11898         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11899         Do not append -msoft-float.
11900         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11902 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11904         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11906 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11908         [BZ #15966]
11909         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11910         (_FPU_GETCW): Use initial "__" on variable and field names but not
11911         on macro parameter name.
11912         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11913         parentheses around reference to macro parameter.
11915 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11917         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11918         prototype.
11919         (ctype_startup): Use uint32_t in cast and sizeof for
11920         ctype->charnames.
11922 2013-09-11  Jia Liu  <proljc@gmail.com>
11924         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11925         __daddr_t_defined.
11926         [__FreeBSD__]: Likewise.
11928 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11931         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11932         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11933         (strchr): Remove __strchr_sse42 ifunc selection.
11934         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11935         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11937 2013-09-11  Will Newton  <will.newton@linaro.org>
11939         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11940         parameter to RES. Remove hardcoded 1000 value.
11941         * benchtests/bench-skeleton.c (main): Pass RES parameter
11942         to TIMING_INIT and multiply result by 1000.
11944 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11948 2013-09-11  Andreas Schwab  <schwab@suse.de>
11950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11951         if not defined.
11952         (O_TMPFILE) [__USE_GNU]: Define.
11953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11954         Define.
11956 2013-09-11  Will Newton  <will.newton@linaro.org>
11958         [BZ #15857]
11959         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11960         does not overflow.
11962 2013-09-11  Will Newton  <will.newton@linaro.org>
11964         [BZ #15856]
11965         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11966         does not overflow.
11968 2013-09-11  Will Newton  <will.newton@linaro.org>
11970         [BZ #15855]
11971         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11972         does not overflow.
11974 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11976         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11977         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11978         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11979         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11980         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11982 2013-09-10  Allan McRae  <allan@archlinux.org>
11984         [BZ #15748]
11985         * manual/arith.texi (Parsing of Floats): Clarify
11986         cross-reference.
11988         [BZ #15849]
11989         * manual/install.texi (Running make install): Mention
11990         --enable-pt-chown.
11991         * INSTALL: Regenerated.
11993 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11995         * csu/init-first.c (_init): Remove the !SHARED condition around
11996         FPU control word initialization.
11997         * elf/dl-support.c (_dl_fpu_control): New variable.
11998         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11999         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12000         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12001         * math/test-fpucw-static.c: New file.
12002         * math/test-fpucw-ieee.c: New file.
12003         * math/test-fpucw-ieee-static.c: New file.
12004         * math/Makefile (tests): Add `test-fpucw-ieee' and
12005         `$(tests-static)'.
12006         (tests-static): New variable.
12007         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12008         dependency to...
12009         [($(build-shared),yes)]
12010         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12011         ... this.
12012         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12013         New dependency.
12015 2013-09-09  Allan McRae  <allan@archlinux.org>
12017         [BZ #15939]
12018         * manual/string.texi (Collation Functions): Fix typo in
12019         strcoll example.
12020         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12022         [BZ #15893]
12023         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12025         [BZ #15892]
12026         * libio/memstream.c (open_memstream): Fix memory leak.
12027         * libio/wmemstream.c (open_wmemstream): Likewise.
12029         [BZ #15895]
12030         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12032 2013-09-09  Will Newton  <will.newton@linaro.org>
12034         * malloc/Makefile: Add tst-realloc to tests.
12035         * malloc/tst-realloc.c: New file.
12037 2013-09-09  Allan McRae  <allan@archlinux.org>
12039         [BZ #15844]
12040         * COPYING: Update from GNU website to fix FSF address.
12041         * COPYING.LIB: Likewise.
12043 2013-09-06  David S. Miller  <davem@davemloft.net>
12045         * po/zh_TW.po: Update Chinese (traditional) translation from
12046         translation project.
12048 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12049             Joseph Myers  <joseph@codesourcery.com>
12051         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12052         "localeinfo.h".
12053         (obstack_chunk_alloc): New macro.
12054         (obstack_chunk_free): Likewise.
12055         (record_offset): New function.
12056         (init_locale_data): Likewise.
12057         (align_locale_data): Likewise.
12058         (add_locale_empty): Likewise.
12059         (add_locale_raw_data): Likewise.
12060         (add_locale_raw_obstack): Likewise.
12061         (add_locale_string): Likewise.
12062         (add_locale_wstring): Likewise.
12063         (add_locale_uint32): Likewise.
12064         (add_locale_uint32_array): Likewise.
12065         (add_locale_char): Likewise.
12066         (start_locale_structure): Likewise.
12067         (end_locale_structure): Likewise.
12068         (start_locale_prelude): Likewise.
12069         (end_locale_prelude): Likewise.
12070         (write_locale_data): Take locale_file structure rather than an
12071         iovec.
12072         * locale/programs/locfile.h: Include "obstack.h".
12073         (struct locale_file): Change to store locale file contents instead
12074         of header.
12075         (init_locale_data): New prototype.
12076         (align_locale_data): Likewise.
12077         (add_locale_empty): Likewise.
12078         (add_locale_raw_data): Likewise.
12079         (add_locale_raw_obstack): Likewise.
12080         (add_locale_string): Likewise.
12081         (add_locale_wstring): Likewise.
12082         (add_locale_uint32): Likewise.
12083         (add_locale_uint32_array): Likewise.
12084         (add_locale_char): Likewise.
12085         (start_locale_structure): Likewise.
12086         (end_locale_structure): Likewise.
12087         (start_locale_prelude): Likewise.
12088         (end_locale_prelude): Likewise.
12089         (write_locale_data): Update prototype.
12090         * locale/programs/3level.h (struct TABLE): Remove result field.
12091         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12092         Use new locale_file interface.
12093         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12094         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12095         * locale/programs/ld-address.c (address_output): Use new
12096         locale_file interface.
12097         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12098         NO_ADD_LOCALE.
12099         (collate_finish): Don't call collseq_table_finalize.
12100         (collate_output): Use new locale_file interface.
12101         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12102         in file.
12103         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12104         (TABLE): Move defines earlier in file.
12105         (ELEMENT): Likewise.
12106         (DEFAULT): Likewise.
12107         (wctrans_table_add): Move macro and inline function earlier in
12108         file.
12109         (struct wctype_table): Move type earlier in file.
12110         (add_locale_wctype_table): New static prototype.
12111         (struct locale_ctype_t): Use logical types instead of struct iovec
12112         pointers for members.
12113         (ctype_output): Use new locale_file interface.
12114         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12115         new locale_file interface.
12116         (allocate_arrays): Update for use of new locale_file interface.
12117         * locale/programs/ld-identification.c (identification_output): Use
12118         new locale_file interface.
12119         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12120         * locale/programs/ld-messages.c (messages_output): Likewise.
12121         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12122         * locale/programs/ld-name.c (name_output): Likewise.
12123         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12124         * locale/programs/ld-paper.c (paper_output): Likewise.
12125         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12126         * locale/programs/ld-time.c (time_output): Likewise.
12128 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12130         * benchtests/Makefile: Add memrchr benchmark.
12131         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12132         benchmark as memrchr.
12133         * benchtests/bench-memrchr-ifunc.c: New file.
12134         * benchtests/bench-memrchr.c: New file.
12136 2013-09-06   Will Newton  <will.newton@linaro.org>
12138         * benchtests/Makefile (string-bench): Add memcpy.
12140 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12141             Cong Wang  <amwang@redhat.com>
12143         [BZ #15850]
12144         * sysdeps/unix/sysv/linux/bits/in.h
12145         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12146         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12147         before __USE_KERNEL_IPV6_DEFS uses.
12148         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12149         IPPROTO_BEETPH.
12150         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12151         sockaddr_in6, or ipv6_mreq.
12153 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12155         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12156         memory access for final bytes in some large inputs.
12157         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12159 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12161         * string/test-memrchr.c: New file.
12162         * string/test-memrchr-ifunc.c: New file.
12163         * string/Makefile: Add new memrchr testcase.
12165 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12167         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12168         fanotify_init returns EPERM.
12170 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12172         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12173         errors.
12174         (top level): Treat second token from macro or constant entries for
12175         allowed headers as allowed.
12176         * include/complex.h: Condition internal declarations on
12177         [!_ISOMAC].
12178         * include/fenv.h: Condition include of <stdbool.h> and internal
12179         declarations on [!_ISOMAC].
12181 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12183         [BZ #15923]
12184         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12186 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12188         * configure.in (--enable-versioning): Remove configure option.
12189         (libc_cv_asm_symver_directive): Remove configure test.
12190         (libc_cv_ld_version_script_option): Likewise.
12191         (VERSIONING): Remove variable and AC_SUBST.
12192         (DO_VERSIONING): Remove AC_DEFINE.
12193         * configure: Regenerated.
12194         * config.h.in (DO_VERSIONING): Remove macro.
12195         * Makerules [$(versioning) = yes]: Change conditionals to
12196         [$(build-shared) = yes].
12197         * config.make.in (versioning): Remove variable.
12198         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12199         [$(build-shared) = yes].
12200         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12201         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12202         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12203         [$(build-shared) = yes].
12204         * extra-lib.mk [$(versioning) = yes]: Likewise.
12205         * hurd/Makefile [$(versioning) = yes]: Likewise.
12206         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12207         [SHARED].
12208         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12209         [SHARED].
12210         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12211         [SHARED && !NO_HIDDEN].
12212         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12213         [SHARED].
12214         [SHARED && DO_VERSIONING]: Likewise..
12215         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12216         [$(build-shared) = yes].
12217         * manual/install.texi (--disable-versioning): Remove
12218         documentation.
12219         * INSTALL: Regenerated.
12220         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12221         to [SHARED].
12222         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12223         [$(build-shared) = yes].
12224         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12225         * sysdeps/i386/i686/multiarch/strstr-c.c
12226         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12227         [SHARED && !NO_HIDDEN].
12228         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12229         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12230         * sysdeps/powerpc/powerpc32/dl-machine.c
12231         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12232         * sysdeps/powerpc/powerpc32/sysdep.h
12233         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12234         to [SHARED && PIC && !NO_HIDDEN].
12235         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12236         conditional to [SHARED].
12238 2013-09-04   Will Newton  <will.newton@linaro.org>
12240         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12241         * benchtests/bench-string.h: Include bench-timing.h instead
12242         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12243         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12244         call to HP_TIMING_DIFF_INIT.
12245         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12246         instead of hp-timing.h macros.
12247         * benchtests/bench-memchr.c: Likewise.
12248         * benchtests/bench-memcmp.c: Likewise.
12249         * benchtests/bench-memcpy.c: Likewise.
12250         * benchtests/bench-memmem.c: Likewise.
12251         * benchtests/bench-memmove.c: Likewise.
12252         * benchtests/bench-memset.c: Likewise.
12253         * benchtests/bench-rawmemchr.c: Likewise.
12254         * benchtests/bench-strcasecmp.c: Likewise.
12255         * benchtests/bench-strcasestr.c: Likewise.
12256         * benchtests/bench-strcat.c: Likewise.
12257         * benchtests/bench-strchr.c: Likewise.
12258         * benchtests/bench-strcmp.c: Likewise.
12259         * benchtests/bench-strcpy.c: Likewise.
12260         * benchtests/bench-strcpy_chk.c: Likewise.
12261         * benchtests/bench-strlen.c: Likewise.
12262         * benchtests/bench-strncasecmp.c: Likewise.
12263         * benchtests/bench-strncat.c: Likewise.
12264         * benchtests/bench-strncmp.c: Likewise.
12265         * benchtests/bench-strncpy.c: Likewise.
12266         * benchtests/bench-strnlen.c: Likewise.
12267         * benchtests/bench-strpbrk.c: Likewise.
12268         * benchtests/bench-strrchr.c: Likewise.
12269         * benchtests/bench-strspn.c: Likewise.
12270         * benchtests/bench-strstr.c: Likewise.
12272 2013-09-04  Will Newton  <will.newton@linaro.org>
12274         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12276 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12278         [BZ #15427]
12279         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12280         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12281         * math/libm-test.inc (lgamma_test_data): Add more tests.
12282         * sysdeps/i386/fpu/libm-test-ulps: Update.
12283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12285 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12287         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12289         Add ifunc.
12290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12291         Add strcmp-sse2-unaligned
12292         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12294 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12296         * Versions.def (libc): Add GLIBC_2.19.
12298 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12300         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12301         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12303 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12305         [BZ #14155]
12306         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12307         intermediate calculations in recurrence.
12308         (__ieee754_ynf): Likewise.
12309         * math/libm-test.inc (jn_test_data): Do not allow spurious
12310         underflow exception.  Add more tests.
12311         (yn_test_data): Add more tests.
12312         * sysdeps/i386/fpu/libm-test-ulps: Update.
12313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12315 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12317         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12319 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12321         * csu/init-first.c: Fix then/than typos.
12322         * locale/programs/ld-collate.c: Likewise.
12323         * locale/programs/linereader.h: Likewise.
12324         * manual/charset.texi: Likewise.
12325         * manual/filesys.texi: Likewise.
12326         * manual/stdio.texi: Likewise.
12327         * manual/string.texi: Likewise.
12328         * stdlib/fmtmsg.c: Likewise.
12329         * sysdeps/i386/stpncpy.S: Likewise.
12330         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12331         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12332         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12333         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12335 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12337         * elf/dl-open.c: Fix typos.
12338         * iconvdata/gbbig5.c: Likewise.
12339         * iconvdata/iso-2022-jp.c: Likewise.
12340         * iconv/gconv_int.h: Likewise.
12341         * iconv/loop.c: Likewise.
12342         * nis/rpcsvc/nis.h: Likewise.
12343         * resolv/ns_name.c: Likewise.
12344         * stdio-common/vfscanf.c: Likewise.
12345         * streams/stropts.h: Likewise.
12346         * sunrpc/rpc_thread.c: Likewise.
12347         * sysdeps/i386/strpbrk.S: Likewise.
12348         * sysdeps/ieee754/k_standard.c: Likewise.
12349         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12350         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12351         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12352         * sysdeps/mach/hurd/profil.c: Likewise.
12353         * sysdeps/s390/dl-procinfo.h: Likewise.
12354         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12355         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12356         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12357         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12358         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12360 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12362         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12365 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12367         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12368         aix specific files.
12369         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12370         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12371         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12372         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12373         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12374         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12375         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12376         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12378 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12379             Roland McGrath  <roland@hack.frob.com>
12381         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12382         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12384 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12386         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12387         __executable_start symbol instead of _start.
12389 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12391         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12392         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12393         Move macros to...
12394         * sysdeps/gnu/ldsodefs.h: ... this new file.
12396         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12397         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12398         instead of ELFOSABI_LINUX.
12400         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12401         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12402         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12403         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12404         Likewise.
12405         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12406         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12407         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12408         Likewise.
12409         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12410         (ibm_extended_long_double): Add ieee_nan member.
12411         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12412         (do_test): New function.
12414         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12415         TEST_TRUNC.
12416         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12417         functions, renamed from truncdfsf_test, trunctfsf_test,
12418         trunctfdf_test.
12419         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12420         functions.
12421         (do_test): Run all these.
12423 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12425         * argp/argp-help.c: Fix typos.
12426         * argp/argp-parse.c: Likewise.
12427         * debug/backtracesyms.c: Likewise.
12428         * elf/elf.h: Likewise.
12429         * malloc/malloc.c: Likewise.
12430         * nis/nis_print.c: Likewise.
12431         * resolv/res_comp.c: Likewise.
12432         * stdlib/stdlib.h: Likewise.
12433         * sunrpc/clnt_tcp.c: Likewise.
12434         * sunrpc/clnt_udp.c: Likewise.
12435         * sunrpc/clnt_unix.c: Likewise.
12436         * sysdeps/unix/bsd/ptsname.c: Likewise.
12437         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12438         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12442         Likewise.
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12444         Likewise.
12445         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12447 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12449         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12452 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12454         [BZ #15897]
12455         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12456         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12457         ($(objpfx)bug-dl-leaf): New rule.
12458         ($(objpfx)bug-dl-leaf.so): Likewise.
12459         ($(objpfx)bug-dl-leaf.out): Likewise.
12460         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12461         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12462         * dlfcn/bug-dl-leaf.c: New test.
12463         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12464         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12465         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12466         (dlclose): Likewise.
12467         (dlmopen): Likewise.
12469 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12471         * include/netdb.h [!_ISOMAC]:
12472         Don't include <tls.h>.
12473         (h_errno, __libc_h_errno): Move declaration and macros out of
12474         [_LIBC_REENTRANT].
12476         * include/resolv.h [_RESOLV_H_]:
12477         Don't include <tls.h>.
12478         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12479         * resolv/res_libc.c: Don't include <tls.h>.
12480         (_res): Use __attribute__ ((nocommon)) in place of
12481         __attribute__ ((section (".bss"))).
12483         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12484         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12486         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12488         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12489         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12491         * resolv/res_mkquery.c: Include <sys/time.h>.
12493         * inet/ifreq.c: Moved to ...
12494         * sysdeps/unix/ifreq.c: ... here.
12495         * inet/ifreq.c: New file, true stub version.
12497         * socket/sa_len.c: New file.
12498         * socket/Makefile (aux): Add it.
12499         * sysdeps/unix/sysv/linux/Makefile
12500         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12501         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12502         and #include <socket/sa_len.c>.
12503         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12504         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12506         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12507         * bits/socket.h: ... here.
12509         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12510         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12511         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12513 2013-08-27  Andreas Schwab  <schwab@suse.de>
12515         [BZ #15736]
12516         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12517         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12518         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12519         * string/test-strcasecmp.c (test_main): Run tests in several
12520         locales.
12521         * string/test-strncasecmp.c (test_main): Likewise.
12523         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12524         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12525         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12526         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12527         (__strncasecmp_ssse3) [PIC]: Likewise.
12529 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12531         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12533         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12534         instead of explicitly declaring xdecrypt.
12535         * nis/nss_nis/nis-publickey.c: Likewise.
12537 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12539         [BZ #15890]
12540         * nscd/aicache.c: Include res_hconf.h.
12541         (addhstaiX): Initialize res_hconf.
12543 2013-08-26  Andreas Schwab  <schwab@suse.de>
12545         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12546         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12548 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12550         * nscd/aicache.c (addhstaiX): Fix indentation.
12552 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12554         * configure.ac: Quote $build_pt_chown test.
12555         * configure: Regenerated.
12557 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12559         [BZ #15532]
12560         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12561         * math/s_cexpf.c (__cexpf): Likewise.
12562         * math/s_cexpl.c (__cexpl): Likewise.
12563         * math/libm-test.inc (cexp_test_data): Correct expected return
12564         value for NaN + i0.  Add another test.
12566 2013-08-22  David S. Miller  <davem@davemloft.net>
12568         * po/ca.po: Update Catalan translation from translation project.
12569         * po/uk.po: Add Ukrainian translations from translation project.
12571 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12573         [BZ #15797]
12574         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12575         is infinite, not alongside NaN test.
12576         * math/s_fdimf.c (__fdimf): Likewise.
12577         * math/s_fdiml.c (__fdiml): Likewise.
12578         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12579         errno is unchanged.
12581 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12583         * argp/argp-help.c: Fix typos.
12584         * crypt/speeds.c: Likewise.
12585         * csu/check_fds.c: Likewise.
12586         * elf/dl-load.c: Likewise.
12587         * elf/dl-open.c: Likewise.
12588         * elf/reldep3.c: Likewise.
12589         * elf/reldep.c: Likewise.
12590         * elf/sprof.c: Likewise.
12591         * iconv/iconv_charmap.c: Likewise.
12592         * iconv/skeleton.c: Likewise.
12593         * iconv/strtab.c: Likewise.
12594         * io/lockf64.c: Likewise.
12595         * libio/libioP.h: Likewise.
12596         * resolv/gai_notify.c: Likewise.
12597         * resolv/ns_name.c: Likewise.
12598         * resolv/ns_samedomain.c: Likewise.
12599         * resolv/res_send.c: Likewise.
12600         * stdlib/random.c: Likewise.
12601         * sunrpc/rpc/xdr.h: Likewise.
12602         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12603         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12604         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12605         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12606         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12607         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12609         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12610         * sysdeps/mach/hurd/check_fds.c: Likewise.
12611         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12612         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12613         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12614         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12615         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12616         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12617         * sysdeps/pthread/aio_notify.c: Likewise.
12618         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12619         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12620         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12621         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12622         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12624 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12626         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12627         version if bit_Slow_SSE4_2 is set.
12628         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12629         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12631 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12633         [BZ #15867]
12634         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12635         trampoline stack frame information.
12636         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12637         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12638         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12639         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12640         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12641         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12642         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12643         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12644         sa_flags value.
12645         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12646         interrupting a syscall and set with option SA_SIGINFO.
12648 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12650         [BZ #15531]
12651         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12652         argument is infinite.
12653         * math/s_cprojf.c (__cprojf): Likewise.
12654         * math/s_cprojl.c (__cprojl): Likewise.
12655         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12656         * math/libm-test.inc (cproj_test_data): Add more tests.
12658         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12660         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12661         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12662         size.  Use __ffs to determine corresponding shift.
12664 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12665             Roland McGrath  <roland@hack.frob.com>
12667         * Makefile (INSTALL): Remove trailing blank lines from output of
12668         makeinfo.
12670 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12672         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12673         Align 32 bit compat elf_greg to 8 bytes.
12675 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12677         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12679 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12681         * string/strcoll_l.c (coll_seq): New structure.
12682         (get_next_seq_cached): New function.
12683         (get_next_seq): New function.
12684         (do_compare): New function.
12685         (STRCOLL): Use GNU style definition.  Simplify implementation
12686         by using get_next_seq, get_next_seq_cached and do_compare.
12688 2013-08-16  Florian Weimer  <fweimer@redhat.com>
12690         [BZ #14699]
12691         CVE-2013-4237
12692         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12693         member.
12694         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12695         member.
12696         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12697         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12698         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
12699         conditional.
12700         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12701         GETDENTS_64BIT_ALIGNED.
12702         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12703         * manual/filesys.texi (Reading/Closing Directory): Document
12704         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
12705         strongly.
12706         * manual/conf.texi (Limits for Files): Add portability note to
12707         NAME_MAX, PATH_MAX.
12708         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12710 2013-08-13  Andreas Schwab  <schwab@suse.de>
12712         [BZ #15749]
12713         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12714         of fabs.
12715         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12716         LDBL_MAX_EXP >= 16384]: Add tests for it.
12718 2013-08-12  David S. Miller  <davem@davemloft.net>
12720         * version.h (RELEASE): Set to "development".
12721         (VERSION): Set to "2.18.90".
12722         * NEWS: Add 2.19 section.
12724 2013-08-03  David S. Miller  <davem@davemloft.net>
12726         * po/ko.po: Update Korean translation from translation project.
12728 2013-08-01  David S. Miller  <davem@davemloft.net>
12730         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
12731         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12732         Bilka.
12734 2013-07-30  David S. Miller  <davem@davemloft.net>
12736         * po/fr.po: Update French translation from translation project.
12738 2013-07-28  David S. Miller  <davem@davemloft.net>
12740         * po/cs.po: Update Czech translation from translation project.
12742         * po/sv.po: Update Swedish translation from translation project.
12744 2013-07-27  David S. Miller  <davem@davemloft.net>
12746         * po/eo.po: Update Esperanto translation from translation project.
12748         * po/vi.po: Update Vietnamese translation from translation project.
12750         * po/de.po: Update German translation from translation project.
12752 2013-07-26  David S. Miller  <davem@davemloft.net>
12754         * po/bg.po: Update Bulgarian translation from translation project.
12756         * po/nl.po: Update Dutch translation from translation project.
12757         * po/pl.po: Update Polish translation from translation project.
12758         * po/ru.po: Update Russian translation from translation project.
12760 2013-07-24  David S. Miller  <davem@davemloft.net>
12762         * po/libc.pot: Update.
12764 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12766         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12767         variable page size.
12768         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12769         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12770         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12772 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12774         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12776 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12777             Andreas Schwab  <schwab@suse.de>
12778             Roland McGrath  <roland@hack.frob.com>
12779             Joseph Myers  <joseph@codesourcery.com>
12780             Carlos O'Donell  <carlos@redhat.com>
12782         [BZ #15755]
12783         * config.h.in: Define HAVE_PT_CHOWN.
12784         * config.make.in (build-pt-chown): New variable.
12785         * configure.in (--enable-pt_chown): New configure option.
12786         * configure: Regenerate.
12787         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12788         build-pt-chown is enabled.
12789         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12790         pt_chown to fix pty ownership.
12791         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12792         CLOSE_ALL_FDS.
12793         * manual/install.texi (Configuring and compiling): Mention
12794         --enable-pt_chown. Add @findex for grantpt.
12795         * INSTALL: Regenerate.
12797 2013-07-20  David S. Miller  <davem@davemloft.net>
12799         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12800         difference between 32-bit and 64-bit.
12802 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12804         [BZ #15711]
12805         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12806         Avoid system header dependency with -ffreestanding.
12807         ($(objpfx)bits/syscall%d): Likewise.
12809 2013-07-13  David S. Miller  <davem@davemloft.net>
12811         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12812         underflows from atanl/atan2l due to bug 15319.
12813         (casinh_test_data): Likewise.
12815 2013-07-07  David S. Miller  <davem@davemloft.net>
12817         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12819 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12821         * sysdeps/i386/fpu/libm-test-ulps: Update.
12822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12824 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12826         * configure.in (--enable-lock-elision): Fix message text.
12827         * INSTALL: Regenerate.
12828         * configure: Regenerate.
12830 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12834 2013-07-03  Andreas Jaeger  <aj@suse.de>
12836         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12837         define.
12838         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12839         (ptrace_peeksiginfo_args): Add.
12840         (__ptrace_peeksiginfo_flags): Add.
12841         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12842         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12843         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12845 2013-07-03  Allan McRae  <allan@archlinux.org>
12847         * sysdeps/i386/fpu/libm-test-ulps: Update.
12849 2013-07-02  David S. Miller  <davem@davemloft.net>
12851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12853 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12857 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12859         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12862 2013-07-02  Andi Kleen <ak@linux.intel.com>
12864         * config.h.in (ENABLE_LOCK_ELISION): Add.
12865         * configure.in (--enable-lock-elision): Add option.
12866         * manual/install.texi: Document --enable lock elision.
12867         * configure: Regenerate
12868         * INSTALL: Regenerate.
12870 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12872         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12873         SSE4.2 strcasecmp for libc.a.
12874         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12876 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12878         [BZ #13304]
12879         * soft-fp/op-common.h (_FP_FMA): New macro.
12880         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12881         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12882         (_FP_MUL_MEAT_1_imm): ... here.
12883         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12884         (_FP_MUL_MEAT_1_wide): ... here.
12885         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12886         (_FP_MUL_MEAT_1_hard): ... here.
12887         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12888         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12889         (_FP_MUL_MEAT_2_wide): ... here.
12890         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12891         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12892         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12893         (_FP_MUL_MEAT_2_gmp): ... here.
12894         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12895         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12896         (_FP_MUL_MEAT_4_wide): ... here.
12897         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12898         (_FP_MUL_MEAT_4_gmp): ... here.
12899         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12900         (_FP_WFRACBITS_DW_S): Likewise.
12901         (_FP_WFRACXBITS_DW_S): Likewise.
12902         (_FP_HIGHBIT_DW_S): Likewise.
12903         (FP_FMA_S): Likewise.
12904         (_FP_FRAC_HIGH_DW_S): Likewise.
12905         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12906         (_FP_WFRACBITS_DW_D): Likewise.
12907         (_FP_WFRACXBITS_DW_D): Likewise.
12908         (_FP_HIGHBIT_DW_D): Likewise.
12909         (FP_FMA_D): Likewise.
12910         (_FP_FRAC_HIGH_DW_D): Likewise.
12911         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12912         (_FP_WFRACBITS_DW_E): Likewise.
12913         (_FP_WFRACXBITS_DW_E): Likewise.
12914         (_FP_HIGHBIT_DW_E): Likewise.
12915         (FP_FMA_E): Likewise.
12916         (_FP_FRAC_HIGH_DW_E): Likewise.
12917         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12918         (_FP_WFRACBITS_DW_Q): Likewise.
12919         (_FP_WFRACXBITS_DW_Q): Likewise.
12920         (_FP_HIGHBIT_DW_Q): Likewise.
12921         (FP_FMA_Q): Likewise.
12922         (_FP_FRAC_HIGH_DW_Q): Likewise.
12923         * soft-fp/fmasf4.c: New file.
12924         * soft-fp/fmadf4.c: Likewise.
12925         * soft-fp/fmatf4.c: Likewise.
12927 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12930         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12931         Silvermont.
12932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12933         macro.
12934         (index_Slow_SSE4_2): Likewise.
12935         (index_Prefer_PMINUB_for_stringop): Likewise.
12936         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12937         bit_Slow_SSE4_2 is set.
12938         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12939         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12941 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12943         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12944         rtld_global._dl_hwcap2.
12945         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12946         POWER8.
12947         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12948         POWER8 feature descriptions defined in _dl_hwcap2.
12949         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12950         string handling for POWER8 feature bits.
12951         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12952         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12953         _dl_powerpc_cap_flags.
12954         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12955         * sysdeps/powerpc/rtld-global-offsets.sym
12956         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12957         _dl_hwcap2 in the rtld_global_ro structure.
12959 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12961         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12962         hardware capabilities in support of AT_HWCAP2.
12963         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12964         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12965         GLRO(dl_hwcap2).
12966         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12967         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12968         explicitly the unknown a_type display mechanism is used.
12969         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12970         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12971         struct member.
12972         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12973         to macro prototype for AT_HWCAP2 support.
12974         * sysdeps/i386/dl-procinfo.h: Likewise.
12975         * sysdeps/s390/dl-procinfo.h: Likewise.
12976         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12977         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12978         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12979         return -1 for unknown a_type display fallback.
12980         * sysdeps/sparc/dl-procinfo.h: Likewise.
12981         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12982         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12984 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12986         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12987         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12989 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12991         [BZ #12492]
12992         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12993         mprotect making __stack_prot writable.
12995 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12996             Joseph Myers  <joseph@codesourcery.com>
12998         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12999         as being properly aligned.
13001 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13003         * dlfcn/modstatic5.c: New file.
13004         * dlfcn/tststatic5.c: New file.
13005         * dlfcn/Makefile (tests): Add tststatic5.
13006         (tests-static): Likewise.
13007         (modules-names): Add modstatic5.
13008         (tststatic5-ENV): New variable.
13009         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13011         [BZ #15022]
13012         * elf/dl-support.c (_dl_main_map): New variable.
13013         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13014         (_dl_nns, _dl_load_adds): Set to 1.
13015         (_dl_initial_searchlist): Refer to _dl_main_map.
13016         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13017         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13018         call to _dl_get_origin.
13019         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13020         around call_map.
13021         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13022         * dlfcn/modstatic3.c: New file.
13023         * dlfcn/tststatic3.c: New file.
13024         * dlfcn/tststatic4.c: New file.
13025         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13026         (tests-static): Likewise.
13027         (modules-names): Add modstatic3.
13028         (tststatic3-ENV, tststatic4-ENV): New variables.
13029         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13030         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13032 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13034         * configure.in (CC): Require GCC version 4.4 or later.
13035         * configure: Regenerated.
13036         * manual/install.texi (Tools for Compilation): Update GCC version
13037         requirement.
13038         * INSTALL: Regenerated.
13040 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13042         [BZ #15674]
13043         * string/test-memcmp.c (check2): New.
13044         (main): Call check2.
13046         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13048 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13050         [BZ #15022]
13051         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13052         over to...
13053         (dl_open_worker) [!SHARED]: ... here.
13055 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13057         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13059 2013-06-25  Richard Henderson  <rth@redhat.com>
13061         * locale/programs/locarchive.c: Include <libc-internal.h>
13063 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13065         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13066         trailing whitespace removed.
13068 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13070         [BZ #10283]
13071         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13072         * locale/programs/locarchive.c: Include libc-mmap.h.
13073         (prepare_address_space): Take two new outputs (the mmap base and len).
13074         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13075         values.
13076         (create_archive): Declare new mmap base and len values for
13077         prepare_address_space, and store the result in ah.
13078         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13079         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13080         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13081         Declare new mmap base and len values for
13082         prepare_address_space, and store the result in new_ah.
13083         (open_archive): Declare new mmap base and len values for
13084         prepare_address_space, and store the result in ah.
13085         (close_archive): If ah->mmap_base is not NULL, use that and
13086         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13087         * sysdeps/generic/libc-mmap.h: New file.
13089 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13091         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13092         (ALIGN_UP): Likewise.
13093         (PTR_ALIGN_DOWN): Likewise.
13094         (PTR_ALIGN_UP): Likewise.
13096 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13098         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13099         entry mapped to PPC_PLATFORM_POWER8.
13100         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13101         POWER8.
13102         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13103         (_dl_string_platform): Add case for exporting platform position for
13104         POWER8.
13105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13106         search path to sysdeps/powerpc/powerpc32/power8 directory.
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13108         search path to sysdeps/powerpc/powerpc64/power8 directory.
13109         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13110         power7 directories.
13111         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13112         power7 directories.
13114 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13116         * INSTALL: Regenerate.
13118         * nscd/connections.c (nscd_init): Fix comment.
13120 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13122         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13124         [BZ #15667]
13125         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13126         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13128 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13130         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13131         DL_DST_REQ_STATIC.
13132         (DL_DST_REQ_STATIC): Remove macro.
13134 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13136         [BZ #7006]
13137         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13138         with a shift of 0 bits.
13140 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13142         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13143         $(tststatic-ENV).
13145 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13147         [BZ #15655]
13148         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13150 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13152         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13153         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13154         accepts -fno-tree-loop-distribute-patterns.
13155         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13156         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13157         recursive call.
13158         * string/memset.c (memset): Likewise.
13159         * string/test-memmove.c (simple_memmove): Disable loop transformation
13160         to library calls.
13161         * string/test-memset.c (simple_memset): Likewise.
13162         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13163         * benchtests/bench-memset.c (simple_memset): Likewise.
13164         * configure: Regenerated.
13166 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13168         * math/test-misc.c (main): Ignore fesetround failure when failures
13169         of subsequent rounding tests would be ignored.
13171         [BZ #15654]
13172         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13173         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13174         * math/fegetenv.c (__fegetenv): Return 0.
13175         * math/fegetexcept.c (fegetexcept): Return 0.
13176         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13177         FE_TONEAREST.
13178         * math/feholdexcpt.c (feholdexcept): Return 0.
13179         * math/fesetenv.c (__fesetenv): Return 0.
13180         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13181         argument FE_TONEAREST.
13182         * math/feupdateenv.c (__feupdateenv): Return 0.
13183         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13185 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13187         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13188         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13189         ($(objpfx)rtld-%.os rules): Use them.
13191 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13193         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13194         fields.
13196 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13198         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13199         length of target pattern, then descending length of dependency pattern.
13200         * configure.in (AWK): Require gawk 3.1.2 or newer.
13201         * manual/install.texi (Tools for Compilation): Say that we do.
13202         * configure: Regenerated.
13204         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13205         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13206         * scripts/sysd-rules.awk: ... this new script.
13207         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13208         than a glob-style pattern.
13210 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13212         * math/test-misc.c (main): Do not treat incorrectly rounded
13213         conversions as failure unless ROUNDING_TESTS passes.
13215 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #15631]
13218         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13219         restore exception state around main square root computation, then
13220         check for inexactness explicitly.
13222         * math/libm-test.inc (fma_test_data): Add another test.
13224 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13226         * manual/threads.texi (Non-POSIX Extensions): New document
13227         node.  Document pthread_getattr_default_np and
13228         pthread_setattr_default_np.
13230         * Versions.def (libpthread): Add GLIBC_2.18.
13231         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13233         Likewise.
13234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13235         Likewise.
13236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13237         Likewise.
13238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13239         Likewise.
13240         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13241         Likewise.
13242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13243         Likewise.
13244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13245         Likewise.
13246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13247         Likewise.
13248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13249         Likewise.
13251 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13254         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13256 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13257             H.J. Lu  <hjl.tools@gmail.com>
13259         [BZ #15627]
13260         * sysdeps/x86_64/rtld-memset.c: Remove file.
13261         * sysdeps/x86_64/rtld-memset.S: New file.
13263 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13265         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13266         (test_in_one_mode): Take arguments for whether the rounding mode
13267         is supported for each floating-point type.
13268         (do_test): Pass new arguments to test_in_one_mode using
13269         ROUNDING_TESTS.
13271 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13273         * posix/tst-waitid.c (do_test): Distinguish different instances of
13274         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13275         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13276         before entering the kernel for waitpid.
13278 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13280         * NEWS: Fix note on clock function precision.  Text by Roland
13281         McGrath.
13283 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13285         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13286         it into place only when and if the sanity check passes.
13288 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13290         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13291         output for whether conversion result is exact.  Take argument
13292         indicating whether type is IBM long double.
13293         (round_for_all): Change need_exact field to ibm_ld.
13294         * stdlib/tst-strtod-round.c (struct exactness): New type.
13295         (struct test): Change bool ld_ok field to struct exactness exact.
13296         (TEST): Update all definitions for change to field.
13297         (tests): Regenerate array contents.
13298         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13299         field value.  Check for IBM long double here.
13300         (do_test): Update calls to test_in_one_mode.
13302 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13304         [BZ #12515]
13305         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13306         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13308 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13310         [BZ #15605]
13311         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13312         generated by the compiler on loop optimizations.
13313         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13314         general definitions.
13316 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13318         * math/bug-nextafter.c: Include <math-tests.h>.
13319         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13320         the relevant type.
13321         * math/bug-nexttoward.c: Include <math-tests.h>.
13322         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13323         the relevant type.
13324         * math/test-misc.c: Include <math-tests.h>.
13325         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13326         the relevant type.
13328 2013-06-12  Andreas Jaeger  <aj@suse.de>
13330         * po/ia.po: Update Interlingua translation from translation
13331         project.
13333 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13335         * include/fenv.h: Include stdbool.h.
13336         (struct rm_ctx): New structure.
13337         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13338         Define macro.
13339         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13340         (SET_RESTORE_ROUNDF): Likewise.
13341         (SET_RESTORE_ROUNDL): Likewise.
13342         (SET_RESTORE_ROUND_NOEX): Likewise.
13343         (SET_RESTORE_ROUND_NOEXF): Likewise.
13344         (SET_RESTORE_ROUND_NOEXL): Likewise.
13345         (SET_RESTORE_ROUND_53BIT): Likewise.
13346         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13347         (libc_feresetround_noexf_ctx): Likewise.
13348         (libc_feresetround_noexl_ctx): Likewise.
13349         (libc_feholdsetround_53bit_ctx): Likewise.
13350         (libc_feresetround_53bit_ctx): Likewise.
13351         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13352         (libc_feholdexcept_setround_sse_ctx): New function.
13353         (libc_fesetenv_sse_ctx): Likewise.
13354         (libc_feupdateenv_sse_ctx): Likewise.
13355         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13356         (libc_feholdexcept_setround_387_ctx): Likewise.
13357         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13358         (libc_feholdsetround_387_prec_ctx): Likewise.
13359         (libc_feholdsetround_387_ctx): Likewise.
13360         (libc_feholdsetround_387_53bit_ctx): Likewise.
13361         (libc_feholdsetround_sse_ctx): Likewise.
13362         (libc_feresetround_sse_ctx): Likewise.
13363         (libc_feresetround_387_ctx): Likewise.
13364         (libc_feupdateenv_387_ctx): Likewise.
13365         (libc_feholdexcept_setroundf_ctx): Define macro.
13366         (libc_fesetenvf_ctx): Likewise.
13367         (libc_feupdateenvf_ctx): Likewise.
13368         (libc_feholdsetroundf_ctx): Likewise.
13369         (libc_feresetroundf_ctx): Likewise.
13370         (libc_feholdexcept_setround_ctx): Likewise.
13371         (libc_fesetenv_ctx): Likewise.
13372         (libc_feupdateenv_ctx): Likewise.
13373         (libc_feholdsetround_ctx): Likewise.
13374         (libc_feresetround_ctx): Likewise.
13375         (libc_feholdexcept_setroundl_ctx): Likewise.
13376         (libc_feupdateenvl_ctx): Likewise.
13377         (libc_feholdsetroundl_ctx): Likewise.
13378         (libc_feresetroundl_ctx): Likewise.
13379         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13380         (libc_feresetround_53bit_ctx): Likewise.
13382 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13384         * locale/iso-639.def: Convert to UTF-8.
13386 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13388         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13389         (EXCEPTION_TESTS_double): Likewise.
13390         (EXCEPTION_TESTS_long_double): Likewise.
13391         (EXCEPTION_TESTS): Likewise.
13392         * math/libm-test.inc (test_exceptions): Only test exceptions if
13393         EXCEPTION_TESTS (FLOAT).
13395 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13397         * benchtests/Makefile (string-bench): Add strcpy_chk and
13398         stpcpy_chk.
13399         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13400         * benchtests/bench-stpcpy_chk.c: New file.
13401         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13402         * benchtests/bench-strcpy_chk.c: New file.
13403         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13404         code.
13405         (do_test): Likewise.
13407 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13409         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13410         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13411         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13412         with tabs where appropriate.
13413         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13414         dl-procinfo.h.
13415         [PPC_PLATFORM_PPC440]: Likewise.
13416         [PPC_PLATFORM_PPC464]: Likewise.
13417         [PPC_PLATFORM_PPC476]: Likewise.
13418         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13419         ppc464, and ppc476 platform strings merging from ports/
13420         dl-procinfo.h.
13422 2013-06-11  Andreas Schwab  <schwab@suse.de>
13424         [BZ #14991]
13425         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13426         (from_ucs4_idx): Regenerate.
13427         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13428         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13429         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13430         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13431         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13432         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13433         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13434         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13435         from FROM_LOOP and TO_LOOP specific macros.
13436         (BODY): Handle combining characters.
13437         * iconvdata/BIG5HKSCS.irreversible: Update.
13438         * iconvdata/BIG5HKSCS.precomposed: New file.
13439         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13440         characters.
13441         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13443 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13445         * include/sys/time.h: Fix indentation and add copyright header.
13447         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13448         (do_test): Likewise.
13449         * string/test-memchr.c (do_one_test): Likewise.
13450         (do_test): Likewise.
13451         * string/test-memcmp.c (do_one_test): Likewise.
13452         (do_test): Likewise.
13453         * string/test-memcpy.c (do_one_test): Likewise.
13454         (do_test): Likewise.
13455         * string/test-memmem.c (do_one_test): Likewise.
13456         (do_test): Likewise.
13457         (do_random_tests): Likewise.
13458         * string/test-memmove.c (do_one_test): Likewise.
13459         (do_test): Likewise.
13460         * string/test-memset.c (do_one_test): Likewise.
13461         (do_test): Likewise.
13462         * string/test-rawmemchr.c (do_one_test): Likewise.
13463         (do_test): Likewise.
13464         * string/test-strcasecmp.c (do_one_test): Likewise.
13465         (do_test): Likewise.
13466         * string/test-strcasestr.c (do_one_test): Likewise.
13467         (do_test): Likewise.
13468         * string/test-strcat.c (do_one_test): Likewise.
13469         (do_test): Likewise.
13470         * string/test-strchr.c (do_one_test): Likewise.
13471         (do_test): Likewise.
13472         * string/test-strcmp.c (do_one_test): Likewise.
13473         (do_test): Likewise.
13474         * string/test-strcpy.c (do_one_test): Likewise.
13475         (do_test): Likewise.
13476         * string/test-string.h: Likewise.
13477         (test_init): Likewise.
13478         * string/test-strlen.c (do_one_test): Likewise.
13479         (do_test): Likewise.
13480         * string/test-strncasecmp.c (do_one_test): Likewise.
13481         (do_test): Likewise.
13482         * string/test-strncat.c (do_one_test): Likewise.
13483         (do_test): Likewise.
13484         * string/test-strncmp.c (do_one_test): Likewise.
13485         (do_test_limit): Likewise.
13486         (do_test): Likewise.
13487         * string/test-strncpy.c (do_one_test): Likewise.
13488         (do_test): Likewise.
13489         * string/test-strnlen.c (do_one_test): Likewise.
13490         (do_test): Likewise.
13491         * string/test-strpbrk.c (do_one_test): Likewise.
13492         (do_test): Likewise.
13493         * string/test-strrchr.c (do_one_test): Likewise.
13494         (do_test): Likewise.
13495         * string/test-strspn.c (do_one_test): Likewise.
13496         (do_test): Likewise.
13497         * string/test-strstr.c (do_one_test): Likewise.
13498         (do_test): Likewise.
13500         * benchtests/Makefile (string-bench): Add string benchmarks.
13501         * benchtests/bench-bcopy-ifunc.c: New file.
13502         * benchtests/bench-bcopy.c: New file.
13503         * benchtests/bench-bzero-ifunc.c: New file.
13504         * benchtests/bench-bzero.c: New file.
13505         * benchtests/bench-memccpy-ifunc.c: New file.
13506         * benchtests/bench-memccpy.c: New file.
13507         * benchtests/bench-memchr-ifunc.c: New file.
13508         * benchtests/bench-memchr.c: New file.
13509         * benchtests/bench-memcmp-ifunc.c: New file.
13510         * benchtests/bench-memcmp.c: New file.
13511         * benchtests/bench-memmem-ifunc.c: New file.
13512         * benchtests/bench-memmem.c: New file.
13513         * benchtests/bench-memmove-ifunc.c: New file.
13514         * benchtests/bench-memmove.c: New file.
13515         * benchtests/bench-mempcpy-ifunc.c: New file.
13516         * benchtests/bench-mempcpy.c: New file.
13517         * benchtests/bench-memset-ifunc.c: New file.
13518         * benchtests/bench-memset.c: New file.
13519         * benchtests/bench-rawmemchr-ifunc.c: New file.
13520         * benchtests/bench-rawmemchr.c: New file.
13521         * benchtests/bench-stpcpy-ifunc.c: New file.
13522         * benchtests/bench-stpcpy.c: New file.
13523         * benchtests/bench-stpncpy-ifunc.c: New file.
13524         * benchtests/bench-stpncpy.c: New file.
13525         * benchtests/bench-strcasecmp-ifunc.c: New file.
13526         * benchtests/bench-strcasecmp.c: New file.
13527         * benchtests/bench-strcasestr-ifunc.c: New file.
13528         * benchtests/bench-strcasestr.c: New file.
13529         * benchtests/bench-strcat-ifunc.c: New file.
13530         * benchtests/bench-strcat.c: New file.
13531         * benchtests/bench-strchr-ifunc.c: New file.
13532         * benchtests/bench-strchr.c: New file.
13533         * benchtests/bench-strchrnul-ifunc.c: New file.
13534         * benchtests/bench-strchrnul.c: New file.
13535         * benchtests/bench-strcmp-ifunc.c: New file.
13536         * benchtests/bench-strcmp.c: New file.
13537         * benchtests/bench-strcpy-ifunc.c: New file.
13538         * benchtests/bench-strcpy.c: New file.
13539         * benchtests/bench-strcspn-ifunc.c: New file.
13540         * benchtests/bench-strcspn.c: New file.
13541         * benchtests/bench-strlen-ifunc.c: New file.
13542         * benchtests/bench-strlen.c: New file.
13543         * benchtests/bench-strncasecmp-ifunc.c: New file.
13544         * benchtests/bench-strncasecmp.c: New file.
13545         * benchtests/bench-strncat-ifunc.c: New file.
13546         * benchtests/bench-strncat.c: New file.
13547         * benchtests/bench-strncmp-ifunc.c: New file.
13548         * benchtests/bench-strncmp.c: New file.
13549         * benchtests/bench-strncpy-ifunc.c: New file.
13550         * benchtests/bench-strncpy.c: New file.
13551         * benchtests/bench-strnlen-ifunc.c: New file.
13552         * benchtests/bench-strnlen.c: New file.
13553         * benchtests/bench-strpbrk-ifunc.c: New file.
13554         * benchtests/bench-strpbrk.c: New file.
13555         * benchtests/bench-strrchr-ifunc.c: New file.
13556         * benchtests/bench-strrchr.c: New file.
13557         * benchtests/bench-strspn-ifunc.c: New file.
13558         * benchtests/bench-strspn.c: New file.
13559         * benchtests/bench-strstr-ifunc.c: New file.
13560         * benchtests/bench-strstr.c: New file.
13562         * benchtests/Makefile: Disable parallel execution of targets.
13563         (string-bench): Add memcpy.
13564         (benchset): New variable to store a list of benchmark sets.
13565         (bench-func): Renamed from bench.
13566         (bench-set): New target.
13567         (bench): Depend on bench-func and bench-set.
13568         * benchtests/README: Add section on benchmark sets.
13569         * benchtests/bench-memcpy-ifunc.c: New file.
13570         * benchtests/bench-memcpy.c: New file.
13571         * benchtests/bench-string.h: New file.
13573 2013-06-11  Andreas Schwab  <schwab@suse.de>
13575         [BZ #15577]
13576         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13577         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13578         values in the triple.
13579         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13580         terminator in the group key.
13582 2013-06-11  Andreas Jaeger  <aj@suse.de>
13584         * po/zh_TW.po: Update Chinese (traditional) translation from
13585         translation project.
13587 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13589         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13590         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13591         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13592         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13593         (clock_getcpuclockid): Likewise.
13594         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13595         Add weak_alias and libc_hidden_def.
13596         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13597         * rt/clock_gettime.c (clock_gettime): Rename to
13598         __clock_gettime.  Add weak_alias and libc_hidden_def.
13599         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13600         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13601         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13602         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13603         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13604         Likewise.
13605         * rt/clock_settime.c (clock_settime): Rename to
13606         __clock_settime.  Add weak_alias and libc_hidden_def.
13607         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13609 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13611         * mach/err_boot.sub: Remove trailing whitespace.
13612         * mach/err_ipc.sub: Likewise.
13613         * mach/err_mach.sub: Likewise.
13615         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13616         (ROUNDING_TESTS_double): Likewise.
13617         (ROUNDING_TESTS_long_double): Likewise.
13618         (ROUNDING_TESTS): Likewise.
13619         * math/libm-test.inc: Include <math-tests.h>.
13620         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13621         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13622         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13623         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13625 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13627         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13628         of assigning.
13630 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13632         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13633         otherwise empty TRANS lines.
13634         * sysdeps/gnu/errlist.c: Regenerated.
13636         * catgets/gencat.c (error_print): Use (void) in function
13637         definition.
13638         * crypt/crypt_util.c (__init_des): Likewise.
13639         * crypt/speeds.c (Stop): Likewise.
13640         (main): Likewise.
13641         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13642         * inet/ruserpass.c (token): Likewise.
13643         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13644         * intl/localealias.c (extend_alias_table): Likewise.
13645         * intl/plural-exp.c (init_germanic_plural): Likewise.
13646         * libio/fcloseall.c (__fcloseall): Likewise.
13647         * libio/genops.c (_IO_flush_all): Likewise.
13648         (_IO_flush_all_linebuffered): Likewise.
13649         (_IO_cleanup): Likewise.
13650         (_IO_iter_begin): Likewise.
13651         (_IO_iter_end): Likewise.
13652         (_IO_list_lock): Likewise.
13653         (_IO_list_unlock): Likewise.
13654         (_IO_list_resetlock): Likewise.
13655         * libio/getchar.c (getchar): Likewise.
13656         * libio/getchar_u.c (getchar_unlocked): Likewise.
13657         * libio/getwchar.c (getwchar): Likewise.
13658         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13659         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13660         * login/getpt.c (__getpt): Likewise.
13661         * login/tst-utmp.c (main): Likewise.
13662         * malloc/hooks.c (__malloc_check_init): Likewise.
13663         * malloc/malloc.c (__malloc_stats): Likewise.
13664         * malloc/mtrace.c (tr_break): Likewise.
13665         (mtrace): Likewise.
13666         (muntrace): Likewise.
13667         * misc/fstab.c (endfsent): Likewise.
13668         * misc/getclktck.c (__getclktck): Likewise.
13669         * misc/getdtsz.c (__getdtablesize): Likewise.
13670         * misc/gethostid.c (gethostid): Likewise.
13671         * misc/getpagesize.c (__getpagesize): Likewise.
13672         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13673         (__get_nprocs): Likewise.
13674         (__get_phys_pages): Likewise.
13675         (__get_avphys_pages): Likewise.
13676         * misc/getttyent.c (getttyent): Likewise.
13677         (setttyent): Likewise.
13678         (endttyent): Likewise.
13679         * misc/getusershell.c (getusershell): Likewise.
13680         (endusershell): Likewise.
13681         (setusershell): Likewise.
13682         (initshells): Likewise.
13683         * misc/hsearch.c (__hdestroy): Likewise.
13684         * misc/sync.c (sync): Likewise.
13685         * misc/syslog.c (closelog_internal): Likewise.
13686         (closelog): Likewise.
13687         * misc/ttyslot.c (ttyslot): Likewise.
13688         * misc/vhangup.c (vhangup): Likewise.
13689         * posix/fork.c (__fork): Likewise.
13690         * posix/getegid.c (__getegid): Likewise.
13691         * posix/geteuid.c (__geteuid): Likewise.
13692         * posix/getgid.c (__getgid): Likewise.
13693         * posix/getpid.c (__getpid): Likewise.
13694         * posix/getppid.c (__getppid): Likewise.
13695         * posix/getuid.c (__getuid): Likewise.
13696         * posix/pause.c (pause): Likewise.
13697         * posix/setpgrp.c (setpgrp): Likewise.
13698         * posix/setsid.c (__setsid): Likewise.
13699         * posix/test-vfork.c (noop): Likewise.
13700         * resolv/gethnamaddr.c (_endhtent): Likewise.
13701         (_gethtent): Likewise.
13702         (ht_endhostent): Likewise.
13703         (gethostent): Likewise.
13704         (dns_service): Likewise.
13705         * stdlib/drand48.c (drand48): Likewise.
13706         * stdlib/lrand48.c (lrand48): Likewise.
13707         * stdlib/mrand48.c (mrand48): Likewise.
13708         * stdlib/rand.c (rand): Likewise.
13709         * stdlib/random.c (__random): Likewise.
13710         * stdlib/setenv.c (clearenv): Likewise.
13711         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13712         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13713         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13714         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13715         (__get_nprocs): Likewise.
13716         (__get_phys_pages): Likewise.
13717         (__get_avphys_pages): Likewise.
13718         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13719         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13720         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13721         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13722         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13723         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13724         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13725         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13726         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13727         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13728         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13729         * sysdeps/mach/hurd/sync.c (sync): Likewise.
13730         * sysdeps/posix/clock.c (clock): Likewise.
13731         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13732         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13733         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13734         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13735         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13736         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13737         (__get_nprocs_conf): Likewise.
13738         (__get_phys_pages): Likewise.
13739         (__get_avphys_pages): Likewise.
13740         * time/clock.c (clock): Likewise.
13741         * time/tzset.c (__tzname_max): Likewise.
13743 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
13745         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13746         (__bswap_32): Do not use "register".
13747         * crypt/crypt.c (_ufc_doit_r): Likewise.
13748         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13749         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13750         * gmon/gmon.c (__monstartup): Likewise.
13751         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13752         * hurd/hurdmalloc.c (more_memory): Likewise.
13753         (malloc): Likewise.
13754         (free): Likewise.
13755         (realloc): Likewise.
13756         (malloc_fork_prepare): Likewise.
13757         (malloc_fork_parent): Likewise.
13758         (malloc_fork_child): Likewise.
13759         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13760         (_svcauth_des): Likewise.
13761         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13762         * inet/inet_net.c (inet_network): Likewise.
13763         * inet/inet_netof.c (inet_netof): Likewise.
13764         * inet/rcmd.c (__validuser2_sa): Likewise.
13765         * io/fts.c (fts_open): Likewise.
13766         (fts_load): Likewise.
13767         (fts_close): Likewise.
13768         (fts_read): Likewise.
13769         (fts_children): Likewise.
13770         (fts_build): Likewise.
13771         (fts_stat): Likewise.
13772         (fts_sort): Likewise.
13773         (fts_alloc): Likewise.
13774         (fts_lfree): Likewise.
13775         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13776         (_IO_file_xsgetn): Likewise.
13777         (_IO_file_xsgetn_mmap): Likewise.
13778         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13779         (_IO_cookie_write): Likewise.
13780         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13781         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13782         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13783         * malloc/obstack.c (_obstack_begin): Likewise.
13784         (_obstack_begin_1): Likewise.
13785         (_obstack_newchunk): Likewise.
13786         (_obstack_allocated_p): Likewise.
13787         (obstack_free): Likewise.
13788         (_obstack_memory_used): Likewise.
13789         * misc/getttyent.c (getttynam): Likewise.
13790         (getttyent): Likewise.
13791         (skip): Likewise.
13792         (value): Likewise.
13793         * misc/getusershell.c (initshells): Likewise.
13794         * misc/syslog.c (__vsyslog_chk): Likewise.
13795         * misc/ttyslot.c (ttyslot): Likewise.
13796         * nis/nis_hash.c (__nis_hash): Likewise.
13797         * posix/fnmatch_loop.c (FCT): Likewise.
13798         * posix/getconf.c (print_all): Likewise.
13799         (main): Likewise.
13800         * posix/getopt.c (exchange): Likewise.
13801         * posix/glob.c (globfree): Likewise.
13802         (prefix_array): Likewise.
13803         (__glob_pattern_type): Likewise.
13804         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13805         (NS_GET32): Likewise.
13806         (NS_PUT16): Likewise.
13807         (NS_PUT32): Likewise.
13808         * resolv/gethnamaddr.c (getanswer): Likewise.
13809         (gethostbyname2): Likewise.
13810         (gethostbyaddr): Likewise.
13811         (_gethtent): Likewise.
13812         (_gethtbyname2): Likewise.
13813         (_gethtbyaddr): Likewise.
13814         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13815         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13816         * resolv/res_init.c (__res_vinit): Likewise.
13817         (net_mask): Likewise.
13818         * resolv/res_mkquery.c (outchar): Likewise.
13819         (PRINT): Likewise.
13820         * stdio-common/printf_fp.c (outchar): Likewise.
13821         (PRINT): Likewise.
13822         * stdio-common/printf_fphex.c (outchar): Likewise.
13823         (PRINT): Likewise.
13824         * stdio-common/printf_size.c (outchar): Likewise.
13825         (PRINT): Likewise.
13826         * stdio-common/test_rdwr.c (main): Likewise.
13827         * stdio-common/tfformat.c (matches): Likewise.
13828         * stdio-common/vfprintf.c (outchar): Likewise.
13829         (printf_unknown): Likewise.
13830         (buffered_vfprintf): Likewise.
13831         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13832         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13833         (ReadFile): Likewise.
13834         * stdlib/qsort.c (SWAP): Likewise.
13835         (_quicksort): Likewise.
13836         * stdlib/setenv.c (__add_to_environ): Likewise.
13837         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13838         * stdlib/strtol_l.c (__strtol_l): Likewise.
13839         * stdlib/tst-strtod.c (main): Likewise.
13840         * stdlib/tst-strtol.c (main): Likewise.
13841         * stdlib/tst-strtoll.c (main): Likewise.
13842         * string/bits/string2.h (__strcmp_cc): Likewise.
13843         (__strcmp_cg): Likewise.
13844         (__strcspn_c1): Likewise.
13845         (__strcspn_c2): Likewise.
13846         (__strcspn_c3): Likewise.
13847         (__strspn_c1): Likewise.
13848         (__strspn_c2): Likewise.
13849         (__strspn_c3): Likewise.
13850         (__strsep_1c): Likewise.
13851         (__strsep_2c): Likewise.
13852         (__strsep_3c): Likewise.
13853         * string/memccpy.c (__memccpy): Likewise.
13854         * string/stpcpy.c (__stpcpy): Likewise.
13855         * string/strcmp.c (strcmp): Likewise.
13856         * string/strrchr.c (strrchr): Likewise.
13857         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13858         Likewise.
13859         * sysdeps/mach/hurd/getcwd.c
13860         (_hurd_canonicalize_directory_name_internal): Likewise.
13861         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13862         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13863         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13864         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13865         Likewise, in both definitions.
13866         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13867         definitions.
13868         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13869         64] (__bswap_64): Likewise.
13870         * time/test_time.c (main): Likewise.
13871         * time/tzfile.c (__tzfile_read): Likewise.
13872         (__tzfile_compute): Likewise.
13873         * time/tzset.c (__tzset_parse_tz): Likewise.
13874         (tzset_internal): Likewise.
13875         (compute_change): Likewise.
13876         * wcsmbs/wcscat.c (__wcscat): Likewise.
13877         * wcsmbs/wcschr.c (wcschr): Likewise.
13878         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13879         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13880         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13881         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13882         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13883         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13884         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13885         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13886         * wcsmbs/wmemset.c (wmemset): Likewise.
13888 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13890         * scripts/config.guess: Update to version 2013-05-16.
13891         * scripts/config.sub: Update to version 2013-04-24.
13892         * scripts/install-sh: Update to version 2011-11-20.07.
13893         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13894         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13896 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13898         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13899         * elf/sln.c: Likewise.
13900         * hurd/hurd/ioctl.h: Likewise.
13901         * hurd/hurdmalloc.c: Likewise.
13902         * hurd/xattr.c: Likewise.
13903         * include/shlib-compat.h: Likewise.
13904         * inet/ruserpass.c: Likewise.
13905         * libio/iofgets_u.c: Likewise.
13906         * libio/iofgetws_u.c: Likewise.
13907         * locale/programs/ld-identification.c: Likewise.
13908         * locale/programs/ld-time.c: Likewise.
13909         * mach/msg-destroy.c: Likewise.
13910         * nss/nss_files/files-netgrp.c: Likewise.
13911         * resolv/res_data.c: Likewise.
13912         * soft-fp/op-1.h: Likewise.
13913         * soft-fp/op-2.h: Likewise.
13914         * soft-fp/op-4.h: Likewise.
13915         * soft-fp/op-common.h: Likewise.
13916         * stdio-common/printf_fphex.c: Likewise.
13917         * stdlib/strtod_l.c: Likewise.
13918         * sunrpc/rpc/clnt.h: Likewise.
13919         * sysdeps/generic/framestate.c: Likewise.
13920         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13921         * sysdeps/i386/bsd-setjmp.S: Likewise.
13922         * sysdeps/i386/__longjmp.S: Likewise.
13923         * sysdeps/i386/setjmp.S: Likewise.
13924         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13925         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13926         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13927         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13928         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13929         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13931         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13932         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13933         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13934         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13935         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13936         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13937         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13938         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13939         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13940         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13941         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13942         * sysdeps/ieee754/support.c: Likewise.
13943         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13944         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13945         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13946         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13947         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13948         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13949         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13950         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13951         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13952         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13953         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13954         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13955         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13956         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13957         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13958         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13959         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13962 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13964         * posix/transbug.c: Remove executable mode.
13966 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13968         * crypt/speeds.c: Remove trailing whitespace.
13969         * dlfcn/default.c: Likewise.
13970         * elf/ifuncdep2.c: Likewise.
13971         * elf/ifuncmain1.c: Likewise.
13972         * elf/ifuncmain1vis.c: Likewise.
13973         * elf/testobj.h: Likewise.
13974         * elf/tst-stackguard1.c: Likewise.
13975         * gmon/sys/gmon.h: Likewise.
13976         * hurd/hurdmsg.c: Likewise.
13977         * hurd/new-fd.c: Likewise.
13978         * hurd/ports-get.c: Likewise.
13979         * iconvdata/ibm1008_420.c: Likewise.
13980         * inet/tst-getni1.c: Likewise.
13981         * inet/tst-getni2.c: Likewise.
13982         * libio/ioungetc.c: Likewise.
13983         * libio/wfiledoalloc.c: Likewise.
13984         * manual/libm-err-tab.pl: Likewise.
13985         * math/w_dremf.c: Likewise.
13986         * misc/ftruncate.c: Likewise.
13987         * posix/bug-glob2.c: Likewise.
13988         * posix/tst-pcre.c: Likewise.
13989         * posix/wait4.c: Likewise.
13990         * resolv/README: Likewise.
13991         * resolv/res_debug.h: Likewise.
13992         * resolv/tst-inet_ntop.c: Likewise.
13993         * setjmp/bug269-setjmp.c: Likewise.
13994         * soft-fp/extended.h: Likewise.
13995         * soft-fp/op-1.h: Likewise.
13996         * soft-fp/op-2.h: Likewise.
13997         * soft-fp/op-4.h: Likewise.
13998         * soft-fp/op-8.h: Likewise.
13999         * soft-fp/testit.c: Likewise.
14000         * stdio-common/bug16.c: Likewise.
14001         * stdlib/random.c: Likewise.
14002         * sunrpc/rpcsvc/rquota.x: Likewise.
14003         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14004         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14005         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14006         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14007         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14008         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14009         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14010         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14011         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14012         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14013         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14014         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14015         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14016         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14017         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14018         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14019         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14020         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14021         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14022         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14023         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14024         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14025         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14026         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14027         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14028         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14030         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14031         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14032         * sysdeps/ieee754/s_lib_version.c: Likewise.
14033         * sysdeps/mach/hurd/check_fds.c: Likewise.
14034         * sysdeps/mach/hurd/getsockname.c: Likewise.
14035         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14036         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14037         * sysdeps/powerpc/bits/link.h: Likewise.
14038         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14039         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14040         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14041         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14042         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14043         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14044         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14045         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14046         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14047         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14048         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14049         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14050         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14051         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14052         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14053         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14054         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14055         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14056         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14057         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14058         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14059         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14060         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14061         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14062         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14063         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14064         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14065         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14066         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14067         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14068         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14069         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14070         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14071         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14072         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14073         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14074         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14075         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14076         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14077         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14078         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14079         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14080         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14081         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14082         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14083         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14084         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14085         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14086         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14087         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14088         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14090         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14091         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14092         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14093         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14094         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14095         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14096         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14097         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14098         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14099         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14100         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14101         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14102         * sysdeps/powerpc/sysdep.h: Likewise.
14103         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14104         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14105         * sysdeps/sh/dl-trampoline.S: Likewise.
14106         * sysdeps/sh/memset.S: Likewise.
14107         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14108         * sysdeps/sh/strlen.S: Likewise.
14109         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14110         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14111         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14112         * sysdeps/sparc/sparc32/rem.S: Likewise.
14113         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14114         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14115         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14116         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14117         * sysdeps/sparc/sparc32/urem.S: Likewise.
14118         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14119         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14120         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14121         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14122         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14123         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14124         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14125         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14126         * sysdeps/unix/bsd/times.c: Likewise.
14127         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14128         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14132         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14133         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14134         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14135         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14136         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14137         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14138         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14139         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14140         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14141         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14142         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14143         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14144         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14145         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14146         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14147         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14148         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14149         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14150         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14151         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14152         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14153         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14154         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14155         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14156         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14157         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14158         * sysdeps/x86_64/strcspn.S: Likewise.
14160 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14162         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14163         generated file.  Regenerate properly from gen-translit.pl.
14164         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14165         locale/C-translit.h.
14167 2013-06-05  Andreas Schwab  <schwab@suse.de>
14169         [BZ #15100]
14170         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14171         week as 6 instead of -1.
14172         * time/tst-strptime.c (day_tests): Add test case.
14174 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14176         * sysdeps/generic/math_private.h
14177         (libc_feholdexcept_setround_53bit): Replace with
14178         libc_feholdsetround_53bit.
14179         (libc_feupdateenv_53bit): Replace with
14180         libc_feresetround_53bit.
14181         (SET_RESTORE_ROUND_53BIT): Adjust.
14183 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14185         * string/test-strchrnul.c: Add copyright header.
14187         * posix/tst-getaddrinfo4.c: Increase test timeout.
14189 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14191         [BZ #15536]
14192         * math/libm-test.inc (MAX_EXP): Remove
14193         (MIN_EXP): Define.
14194         (ulp): Use MIN_EXP - MANT_DIG.
14195         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14197 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14199         * po/be.po: Revert last change.
14200         * po/zh_CN.po: Likewise.
14201         * po/header.pot: Likewise.
14203 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14205         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14206         link-libc-deps to empty as target-specific variable.
14207         * Makerules (link-libc-args): New variable.
14208         (libc-for-link): Likewise.
14209         (link-libc-deps): Likewise.
14210         (lib%.so): Depend on $(link-libc-deps).  Link with
14211         $(link-libc-args).
14212         (build-module): Link with $(link-libc-args).
14213         (build-module-asneeded): Likewise.
14214         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14215         list of objects.
14216         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14217         target-specific variable.
14218         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14219         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14220         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14221         libc.
14222         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14223         libc and ld.so.
14224         ($(objpfx)libpcprofile.so): Likewise.
14225         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14226         libc_nonshared.a.
14227         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14228         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14229         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14230         $(link-libc-deps).
14231         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14232         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14233         * login/Makefile ($(objpfx)libutil.so): Likewise.
14234         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14235         * math/Makefile ($(objpfx)libm.so): Likewise.
14236         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14237         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14238         variable instead of depending directly on libc.
14239         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14240         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14241         $(link-libc-deps).
14242         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14243         libc.
14244         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14245         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14246         ($(objpfx)libanl.so): Likewise.
14247         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14248         ld.so.
14249         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14250         $(link-libc-deps).
14251         * sysdeps/i386/fpu/Makefile: Remove file.
14252         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14253         ($(objpfx)libm.so): Remove dependency on ld.so.
14255 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14257         [BZ # 15553]
14258         * nis/yp_xdr.c (XDRMAXNAME): Define.
14259         (XDRMAXRECORD): Define.
14260         (xdr_domainname): Use XDRMAXNAME.
14261         (xdr_mapname): Likewise.
14262         (xdr_peername): Likewise.
14263         (xdr_keydat): Use XDRMAXRECORD.
14264         (xdr_valdat): Likewise.
14266 2013-05-30  Jeff Law  <law@redhat.com>
14268         [BZ #14256]
14269         * manual/errno.texi (ESTALE): Update to account for more than
14270         just NFS file systems.
14271         * sysdeps/gnu/errlist.c: Regenerated.
14273 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14275         [BZ #15465]
14276         * elf/Makefile (tests): Add tst-null-argv.
14277         (modules-names):  Add tst-null-argv-lib.
14278         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14279         (tst-null-argv-ENV): Set environment for tst-null-argv.
14280         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14281         (RTLD_PROGNAME): New macro.
14282         * elf/tst-null-argv.c: New test case.
14283         * elf/tst-null-argv-lib.c: Library for test case.
14284         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14285         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14286         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14287         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14288         * elf/dl-init.c (call_init): Likewise.
14289         (_dl_init): Likewise.
14290         * elf/dl-load.c (print_search_path): Likewise.
14291         (_dl_map_object): Likewise.
14292         * elf/dl-lookup.c (do_lookup_x): Likewise.
14293         (add_dependency): Likewise.
14294         (_dl_lookup_symbol_x): Likewise.
14295         (_dl_debug_bindings): Likewise.
14296         * elf/dl-open.c (_dl_show_scope): Likewise.
14297         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14298         * elf/dl-version.c (match_symbol): Likewise.
14299         (_dl_check_map_versions): Likewise.
14300         * elf/rtld.c (dl_main): Likewise.
14301         (print_unresolved): Use RTLD_PROGNAME.
14302         (print_missing_version): Likewise.
14303         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14304         (elf_machine_rela): Likewise.
14305         * sysdeps/powerpc/powerpc32/dl-machine.c
14306         (__process_machine_rela): Likewise.
14307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14308         Likewise.
14309         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14310         Likewise.
14311         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14312         Likewise.
14313         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14315         Likewise.
14316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14317         Likewise.
14318         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14320 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14322         * po/be.po: Add descriptive title.
14323         * po/zh_CN.po: Likewise.
14324         * po/header.pot: Likewise.
14326 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14328         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14329         error message.
14330         (enlarge_archive): Likewise.
14332 2013-05-28  Ben North  <ben@redfrontdoor.org>
14334         * manual/arith.texi (frexp): It is the magnitude of the return
14335         value which lies in [0.5, 1), not the return value itself.
14337 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14341 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14343         * stdio-common/bug26.c (main): Correct fscanf template.
14345         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14346         declare _dl_skip_args.
14348         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14349         Don't declare.
14351         * manual/platform.texi: Add missing @end deftypefun.
14353 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14355         [BZ #15529]
14356         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14357         bit of mantissa of 2^16382.
14358         * math/libm-test.inc (hypot_test_data): Add more tests.
14360         * math/libm-test.inc: Add drem and pow10 to list of tested
14361         functions.
14362         (pow10_test): New function.
14363         (drem_test): Likewise.
14364         (drem_test_tonearest): Likewise.
14365         (drem_test_towardzero): Likewise.
14366         (drem_test_downward): Likewise.
14367         (drem_test_upward): Likewise.
14368         (main): Call the new functions.
14370         * math/libm-test.inc (finite_test_data): Remove.
14371         (finite_test): Run tests from isfinite_test_data.
14372         (gamma_test_data): Remove.
14373         (gamma_test): Run tests from lgamma_test_data.
14374         * sysdeps/i386/fpu/libm-test-ulps: Update.
14375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14377 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14379         * manual/platform.texi: Add PowerPC PPR function set documentation.
14380         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14381         implementation.
14383 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14385         * math/libm-test.inc (MAX_EXP): Define.
14386         (ULPDIFF): Define.
14387         (ulp): New function.
14388         (check_float_internal): Use ULPDIFF.
14389         (cpow_test): Disable failing test.
14390         (check_ulp): Test ulp() implemetnation.
14391         (main): Call check_ulp before starting tests.
14393 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14395         * math/gen-libm-test.pl (generate_testfile): Do not handle
14396         START_DATA and END_DATA.
14397         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14398         END_DATA.
14399         (acos_tonearest_test_data): Likewise.
14400         (acos_towardzero_test_data): Likewise.
14401         (acos_downward_test_data): Likewise.
14402         (acos_upward_test_data): Likewise.
14403         (acosh_test_data): Likewise.
14404         (asin_test_data): Likewise.
14405         (asin_tonearest_test_data): Likewise.
14406         (asin_towardzero_test_data): Likewise.
14407         (asin_downward_test_data): Likewise.
14408         (asin_upward_test_data): Likewise.
14409         (asinh_test_data): Likewise.
14410         (atan_test_data): Likewise.
14411         (atanh_test_data): Likewise.
14412         (atan2_test_data): Likewise.
14413         (cabs_test_data): Likewise.
14414         (cacos_test_data): Likewise.
14415         (cacosh_test_data): Likewise.
14416         (carg_test_data): Likewise.
14417         (casin_test_data): Likewise.
14418         (casinh_test_data): Likewise.
14419         (catan_test_data): Likewise.
14420         (catanh_test_data): Likewise.
14421         (cbrt_test_data): Likewise.
14422         (ccos_test_data): Likewise.
14423         (ccosh_test_data): Likewise.
14424         (ceil_test_data): Likewise.
14425         (cexp_test_data): Likewise.
14426         (cimag_test_data): Likewise.
14427         (clog_test_data): Likewise.
14428         (clog10_test_data): Likewise.
14429         (conj_test_data): Likewise.
14430         (copysign_test_data): Likewise.
14431         (cos_test_data): Likewise.
14432         (cos_tonearest_test_data): Likewise.
14433         (cos_towardzero_test_data): Likewise.
14434         (cos_downward_test_data): Likewise.
14435         (cos_upward_test_data): Likewise.
14436         (cosh_test_data): Likewise.
14437         (cosh_tonearest_test_data): Likewise.
14438         (cosh_towardzero_test_data): Likewise.
14439         (cosh_downward_test_data): Likewise.
14440         (cosh_upward_test_data): Likewise.
14441         (cpow_test_data): Likewise.
14442         (cproj_test_data): Likewise.
14443         (creal_test_data): Likewise.
14444         (csin_test_data): Likewise.
14445         (csinh_test_data): Likewise.
14446         (csqrt_test_data): Likewise.
14447         (ctan_test_data): Likewise.
14448         (ctan_tonearest_test_data): Likewise.
14449         (ctan_towardzero_test_data): Likewise.
14450         (ctan_downward_test_data): Likewise.
14451         (ctan_upward_test_data): Likewise.
14452         (ctanh_test_data): Likewise.
14453         (ctanh_tonearest_test_data): Likewise.
14454         (ctanh_towardzero_test_data): Likewise.
14455         (ctanh_downward_test_data): Likewise.
14456         (ctanh_upward_test_data): Likewise.
14457         (erf_test_data): Likewise.
14458         (erfc_test_data): Likewise.
14459         (exp_test_data): Likewise.
14460         (exp_tonearest_test_data): Likewise.
14461         (exp_towardzero_test_data): Likewise.
14462         (exp_downward_test_data): Likewise.
14463         (exp_upward_test_data): Likewise.
14464         (exp10_test_data): Likewise.
14465         (exp2_test_data): Likewise.
14466         (expm1_test_data): Likewise.
14467         (fabs_test_data): Likewise.
14468         (fdim_test_data): Likewise.
14469         (finite_test_data): Likewise.
14470         (floor_test_data): Likewise.
14471         (fma_test_data): Likewise.
14472         (fma_towardzero_test_data): Likewise.
14473         (fma_downward_test_data): Likewise.
14474         (fma_upward_test_data): Likewise.
14475         (fmax_test_data): Likewise.
14476         (fmin_test_data): Likewise.
14477         (fmod_test_data): Likewise.
14478         (fpclassify_test_data): Likewise.
14479         (frexp_test_data): Likewise.
14480         (gamma_test_data): Likewise.
14481         (hypot_test_data): Likewise.
14482         (ilogb_test_data): Likewise.
14483         (isfinite_test_data): Likewise.
14484         (isgreater_test_data): Likewise.
14485         (isgreaterequal_test_data): Likewise.
14486         (isinf_test_data): Likewise.
14487         (isless_test_data): Likewise.
14488         (islessequal_test_data): Likewise.
14489         (islessgreater_test_data): Likewise.
14490         (isnan_test_data): Likewise.
14491         (isnormal_test_data): Likewise.
14492         (issignaling_test_data): Likewise.
14493         (isunordered_test_data): Likewise.
14494         (j0_test_data): Likewise.
14495         (j1_test_data): Likewise.
14496         (jn_test_data): Likewise.
14497         (ldexp_test_data): Likewise.
14498         (lgamma_test_data): Likewise.
14499         (lrint_test_data): Likewise.
14500         (lrint_tonearest_test_data): Likewise.
14501         (lrint_towardzero_test_data): Likewise.
14502         (lrint_downward_test_data): Likewise.
14503         (lrint_upward_test_data): Likewise.
14504         (llrint_test_data): Likewise.
14505         (llrint_tonearest_test_data): Likewise.
14506         (llrint_towardzero_test_data): Likewise.
14507         (llrint_downward_test_data): Likewise.
14508         (llrint_upward_test_data): Likewise.
14509         (log_test_data): Likewise.
14510         (log10_test_data): Likewise.
14511         (log1p_test_data): Likewise.
14512         (log2_test_data): Likewise.
14513         (logb_test_data): Likewise.
14514         (logb_downward_test_data): Likewise.
14515         (lround_test_data): Likewise.
14516         (llround_test_data): Likewise.
14517         (modf_test_data): Likewise.
14518         (nearbyint_test_data): Likewise.
14519         (nextafter_test_data): Likewise.
14520         (nexttoward_test_data): Likewise.
14521         (pow_test_data): Likewise.
14522         (pow_tonearest_test_data): Likewise.
14523         (pow_towardzero_test_data): Likewise.
14524         (pow_downward_test_data): Likewise.
14525         (pow_upward_test_data): Likewise.
14526         (remainder_test_data): Likewise.
14527         (remainder_tonearest_test_data): Likewise.
14528         (remainder_towardzero_test_data): Likewise.
14529         (remainder_downward_test_data): Likewise.
14530         (remainder_upward_test_data): Likewise.
14531         (remquo_test_data): Likewise.
14532         (rint_test_data): Likewise.
14533         (rint_tonearest_test_data): Likewise.
14534         (rint_towardzero_test_data): Likewise.
14535         (rint_downward_test_data): Likewise.
14536         (rint_upward_test_data): Likewise.
14537         (round_test_data): Likewise.
14538         (scalb_test_data): Likewise.
14539         (scalbn_test_data): Likewise.
14540         (scalbln_test_data): Likewise.
14541         (signbit_test_data): Likewise.
14542         (sin_test_data): Likewise.
14543         (sin_tonearest_test_data): Likewise.
14544         (sin_towardzero_test_data): Likewise.
14545         (sin_downward_test_data): Likewise.
14546         (sin_upward_test_data): Likewise.
14547         (sincos_test_data): Likewise.
14548         (sinh_test_data): Likewise.
14549         (sinh_tonearest_test_data): Likewise.
14550         (sinh_towardzero_test_data): Likewise.
14551         (sinh_downward_test_data): Likewise.
14552         (sinh_upward_test_data): Likewise.
14553         (sqrt_test_data): Likewise.
14554         (tan_test_data): Likewise.
14555         (tan_tonearest_test_data): Likewise.
14556         (tan_towardzero_test_data): Likewise.
14557         (tan_downward_test_data): Likewise.
14558         (tan_upward_test_data): Likewise.
14559         (tanh_test_data): Likewise.
14560         (tgamma_test_data): Likewise.
14561         (trunc_test_data): Likewise.
14562         (y0_test_data): Likewise.
14563         (y1_test_data): Likewise.
14564         (yn_test_data): Likewise.
14565         (significand_test_data): Likewise.
14567         * math/gen-libm-test.pl (@functions): Remove variable.
14568         (generate_testfile): Don't handle START and END lines.
14569         * math/libm-test.inc (START): New macro.
14570         (END): Likewise.
14571         (END_COMPLEX): Likewise.
14572         (acos_test): Use END macro without arguments.
14573         (acos_test_tonearest): Likewise.
14574         (acos_test_towardzero): Likewise.
14575         (acos_test_downward): Likewise.
14576         (acos_test_upward): Likewise.
14577         (acosh_test): Likewise.
14578         (asin_test): Likewise.
14579         (asin_test_tonearest): Likewise.
14580         (asin_test_towardzero): Likewise.
14581         (asin_test_downward): Likewise.
14582         (asin_test_upward): Likewise.
14583         (asinh_test): Likewise.
14584         (atan_test): Likewise.
14585         (atanh_test): Likewise.
14586         (atan2_test): Likewise.
14587         (cabs_test): Likewise.
14588         (cacos_test): Use END_COMPLEX macro without arguments.
14589         (cacosh_test): Likewise.
14590         (carg_test): Use END macro without arguments.
14591         (casin_test): Use END_COMPLEX macro without arguments.
14592         (casinh_test): Likewise.
14593         (catan_test): Likewise.
14594         (catanh_test): Likewise.
14595         (cbrt_test): Use END macro without arguments.
14596         (ccos_test): Use END_COMPLEX macro without arguments.
14597         (ccosh_test): Likewise.
14598         (ceil_test): Use END macro without arguments.
14599         (cexp_test): Use END_COMPLEX macro without arguments.
14600         (cimag_test): Use END macro without arguments.
14601         (clog_test): Use END_COMPLEX macro without arguments.
14602         (clog10_test): Likewise.
14603         (conj_test): Likewise.
14604         (copysign_test): Use END macro without arguments.
14605         (cos_test): Likewise.
14606         (cos_test_tonearest): Likewise.
14607         (cos_test_towardzero): Likewise.
14608         (cos_test_downward): Likewise.
14609         (cos_test_upward): Likewise.
14610         (cosh_test): Likewise.
14611         (cosh_test_tonearest): Likewise.
14612         (cosh_test_towardzero): Likewise.
14613         (cosh_test_downward): Likewise.
14614         (cosh_test_upward): Likewise.
14615         (cpow_test): Use END_COMPLEX macro without arguments.
14616         (cproj_test): Likewise.
14617         (creal_test): Use END macro without arguments.
14618         (csin_test): Use END_COMPLEX macro without arguments.
14619         (csinh_test): Likewise.
14620         (csqrt_test): Likewise.
14621         (ctan_test): Likewise.
14622         (ctan_test_tonearest): Likewise.
14623         (ctan_test_towardzero): Likewise.
14624         (ctan_test_downward): Likewise.
14625         (ctan_test_upward): Likewise.
14626         (ctanh_test): Likewise.
14627         (ctanh_test_tonearest): Likewise.
14628         (ctanh_test_towardzero): Likewise.
14629         (ctanh_test_downward): Likewise.
14630         (ctanh_test_upward): Likewise.
14631         (erf_test): Use END macro without arguments.
14632         (erfc_test): Likewise.
14633         (exp_test): Likewise.
14634         (exp_test_tonearest): Likewise.
14635         (exp_test_towardzero): Likewise.
14636         (exp_test_downward): Likewise.
14637         (exp_test_upward): Likewise.
14638         (exp10_test): Likewise.
14639         (exp2_test): Likewise.
14640         (expm1_test): Likewise.
14641         (fabs_test): Likewise.
14642         (fdim_test): Likewise.
14643         (finite_test): Likewise.
14644         (floor_test): Likewise.
14645         (fma_test): Likewise.
14646         (fma_test_towardzero): Likewise.
14647         (fma_test_downward): Likewise.
14648         (fma_test_upward): Likewise.
14649         (fmax_test): Likewise.
14650         (fmin_test): Likewise.
14651         (fmod_test): Likewise.
14652         (fpclassify_test): Likewise.
14653         (frexp_test): Likewise.
14654         (gamma_test): Likewise.
14655         (hypot_test): Likewise.
14656         (ilogb_test): Likewise.
14657         (isfinite_test): Likewise.
14658         (isgreater_test): Likewise.
14659         (isgreaterequal_test): Likewise.
14660         (isinf_test): Likewise.
14661         (isless_test): Likewise.
14662         (islessequal_test): Likewise.
14663         (islessgreater_test): Likewise.
14664         (isnan_test): Likewise.
14665         (isnormal_test): Likewise.
14666         (issignaling_test): Likewise.
14667         (isunordered_test): Likewise.
14668         (j0_test): Likewise.
14669         (j1_test): Likewise.
14670         (jn_test): Likewise.
14671         (ldexp_test): Likewise.
14672         (lgamma_test): Likewise.
14673         (lrint_test): Likewise.
14674         (lrint_test_tonearest): Likewise.
14675         (lrint_test_towardzero): Likewise.
14676         (lrint_test_downward): Likewise.
14677         (lrint_test_upward): Likewise.
14678         (llrint_test): Likewise.
14679         (llrint_test_tonearest): Likewise.
14680         (llrint_test_towardzero): Likewise.
14681         (llrint_test_downward): Likewise.
14682         (llrint_test_upward): Likewise.
14683         (log_test): Likewise.
14684         (log10_test): Likewise.
14685         (log1p_test): Likewise.
14686         (log2_test): Likewise.
14687         (logb_test): Likewise.
14688         (logb_test_downward): Likewise.
14689         (lround_test): Likewise.
14690         (llround_test): Likewise.
14691         (modf_test): Likewise.
14692         (nearbyint_test): Likewise.
14693         (nextafter_test): Likewise.
14694         (nexttoward_test): Likewise.
14695         (pow_test): Likewise.
14696         (pow_test_tonearest): Likewise.
14697         (pow_test_towardzero): Likewise.
14698         (pow_test_downward): Likewise.
14699         (pow_test_upward): Likewise.
14700         (remainder_test): Likewise.
14701         (remainder_test_tonearest): Likewise.
14702         (remainder_test_towardzero): Likewise.
14703         (remainder_test_downward): Likewise.
14704         (remainder_test_upward): Likewise.
14705         (remquo_test): Likewise.
14706         (rint_test): Likewise.
14707         (rint_test_tonearest): Likewise.
14708         (rint_test_towardzero): Likewise.
14709         (rint_test_downward): Likewise.
14710         (rint_test_upward): Likewise.
14711         (round_test): Likewise.
14712         (scalb_test): Likewise.
14713         (scalbn_test): Likewise.
14714         (scalbln_test): Likewise.
14715         (signbit_test): Likewise.
14716         (sin_test): Likewise.
14717         (sin_test_tonearest): Likewise.
14718         (sin_test_towardzero): Likewise.
14719         (sin_test_downward): Likewise.
14720         (sin_test_upward): Likewise.
14721         (sincos_test): Likewise.
14722         (sinh_test): Likewise.
14723         (sinh_test_tonearest): Likewise.
14724         (sinh_test_towardzero): Likewise.
14725         (sinh_test_downward): Likewise.
14726         (sinh_test_upward): Likewise.
14727         (sqrt_test): Likewise.
14728         (tan_test): Likewise.
14729         (tan_test_tonearest): Likewise.
14730         (tan_test_towardzero): Likewise.
14731         (tan_test_downward): Likewise.
14732         (tan_test_upward): Likewise.
14733         (tanh_test): Likewise.
14734         (tgamma_test): Likewise.
14735         (trunc_test): Likewise.
14736         (y0_test): Likewise.
14737         (y1_test): Likewise.
14738         (yn_test): Likewise.
14739         (significand_test): Likewise.
14741 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
14743         [BZ #15381]
14744         * libio/genops.c (_IO_no_init): Initialize wide struct info.
14746 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14748         [BZ #14894]
14749         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14750         __ppc_mdoio and __ppc_mdoom.
14751         * manual/platform.texi: Document new functions __ppc_yield,
14752         __ppc_mdoio and __ppc_mdoom.
14754 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14756         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14757         (main): Mention "tls" pseudo-hwcap is legacy.
14758         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14760 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14762         * math/gen-libm-test.pl (parse_args): Output only string of
14763         arguments as text for test name, not full call or descriptions of
14764         tests for extra outputs.
14765         (generate_testfile): Do not pass function name to parse_args.
14766         Generate this_func variable from START.
14767         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14768         field to arg_str.
14769         (struct test_ff_f_data): Likewise.
14770         (test_ff_f_data_nexttoward): Likewise.
14771         (struct test_fi_f_data): Likewise.
14772         (struct test_fl_f_data): Likewise.
14773         (struct test_if_f_data): Likewise.
14774         (struct test_fff_f_data): Likewise.
14775         (struct test_c_f_data): Likewise.
14776         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14777         (struct test_fF_f1_data): Likewise.
14778         (struct test_ffI_f1_data): Likewise.
14779         (struct test_c_c_data): Rename test_name field to arg_str.
14780         (struct test_cc_c_data): Likewise.
14781         (struct test_f_i_data): Likewise.
14782         (struct test_ff_i_data): Likewise.
14783         (struct test_f_l_data): Likewise.
14784         (struct test_f_L_data): Likewise.
14785         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14786         and extra2_name.
14787         (COMMON_TEST_SETUP): New macro.
14788         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14789         (COMMON_TEST_CLEANUP): Likewise.
14790         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14791         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14792         macros.
14793         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14794         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14795         macros.
14796         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14797         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14798         cleanup macros.
14799         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14800         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14801         macros.
14802         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14803         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14804         macros.
14805         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14806         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14807         cleanup macros.
14808         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14809         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14810         cleanup macros.
14811         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14812         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14813         cleanup macros.
14814         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14815         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14816         macros.
14817         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14818         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14819         macros.
14820         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14821         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14822         macros.
14823         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14824         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14825         cleanup macros.
14826         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14827         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14828         cleanup macros.
14829         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14830         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14831         macros.
14832         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14833         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14834         cleanup macros.
14835         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14836         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14837         macros.
14838         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14839         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14840         macros.
14841         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14842         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14843         cleanup macros.
14844         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14846 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14848         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14849         to _sifields.sigfault.
14850         (si_addr_lsb): Define new macro.
14851         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14852         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14853         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14855 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14857         [BZ #15441]
14858         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14859         returns -1.
14860         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14861         null return -1.
14862         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14863         loading the domain.
14865 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14867         * math/gen-libm-test.pl (parse_args): Do not include expected
14868         result in test name.
14869         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14870         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14871         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14872         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14873         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14876 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14878         * benchtests/Makefile: Sort function entries.
14880         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14881         tanh, asinh, acosh, atanh.
14882         * benchtests/acos-inputs: New file.
14883         * benchtests/acosh-inputs: New file.
14884         * benchtests/asin-inputs: New file.
14885         * benchtests/asinh-inputs: New file.
14886         * benchtests/atanh-inputs: New file.
14887         * benchtests/cosh-inputs: New file.
14888         * benchtests/log-inputs: New file.
14889         * benchtests/sinh-inputs: New file.
14890         * benchtests/tanh-inputs: New file.
14892 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14894         [BZ #15339]
14895         * posix/tst-getaddrinfo4.c: New test.
14896         * posix/Makefile (tests): Add it.
14898 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14900         [BZ #15339]
14901         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14902         when no services were used.
14903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14904         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14906 2013-05-21  Andreas Schwab  <schwab@suse.de>
14908         [BZ #15014]
14909         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14910         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14911         successful.
14912         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14913         redundant variable declarations and reallocation of buffer when
14914         parsing as IPv6 address.  Always set NSS status when called from
14915         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14916         buffer too small.  Correct computation of needed size.
14917         * nss/Makefile (tests): Add test-digits-dots.
14918         * nss/test-digits-dots.c: New test.
14920 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14922         * benchtests/Makefile: Remove instructions for adding
14923         benchmark tests.
14924         * benchtests/README: New file to explain how to execute and
14925         enhance the benchmark tests.
14927 2013-05-21  Andreas Schwab  <schwab@suse.de>
14929         [BZ #15493]
14930         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14931         * setjmp/tst-sigsetjmp.c: New test.
14933 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14935         * sysdeps/x86_64/memset.S (memset): New implementation.
14936         (__bzero): Likewise.
14937         (__memset_tail): New function.
14939 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14941         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14942         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14943         __memcpy_sse2_unaligned ifunc selection.
14944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14945         Add memcpy-sse2-unaligned.S.
14946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14947         Add: __memcpy_sse2_unaligned.
14949 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14951         [BZ #15490]
14952         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14953         math_force_eval before restoring floating-point envrionment.
14954         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14955         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14956         Likewise.
14957         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14958         <math_private.h>.
14959         (__nearbyintl): Use math_force_eval before restoring
14960         floating-point environment.
14961         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14963         * math/gen-libm-test.pl (special_functions): Remove.
14964         (parse_args): Don't handle TEST_extra.  Handle functions with no
14965         return value.
14966         * math/libm-test.inc (struct test_sincos_data): Replace with
14967         struct test_fFF_11_data.
14968         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14969         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14970         (sincos_test_data): Change element type to struct
14971         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14972         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14973         RUN_TEST_LOOP_sincos.
14974         * math/README.libm-test: Don't mention special handling of
14975         individual functions.
14976         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14977         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14978         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14979         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14980         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14983         * math/gen-libm-test.pl (get_variable): Remove function.
14984         (parse_args): Don't show pointer parameters to call in test
14985         names.  Use "extra output N" in test names for extra outputs
14986         rather than naming variables.
14988 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14990         [BZ #15488]
14991         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14992         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14993         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14994         double tests.
14995         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14996         disable.
14997         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14998         check_long_double.
15000         * math/gen-libm-test.pl (@tests): Remove variable.
15001         ($count): Likewise.
15002         (new_test): Remove function.
15003         (show_exceptions): New function.
15004         (special_functions): Use show_exceptions instead of new_test.
15005         (parse_args): Likewise.
15006         (generate_testfile): Pass only function name in generated call to
15007         print_max_error or print_complex_max_error.
15008         (get_ulps): Do not handle complex tests specially.
15009         (output_test): Rename to ...
15010         (get_all_ulps_for_test): ... this.  Return a string rather than
15011         printing to a file.  Require ulps to be present.
15012         (output_ulps): Generate arrays rather than #defines.
15013         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15014         (struct ulp_data): New type.
15015         (BUILD_COMPLEX_ULP): Remove macro.
15016         (compare_ulp_data): New function.
15017         (find_ulps): Likewise.
15018         (find_test_ulps): Likewise.
15019         (find_function_ulps): Likewise.
15020         (find_complex_function_ulps): Likewise.
15021         (print_max_error): Determine allowed ulps using
15022         find_function_ulps.
15023         (print_complex_max_error): Determine allowed ulps using
15024         find_complex_function_ulps.
15025         (check_float_internal): Determine max ulps using find_test_ulps.
15026         (check_float): Do not take max_ulp parameter.  Update call to
15027         check_float_internal.
15028         (check_complex): Likewise.
15029         (check_int): Do not take max_ulp parameter.
15030         (check_long): Likewise.
15031         (check_bool): Likewise.
15032         (check_longlong): Likewise.
15033         (struct test_f_f_data): Remove max_ulp field.
15034         (struct test_ff_f_data): Likewise.
15035         (struct test_ff_f_data_nexttoward): Likewise.
15036         (struct test_fi_f_data): Likewise.
15037         (struct test_fl_f_data): Likewise.
15038         (struct test_if_f_data): Likewise.
15039         (struct test_fff_f_data): Likewise.
15040         (struct test_c_f_data): Likewise.
15041         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15042         (struct test_fF_f1_data): Likewise.
15043         (struct test_ffI_f1_data): Likewise.
15044         (struct test_c_c_data): Remove max_ulp field.
15045         (struct test_cc_c_data): Likewise.
15046         (struct test_f_i_data): Likewise.
15047         (struct test_ff_i_data): Likewise.
15048         (struct test_f_l_data): Likewise.
15049         (struct test_f_L_data): Likewise.
15050         (struct test_sincos_data): Likewise.
15051         (RUN_TEST_f_f): Do not handle ulps.
15052         (RUN_TEST_LOOP_f_f): Likewise.
15053         (RUN_TEST_2_f): Likewise.
15054         (RUN_TEST_LOOP_2_f): Likewise.
15055         (RUN_TEST_fff_f): Likewise.
15056         (RUN_TEST_LOOP_fff_f): Likewise.
15057         (RUN_TEST_c_f): Likewise.
15058         (RUN_TEST_LOOP_c_f): Likewise.
15059         (RUN_TEST_f_f1): Likewise.
15060         (RUN_TEST_LOOP_f_f1): Likewise.
15061         (RUN_TEST_fF_f1): Likewise.
15062         (RUN_TEST_LOOP_fF_f1): Likewise.
15063         (RUN_TEST_fI_f1): Likewise.
15064         (RUN_TEST_LOOP_fI_f1): Likewise.
15065         (RUN_TEST_ffI_f1): Likewise.
15066         (RUN_TEST_LOOP_ffI_f1): Likewise.
15067         (RUN_TEST_c_c): Likewise.
15068         (RUN_TEST_LOOP_c_c): Likewise.
15069         (RUN_TEST_cc_c): Likewise.
15070         (RUN_TEST_LOOP_cc_c): Likewise.
15071         (RUN_TEST_f_i): Likewise.
15072         (RUN_TEST_LOOP_f_i): Likewise.
15073         (RUN_TEST_f_i_tg): Likewise.
15074         (RUN_TEST_LOOP_f_i_tg): Likewise.
15075         (RUN_TEST_ff_i_tg): Likewise.
15076         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15077         (RUN_TEST_f_b): Likewise.
15078         (RUN_TEST_LOOP_f_b): Likewise.
15079         (RUN_TEST_f_b_tg): Likewise.
15080         (RUN_TEST_LOOP_f_b_tg): Likewise.
15081         (RUN_TEST_f_l): Likewise.
15082         (RUN_TEST_LOOP_f_l): Likewise.
15083         (RUN_TEST_f_L): Likewise.
15084         (RUN_TEST_LOOP_f_L): Likewise.
15085         (RUN_TEST_sincos): Likewise.
15086         (RUN_TEST_LOOP_sincos): Likewise.
15088 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15090         [BZ #15480]
15091         [BZ #15485]
15092         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15093         main case of finite arguments, set rounding mode to FE_TONEAREST
15094         and discard exceptions.
15095         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15096         exceptions.
15097         (remainder_tonearest_test_data): New variable.
15098         (remainder_test_tonearest): New function.
15099         (remainder_towardzero_test_data): New variable.
15100         (remainder_test_towardzero): New function.
15101         (remainder_downward_test_data): New variable.
15102         (remainder_test_downward): New function.
15103         (remainder_upward_test_data): New variable.
15104         (remainder_test_upward): New function.
15105         (main): Call the new test functions.
15107         * math/libm-test.inc (struct test_f_f1_data): Remove field
15108         extra_init.
15109         (struct test_fF_f1_data): Likewise.
15110         (struct test_ffI_f1_data): Likewise.
15111         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15112         based on value of EXTRA_EXPECTED.
15113         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15114         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15115         EXTRA_VAR based on value of EXTRA_EXPECTED.
15116         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15117         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15118         EXTRA_VAR based on value of EXTRA_EXPECTED.
15119         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15120         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15121         EXTRA_VAR based on value of EXTRA_EXPECTED.
15122         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15123         * math/gen-libm-test.pl (parse_args): Don't output initializers
15124         for extra output values.
15126         * math/libm-test.inc (check_int): Expect result to be exactly
15127         equal to expected value and do not handle ulps.
15128         (check_long): Likewise.
15129         (check_longlong): Likewise.
15131         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15132         exceptions.
15133         (cimag_test_data): Likewise.
15134         (conj_test_data): Likewise.
15135         (copysign_test_data): Likewise.
15136         (cproj_test_data): Likewise.
15137         (creal_test_data): Likewise.
15138         (fabs_test_data): Likewise.
15139         (fdim_test_data): Likewise.
15140         (finite_test_data): Likewise.
15141         (floor_test_data): Likewise.
15142         (fmax_test_data): Likewise.
15143         (fmin_test_data): Likewise.
15144         (fmod_test_data): Likewise.
15145         (fpclassify_test_data): Likewise.
15146         (frexp_test_data): Likewise.
15147         (ilogb_test_data): Likewise.
15148         (isfinite_test_data): Likewise.
15149         (isgreater_test_data): Likewise.
15150         (isgreaterequal_test_data): Likewise.
15151         (isinf_test_data): Likewise.
15152         (isless_test_data): Likewise.
15153         (islessequal_test_data): Likewise.
15154         (islessgreater_test_data): Likewise.
15155         (isnan_test_data): Likewise.
15156         (isnormal_test_data): Likewise.
15157         (issignaling_test_data): Likewise.
15158         (isunordered_test_data): Likewise.
15159         (ldexp_test_data): Likewise.
15160         (lrint_test_data): Likewise.
15161         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15162         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15163         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15164         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15165         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15166         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15167         test input.
15168         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15169         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15170         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15171         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15172         that test input.
15173         (lrint_downward_test_data): Test for "inexact" exceptions.
15174         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15175         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15176         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15177         test input.
15178         (lrint_upward_test_data): Test for "inexact" exceptions.
15179         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15180         test input.
15181         (llrint_test_data): Test for "inexact" exceptions.
15182         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15183         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15184         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15185         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15186         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15187         (llrint_downward_test_data): Test for "inexact" exceptions.
15188         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15189         (llrint_upward_test_data): Test for "inexact" exceptions.
15190         (logb_test_data): Likewise.
15191         (logb_downward_test_data): Likewise.
15192         (nextafter_test_data): Likewise.
15193         (nexttoward_test_data): Likewise.
15194         (remainder_test_data): Likewise.
15195         (remquo_test_data): Likewise.
15196         (scalbn_test_data): Likewise.
15197         (scalbln_test_data): Likewise.
15198         (signbit_test_data): Likewise.
15199         (sqrt_test_data): Likewise.
15200         (significand_test_data): Likewise.
15202 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15204         [BZ #15424]
15205         * benchtests/bench-modf.c (struct args): Mark arg0 as
15206         volatile.
15207         * scripts/bench.pl: Mark members of struct args as volatile.
15209 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15211         [BZ # 15497]
15212         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15213         negative infinity on POWER6 or lower.
15214         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15216 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15218         [BZ #15442]
15219         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15220         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15221         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15222         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15223         (_FP_SETQNAN): New macro.
15224         (_FP_SETQNAN_SEMIRAW): Likewise.
15225         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15226         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15227         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15228         (FP_EXTEND): Use _FP_FRAC_SNANP.
15229         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15230         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15231         into account.
15232         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15233         New macro.
15234         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15235         Likewise.
15237 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15239         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15240         with DIVIDE_BY_ZERO_EXCEPTION.
15241         (gamma_test_data): Likewise.
15242         (lgamma_test_data): Likewise.
15243         (log_test_data): Likewise.
15244         (log10_test_data): Likewise.
15245         (log2_test_data): Likewise.
15246         (tgamma_test_data): Likewise.
15248         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15249         (acos_test_tonearest): Likewise.
15250         (acos_test_towardzero): Likewise.
15251         (acos_test_downward): Likewise.
15252         (acos_test_upward): Likewise.
15253         (acosh_test): Likewise.
15254         (asin_test): Likewise.
15255         (asin_test_tonearest): Likewise.
15256         (asin_test_towardzero): Likewise.
15257         (asin_test_downward): Likewise.
15258         (asin_test_upward): Likewise.
15259         (asinh_test): Likewise.
15260         (atan_test): Likewise.
15261         (atanh_test): Likewise.
15262         (atan2_test): Likewise.
15263         (cabs_test): Likewise.
15264         (cacos_test): Likewise.
15265         (cacosh_test): Likewise.
15266         (casin_test): Likewise.
15267         (casinh_test): Likewise.
15268         (catan_test): Likewise.
15269         (catanh_test): Likewise.
15270         (cbrt_test): Likewise.
15271         (ccos_test): Likewise.
15272         (ccosh_test): Likewise.
15273         (cexp_test): Likewise.
15274         (clog_test): Likewise.
15275         (clog10_test): Likewise.
15276         (cos_test): Likewise.
15277         (cos_test_tonearest): Likewise.
15278         (cos_test_towardzero): Likewise.
15279         (cos_test_downward): Likewise.
15280         (cos_test_upward): Likewise.
15281         (cosh_test): Likewise.
15282         (cosh_test_tonearest): Likewise.
15283         (cosh_test_towardzero): Likewise.
15284         (cosh_test_downward): Likewise.
15285         (cosh_test_upward): Likewise.
15286         (cpow_test): Likewise.
15287         (csin_test): Likewise.
15288         (csinh_test): Likewise.
15289         (csqrt_test): Likewise.
15290         (ctan_test): Likewise.
15291         (ctan_test_tonearest): Likewise.
15292         (ctan_test_towardzero): Likewise.
15293         (ctan_test_downward): Likewise.
15294         (ctan_test_upward): Likewise.
15295         (ctanh_test): Likewise.
15296         (ctanh_test_tonearest): Likewise.
15297         (ctanh_test_towardzero): Likewise.
15298         (ctanh_test_downward): Likewise.
15299         (ctanh_test_upward): Likewise.
15300         (erf_test): Likewise.
15301         (erfc_test): Likewise.
15302         (exp_test): Likewise.
15303         (exp_test_tonearest): Likewise.
15304         (exp_test_towardzero): Likewise.
15305         (exp_test_downward): Likewise.
15306         (exp_test_upward): Likewise.
15307         (exp10_test): Likewise.
15308         (exp2_test): Likewise.
15309         (expm1_test): Likewise.
15310         (fmod_test): Likewise.
15311         (gamma_test): Likewise.
15312         (hypot_test): Likewise.
15313         (j0_test): Likewise.
15314         (j1_test): Likewise.
15315         (jn_test): Likewise.
15316         (lgamma_test): Likewise.
15317         (log_test): Likewise.
15318         (log10_test): Likewise.
15319         (log1p_test): Likewise.
15320         (log2_test): Likewise.
15321         (logb_test_downward): Likewise.
15322         (pow_test): Likewise.
15323         (pow_test_tonearest): Likewise.
15324         (pow_test_towardzero): Likewise.
15325         (pow_test_downward): Likewise.
15326         (pow_test_upward): Likewise.
15327         (remainder_test): Likewise.
15328         (remquo_test): Likewise.
15329         (sin_test): Likewise.
15330         (sin_test_tonearest): Likewise.
15331         (sin_test_towardzero): Likewise.
15332         (sin_test_downward): Likewise.
15333         (sin_test_upward): Likewise.
15334         (sincos_test): Likewise.
15335         (sinh_test): Likewise.
15336         (sinh_test_tonearest): Likewise.
15337         (sinh_test_towardzero): Likewise.
15338         (sinh_test_downward): Likewise.
15339         (sinh_test_upward): Likewise.
15340         (sqrt_test): Likewise.
15341         (tan_test): Likewise.
15342         (tan_test_tonearest): Likewise.
15343         (tan_test_towardzero): Likewise.
15344         (tan_test_downward): Likewise.
15345         (tan_test_upward): Likewise.
15346         (tanh_test): Likewise.
15347         (tgamma_test): Likewise.
15348         (y0_test): Likewise.
15349         (y1_test): Likewise.
15350         (yn_test): Likewise.
15352         * math/gen-libm-test.pl (adjust_arg): Remove function.
15353         (special_function): Remove argument $in_func.  Only handle
15354         generating output for tables of tests, not inside functions.
15355         (parse_args): Likewise.
15356         (generate_testfile): Remove variable $in_func.  Update call to
15357         parse_args.
15358         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15359         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15360         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15361         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15362         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15363         (MAX_VALUE_INIT): Rename macro to max_value.
15364         (MIN_VALUE_INIT): Rename macro to min_value.
15365         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15366         (plus_zero): Remove variable.
15367         (minus_zero): Likewise.
15368         (plus_infty): Likewise.
15369         (minus_infty): Likewise.
15370         (qnan_value): Likewise.
15371         (max_value): Likewise.
15372         (min_value): Likewise.
15373         (min_subnorm_value): Likewise.
15375 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15377         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15378         uint64_t or uint32_t usage.
15379         * crypt/sha256-block.c: Likewise.
15380         * crypt/sha256-crypt.c: Likewise.
15381         * crypt/sha256.c: Likewise.
15382         * crypt/sha512-block.c: Likewise.
15383         * crypt/sha512-crypt.c: Likewise.
15384         * crypt/sha512.c: Likewise.
15385         * debug/backtrace-tst.c: Likewise.
15386         * debug/pcprofiledump.c: Likewise.
15387         * elf/cache.c: Likewise.
15388         * elf/dl-cache.c: Likewise.
15389         * elf/dl-misc.c: Likewise.
15390         * elf/dl-profile.c: Likewise.
15391         * elf/dl-support.c: Likewise.
15392         * elf/ldconfig.c: Likewise.
15393         * elf/sprof.c: Likewise.
15394         * iconv/dummy-repertoire.c: Likewise.
15395         * iconv/iconv_charmap.c: Likewise.
15396         * iconv/skeleton.c: Likewise.
15397         * iconvdata/8bit-generic.c: Likewise.
15398         * iconvdata/cp737.h: Likewise.
15399         * iconvdata/cp775.h: Likewise.
15400         * iconvdata/ibm1008.h: Likewise.
15401         * iconvdata/ibm1025.h: Likewise.
15402         * iconvdata/ibm1046.h: Likewise.
15403         * iconvdata/ibm1097.h: Likewise.
15404         * iconvdata/ibm1112.h: Likewise.
15405         * iconvdata/ibm1122.h: Likewise.
15406         * iconvdata/ibm1123.h: Likewise.
15407         * iconvdata/ibm1124.h: Likewise.
15408         * iconvdata/ibm1129.h: Likewise.
15409         * iconvdata/ibm1130.h: Likewise.
15410         * iconvdata/ibm1132.h: Likewise.
15411         * iconvdata/ibm1133.h: Likewise.
15412         * iconvdata/ibm1137.h: Likewise.
15413         * iconvdata/ibm1140.h: Likewise.
15414         * iconvdata/ibm1141.h: Likewise.
15415         * iconvdata/ibm1142.h: Likewise.
15416         * iconvdata/ibm1143.h: Likewise.
15417         * iconvdata/ibm1144.h: Likewise.
15418         * iconvdata/ibm1145.h: Likewise.
15419         * iconvdata/ibm1146.h: Likewise.
15420         * iconvdata/ibm1147.h: Likewise.
15421         * iconvdata/ibm1148.h: Likewise.
15422         * iconvdata/ibm1149.h: Likewise.
15423         * iconvdata/ibm1153.h: Likewise.
15424         * iconvdata/ibm1154.h: Likewise.
15425         * iconvdata/ibm1155.h: Likewise.
15426         * iconvdata/ibm1156.h: Likewise.
15427         * iconvdata/ibm1157.h: Likewise.
15428         * iconvdata/ibm1158.h: Likewise.
15429         * iconvdata/ibm1160.h: Likewise.
15430         * iconvdata/ibm1161.h: Likewise.
15431         * iconvdata/ibm1162.h: Likewise.
15432         * iconvdata/ibm1163.h: Likewise.
15433         * iconvdata/ibm1164.h: Likewise.
15434         * iconvdata/ibm1166.h: Likewise.
15435         * iconvdata/ibm1167.h: Likewise.
15436         * iconvdata/ibm12712.h: Likewise.
15437         * iconvdata/ibm1390.h: Likewise.
15438         * iconvdata/ibm1399.h: Likewise.
15439         * iconvdata/ibm16804.h: Likewise.
15440         * iconvdata/ibm4517.h: Likewise.
15441         * iconvdata/ibm4899.h: Likewise.
15442         * iconvdata/ibm4909.h: Likewise.
15443         * iconvdata/ibm4971.h: Likewise.
15444         * iconvdata/ibm5347.h: Likewise.
15445         * iconvdata/ibm803.h: Likewise.
15446         * iconvdata/ibm856.h: Likewise.
15447         * iconvdata/ibm901.h: Likewise.
15448         * iconvdata/ibm902.h: Likewise.
15449         * iconvdata/ibm9030.h: Likewise.
15450         * iconvdata/ibm9066.h: Likewise.
15451         * iconvdata/ibm921.h: Likewise.
15452         * iconvdata/ibm922.h: Likewise.
15453         * iconvdata/ibm9448.h: Likewise.
15454         * iconvdata/isiri-3342.h: Likewise.
15455         * iconvdata/jis0201.h: Likewise.
15456         * include/link.h: Likewise.
15457         * include/netdb.h: Likewise.
15458         * inet/check_native.c: Likewise.
15459         * inet/check_pf.c: Likewise.
15460         * inet/getipv4sourcefilter.c: Likewise.
15461         * inet/getnameinfo.c: Likewise.
15462         * inet/getsourcefilter.c: Likewise.
15463         * inet/htonl.c: Likewise.
15464         * inet/setipv4sourcefilter.c: Likewise.
15465         * inet/setsourcefilter.c: Likewise.
15466         * inet/test-inet6_opt.c: Likewise.
15467         * inet/tst-network.c: Likewise.
15468         * locale/C-collate.c: Likewise.
15469         * locale/C-ctype.c: Likewise.
15470         * locale/C-time.c: Likewise.
15471         * locale/C-translit.h: Likewise.
15472         * locale/loadarchive.c: Likewise.
15473         * locale/programs/3level.h: Likewise.
15474         * locale/programs/charmap.c: Likewise.
15475         * locale/programs/charmap.h: Likewise.
15476         * locale/programs/ld-address.c: Likewise.
15477         * locale/programs/ld-collate.c: Likewise.
15478         * locale/programs/ld-ctype.c: Likewise.
15479         * locale/programs/ld-identification.c: Likewise.
15480         * locale/programs/ld-measurement.c: Likewise.
15481         * locale/programs/ld-messages.c: Likewise.
15482         * locale/programs/ld-monetary.c: Likewise.
15483         * locale/programs/ld-name.c: Likewise.
15484         * locale/programs/ld-numeric.c: Likewise.
15485         * locale/programs/ld-paper.c: Likewise.
15486         * locale/programs/ld-telephone.c: Likewise.
15487         * locale/programs/ld-time.c: Likewise.
15488         * locale/programs/linereader.c: Likewise.
15489         * locale/programs/locale.c: Likewise.
15490         * locale/programs/locarchive.c: Likewise.
15491         * locale/programs/locfile.h: Likewise.
15492         * locale/programs/repertoire.c: Likewise.
15493         * locale/programs/simple-hash.c: Likewise.
15494         * locale/programs/simple-hash.h: Likewise.
15495         * malloc/memusage.c: Likewise.
15496         * malloc/memusagestat.c: Likewise.
15497         * nis/nis_defaults.c: Likewise.
15498         * nis/nis_hash.c: Likewise.
15499         * nis/nis_print.c: Likewise.
15500         * nis/nis_xdr.c: Likewise.
15501         * nscd/connections.c: Likewise.
15502         * nscd/hstcache.c: Likewise.
15503         * nscd/nscd_gethst_r.c: Likewise.
15504         * nscd/nscd_getserv_r.c: Likewise.
15505         * nscd/nscd_helper.c: Likewise.
15506         * nscd/servicescache.c: Likewise.
15507         * nss/makedb.c: Likewise.
15508         * nss/nss_db/db-XXX.c: Likewise.
15509         * nss/nss_db/db-initgroups.c: Likewise.
15510         * nss/nss_db/db-netgrp.c: Likewise.
15511         * nss/nss_files/files-network.c: Likewise.
15512         * nss/nss_files/files-parse.c: Likewise.
15513         * posix/bug-regex5.c: Likewise.
15514         * posix/fnmatch_loop.c: Likewise.
15515         * posix/regcomp.c: Likewise.
15516         * posix/regexec.c: Likewise.
15517         * posix/tst-rfc3484-2.c: Likewise.
15518         * posix/tst-rfc3484-3.c: Likewise.
15519         * posix/tst-rfc3484.c: Likewise.
15520         * resolv/nss_dns/dns-canon.c: Likewise.
15521         * resolv/nss_dns/dns-network.c: Likewise.
15522         * resolv/res_init.c: Likewise.
15523         * resolv/res_mkquery.c: Likewise.
15524         * resolv/tst-aton.c: Likewise.
15525         * stdlib/cxa_atexit.c: Likewise.
15526         * stdlib/cxa_finalize.c: Likewise.
15527         * stdlib/gen-fpioconst.c: Likewise.
15528         * stdlib/strtol_l.c: Likewise.
15529         * string/tst-endian.c: Likewise.
15530         * sunrpc/auth_des.c: Likewise.
15531         * sunrpc/clnt_udp.c: Likewise.
15532         * sunrpc/rtime.c: Likewise.
15533         * sunrpc/svcauth_des.c: Likewise.
15534         * sunrpc/xdr.c: Likewise.
15535         * sunrpc/xdr_intXX_t.c: Likewise.
15536         * sunrpc/xdr_rec.c: Likewise.
15537         * sysdeps/generic/ldconfig.h: Likewise.
15538         * sysdeps/generic/ldsodefs.h: Likewise.
15539         * sysdeps/generic/memusage.h: Likewise.
15540         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15541         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15542         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15543         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15544         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15545         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15546         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15547         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15548         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15550         * sysdeps/posix/getaddrinfo.c: Likewise.
15551         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15552         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15553         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15554         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15555         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15556         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15557         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15558         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15559         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15560         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15561         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15562         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15563         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15564         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15565         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15566         * sysdeps/x86_64/dl-tls.h: Likewise.
15567         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15568         * time/alt_digit.c: Likewise.
15569         * time/era.c: Likewise.
15570         * wcsmbs/tst-c16c32-1.c: Likewise.
15572 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15574         * math/libm-test.inc (struct test_sincos_data): New type.
15575         (RUN_TEST_LOOP_sincos): New macro.
15576         (sincos_test_data): New variable.
15577         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15579 2013-05-16  Richard Henderson  <rth@redhat.com>
15581         * math/atest-exp2.c (LIMB64): New macro.
15582         (CONSTSZ): New macro.
15583         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15584         (hexdig): Move ...
15585         (print_mpn_fp): ... to function scope.
15586         (read_mpn_hex): Remove.
15587         (get_log2): Remove.
15588         (exp2_mpn): Use mp_log2.
15589         (main): Use mp_exp1.
15591 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15593         * math/libm-test.inc: Remove comment about not testing "inexact"
15594         exceptions.
15595         (INEXACT_EXCEPTION): New macro.
15596         (NO_INEXACT_EXCEPTION): Likewise.
15597         (INVALID_EXCEPTION_OK): Update value.
15598         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15599         (OVERFLOW_EXCEPTION_OK): Likewise.
15600         (UNDERFLOW_EXCEPTION_OK): Likewise.
15601         (IGNORE_ZERO_INF_SIGN): Likewise.
15602         (ERRNO_UNCHANGED): Likewise.
15603         (ERRNO_EDOM): Likewise.
15604         (ERRNO_ERANGE): Likewise.
15605         (test_exceptions): Handle testing "inexact" exceptions.
15606         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15607         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15608         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15609         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15610         INEXACT_EXCEPTION.
15611         (rint_towardzero_test_data): Likewise.
15612         (rint_downward_test_data): Likewise.
15613         (rint_upward_test_data): Likewise.
15615         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15616         with OVERFLOW_EXCEPTION.
15617         (exp10_test_data): Likewise.
15618         (exp2_test_data): Likewise.
15619         (expm1_test_data): Likewise.
15620         (lgamma_test_data): Likewise.
15621         (pow_test_data): Likewise.
15622         (tgamma_test_data): Likewise.
15623         (yn_test_data): Remove duplicate test of overflow.
15625         * math/libm-test.inc (struct test_cc_c_data): New type.
15626         (RUN_TEST_LOOP_cc_c): New macro.
15627         (cpow_test_data): New variable.
15628         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15630         * math/libm-test.inc (struct test_f_L_data): New type.
15631         (RUN_TEST_LOOP_f_L): New macro.
15632         (llrint_test_data): New variable.
15633         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15634         (llrint_tonearest_test_data): New variable.
15635         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15636         (llrint_towardzero_test_data): New variable.
15637         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15638         (llrint_downward_test_data): New variable.
15639         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15640         (llrint_upward_test_data): New variable.
15641         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15642         (llround_test_data): New variable.
15643         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15645 2013-05-13  Peter Collingbourne  <pcc@google.com>
15647         * math/atest-exp2.c (get_log2): Remove const attribute.
15649 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15651         * math/libm-test.inc (struct test_f_l_data): New type.
15652         (RUN_TEST_LOOP_f_l): New macro.
15653         (lrint_test_data): New variable.
15654         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15655         (lrint_tonearest_test_data): New variable.
15656         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15657         (lrint_towardzero_test_data): New variable.
15658         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15659         (lrint_downward_test_data): New variable.
15660         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15661         (lrint_upward_test_data): New variable.
15662         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15663         (lround_test_data): New variable.
15664         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15666 2013-05-15  Peter Collingbourne  <pcc@google.com>
15668         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15669         (EXTRACT_WORDS64) Use where appropriate.
15670         (INSERT_WORDS64) Likewise.
15672         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15673         constraints with x constraints.
15674         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15676         * malloc/obstack.c (_obstack_compat): Add initializer.
15678 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15680         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15681         si_trapno and add si_addr_lsb to _sifields.sigfault.
15682         (si_trapno): Remove macro.
15683         (si_addr_lsb): Define new macro.
15684         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15686 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15688         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15689         instead of TEST_f_l.
15690         (llrint_test_tonearest): Likewise.
15691         (llrint_test_towardzero): Likewise.
15692         (llrint_test_downward): Likewise.
15693         (llrint_test_upward): Likewise.
15694         (llround_test): Likewise.
15696         * math/libm-test.inc (struct test_f_i_data): Add comment.
15697         (RUN_TEST_LOOP_f_b): New macro.
15698         (RUN_TEST_LOOP_f_b_tg): Likewise.
15699         (finite_test_data): New variable.
15700         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15701         (isfinite_test_data): New variable.
15702         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15703         (isinf_test_data): New variable.
15704         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15705         (isnan_test_data): New variable.
15706         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15707         (isnormal_test_data): New variable.
15708         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15709         (issignaling_test_data): New variable.
15710         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15711         (signbit_test_data): New variable.
15712         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15714         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15715         with INVALID_EXCEPTION.
15716         (acosh_test_data): Likewise.
15717         (asin_test_data): Likewise.
15718         (atanh_test_data): Likewise.
15719         (fmod_test_data): Likewise.
15720         (log_test_data): Likewise.
15721         (log10_test_data): Likewise.
15722         (log2_test_data): Likewise.
15723         (pow_test_data): Likewise.
15724         (sqrt_test_data): Likewise.
15725         (y0_test_data): Likewise.
15726         (y1_test_data): Likewise.
15727         (yn_test_data): Likewise.
15729         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15730         function contents.
15732         * math/libm-test.inc (struct test_ff_i_data): New type.
15733         (RUN_TEST_LOOP_ff_i_tg): New macro.
15734         (isgreater_test_data): New variable.
15735         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15736         (isgreaterequal_test_data): New variable.
15737         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15738         (isless_test_data): New variable.
15739         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15740         (islessequal_test_data): New variable.
15741         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15742         (islessgreater_test_data): New variable.
15743         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15744         (isunordered_test_data): New variable.
15745         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15747 2013-05-14  David S. Miller  <davem@davemloft.net>
15749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15751 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15753         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15755         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15756         extra_test to int.
15757         (struct test_f_i_data): Change type of max_ulp to int.
15759         * math/libm-test.inc (test_ffI_f1_data): New type.
15760         (RUN_TEST_LOOP_ffI_f1): New macro.
15761         (remquo_test_data): New variable.
15762         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15764         * setjmp/tst-setjmp-fp.c: New file.
15765         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15766         (link-libm): New variable.
15767         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15769         * math/libm-test.inc (struct test_f_i_data): New type.
15770         (RUN_TEST_LOOP_f_i): New macro.
15771         (RUN_TEST_LOOP_f_i_tg): Likewise.
15772         (fpclassify_test_data): New variable.
15773         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15774         (ilogb_test_data): New variable.
15775         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15777         * math/libm-test.inc (scalbln_test): Correct function name in END
15778         call.
15780         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15781         (RUN_TEST_LOOP_fI_f1): New macro.
15782         (frexp_test_data): New variable.
15783         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15785         * math/libm-test.inc (struct test_fF_f1_data): New type.
15786         (RUN_TEST_LOOP_fF_f1): New macro.
15787         (modf_test_data): New variable.
15788         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15790         * math/libm-test.inc (struct test_f_f1_data): New type.
15791         (RUN_TEST_LOOP_f_f1): New macro.
15792         (gamma_test_data): New variable.
15793         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15794         (lgamma_test_data): New variable.
15795         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15797 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15799         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15800         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15801         (main): Comment "tls" pseudo-hwcap.
15803 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15805         * math/libm-test.inc (struct test_fl_f_data): New type.
15806         (RUN_TEST_LOOP_fl_f): New variable.
15807         (scalbln_test_data): New variable.
15808         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15810         * math/libm-test.inc (struct test_fi_f_data): New type.
15811         (RUN_TEST_LOOP_fi_f): New macro.
15812         (ldexp_test_data): New variable.
15813         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15814         (scalbn_test_data): New variable.
15815         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15817         * math/libm-test.inc (struct test_c_f_data): New type.
15818         (RUN_TEST_LOOP_c_f): New macro.
15819         (cabs_test_data): New variable.
15820         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15821         (carg_test_data): New variable.
15822         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15823         (cimag_test_data): New variable.
15824         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15825         (creal_test_data): New variable.
15826         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15828         * math/libm-test.inc (struct test_if_f_data): New type.
15829         (RUN_TEST_LOOP_if_f): New macro.
15830         (jn_test_data): New variable.
15831         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15832         (yn_test_data): New variable.
15833         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15835         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15837 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15839         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15840         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15842 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15844         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15845         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15846         (bench-deps): Add bench-timing.h.
15847         * benchtests-bench-skeleton.c: Include bench-timing.h.
15848         (main): Use TIMING_* macros instead of clock_gettime.
15849         * benchtests/bench-timing.h: New file.
15851         [BZ #14582]
15852         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15853         Renamed from _LIB_VERSION.
15854         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15856 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15858         * math/libm-test.inc (struct test_fff_f_data): New type.
15859         (RUN_TEST_LOOP_fff_f): New macro.
15860         (fma_test_data): New variable.
15861         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15862         (fma_towardzero_test_data): New variable.
15863         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15864         (fma_downward_test_data): New variable.
15865         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15866         (fma_upward_test_data): New variable.
15867         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15869         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15870         (struct test_c_c_data): New type.
15871         (RUN_TEST_LOOP_c_c): New macro.
15872         (cacos_test_data): New variable.
15873         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15874         (cacosh_test_data): New variable.
15875         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15876         (casin_test_data): New variable.
15877         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15878         (casinh_test_data): New variable.
15879         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15880         (catan_test_data): New variable.
15881         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15882         (catanh_test_data): New variable.
15883         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15884         (ccos_test_data): New variable.
15885         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15886         (ccosh_test_data): New variable.
15887         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15888         (cexp_test_data): New variable.
15889         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15890         (clog_test_data): New variable.
15891         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15892         (clog10_test_data): New variable.
15893         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15894         (conj_test_data): New variable.
15895         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15896         (cproj_test_data): New variable.
15897         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15898         (csin_test_data): New variable.
15899         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15900         (csinh_test_data): New variable.
15901         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15902         (csqrt_test_data): New variable.
15903         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15904         (ctan_test_data): New variable.
15905         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15906         (ctan_tonearest_test_data): New variable.
15907         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15908         (ctan_towardzero_test_data): New variable.
15909         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15910         (ctan_downward_test_data): New variable.
15911         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15912         (ctan_upward_test_data): New variable.
15913         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15914         (ctanh_test_data): New variable.
15915         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15916         (ctanh_tonearest_test_data): New variable.
15917         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15918         (ctanh_towardzero_test_data): New variable.
15919         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15920         (ctanh_downward_test_data): New variable.
15921         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15922         (ctanh_upward_test_data): New variable.
15923         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15924         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15925         of BUILD_COMPLEX.
15927         * math/libm-test.inc (struct test_ff_f_data): New type.
15928         (struct test_ff_f_data_nexttoward): Likewise.
15929         (RUN_TEST_LOOP_2_f): New macro.
15930         (RUN_TEST_LOOP_ff_f): Likewise.
15931         (atan2_test_data): New variable.
15932         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15933         (copysign_test_data): New variable.
15934         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15935         (fdim_test_data): New variable.
15936         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15937         (fmax_test_data): New variable.
15938         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15939         (fmin_test_data): New variable.
15940         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15941         (fmod_test_data): New variable.
15942         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15943         (hypot_test_data): New variable.
15944         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15945         (nextafter_test_data): New variable.
15946         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15947         (nexttoward_test_data): New variable.
15948         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15949         (pow_test_data): New variable.
15950         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15951         (pow_tonearest_test_data): New variable.
15952         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15953         (pow_towardzero_test_data): New variable.
15954         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15955         (pow_downward_test_data): New variable.
15956         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15957         (pow_upward_test_data): New variable.
15958         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15959         (remainder_test_data): New variable.
15960         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15961         (scalb_test_data): New variable.
15962         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15963         * sysdeps/i386/fpu/libm-test-ulps: Update.
15965 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15967         * math/libm-test.inc (fma_test): Use max_value instead of local
15968         variable fltmax.
15969         (nextafter_test): Likewise.
15971         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15972         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15973         (acos_downward_test_data): New variable.
15974         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15975         (acos_upward_test_data): New variable.
15976         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15977         (acosh_test_data): New variable.
15978         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15979         (asin_test_data): New variable.
15980         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15981         (asin_tonearest_test_data): New variable.
15982         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15983         (asin_towardzero_test_data): New variable.
15984         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15985         (asin_downward_test_data): New variable.
15986         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15987         (asin_upward_test_data): New variable.
15988         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15989         (asinh_test_data): New variable.
15990         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15991         (atan_test_data): New variable.
15992         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15993         (atanh_test_data): New variable.
15994         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15995         (cbrt_test_data): New variable.
15996         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15997         (ceil_test_data): New variable.
15998         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15999         (cos_test_data): New variable.
16000         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16001         (cos_tonearest_test_data): New variable.
16002         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16003         (cos_towardzero_test_data): New variable.
16004         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16005         (cos_downward_test_data): New variable.
16006         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16007         (cos_upward_test_data): New variable.
16008         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16009         (cosh_test_data): New variable.
16010         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16011         (cosh_tonearest_test_data): New variable.
16012         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16013         (cosh_towardzero_test_data): New variable.
16014         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16015         (cosh_downward_test_data): New variable.
16016         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16017         (cosh_upward_test_data): New variable.
16018         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16019         (erf_test_data): New variable.
16020         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16021         (erfc_test_data): New variable.
16022         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16023         (exp_test_data): New variable.
16024         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16025         (exp_tonearest_test_data): New variable.
16026         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16027         (exp_towardzero_test_data): New variable.
16028         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16029         (exp_downward_test_data): New variable.
16030         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16031         (exp_upward_test_data): New variable.
16032         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16033         (exp10_test_data): New variable.
16034         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16035         (exp2_test_data): New variable.
16036         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16037         (expm1_test_data): New variable.
16038         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16039         (fabs_test_data): New variable.
16040         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16041         (floor_test_data): New variable.
16042         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16043         (j0_test_data): New variable.
16044         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16045         (j1_test_data): New variable.
16046         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16047         (log_test_data): New variable.
16048         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16049         (log10_test_data): New variable.
16050         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16051         (log1p_test_data): New variable.
16052         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16053         (log2_test_data): New variable.
16054         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16055         (logb_test_data): New variable.
16056         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16057         (logb_downward_test_data): New variable.
16058         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16059         (nearbyint_test_data): New variable.
16060         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16061         (rint_test_data): New variable.
16062         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16063         (rint_tonearest_test_data): New variable.
16064         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16065         (rint_towardzero_test_data): New variable.
16066         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16067         (rint_downward_test_data): New variable.
16068         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16069         (rint_upward_test_data): New variable.
16070         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16071         (round_test_data): New variable.
16072         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16073         (sin_test_data): New variable.
16074         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16075         (sin_tonearest_test_data): New variable.
16076         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16077         (sin_towardzero_test_data): New variable.
16078         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16079         (sin_downward_test_data): New variable.
16080         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16081         (sin_upward_test_data): New variable.
16082         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16083         (sinh_test_data): New variable.
16084         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16085         (sinh_tonearest_test_data): New variable.
16086         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16087         (sinh_towardzero_test_data): New variable.
16088         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16089         (sinh_downward_test_data): New variable.
16090         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16091         (sinh_upward_test_data): New variable.
16092         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16093         (sqrt_test_data): New variable.
16094         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16095         (tan_test_data): New variable.
16096         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16097         (tan_tonearest_test_data): New variable.
16098         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16099         (tan_towardzero_test_data): New variable.
16100         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16101         (tan_downward_test_data): New variable.
16102         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16103         (tan_upward_test_data): New variable.
16104         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16105         (tanh_test_data): New variable.
16106         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16107         (tgamma_test_data): New variable.
16108         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16109         (trunc_test_data): New variable.
16110         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16111         (y0_test_data): New variable.
16112         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16113         (y1_test_data): New variable.
16114         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16115         (significand_test_data): New variable.
16116         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16118 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16120         [BZ #12387]
16121         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16123 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16125         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16127 2013-05-10  Andreas Jaeger  <aj@suse.de>
16129         [BZ #15448]
16130         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16131         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16133 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16135         * math/gen-libm-test.pl (adjust_arg): New function.
16136         (special_functions): Handle generating output in both functions
16137         and arrays.
16138         (parse_args): Likewise.
16139         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16140         $in_func argument to parse_args.
16141         * math/libm-test.inc (struct test_f_f_data): New type.
16142         (IF_ROUND_INIT_): New macro.
16143         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16144         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16145         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16146         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16147         (ROUND_RESTORE_): Likewise.
16148         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16149         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16150         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16151         (ROUND_RESTORE_FE_UPWARD): Likewise.
16152         (RUN_TEST_LOOP_f_f): New macro.
16153         (acos_test_data): New variable.
16154         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16155         (acos_tonearest_test_data): New variable.
16156         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16158 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16160         * benchtests/bench-skeleton.c (startup): Fix coding style.
16162 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16164         [BZ #6809]
16165         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16166         negative infinity argument.
16167         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16168         negative infinity argument.
16169         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16170         negative infinity argument.
16171         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16172         domain errors.
16174 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16176         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16177         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16178         * iconv/iconv_prog.c (main): Likewise.
16179         * locale/programs/charmap-dir.c (charmap_readdir)
16180         (fopen_uncompressed): Likewise.
16181         * locale/programs/locfile.c (siblings_uncached)
16182         (write_locale_data): Use lstat64 instead of lstat.
16183         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16184         stat.
16186 2013-05-10  Andreas Jaeger  <aj@suse.de>
16188         [BZ #15395]
16189         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16190         localization.
16191         Include <locale.h>.
16193 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16195         * elf/dl-close.c (_dl_close_worker): Add comments.
16197 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16199         [BZ #15359]
16200         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16201         high part of pi/2.
16202         (__ieee754_rem_pio2l): Update comments.
16204         [BZ #15429]
16205         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16206         high part of pi/2.
16207         (__ieee754_rem_pio2l): Update comments.
16209         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16210         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16212         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16213         M_PI_4l.
16215         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16216         (M_PI_34_LOG10El): Likewise.
16217         (M_PI2_LOG10El): Likewise.
16218         (M_PI4_LOG10El): Likewise.
16219         (M_PI_LOG10El): Likewise.
16221 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16225 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16227         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16228         (MINUS_ZERO_INIT): Likewise.
16229         (PLUS_INFTY_INIT): Likewise.
16230         (MINUS_INFTY_INIT): Likewise.
16231         (QNAN_VALUE_INIT): Likewise.
16232         (MAX_VALUE_INIT): Likewise.
16233         (MIN_VALUE_INIT): Likewise.
16234         (MIN_SUBNORM_VALUE_INIT): Likewise.
16235         (plus_zero): Initialize with PLUS_ZERO_INIT.
16236         (minus_zero): Initialize with MINUS_ZERO_INIT.
16237         (plus_infty): Initialize with PLUS_INFTY_INIT.
16238         (minus_infty): Initialize with MINUS_INFTY_INIT.
16239         (qnan_value): Initialize with QNAN_VALUE_INIT.
16240         (max_value): Initialize with MAX_VALUE_INIT.
16241         (min_value): Initialize with MIN_VALUE_INIT.
16242         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16244         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16245         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16246         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16247         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16249         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16250         (RUN_TEST_2_f): Likewise.
16251         (RUN_TEST_ff_f): Likewise.
16252         (RUN_TEST_fi_f): Likewise.
16253         (RUN_TEST_fl_f): Likewise.
16254         (RUN_TEST_fff_f): Likewise.
16255         (RUN_TEST_c_f): Likewise.
16256         (RUN_TEST_f_f1): Likewise.
16257         (RUN_TEST_fF_f1): Likewise.
16258         (RUN_TEST_fI_f1): Likewise.
16259         (RUN_TEST_ffI_f1): Likewise.
16260         (RUN_TEST_c_c): Likewise.
16261         (RUN_TEST_cc_c): Likewise.
16262         (RUN_TEST_f_i): Likewise.
16263         (RUN_TEST_f_i_tg): Likewise.
16264         (RUN_TEST_ff_i_tg): Likewise.
16265         (RUN_TEST_f_b): Likewise.
16266         (RUN_TEST_f_b_tg): Likewise.
16267         (RUN_TEST_f_l): Likewise.
16268         (RUN_TEST_f_L): Likewise.
16269         (RUN_TEST_sincos): Likewise.
16270         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16271         whether to show exceptions.  Do not include ");\n" in return
16272         value.
16273         (special_functions): Output call to RUN_TEST_sincos instead of
16274         check_float calls.  Update calls to new_test.
16275         (parse_args): Output call to single RUN_TEST_* macro instead of
16276         check_* calls and other assignments.  Update calls to new_test.
16278         [BZ #2546]
16279         [BZ #2560]
16280         [BZ #5159]
16281         [BZ #15426]
16282         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16283         input to result for tgamma overflow.
16284         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16285         (gamma_coeff): New variable.
16286         (NCOEFF): New macro.
16287         (gamma_positive): New function.
16288         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16289         underflow here.  Use gamma_positive instead of exp (lgamma) for
16290         other arguments.
16291         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16292         (gamma_coeff): New variable.
16293         (NCOEFF): New macro.
16294         (gammaf_positive): New function.
16295         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16296         underflow here.  Use gamma_positive instead of exp (lgamma) for
16297         other arguments.
16298         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16299         (gamma_coeff): New variable.
16300         (NCOEFF): New macro.
16301         (gammal_positive): New function.
16302         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16303         underflow here.  Use gamma_positive instead of exp (lgamma) for
16304         other arguments.
16305         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16306         (gamma_coeff): New variable.
16307         (NCOEFF): New macro.
16308         (gammal_positive): New function.
16309         (__ieee754_gammal_r): Handle positive infinity, overflow and
16310         underflow here.  Handle NaN the same as positive infinity.  Remove
16311         check x < 0xffffffff for negative integers.  Use gamma_positive
16312         instead of exp (lgamma) for other arguments.
16313         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16314         (gamma_coeff): New variable.
16315         (NCOEFF): New macro.
16316         (gammal_positive): New function.
16317         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16318         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16319         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16320         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16321         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16322         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16323         * sysdeps/generic/math_private.h (__gamma_productf): New
16324         prototype.
16325         (__gamma_product): Likewise.
16326         (__gamma_productl): Likewise.
16327         * math/Makefile (libm-calls): Add gamma_product.
16328         * math/libm-test.inc (tgamma_test): Add more tests.
16329         * sysdeps/i386/fpu/libm-test-ulps: Update.
16330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16332 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16334         * benchtests/bench-skeleton.c (main): Preheat CPU.
16336 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16338         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16340 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16342         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16343         and _dl_skip_args_internal.
16345 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16347         * manual/message.texi (Message Translation): Talk about users.
16348         Message to key mapping impacts design.
16350 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16352         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16354         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16356         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16357         * sysdeps/wordsize-64/glob64.c: ... here.
16359         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16360         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16361         New macros.
16363         * debug/getlogin_r_chk.c: Moved to ...
16364         * login/getlogin_r_chk.c: ... here.
16365         * debug/Makefile (routines): Move getlogin_r_chk to ...
16366         * login/Makefile (routines): ... here.
16367         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16368         * login/Versions (libc: GLIBC_2.4): ... here.
16370         * io/poll.c (__poll): Renamed from poll.
16371         Add libc_hidden_def.
16372         (poll): Define as weak alias.
16374         * debug/ptsname_r_chk.c: Moved to ...
16375         * login/ptsname_r_chk.c: ... here.
16376         * debug/Makefile (routines): Move ptsname_r_chk to ...
16377         * login/Makefile (routines): ... here.
16378         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16379         * login/Versions (libc: GLIBC_2.4): ... here.
16381         * posix/getlogin.c: Moved to ...
16382         * login/getlogin.c: ... here.
16383         * posix/getlogin_r.c: Moved to ...
16384         * login/getlogin_r.c: ... here.
16385         * posix/getlogin_r.c: Moved to ...
16386         * login/getlogin_r.c: ... here.
16387         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16388         * login/Makefile (routines): ... here.
16389         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16390         * login/Versions (libc: GLIBC_2.0): ... here.
16392         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16393         (setrlimit): Define as weak alias.
16395         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16396         Call __ names for open, ftruncate, and close.
16397         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16398         (truncate): Define as weak alias.
16400 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16402         * math/gen-libm-test.pl (parse_args): Initialize x before each
16403         test of frexp, modf and remquo.
16405         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16406         test signgam value.
16408 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16410         [BZ #15418]
16411         [BZ #15419]
16412         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16413         internal tests.
16414         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16416 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16418         * elf/dl-writev.h: New file.
16419         * elf/dl-misc.c: Include it.
16420         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16421         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16423 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16425         * math/libm-test.inc (noXFails): Remove variable.
16426         (noXPasses): Likewise.
16427         (BUILD_COMPLEX_INT): Remove macro.
16428         (print_screen): Remove xfail argument.
16429         (print_screen_max_error): Likewise.
16430         (update_stats): Likewise.
16431         (print_max_error): Likewise.  Update calls to other affected
16432         functions.
16433         (print_complex_max_error): Likewise.
16434         (test_single_exception): Update calls to print_screen.
16435         (test_single_errno): Likewise.
16436         (check_float_internal): Remove xfail argument.  Update calls to
16437         other affected functions.
16438         (check_float): Likewise.
16439         (check_complex): Likewise.
16440         (check_int): Likewise.
16441         (check_long): Likewise.
16442         (check_bool): Likewise.
16443         (check_longlong): Likewise.
16444         (main): Don't print noXFails and noXPasses.
16445         * math/gen-libm-test.pl (top level): Don't mention expected
16446         failure handling in comment.
16447         (new_test): Don't handle expected failures.
16448         (parse_args): Don't mention expected failure handling in comment.
16449         (generate_testfile): Don't handle expected failures.
16450         (parse_ulps): Likewise.
16451         (print_ulps_file): Likewise.
16452         (get_failure): Remove function.
16453         (output_test): Don't handle expected failures.
16454         * make/README.libm-test: Don't mention expected failure handling.
16456         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16457         (minus_zero): Likewise.
16458         (plus_infty): Likewise.
16459         (minus_infty): Likewise.
16460         (qnan_value): Likewise.
16461         (max_value): Likewise.
16462         (min_value): Likewise.
16463         (min_subnorm_value): Likewise.
16464         (initialize): Do not initialize those variables dynamically.
16466 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16468         * io/open.c (__open_2): Moved to ...
16469         * io/open_2.c: ... this new file.
16470         * io/open64.c (__open64_2): Moved to ...
16471         * io/open64_2.c: ... this new file.
16472         * io/openat.c (__openat_2): Moved to ...
16473         * io/openat_2.c: ... this new file.
16474         * io/openat64.c (__openat64_2): Moved to ...
16475         * io/openat64_2.c: ... this new file.
16476         * io/Makefile (routines): Add them.
16477         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16478         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16479         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16480         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16481         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16482         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16483         (__openat64): Add hidden_ver.
16484         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16485         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16487         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16488         Separately conditionalize setting of GLRO(dl_sysinfo) so
16489         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16490         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16492 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16494         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16495         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16496         definition.
16497         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16498         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16499         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16500         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16501         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16503 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16505         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16506         test signgam value.
16508         * math/libm-test.inc (hypot_test): Do not use
16509         IGNORE_ZERO_INF_SIGN.
16511 2013-05-03  Andreas Jaeger  <aj@suse.de>
16513         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16514         Linux 3.9.
16515         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16516         (PF_MAX): Adjust for VSOCK change.
16518 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16522 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16524         [BZ #15264]
16525         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16526         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16527         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16529 2013-05-02  David S. Miller  <davem@davemloft.net>
16531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16533 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16535         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16537 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16539         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16541 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16543         [BZ #14952]
16544         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16545         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16546         Use __attribute__ ((__gnu_inline__)).
16547         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16548         Don't use __attribute__ ((__gnu_inline__)).
16550 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16552         [BZ #15423]
16553         * math/s_catan.c (__catan): Handle small real or imaginary part of
16554         input specially to avoid spurious underflow.
16555         * math/s_catanf.c (__catanf): Likewise.
16556         * math/s_catanh.c (__catanh): Likewise.
16557         * math/s_catanhf.c (__catanhf): Likewise.
16558         * math/s_catanhl.c (__catanhl): Likewise.
16559         * math/s_catanl.c (__catanl): Likewise.
16560         * math/libm-test.inc (catan_test): Add more tests.
16561         (catanh_test): Likewise.
16562         * sysdeps/i386/fpu/libm-test-ulps: Update.
16563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16565 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16569 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16571         [BZ #15416]
16572         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16573         accurately for denominator in atan2.
16574         * math/s_catanf.c (__catanf): Likewise.
16575         * math/s_catanh.c (__catanh): Likewise.
16576         * math/s_catanhf.c (__catanhf): Likewise.
16577         * math/s_catanhl.c (__catanhl): Likewise.
16578         * math/s_catanl.c (__catanl): Likewise.
16579         * math/libm-test.inc (catan_test): Add more tests.
16580         (catanh_test): Likewise.
16581         * sysdeps/i386/fpu/libm-test-ulps: Update.
16582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16584 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16586         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16588         * benchtests/Makefile (bench): Remove slow benchmarks.
16589         * benchtests/atan-inputs: Add slow benchmark inputs.
16590         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16591         (BENCH_FUNC): Accept variant offset.
16592         (VARIANT): Define.
16593         * benchtests/bench-skeleton.c (main): Run benchmark for each
16594         variant.
16595         * benchtests/cos-inputs: Add slow benchmark inputs.
16596         * benchtests/exp-inputs: Likewise.
16597         * benchtests/pow-inputs: Likewise.
16598         * benchtests/sin-inputs: Likewise.
16599         * benchtests/slowatan-inputs: Remove.
16600         * benchtests/slowatan.c: Remove.
16601         * benchtests/slowcos-inputs: Remove.
16602         * benchtests/slowcos.c: Remove.
16603         * benchtests/slowexp-inputs: Remove.
16604         * benchtests/slowexp.c: Remove.
16605         * benchtests/slowpow-inputs: Remove.
16606         * benchtests/slowpow.c: Remove.
16607         * benchtests/slowsin-inputs: Remove.
16608         * benchtests/slowsin.c: Remove.
16609         * benchtests/slowtan-inputs: Remove.
16610         * benchtests/slowtan.c: Remove.
16611         * benchtests/tan-inputs: Add slow benchmark inputs.
16612         * scripts/bench.pl: Parse comments and directives.
16614         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16615         in CPPFLAGS.
16616         ($(objpfx)bench-%.c): Remove *-ITER.
16617         * benchtests/bench-modf.c: Remove definition of ITER.
16618         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16619         (main): Loop for DURATION seconds instead of fixed number of
16620         iterations.
16621         * scripts/bench.pl: Don't expect iterations in parameters.
16623 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16625         * io/fchdir.c (__fchdir): Renamed from fchdir.
16626         (fchdir): Define as weak alias.
16628 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16630         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16631         (ERRNO_EDOM): Likewise.
16632         (ERRNO_ERANGE): Likewise.
16633         (noErrnoTests): New variable.
16634         (init_max_error): Set errno to 0.
16635         (test_single_errno): New function.
16636         (test_errno): Likewise.
16637         (check_float_internal): Call test_errno.  Set errno to 0.
16638         (check_complex): Refer to errno tests in comment.
16639         (check_int): Call test_errno.  Set errno to 0.
16640         (check_long): Likewise.
16641         (check_bool): Likewise.
16642         (check_longlong): Likewise.
16643         (cos_test): Use ERRNO_* flags for errno tests instead of
16644         check_int.
16645         (expm1_test): Likewise.
16646         (fmod_test): Likewise.
16647         (ilogb_test): Likewise.
16648         (lgamma_test): Likewise.
16649         (pow_test): Likewise.
16650         (remainder_test): Likewise.
16651         (sin_test): Likewise.
16652         (tan_test): Likewise.
16653         (yn_test): Likewise.
16654         (initialize): Set errno to 0.
16655         (main): Print number of errno tests.
16656         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16658 2013-04-29  Andreas Jaeger  <aj@suse.de>
16660         [BZ #15084]
16661         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16662         and RES_USEVC.
16664         [BZ #15085]
16665         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16666         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16667         unimplemented.
16669         [BZ #15380]
16670         * stdlib/random.c (__initstate): Return NULL if
16671         __initstate fails.
16673         [BZ #15086]
16674         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16675         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16676         RES_SNGLKUPREOP.
16678 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16682 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16684         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16685         of individual tests.
16686         (casin_test): Likewise.
16687         (casinh_test): Likewise.
16689 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
16691         [BZ #15409]
16692         * math/s_catan.c (__catan): Handle arguments with large real or
16693         imaginary part separately without squaring.
16694         * math/s_catanf.c (__catanf): Likewise.
16695         * math/s_catanh.c (__catanh): Likewise.
16696         * math/s_catanhf.c (__catanhf): Likewise.
16697         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16698         and redefine.
16699         (__catanhl): Handle arguments with large real or imaginary part
16700         separately without squaring.
16701         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16702         and redefine.
16703         (__catanl): Handle arguments with large real or imaginary part
16704         separately without squaring.
16705         * math/libm-test.inc (catan_test): Add more tests.
16706         (catanh_test): Likewise.
16707         * sysdeps/i386/fpu/libm-test-ulps: Update.
16708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16710 2013-04-27  Andreas Jaeger  <aj@suse.de>
16712         [BZ #15007]
16713         * stdlib/stdlib.h: Update guards for qecvt.
16714         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16715         <stdlib.h>.
16717 2013-04-27  Allan McRae  <allan@archlinux.org>
16719         * sysdeps/i386/fpu/libm-test-ulps: Update.
16721 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
16723         [BZ #15406]
16724         * math/s_catan.c: Include <float.h>.
16725         (__catan): Ensure underflow exception occurs for underflowed
16726         result.
16727         * math/s_catanf.c: Include <float.h>.
16728         (__catanf): Ensure underflow exception occurs for underflowed
16729         result.
16730         * math/s_catanh.c: Include <float.h>.
16731         (__catanh): Ensure underflow exception occurs for underflowed
16732         result.
16733         * math/s_catanhf.c: Include <float.h>.
16734         (__catanhf): Ensure underflow exception occurs for underflowed
16735         result.
16736         * math/s_catanhl.c: Include <float.h>.
16737         (__catanhl): Ensure underflow exception occurs for underflowed
16738         result.
16739         * math/s_catanl.c: Include <float.h>.
16740         (__catanl): Ensure underflow exception occurs for underflowed
16741         result.
16742         * math/libm-test.inc (catan_test): Add more tests.
16743         (catanh_test): Likewise.
16745         [BZ #15405]
16746         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16747         underflowed result.
16748         * math/s_ccoshf.c (__ccoshf): Likewise.
16749         * math/s_ccoshl.c (__ccoshl): Likewise.
16750         * math/s_csin.c (__csin): Likewise.
16751         * math/s_csinf.c (__csinf): Likewise.
16752         * math/s_csinh.c (__csinh): Likewise.
16753         * math/s_csinhf.c (__csinhf): Likewise.
16754         * math/s_csinhl.c (__csinhl): Likewise.
16755         * math/s_csinl.c (__csinl): Likewise.
16756         * math/libm-test.inc (ccos_test): Add more tests.
16757         (ccosh_test): Likewise.
16758         (csin_test): Likewise.
16759         (csinh_test): Likewise.
16761 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16763         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16764         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16765         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16766         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16767         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16768         powerpc/power5+/fpu folders.
16769         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16772 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16774         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16776 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16778         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16779         additions to variable.
16780         [$(config-machine) = x86_64] (modules-names): Likewise.
16781         ($(objpfx)tst-audit3): Remove dependency.
16782         ($(objpfx)tst-audit3.out): Likewise.
16783         ($(objpfx)tst-audit4): Likewise.
16784         ($(objpfx)tst-audit4.out): Likewise.
16785         ($(objpfx)tst-audit5): Likewise.
16786         ($(objpfx)tst-audit5.out): Likewise.
16787         ($(objpfx)tst-audit6): Likewise.
16788         ($(objpfx)tst-audit6.out): Likewise.
16789         ($(objpfx)tst-audit7): Likewise.
16790         ($(objpfx)tst-audit7.out): Likewise.
16791         (tst-audit3-ENV): Remove variable.
16792         (tst-audit4-ENV): Likewise.
16793         (tst-audit5-ENV): Likewise.
16794         (tst-audit6-ENV): Likewise.
16795         (tst-audit7-ENV): Likewise.
16796         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16797         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16798         addition to variable.
16799         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16800         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16801         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16802         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16803         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16804         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16805         tst-audit3, tst-audit4 and tst-audit5.
16806         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16807         tst-audit6 and tst-audit7.
16808         [$(subdir) = elf] (modules-names): Add audit modules for those
16809         tests.
16810         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16811         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16812         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16813         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16814         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16815         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16816         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16817         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16818         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16819         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16820         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16821         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16822         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16823         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16824         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16825         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16826         Likewise.
16827         [$(subdir) = elf && $(config-cflags-avx) = yes]
16828         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16829         [$(subdir) = elf && $(config-cflags-avx) = yes]
16830         (CFLAGS-tst-auditmod4a.c): Likewise.
16831         [$(subdir) = elf && $(config-cflags-avx) = yes]
16832         (CFLAGS-tst-auditmod4b.c): Likewise.
16833         [$(subdir) = elf && $(config-cflags-avx) = yes]
16834         (CFLAGS-tst-auditmod6b.c): Likewise.
16835         [$(subdir) = elf && $(config-cflags-avx) = yes]
16836         (CFLAGS-tst-auditmod6c.c): Likewise.
16837         [$(subdir) = elf && $(config-cflags-avx) = yes]
16838         (CFLAGS-tst-auditmod7b.c): Likewise.
16839         * elf/tst-audit3.c: Move to ...
16840         * sysdeps/x86_64/tst-audit3.c: ... here.
16841         * elf/tst-audit4.c: Move to ...
16842         * sysdeps/x86_64/tst-audit4.c: ... here.
16843         * elf/tst-audit5.c: Move to ...
16844         * sysdeps/x86_64/tst-audit5.c: ... here.
16845         * elf/tst-audit6.c: Move to ...
16846         * sysdeps/x86_64/tst-audit6.c: ... here.
16847         * elf/tst-audit7.c: Move to ...
16848         * sysdeps/x86_64/tst-audit7.c: ... here.
16849         * elf/tst-auditmod3a.c: Move to ...
16850         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16851         * elf/tst-auditmod3b.c: Move to ...
16852         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16853         * elf/tst-auditmod4a.c: Move to ...
16854         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16855         * elf/tst-auditmod4b.c: Move to ...
16856         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16857         * elf/tst-auditmod5a.c: Move to ...
16858         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16859         * elf/tst-auditmod5b.c: Move to ...
16860         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16861         * elf/tst-auditmod6a.c: Move to ...
16862         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16863         * elf/tst-auditmod6b.c: Move to ...
16864         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16865         * elf/tst-auditmod6c.c: Move to ...
16866         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16867         * elf/tst-auditmod7a.c: Move to ...
16868         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16869         * elf/tst-auditmod7b.c: Move to ...
16870         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16872 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16874         [BZ #15366]
16875         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16876         define unconditionally.
16877         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16878         define unconditionally.
16879         (INT8_C, INT16_C, etc.): Likewise.
16881 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16883         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16884         __ehdr_start with hidden visibility.
16886         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16888 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16890         * math/libm-test.inc (cos_test): Use accurate hex constants.
16891         (sincost_test): Likewise.
16893 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16895         * math/libm-test.inc (catan_test): Add more tests.
16896         (catanh_test): Likewise.
16898         * math/s_catanf.c (__catanf): Use suffixed floating-point
16899         constants.
16900         * math/s_catanhf.c (__catanhf): Likewise.
16901         * math/s_catanhl.c (__catanhl): Likewise.
16902         * math/s_catanl.c (__catanl): Likewise.
16904         [BZ #15394]
16905         * math/s_catan.c (__catan): Calculate imaginary part of result
16906         with log1p not log unless computing log of number close to 0.
16907         * math/s_catanf.c (__catanf): Likewise.
16908         * math/s_catanl.c (__catanl): Likewise.
16909         * math/s_catanh.c (__catanh): Calculate real part of result with
16910         log1p not log unless computing log of number close to 0.
16911         * math/s_catanhf.c (__catanhf): Likewise.
16912         * math/s_catanhl.c (__catanhl): Likewise.
16913         * math/libm-test.inc (catan_test): Add more tests.
16914         (catanh_test): Likewise.
16915         * sysdeps/i386/fpu/libm-test-ulps: Update.
16916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16918 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16920         * benchtests/Makefile: Mention files in which fast and slow
16921         paths of math functions are implemented.
16923 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16925         * sysdeps/posix/timespec_get.c: New file.
16927 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16929         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16930         POWER.
16931         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16932         for POWER.
16933         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16934         powerpc/power5/fpu folders.
16935         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16936         * benchtests/Makefile: Add modf testcase.
16937         * benchtests/bench-modf.c: New file: Benchmark test for mo
16939 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16941         [BZ #14888]
16942         * time/Makefile (tests): Add tst-strptime-whitespace.
16943         * time/strptime_l.c (get_number): Use ISSPACE.
16944         (__strptime_internal): Likewise.
16945         * time/tst-strptime-whitespace.c: New test case.
16947 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16949         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16950         member.
16951         (_nss_files_init): Set it here.
16953 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16955         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16956         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16957         unsigned.
16959 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16961         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16963 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16965         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16966         size just once.
16968 2013-04-21  David S. Miller  <davem@davemloft.net>
16970         * po/ru.po: Update Russion translation from translation project.
16972 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16974         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16975         and setfsgid.
16977 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16979         * configure.in: Remove i386 configure warning. Remove i386 case.
16980         * configure: Regenerate.
16981         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16982         Add example to error message.
16983         * sysdeps/i386/configure: Regenerate.
16985 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16987         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16988         slowtan.
16989         * benchtests/cos-inputs: New file.
16990         * benchtests/slowcos-inputs: New file.
16991         * benchtests/slowcos.c: New file.
16992         * benchtests/slowtan-inputs: New file.
16993         * benchtests/slowtan.c: New file.
16994         * benchtests/tan-inputs: New file.
16996 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16998         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16999         considered kosher.
17001 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17003         * benchtests/Makefile: Include cppflags-iterator.mk to add
17004         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17006         * Makefile.in (bench-clean): New target.
17007         * benchtests/Makefile (bench-clean): Likewise.
17009 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17011         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17013 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17015         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17017 2013-04-15  Andreas Schwab  <schwab@suse.de>
17019         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17021         * nscd/pwdcache.c (cache_addpw): Likewise.
17022         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17023         more than recsize.
17025 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17027         * benchtests/Makefile (bench): Write all output to
17028         bench-out.tmp together.
17030 2013-04-15  Andreas Schwab  <schwab@suse.de>
17032         * nscd/nscd.c (main): Don't fork again after closing files.
17034 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17036         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17038         * benchtests/Rules (bench-deps): Collect dependencies into a
17039         single variable.  Add Makefile to dependencies.
17040         ($(objpfx)bench-%.c): Depend on bench-deps.
17042 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17043             Xavier Roche  <roche+kml2@exalead.com>
17045         [BZ #15361]
17046         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17047         just that it's a file descriptor.
17048         * manual/llio.texi (Synchronizing AIO Operations): Update description
17049         for EBADF error from aio_fsync.
17051 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17053         * Rules (bench): Move target definition...
17054         * benchtests/Makefile: ... here.
17056 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17058         * math/libm-test.inc (cos_test): Fix PI/2 test.
17059         (sincos_test): Likewise.
17060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17061         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17063 2013-04-11  Andreas Schwab  <schwab@suse.de>
17065         [BZ #13988]
17066         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17067         accept exponent character only when digits were seen.
17068         * stdio-common/Makefile (tests): Add bug26.
17069         * stdio-common/bug26.c: New file.
17071         [BZ #14293]
17072         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17073         non-freeable.
17075 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17077         * Makeconfig (rtld-prefix): Define built linker prefix.
17078         * Rules (run-bench): Use it.
17079         * math/Makefile (run-regen-ulps): Likewise.
17081         * Rules (bench): Remove eval.
17083 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17084             Roland McGrath  <roland@hack.frob.com>
17085             Ondrej Bilka  <neleai@seznam.cz>
17087         [BZ #15346]
17088         * time/getdate.c: Include ctype.h and alloca.h.
17089         (__getdate_r): Trim leading and trailing spaces of input.
17090         * time/tst-getdate.c (tests): Add tests with leading and
17091         trailing spaces.
17093 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17095         [BZ #14280]
17096         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17097         when computing value.
17099 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17101         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17102         Use testrun.sh to run libm tests.
17104         [BZ #15309]
17105         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17107 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17109         [BZ #15264]
17110         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17112 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17114         * Makefile.in (regen-ulps): New target.
17115         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17116         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17117         [ifneq (no,$(PERL)] (regen-ulps): New target.
17118         [ifeq (no,$(PERL)] (regen-ulps): New target.
17119         * math/libm-test.inc (ulps_file_name): Define.
17120         (output_dir): New variable.
17121         (options): Add "output-dir" option.
17122         (parse_opt): Handle 'o' case.
17123         (main): If output_dir is non-NULL use it as a prefix
17124         otherwise use "".
17125         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17127 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17129         [BZ #10060, #10062]
17130         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17131         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17132         fail configure if __sync_val_compare_and_swap is not inlined.
17133         * sysdeps/i386/configure: Regenerate.
17134         * configure.in: Build for i686 when configured for i386.
17135         * configure: Regenerate.
17136         * README: Remove i386 reference.
17138 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17140         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17141         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17143 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17145         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17146         (lmsnanval): New variables.
17147         (F): Add conversion tests.
17148         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17149         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17151         * stdio-common/tstdiomisc.c (F): Properly collect individual
17152         tests' results.
17154         [BZ #14686, #15336]
17155         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17156         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17157         Instead, use input NaN values or generate a qNaN by arithmetic
17158         operation.  Also fix bugs to comply with the standard.
17159         * math/libm-test.inc (remainder_test): Add more tests.
17161         [BZ #15335, #15342]
17162         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17164         input NaN values or generate a qNaN by arithmetic operation.
17166         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17167         unreachable code.
17169         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17170         definitions.
17172 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17174         [BZ #14478]
17175         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17176         underflowed result.
17177         * math/s_cexpf.c (__cexpf): Likewise.
17178         * math/s_cexpl.c (__cexpl): Likewise.
17179         * math/libm-test.inc (cexp_test): Add more tests.
17181 2013-04-03  Andreas Schwab  <schwab@suse.de>
17183         [BZ #15330]
17184         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17185         order arrays from heap if bigger than alloca cutoff.
17187 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17189         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17190         (SNAN_TESTS_double): Refer to GCC PR56831.
17191         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17192         GCC PR56828.
17194 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17196         * Rules (bench): Move bench.out after the run is complete.
17198         * Rules (bench): Echo currently running benchmark.
17200         * benchtests/Makefile (bench): Add atan and slowatan.
17201         * benchtests/atan-inputs: New file.
17202         * benchtests/slowatan-inputs: New file.
17203         * benchtests/slowatan.c: New file.
17205         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17206         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17207         its value.
17209         [BZ #15305]
17210         * sysdeps/unix/sysv/linux/kernel-features.h
17211         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17212         __ASSUME_XFS_RESTRICTED_CHOWN.
17213         * sysdeps/unix/sysv/linux/pathconf.c
17214         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17215         Save and restore errno.
17217 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17219         [BZ #15327]
17220         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17221         arguments using __kernel_casinh.
17222         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17223         arguments using __kernel_casinhf.
17224         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17225         arguments using __kernel_casinhl.
17226         * math/libm-test.inc (cacosh_test): Add more tests.
17227         * sysdeps/i386/fpu/libm-test-ulps: Update.
17228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17230 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17232         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17235         * bench/Makefile (bench): Add sin and slowsin.
17236         * benchtests/sin-inputs: New file.
17237         * benchtests/slowsin-inputs: New file.
17238         * benchtests/slowsin.c: New file.
17240         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17241         (bench): Add slowexp and slowpow.
17242         (exp-ITER): Increase iterations.
17243         (pow-ITER): Likewise.
17244         * benchtests/exp-inputs: Change input.
17245         * benchtests/pow-inputs: Likewise.
17246         * benchtests/slowexp-inputs: New file.
17247         * benchtests/slowexp.c: New file.
17248         * benchtests/slowpow-inputs: New file.
17249         * benchtests/slowpow.c: New file.
17251 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17253         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17254         instructions.
17255         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17256         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17257         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17258         * benchtests/Makefile: Add rint benchtest.
17259         * benchtests/rint-inputs: Input for rint benchtest.
17261 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17263         * Versions.def (libm): Add GLIBC_2.18.
17264         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17265         hidden libm prototypes.
17266         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17267         * math/Makefile (libm-calls): Add s_issignaling.
17268         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17269         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17270         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17271         declaration.
17272         * math/math.h [__USE_GNU] (issignaling): New macro.
17273         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17274         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17275         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17276         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17277         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17278         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17279         * manual/arith.texi (issignaling): New section.
17280         * manual/libm-err-tab.pl (@all_functions): Update comment.
17281         * math/gen-libm-test.pl (parse_args): Apply special handling for
17282         issignaling.
17283         * math/libm-test.inc (print_float, issignaling_test): New
17284         functions.
17285         (check_float_internal): Add issignaling checks.
17286         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17287         default definition.
17288         * sysdeps/powerpc/math-tests.h: New file.
17289         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17290         tests.
17291         * math/test-snan.c (TEST_FUNC): Likewise.
17293 2013-03-30  David S. Miller  <davem@davemloft.net>
17295         * po/de.po: Update from translation team.
17297 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17299         [BZ #10357]
17300         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17301         imaginary part less than 1.0 and real part less than 0.5
17302         specially.
17303         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17304         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17305         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17306         (cacos_test): Add more tests.
17307         (casin_test): Likewise.
17308         (casinh_test): Likewise.
17309         * sysdeps/i386/fpu/libm-test-ulps: Update.
17310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17312 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17314         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17315         ONE with its value.
17317         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17318         (__pow_mp): Replace ONE and MONE with their values.
17319         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17320         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17321         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17322         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17323         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17324         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17326         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17328         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17329         (__pow_mp): Replace ZERO and MZERO with their values.
17330         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17331         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17332         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17334         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17335         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17336         (__sqr): Likewise.
17338         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17340         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17342 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17344         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17345         Declare with __attribute__ ((weak)).
17346         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17347         Call __call_tls_dtors only if it's not NULL.
17349 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17351         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17352         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17353         magic __ehdr_start linker symbol if it's defined.
17354         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17355         them up here if it was already done.
17357         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17358         (_dl_aux_init): Use const in cast when setting it.
17359         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17360         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17361         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17363         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17364         Declare them here.
17365         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17366         * csu/libc-tls.c: Nor here.
17367         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17369         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17370         (__libc_message): Never call vsyslog.
17372 2013-03-28  Alan Modra  <amodra@gmail.com>
17374         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17375         Define as empty.
17376         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17377         Likewise.
17379 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17381         [BZ #15214]
17382         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17383         underflow.
17384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17386 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17388         [BZ #15304]
17389         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17390         Don't add gid passed as argument.
17392         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17394 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17396         [BZ #15307]
17397         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17398         imaginary part between 1.0 and 1.5 and real part less than 0.5
17399         specially.
17400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17402         * math/libm-test.inc (cacos_test): Add more tests.
17403         (casin_test): Likewise.
17404         (casinh_test): Likewise.
17405         * sysdeps/i386/fpu/libm-test-ulps: Update.
17406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17408 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17410         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17411         constants.
17412         (norm): Likewise.
17413         (denorm): Likewise.
17414         (__dbl_mp): Likewise.
17415         (add_magnitudes): Likewise.
17416         (sub_magnitudes): Likewise.
17417         (__add): Likewise.
17418         (__sub): Likewise.
17419         (__mul): Likewise.
17420         (__sqr): Likewise.
17421         (__inv): Likewise.
17422         (__dvd): Likewise.
17424         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17425         commented code.
17426         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17427         (__dubcos): Likewise.
17428         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17429         (__ieee754_acos): Likewise.
17430         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17431         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17432         (__exp1): Likewise.
17433         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17435         (log1): Likewise.
17436         (my_log2): Likewise.
17437         (checkint): Likewise.
17438         * sysdeps/ieee754/dbl-64/e_remainder.c
17439         (__ieee754_remainder): Likewise.
17440         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17441         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17442         (bsloww): Likewise.
17443         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17445         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17446         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17447         MANTISSA_STORE_T to store computations on mantissa.  Use
17448         macros for rounding and division.
17449         (denorm): Likewise.
17450         (__dbl_mp): Likewise.
17451         (add_magnitudes): Likewise.
17452         (sub_magnitudes): Likewise.
17453         (__mul): Likewise.
17454         (__sqr): Likewise.
17455         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17456         powers of two in terms of TWOPOW macro.
17457         (mp_no): Make type of mantissa as MANTISSA_T.
17458         [!RADIXI]: Define RADIXI.
17459         [!TWO52]: Define TWO52.
17460         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17462 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17464         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17465         llroundl symbol when building for PPC32.
17467 2013-03-24  Mark H Weaver  <mhw@netris.org>
17469         * manual/arith.texi (Normalization Functions): Fix prototypes for
17470         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17472 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17474         [BZ #13889]
17475         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17476         high value to check if expl overflow.
17477         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17478         to check for underflow and overflow.
17479         * math/libm-test.inc: Add exp test.
17481 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17483         [BZ #11120]
17484         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17485         with NOT_IN_libc.
17487 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17489         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17490         symbol.
17492 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17494         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17495         wrap blocks consisting of several statements.
17497         * sysdeps/generic/math-tests.h: New file.
17498         * sysdeps/i386/fpu/math-tests.h: Likewise.
17499         * math/test-snan.c: Include it.
17500         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17502 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17504         [BZ #15285]
17505         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17506         (__ieee754_j0l): Do not improve calculations using cos of twice
17507         input for inputs above LDBL_MAX / 2.0L.
17508         (__ieee754_y0l): Likewise.
17509         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17510         (__ieee754_j1l): Do not improve calculations using cos of twice
17511         input for inputs above LDBL_MAX / 2.0L.
17512         (__ieee754_y1l): Likewise.
17513         * math/libm-test.inc (j0_test): Add another test.
17514         (j1_test): Likewise.
17515         (y0_test): Likewise.
17516         (y1_test): Likewise.
17517         * sysdeps/i386/fpu/libm-test-ulps: Update.
17519 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17521         * Rules ($(objpfx)bench-%.c): Include code from a C source
17522         file.
17524 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17526         [BZ #15287]
17527         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17528         imaginary part 1.0 and real part less than 0.5 specially.
17529         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17530         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17531         * math/libm-test.inc (cacos_test): Add more tests.
17532         (casin_test): Likewise.
17533         (casinh_test): Likewise.
17534         * sysdeps/i386/fpu/libm-test-ulps: Update.
17535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17537 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17539         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17540         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17542 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17544         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17545         * config.make.in (config-cflags-sse4): Remove variable.
17546         (config-cflags-avx): Likewise.
17547         (config-cflags-sse2avx): Likewise.
17548         (config-cflags-novzeroupper): Likewise.
17549         (config-asflags-i686): Likewise.
17550         (have-mfma4): Likewise.
17551         (have-as-vis3): Likewise.
17552         (MIG): Likewise.
17553         * configure.in (MIG): Do not AC_SUBST.
17554         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17555         (libc_cv_cc_sse4): Do not AC_SUBST.
17556         (libc_cv_cc_avx): Likewise.
17557         (libc_cv_cc_sse2avx): Likewise.
17558         (libc_cv_cc_novzeroupper): Likewise.
17559         (libc_cv_cc_fma4): Likewise.
17560         (libc_cv_as_i686): Likewise.
17561         (libc_cv_sparc_as_vis3): Likewise.
17562         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17563         LIBC_CONFIG_VAR.
17564         (config-asflags-i686): Likewise.
17565         (config-cflags-avx): Likewise.
17566         (config-cflags-sse2avx): Likewise.
17567         (have-mfma4): Likewise.
17568         (config-cflags-novzeroupper): Likewise.
17569         * sysdeps/mach/configure.in (MIG): Likewise.
17570         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17571         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17572         LIBC_CONFIG_VAR.
17573         (config-cflags-avx): Likewise.
17574         (config-cflags-sse2avx): Likewise.
17575         (have-mfma4): Likewise.
17576         (config-cflags-novzeroupper): Likewise.
17577         * configure: Regenerated.
17578         * sysdeps/i386/configure: Likewise.
17579         * sysdeps/mach/configure: Likewise.
17580         * sysdeps/sparc/configure: Likewise.
17581         * sysdeps/x86_64/configure: Likewise.
17583 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17585         [BZ #14812]
17586         * locale/programs/localedef.c (options): Put N_ translation marker
17587         on argument names, not just descriptions.
17589 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17591         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17593 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17595         [BZ #14176]
17596         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17598 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17600         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17601         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17602         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17603         [!BEFORE_ABORT] (before_abort): New function.
17604         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17605         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17606         (writev_for_fatal): New function.
17607         (WRITEV_FOR_FATAL): New macro; call that.
17608         (backtrace_and_maps): New function.
17609         (BEFORE_ABORT): New macro; call that.
17610         (struct str_list): Type removed.
17611         (__libc_message, __libc_fatal): Functions removed.
17612         Include <sysdeps/posix/libc_fatal.c> instead.
17614 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17616         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17617         constants.
17618         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17619         double constants.
17621 2013-03-19  Andreas Schwab  <schwab@suse.de>
17623         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17624         * sysdeps/gnu/configure: Regenerate.
17626         * configure.in: Substitute libc_cv_rtlddir.
17627         * configure: Regenerate.
17628         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17629         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17630         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17631         * elf/Makefile (install-others, CFLAGS-interp.c)
17632         (ldso_install, common-ldd-rewrite): Likewise.
17633         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17634         $(inst_slibdir)/$(rtld-installed-name).
17635         * scripts/rellns-sh: Add -p option.
17636         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17637         for source.
17639 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17641         * manual/nptl.texi: Renamed to ...
17642         * manual/threads.texi: ... this.
17643         * manual/Makefile (chapters): Update.
17645 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17647         [BZ #14812]
17648         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17649         on argument names, not just descriptions.
17650         * malloc/memusagestat.c (options): Likewise.
17651         * nss/getent.c (options): Likewise.
17653 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17655         [BZ #14812]
17656         * iconv/iconv_prog.c (options): Put N_ translation marker
17657         on argument names, not just descriptions.
17658         * iconv/iconvconfig.c (options): Likewise.
17660 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17662         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17663         implementation which is faster on all x86_64 architectures.
17664         Tested on AMD, Intel Nehalem, SNB, IVB.
17665         * sysdeps/x86_64/strnlen.S: Likewise.
17667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17668         Remove all multiarch strlen and strnlen versions.
17669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17670         Remove strlen and strnlen related parts.
17672         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17673         Inline strlen part.
17674         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17676         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17677         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17678         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17679         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17680         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17681         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17683 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
17685         * manual/memory.texi (Malloc Tunable Parameters):
17686         Sort parameters alphabetically. Add comments for missing entries.
17688 2013-03-17  David S. Miller  <davem@davemloft.net>
17690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17692 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
17694         [BZ #15283]
17695         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17696         for arguments at most half maximum finite value.
17697         * math/libm-test.inc (j0_test): Add more tests.
17698         (j1_test): Likewise.
17699         (y0_test): Likewise.
17700         (y1_test): Likewise.
17701         * sysdeps/i386/fpu/libm-test-ulps: Update.
17702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17704         [BZ #14155]
17705         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17706         1 / x and functions P and Q for arguments above 0x1p256L.
17707         (__ieee754_y0l): Likewise.
17708         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17709         (__ieee754_y1l): Likewise.
17710         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17711         (j1_test): Likewise.
17712         (y0_test): Likewise.
17713         (y1_test): Likewise.
17715 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
17717         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17718         variable.
17720 2013-03-15  Roland McGrath  <roland@hack.frob.com>
17722         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17723         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17724         zero since it's initialized to EXEC_PAGESIZE.
17726         * sysdeps/unix/sysv/linux/ldsodefs.h
17727         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17728         * sysdeps/generic/ldsodefs.h: ... here.
17730 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
17732         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17734         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17735         math/test-snan.c.
17736         * math/test-snan.c: Renamed from
17737         sysdeps/powerpc/fpu/test-powerpc-snan.c.
17738         * math/Makefile (tests): Add test-snan.
17739         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17740         test-powerpc-snan.
17742         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17743         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
17744         functions.
17745         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
17746         __builtin_nan family of functions.
17747         * math/libm-test.inc (initialize): Initialize qnan_value with
17748         __builtin_nan family of functions.
17749         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17750         Remove variables.
17751         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17752         Remove functions.
17753         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17754         storage class.  Initialize qNaN_var and sNaN_var with
17755         __builtin_nan and __builtin_nans families of functions,
17756         respectively.
17758         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17759         (sqrt_test): Remove duplicate test with qNaN input.
17760         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17761         (round_test, signbit_test, significand_test): Note missing +/-Inf
17762         as well as qNaN tests.
17764         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17765         qNaN_var.  Fix a few strings, too.
17766         * math/libm-test.inc (nan_value): Rename to qnan_value.
17767         * math/gen-libm-test.pl (%beautify): Adjust to that.
17768         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17769         * math/test-misc.c (main): Likewise.
17770         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17771         to __qnan_bytes, and __qnan_union, respectively.
17772         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17773         Likewise.
17774         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17775         and lqnanval, respectively.
17776         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17777         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17778         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17779         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17781         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17782         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17783         doubles.
17785         * math/test-misc.c (main): Fix copy'n'pastos.
17786         * misc/tst-efgcvt.c (special): Likewise.
17788         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17789         Remove declarations.
17791 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17793         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17794         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17795         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17796         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17798 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17800         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17801         macro to return vdso values correctly in IFUNC implementations.
17802         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17803         Optimization by using IFUNC.
17805 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17806             Richard Henderson  <rth@redhat.com>
17807             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17809         * Makefile.in (bench): New target.
17810         * NEWS: Mention the benchmark framework.
17811         * Rules (bench): Likewise.
17812         (binaries-bench): Generate binaries for functions to
17813         benchmark.
17814         * benchtests/Makefile: New makefile for benchmark tests.
17815         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17816         programs.
17817         * benchtests/exp-inputs: New input file for EXP function.
17818         * benchtests/pow-inputs: New input file for POW function.
17819         * scripts/bench.pl: New script to generate source files for
17820         benchmark programs.
17822 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17824         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17825         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17826         computations on mantissa.  Use macros for rounding and
17827         division.
17828         (denorm): Likewise.
17829         (__dbl_mp): Likewise.
17830         (add_magnitudes): Likewise.
17831         (sub_magnitudes): Likewise.
17832         (__mul): Likewise.
17833         (__sqr): Likewise.
17834         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17835         powers of two in terms of TWOPOW macro.
17836         (mp_no): Make type of mantissa as MANTISSA_T.
17837         [!RADIXI]: Define RADIXI.
17838         [!TWO52]: Define TWO52.
17839         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17841         * manual/nptl.texi (cindex): Modify threads to pthreads.
17843 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17845         * sysdeps/x86_64/preconfigure: Regenerated.
17847 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17849         [BZ #14155]
17850         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17851         0x1p28 and above.
17852         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17853         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17854         0x1p28 and above.
17855         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17856         * math/libm-test.inc (j0_test): Do not allow one spurious
17857         underflow exception.
17858         (y1_test): Likewise.
17860 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17862         * manual/Makefile (chapters): Add nptl.
17863         * manual/debug.texi (Debugging Support): Add link to Threads
17864         chapter.
17865         * manual/nptl.texi: New file.
17867         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17869 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17871         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17872         for non-NULL pointer before the memory validity test. Pointed
17873         out by Holger Brunck <holger.brunck@keymile.com>.
17875 2013-03-13  Andreas Schwab  <schwab@suse.de>
17877         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17878         instead of .os.
17880 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17882         * timezone/zic.c: Update from tzcode 2013b.
17884 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17886         * manual/install.texi (Configuring and compiling):
17887         Mention i686 and i586.
17888         * INSTALL: Regenerate.
17890 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17892         * sysdeps/init_array/elf-init.c: New file.
17893         * csu/elf-init.c
17894         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17895         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17897         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17898         __gmon_start__ as global, but as static with a .preinit_array pointer.
17899         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17900         * sysdeps/init_array/crti.S: New file, empty except for comments.
17901         * sysdeps/init_array/crtn.S: Likewise.
17903 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17905         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17906         definining bcopy.
17907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17908         Remove Prefer_SSE_for_memop.
17909         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17910         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17911         HAS_PREFER_SSE_FOR_MEMOP.
17912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17913         memset-x86-64.
17914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17915         Remove bzero, memset ifunc support.
17916         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17917         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17918         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17919         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17921 2013-03-11  Andreas Schwab  <schwab@suse.de>
17923         [BZ #15234]
17924         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17925         by SHLIB_COMPAT.
17926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17927         (GLIBC_2.16): Remove pthread_atfork.
17929 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17931         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17932         (ptestcases.h): Likewise.
17934 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17936         * Makeconfig ($(common-objpfx)config.status): Depend on
17937         sysdeps/*/preconfigure{,.in} too.
17939 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17941         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17942         (__free_hook): Use void * instead of __malloc_ptr_t.
17943         (__malloc_hook): Likewise.
17944         (__realloc_hook): Likewise.
17945         (__memalign_hook): Likewise.
17946         (__after_morecore_hook): Likewise.
17947         * malloc/arena.c (save_malloc_hook): Likewise.
17948         (save_free_hook): Likewise.
17949         * malloc/hooks.c (malloc_hook_ini): Likewise.
17950         (realloc_hook_ini): Likewise.
17951         (memalign_hook_ini): Likewise.
17952         * malloc/malloc.c (malloc_hook_ini): Likewise.
17953         (realloc_hook_ini): Likewise.
17954         (memalign_hook_ini): Likewise.
17955         (__free_hook): Likewise.
17956         (__malloc_hook): Likewise.
17957         (__realloc_hook): Likewise.
17958         (__memalign_hook): Likewise.
17959         (__libc_malloc): Likewise.
17960         (__libc_free): Likewise.
17961         (__libc_realloc): Likewise.
17962         (__libc_memalign): Likewise.
17963         (__libc_valloc): Likewise.
17964         (__libc_pvalloc): Likewise.
17965         (__libc_calloc): Likewise.
17966         (__posix_memalign): Likewise.
17967         * malloc/morecore.c (__sbrk): Likewise.
17968         (__default_morecore): Likewise.
17970         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17972         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17973         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17974         __malloc_ptrdiff_t.
17976         * malloc/malloc.h (__malloc_size_t): Remove macro.
17977         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17978         __malloc_size_t.
17979         (old_memalign_hook): Likewise.
17980         (old_realloc_hook): Likewise.
17981         (struct hdr): Likewise.
17982         (flood): Likewise.
17983         (mallochook): Likewise.
17984         (memalignhook): Likewise.
17985         (reallochook): Likewise.
17986         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17987         (tr_old_realloc_hook): Likewise.
17988         (tr_old_memalign_hook): Likewise.
17989         (tr_mallochook): Likewise.
17990         (tr_reallochook): Likewise.
17991         (tr_memalignhook): Likewise.
17993 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17996         default_ldbl_pack and using as default implementation.
17997         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17998         implementation.
17999         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18000         redundant definition.
18001         (ldbl_insert_mantissa): Likewise.
18002         (ldbl_canonicalize): Likewise.
18003         (ldbl_nearbyint): Likewise.
18004         (ldbl_pack): Rename to ldbl_pack_ppc.
18005         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18006         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18007         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18009 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18012         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18013         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18014         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18015         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18016         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18017         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18018         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18020 2013-03-07  Andreas Jaeger  <aj@suse.de>
18022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18023         bits/mman-linux.h.
18025 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18027         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18028         Include mpa.h and declare __MPEXP.
18029         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18030         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18031         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18032         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18033         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18034         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18035         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18037         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18038         (__slowpow): Use long double EXPL and LOGL functions to
18039         compute POW.
18040         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18041         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18042         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18043         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18044         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18045         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18048         intermediate variable to calculate exponent.
18049         (__sqr): Likewise.
18050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18051         Likewise.
18052         (__sqr): Likewise.
18054         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18055         [!NO__SQR]: Define __sqr.
18056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18057         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18058         sysdeps/ieee754/dbl-64/mpa.c.
18059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18061         [BZ #12723]
18062         * posix/Makefile (tests): Add tst-pathconf.
18063         * posix/tst-pathconf.c: New test case.
18064         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18065         _PC_PIPE_BUF.
18066         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18068 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18070         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18072 2013-03-06  Andreas Jaeger  <aj@suse.de>
18074         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18075         definition via __MAP_ANONYMOUS.
18077         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18078         it's not part of Linux headers.
18080         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18081         (MAP_HUGE_MASK): Define.
18083         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18084         Define.
18085         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18086         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18087         Define.
18088         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18089         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18090         Define.
18091         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18092         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18093         Define.
18094         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18096         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18097         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18098         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18099         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18100         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18101         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18103         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18104         Handle f2fs.
18106         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18107         Handle f2fs and efivarfs.
18109         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18110         f2fs.
18112         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18113         (EFIVARFS_MAGIC): Add.
18114         (F2FS_LINK_MAX): Add.
18116 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18118         * stdio-common/vfprintf.c: Replace __builtin_expect with
18119         __glibc_unlikely.
18121 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18123         [BZ #13550]
18124         * sysdeps/generic/bp-sym.h: Remove file.
18125         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18126         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18127         <bp-sym.h> and <bp-asm.h>.
18128         (__longjmp): Don't use BP_SYM.
18129         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18130         and <bp-asm.h>.
18131         (memcpy): Don't use BP_SYM.
18132         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18133         <bp-sym.h> and <bp-asm.h>.
18134         (memcpy): Don't use BP_SYM.
18135         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18136         <bp-asm.h>.
18137         (memcpy): Don't use BP_SYM.
18138         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18139         <bp-asm.h>.
18140         (memset): Don't use BP_SYM.
18141         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18142         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18143         (__bzero): Don't use BP_SYM.
18144         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18145         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18146         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18147         <bp-sym.h> and <bp-asm.h>.
18148         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18149         pointers.
18150         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18151         <bp-sym.h> and <bp-asm.h>.
18152         (memcpy): Don't use BP_SYM.
18153         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18154         <bp-sym.h> and <bp-asm.h>.
18155         (memset): Don't use BP_SYM.
18156         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18157         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18158         (__bzero): Don't use BP_SYM.
18159         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18160         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18161         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18162         <bp-sym.h> and <bp-asm.h>.
18163         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18164         pointers.
18165         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18166         <bp-sym.h> and <bp-asm.h>.
18167         (memcpy): Don't use BP_SYM.
18168         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18169         <bp-sym.h> and <bp-asm.h>.
18170         (memset): Don't use BP_SYM.
18171         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18172         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18173         (__bzero): Don't use BP_SYM.
18174         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18175         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18176         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18177         <bp-sym.h> and <bp-asm.h>.
18178         (__memchr): Don't use BP_SYM.
18179         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18180         <bp-sym.h> and <bp-asm.h>.
18181         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18182         pointers.
18183         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18184         <bp-sym.h> and <bp-asm.h>.
18185         (memcpy): Don't use BP_SYM.
18186         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18187         <bp-sym.h> and <bp-asm.h>.
18188         (__mempcpy): Don't use BP_SYM.
18189         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18190         <bp-sym.h> and <bp-asm.h>.
18191         (__memrchr): Don't use BP_SYM.
18192         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18193         <bp-sym.h> and <bp-asm.h>.
18194         (memset): Don't use BP_SYM.
18195         (__bzero): Likewise.
18196         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18197         <bp-sym.h> and <bp-asm.h>.
18198         (__rawmemchr): Don't use BP_SYM.
18199         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18200         <bp-sym.h> and <bp-asm.h>.
18201         (__STRCMP): Don't use BP_SYM.
18202         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18203         <bp-sym.h> and <bp-asm.h>.
18204         (strchr): Don't use BP_SYM.
18205         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18206         <bp-sym.h> and <bp-asm.h>.
18207         (__strchrnul): Don't use BP_SYM.
18208         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18209         <bp-sym.h> and <bp-asm.h>.
18210         (strlen): Don't use BP_SYM.
18211         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18212         <bp-sym.h> and <bp-asm.h>.
18213         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18214         pointers.
18215         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18216         <bp-sym.h> and <bp-asm.h>.
18217         (__strnlen): Don't use BP_SYM.
18218         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18219         <bp-sym.h> and <bp-asm.h>.
18220         (__GI__setjmp): Don't use BP_SYM.
18221         (_setjmp): Likewise.
18222         (__sigsetjmp): Likewise.
18223         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18224         (L(start_addresses)): Don't use BP_SYM.
18225         (_start): Likewise.
18226         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18227         <bp-asm.h>.
18228         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18229         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18230         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18231         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18232         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18233         <bp-asm.h>.
18234         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18235         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18236         about bounded pointers.
18237         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18238         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18239         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18240         <bp-asm.h>.
18241         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18242         about bounded pointers.  Remove GKM FIXME comments.
18243         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18244         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18245         <bp-asm.h>.
18246         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18247         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18248         Remove GKM FIXME comments.
18249         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18250         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18251         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18252         <bp-asm.h>.
18253         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18254         about bounded pointers.  Remove GKM FIXME comment.
18255         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18256         and <bp-asm.h>.
18257         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18258         pointers.
18259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18260         <bp-sym.h> and <bp-asm.h>.
18261         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18263         <bp-sym.h> and <bp-asm.h>.
18264         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18265         comment.
18267 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18269         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18270         call free(NULL).
18272 2013-03-05  David S. Miller  <davem@davemloft.net>
18274         * po/es.po: Update from translation team.
18276 2013-03-05  Andreas Jaeger  <aj@suse.de>
18278         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18279         <bits/mman-linux.h>.
18280         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18281         is fine.
18282         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18283         <bits/mman-linux.h> to end of file.
18284         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18285         is fine.
18286         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18287         <bits/mman-linux.h> to end of file.
18288         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18289         is fine.
18290         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18291         <bits/mman-linux.h> to end of file.
18293         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18294         (MCL_CURRENT, MCL_FUTURE): Define here.
18296 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18298         [BZ #15232]
18299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18300         attribute_hidden.
18301         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18303 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18306         fourth parameter needed for rt_sigprocmask syscall.
18307         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18308         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18309         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18310         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18311         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18312         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18314 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18316         [BZ #13550]
18317         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18318         comment about bounded pointers.
18319         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18320         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18322 2013-03-04  Andreas Jaeger  <aj@suse.de>
18324         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18325         common definitions.
18327         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18328         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18329         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18330         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18331         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18332         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18334 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18336         [BZ #15055]
18337         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18338         __ieee754_sqrl instead of __sqrl.
18340 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18342         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18343         * sysdeps/powerpc/fpu_control.h: ... here.
18344         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18345         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18346         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18347         * sysdeps/powerpc/bits/mathinline.h: ... here.
18349 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18351         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18352         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18353         to just [NEED_DL_SYSINFO_DSO].
18354         * elf/dl-support.c: Likewise.
18355         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18356         * elf/rtld.c (dl_main): Likewise.
18357         * elf/setup-vdso.h (setup_vdso): Likewise.
18358         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18359         * sysdeps/unix/sysv/linux/dl-sysdep.c
18360         (_dl_discover_osversion): Likewise.
18362 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18364         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18365         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18367 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18369         * NEWS: Mention libm performance improvements and non-x86 PI
18370         futex support.
18372         * csu/libc-start.c (__pthread_initialize_minimal): Change
18373         function arguments.
18374         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18376 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18378         [BZ #13550]
18379         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18380         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18381         <bp-sym.h> and <bp-asm.h>.
18382         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18383         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18384         and <bp-asm.h>.
18385         (memcpy): Don't use BP_SYM.
18386         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18387         <bp-asm.h>.
18388         (__mpn_add_n): Don't use BP_SYM.
18389         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18390         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18391         and <bp-asm.h>.
18392         (__mpn_addmul_1): Don't use BP_SYM.
18393         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18394         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18395         <bp-sym.h>.
18396         (_setjmp): Don't use BP_SYM.
18397         (__novmx_setjmp): Likewise.
18398         (__GI__setjmp): Likewise.
18399         (__vmx_setjmp): Likewise.
18400         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18401         <bp-sym.h>.
18402         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18403         (__bzero): Don't use BP_SYM.
18404         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18405         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18406         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18407         <bp-sym.h> and <bp-asm.h>.
18408         (memcpy): Don't use BP_SYM.
18409         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18410         <bp-sym.h> and <bp-asm.h>.
18411         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18412         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18413         <bp-sym.h> and <bp-asm.h>.
18414         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18415         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18416         <bp-asm.h>.
18417         (__mpn_lshift): Don't use BP_SYM.
18418         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18419         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18420         <bp-asm.h>.
18421         (memset): Don't use BP_SYM.
18422         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18423         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18424         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18425         <bp-asm.h>.
18426         (__mpn_mul_1): Don't use BP_SYM.
18427         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18428         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18429         <bp-sym.h> and <bp-asm.h>.
18430         (memcmp): Don't use BP_SYM.
18431         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18432         <bp-sym.h> and <bp-asm.h>.
18433         (memcpy): Don't use BP_SYM.
18434         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18435         <bp-sym.h> and <bp-asm.h>.
18436         (memset): Don't use BP_SYM.
18437         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18438         <bp-sym.h> and <bp-asm.h>.
18439         (strncmp): Don't use BP_SYM.
18440         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18441         <bp-sym.h> and <bp-asm.h>.
18442         (memcpy): Don't use BP_SYM.
18443         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18444         <bp-sym.h> and <bp-asm.h>.
18445         (memset): Don't use BP_SYM.
18446         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18447         <bp-sym.h> and <bp-asm.h>.
18448         (__memchr): Don't use BP_SYM.
18449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18450         <bp-sym.h> and <bp-asm.h>.
18451         (memcmp): Don't use BP_SYM.
18452         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18453         <bp-sym.h> and <bp-asm.h>.
18454         (memcpy): Don't use BP_SYM.
18455         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18456         <bp-sym.h> and <bp-asm.h>.
18457         (__mempcpy): Don't use BP_SYM.
18458         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18459         <bp-sym.h> and <bp-asm.h>.
18460         (__memrchr): Don't use BP_SYM.
18461         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18462         <bp-sym.h> and <bp-asm.h>.
18463         (memset): Don't use BP_SYM.
18464         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18465         <bp-sym.h> and <bp-asm.h>.
18466         (__rawmemchr): Don't use BP_SYM.
18467         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18468         <bp-sym.h> and <bp-asm.h>.
18469         (__STRCMP): Don't use BP_SYM.
18470         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18471         <bp-sym.h> and <bp-asm.h>.
18472         (strchr): Don't use BP_SYM.
18473         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18474         <bp-sym.h> and <bp-asm.h>.
18475         (__strchrnul): Don't use BP_SYM.
18476         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18477         <bp-sym.h> and <bp-asm.h>.
18478         (strlen): Don't use BP_SYM.
18479         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18480         <bp-sym.h> and <bp-asm.h>.
18481         (strncmp): Don't use BP_SYM.
18482         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18483         <bp-sym.h> and <bp-asm.h>.
18484         (__strnlen): Don't use BP_SYM.
18485         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18486         <bp-asm.h>.
18487         (__mpn_rshift): Don't use BP_SYM.
18488         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18489         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18490         <bp-sym.h> and <bp-asm.h>.
18491         (__sigsetjmp): Don't use BP_SYM.
18492         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18493         (L(start_addresses)): Don't use BP_SYM.
18494         (_start): Likewise.
18495         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18496         <bp-asm.h>.
18497         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18498         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18499         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18500         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18501         <bp-asm.h>.
18502         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18503         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18504         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18505         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18506         <bp-asm.h>.
18507         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18508         comments.
18509         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18510         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18511         <bp-asm.h>.
18512         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18513         FIXME comments.
18514         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18515         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18516         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18517         <bp-asm.h>.
18518         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18519         comment.
18520         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18521         and <bp-asm.h>.
18522         (strncmp): Don't use BP_SYM,
18523         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18524         <bp-asm.h>.
18525         (__mpn_sub_n): Don't use BP_SYM.
18526         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18527         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18528         and <bp-asm.h>.
18529         (__mpn_submul_1): Don't use BP_SYM.
18530         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18532         <bp-sym.h> and <bp-asm.h>.
18533         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18535         <bp-sym.h> and <bp-asm.h>.
18536         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18537         comment.
18539 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18541         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18542         Use ZK to minimize writes to Z.
18543         (sub_magnitudes): Simplify code a bit.
18544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18545         Use ZK to minimize writes to Z.
18546         (sub_magnitudes): Simplify code a bit.
18548 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18550         * csu/gmon-start.c: Add special exception to license text.
18552 2013-02-27  Richard Henderson  <rth@redhat.com>
18554         * scripts/config.guess: Update from config.git.
18555         * scripts/config.sub: Likewise.
18557 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18559         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18561         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18563         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18565         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18567         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18569 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18571         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18572         [$(build-shared = yes].
18574 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18576         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18577         (__mul): Reduce iterations for calculating mantissa.
18579         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18580         MPTWO.
18581         (__mpranred): Likewise.
18583         [BZ #15160]
18584         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18585         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18587 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18589         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18590         Define __attribute__.
18592 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18594         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18595         unused.
18596         * posix/regex_internal.h (__attribute): Remove.
18597         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18598         (re_string_context_at): Likewise.
18599         (bitset_not): Use __attribute__ and mark function as possibly
18600         unused.
18601         (bitset_merge): Likewise.
18602         (bitset_mask): Likewise.
18603         (re_string_char_size_at): Likewise.
18604         (re_string_wchar_at): Likewise.
18605         (re_string_elem_size_at): Likewise.
18607 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18609         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18610         code.
18611         (cc32): Likewise.
18613         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18614         (__acr): Likewise.
18615         (__cpy): Likewise.
18616         (norm): Likewise.
18617         (denorm): Likewise.
18618         (__dbl_mp): Likewise.
18619         (add_magnitudes): Likewise.
18620         (sub_magnitudes): Likewise.
18621         (__mul): Likewise.
18622         (__inv): Likewise.
18624         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18625         style.
18627         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18628         style.
18630         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18631         code.
18633         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18634         up changes with default code.
18635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18636         Likewise.
18638 2013-02-24  Allan McRae  <allan@archlinux.org>
18640         * manual/socket.texi (The Internet Namespace): Order menu items
18641         to match that in the file.
18643         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18644         node listing of the info page menu.
18646 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18648         [BZ #13550]
18649         * sysdeps/i386/bp-asm.h: Remove file.
18650         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18651         (PARMS): Do not use macros from bp-asm.h.
18652         (S1): Likewise.
18653         (S2): Likewise.
18654         (SIZE): Likewise.
18655         (__mpn_add_n): Do not use BP_SYM
18656         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18657         "bp-asm.h".
18658         (PARMS): Do not use macros from bp-asm.h.
18659         (S1): Likewise.
18660         (SIZE): Likewise.
18661         (__mpn_addmul_1): Do not use BP_SYM
18662         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18663         "bp-asm.h".
18664         (PARMS): Do not use macros from bp-asm.h.
18665         (SIGMSK): Likewise.
18666         (_setjmp): Likewise.  Do not use BP_SYM.
18667         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18668         "bp-asm.h".
18669         (PARMS): Do not use macros from bp-asm.h.
18670         (SIGMSK): Likewise.
18671         (setjmp): Likewise.  Do not use BP_SYM.
18672         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18673         "bp-asm.h".
18674         (PARMS): Do not use macros from bp-asm.h.
18675         (__frexp): Do not use BP_SYM.
18676         (frexp): Likewise.
18677         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18678         "bp-asm.h".
18679         (PARMS): Do not use macros from bp-asm.h.
18680         (__frexpf): Do not use BP_SYM.
18681         (frexpf): Likewise.
18682         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18683         "bp-asm.h".
18684         (PARMS): Do not use macros from bp-asm.h.
18685         (__frexpl): Do not use BP_SYM.
18686         (frexpl): Likewise.
18687         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18688         "bp-asm.h".
18689         (PARMS): Do not use macros from bp-asm.h.
18690         (__remquo): Do not use BP_SYM.
18691         (remquo): Likewise.
18692         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18693         "bp-asm.h".
18694         (PARMS): Do not use macros from bp-asm.h.
18695         (__remquof): Do not use BP_SYM.
18696         (remquof): Likewise.
18697         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18698         "bp-asm.h".
18699         (PARMS): Do not use macros from bp-asm.h.
18700         (__remquol): Do not use BP_SYM.
18701         (remquol): Likewise.
18702         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18703         "bp-asm.h".
18704         (PARMS): Do not use macros from bp-asm.h.
18705         (DEST): Likewise.
18706         (SRC): Likewise.
18707         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
18708         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18709         "bp-asm.h".
18710         (PARMS): Do not use macros from bp-asm.h.
18711         (strlen): Do not use BP_SYM.
18712         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18713         "bp-asm.h".
18714         (PARMS): Do not use macros from bp-asm.h.
18715         (S1): Likewise.
18716         (S2): Likewise.
18717         (SIZE): Likewise.
18718         (__mpn_add_n): Do not use BP_SYM.
18719         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18720         "bp-asm.h".
18721         (PARMS): Do not use macros from bp-asm.h.
18722         (S1): Likewise.
18723         (SIZE): Likewise.
18724         (__mpn_addmul_1): Do not use BP_SYM.
18725         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18726         weak_alias.
18727         (bzero): Likewise.
18728         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18729         "bp-asm.h".
18730         (PARMS): Do not use macros from bp-asm.h.
18731         (S): Likewise.
18732         (SIZE): Likewise.
18733         (__mpn_lshift): Do not use BP_SYM.
18734         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18735         "bp-asm.h".
18736         (PARMS): Do not use macros from bp-asm.h.
18737         (DEST): Likewise.
18738         (SRC): Likewise.
18739         (LEN): Likewise.
18740         (memcpy): Likewise.  Do not use BP_SYM.
18741         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18742         libc_hidden_def and weak_alias.
18743         (mempcpy): Do not use BP_SYM in weak_alias.
18744         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18745         "bp-asm.h".
18746         (PARMS): Do not use macros from bp-asm.h.
18747         (DEST): Likewise.
18748         (LEN): Likewise.
18749         [!BZERO_P] (CHR): Likewise.
18750         (memset): Likewise.  Do not use BP_SYM.
18751         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18752         "bp-asm.h".
18753         (PARMS): Do not use macros from bp-asm.h.
18754         (S1): Likewise.
18755         (SIZE): Likewise.
18756         (__mpn_mul_1): Do not use BP_SYM.
18757         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18758         "bp-asm.h".
18759         (PARMS): Do not use macros from bp-asm.h.
18760         (S): Likewise.
18761         (SIZE): Likewise.
18762         (__mpn_rshift): Do not use BP_SYM.
18763         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18764         "bp-asm.h".
18765         (PARMS): Do not use macros from bp-asm.h.
18766         (STR): Likewise.
18767         (CHR): Likewise.
18768         (strchr): Likewise.  Do not use BP_SYM.
18769         (index): Do not use BP_SYM in weak_alias.
18770         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18771         "bp-asm.h".
18772         (PARMS): Do not use macros from bp-asm.h.
18773         (DEST): Likewise.
18774         (SRC): Likewise.
18775         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18776         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18777         "bp-asm.h".
18778         (PARMS): Do not use macros from bp-asm.h.
18779         (strlen): Do not use BP_SYM.
18780         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18781         "bp-asm.h".
18782         (PARMS): Do not use macros from bp-asm.h.
18783         (S1): Likewise.
18784         (S2): Likewise.
18785         (SIZE): Likewise.
18786         (__mpn_sub_n): Do not use BP_SYM.
18787         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18788         "bp-asm.h".
18789         (PARMS): Do not use macros from bp-asm.h.
18790         (S1): Likewise.
18791         (SIZE): Likewise.
18792         (__mpn_submul_1): Do not use BP_SYM.
18793         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18794         "bp-asm.h".
18795         (PARMS): Do not use macros from bp-asm.h.
18796         (S1): Likewise.
18797         (S2): Likewise.
18798         (SIZE): Likewise.
18799         (__mpn_add_n): Do not use BP_SYM.
18800         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18801         weak_alias.
18802         (bzero): Likewise.
18803         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18804         "bp-asm.h".
18805         (PARMS): Do not use macros from bp-asm.h.
18806         (BLK2): Likewise.
18807         (LEN): Likewise.
18808         (memcmp): Do not use BP_SYM.
18809         (bcmp): Do not use BP_SYM in weak_alias.
18810         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18811         "bp-asm.h".
18812         (PARMS): Do not use macros from bp-asm.h.
18813         (DEST): Likewise.
18814         (SRC): Likewise.
18815         (LEN): Likewise.
18816         (memcpy): Likewise.  Do not use BP_SYM.
18817         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18818         "bp-asm.h".
18819         (PARMS): Do not use macros from bp-asm.h.
18820         (DEST): Likewise.
18821         (SRC): Likewise.
18822         (LEN): Likewise.
18823         (memmove): Likewise.  Do not use BP_SYM.
18824         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18825         "bp-asm.h".
18826         (PARMS): Do not use macros from bp-asm.h.
18827         (DEST): Likewise.
18828         (SRC): Likewise.
18829         (LEN): Likewise.
18830         (__mempcpy): Likewise.  Do not use BP_SYM.
18831         (mempcpy): Do not use BP_SYM in weak_alias.
18832         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18833         "bp-asm.h".
18834         (PARMS): Do not use macros from bp-asm.h.
18835         (DEST): Likewise.
18836         (LEN): Likewise.
18837         [!BZERO_P] (CHR): Likewise.
18838         (memset): Likewise.  Do not use BP_SYM.
18839         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18840         "bp-asm.h".
18841         (PARMS): Do not use macros from bp-asm.h.
18842         (STR2): Likewise.
18843         (strcmp): Do not use BP_SYM.
18844         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18845         "bp-asm.h".
18846         (PARMS): Do not use macros from bp-asm.h.
18847         (STR): Likewise.
18848         (DELIM): Likewise.
18849         [USE_AS_STRTOK_R] (SAVE): Likewise.
18850         (FUNCTION): Likewise.  Do not use BP_SYM.
18851         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18852         aliases.
18853         (strtok_r): Likewise.
18854         (__GI___strtok_r): Likewise.
18855         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18856         (PARMS): Do not use macros from bp-asm.h.
18857         (S): Likewise.
18858         (SIZE): Likewise.
18859         (__mpn_lshift): Do not use BP_SYM.
18860         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18861         (PARMS): Do not use macros from bp-asm.h.
18862         (STR): Likewise.
18863         (CHR): Likewise.
18864         (__memchr): Do not use BP_SYM.
18865         (memchr): Do not use BP_SYM in weak_alias.
18866         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18867         (PARMS): Do not use macros from bp-asm.h.
18868         (BLK2): Likewise.
18869         (LEN): Likewise.
18870         (memcmp): Do not use BP_SYM.
18871         (bcmp): Do not use BP_SYM in weak_alias.
18872         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18873         (PARMS): Do not use macros from bp-asm.h.
18874         (S1): Likewise.
18875         (SIZE): Likewise.
18876         (__mpn_mul_1): Do not use BP_SYM.
18877         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18878         "bp-asm.h".
18879         (PARMS): Do not use macros from bp-asm.h.
18880         (STR): Likewise.
18881         (CHR): Likewise.
18882         (__rawmemchr): Do not use BP_SYM.
18883         (rawmemchr): Do not use BP_SYM in weak_alias.
18884         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18885         (PARMS): Do not use macros from bp-asm.h.
18886         (S): Likewise.
18887         (SIZE): Likewise.
18888         (__mpn_rshift): Do not use BP_SYM.
18889         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18890         (PARMS): Do not use macros from bp-asm.h.
18891         (SIGMSK): Likewise.
18892         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18893         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18894         (_start): Do not use BP_SYM.
18895         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18896         (PARMS): Do not use macros from bp-asm.h.
18897         (DEST): Likewise.
18898         (SRC): Likewise.
18899         (__stpcpy): Likewise.  Do not use BP_SYM.
18900         (stpcpy): Do not use BP_SYM in weak_alias.
18901         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18902         "bp-asm.h".
18903         (PARMS): Do not use macros from bp-asm.h.
18904         (DEST): Likewise.
18905         (SRC): Likewise.
18906         (LEN): Likewise.
18907         (__stpncpy): Likewise.  Do not use BP_SYM.
18908         (stpncpy): Do not use BP_SYM in weak_alias.
18909         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18910         (PARMS): Do not use macros from bp-asm.h.
18911         (STR): Likewise.
18912         (CHR): Likewise.
18913         (strchr): Likewise.  Do not use BP_SYM.
18914         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18915         "bp-asm.h".
18916         (PARMS): Do not use macros from bp-asm.h.
18917         (STR): Likewise.
18918         (CHR): Likewise.
18919         (__strchrnul): Likewise.  Do not use BP_SYM.
18920         (strchrnul): Do not use BP_SYM in weak_alias.
18921         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18922         "bp-asm.h".
18923         (PARMS): Do not use macros from bp-asm.h.
18924         (STOP): Likewise.
18925         (strcspn): Do not use BP_SYM.
18926         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18927         "bp-asm.h".
18928         (PARMS): Do not use macros from bp-asm.h.
18929         (STR): Likewise.
18930         (STOP): Likewise.
18931         (strpbrk): Likewise.  Do not use BP_SYM.
18932         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18933         "bp-asm.h".
18934         (PARMS): Do not use macros from bp-asm.h.
18935         (STR): Likewise.
18936         (CHR): Likewise.
18937         (strrchr): Likewise.  Do not use BP_SYM.
18938         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18939         (PARMS): Do not use macros from bp-asm.h.
18940         (SKIP): Likewise.
18941         (strspn): Do not use BP_SYM.
18942         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18943         (PARMS): Do not use macros from bp-asm.h.
18944         (STR): Likewise.
18945         (DELIM): Likewise.
18946         (SAVE): Likewise.
18947         (FUNCTION): Likewise.  Do not use BP_SYM.
18948         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18949         aliases.
18950         (strtok_r): Likewise.
18951         (__GI___strtok_r): Likewise.
18952         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18953         (PARMS): Do not use macros from bp-asm.h.
18954         (S1): Likewise.
18955         (S2): Likewise.
18956         (SIZE): Likewise.
18957         (__mpn_sub_n): Do not use BP_SYM.
18958         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18959         "bp-asm.h".
18960         (PARMS): Do not use macros from bp-asm.h.
18961         (S1): Likewise.
18962         (SIZE): Likewise.
18963         (__mpn_submul_1): Do not use BP_SYM.
18964         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18965         <bp-sym.h>.
18966         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18967         and <bp-asm.h>.
18968         (PARMS): Do not use macros from bp-asm.h.
18969         (FLAGS): Likewise.
18970         (PTID): Likewise.
18971         (TLS): Likewise.
18972         (CTID): Likewise.
18973         (__clone): Do not use BP_SYM.
18974         (clone): Do not use BP_SYM in weak_alias.
18975         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18976         and <bp-asm.h>.
18977         (PARMS): Do not use macros from bp-asm.h.
18978         (LEN): Likewise.
18979         (__mmap64): Do not use BP_SYM.
18980         (mmap64): Do not use BP_SYM in weak_alias.
18981         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18982         <bp-sym.h> and <bp-asm.h>.
18983         (PARMS): Do not use macros from bp-asm.h.
18984         (__posix_fadvise64_l64): Do not use BP_SYM.
18985         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18986         (PARMS): Do not use macros from bp-asm.h.
18987         (NSOPS): Likewise.
18988         (semtimedop): Do not use BP_SYM.
18989         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18990         and <bp-asm.h>.
18992 2013-02-21  Allan McRae  <allan@archlinux.org>
18994         * manual/message.texi (Charset conversion in gettext):
18995         Move @end statement to beginning of line.
18997 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19000         static.
19001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19002         Likewise.
19004         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19005         (denorm): Likewise.
19006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19009 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19011         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19012         tail-call to the resolved function if pltexit isn't needed.
19014 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19017         or Y being zero as being unlikely.
19018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19019         Likewise.
19021 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19023         * manual/nss.texi (System Databases and Name Service Switch):
19024         Remove frobnicate @pxref.
19026 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19028         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19029         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19031 2013-02-20  Petr Machata  <pmachata@redhat.com>
19033         * elf/elf.h (R_ARM_TARGET1): New macro.
19034         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19035         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19036         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19037         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19038         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19039         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19040         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19041         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19042         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19043         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19044         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19045         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19046         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19047         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19048         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19049         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19050         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19051         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19052         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19053         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19054         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19055         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19056         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19057         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19058         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19059         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19060         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19061         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19062         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19063         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19064         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19065         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19066         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19067         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19068         (R_ARM_THM_GOT_BREL12): Likewise.
19069         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19070         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19071         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19072         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19073         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19074         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19075         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19076         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19077         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19079 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19081         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19082         __attribute_used__ to __attribute__ ((unused)).
19084 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19086         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19087         powerpc mpa.c.
19088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19089         comment formatting.
19090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19092 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #13550]
19095         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19096         Remove macro.
19097         (ENTER): Remove both macro definitions.
19098         (LEAVE): Likewise.
19099         (CHECK_BOUNDS_LOW): Likewise.
19100         (CHECK_BOUNDS_HIGH): Likewise.
19101         (CHECK_BOUNDS_BOTH): Likewise.
19102         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19103         (RETURN_BOUNDED_POINTER): Likewise.
19104         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19105         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19106         (POP_ERRNO_LOCATION_RETURN): Likewise.
19107         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19108         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19109         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19110         macros.
19111         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19112         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19113         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19114         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19115         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19116         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19117         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19118         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19119         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19120         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19121         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19122         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19123         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19124         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19125         removed macros.
19126         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19127         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19128         macros.
19129         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19130         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19131         * sysdeps/i386/i586/memset.S (memset): Likewise.
19132         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19133         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19134         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19135         macros.
19136         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19137         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19138         Change uses of L(2) to L(out).
19139         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19140         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19141         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19142         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19143         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19144         removed macros.
19145         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19146         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19147         macros.
19148         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19149         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19150         (RETURN): Do not use macro LEAVE.
19151         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19152         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19153         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19154         * sysdeps/i386/i686/memset.S (memset): Likewise.
19155         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19156         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19157         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19158         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19159         Likewise.
19160         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19161         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19162         L(1_2) and L(1_3) into L(1).
19163         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19164         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19165         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19166         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19167         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19168         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19169         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19170         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19171         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19172         macros.
19173         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19174         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19175         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19176         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19177         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19178         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19179         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19180         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19181         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19182         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19183         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19184         * sysdeps/i386/strspn.S (strspn): Likewise.
19185         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19186         conditional code.
19187         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19188         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19189         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19190         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19191         L(1_3) into L(1_1).
19192         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19193         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19194         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19195         macros.
19196         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19198 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19200         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19201         macro.
19203 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19205         * math/atest-exp.c (exp_mpn): Remove ROUND.
19206         * math/atest-exp2.c (exp_mpn): Likewise.
19207         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19209         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19210         * stdlib/tst-tls-atexit-lib.c: Likewise.
19211         * stdlib/tst-tls-atexit.c: Likewise.
19213 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19215         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19216         and __attribute_alloc_size__.
19218 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19220         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19221         __attribute_alloc_size__.
19222         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19223         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19225 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19227         * include/programs/xmalloc.h: New file.
19228         * catgets/gencat.c: Include it.
19229         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19230         * elf/pldd.c: Likewise.
19231         * iconv/iconv_charmap.c: Likewise.
19232         * iconv/iconvconfig.c: Likewise.
19233         * iconv/strtab.c: Likewise.
19234         * locale/programs/locale.c: Likewise.
19235         * locale/programs/localedef.h: Likewise.
19236         * locale/programs/simple-hash.c: Likewise.
19237         * nscd/nscd.h: Likewise.
19238         * nss/makedb.c: Likewise.
19239         * sysdeps/generic/ldconfig.h: Likewise.
19241 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19243         * Versions.def: Add GLIBC_2.18.
19244         * include/link.h (struct link_map): New member l_tls_dtor_count.
19245         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19246         (__call_tls_dtors): Likewise.
19247         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19248         __cxa_thread_atexit_impl.
19249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19250         Likewise.
19251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19252         Likewise.
19253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19254         Likewise.
19255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19256         Likewise.
19257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19259         Likewise.
19260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19261         Likewise.
19262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19264         Likewise.
19265         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19266         (tests): Add test case tst-tls-atexit.
19267         (modules-names): Add shared library for tst-tls-atexit.
19268         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19269         (GLIBC_PRIVATE): Add __call_tls_dtors.
19270         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19271         for libstdc++.
19272         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19273         * stdlib/tst-tls-atexit.c: New test case.
19274         * stdlib/tst-tls-atexit-lib.c: New test case.
19276         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19278         * elf/Versions (ld): Add _dl_find_dso_for_object.
19279         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19280         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19281         (dl_open_worker): Use _dl_find_dso_for_object.
19282         * elf/dl-sym.c (do_sym): Likewise.
19283         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19285 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19287         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19288         Syntactic changes only.
19289         (_dl_runtime_profile): Do a tail-call to the resolved function.
19291 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19293         [BZ #13550]
19294         * sysdeps/x86_64/bp-asm.h: Remove file.
19295         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19296         <bp-sym.h> and <bp-asm.h>.
19297         (__clone): Do not use BP_SYM.
19298         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19299         <bp-sym.h> and <bp-asm.h>.
19300         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19301         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19302         "bp-asm.h".
19303         (_setjmp): Do not use BP_SYM.
19304         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19305         "bp-asm.h".
19306         (setjmp): Do not use BP_SYM.
19307         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19308         libc_hidden_def.
19309         (mempcpy): Do not use BP_SYM in weak_alias.
19310         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19311         "bp-asm.h".
19312         (strchr): Do not use BP_SYM.
19313         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19314         "bp-asm.h".
19315         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19316         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19317         (_start): Do not use BP_SYM.
19318         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19319         "bp-asm.h".
19320         (strcat): Do not use BP_SYM.
19321         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19322         "bp-asm.h".
19323         (STRCMP): Do not use BP_SYM.
19324         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19325         "bp-asm.h".
19326         (STRCPY): Do not use BP_SYM.
19327         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19328         "bp-asm.h".
19329         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19330         "bp-asm.h".
19331         (FUNCTION): Do not use BP_SYM.
19332         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19333         weak_alias.
19334         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19336 2013-02-17  Andreas Jaeger  <aj@suse.de>
19338         * time/Versions: Sort entries.
19339         * string/Versions: Likewise.
19340         * resolv/Versions: Likewise.
19341         * posix/Versions: Likewise.
19342         * iconv/Versions: Likewise.
19343         * elf/Versions: Likewise.
19344         * wcsmbs/Versions: Likewise.
19346 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19348         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19349         loop termination condition.
19351         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19352         variable to calculate EZ.
19353         (__sqr): Likewise.
19355         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19356         the lower precision input.
19358 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19360         [BZ #13550]
19361         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19362         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19363         (run-via-rtld-prefix): Do not handle %-bp tests.
19364         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19365         (all-object-suffixes): Remove .ob.
19366         (bppfx): Remove variable.
19367         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19368         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19369         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19370         [$(build-bounded) = yes] (libtype.ob): Likewise.
19371         * Makerules (elide-routines.ob): Remove variable.
19372         (do-tests-clean): Do not handle *-bp.out.
19373         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19374         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19375         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19376         (tests): Do not include $(tests-bp.out).
19377         (xtests): Do not include $(xtests-bp.out).
19378         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19379         [$(build-bounded) = yes] ($(addprefix
19380         $(objpfx),$(binaries-bounded))): Remove rule.
19381         ($(objpfx)%-bp.out): Remove rule.
19382         * config.make.in (build-bounded): Remove variable.
19383         * crypt/Makefile [$(build-bounded) = yes]
19384         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19385         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19386         append to variable.
19387         [$(build-bounded) = yes] (install-lib): Likewise.
19388         [$(build-bounded) = yes] (generated): Likewise.
19389         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19390         Remove rule.
19391         * intl/Makefile [$(build-bounded) = yes]
19392         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19393         * math/Makefile [$(build-bounded) = yes]
19394         ($(tests:%=$(objpfx)%-bp): Likewise.
19395         * misc/Makefile [$(build-bounded) = yes]
19396         ($(objpfx)tst-tsearch-bp): Likewise.
19397         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19398         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19399         Remove dependency.
19400         * string/Makefile (o-objects.ob): Remove variable.
19401         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19402         (CFLAGS-.ob): Remove variable.
19403         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19404         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19405         both definitions of variable.
19406         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19407         (ASFLAGS-.ob): Remove variable.
19409 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19411         [BZ #13550]
19412         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19413         Remove __BOUNDED_POINTERS__ from condition.
19414         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19415         * string/bits/string2.h [!__NO_STRING_INLINES &&
19416         !__BOUNDED_POINTERS__]: Likewise.
19417         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19418         Likewise.
19419         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19420         Remove conditional code.
19421         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19422         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19423         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19424         condition.
19426         [BZ #13550]
19427         * csu/libc-start.c: Do not include <bp-sym.h>.
19428         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19429         * elf/dl-open.c: Do not include <bp-sym.h>.
19430         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19431         * math/fegetenv.c: Do not include <bp-sym.h>.
19432         (fegetenv): Do not use BP_SYM in versioned symbols.
19433         * nptl/sysdeps/pthread/bits/libc-lockP.h
19434         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19435         <bp-sym.h>.
19436         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19437         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19438         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19439         (__pthread_mutex_destroy): Likewise.
19440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19441         (__pthread_mutex_lock): Likewise.
19442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19443         (__pthread_mutex_trylock): Likewise.
19444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19445         (__pthread_mutex_unlock): Likewise.
19446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19447         (__pthread_mutexattr_init): Likewise.
19448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19449         (__pthread_mutexattr_destroy): Likewise.
19450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19451         (__pthread_mutexattr_settype): Likewise.
19452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19453         (__pthread_rwlock_init): Likewise.
19454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19455         (__pthread_rwlock_destroy): Likewise.
19456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19457         (__pthread_rwlock_rdlock): Likewise.
19458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19459         (__pthread_rwlock_tryrdlock): Likewise.
19460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19461         (__pthread_rwlock_wrlock): Likewise.
19462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19463         (__pthread_rwlock_trywrlock): Likewise.
19464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19465         (__pthread_rwlock_unlock): Likewise.
19466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19467         (__pthread_key_create): Likewise.
19468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19469         (__pthread_setspecific): Likewise.
19470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19471         (__pthread_getspecific): Likewise.
19472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19473         Likewise.
19474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19475         (_pthread_cleanup_push_defer): Likewise.
19476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19477         (_pthread_cleanup_pop_restore): Likewise.
19478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19479         (pthread_setcancelstate): Likewise.
19480         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19481         <bp-sym.h>.
19482         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19483         (memchr): Do not use BP_SYM in weak_alias.
19484         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19485         (fegetenv): Do not use BP_SYM in versioned symbols.
19486         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19487         (fesetenv): Do not use BP_SYM in versioned symbols.
19488         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19489         (feupdateenv): Do not use BP_SYM in versioned symbols.
19490         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19491         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19492         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19493         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19494         (open64): Do not use BP_SYM in weak_alias.
19495         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19496         (fegetenv): Do not use BP_SYM in versioned symbols.
19497         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19498         (fesetenv): Do not use BP_SYM in versioned symbols.
19499         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19500         (feupdateenv): Do not use BP_SYM in versioned symbols.
19501         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19502         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19503         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19504         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19505         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19506         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19507         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19508         <bp-sym.h>.
19509         (__libc_start_main): Do not use BP_SYM.
19511 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19514         redundant return line.
19515         (norm): Likewise.
19516         (denorm): Likewise.
19517         (dbl_mp): Likewise.
19518         (sub_magnitudes): Likewise.
19519         (__add): Likewise.
19520         (__sub): Likewise.
19521         (__mul): Likewise.
19522         (__inv): Likewise.
19523         (__dvd): Likewise.
19524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19525         (norm): Likewise.
19526         (denorm): Likewise.
19527         (dbl_mp): Likewise.
19528         (sub_magnitudes): Likewise.
19529         (__add): Likewise.
19530         (__sub): Likewise.
19531         (__mul): Likewise.
19532         (__inv): Likewise.
19533         (__dvd): Likewise.
19535         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19536         instead of __mul.
19537         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19538         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19539         (cc32): Likewise.
19541         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19542         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19544         of __mul for squares.
19545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19546         function
19547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19548         Likewise.
19549         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19550         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19552 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19554         [BZ #13550]
19555         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19556         code.
19557         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19558         prototype or function definition.  Rename ubp_* variables and
19559         parameters.  Remove argv definitions conditional on
19560         [__BOUNDED_POINTERS__].
19561         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19562         * elf/dl-runtime.c (_dl_fixup): Likewise.
19563         * include/set-hooks.h (RUN_HOOK): Likewise.
19564         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19565         definition.
19566         * string/strcpy.c (strcpy): Do not use __unbounded.
19567         * sysdeps/generic/frame.h (struct layout): Likewise.
19568         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19569         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19570         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19571         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19572         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19573         (__backtrace): Likewise.
19574         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19575         use __ptrvalue.
19576         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19577         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19578         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19579         Likewise.
19580         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19581         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19582         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19583         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19584         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19585         Do not use __unbounded.
19586         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19587         Rename __unboundedrlimits parameter to rlimits in prototype.
19588         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19589         Do not use __unbounded.
19590         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19591         not use __ptrvalue.
19592         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19593         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19594         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19595         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19596         __ptrvalue or __unbounded.
19597         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19598         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19599         use __unbounded.
19600         (__new_msgctl): Do not use __ptrvalue.
19601         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19602         __unbounded.
19603         (__libc_msgrcv): Do not use __ptrvalue.
19604         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19605         startup_info): Do not use __unbounded.
19606         (__libc_start_main): Likewise.  Rename ubp_* variables and
19607         parameters.  Remove argv definitions conditional on
19608         [__BOUNDED_POINTERS__].
19609         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19610         __ptrvalue.
19611         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19612         use __unbounded.
19613         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19614         or __ptrvalue.
19615         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19616         use __unbounded.
19617         (__new_shmctl): Do not use __ptrvalue.
19618         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19619         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19620         Likewise.
19621         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19622         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19623         (__libc_sigaction): Likewise.
19624         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19625         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19626         Likewise.
19627         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19629 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19631         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19633         * string/mempcpy.c: Implement by calling memcpy.
19635 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19640         evaluation.
19642         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19643         values in the mantissa.
19645         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19646         minimize writes to Z.
19647         (sub_magnitudes): Simplify code a bit.
19649 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19651         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19652         from the message.  The linker prefixes all warnings with that already.
19654 2013-02-12  Andreas Schwab  <schwab@suse.de>
19656         [BZ #15078]
19657         * posix/regexec.c (extend_buffers): Add parameter min_len.
19658         (check_matching): Pass minimum needed length.
19659         (clean_state_log_if_needed): Likewise.
19660         (get_subexp): Likewise.
19661         * posix/Makefile (tests): Add bug-regex34.
19662         (bug-regex34-ENV): Define.
19663         * posix/bug-regex34.c: New file.
19665         [BZ #11561]
19666         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19667         elements compare against the byte sequence of it, not its name.
19668         * posix/Makefile (tests): Add bug-regex35.
19669         (bug-regex35-ENV): Define.
19670         * posix/bug-regex35.c: New file.
19672 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19674         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19675         comment.
19676         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19677         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19678         (CHECK_EOL): Add undef.
19680 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19682         * bits/stdlib-bsearch.h: New file.
19683         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19684         * stdlib/stdlib.h: Likewise.
19686 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19688         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19689         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19690         declaration.
19691         * manual/search.texi (Array Search Function): Add missing const in
19692         lfind prototype.
19693         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19694         declaration to use rlim_t.
19695         (Basic Scheduling Functions): Remove erroneous const from
19696         sched_getparam prototype.  Remove erroneous * from
19697         sched_get_priority_max and sched_get_priority_min prototypes.
19698         (Resource Usage): Fix summary @comment on vtimes to refer to
19699         sys/vtimes.h rather than vtimes.h.
19700         Add missing *s in vtimes prototype.
19701         (Limits on Resources): Fix ulimit prototype to return long int.
19702         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19703         prototypes to use long int rather than double.
19704         (BSD Random): Fix initstate and setstate to use char *, not void *.
19705         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19706         prototype to make second argument 'struct aiocb64 *const[]'.
19707         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19708         (Status of AIO Operations): Remove erroneous const in aio_return and
19709         aio_return64 prototypes.
19710         (Synchronizing I/O): Fix sync prototype to return void.
19711         * manual/startup.texi (Suboptions): Remove an erroneous const in
19712         getsubopt prototype.
19713         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19714         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19715         use size_t rather than int.
19716         (Scanning All Users): Likewise for getpwent_r.
19717         (Setting Groups): Add missing const to setgroups prototype.
19718         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19719         * manual/socket.texi (Host Names): Fix gethostbyaddr and
19720         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19721         'const void *' rather than 'const char *'.
19722         (Host Address Functions): Likewise for inet_ntop.
19723         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19724         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19725         ssize_t for return value.
19726         (Sending Data): Likewise for send, sendto, sendmsg.
19727         (Socket Option Functions): Add a missing const in setsockopt prototype.
19728         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19729         use wchar_t for the argument.
19730         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19731         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19732         take no arguments.
19733         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19734         double/float/long double for second argument.
19735         Fix return types of significand, significandf, significandl.
19736         * manual/filesys.texi (Setting Permissions): Use mode_t for second
19737         argument in fchmod prototype.
19738         (File Owner): Use uid_t and gid_t in fchown prototype.
19739         (File Times): Add const to utimes, futimes, and lutimes prototypes.
19740         (Making Special Files): Use mode_t and dev_t in mknod prototype.
19741         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19742         use 'const struct dirent **' as argument types to CMP function pointer
19743         argument.
19744         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19745         (File Times): Fix summary magic @comment for struct utimbuf and utime
19746         to refer to utime.h, not time.h.
19747         * manual/string.texi (Argz Functions): Add missing const in
19748         argz_extract and argz_next prototypes.
19749         (Finding Tokens in a String): Likewise for basename.
19750         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19751         (Copying and Concatenation): Fix typo in wmemmove prototype.
19752         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19753         (Signal Stack): Remove erroneous const in sigstack prototype.
19754         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19755         prototype.
19756         (Simple Calendar Time): Likewise for stime.
19757         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19758         prototype.
19759         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19760         say sys/sysctl.h instead.
19761         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19762         and vsyslog prototypes.
19764 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19766         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19767         Remove.
19769 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19771         * misc/sys/mman.h: Fix typo in mremap comment.
19773 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19775         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19776         the '\0' terminator.
19778 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19780         [BZ #13550]
19781         * debug/segfault.c: Don't include <bp-checks.h>.
19782         * sysdeps/generic/bp-checks.h: Remove file.
19783         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19784         (__GETDENTS): Don't use CHECK_N.
19785         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19786         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19787         (__getgroups): Don't use CHECK_N.
19788         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19789         (setgroups): Don't use CHECK_N.
19790         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19791         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19792         (__libc_msgrcv): Don't use CHECK_N.
19793         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19794         (__libc_msgsnd): Don't use CHECK_N.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19796         <bp-checks.h>.
19797         (__libc_pread): Don't use CHECK_N.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19799         include <bp-checks.h>.
19800         (__libc_pread64): Don't use CHECK_N.
19801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19802         include <bp-checks.h>.
19803         (__libc_pwrite): Don't use CHECK_N.
19804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19805         include <bp-checks.h>.
19806         (__libc_pwrite64): Don't use CHECK_N.
19807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19808         <bp-checks.h>.
19809         (__libc_pread): Don't use CHECK_N.
19810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19811         include <bp-checks.h>.
19812         (__libc_pread64): Don't use CHECK_N.
19813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19814         include <bp-checks.h>.
19815         (__libc_pwrite): Don't use CHECK_N.
19816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19817         include <bp-checks.h>.
19818         (__libc_pwrite64): Don't use CHECK_N.
19819         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19820         (do_pread): Don't use CHECK_N.
19821         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19822         (do_pread64): Don't use CHECK_N.
19823         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19824         (do_pwrite): Don't use CHECK_N.
19825         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19826         (do_pwrite64): Don't use CHECK_N.
19827         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19828         (__libc_readv): Don't use CHECK_N.
19829         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19830         (semop): Don't use CHECK_N.
19831         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19832         <bp-checks.h>.
19833         (semtimedop): Don't use CHECK_N.
19834         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19835         (__libc_pread): Don't use CHECK_N.
19836         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19837         <bp-checks.h>.
19838         (__libc_pread64): Don't use CHECK_N.
19839         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19840         <bp-checks.h>.
19841         (__libc_pwrite): Don't use CHECK_N.
19842         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19843         <bp-checks.h>.
19844         (__libc_pwrite64): Don't use CHECK_N.
19845         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19846         <bp-checks.h>.
19847         (__libc_msgrcv): Don't use CHECK_N.
19848         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19849         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19850         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19851         (__libc_writev): Don't use CHECK_N.
19853 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19855         * string/strcpy.c: Removed unused variable.
19857         * Makeconfig (+sysdep-includes): Define with := rather than =.
19858         Use an existing include/ subdir of each sysdeps dir before it.
19860 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19862         * nscd/connection.c (register_traced_file): Comment function.
19863         [HAVE_INOTIFY] (union __inev): Define.
19864         [HAVE_INOTIFY] (inotify_check_files): New function.
19865         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19866         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19867         clear_db_cache.
19868         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19870 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19872         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19873         loaded if not already and that a failure is permanent.
19875 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19877         [BZ #15006]
19878         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19879         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19881 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19883         [BZ #13550]
19884         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19885         (CHECK_1_NULL_OK): Likewise.
19886         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19887         (__fxstat): Do not use CHECK_1.
19888         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19889         <bp-checks.h>.
19890         (___fxstat64): Do not use CHECK_1.
19891         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19892         <bp-checks.h>.
19893         (__fxstatat): Do not use CHECK_1.
19894         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19895         <bp-checks.h>.
19896         (__fxstatat64): Do not use CHECK_1.
19897         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19898         <bp-checks.h>.
19899         (__fxstat): Do not use CHECK_1.
19900         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19901         <bp-checks.h>.
19902         (__fxstatat): Do not use CHECK_1.
19903         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19904         <bp-checks.h>.
19905         (__getresgid): Do not use CHECK_1.
19906         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19907         <bp-checks.h>.
19908         (__getresuid): Do not use CHECK_1.
19909         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19910         <bp-checks.h>.
19911         (__lxstat): Do not use CHECK_1.
19912         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19913         <bp-checks.h>.
19914         (__old_msgctl): Do not use CHECK_1.
19915         (__new_msgctl): Likewise.
19916         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19917         <bp-checks.h>.
19918         (__new_setrlimit): Do not use CHECK_1.
19919         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19920         <bp-checks.h>.
19921         (__old_shmctl): Do not use CHECK_1.
19922         (__new_shmctl): Likewise.
19923         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19924         <bp-checks.h>.
19925         (__xstat): Do not use CHECK_1.
19926         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19927         (__lxstat): Do not use CHECK_1.
19928         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19929         <bp-checks.h>.
19930         (___lxstat64): Do not use CHECK_1.
19931         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19932         (__old_msgctl): Do not use CHECK_1.
19933         (__new_msgctl): Likewise.
19934         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19935         <bp-checks.h>.
19936         (__gettimeofday): Do not use CHECK_1.
19937         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19938         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19939         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19940         <bp-checks.h>.
19941         (__gettimeofday): Do not use CHECK_1.
19942         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19943         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19944         (__new_shmctl): Do not use CHECK_1.
19945         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19946         <bp-checks.h>.
19947         (do_sigtimedwait): Do not use CHECK_1.
19948         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19949         <bp-checks.h>.
19950         (do_sigwaitinfo): Do not use CHECK_1.
19951         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19952         <bp-checks.h>.
19953         (msgctl): Do not use CHECK_1.
19954         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19955         <bp-checks.h>.
19956         (shmctl): Do not use CHECK_1.
19957         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19958         (ustat): Do not use CHECK_1.
19959         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19960         <bp-checks.h>.
19961         (__fxstat): Do not use CHECK_1.
19962         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19963         <bp-checks.h>.
19964         (__fxstatat): Do not use CHECK_1.
19965         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19966         <bp-checks.h>.
19967         (__lxstat): Do not use CHECK_1.
19968         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19969         <bp-checks.h>.
19970         (__xstat): Do not use CHECK_1.
19971         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19972         (__xstat): Do not use CHECK_1.
19973         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19974         (___xstat64): Do not use CHECK_1.
19976         [BZ #13550]
19977         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19978         definitions.
19979         (CHECK_BOUNDS_HIGH): Likewise.
19980         * string/strcpy.c: Do not include <bp-checks.h>.
19981         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19983 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19985         * nscd/nscd-client.h (__nscd_drop_map_ref):
19986         Add __attribute__ ((unused)).
19987         * nis/nss-nisplus.h (niserr2nss): Likewise.
19989         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19990         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19992         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19993         Remove inline keyword.
19994         * include/rounding-mode.h (round_away): Likewise.
19995         * libio/wfileops.c (adjust_wide_data): Likewise.
19996         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19997         (__m128i_strloadu_tolower): Likewise.
19998         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19999         (__m128i_strloadu_tolower): Likewise.
20000         * time/mktime.c (ydhms_diff): Likewise.
20001         * locale/elem-hash.h (elem_hash): Likewise.
20002         * locale/setlocale.c (setdata): Likewise.
20003         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20004         (re_string_wchar_at): Likewise.
20005         (bitset_not, bitset_merge, bitset_mask): Likewise.
20006         [!(__GNUC__ > 3)] (inline): Remove macro.
20007         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20008         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20009         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20010         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20011         * string/memcmp.c (memcmp_bytes): Likewise.
20012         * locale/programs/locarchive.c (compute_hashval): Likewise.
20013         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20014         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20015         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20016         * nss/getent.c (print_rpc, print_protocols): Likewise.
20017         (print_passwd, print_group, print_aliases): Likewise.
20018         * nis/nss-nisplus.h (niserr2nss): Likewise.
20019         * nscd/connections.c (restart_p): Likewise.
20020         Change return type to bool.
20022 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20024         * Makeconfig (all-Depend-files): Add existing
20025         $(sorted-subdirs:=/Depend) files.
20026         (all-subdirs): Remove nss.
20027         * sysdeps/unix/inet/Subdirs: Add it here instead.
20028         * hesiod/Depend: New file.
20030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20031         instead of calling alloca.
20033         * io/lseek.c (__lseek): Rename to __libc_lseek.
20034         Define __lseek as an alias.
20036         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20038 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20040         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20041         else clause and remove check for non-standard endianness.
20043 2013-02-04  David S. Miller  <davem@davemloft.net>
20045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20047 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20049         [BZ #13550]
20050         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20051         (__ubp_memchr): Remove prototype.
20052         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20053         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20054         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20055         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20056         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20057         Remove alias.
20058         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20059         (__ubp_memchr): Likewise.
20060         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20061         (__ubp_memchr): Likewise.
20062         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20063         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20064         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20065         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20066         CHECK_STRING.
20067         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20068         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20069         (__getcwd): Do not use CHECK_STRING.
20070         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20071         <bp-checks.h>.
20072         (__real_chown): Do not use CHECK_STRING.
20073         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20074         <bp-checks.h>.
20075         (fchownat): Do not use CHECK_STRING.
20076         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20077         CHECK_STRING.
20078         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20079         <bp-checks.h>.
20080         (__lchown): Do not use CHECK_STRING.
20081         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20082         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20083         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20084         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20086         include <bp-checks.h>.
20087         (truncate64): Do not use CHECK_STRING.
20088         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20089         <bp-checks.h>.
20090         (__real_chown): Do not use CHECK_STRING.
20091         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20092         <bp-checks.h>.
20093         (__lchown): Do not use CHECK_STRING.
20094         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20095         <bp-checks.h>.
20096         (__chown): Do not use CHECK_STRING.
20097         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20098         <bp-checks.h>.
20099         (truncate64): Do not use CHECK_STRING.
20100         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20101         Likewise.
20102         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20103         (__xmknod): Do not use CHECK_STRING.
20104         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20105         <bp-checks.h>.
20106         (__xmknodat): Do not use CHECK_STRING.
20107         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20108         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20110 2013-02-04  Andreas Schwab  <schwab@suse.de>
20112         [BZ #14142]
20113         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20114         * include/netdb.h: Likewise for h_errno.
20115         * elf/tst-stackguard1.c: Include <tls.h>.
20117 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20119         * elf/link.h (struct link_map): Extend the l_addr comment.
20120         * include/link.h (struct link_map): Likewise.
20122 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20124         [BZ #13550]
20125         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20126         (BOUNDED_1): Remove macro.
20127         * debug/backtrace.c: Don't include <bp-checks.h>.
20128         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20129         (__backtrace): Likewise.
20130         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20131         <bp-checks.h>.
20132         (__backtrace): Don't use BOUNDED_1.
20133         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20134         <bp-checks.h>.
20135         (__backtrace): Don't use BOUNDED_1.
20136         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20137         (__backtrace): Don't use BOUNDED_1.
20138         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20139         (shmat): Don't use BOUNDED_N.
20141 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20143         [BZ #13550]
20144         * sysdeps/generic/bp-start.h: Remove file.
20145         * csu/libc-start.c: Don't include <bp-start.h>.
20146         (LIBC_START_MAIN): Set up __environ directly instead of using
20147         INIT_ARGV_and_ENVIRON.
20148         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20149         <bp-start.h>.
20151         [BZ #13550]
20152         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20153         definitions.
20154         (CHECK_FCNTL): Likewise.
20155         (CHECK_N_PAGES): Likewise.
20157         [BZ #13550]
20158         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20159         definitions.
20160         (CHECK_SIGSET_NULL_OK): Likewise.
20161         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20162         <bp-checks.h>.
20163         (sigpending): Don't use CHECK_SIGSET.
20164         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20165         <bp-checks.h>.
20166         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20167         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20168         <bp-checks.h>.
20169         (do_sigsuspend): Don't use CHECK_SIGSET.
20170         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20171         use CHECK_SIGSET.
20172         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20173         (do_sigwait): Don't use CHECK_SIGSET.
20174         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20175         use CHECK_SIGSET.
20176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20177         include <bp-checks.h>.
20178         (sigpending): Don't use CHECK_SIGSET.
20179         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20180         include <bp-checks.h>.
20181         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20182         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20183         <bp-checks.h>.
20184         (sigpending): Don't use CHECK_SIGSET.
20185         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20186         <bp-checks.h>.
20187         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20189         [BZ #13550]
20190         * sysdeps/generic/bp-semctl.h: Remove file.
20191         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20192         <bp-checks.h> and <bp-semctl.h>.
20193         (__old_semctl): Don't use CHECK_SEMCTL.
20194         (__new_semctl): Likewise.
20195         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20196         and <bp-semctl.h>.
20197         (__old_semctl): Don't use CHECK_SEMCTL.
20198         (__new_semctl): Likewise.
20199         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20200         <bp-checks.h> and <bp-semctl.h>.
20201         (__old_semctl): Don't use CHECK_SEMCTL.
20202         (__new_semctl): Likewise.
20203         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20204         <bp-checks.h> and <bp-semctl.h>.
20205         (semctl): Don't use CHECK_SEMCTL.
20207         [BZ #13550]
20208         * Makerules (elide-bp-thunks): Remove variable.
20209         (elide-routines.oS): Don't use $(elide-bp-thunks).
20210         (elide-routines.os): Likewise.
20211         (elide-routines.o): Likewise.
20212         (elide-routines.op): Likewise.
20213         (elide-routines.og): Likewise.
20214         (objects): Don't use $(bp-thunks).
20215         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20216         include.
20217         (common-generated): Do not add s-proto-bp.d.
20218         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20219         (int): Likewise.
20220         (typ): Likewise.
20221         Do not generate makefile rules for bounded-pointer thunks.
20222         * sysdeps/generic/bp-thunks.h: Remove file.
20223         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20224         * sysdeps/unix/s-proto-bp.S: Likewise.
20226         [BZ #15062]
20227         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20228         parts of result separately when argument is not close to line from
20229         -i to i and one part of argument is small.
20230         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20231         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20232         * math/libm-test.inc (cacos_test): Add more tests.
20233         (casin_test): Likewise.
20234         (casinh_test): Likewise.
20235         * sysdeps/i386/fpu/libm-test-ulps: Update.
20236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20238 2013-01-31  David S. Miller  <davem@davemloft.net>
20240         * po/de.po: Update from translation team.
20242 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20244         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20246 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20248         * configure.in (_AC_PROG_CC_C89): New definition.
20249         * configure: Regenerate.
20251         * configure.in (AC_PROG_CPP): New definition.
20252         * configure: Regenerate.
20254 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20256         * debug/tst-backtrace.h: New file.
20257         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20258         (ret): Remove variable.
20259         (x): Likewise.
20260         (FAIL): Remove macro.
20261         (NO_INLINE): Likewise.
20262         (fn1): Use match function instead of strstr.
20263         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20264         (ret): Remove variable.
20265         (x): Likewise.
20266         (FAIL): Remove macro.
20267         (NO_INLINE): Likewise.
20268         (fn): Use match function instead of strstr.
20269         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20270         (ret): Remove variable.
20271         (x): Likewise.
20272         (FAIL): Remove macro.
20273         (NO_INLINE): Likewise.
20274         (handle_signal): Use match function instead of strstr.
20275         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20276         (ret): Remove variable.
20277         (x): Likewise.
20278         (FAIL): Remove macro.
20279         (NO_INLINE): Likewise.
20280         (handle_signal): Use match function instead of strstr.
20282 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20284         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20286 2013-01-23  David S. Miller  <davem@davemloft.net>
20288         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20289         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20290         argument of CAS if possible.
20291         * sysdeps/sparc/sparc64/bits/atomic.h
20292         (__arch_compare_and_exchange_val_32_acq): Likewise.
20293         (__arch_compare_and_exchange_val_64_acq): Likewise.
20295 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20297         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20298         * sysdeps/posix/ulimit.c: ... this.
20299         Include <limits.h>.
20300         * sysdeps/unix/bsd/ulimit.c: Remove file.
20302 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20304         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20305         (LDFLAGS-tst-array5): Likewise.
20307 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20309         [BZ #15036]
20310         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20311         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20312         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20313         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20315 2013-01-21  David S. Miller  <davem@davemloft.net>
20317         * sysdeps/sparc/backtrace.c: New file.
20318         * sysdeps/sparc/sparc32/backtrace.h: New file.
20319         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20320         * sysdeps/sparc/sparc64/backtrace.h: New file.
20321         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20322         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20323         -funwind-tables.
20325 2013-01-21  Andreas Schwab  <schwab@suse.de>
20327         [BZ #15020]
20328         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20329         closed its stdout.
20331 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20334         "mpa2.h".
20335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20337 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20338             Mark Mitchell  <mark@codesourcery.com>
20339             Tom de Vries  <tom@codesourcery.com>
20340             Paul Pluzhnikov  <ppluzhnikov@google.com>
20342         * debug/tst-backtrace2.c: New file.
20343         * debug/tst-backtrace3.c: Likewise.
20344         * debug/tst-backtrace4.c: Likewise.
20345         * debug/tst-backtrace5.c: Likewise.
20346         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20347         (CFLAGS-tst-backtrace3.c): Likewise.
20348         (CFLAGS-tst-backtrace4.c): Likewise.
20349         (CFLAGS-tst-backtrace5.c): Likewise.
20350         (LDFLAGS-tst-backtrace2): Likewise.
20351         (LDFLAGS-tst-backtrace3): Likewise.
20352         (LDFLAGS-tst-backtrace4): Likewise.
20353         (LDFLAGS-tst-backtrace5): Likewise.
20354         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20355         tst-backtrace4 and tst-backtrace5.
20357 2013-01-18  Anton Blanchard  <anton@samba.org>
20358             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20360         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20361         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20362         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20363         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20365         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20366         "+r" and remove output regs list as redundant.  Add explicit inline
20367         asm to specify register of return val to work around compiler codegen
20368         bug.  Remove (int) cast on return value.  Add return type parameter to
20369         use in macro so that this macro does not truncate return value for
20370         64-bit values.
20371         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20372         pass to INTERNAL_VSYSCALL_NCS.
20373         (INLINE_VSYSCALL): Add 'long int' as return type to
20374         INTERNAL_VSYSCALL_NCS macro invocation.
20375         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20376         INTERNAL_VSYSCALL_NCS macro invocation.
20377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20379 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20381         [BZ #14496]
20382         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20383         Fix application of SIMD FP exception mask.
20385         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20386         mp_no from a power of two.
20387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20388         __mpexp_twomm1.  Use __pow_mp.
20390         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20391         multiplication.
20393 2013-01-17  David S. Miller  <davem@davemloft.net>
20395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20397 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20399         [BZ #15023]
20400         * include/complex.h: Condition contents on [!_COMPLEX_H].
20401         (__kernel_casinhf): New prototype.
20402         (__kernel_casinh): Likewise.
20403         (__kernel_casinhl): Likewise.
20404         * math/Makefile (libm_calls): Add k_casinh.
20405         * math/k_casinh.c: New file.
20406         * math/k_casinhf.c: Likewise.
20407         * math/k_casinhl.c: Likewise.
20408         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20409         finite nonzero arguments.
20410         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20411         finite nonzero arguments.
20412         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20413         finite nonzero arguments.
20414         * math/s_casinh.c: Do not include <float.h>.
20415         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20416         * math/s_casinhf.c: Do not include <float.h>.
20417         (__casinhf): Move code for finite nonzero arguments to
20418         k_casinhf.c.
20419         * math/s_casinhl.c: Do not include <float.h>.
20420         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20421         redefine.
20422         (__casinhl): Move code for finite nonzero arguments to
20423         k_casinhl.c.
20424         * math/libm-test.inc (cacos_test): Add more tests.
20425         * sysdeps/i386/fpu/libm-test-ulps: Update.
20426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20428 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20430         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20431         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20432         [!HAVE_MREMAP]: Remove [defined linux] case.
20433         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20435 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20437         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20439 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20441         * elf/elf.h (R_386_SIZE32): New relocation.
20442         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20443         R_386_SIZE32.
20444         (elf_machine_rela): Likewise.
20445         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20446         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20448 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20450         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20451         (FP_FAST_FMA): Do not define.
20452         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20453         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20454         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20455         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20456         !_SOFT_FLOAT]: Likewise.
20457         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20458         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20459         value.
20460         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20461         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20462         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20463         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20464         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20465         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20466         file.
20468 2013-01-16  Andreas Schwab  <schwab@suse.de>
20470         [BZ #14327]
20471         * include/stdlib.h (__mktemp): Add declaration.
20472         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20473         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20475 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20477         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20478         definitions.
20479         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20480         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20481         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20482         definitions here.
20483         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20484         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20485         definitions.
20486         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20487         and ONE.
20488         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20489         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20490         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20491         definitions.
20492         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20493         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20494         definitions.
20495         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20497         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20499 2013-01-15  David S. Miller  <davem@davemloft.net>
20501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20502         trunc{,f} to libm-sysdep_routes.
20503         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20505         file.
20506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20508         file.
20509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20510         file.
20511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20513         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20514         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20515         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20516         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20517         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20518         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20521         nearbyint{,f} to libm-sysdep_routes.
20522         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20524         New file.
20525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20526         file.
20527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20528         New file.
20529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20530         file.
20531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20533         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20534         file.
20535         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20536         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20537         file.
20538         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20539         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20540         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20542         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20543         libc_feholdexcept and libc_fesetenv.
20545 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20547         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20549 2013-01-14  David S. Miller  <davem@davemloft.net>
20551         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20552         (SPARC_ASM_VIS2_IFUNC): Likewise.
20553         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20555         use of 'siam' instruction.
20556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20557         Likewise.
20558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20559         Likewise.
20560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20561         Likewise.
20562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20567         file.
20568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20569         file.
20570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20571         file.
20572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20573         file.
20574         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20576         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20577         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20579         new VIS2 routines.
20580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20583         Likewise.
20584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20586         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20589         routines to libm-sysdep_routines.
20590         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20593         fdim/fdimf to libm-sysdep_routines.
20594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20595         file.
20596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20598         file.
20599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20602         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20603         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20604         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20605         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20607 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20609         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20610         to optimize copies.
20612         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20617         local variable MPTWO.
20618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20619         Likewise.
20621 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20623         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20624         GLOB_NOESCAPE.
20626 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20628         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20630 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20632         * manual/pattern.texi (glob_t): Document gl_flags.
20633         (glob64_t): Likewise.
20635 2013-01-11  David S. Miller  <davem@davemloft.net>
20637         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20638         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20639         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20640         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20641         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20642         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20643         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20644         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20645         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20646         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20647         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20648         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20649         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20651         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20652         sparc V9 rather than using V8 code.
20653         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20654         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20656         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20657         Move to...
20658         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20659         Here.
20661 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20663         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20664         not in the main loop.
20665         * configure: Regenerated.
20667 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20669         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20670         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20671         to just #else.
20672         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20673         [!__GLIBC_HAVE_LONG_LONG] case.
20674         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20675         condition to just #else.
20676         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20677         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20678         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20679         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20680         unconditional.
20681         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20682         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20683         #elif condition to just #else.
20684         * sysdeps/unix/sysv/linux/sys/sysmacros.h
20685         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20686         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20687         #elif condition to just #else.
20689 2013-01-11  Steve Ellcey  <sellcey@mips.com>
20691         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20692         (EF_MIPS_ARCH_64): Fix value.
20693         (EF_MIPS_ARCH_32R2): New.
20694         (EF_MIPS_ARCH_64R2): New.
20696 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
20698         * Makeconfig (+link-pie-before-libc): New.
20699         (+link-pie-after-libc): Likewise.
20700         (+link-pie-tests): Likewise.
20701         (+link-pie): Rewritten.
20702         (link-before-libc): Remove $(config-LDFLAGS).
20703         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20704         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20705         (config-LDFLAGS): Renamed to ...
20706         (rtld-LDFLAGS): This.
20707         (rtld-tests-LDFLAGS): New macro.
20708         (link-libc-rpath-link): Likewise.
20709         (link-libc-tests-rpath-link): Likewise.
20710         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20711         (link-libc): Prepand $(link-libc-rpath-link).
20712         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20713         (test-program-prefix): New macro.
20714         (test-via-rtld-prefix): Likewise.
20715         (test-program-cmd): Likewise.
20716         (host-test-program-cmd): Likewise.
20717         * Makefile ($(common-objpfx)testrun.sh): Replace
20718         $(run-program-prefix) with $(test-program-prefix).
20719         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20720         $(rtld-LDFLAGS).
20721         ($(common-objpfx)shlib.lds): Likewise.
20722         (build-module-helper): Likewise.
20723         ($(common-objpfx)format.lds): Likewise.
20724         * Rules (binaries-pie-tests): New.
20725         (binaries-pie-notests): Likewise.
20726         (binaries-pie): Rewritten.
20727         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20728         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20729         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20730         (make-test-out): Replace $(host-built-program-cmd) with
20731         $(host-test-program-cmd).
20732         * config.make.in (build-hardcoded-path-in-tests): New variable.
20733         * configure.in (--enable-hardcoded-path-in-tests): New configure
20734         option.
20735         (hardcoded_path_in_tests): New AC_SUBST.
20736         * configure: Regenerated.
20737         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20738         $(built-program-cmd) with $(test-program-cmd).
20739         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20740         (test_program_cmd): This.
20741         * elf/Makefile ($(objpfx)order.out): Run test with
20742         $(test-program-prefix).
20743         ($(objpfx)order2.out): Likewise.
20744         ($(objpfx)tst-initorder.out): Likewise.
20745         ($(objpfx)tst-initorder2.out): Likewise.
20746         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20747         $(test-program-cmd).
20748         ($(objpfx)tst-array1-static.out): Likewise.
20749         ($(objpfx)tst-array2.out): Likewise.
20750         ($(objpfx)tst-array3.out): Likewise.
20751         ($(objpfx)tst-array4.out): Likewise.
20752         ($(objpfx)tst-array5.out): Likewise.
20753         ($(objpfx)tst-array5-static.out): Likewise.
20754         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20755         $(test-program-cmd).
20756         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20757         $(run-program-prefix) with $(test-program-prefix).
20758         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20759         (test_program_prefix): This.
20760         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20761         $(run-program-prefix) with $(test-program-prefix).
20762         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20763         (test_program_prefix): This.
20764         * iconvdata/tst-tables.sh: Likewise.
20765         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20766         $(run-program-prefix) with $(test-program-prefix).
20767         ($(objpfx)tst-translit.out): Likewise.
20768         ($(objpfx)tst-gettext2.out): Likewise.
20769         ($(objpfx)tst-gettext4.out): Likewise.
20770         ($(objpfx)tst-gettext6.out): Likewise.
20771         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20772         (test_program_prefix): This.
20773         * intl/tst-gettext2.sh: Likewise.
20774         * intl/tst-gettext4.sh  Likewise.
20775         * intl/tst-gettext6.sh: Likewise.
20776         * intl/tst-translit.sh: Likewise.
20777         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20778         with $(test-program-cmd).
20779         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20780         $(run-program-prefix) with $(test-program-prefix).
20781         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20782         (test_program_prefix): This.
20783         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20784         $(run-program-prefix) with $(test-program-prefix).
20785         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20786         (test_program_prefix): This.
20787         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20788         * posix/Makefile ($(objpfx)globtest.out): Replace
20789         $(run-via-rtld-prefix) and $(test-wrapper) with
20790         $(test-program-prefix) and $(test-via-rtld-prefix).
20791         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20792         $(test-program-prefix).
20793         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20794         $(host-test-program-cmd).
20795         (tst-spawn-ARGS): Likewise.
20796         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20797         $(test-program-prefix).
20798         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20799         (test_via_rtld_prefix): This.
20800         (test_wrapper): Renamed to ...
20801         (test_program_prefix): This.
20802         (run_program_prefix): Replaced by test_program_prefix.
20803         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20804         (test_program_prefix): This.
20805         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20806         with $(host-test-program-cmd).
20807         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20808         $(run-program-prefix) with $(test-program-prefix).
20809         ($(objpfx)tst-printf.out): Likewise.
20810         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20811         $(test-program-cmd).
20812         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20813         (test_program_prefix): This.
20814         * stdio-common/tst-unbputc.sh: Likewise.
20815         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20816         $(run-program-prefix) with $(test-program-prefix).
20817         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20818         (test_program_prefix): This.
20819         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20820         $(built-program-cmd) with $(test-program-cmd).
20822 2013-01-11  Andreas Jaeger  <aj@suse.de>
20824         [BZ #15003]
20825         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20826         value. Sync with Linux 3.7.
20828 2013-01-10  David S. Miller  <davem@davemloft.net>
20830         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20831         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20832         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20834 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20836         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20837         never set.
20838         * configure: Regenerated.
20840 2013-01-10  David S. Miller  <davem@davemloft.net>
20842         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20843         sparc V9 rather than using V8 code.
20844         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20845         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20847 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20849         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20850         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20851         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20852         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20853         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20854         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20855         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20856         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20857         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20858         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20859         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20860         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20861         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20862         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20863         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20864         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20865         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20866         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20867         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20868         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20869         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20870         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20871         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20872         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20873         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20874         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20875         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20877 2013-01-10  David S. Miller  <davem@davemloft.net>
20879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20881 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20883         * posix/Makefile (tests-static): New variable.
20884         (tests): Add $(tests-static).
20885         (tst-exec-static-ARGS): New variable.
20886         (tst-spawn-static-ARGS): Likewise.
20887         * posix/tst-exec-static.c: New file.
20888         * posix/tst-spawn-static.c: Likewise.
20889         * posix/tst-exec.c: Support run directly.
20890         * posix/tst-spawn.c: Likewise.
20892 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20894         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20895         long.
20896         * math/bits/mathcalls.h (llrint): Likewise.
20897         (llround): Likewise.
20898         * stdlib/stdlib.h (struct drand48_data): Likewise.
20899         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20900         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20901         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20902         Likewise.
20903         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20904         Likewise.
20905         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20906         (elf_greg_t): Likewise.
20907         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20908         (__jmp_buf): Likewise.
20909         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20910         definitions.
20911         (llrint): Likewise, for all definitions.
20912         (llrintl): Likewise.
20914         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20915         Remove [__GNUC__] condition.
20916         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20917         condition to just [__USE_ISOC99].
20918         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20920 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20922         [BZ #14200]
20923         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20924         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20925         defined.
20926         (_POSIX_V6_ILP32_OFF32): Likewise.
20927         (_XBS5_ILP32_OFF32): Likewise.
20928         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20929         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20931 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20933         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20936         doubles __mpexp_twomm1.  Adjust usage.
20937         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20938         Remove.
20940 2013-01-10  Andreas Schwab  <schwab@suse.de>
20942         [BZ #14964]
20943         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20944         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20946 2013-01-09  David S. Miller  <davem@davemloft.net>
20948         [BZ #15003]
20949         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20950         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20951         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20952         (TCP_FASTOPEN): Define.
20953         (tcp_repair_opt): New structure.
20954         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20955         enum values.
20956         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20957         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20958         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20959         (tcp_cookie_transactions): New structure.
20961 2013-01-09  Anton Blanchard  <anton@samba.org>
20963         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20964         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20965         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20966         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20968 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20970         * include/features.h (__USE_ANSI): Remove.
20972 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20974         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20976         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20978 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20980         * sysdeps/s390/fpu/libm-test-ulps: Update.
20982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20984         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20985         (__acr): Likewise.
20986         (__cpy): Likewise.
20987         (norm): Likewise.
20988         (denorm): Likewise.
20989         (__mp_dbl): Likewise.
20990         (__dbl_mp): Likewise.
20991         (add_magnitudes): Likewise.
20992         (sub_magnitudes): Likewise.
20993         (__add): Likewise.
20994         (__sub): Likewise.
20995         (__mul): Likewise.
20996         (__inv): Likewise.
20997         (__dvd): Likewise.
20998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20999         (__acr): Likewise.
21000         (__cpy): Likewise.
21001         (norm): Likewise.
21002         (denorm): Likewise.
21003         (__mp_dbl): Likewise.
21004         (__dbl_mp): Likewise.
21005         (add_magnitudes): Likewise.
21006         (sub_magnitudes): Likewise.
21007         (__add): Likewise.
21008         (__sub): Likewise.
21009         (__mul): Likewise.
21010         (__inv): Likewise.
21011         (__dvd): Likewise.
21012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21013         (__acr): Likewise.
21014         (__cpy): Likewise.
21015         (norm): Likewise.
21016         (denorm): Likewise.
21017         (__mp_dbl): Likewise.
21018         (__dbl_mp): Likewise.
21019         (add_magnitudes): Likewise.
21020         (sub_magnitudes): Likewise.
21021         (__add): Likewise.
21022         (__sub): Likewise.
21023         (__mul): Likewise.
21024         (__inv): Likewise.
21025         (__dvd): Likewise.
21027 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21029         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21030         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21031         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21032         2 && __USE_EXTERN_INLINES]: Likewise.
21034 2013-01-08  Andreas Jaeger  <aj@suse.de>
21036         [BZ# 14985]
21037         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21038         Remove.
21039         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21040         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21042 2013-01-07  Anton Blanchard  <anton@samba.org>
21044         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21045         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21046         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21047         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21048         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21049         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21050         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21051         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21052         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21053         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21054         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21055         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21056         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21057         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21058         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21059         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21060         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21061         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21062         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21063         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21064         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21065         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21066         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21067         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21068         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21069         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21070         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21071         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21072         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21073         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21074         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21075         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21076         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21077         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21078         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21079         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21080         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21081         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21082         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21083         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21084         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21085         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21086         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21088 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21090         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21091         (__MALLOC_PMT): Likewise.
21092         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21093         [__GNUC__], only on [_LIBC].
21094         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21095         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21096         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21097         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21098         forward declaration.
21099         (realloc_hook_ini): Likewise.
21100         (memalign_hook_ini): Likewise.
21101         (__libc_memalign): Do not use __MALLOC_PMT in variable
21102         declaration.
21103         (__libc_valloc): Likewise.
21104         (__libc_pvalloc): Likewise.
21105         (__libc_calloc): Likewise.
21106         (__posix_memalign): Likewise.
21108         [BZ #14996]
21109         * math/s_casinh.c: Include <float.h>.
21110         (__casinh): Do not do computation with squaring and square root
21111         for large arguments.
21112         * math/s_casinhf.c: Include <float.h>.
21113         (__casinhf): Do not do computation with squaring and square root
21114         for large arguments.
21115         * math/s_casinhl.c: Include <float.h>.
21116         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21117         (__casinhl): Do not do computation with squaring and square root
21118         for large arguments.
21119         * math/libm-test.inc (casin_test): Add more tests.
21120         (casinh_test): Likewise.
21121         * sysdeps/i386/fpu/libm-test-ulps: Update.
21122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21124 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21126         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21127         (__x86_64_raw_data_cache_size): Likewise.
21128         (__x86_64_data_cache_size_half): Likewise.
21129         (__x86_64_raw_data_cache_size_half): Likewise.
21130         (__x86_64_shared_cache_size): Likewise.
21131         (__x86_64_raw_shared_cache_size): Likewise.
21132         (__x86_64_shared_cache_size_half): Likewise.
21133         (__x86_64_raw_shared_cache_size_half): Likewise.
21134         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21135         to ...
21136         (__x86_data_cache_size): This.
21137         (__x86_64_raw_data_cache_size): Renamed to ...
21138         (__x86_raw_data_cache_size): This.
21139         (__x86_64_data_cache_size_half): Renamed to ...
21140         (__x86_data_cache_size_half): This.
21141         (__x86_64_raw_data_cache_size_half): Renamed to ...
21142         (__x86_raw_data_cache_size_half): This.
21143         (__x86_64_shared_cache_size): Renamed to ...
21144         (__x86_shared_cache_size): This.
21145         (__x86_64_raw_shared_cache_size): Renamed to ...
21146         (__x86_raw_shared_cache_size): This.
21147         (__x86_64_shared_cache_size_half): Renamed to ...
21148         (__x86_shared_cache_size_half): This.
21149         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21150         (__x86_raw_shared_cache_size_half): This.
21151         * sysdeps/x86_64/memcpy.S: Updated.
21152         * sysdeps/x86_64/memset.S: Likewise.
21153         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21154         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21155         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21157 2013-01-04  David S. Miller  <davem@davemloft.net>
21159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21161 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21163         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21164         1 to avoid redefinition warning.
21165         (__USE_GNU): Don't define.
21166         (init_signaling_nan): Protoize.
21168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21170 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21172         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21174         (__cpymn): Likewise.
21175         (norm): Remove commented code.
21176         (denorm): Likewise.
21177         (__mp_dbl): Likewise.
21178         (__inv): Likewise.
21179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21180         (__cpymn): Likewise.
21181         (norm): Remove commented code.
21182         (denorm): Likewise.
21183         (__mp_dbl): Likewise.
21184         (__inv): Likewise.
21186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21187         mp_no value for 1.0 and 2.0.
21188         (norm): Use RADIXI instead of radixi.d.
21189         (denorm): Likewise.
21190         (__mul): Use 0.0 instead of zero.d.
21191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21192         mp_no value for 1.0 and 2.0.
21193         (norm): Use RADIXI instead of radixi.d.
21194         (denorm): Likewise.
21195         (__mul): Use 0.0 instead of zero.d.
21197 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21199         [BZ #14994]
21200         * math/s_casinh.c (__casinh): Reduce finite argument to first
21201         quadrant then set signs of results at the end.
21202         * math/s_casinhf.c (__casinhf): Likewise.
21203         * math/s_casinhl.c (__casinhl): Likewise.
21204         * math/libm-test.inc (casin_test): Add more tests.
21205         (casinh_test): Likewise.
21206         * sysdeps/i386/fpu/libm-test-ulps: Update.
21207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21209 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21213         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21215         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21216         declarations.
21217         (denorm): Likewise.
21218         (__mp_dbl): Likewise.
21219         (__inv): Likewise.
21221         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21222         and adjust the header comment.
21224         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21225         variable name from declaration.
21227 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21229         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21230         Initialize COMMON_CPUID_INDEX_7 element.
21231         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21232         (CPUID_RTM): Likewise.
21233         (HAS_RTM): Likewise.
21234         (COMMON_CPUID_INDEX_7): New enum.
21236 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21238         [BZ #14981]
21239         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21240         size is zero, record memory as freed.
21242 2013-01-03  Andreas Jaeger  <aj@suse.de>
21244         * po/ia.po: Add new Interlingua translation.
21246 2012-01-03  Allan McRae  <allan@archlinux.org>
21248         * locale/programs/localedef.c: Fix description of '--posix' flag.
21250 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21252         * NEWS: Update dates in second copyright notice.
21253         * README: Update copyright dates in example.
21254         * manual/libc.texinfo: Update copyright dates.
21255         * scripts/test-installation.pl: Update copyright date in --version
21256         output.
21258         * hurd/ctty-input.c: Fix copyright notice formatting.
21259         * hurd/ctty-output.c: Likewise.
21260         * hurd/dtable.c: Likewise.
21261         * hurd/hurd-raise.c: Likewise.
21262         * hurd/hurdprio.c: Likewise.
21263         * hurd/msgportdemux.c: Likewise.
21264         * misc/sys/file.h: Likewise.
21265         * misc/sys/ioctl.h: Likewise.
21266         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21267         * sysdeps/mach/hurd/chdir.c: Likewise.
21268         * sysdeps/mach/hurd/fchdir.c: Likewise.
21269         * sysdeps/mach/hurd/rename.c: Likewise.
21270         * sysdeps/mach/hurd/rmdir.c: Likewise.
21271         * sysdeps/mach/hurd/seekdir.c: Likewise.
21272         * sysdeps/mach/hurd/setsid.c: Likewise.
21273         * sysdeps/posix/wait3.c: Likewise.
21275         * All files with FSF copyright notices: Update copyright dates
21276         using scripts/update-copyrights.
21277         * intl/plural.c: Regenerated.
21278         * locale/programs/charmap-kw.h: Likewise.
21279         * locale/programs/locfile-kw.h: Likewise.
21281 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21283         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21284         four values.
21286         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21287         calculation loop and add branch prediction.
21289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21290         check access beyond bounds of m1np.
21292         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21293         MPTWO.
21294         (__inv): Remove local variable MPTWO to use the global
21295         constant.
21296         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21297         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21298         variable MPTWO.
21299         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21300         MP3HALFS static const.
21302 2013-01-01  David S. Miller  <davem@davemloft.net>
21304         * po/ca.po: Update from translation team.
21306 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21308         * scripts/update-copyrights: New file.
21309         * Makeconfig: Reformat copyright notice.
21310         * ctype/ctype.h: Likewise.
21311         * debug/swprintf_chk.c: Likewise.
21312         * elf/dl-cache.c: Likewise.
21313         * elf/dl-debug.c: Likewise.
21314         * elf/dl-object.c: Likewise.
21315         * grp/initgroups.c: Likewise.
21316         * hurd/Makefile: Likewise.
21317         * hurd/hurd/signal.h: Likewise.
21318         * hurd/hurdfault.c: Likewise.
21319         * hurd/hurdioctl.c: Likewise.
21320         * hurd/hurdlookup.c: Likewise.
21321         * hurd/intr-msg.c: Likewise.
21322         * iconv/gconv_open.c: Likewise.
21323         * libio/swprintf.c: Likewise.
21324         * locale/lc-ctype.c: Likewise.
21325         * locale/nl_langinfo.c: Likewise.
21326         * mach/Machrules: Likewise.
21327         * mach/Makefile: Likewise.
21328         * malloc/obstack.h: Likewise.
21329         * manual/Makefile: Likewise.
21330         * manual/tsort.awk: Likewise.
21331         * misc/bits/stab.def: Likewise.
21332         * nis/nis_print_group_entry.c: Likewise.
21333         * nis/nis_table.c: Likewise.
21334         * nis/nss_compat/compat-pwd.c: Likewise.
21335         * nis/nss_compat/compat-spwd.c: Likewise.
21336         * po/Makefile: Likewise.
21337         * posix/fnmatch.c: Likewise.
21338         * posix/regex.h: Likewise.
21339         * resolv/Makefile: Likewise.
21340         * resolv/nss_dns/dns-network.c: Likewise.
21341         * resolv/res_hconf.c: Likewise.
21342         * scripts/gen-sorted.awk: Likewise.
21343         * soft-fp/soft-fp.h: Likewise.
21344         * stdio-common/printf.h: Likewise.
21345         * stdlib/monetary.h: Likewise.
21346         * stdlib/random.c: Likewise.
21347         * stdlib/random_r.c: Likewise.
21348         * sysdeps/generic/Makefile: Likewise.
21349         * sysdeps/gnu/Makefile: Likewise.
21350         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21351         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21352         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21353         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21354         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21355         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21356         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21357         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21358         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21360         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21361         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21362         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21363         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21364         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21365         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21366         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21367         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21368         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21369         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21370         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21371         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21372         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21373         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21374         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21375         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21376         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21377         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21378         * sysdeps/mach/hurd/errnos.awk: Likewise.
21379         * sysdeps/mach/hurd/fork.c: Likewise.
21380         * sysdeps/mach/hurd/getcwd.c: Likewise.
21381         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21382         * sysdeps/mach/hurd/mmap.c: Likewise.
21383         * sysdeps/mach/hurd/utimes.c: Likewise.
21384         * sysdeps/mach/hurd/xmknod.c: Likewise.
21385         * sysdeps/posix/profil.c: Likewise.
21386         * sysdeps/posix/readdir_r.c: Likewise.
21387         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21388         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21389         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21390         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21392         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21393         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21394         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21396         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21397         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21398         * sysdeps/pthread/lio_listio.c: Likewise.
21399         * sysdeps/sparc/dl-procinfo.h: Likewise.
21400         * sysdeps/unix/i386/sysdep.S: Likewise.
21401         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21402         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21403         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21404         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21406         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21407         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21408         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21409         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21410         * sysdeps/wordsize-32/divdi3.c: Likewise.
21411         * time/sys/time.h: Likewise.
21412         * wcsmbs/Makefile: Likewise.
21414 2013-01-01  David S. Miller  <davem@davemloft.net>
21416         * po/fr.po: Update from translation team.
21418         * catgets/gencat.c: Update copyright year.
21419         * csu/version.c: Likewise.
21420         * debug/catchsegv.sh: Likewise.
21421         * debug/pcprofiledump.c: Likewise.
21422         * debug/xtrace.sh: Likewise.
21423         * elf/ldconfig.c: Likewise.
21424         * elf/ldd.bash.in: Likewise.
21425         * elf/pldd.c: Likewise.
21426         * elf/sotruss.ksh: Likewise.
21427         * elf/sprof.c: Likewise.
21428         * iconv/iconv_prog.c: Likewise.
21429         * iconv/iconvconfig.c: Likewise.
21430         * locale/programs/locale.c: Likewise.
21431         * locale/programs/localedef.c: Likewise.
21432         * login/programs/pt_chown.c: Likewise.
21433         * malloc/memusage.sh: Likewise.
21434         * malloc/memusagestat.c: Likewise.
21435         * malloc/mtrace.pl: Likewise.
21436         * nscd/nscd.c: Likewise.
21437         * nss/getent.c: Likewise.
21438         * nss/makedb.c: Likewise.
21439         * posix/getconf.c: Likewise.
21441 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21443         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21444         numbers.
21446 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21448         * math/bits/mathcalls.h (modf): Use __nonnull.
21450 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21452         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21453         (split): Use macro CN instead of the bare value.
21454         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21455         could be used.
21456         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21457         instead of the bare value.
21458         (power1): Likewise.
21460 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21462         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21463         __ATAN_TWOM.
21464         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21466         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21467         their values.
21468         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21469         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21470         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21471         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21473 2012-12-28  Andreas Jaeger  <aj@suse.de>
21475         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21476         values are from Linux 3.7.
21478         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21479         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21481 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21483         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21484         TRUE case.
21486         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21487         (norm): Likewise.
21488         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21489         variables with preprocessor constants.
21490         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21491         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21492         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21494 2012-12-27  Bruno Haible  <bruno@clisp.org>
21496         [BZ #14317]
21497         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21498         only if needed.
21500 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21502         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21503         and use variable directly.
21504         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21506         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21507         MPONE.
21508         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21509         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21510         variable MPONE.
21511         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21513         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21514         include directive.  Remove local variable MPONE.
21515         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21516         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21517         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21519 2012-12-25  David S. Miller  <davem@davemloft.net>
21521         * version.h (RELEASE): Set to "development".
21522         (VERSION): Set to "2.17.90".
21523         * NEWS: Add 2.18 section.
21525 2012-12-21  David S. Miller  <davem@davemloft.net>
21527         * po/hr.po: Update from translation team.
21529 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21531         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21533 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21535         * NEWS:  Mention new memcpy for MIPS.
21537 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21539         * manual/contrib.texi (Contributors): Spelling correction.
21541 2012-12-15  David S. Miller  <davem@davemloft.net>
21543         * po/ru.po: Update from translation team.
21545 2012-12-13  David S. Miller  <davem@davemloft.net>
21547         * NEWS: Mention IFUNC testsuite enhancements.
21549         * po/pl.po: Update from translation team.
21550         * po/bg.po: Likewise.
21552         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21553         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21555 2012-12-11  David S. Miller  <davem@davemloft.net>
21557         * po/sv.po: Update from translation team.
21559         * po/vi.po: Update from translation team.
21561         * po/cs.po: Update from translation team.
21563         * po/de.po: Update from translation team.
21564         * po/eo.po: Likewise.
21565         * po/nl.po: Likewise.
21567 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21569         [BZ #14246]
21570         * manual/argp.texi (Argp Helper Functions): Move node to follow
21571         Argp Parsing State.
21573         [BZ #14872]
21574         * manual/conf.texi (Limits on File System Capacity): Mention if
21575         terminating null is included in the max size.
21577 2012-12-10  Andreas Jaeger  <aj@suse.de>
21579         * po/cs.po: Update from translation team.
21581 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21583         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21584         void pointer and cast to uintptr_t.
21585         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21586         path.
21587         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21588         * sysdeps/s390/s390-64/memset.S: Likewise.
21590 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21592         [BZ #14833]
21593         * menual/message.texi (Message Translation): Fix typos.
21594         (Helper programs for gettext): Likewise.
21596 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21598         [BZ #14898]
21599         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21600         Change to -1.
21602 2012-12-07  David S. Miller  <davem@davemloft.net>
21604         * po/libc.pot: Update.
21606 2012-12-07  Richard Henderson  <rth@redhat.com>
21608         [BZ #10114]
21609         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21610         normal/normal case to before the switch.
21611         (_FP_DIV): Likewise.
21613 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21614             Mike Frysinger  <vapier@gentoo.org>
21616         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21617         check for __NR_fadvise64_64.
21619 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21621         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21622         0, not just to plain "0" as a statement.
21623         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21624         with cw.
21626 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21628         * NEWS: Use sourceware.org in Bugzilla URL.
21630 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21633         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21635         * stdio-common/tst-put-error.c (do_test): Add newline to the
21636         padded test to ensure flush.
21638 2012-12-05  Jeff Law  <law@redhat.com>
21640         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21642 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21644         * README: Don't refer to ports add-on as distributed separately.
21645         Mention AArch64 in list of systems supported in the ports add-on.
21647         * LICENSES: Add more non-FSF copyright and license notices.
21649         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21650         ((unused)).
21652         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21654         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21655         10000 as width of padded output.
21657 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21659         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21661         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21662         variable LX with __attribute__ ((unused)).
21663         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21664         Likewise.
21665         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21667         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21668         with __attribute__ ((unused)).
21670 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21672         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21674 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21676         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21677         (CFLAGS-nldbl-acos.c): New variable.
21678         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21679         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21680         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21681         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21682         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21683         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21684         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21685         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21686         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21687         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21688         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21689         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21690         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21691         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21692         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21693         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21694         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21695         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21696         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21697         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21698         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21699         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21700         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21701         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21702         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21703         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21704         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21705         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21706         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21707         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21708         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21709         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21710         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21711         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21712         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21713         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21714         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21715         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21716         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21717         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21718         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21719         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21720         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21721         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21722         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21723         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21724         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21725         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21726         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21727         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21728         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21729         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21730         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21731         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21732         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21733         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21734         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21735         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21736         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21737         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21738         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21739         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21740         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21741         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21742         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21743         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21744         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21745         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21746         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21747         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21748         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21749         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21750         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21751         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21752         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21753         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21754         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21755         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21756         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21757         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21758         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21759         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21760         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21761         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21762         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21763         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21764         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21765         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21766         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21767         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21768         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21769         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21770         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21771         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21772         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21773         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21774         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21777         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21779         [BZ #14914]
21780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21781         whole low double instead of just low 47 bits when splitting values
21782         into two parts.
21784 2012-12-03  Allan McRae  <allan@archlinux.org>
21786         * manual/stdio.texi (Predefined Printf Handlers): Remove
21787         @hsep and @vsep usage.
21789 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21791         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21792         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21794 2012-12-03  Jeff Law  <law@redhat.com>
21796         * time/sys/time.h (settimeofday): Do not mark TV argument
21797         as __nonnull.
21799 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21801         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21802         when currently writing and seek to current position when not.
21803         * libio/Makefile (tests): Remove bug-fclose1.
21804         * libio/bug-fclose1.c: Delete.
21806 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21808         * manual/arith.texi (feenableexcept): Fix typo.
21809         (fedisableexcept): Likewise.
21811 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21813         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21814         second, differently-typed declaration, rather than a cast.
21816 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21818         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21819         * include/rpc/svc.h: ... here.
21821 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21823         [BZ #13013]
21824         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21825         depending n and resplen2 to catch cases where answer
21826         equals answerp2.
21828 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21830         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21831         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21833 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21835         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21837 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21839         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21841 2012-11-28  Jeff Law  <law@redhat.com>
21843         [BZ #13761]
21844         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21845         dataset_temporary.  Track alloca usage into alloca_used.
21846         If dataset is large allocate and release it via malloc/free.
21848 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21850         [BZ #14197]
21851         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21853 2012-11-28  David S. Miller  <davem@davemloft.net>
21855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21857 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21859         [BZ #14803]
21860         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21861         of pi/2 rounded to nearest to 64 bits.
21862         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21863         nearest to 64 bits.
21864         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21865         bits.
21867 2012-11-28  Jeff Law <law@redhat.com>
21868             Martin Osvald <mosvald@redhat.com>
21870         [BZ #14889]
21871         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21872         * sunrpc/svc.c: Include time.h.
21873         (__svc_accept_failed): New function.
21874         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21875         any reason other than EINTR, call __svc_accept_failed.
21876         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21877         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21879 2012-11-28  Andreas Schwab  <schwab@suse.de>
21881         * scripts/abilist.awk: Also handle indirect functions in .opd
21882         section.
21884 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21886         [BZ #13881]
21887         * sysdeps/x86/fpu/powl_helper.c: New file.
21888         * sysdeps/x86/fpu/Makefile: Likewise.
21889         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21890         (p3): New object.
21891         (__ieee754_powl): Use __powl_helper for finite arguments except
21892         integer exponents below 8.
21893         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21894         (p3): New object.
21895         (__ieee754_powl): Use __powl_helper for finite arguments except
21896         integer exponents below 8.
21897         * math/libm-test.inc (pow_test): Add more tests and enable some
21898         previously disabled tests.
21899         * sysdeps/i386/fpu/libm-test-ulps: Update.
21900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21902 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21903             Carlos O'Donell  <carlos_odonell@mentor.com>
21905         * nss/makedb.c (is_prime): Assert that input is odd and greater
21906         than 4.  Note that fact in a comment too.
21907         (next_prime): Add 4 to input.
21909 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21911         [BZ #11741]
21912         * libio/Makefile (tests): Add test case tst-fwrite-error.
21913         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21914         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21915         * libio/tst-fwrite-error.c: New test case.
21917 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21919         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21920         before casting to void *.
21921         * include/libc-internal.h (__pointer_type): New macro.
21922         (__integer_if_pointer_type_sub): Likewise.
21923         (__integer_if_pointer_type): Likewise.
21924         (cast_to_integer): Likewise.
21925         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21926         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21927         before casting to atomic64_t.
21928         (atomic_exchange_acq): Likewise.
21929         (__arch_exchange_and_add_body): Likewise.
21930         (__arch_add_body): Likewise.
21931         (atomic_add_negative): Likewise.
21932         (atomic_add_zero): Likewise.
21934 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21936         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21937         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21938         (add_fdes): Likewise.
21939         (linear_search_fdes): Likewise.
21940         (binary_search_unencoded_fdes): Likewise.
21942 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21944         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21946 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21948         * configure.in: Autodetect C++ header directories.
21949         * configure: Regenerated.
21951 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21953         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21955 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21959 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21961         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21962         LDBL_MANT_DIG == 106]: Disable some tests.
21963         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21964         Likewise.
21965         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21966         Likewise.
21968         [BZ #14871]
21969         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21970         input for small inputs.  Return +/- pi/2 for large inputs.
21971         * math/libm-test.inc (atan_test): Add more tests.
21973         * sysdeps/generic/unwind-dw2-fde-glibc.c
21974         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21975         __attribute__ ((unused)).
21977         [BZ #14645]
21978         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21979         x * y if x and y are nonzero and z is zero.
21981         [BZ #14811]
21982         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21983         nonzero exponents with absolute value below 0x1p-117 to +/-
21984         0x1p-117.
21986         [BZ #14869]
21987         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21988         up arguments below 2**-450, not just those below 2**-500.
21989         * math/libm-test.inc (hypot_test): Add another test.
21991         [BZ #14868]
21992         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21993         Return a+b for ratio over 2**120, not 2**60.
21994         * math/libm-test.inc (hypot_test): Add another test.
21996         * math/libm-test.inc (clog_test): Use
21997         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21998         (clog10_test): Likewise.
22000         [BZ #6778]
22001         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22003 2012-11-22  Andreas Schwab  <schwab@suse.de>
22005         * sysdeps/i386/fpu/libm-test-ulps: Update.
22007 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22009         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22010         printf output with newline.
22012 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22014         [BZ #14865]
22015         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22016         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22017         -z nodlopen, -z initfirst and -z execstack support.
22018         * configure: Regenerated.
22020         * elf/elf.h (DF_1_NODIRECT): New macro.
22021         (DF_1_IGNMULDEF): Likewise.
22022         (DF_1_NOKSYMS): Likewise.
22023         (DF_1_NOHDR): Likewise.
22024         (DF_1_EDITED): Likewise.
22025         (DF_1_NORELOC): Likewise.
22026         (DF_1_SYMINTPOSE): Likewise.
22027         (DF_1_GLOBAUDIT): Likewise.
22028         (DF_1_SINGLETON): Likewise.
22029         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22030         DT_1_SUPPORTED_MASK bits.
22031         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22033 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22035         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22037 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22039         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22040         macro.
22042         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22043         (sendmmsg): Move declarations...
22044         * socket/sys/socket.h: ... here.
22045         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22046         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22047         include it from...
22048         * socket/recvmmsg.c: ... this new file.
22049         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22050         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22051         definition of __sendmmsg hidden.
22052         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22053         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22054         Move ENOSYS stub into and include it from...
22055         * socket/sendmmsg.c: ... this new file.
22056         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22057         (sysdep_routines): Move recvmmsg and sendmmsg...
22058         * socket/Makefile (routines): ... here.
22059         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22060         (GLIBC_PRIVATE): Add __sendmmsg.
22061         * include/sys/socket.h (__sendmmsg): Add declarations.
22062         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22063         sendmmsg.
22065 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22067         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22068         variable I1 with __attribute__ ((unused)).
22069         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22071 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22073         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22074         DUMMY variables with __attribute__ ((unused)).
22076         * bits/byteswap.h: Include <bits/types.h>.
22077         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22079 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22081         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22082         string_t.  Do not manually set errno.
22083         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22084         length with __strnlen.  Make sure to both set errno and return it on
22085         failure.
22087 2012-11-19  David S. Miller  <davem@davemloft.net>
22089         With help from Joseph Myers.
22090         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22091         very large arguments properly.
22092         * math/libm-test.inc (atan_test): New tests.
22093         (atan2_test): New tests.
22094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22097 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22099         [BZ #14856]
22100         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22101         Define to 3.
22103         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22104         [POSIX] (EADDRNOTAVAIL): Likewise.
22105         [POSIX] (EAFNOSUPPORT): Likewise.
22106         [POSIX] (EALREADY): Likewise.
22107         [POSIX] (ECONNABORTED): Likewise.
22108         [POSIX] (ECONNREFUSED): Likewise.
22109         [POSIX] (ECONNRESET): Likewise.
22110         [POSIX] (EDESTADDRREQ): Likewise.
22111         [POSIX] (EDQUOT): Likewise.
22112         [POSIX] (EHOSTUNREACH): Likewise.
22113         [POSIX] (EIDRM): Likewise.
22114         [POSIX] (EISCONN): Likewise.
22115         [POSIX] (ELOOP): Likewise.
22116         [POSIX] (EMULTIHOP): Likewise.
22117         [POSIX] (ENETDOWN): Likewise.
22118         [POSIX] (ENETUNREACH): Likewise.
22119         [POSIX] (ENOBUFS): Likewise.
22120         [POSIX] (ENODATA): Likewise.
22121         [POSIX] (ENOLINK): Likewise.
22122         [POSIX] (ENOMSG): Likewise.
22123         [POSIX] (ENOPROTOOPT): Likewise.
22124         [POSIX] (ENOSR): Likewise.
22125         [POSIX] (ENOSTR): Likewise.
22126         [POSIX] (ENOTCONN): Likewise.
22127         [POSIX] (ENOTSOCK): Likewise.
22128         [POSIX] (EOPNOTSUPP): Likewise.
22129         [POSIX] (EOVERFLOW): Likewise.
22130         [POSIX] (EPROTO): Likewise.
22131         [POSIX] (EPROTONOSUPPORT): Likewise.
22132         [POSIX] (EPROTOTYPE): Likewise.
22133         [POSIX] (ESTALE): Likewise.
22134         [POSIX] (ETIME): Likewise.
22135         [POSIX] (ETXTBSY): Likewise.
22136         [POSIX] (EWOULDBLOCK): Likewise.
22137         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22138         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22139         [POSIX] (SEEK_CUR): Likewise.
22140         [POSIX] (SEEK_END): Likewise.
22141         [POSIX || UNIX98] (mode_t): Do not require.
22142         [POSIX] (off_t): Likewise.
22143         [POSIX] (pid_t): Likewise.
22144         [POSIX] (sys/stat.h): Do not allow header.
22145         [POSIX] (unistd.h): Likewise.
22146         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22147         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22148         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22149         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22150         require.
22151         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22152         sigevent): Specify elements.
22153         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22154         entry.
22155         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22156         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22158         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22159         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22160         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22161         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22162         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22163         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22164         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22165         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22166         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22167         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22168         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22169         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22170         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22171         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22172         Likewise.
22173         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22174         Likewise.
22175         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22176         Likewise.
22177         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22178         Likewise.
22179         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22180         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22181         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22182         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22183         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22184         Specify lower bound on value.
22185         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22186         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22187         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22188         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22189         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22190         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22191         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22192         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22193         value.
22194         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22195         as optional.
22196         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22197         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22198         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22199         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22200         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22201         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22202         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22203         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22204         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22205         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22206         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22207         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22208         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22209         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22210         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22211         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22212         entry.
22213         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22214         optional.
22215         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22216         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22217         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22218         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22219         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22220         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22221         Likewise.
22222         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22223         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22224         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22225         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22226         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22227         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22228         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22229         as optional.
22230         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22231         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22232         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22233         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22234         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22235         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22236         specify as optional.
22237         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22238         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22239         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22240         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22241         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22242         [XPG3] (NL_LANGMAX): Likewise.
22243         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22244         [POSIX || XPG3] (NL_NMAX): Likewise.
22245         [POSIX || XPG3] (NL_SETMAX): Likewise.
22246         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22247         [XPG3] (NZERO): Likewise.
22248         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22249         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22250         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22251         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22252         (REG_ERANGE): Expect.
22253         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22254         optional-constant.
22255         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22256         Use (void) in prototype.
22257         [POSIX] (*_t): Allow.
22258         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22259         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22260         (WRDE_BADVAL): Expect.
22262         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22263         expect.
22264         [XPG3 || XPG4] (O_RSYNC): Likewise.
22265         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22266         Likewise.
22267         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22268         [XPG3 || XPG4] (sigqueue): Likewise.
22269         [XPG3 || XPG4] (sigtimedwait): Likewise.
22270         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22271         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22272         [XPG3 || XPG4] (vsnprintf): Likewise.
22273         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22274         Likewise.
22275         [XPG3 || XPG4] (blksize_t): Likewise.
22276         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22277         Likewise.
22278         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22279         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22280         [XPG3 || XPG4] (struct itimerspec): Likewise.
22281         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22282         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22283         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22284         [XPG3 || XPG4] (clockid_t): Likewise.
22285         [XPG3 || XPG4] (timer_t): Likewise.
22286         [XPG3 || XPG4] (clock_getres): Likewise.
22287         [XPG3 || XPG4] (clock_gettime): Likewise.
22288         [XPG3 || XPG4] (clock_settime): Likewise.
22289         [XPG3 || XPG4] (nanosleep): Likewise.
22290         [XPG3 || XPG4] (timer_create): Likewise.
22291         [XPG3 || XPG4] (timer_delete): Likewise.
22292         [XPG3 || XPG4] (timer_gettime): Likewise.
22293         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22294         [XPG3 || XPG4] (timer_settime): Likewise.
22295         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22296         [XPG3 || XPG4] (getlogin_r): Likewise.
22297         [XPG3 || XPG4] (pread): Likewise.
22298         [XPG3 || XPG4] (pthread_atfork): Likewise.
22299         [XPG3 || XPG4] (pwrite): Likewise.
22301         [BZ #14835]
22302         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22303         <bits/siginfo.h>.
22305 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22307         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22308         finalizing MALLSTREAM.
22310         * sysdeps/mach/hurd/syncfs.c: New file.
22312 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22314         [BZ #14719]
22315         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22316         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22317         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22318         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22319         (_nss_dns_gethostbyname4_r): Likewise.
22320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22321         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22323 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22325         [BZ #13763]
22326         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22328 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22330         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22331         * elf/cache.c (print_entry): Print ",AArch64" for
22332         FLAG_AARCH64_LIB64
22334         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22335         * elf/cache.c (print_entry): Print ",hard-float" for
22336         FLAG_ARM_LIBHF.
22338 2012-11-18  David S. Miller  <davem@davemloft.net>
22340         With help from Joseph Myers.
22341         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22342         cutoff to 2**-13.
22343         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22344         cutoff to 2**-25.
22345         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22346         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22347         small.
22348         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22349         * math/libm-test.inc (y0_test): New tests.
22350         (y1_test): New tests.
22351         * sysdeps/i386/fpu/libm-test-ulps: Update.
22352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22355 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22357         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22358         64-bit targets.
22359         * configure: Regenerated.
22361 2012-11-17  David S. Miller  <davem@davemloft.net>
22363         [BZ #14811]
22364         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22365         nonzero exponents with absolute value below 0x1p-128 to +/-
22366         0x1p-128.
22368 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22370         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22372         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22374         * posix/getconf-speclist.c: New file.
22375         * posix/posix-envs.def: Likewise.
22376         * posix/confstr.c (START_ENV_GROUP): New macro.
22377         (END_ENV_GROUP): Likewise.
22378         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22379         (KNOWN_PRESENT_ENV_STRING): Likewise.
22380         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22381         (UNKNOWN_ENVIRONMENT): Likewise.
22382         (confstr): Include posix-envs.def instead of handling
22383         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22384         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22385         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22386         (END_ENV_GROUP): Likewise.
22387         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22388         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22389         (UNKNOWN_ENVIRONMENT): Likewise.
22390         (__sysconf): Include posix-envs.def instead of handling associated
22391         cases directly here.
22392         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22393         preprocessing getconf-speclist.c rather than running getconf or
22394         generating empty file.
22396 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22398         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22400 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22402         [BZ #14672]
22403         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22405 2012-11-16  David S. Miller  <davem@davemloft.net>
22407         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22408         smaller than LDBL_EPSILON/2.0L, just return xm1.
22410 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22412         * elf/tst-array1.c (init): Set constructor priority to 1000.
22413         (fini): Set destructor priority to 1000.
22414         * elf/tst-array2dep.c: Likewise.
22416 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22418         [BZ #11741]
22419         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22420         (_IO_new_file_xsputn): Also return EOF if none of the input
22421         data was written when overflow failed.
22422         * libio/iopadn.c (_IO_padn): Likewise.
22423         * libio/iowpadn.c (_IO_wpadn): Likewise.
22424         * stdio-common/tst-put-error.c: Add copyright notice.
22425         (do_test): Add case for printing padded string.
22426         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22427         _IO_padn returned error.
22428         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22429         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22430         return EOF.
22432 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22434         * libio/libioP.h: Add comment note that the references to C++
22435         bits are now obsolete.
22437 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22439         * math/libm-test.inc (check_complex): Use asprintf.
22441 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22443         * debug/pcprofiledump.c (print_version): Update copyright year.
22444         * malloc/memusagestat.c (print_version): Likewise.
22446 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22448         [BZ #14831]
22449         * elf/Makefile (tests): Add tst-audit8.
22450         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22451         ($(objpfx)tst-audit8.out): New target.
22452         (tst-audit8-ENV): New variable.
22453         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22454         audit if l_reloc_result is NULL.
22455         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22456         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22457         * elf/tst-audit8.c: New file.
22459 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22461         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22462         * misc/Makefile (CFLAGS-select.c): Define.
22463         * posix/Makefile (CFLAGS-pause.c): Define.
22465 2012-11-13  David S. Miller  <davem@davemloft.net>
22467         * crypt/Makefile: Move test targets after toplevel Rules
22468         inclusion.  Grab any necessary sysdep routines when linking.
22469         * crypt/md5.c (md5_process_block): Remove define, we will always
22470         name it __md5_process_block.
22471         (md5_finish_ctx): Update md5_process_block call.
22472         (md5_stream): Likewise.
22473         (md5_process_bytes): Likewise.
22474         (md5_process_block): Rename to __md5_process_block and move to ...
22475         * crypt/md5-block.c: ... here.
22476         * crypt/sha256.c (sha256_process_block): Move to ...
22477         * crypt/sha256-block.c: ... here.
22478         * crypt/sha512.c (sha512_process_block): Move to ...
22479         * crypt/sha512-block.c: ... here.
22480         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22481         path.
22482         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22483         * sysdeps/sparc/sparc64/multiarch/Makefile
22484         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22485         crypt subdir.
22486         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22487         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22488         multiarch changes.
22489         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22490         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22491         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22492         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22493         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22494         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22495         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22496         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22497         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22498         file.
22499         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22500         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22501         file.
22502         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22504 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22506         * timezone/tzselect.ksh: Update from tzcode git revision
22507         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22508         * timezone/zdump.c: Likewise.
22509         * timezone/zic.c: Likewise.
22510         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22511         in TZVERSION setting, not $(PKGVERSION).
22512         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22513         REPORT_BUGS_TO settings.
22515         [BZ #14838]
22516         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22517         macro.
22519 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22521         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22522         detection to immediately after _FP_ROUND().
22523         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22524         bits are 0.
22526 2012-11-11  David S. Miller  <davem@davemloft.net>
22528         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22529         inttypes.h
22530         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22531         __close rather than their public counterparts.
22533 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22535         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22536         file.
22537         [UNIX98] (sem_timedwait): Do not expect.
22538         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22539         [XPG4 || UNIX98] (sockatmark): Do not expect.
22540         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22541         (clock_getcpuclockid): Do not expect.
22542         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22543         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22544         Do not expect.
22545         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22546         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22547         [UNIX98] (vwscanf): Likewise.
22548         [UNIX98] (vswscanf): Likewise.
22550 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22552         * timezone/version.h: Remove file.
22553         * timezone/README: Do not refer to version.h.
22554         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22555         $(objpfx)version.h.
22556         ($(objpfx)zdump.o): Likewise.
22557         ($(objpfx)version.h): New target.
22559         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22560         2012i.
22561         * timezone/README: Don't mention modification to tzselect.ksh.
22562         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22563         work on unmodified tzselect.ksh.  Substitute version numbers in
22564         tzselect.ksh.
22566         * Makefile (format-me): Remove.
22567         (INSTALL): Adjust indentation.  Use commands directly instead of
22568         using $(format-me).
22570         * aclocal.m4 (ACX_PKGVERSION): New macro.
22571         (ACX_BUGURL): Likewise.
22572         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22573         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22574         (REPORT_BUGS_TO): Likewise.
22575         * configure: Regenerated.
22576         * config.h.in (PKGVERSION): New macro.
22577         (REPORT_BUGS_TO): Likewise.
22578         * config.make.in (PKGVERSION): New variable.
22579         (PKGVERSION_TEXI): Likewise.
22580         (REPORT_BUGS_TO): Likewise.
22581         (REPORT_BUGS_TEXI): Likewise.
22582         * Makefile (format-me): Use -I$(common-objpfx)manual.
22583         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22584         ($(common-objpfx)manual/%): New target.
22585         (manual/%): Remove target.
22586         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22587         (print_version): Use PKGVERSION.
22588         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22589         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22590         and REPORT_BUGS_TO.
22591         ($(objpfx)xtrace): Likewise.
22592         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22593         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22594         (print_version): Use PKGVERSION.
22595         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22596         (do_version): Use PKGVERSION.
22597         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22598         REPORT_BUGS_TO.
22599         (common-ldd-rewrite): Likewise.
22600         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22601         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22602         (print_version): Use PKGVERSION.
22603         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22604         * elf/pldd.c (argp_program_bug_address): Remove variable.
22605         (more_help): New function.
22606         (argp): Use more_help.
22607         (print_version): Use PKGVERSION.
22608         * elf/sln.c (main): Use PKGVERSION.
22609         (usage): Use REPORT_BUGS_TO.
22610         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22611         (top level): Use PKGVERSION.
22612         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22613         (print_version): Use PKGVERSION.
22614         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22615         (print_version): Use PKGVERSION.
22616         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22617         (print_version): Use PKGVERSION.
22618         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22619         (print_version): Use PKGVERSION.
22620         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22621         (print_version): Use PKGVERSION.
22622         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22623         (print_version): Use PKGVERSION.
22624         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22625         and BUGURL.
22626         ($(objpfx)memusage): Likewise.
22627         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22628         (do_version): Use PKGVERSION.
22629         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22630         (print_version): Use PKGVERSION.
22631         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22632         ($PKGVERSION): New variable.
22633         ($REPORT_BUGS_TO): Likewise.
22634         (usage): Use $REPORT_BUGS_TO.
22635         (top level): Use $PKGVERSION.
22636         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22637         ($(objpfx)pkgvers.texi): New rule.
22638         ($(objpfx)stamp-pkgvers): Likewise.
22639         * manual/install.texi: Include pkgvers.texi.
22640         (--with-pkgversion): Document new configure option.
22641         (--with-bugurl): Likewise.
22642         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22643         than necessarily for this particular distribution.  Use
22644         REPORT_BUGS_TO for where to report bugs.
22645         * INSTALL: Regenerated.
22646         * manual/libc.texinfo: Include pkgvers.texi.
22647         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22648         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22649         (print_version): Use PKGVERSION.
22650         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22651         (print_version): Use PKGVERSION.
22652         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22653         (print_version): Use PKGVERSION.
22654         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22655         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22656         macro.
22657         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22658         (print_version): Use PKGVERSION.
22659         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22660         (print_version): Use PKGVERSION.
22661         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22662         and PKGVERSION.
22664         * timezone/checktab.awk: Update from tzcode 2012i.
22665         * timezone/ialloc.c: Likewise.
22666         * timezone/private.h: Likewise.
22667         * timezone/scheck.c: Likewise.
22668         * timezone/tzfile.h: Likewise.
22669         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22670         (TZVERSION): Hardcode tzcode version number.
22671         * timezone/zdump.c: Update from tzcode 2012i.
22672         * timezone/zic.c: Likewise.
22673         * timezone/version.h: New file.
22674         * timezone/README: Describe version.h.  Update upstream location.
22676         [BZ #14824]
22677         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22678         (mktemp): Enable declaration.
22679         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22680         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22681         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22682         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22683         Likewise.
22684         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22685         Likewise.
22686         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22687         Likewise.
22688         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22689         Likewise.
22690         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22691         Likewise.
22692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22693         Likewise.
22695         [BZ #14821]
22696         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22697         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
22698         for copies of such integer values.
22699         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22700         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22702 2012-11-09  Andreas Jaeger  <aj@suse.de>
22704         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22705         definitions and declarations that are provided by
22706         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22708 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22710         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22711         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22712         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22713         definition.
22715 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22717         * elf/elf.h: Update comment before AArch64 relocations.
22719 2012-11-07  David S. Miller  <davem@davemloft.net>
22721         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22722         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22723         (__start_context): Declare.
22724         (__makecontext_ret): Delete.
22725         (__makecontext): Hook up __start_context instead of
22726         __makecontext_ret.
22727         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22728         (sysdep_routines): Add __start_context when in stdlib.
22730 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22732         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22733         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22734         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
22735         hardcoded "nm".
22736         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
22737         (READELF): New variable.  Use it instead of hardcoded "readelf".
22739 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22741         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22742         * sysdeps/x86/Makefile: Here.
22743         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22744         * sysdeps/x86/tst-xmmymm.sh: This.
22746 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22748         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22749         expectations.
22750         [UNIX98] (pthread_barrier_t): Do not expect.
22751         [UNIX98] (pthread_barrierattr_t): Likewise.
22752         [UNIX98] (pthread_spinlock_t): Likewise.
22753         [UNIX98] (pthread_barrier_destroy): Likewise.
22754         [UNIX98] (pthread_barrier_init): Likewise.
22755         [UNIX98] (pthread_barrier_wait): Likewise.
22756         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22757         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22758         [UNIX98] (pthread_barrierattr_init): Likewise.
22759         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22760         [UNIX98] (pthread_getcpuclockid): Likewise.
22761         [UNIX98] (pthread_mutex_timedlock): Likewise.
22762         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22763         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22764         [UNIX98] (pthread_sigmask): Likewise.
22765         [UNIX98] (pthread_spin_destroy): Likewise.
22766         [UNIX98] (pthread_spin_init): Likewise.
22767         [UNIX98] (pthread_spin_lock): Likewise.
22768         [UNIX98] (pthread_spin_trylock): Likewise.
22769         [UNIX98] (pthread_spin_unlock): Likewise.
22770         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22771         Do not expect.
22772         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22773         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22774         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22775         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22776         [XPG3 || XPG4] (pthread_key_t): Likewise.
22777         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22778         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22779         [XPG3 || XPG4] (pthread_once_t): Likewise.
22780         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22781         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22782         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22783         [XPG3 || XPG4] (pthread_t): Likewise.
22785         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22786         not expect.
22787         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22789         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22790         Change function return type to int.
22792         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22793         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22794         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22795         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22796         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22797         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22798         [!POSIX] (posix_madvise): Likewise.
22799         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22800         && !UNIX98].
22801         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22802         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22803         (mode_t): Likewise.
22804         (posix_mem_offset): Likewise.
22805         (posix_typed_mem_get_info): Likewise.
22806         (posix_typed_mem_open): Likewise.
22808         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22809         Change condition to [XOPEN2K8].
22811         * conform/conformtest.pl: Preprocess allow-header data with -x c
22812         instead of from stdin.
22813         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22814         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22815         [C99-based standards] (cerfc): Likewise.
22816         [C99-based standards] (cexp2): Likewise.
22817         [C99-based standards] (cexpm1): Likewise.
22818         [C99-based standards] (clog10): Likewise.
22819         [C99-based standards] (clog1p): Likewise.
22820         [C99-based standards] (clog2): Likewise.
22821         [C99-based standards] (clgamma): Likewise.
22822         [C99-based standards] (ctgamma): Likewise.
22823         [C99-based standards] (cerff): Likewise.
22824         [C99-based standards] (cerfcf): Likewise.
22825         [C99-based standards] (cexp2f): Likewise.
22826         [C99-based standards] (cexpm1f): Likewise.
22827         [C99-based standards] (clog10f): Likewise.
22828         [C99-based standards] (clog1pf): Likewise.
22829         [C99-based standards] (clog2f): Likewise.
22830         [C99-based standards] (clgammaf): Likewise.
22831         [C99-based standards] (ctgammaf): Likewise.
22832         [C99-based standards] (cerfl): Likewise.
22833         [C99-based standards] (cerfcl): Likewise.
22834         [C99-based standards] (cexp2l): Likewise.
22835         [C99-based standards] (cexpm1l): Likewise.
22836         [C99-based standards] (clog10l): Likewise.
22837         [C99-based standards] (clog1pl): Likewise.
22838         [C99-based standards] (clog2l): Likewise.
22839         [C99-based standards] (clgammal): Likewise.
22840         [C99-based standards] (ctgammal): Likewise.
22841         * conform/data/inttypes.h-data [C99-based standards]: Include
22842         stdint.h-data.  Remove all expectations for stdint.h contents.
22843         [C99-based standards] (PRI*): Do not allow.
22844         [C99-based standards] (SCN*): Likewise.
22845         [C99-based standards] (*_t): Likewise.
22846         [C99-based-standards] (PRId8): Expect macro.
22847         [C99-based-standards] (PRIi8): Likewise.
22848         [C99-based-standards] (PRIo8): Likewise.
22849         [C99-based-standards] (PRIu8): Likewise.
22850         [C99-based-standards] (PRIx8): Likewise.
22851         [C99-based-standards] (PRIX8): Likewise.
22852         [C99-based-standards] (SCNd8): Likewise.
22853         [C99-based-standards] (SCNi8): Likewise.
22854         [C99-based-standards] (SCNo8): Likewise.
22855         [C99-based-standards] (SCNu8): Likewise.
22856         [C99-based-standards] (SCNx8): Likewise.
22857         [C99-based-standards] (PRIdLEAST8): Likewise.
22858         [C99-based-standards] (PRIiLEAST8): Likewise.
22859         [C99-based-standards] (PRIoLEAST8): Likewise.
22860         [C99-based-standards] (PRIuLEAST8): Likewise.
22861         [C99-based-standards] (PRIxLEAST8): Likewise.
22862         [C99-based-standards] (PRIXLEAST8): Likewise.
22863         [C99-based-standards] (SCNdLEAST8): Likewise.
22864         [C99-based-standards] (SCNiLEAST8): Likewise.
22865         [C99-based-standards] (SCNoLEAST8): Likewise.
22866         [C99-based-standards] (SCNuLEAST8): Likewise.
22867         [C99-based-standards] (SCNxLEAST8): Likewise.
22868         [C99-based-standards] (PRIdFAST8): Likewise.
22869         [C99-based-standards] (PRIiFAST8): Likewise.
22870         [C99-based-standards] (PRIoFAST8): Likewise.
22871         [C99-based-standards] (PRIuFAST8): Likewise.
22872         [C99-based-standards] (PRIxFAST8): Likewise.
22873         [C99-based-standards] (PRIXFAST8): Likewise.
22874         [C99-based-standards] (SCNdFAST8): Likewise.
22875         [C99-based-standards] (SCNiFAST8): Likewise.
22876         [C99-based-standards] (SCNoFAST8): Likewise.
22877         [C99-based-standards] (SCNuFAST8): Likewise.
22878         [C99-based-standards] (SCNxFAST8): Likewise.
22879         [C99-based-standards] (PRId16): Likewise.
22880         [C99-based-standards] (PRIi16): Likewise.
22881         [C99-based-standards] (PRIo16): Likewise.
22882         [C99-based-standards] (PRIu16): Likewise.
22883         [C99-based-standards] (PRIx16): Likewise.
22884         [C99-based-standards] (PRIX16): Likewise.
22885         [C99-based-standards] (SCNd16): Likewise.
22886         [C99-based-standards] (SCNi16): Likewise.
22887         [C99-based-standards] (SCNo16): Likewise.
22888         [C99-based-standards] (SCNu16): Likewise.
22889         [C99-based-standards] (SCNx16): Likewise.
22890         [C99-based-standards] (PRIdLEAST16): Likewise.
22891         [C99-based-standards] (PRIiLEAST16): Likewise.
22892         [C99-based-standards] (PRIoLEAST16): Likewise.
22893         [C99-based-standards] (PRIuLEAST16): Likewise.
22894         [C99-based-standards] (PRIxLEAST16): Likewise.
22895         [C99-based-standards] (PRIXLEAST16): Likewise.
22896         [C99-based-standards] (SCNdLEAST16): Likewise.
22897         [C99-based-standards] (SCNiLEAST16): Likewise.
22898         [C99-based-standards] (SCNoLEAST16): Likewise.
22899         [C99-based-standards] (SCNuLEAST16): Likewise.
22900         [C99-based-standards] (SCNxLEAST16): Likewise.
22901         [C99-based-standards] (PRIdFAST16): Likewise.
22902         [C99-based-standards] (PRIiFAST16): Likewise.
22903         [C99-based-standards] (PRIoFAST16): Likewise.
22904         [C99-based-standards] (PRIuFAST16): Likewise.
22905         [C99-based-standards] (PRIxFAST16): Likewise.
22906         [C99-based-standards] (PRIXFAST16): Likewise.
22907         [C99-based-standards] (SCNdFAST16): Likewise.
22908         [C99-based-standards] (SCNiFAST16): Likewise.
22909         [C99-based-standards] (SCNoFAST16): Likewise.
22910         [C99-based-standards] (SCNuFAST16): Likewise.
22911         [C99-based-standards] (SCNxFAST16): Likewise.
22912         [C99-based-standards] (PRId32): Likewise.
22913         [C99-based-standards] (PRIi32): Likewise.
22914         [C99-based-standards] (PRIo32): Likewise.
22915         [C99-based-standards] (PRIu32): Likewise.
22916         [C99-based-standards] (PRIx32): Likewise.
22917         [C99-based-standards] (PRIX32): Likewise.
22918         [C99-based-standards] (SCNd32): Likewise.
22919         [C99-based-standards] (SCNi32): Likewise.
22920         [C99-based-standards] (SCNo32): Likewise.
22921         [C99-based-standards] (SCNu32): Likewise.
22922         [C99-based-standards] (SCNx32): Likewise.
22923         [C99-based-standards] (PRIdLEAST32): Likewise.
22924         [C99-based-standards] (PRIiLEAST32): Likewise.
22925         [C99-based-standards] (PRIoLEAST32): Likewise.
22926         [C99-based-standards] (PRIuLEAST32): Likewise.
22927         [C99-based-standards] (PRIxLEAST32): Likewise.
22928         [C99-based-standards] (PRIXLEAST32): Likewise.
22929         [C99-based-standards] (SCNdLEAST32): Likewise.
22930         [C99-based-standards] (SCNiLEAST32): Likewise.
22931         [C99-based-standards] (SCNoLEAST32): Likewise.
22932         [C99-based-standards] (SCNuLEAST32): Likewise.
22933         [C99-based-standards] (SCNxLEAST32): Likewise.
22934         [C99-based-standards] (PRIdFAST32): Likewise.
22935         [C99-based-standards] (PRIiFAST32): Likewise.
22936         [C99-based-standards] (PRIoFAST32): Likewise.
22937         [C99-based-standards] (PRIuFAST32): Likewise.
22938         [C99-based-standards] (PRIxFAST32): Likewise.
22939         [C99-based-standards] (PRIXFAST32): Likewise.
22940         [C99-based-standards] (SCNdFAST32): Likewise.
22941         [C99-based-standards] (SCNiFAST32): Likewise.
22942         [C99-based-standards] (SCNoFAST32): Likewise.
22943         [C99-based-standards] (SCNuFAST32): Likewise.
22944         [C99-based-standards] (SCNxFAST32): Likewise.
22945         [C99-based-standards] (PRId64): Likewise.
22946         [C99-based-standards] (PRIi64): Likewise.
22947         [C99-based-standards] (PRIo64): Likewise.
22948         [C99-based-standards] (PRIu64): Likewise.
22949         [C99-based-standards] (PRIx64): Likewise.
22950         [C99-based-standards] (PRIX64): Likewise.
22951         [C99-based-standards] (SCNd64): Likewise.
22952         [C99-based-standards] (SCNi64): Likewise.
22953         [C99-based-standards] (SCNo64): Likewise.
22954         [C99-based-standards] (SCNu64): Likewise.
22955         [C99-based-standards] (SCNx64): Likewise.
22956         [C99-based-standards] (PRIdLEAST64): Likewise.
22957         [C99-based-standards] (PRIiLEAST64): Likewise.
22958         [C99-based-standards] (PRIoLEAST64): Likewise.
22959         [C99-based-standards] (PRIuLEAST64): Likewise.
22960         [C99-based-standards] (PRIxLEAST64): Likewise.
22961         [C99-based-standards] (PRIXLEAST64): Likewise.
22962         [C99-based-standards] (SCNdLEAST64): Likewise.
22963         [C99-based-standards] (SCNiLEAST64): Likewise.
22964         [C99-based-standards] (SCNoLEAST64): Likewise.
22965         [C99-based-standards] (SCNuLEAST64): Likewise.
22966         [C99-based-standards] (SCNxLEAST64): Likewise.
22967         [C99-based-standards] (PRIdFAST64): Likewise.
22968         [C99-based-standards] (PRIiFAST64): Likewise.
22969         [C99-based-standards] (PRIoFAST64): Likewise.
22970         [C99-based-standards] (PRIuFAST64): Likewise.
22971         [C99-based-standards] (PRIxFAST64): Likewise.
22972         [C99-based-standards] (PRIXFAST64): Likewise.
22973         [C99-based-standards] (SCNdFAST64): Likewise.
22974         [C99-based-standards] (SCNiFAST64): Likewise.
22975         [C99-based-standards] (SCNoFAST64): Likewise.
22976         [C99-based-standards] (SCNuFAST64): Likewise.
22977         [C99-based-standards] (SCNxFAST64): Likewise.
22978         [C99-based-standards] (PRIdMAX): Likewise.
22979         [C99-based-standards] (PRIiMAX): Likewise.
22980         [C99-based-standards] (PRIoMAX): Likewise.
22981         [C99-based-standards] (PRIuMAX): Likewise.
22982         [C99-based-standards] (PRIxMAX): Likewise.
22983         [C99-based-standards] (PRIXMAX): Likewise.
22984         [C99-based-standards] (SCNdMAX): Likewise.
22985         [C99-based-standards] (SCNiMAX): Likewise.
22986         [C99-based-standards] (SCNoMAX): Likewise.
22987         [C99-based-standards] (SCNuMAX): Likewise.
22988         [C99-based-standards] (SCNxMAX): Likewise.
22989         [C99-based-standards] (PRIdPTR): Likewise.
22990         [C99-based-standards] (PRIiPTR): Likewise.
22991         [C99-based-standards] (PRIoPTR): Likewise.
22992         [C99-based-standards] (PRIuPTR): Likewise.
22993         [C99-based-standards] (PRIxPTR): Likewise.
22994         [C99-based-standards] (PRIXPTR): Likewise.
22995         [C99-based-standards] (SCNdPTR): Likewise.
22996         [C99-based-standards] (SCNiPTR): Likewise.
22997         [C99-based-standards] (SCNoPTR): Likewise.
22998         [C99-based-standards] (SCNuPTR): Likewise.
22999         [C99-based-standards] (SCNxPTR): Likewise.
23000         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23001         allow.
23002         * conform/data/stdint.h-data: Update comments to clarify
23003         requirements.
23004         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23005         type.
23006         [C99-based standards] (INT8_MAX): Likewise.
23007         [C99-based standards] (INT16_MIN): Likewise.
23008         [C99-based standards] (INT16_MAX): Likewise.
23009         [C99-based standards] (INT32_MIN): Likewise.
23010         [C99-based standards] (INT32_MAX): Likewise.
23011         [C99-based standards] (INT64_MIN): Likewise.
23012         [C99-based standards] (INT64_MAX): Likewise.
23013         [C99-based standards] (UINT8_MAX): Likewise.
23014         [C99-based standards] (UINT16_MAX): Likewise.
23015         [C99-based standards] (UINT32_MAX): Likewise.
23016         [C99-based standards] (UINT64_MAX): Likewise.
23017         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23018         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23019         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23020         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23021         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23022         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23023         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23024         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23025         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23026         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23027         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23028         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23029         [C99-based standards] (INT_FAST8_MIN): Likewise.
23030         [C99-based standards] (INT_FAST8_MAX): Likewise.
23031         [C99-based standards] (INT_FAST16_MIN): Likewise.
23032         [C99-based standards] (INT_FAST16_MAX): Likewise.
23033         [C99-based standards] (INT_FAST32_MIN): Likewise.
23034         [C99-based standards] (INT_FAST32_MAX): Likewise.
23035         [C99-based standards] (INT_FAST64_MIN): Likewise.
23036         [C99-based standards] (INT_FAST64_MAX): Likewise.
23037         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23038         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23039         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23040         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23041         [C99-based standards] (INTPTR_MIN): Likewise.
23042         [C99-based standards] (INTPTR_MAX): Likewise.
23043         [C99-based standards] (UINTPTR_MAX): Likewise.
23044         [C99-based standards] (INTMAX_MIN): Likewise.
23045         [C99-based standards] (INTMAX_MAX): Likewise.
23046         [C99-based standards] (UINTMAX_MAX): Likewise.
23047         [C99-based standards] (PTRDIFF_MIN): Likewise.
23048         [C99-based standards] (PTRDIFF_MAX): Likewise.
23049         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23050         [C99-based standards] (SIZE_MAX): Likewise.
23051         [C99-based standards] (WCHAR_MAX): Likewise.
23052         [C99-based standards] (WINT_MAX): Likewise.
23053         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23054         constraint on value.
23055         [C99-based standards] (WCHAR_MIN): Likewise.
23056         [C99-based standards] (WINT_MIN): Likewise.
23057         [C99-based standards] (*_t): Allow.
23058         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23059         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23060         Include math.h-data and complex.h-data.  Remove all expectations
23061         of math.h and complex.h contents.
23062         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23063         at end of line.
23064         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23065         (struct tm): Expect tag.
23066         [C99-based-standards] (wcstof): Expect function.
23067         [C99-based-standards] (wcstold): Likewise.
23068         [C99-based-standards] (wcstoll): Likewise.
23069         [C99-based-standards] (wcstoull): Likewise.
23070         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23071         macro-int-constant.  Specify type.
23072         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23073         constraint on value.
23074         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23075         Specify type.
23076         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23077         Specify value.
23078         [ISO C standards]: Do not allow headers.
23079         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23080         wcs[abcdefghijklmnopqrstuvwxyz]*.
23081         [ISO C standards] (*_t): Do not allow.
23082         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23083         Expect function.
23084         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23085         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23086         Specify type.
23087         [ISO C standards]: Do not allow headers.
23088         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23089         is[abcdefghijklmnopqrstuvwxyz]*.
23090         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23091         to[abcdefghijklmnopqrstuvwxyz]*.
23092         [ISO C standards] (*_t): Do not allow.
23093         * conform/data/stdalign.h-data: New file.
23094         * conform/data/stdbool.h-data: Likewise.
23095         * conform/data/stdnoreturn.h-data: Likewise.
23097 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23099         [BZ #14815]
23100         * manual/filesys.texi (Directory Entries): Typo fix.
23101         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23103 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23105         * elf/elf.h (EM_AARCH64): New macro.
23106         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23107         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23108         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23109         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23110         (R_AARCH64_TLSDESC): Likewise.
23111         (NT_ARM_TLS): Likewise.
23112         (NT_ARM_HW_BREAK): Likewise.
23113         (NT_ARM_HW_WATCH): Likewise.
23115 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23117         [BZ #14811]
23118         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23119         (__ieee754_powl): Saturate nonzero exponents with absolute value
23120         below 0x1p-79 to +/- 0x1p-79.
23121         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23122         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23123         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23124         nonzero exponents with absolute value below 0x1p-32 to +/-
23125         0x1p-32.
23126         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23127         (__ieee754_powl): Saturate nonzero exponents with absolute value
23128         below 0x1p-79 to +/- 0x1p-79.
23129         * math/libm-test.inc (pow_test): Add more tests.
23131 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23133         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23134         _dl_s390_cap_flags with kernel. Increase string length.
23135         (_dl_s390_platforms): Add z196 and zEC12.
23137 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23139         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23140         Change XOPEN21K to XOPEN2K.
23142 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23144         * string/memmove.c: Use memcpy when possible.
23146 2012-11-06  Andreas Jaeger  <aj@suse.de>
23148         * po/eo.po: Update from translation team.
23150 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23152         [BZ #14793]
23153         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23154         exponent and small x and y exponents, scale x or y up.  Increase
23155         by 2 the exponent used in scaling up.
23156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23157         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23158         * math/libm-test.inc (fma_test): Add more tests.
23159         (fma_test_towardzero): Likewise.
23160         (fma_test_downward): Likewise.
23161         (fma_test_upward): Likewise.
23163 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23165         [BZ #14805]
23166         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23167         fenv_t *.
23169         [BZ #14801]
23170         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23171         namespace for names of struct fields.
23172         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23173         fenv_t fields.
23174         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23175         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23177 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23179         [BZ #3665]
23180         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23182 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23184         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23185         PTR_DEMANGLE.
23187         [BZ #5246]
23188         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23189         PTR_DEMANGLE.
23191 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23193         [BZ #14797]
23194         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23195         definitely overflow as x * y not x * y + z.
23196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23197         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23198         * math/libm-test.inc (fma_test): Add more tests.
23199         (fma_test_towardzero): Likewise.
23200         (fma_test_downward): Likewise.
23201         (fma_test_upward): Likewise.
23203 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23205         [BZ #157]
23207         * include/stub-tag.h: Remove file.
23208         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23209         '#include' of it.
23210         * manual/maint.texi (Porting): Don't reference it.
23211         * Makerules ($(objpfx)stubs): Likewise.
23212         * dirent/closedir.c: Don't include <stub-tag.h>.
23213         * dirent/dirfd.c: Likewise.
23214         * dirent/fdopendir.c: Likewise.
23215         * dirent/getdents.c: Likewise.
23216         * dirent/getdents64.c: Likewise.
23217         * dirent/opendir.c: Likewise.
23218         * dirent/readdir.c: Likewise.
23219         * dirent/readdir64.c: Likewise.
23220         * dirent/readdir64_r.c: Likewise.
23221         * dirent/readdir_r.c: Likewise.
23222         * dirent/rewinddir.c: Likewise.
23223         * dirent/seekdir.c: Likewise.
23224         * dirent/telldir.c: Likewise.
23225         * gmon/profil.c: Likewise.
23226         * grp/setgroups.c: Likewise.
23227         * inet/if_index.c: Likewise.
23228         * io/access.c: Likewise.
23229         * io/chdir.c: Likewise.
23230         * io/chmod.c: Likewise.
23231         * io/chown.c: Likewise.
23232         * io/close.c: Likewise.
23233         * io/dup.c: Likewise.
23234         * io/dup2.c: Likewise.
23235         * io/dup3.c: Likewise.
23236         * io/euidaccess.c: Likewise.
23237         * io/faccessat.c: Likewise.
23238         * io/fchdir.c: Likewise.
23239         * io/fchmod.c: Likewise.
23240         * io/fchmodat.c: Likewise.
23241         * io/fchown.c: Likewise.
23242         * io/fchownat.c: Likewise.
23243         * io/fcntl.c: Likewise.
23244         * io/flock.c: Likewise.
23245         * io/fstatfs.c: Likewise.
23246         * io/fstatfs64.c: Likewise.
23247         * io/fstatvfs.c: Likewise.
23248         * io/fstatvfs64.c: Likewise.
23249         * io/futimens.c: Likewise.
23250         * io/fxstat.c: Likewise.
23251         * io/fxstat64.c: Likewise.
23252         * io/fxstatat.c: Likewise.
23253         * io/fxstatat64.c: Likewise.
23254         * io/getcwd.c: Likewise.
23255         * io/isatty.c: Likewise.
23256         * io/lchmod.c: Likewise.
23257         * io/lchown.c: Likewise.
23258         * io/link.c: Likewise.
23259         * io/linkat.c: Likewise.
23260         * io/lseek.c: Likewise.
23261         * io/lseek64.c: Likewise.
23262         * io/lxstat64.c: Likewise.
23263         * io/mkdir.c: Likewise.
23264         * io/mkdirat.c: Likewise.
23265         * io/mkfifo.c: Likewise.
23266         * io/mkfifoat.c: Likewise.
23267         * io/open.c: Likewise.
23268         * io/open64.c: Likewise.
23269         * io/openat.c: Likewise.
23270         * io/openat64.c: Likewise.
23271         * io/pipe.c: Likewise.
23272         * io/pipe2.c: Likewise.
23273         * io/poll.c: Likewise.
23274         * io/posix_fadvise.c: Likewise.
23275         * io/posix_fadvise64.c: Likewise.
23276         * io/posix_fallocate.c: Likewise.
23277         * io/posix_fallocate64.c: Likewise.
23278         * io/read.c: Likewise.
23279         * io/readlink.c: Likewise.
23280         * io/readlinkat.c: Likewise.
23281         * io/rmdir.c: Likewise.
23282         * io/sendfile.c: Likewise.
23283         * io/sendfile64.c: Likewise.
23284         * io/statfs.c: Likewise.
23285         * io/statfs64.c: Likewise.
23286         * io/statvfs.c: Likewise.
23287         * io/statvfs64.c: Likewise.
23288         * io/symlink.c: Likewise.
23289         * io/symlinkat.c: Likewise.
23290         * io/ttyname.c: Likewise.
23291         * io/ttyname_r.c: Likewise.
23292         * io/umask.c: Likewise.
23293         * io/unlink.c: Likewise.
23294         * io/unlinkat.c: Likewise.
23295         * io/utime.c: Likewise.
23296         * io/utimensat.c: Likewise.
23297         * io/write.c: Likewise.
23298         * io/xmknod.c: Likewise.
23299         * io/xmknodat.c: Likewise.
23300         * io/xstat.c: Likewise.
23301         * io/xstat64.c: Likewise.
23302         * login/getpt.c: Likewise.
23303         * login/grantpt.c: Likewise.
23304         * login/unlockpt.c: Likewise.
23305         * math/e_acoshl.c: Likewise.
23306         * math/e_acosl.c: Likewise.
23307         * math/e_asinl.c: Likewise.
23308         * math/e_atan2l.c: Likewise.
23309         * math/e_atanhl.c: Likewise.
23310         * math/e_coshl.c: Likewise.
23311         * math/e_expl.c: Likewise.
23312         * math/e_fmodl.c: Likewise.
23313         * math/e_gammal_r.c: Likewise.
23314         * math/e_hypotl.c: Likewise.
23315         * math/e_j0l.c: Likewise.
23316         * math/e_j1l.c: Likewise.
23317         * math/e_jnl.c: Likewise.
23318         * math/e_lgammal_r.c: Likewise.
23319         * math/e_log10l.c: Likewise.
23320         * math/e_log2l.c: Likewise.
23321         * math/e_logl.c: Likewise.
23322         * math/e_powl.c: Likewise.
23323         * math/e_rem_pio2l.c: Likewise.
23324         * math/e_sinhl.c: Likewise.
23325         * math/e_sqrtl.c: Likewise.
23326         * math/fclrexcpt.c: Likewise.
23327         * math/fedisblxcpt.c: Likewise.
23328         * math/feenablxcpt.c: Likewise.
23329         * math/fegetenv.c: Likewise.
23330         * math/fegetexcept.c: Likewise.
23331         * math/fegetround.c: Likewise.
23332         * math/feholdexcpt.c: Likewise.
23333         * math/fesetenv.c: Likewise.
23334         * math/fesetround.c: Likewise.
23335         * math/feupdateenv.c: Likewise.
23336         * math/fgetexcptflg.c: Likewise.
23337         * math/fraiseexcpt.c: Likewise.
23338         * math/fsetexcptflg.c: Likewise.
23339         * math/ftestexcept.c: Likewise.
23340         * math/k_cosl.c: Likewise.
23341         * math/k_rem_pio2l.c: Likewise.
23342         * math/k_sinl.c: Likewise.
23343         * math/k_tanl.c: Likewise.
23344         * math/s_asinhl.c: Likewise.
23345         * math/s_atanl.c: Likewise.
23346         * math/s_cbrtl.c: Likewise.
23347         * math/s_erfl.c: Likewise.
23348         * math/s_expm1l.c: Likewise.
23349         * math/s_log1pl.c: Likewise.
23350         * math/s_tanhl.c: Likewise.
23351         * misc/acct.c: Likewise.
23352         * misc/brk.c: Likewise.
23353         * misc/chflags.c: Likewise.
23354         * misc/chroot.c: Likewise.
23355         * misc/fchflags.c: Likewise.
23356         * misc/fgetxattr.c: Likewise.
23357         * misc/flistxattr.c: Likewise.
23358         * misc/fremovexattr.c: Likewise.
23359         * misc/fsetxattr.c: Likewise.
23360         * misc/fsync.c: Likewise.
23361         * misc/ftruncate.c: Likewise.
23362         * misc/futimes.c: Likewise.
23363         * misc/futimesat.c: Likewise.
23364         * misc/getdomain.c: Likewise.
23365         * misc/getdtsz.c: Likewise.
23366         * misc/gethostid.c: Likewise.
23367         * misc/gethostname.c: Likewise.
23368         * misc/getloadavg.c: Likewise.
23369         * misc/getpagesize.c: Likewise.
23370         * misc/getsysstats.c: Likewise.
23371         * misc/getxattr.c: Likewise.
23372         * misc/gtty.c: Likewise.
23373         * misc/ioctl.c: Likewise.
23374         * misc/lgetxattr.c: Likewise.
23375         * misc/listxattr.c: Likewise.
23376         * misc/llistxattr.c: Likewise.
23377         * misc/lremovexattr.c: Likewise.
23378         * misc/lsetxattr.c: Likewise.
23379         * misc/lutimes.c: Likewise.
23380         * misc/madvise.c: Likewise.
23381         * misc/mincore.c: Likewise.
23382         * misc/mlock.c: Likewise.
23383         * misc/mlockall.c: Likewise.
23384         * misc/mmap.c: Likewise.
23385         * misc/mprotect.c: Likewise.
23386         * misc/msync.c: Likewise.
23387         * misc/munlock.c: Likewise.
23388         * misc/munlockall.c: Likewise.
23389         * misc/munmap.c: Likewise.
23390         * misc/preadv.c: Likewise.
23391         * misc/preadv64.c: Likewise.
23392         * misc/ptrace.c: Likewise.
23393         * misc/pwritev.c: Likewise.
23394         * misc/pwritev64.c: Likewise.
23395         * misc/readv.c: Likewise.
23396         * misc/reboot.c: Likewise.
23397         * misc/remap_file_pages.c: Likewise.
23398         * misc/removexattr.c: Likewise.
23399         * misc/revoke.c: Likewise.
23400         * misc/select.c: Likewise.
23401         * misc/setdomain.c: Likewise.
23402         * misc/setegid.c: Likewise.
23403         * misc/seteuid.c: Likewise.
23404         * misc/sethostid.c: Likewise.
23405         * misc/sethostname.c: Likewise.
23406         * misc/setregid.c: Likewise.
23407         * misc/setreuid.c: Likewise.
23408         * misc/setxattr.c: Likewise.
23409         * misc/sstk.c: Likewise.
23410         * misc/stty.c: Likewise.
23411         * misc/swapoff.c: Likewise.
23412         * misc/swapon.c: Likewise.
23413         * misc/sync.c: Likewise.
23414         * misc/syncfs.c: Likewise.
23415         * misc/syscall.c: Likewise.
23416         * misc/truncate.c: Likewise.
23417         * misc/ualarm.c: Likewise.
23418         * misc/usleep.c: Likewise.
23419         * misc/ustat.c: Likewise.
23420         * misc/utimes.c: Likewise.
23421         * misc/vhangup.c: Likewise.
23422         * misc/writev.c: Likewise.
23423         * posix/_exit.c: Likewise.
23424         * posix/alarm.c: Likewise.
23425         * posix/execve.c: Likewise.
23426         * posix/fexecve.c: Likewise.
23427         * posix/fork.c: Likewise.
23428         * posix/fpathconf.c: Likewise.
23429         * posix/getaddrinfo.c: Likewise.
23430         * posix/getegid.c: Likewise.
23431         * posix/geteuid.c: Likewise.
23432         * posix/getgid.c: Likewise.
23433         * posix/getgroups.c: Likewise.
23434         * posix/getlogin.c: Likewise.
23435         * posix/getlogin_r.c: Likewise.
23436         * posix/getpgid.c: Likewise.
23437         * posix/getpid.c: Likewise.
23438         * posix/getppid.c: Likewise.
23439         * posix/getresgid.c: Likewise.
23440         * posix/getresuid.c: Likewise.
23441         * posix/getsid.c: Likewise.
23442         * posix/getuid.c: Likewise.
23443         * posix/glob64.c: Likewise.
23444         * posix/nanosleep.c: Likewise.
23445         * posix/pathconf.c: Likewise.
23446         * posix/pause.c: Likewise.
23447         * posix/posix_madvise.c: Likewise.
23448         * posix/pread.c: Likewise.
23449         * posix/pread64.c: Likewise.
23450         * posix/pwrite.c: Likewise.
23451         * posix/pwrite64.c: Likewise.
23452         * posix/sched_getaffinity.c: Likewise.
23453         * posix/sched_getp.c: Likewise.
23454         * posix/sched_gets.c: Likewise.
23455         * posix/sched_primax.c: Likewise.
23456         * posix/sched_primin.c: Likewise.
23457         * posix/sched_rr_gi.c: Likewise.
23458         * posix/sched_setaffinity.c: Likewise.
23459         * posix/sched_setp.c: Likewise.
23460         * posix/sched_sets.c: Likewise.
23461         * posix/sched_yield.c: Likewise.
23462         * posix/setgid.c: Likewise.
23463         * posix/setlogin.c: Likewise.
23464         * posix/setpgid.c: Likewise.
23465         * posix/setresgid.c: Likewise.
23466         * posix/setresuid.c: Likewise.
23467         * posix/setsid.c: Likewise.
23468         * posix/setuid.c: Likewise.
23469         * posix/sleep.c: Likewise.
23470         * posix/spawni.c: Likewise.
23471         * posix/sysconf.c: Likewise.
23472         * posix/times.c: Likewise.
23473         * posix/wait.c: Likewise.
23474         * posix/wait3.c: Likewise.
23475         * posix/wait4.c: Likewise.
23476         * posix/waitpid.c: Likewise.
23477         * resolv/gai_sigqueue.c: Likewise.
23478         * resource/getpriority.c: Likewise.
23479         * resource/getrlimit.c: Likewise.
23480         * resource/getrusage.c: Likewise.
23481         * resource/nice.c: Likewise.
23482         * resource/setpriority.c: Likewise.
23483         * resource/setrlimit.c: Likewise.
23484         * resource/ulimit.c: Likewise.
23485         * rt/aio_cancel.c: Likewise.
23486         * rt/aio_fsync.c: Likewise.
23487         * rt/aio_read.c: Likewise.
23488         * rt/aio_sigqueue.c: Likewise.
23489         * rt/aio_suspend.c: Likewise.
23490         * rt/aio_write.c: Likewise.
23491         * rt/clock_getres.c: Likewise.
23492         * rt/clock_gettime.c: Likewise.
23493         * rt/clock_nanosleep.c: Likewise.
23494         * rt/clock_settime.c: Likewise.
23495         * rt/lio_listio.c: Likewise.
23496         * rt/mq_close.c: Likewise.
23497         * rt/mq_getattr.c: Likewise.
23498         * rt/mq_notify.c: Likewise.
23499         * rt/mq_open.c: Likewise.
23500         * rt/mq_receive.c: Likewise.
23501         * rt/mq_send.c: Likewise.
23502         * rt/mq_setattr.c: Likewise.
23503         * rt/mq_timedreceive.c: Likewise.
23504         * rt/mq_timedsend.c: Likewise.
23505         * rt/mq_unlink.c: Likewise.
23506         * rt/shm_open.c: Likewise.
23507         * rt/shm_unlink.c: Likewise.
23508         * rt/timer_create.c: Likewise.
23509         * rt/timer_delete.c: Likewise.
23510         * rt/timer_getoverr.c: Likewise.
23511         * rt/timer_gettime.c: Likewise.
23512         * rt/timer_settime.c: Likewise.
23513         * setjmp/__longjmp.c: Likewise.
23514         * setjmp/setjmp.c: Likewise.
23515         * signal/kill.c: Likewise.
23516         * signal/killpg.c: Likewise.
23517         * signal/raise.c: Likewise.
23518         * signal/sigaction.c: Likewise.
23519         * signal/sigaltstack.c: Likewise.
23520         * signal/sigblock.c: Likewise.
23521         * signal/sigignore.c: Likewise.
23522         * signal/sigintr.c: Likewise.
23523         * signal/signal.c: Likewise.
23524         * signal/sigpause.c: Likewise.
23525         * signal/sigpending.c: Likewise.
23526         * signal/sigqueue.c: Likewise.
23527         * signal/sigreturn.c: Likewise.
23528         * signal/sigset.c: Likewise.
23529         * signal/sigsetmask.c: Likewise.
23530         * signal/sigstack.c: Likewise.
23531         * signal/sigsuspend.c: Likewise.
23532         * signal/sigtimedwait.c: Likewise.
23533         * signal/sigvec.c: Likewise.
23534         * signal/sigwait.c: Likewise.
23535         * signal/sigwaitinfo.c: Likewise.
23536         * signal/sysv_signal.c: Likewise.
23537         * socket/accept.c: Likewise.
23538         * socket/accept4.c: Likewise.
23539         * socket/bind.c: Likewise.
23540         * socket/connect.c: Likewise.
23541         * socket/getpeername.c: Likewise.
23542         * socket/getsockname.c: Likewise.
23543         * socket/getsockopt.c: Likewise.
23544         * socket/isfdtype.c: Likewise.
23545         * socket/listen.c: Likewise.
23546         * socket/recv.c: Likewise.
23547         * socket/recvfrom.c: Likewise.
23548         * socket/recvmsg.c: Likewise.
23549         * socket/send.c: Likewise.
23550         * socket/sendmsg.c: Likewise.
23551         * socket/sendto.c: Likewise.
23552         * socket/setsockopt.c: Likewise.
23553         * socket/shutdown.c: Likewise.
23554         * socket/sockatmark.c: Likewise.
23555         * socket/socket.c: Likewise.
23556         * socket/socketpair.c: Likewise.
23557         * stdio-common/ctermid.c: Likewise.
23558         * stdio-common/cuserid.c: Likewise.
23559         * stdio-common/remove.c: Likewise.
23560         * stdio-common/rename.c: Likewise.
23561         * stdio-common/renameat.c: Likewise.
23562         * stdio-common/tempname.c: Likewise.
23563         * stdlib/getcontext.c: Likewise.
23564         * stdlib/makecontext.c: Likewise.
23565         * stdlib/setcontext.c: Likewise.
23566         * stdlib/swapcontext.c: Likewise.
23567         * stdlib/system.c: Likewise.
23568         * streams/fattach.c: Likewise.
23569         * streams/fdetach.c: Likewise.
23570         * streams/getmsg.c: Likewise.
23571         * streams/getpmsg.c: Likewise.
23572         * streams/putmsg.c: Likewise.
23573         * streams/putpmsg.c: Likewise.
23574         * sysdeps/unix/bsd/getpt.c: Likewise.
23575         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23576         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23577         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23579         Likewise.
23580         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23581         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23582         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23583         * sysvipc/msgctl.c: Likewise.
23584         * sysvipc/msgget.c: Likewise.
23585         * sysvipc/msgrcv.c: Likewise.
23586         * sysvipc/msgsnd.c: Likewise.
23587         * sysvipc/semctl.c: Likewise.
23588         * sysvipc/semget.c: Likewise.
23589         * sysvipc/semop.c: Likewise.
23590         * sysvipc/semtimedop.c: Likewise.
23591         * sysvipc/shmat.c: Likewise.
23592         * sysvipc/shmctl.c: Likewise.
23593         * sysvipc/shmdt.c: Likewise.
23594         * sysvipc/shmget.c: Likewise.
23595         * termios/tcdrain.c: Likewise.
23596         * termios/tcflow.c: Likewise.
23597         * termios/tcflush.c: Likewise.
23598         * termios/tcgetattr.c: Likewise.
23599         * termios/tcgetpgrp.c: Likewise.
23600         * termios/tcsendbrk.c: Likewise.
23601         * termios/tcsetattr.c: Likewise.
23602         * termios/tcsetpgrp.c: Likewise.
23603         * time/adjtime.c: Likewise.
23604         * time/clock.c: Likewise.
23605         * time/getitimer.c: Likewise.
23606         * time/gettimeofday.c: Likewise.
23607         * time/setitimer.c: Likewise.
23608         * time/settimeofday.c: Likewise.
23609         * time/stime.c: Likewise.
23610         * time/time.c: Likewise.
23612 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23614         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23615         /usr/old/bin.
23617         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23618         instead of spaces.
23619         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23621 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23623         [BZ #14796]
23624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23625         FE_TONEAREST before applying Dekker multiplication and Knuth
23626         addition.  Clear inexact exceptions and check for exact zero
23627         results afterwards.
23628         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23629         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23631         * math/libm-test.inc (fma_test): Add more tests.
23632         (fma_test_towardzero): Likewise.
23633         (fma_test_downward): Likewise.
23634         (fma_test_upward): Likewise.
23635         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23636         function.
23637         (libc_fesetround): New macro.
23638         (libc_fesetroundf): Likewise.
23639         (libc_fesetroundl): Likewise.
23640         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23641         function.
23642         (libc_fesetround_387): Likewise.
23643         (libc_fesetroundf): New macro.
23644         (libc_fesetround): Likewise.
23645         (libc_fesetroundl): Likewise.
23646         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23647         function.
23648         (libc_fesetroundf): New macro.
23649         (libc_fesetround): Likewise.
23650         (libc_fesetroundl): Likewise.
23651         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23652         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23653         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23654         libm_hidden_ver.
23655         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23656         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23657         libm_hidden_def.
23658         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23659         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23660         libm_hidden_ver.
23661         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23662         libm_hidden_def.
23664         [BZ #3439]
23665         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23666         integer constant usable in #if and use that to give value to enum
23667         constant.
23668         (FE_DIVBYZERO): Likewise.
23669         (FE_UNDERFLOW): Likewise.
23670         (FE_OVERFLOW): Likewise.
23671         (FE_INVALID): Likewise.
23672         (FE_INVALID_SNAN): Likewise.
23673         (FE_INVALID_ISI): Likewise.
23674         (FE_INVALID_IDI): Likewise.
23675         (FE_INVALID_ZDZ): Likewise.
23676         (FE_INVALID_IMZ): Likewise.
23677         (FE_INVALID_COMPARE): Likewise.
23678         (FE_INVALID_SOFTWARE): Likewise.
23679         (FE_INVALID_SQRT): Likewise.
23680         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23681         (FE_TONEAREST): Likewise.
23682         (FE_TOWARDZERO): Likewise.
23683         (FE_UPWARD): Likewise.
23684         (FE_DOWNWARD): Likewise.
23685         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23686         (FE_DIVBYZERO): Likewise.
23687         (FE_OVERFLOW): Likewise.
23688         (FE_UNDERFLOW): Likewise.
23689         (FE_INEXACT): Likewise.
23690         (FE_TONEAREST): Likewise.
23691         (FE_DOWNWARD): Likewise.
23692         (FE_UPWARD): Likewise.
23693         (FE_TOWARDZERO): Likewise.
23694         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23695         (FE_UNDERFLOW): Likewise.
23696         (FE_OVERFLOW): Likewise.
23697         (FE_DIVBYZERO): Likewise.
23698         (FE_INVALID): Likewise.
23699         (FE_TONEAREST): Likewise.
23700         (FE_TOWARDZERO): Likewise.
23701         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23702         (FE_OVERFLOW): Likewise.
23703         (FE_UNDERFLOW): Likewise.
23704         (FE_DIVBYZERO): Likewise.
23705         (FE_INEXACT): Likewise.
23706         (FE_TONEAREST): Likewise.
23707         (FE_TOWARDZERO): Likewise.
23708         (FE_UPWARD): Likewise.
23709         (FE_DOWNWARD): Likewise.
23710         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23711         (FE_DIVBYZERO): Likewise.
23712         (FE_OVERFLOW): Likewise.
23713         (FE_UNDERFLOW): Likewise.
23714         (FE_INEXACT): Likewise.
23715         (FE_TONEAREST): Likewise.
23716         (FE_DOWNWARD): Likewise.
23717         (FE_UPWARD): Likewise.
23718         (FE_TOWARDZERO): Likewise.
23720 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
23722         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23724 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
23726         * scripts/cross-test-ssh.sh (command): Use newlines to separate
23727         commands.  Quote $PWD.
23728         (blacklist_exports): Don't use remove_newlines.  Replace "declare
23729         -x" by "export".
23730         (remove_newlines): Remove.
23732 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
23734         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23735         * stdlib/stdlib.h (atof): Moved to ...
23736         * include/bits/stdlib-float.h: Here.  New file.
23737         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23738         * stdlib/bits/stdlib-float.h: New file.
23739         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23740         -mno-sse -mno-mmx.
23741         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23742         <xmmintrin.h>.
23744 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23746         * conform/conformtest.pl (@headers): Add fenv.h.
23747         * conform/data/fenv.h-data: New file.
23748         * include/fenv.h [_ISOMAC]: Disable all contents of file except
23749         include of <math/fenv.h>.
23751         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23752         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23753         && !UNIX98].  Enables tests for XOPEN2K8.
23754         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23755         POSIX2008]: Likewise.
23757         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23758         (struct rusage): Do not expect type or its members.
23760         [BZ #3439]
23761         * math/math.h (FP_NAN): Define macro to integer constant usable in
23762         #if and use that to give value to enum constant.
23763         (FP_INFINITE): Likewise.
23764         (FP_ZERO): Likewise.
23765         (FP_SUBNORMAL): Likewise.
23766         (FP_NORMAL): Likewise.
23768 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23770         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23771         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23772         arguments.
23774 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23776         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23777         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23778         autoconf-time if not.
23779         * configure.in: Remove AC_PREREQ.
23781 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23783         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23784         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23785         of the internal implementation.
23787 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23789         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23790         except include of <misc/sys/syslog.h>.
23792 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23795         function returns with a NULL context exit with zero.
23797 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23799         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23801 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23803         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23804         (run_program_cmd): This.
23805         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23806         (tst_langinfo): New variable.  Use it.
23808 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23810         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23811         floating point opcodes.
23813 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23815         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23816         variable.
23818         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23820         * sysdeps/mach/hurd/powerpc: Remove directory.
23821         * sysdeps/mach/powerpc: Likewise.
23823 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23825         * scripts/check-local-headers.sh: Ignore c++ headers.
23827 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23829         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23830         __libc_cleanup_region_start argument.
23832 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23834         [BZ #14784]
23835         [BZ #14785]
23836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23837         x * y using scaling, not as x * y + z.
23838         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23839         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23840         * math/libm-test.inc (fma_test): Add more tests.
23841         (fma_test_towardzero): Likewise.
23842         (fma_test_downward): Likewise.
23843         (fma_test_upward): Likewise.
23845 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23847         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23849 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23851         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23852         New variable.
23854 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23856         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23858 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23861         Fix sort order.
23862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23863         Likewise.
23865 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23868         Fix the order of the list for glibc 2.17.
23869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23870         Likewise.
23872 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23876 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23878         [BZ #14610]
23879         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23880         for low part of x being zero before using __atanl (y).
23881         * math/libm-test.inc (atan2_test): Add another test.
23883         * manual/install.texi (Configuring and compiling): Document
23884         general use of test-wrapper and test-wrapper-env.
23885         * INSTALL: Regenerated.
23887         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23888         (__fma): Do not extract and scale down low bits on after-rounding
23889         systems when result rounded to normal precision would have normal
23890         exponent.
23891         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23892         (__fmal): Do not extract and scale down low bits on after-rounding
23893         systems when result rounded to normal precision would have normal
23894         exponent.
23895         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23896         (__fmal): Do not extract and scale down low bits on after-rounding
23897         systems when result rounded to normal precision would have normal
23898         exponent.
23899         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23900         macro.
23901         (fma_test): Add more tests.
23902         (fma_test_towardzero): Likewise.
23903         (fma_test_downward): Likewise.
23904         (fma_test_upward): Likewise.
23906 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23908         * sysdeps/i386/tininess.h: Renamed to ...
23909         * sysdeps/x86/tininess.h: This.
23910         * sysdeps/x86_64/tininess.h: Removed.
23912 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23914         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23915         input.  Use $(build-program-cmd).
23916         ($(objpfx)tst-array1-static.out): Likewise.
23917         ($(objpfx)tst-array2.out): Likewise.
23918         ($(objpfx)tst-array3.out): Likewise.
23919         ($(objpfx)tst-array4.out): Likewise.
23920         ($(objpfx)tst-array5.out): Likewise.
23921         ($(objpfx)tst-array5-static.out): Likewise.
23923 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23925         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23926         if defined.
23928         * nss/nsswitch.h (nss_interface_function): Provide new
23929         macro for use with NSS functions.
23930         * grp/initgroups.c: Use new macro.
23931         * nss/getXXbyYY.c: Likewise.
23932         * nss/getXXbyYY_r.c: Likewise.
23933         * nss/getXXent.c: Likewise.
23934         * nss/getXXent_r.c: Likewise.
23935         * sysdeps/posix/getaddrinfo.c: Likewise.
23937 2012-10-30  Andreas Jaeger  <aj@suse.de>
23939         * po/ru.po: Update Russion translation from translation project.
23941 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23943         [BZ #14152]
23944         [BZ #14783]
23945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23946         result and shift together with sticky bit instead of replicating
23947         round-to-nearest rounding.
23948         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23949         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23950         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23951         missing underflow exceptions.
23952         (fma_test_towardzero): Add more tests.
23953         (fma_test_downward): Likewise.
23954         (fma_test_upward): Likewise.
23956         [BZ #14047]
23957         * sysdeps/generic/tininess.h: New file.
23958         * sysdeps/i386/tininess.h: Likewise.
23959         * sysdeps/sh/tininess.h: Likewise.
23960         * sysdeps/x86_64/tininess.h: Likewise.
23961         * stdlib/tst-strtod-underflow.c: Likewise.
23962         * stdlib/tst-tininess.c: Likewise.
23963         * stdlib/strtod_l.c: Include <tininess.h>.
23964         (round_and_return): Do not set errno for exact underflow cases.
23965         Force an underflow exception when setting errno for underflow.
23966         Determine underflow based on rounding to normal precision if
23967         TININESS_AFTER_ROUNDING.
23968         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23969         ERANGE for exact underflow cases.
23970         * stdlib/Makefile (tests): Add tst-tininess and
23971         tst-strtod-underflow.
23972         ($(objpfx)tst-tininess): Use $(link-libm).
23973         ($(objpfx)tst-strtod-underflow): Likewise.
23975 2012-10-30  Andreas Jaeger  <aj@suse.de>
23977         [BZ#14767]
23978         * elf/Makefile (tests): Remove conditional for have-initfini-array
23979         since this is now always required and the variable does not exist
23980         anymore.
23981         (tests-static): Likewise.
23982         (modules-names): Likewise.
23984         * po/eo.po: Add Esperanto translation from translation project.
23986         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23987         merged with constructor/destructor.
23988         (init_array): Likewise.
23989         * elf/tst-array2dep.c (fini_array): Likewise.
23990         (init_array): Likewise.
23992 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23994         * manual/message.texi: Delete @cartouche tags.
23996 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23998         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23999         EOPNOTSUPP.
24000         * sysdeps/mach/hurd/fsync.c: Likewise.
24002         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24003         [_POSIX_REALTIME_SIGNALS]: Change condition to
24004         [_POSIX_REALTIME_SIGNALS > 0].
24006 2012-10-27  Andreas Jaeger  <aj@suse.de>
24008         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24009         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24010         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24011         [__WORDSIZE != 64]: Likewise.
24013 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24015         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24016         *  iconvdata/tst-tables.sh: Likewise.
24018 2012-10-25  David S. Miller  <davem@davemloft.net>
24020         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24021         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24022         of strtoull.
24024         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24025         ifunc-impl-list.c
24026         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24027         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24028         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24029         file.
24031 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24034         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24035         __getdirentries.
24037 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24038             Jim Blandy  <jimb@codesourcery.com>
24040         * scripts/cross-test-ssh.sh: New file.
24041         * manual/install.texi (Configuring and compiling): Document use of
24042         cross-test-ssh.sh.
24043         * INSTALL: Regenerated.
24045 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24047         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24048         EOPNOTSUPP.
24050 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24052         * Makeconfig (run-program-prefix): Fix comment.
24054 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24055             Jim Blandy  <jimb@codesourcery.com>
24057         * Makeconfig (test-wrapper): New variable,
24058         (test-wrapper-env): Likewise.
24059         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24060         (run-built-tests): Define to yes.
24061         (run-program-prefix): Use $(test-wrapper).
24062         (built-program-cmd): Likewise.
24063         * Rules (make-test-out): Use $(test-wrapper-env) and
24064         $(host-built-program-cmd).
24065         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24066         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24067         tst-pathopt.sh.
24068         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24069         $(test-wrapper-env) to tst-rtld-load-self.sh.
24070         ($(objpfx)order2.out): Use $(test-wrapper).
24071         ($(objpfx)tst-initorder.out): Likewise.
24072         ($(objpfx)tst-initorder2.out): Likewise.
24073         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24074         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24075         (test_wrapper_env): New variable.  Use it to run ld.so.
24076         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24077         Use it to run ld.so.
24078         (test_wrapper_env): Likewise.
24079         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24080         $(test-wrapper) to run-iconv-test.sh.
24081         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24082         (ICONV): Use $test_wrapper.
24083         * posix/Makefile ($(objpfx)globtest.out): Pass
24084         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24085         globtest.sh, not $(run-program-prefix).
24086         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24087         (test_wrapper): Likewise.
24088         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24089         set together with run_via_rtld_prefix.
24090         (run_program_prefix): Define in terms of test_wrapper and
24091         run_via_rtld_prefix.
24093 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24095         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24096         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24097         Targets removed.
24099         [BZ #14743]
24100         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24101         Declare __clock_getres, __clock_gettime, __clock_settime,
24102         __clock_nanosleep, and __clock_getcpuclockid.
24103         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24104         Remove librt_hidden_def (clock_gettime).
24105         * sysdeps/unix/clock_gettime.c: Likewise.
24106         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24108         * rt/clock_getres.c: Define __clock_getres as an alias.
24109         * sysdeps/posix/clock_getres.c: Likewise.
24110         * rt/clock_settime.c: Define __clock_settime as an alias.
24111         * sysdeps/unix/clock_settime.c: Likewise.
24112         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24113         * sysdeps/unix/clock_nanosleep.c: Likewise.
24114         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24115         * rt/clock-compat.c: New file.
24116         * rt/Makefile (librt-routines): Add clock-compat and move
24117         $(clock-routines) to ...
24118         (routines): ... here, new variable.
24119         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24120         Don't add get_clockfreq here.
24121         * rt/Versions (libc: GLIBC_2.17): New version set.
24122         Add clock_* symbols here.
24123         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24125         (GLIBC_2.17): Add clock_* symbols.
24126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24128         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24130         Likewise.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24132         Likewise.
24133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24137         * NEWS: Mention the move.
24139         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24140         Use __open, __read, __close rather than their public counterparts.
24141         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24142         (__get_clockfreq_via_cpuinfo): Likewise.
24143         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24144         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24146         * config.h.in (HAVE_IFUNC): New #undef.
24147         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24148         was successful.
24149         * configure: Regenerated.
24151 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24153         * configure.in: Move READELF check to start of file.
24154         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24155         libc_cv_asm_gnu_indirect_function in the process.
24156         * configure: Regenerated.
24158 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24160         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24161         send the output to /dev/null.
24162         (libc_cv_cc_with_libunwind): Likewise.
24163         (libc_cv_as_noexecstack): Likewise.
24164         * configure: Regenerate.
24166 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24168         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24170         * posix/globtest.sh (TMPDIR): Do not set.
24171         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24172         (testout): Likewise.
24174 2012-10-24  Andreas Jaeger  <aj@suse.de>
24176         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24177         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24178         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24179         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24180         posix_fadvise64, posix_fallocate64.
24182         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24183         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24184         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24185         Likewise.
24186         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24187         Likewise.
24188         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24190         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24191         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24192         <bits/fcntl-linux.h>.
24193         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24195         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24196         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24197         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24198         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24199         [__WORDSIZE != 64]: Likewise.
24201 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24203         * Makeconfig (run-built-tests): New variable.
24204         * Rules [$(cross-compiling) = yes]: Change condition to
24205         [$(run-built-tests) = no].
24206         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24207         to [$(run-built-tests) = yes].
24208         * elf/Makefile [$(cross-compiling) = no]: Likewise
24209         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24210         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24211         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24212         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24213         * io/Makefile [$(cross-compiling) = no]: Likewise.
24214         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24215         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24216         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24217         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24218         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24219         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24220         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24221         * string/Makefile [$(cross-compiling) = no]: Likewise.
24223         * posix/Makefile ($(objpfx)globtest.out): Pass
24224         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24225         $(rtld-installed-name).
24226         * posix/globtest.sh (elf_objpfx): Remove variable.
24227         (rtld_installed_name): Likewise.
24228         (library_path): Likewise.
24229         (run_program_prefix): New variable.  Use for running globtest
24230         binary.
24232 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24233             Joseph Myers  <joseph@codesourcery.com>
24235         * Makeconfig (host-built-program-cmd): New variable.
24236         * elf/Makefile (tst-stackguard1-ARGS): Use
24237         $(host-built-program-cmd).
24238         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24239         (tst-spawn-ARGS): Likewise.
24240         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24242 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24243             Jim Blandy  <jimb@codesourcery.com>
24245         * Makeconfig (run-via-rtld-prefix): New variable.
24246         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24247         (built-program-cmd): Likewise.
24249 2012-10-22  Andreas Jaeger  <aj@suse.de>
24251         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24252         __O_RSYNC if it exists, otherwise to O_SYNC.
24254 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24255             Joseph Myers  <joseph@codesourcery.com>
24257         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24258         /dev/null.
24259         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24260         from /dev/null
24261         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24262         /dev/null.
24264 2012-10-22  Andreas Jaeger  <aj@suse.de>
24266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24267         Define always.
24268         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24271         bits/fcntl-linux.h.
24273         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24274         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24276         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24277         to __O_LARGEFILE.
24278         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24279         to __O_LARGEFILE.
24281 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24282             Joseph Myers  <joseph@codesourcery.com>
24284         * config.make.in (NM): New variable.
24286 2012-10-21  Andreas Jaeger  <aj@suse.de>
24288         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24289         definitions and declarations that are provided by
24290         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24292 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24294         [BZ #14683]
24295         * elf/Makefile (tests-static): Add tst-leaks1-static.
24296         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24297         ($(objpfx)tst-leaks1-static): New rule.
24298         ($(objpfx)tst-leaks1-static-mem): Likewise.
24299         (tst-leaks1-static-ENV): New macro.
24300         * elf/dl-open.c (dl_open_worker): Check the main application
24301         only if SHARED is defined.
24302         * elf/tst-leaks1-static.c: New file.
24304 2012-10-20  Andreas Jaeger  <aj@suse.de>
24306         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24307         generic values for Linux.
24308         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24309         and declarations that are provided by <bits/fcntl-linux.h> and
24310         include <bits/fcntl-linux.h>.
24311         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24312         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24314 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24316         * io/fcntl.h: Move include of <bits/types.h> to the top and
24317         include it unconditionally.
24319 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24321         * wcsmbs/Makefile (tests-ifunc): New variable.
24322         (tests): Add $(tests-ifunc).
24323         * wcsmbs/test-wcschr-ifunc.c: New file.
24324         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24325         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24326         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24327         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24328         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24330         * string/Makefile (tests-ifunc): New variable.
24331         (tests): Add $(tests-ifunc).
24332         * string/test-memccpy.c (TEST_NAME): New macro.
24333         * string/test-memchr.c (TEST_NAME): Likewise.
24334         * string/test-memcmp.c (TEST_NAME): Likewise.
24335         * string/test-memcpy.c (TEST_NAME): Likewise.
24336         * string/test-memmem.c (TEST_NAME): Likewise.
24337         * string/test-memmove.c (TEST_NAME): Likewise.
24338         * string/test-memset.c (TEST_NAME): Likewise.
24339         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24340         * string/test-stpcpy.c (TEST_NAME): Likewise.
24341         * string/test-stpncpy.c (TEST_NAME): Likewise.
24342         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24343         * string/test-strcasestr.c (TEST_NAME): Likewise.
24344         * string/test-strcat.c (TEST_NAME): Likewise.
24345         * string/test-strchr.c (TEST_NAME): Likewise.
24346         * string/test-strcmp.c(TEST_NAME): Likewise.
24347         * string/test-strcpy.c (TEST_NAME): Likewise.
24348         * string/test-strcspn.c (TEST_NAME): Likewise.
24349         * string/test-strlen.c (TEST_NAME): Likewise.
24350         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24351         * string/test-strncmp.c (TEST_NAME): Likewise.
24352         * string/test-strncpy.c (TEST_NAME): Likewise.
24353         * string/test-strnlen.c (TEST_NAME): Likewise.
24354         * string/test-strpbrk.c (TEST_NAME): Likewise.
24355         * string/test-strrchr.c (TEST_NAME): Likewise.
24356         * string/test-strspn.c (TEST_NAME): Likewise.
24357         * string/test-strstr.c (TEST_NAME): Likewise.
24358         * string/test-bcopy-ifunc.c: New file.
24359         * string/test-bzero-ifunc.c: Likewise.
24360         * string/test-memccpy-ifunc.c: Likewise.
24361         * string/test-memchr-ifunc.c: Likewise.
24362         * string/test-memcmp-ifunc.c: Likewise.
24363         * string/test-memcpy-ifunc.c: Likewise.
24364         * string/test-memmem-ifunc.c: Likewise.
24365         * string/test-memmove-ifunc.c: Likewise.
24366         * string/test-mempcpy-ifunc.c: Likewise.
24367         * string/test-memset-ifunc.c: Likewise.
24368         * string/test-rawmemchr-ifunc.c: Likewise.
24369         * string/test-stpcpy-ifunc.c: Likewise.
24370         * string/test-stpncpy-ifunc.c: Likewise.
24371         * string/test-strcasecmp-ifunc.c: Likewise.
24372         * string/test-strcasestr-ifunc.c: Likewise.
24373         * string/test-strcat-ifunc.c: Likewise.
24374         * string/test-strchr-ifunc.c: Likewise.
24375         * string/test-strchrnul-ifunc.c: Likewise.
24376         * string/test-strcmp-ifunc.c: Likewise.
24377         * string/test-strcpy-ifunc.c: Likewise.
24378         * string/test-strcspn-ifunc.c: Likewise.
24379         * string/test-strlen-ifunc.c: Likewise.
24380         * string/test-strncasecmp-ifunc.c: Likewise.
24381         * string/test-strncat-ifunc.c: Likewise.
24382         * string/test-strncmp-ifunc.c: Likewise.
24383         * string/test-strncpy-ifunc.c: Likewise.
24384         * string/test-strnlen-ifunc.c: Likewise.
24385         * string/test-strpbrk-ifunc.c: Likewise.
24386         * string/test-strrchr-ifunc.c: Likewise.
24387         * string/test-strspn-ifunc.c: Likewise.
24388         * string/test-strstr-ifunc.c: Likewise.
24390         * debug/Makefile (tests-ifunc): New variable.
24391         (tests): Add $(tests-ifunc).
24392         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24393         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24394         * debug/test-stpcpy_chk-ifunc.c: New file.
24395         * debug/test-strcpy_chk-ifunc.c: Likewise.
24397 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24399         [BZ #13601]
24400         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24401         header is not read in.
24403 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24405         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24406         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24407         directly.  Pass built executable to script as
24408         $(built-program-cmd).
24409         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24410         $testprogram without using LD_LIBRARY_PATH and $ldso.
24412         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24413         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24414         $(rtld-installed-name).
24415         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24416         (rtld_installed_name): Likewise.
24417         (library_path): Likewise.
24418         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24419         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24420         $(run-program-prefix) to tst-tables.sh.
24421         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24422         it to run tst-table-from and tst-table-to.
24423         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24424         Pass it to tst-table.sh.
24425         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24426         $(run-program-prefix) to tst-gettext.sh.
24427         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24428         tst-translit.sh.
24429         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24430         tst-gettext2.sh.
24431         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24432         to run tst-gettext.
24433         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24434         to run tst-gettext2.
24435         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24436         to run tst-translit.
24437         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24438         $(run-program-prefix) to tst-mtrace.sh.
24439         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24440         to run tst-mtrace.
24441         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24442         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24443         $(rtld-installed-name).
24444         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24445         (rtld_installed_name): Likewise.
24446         (run_program_prefix): New variable.  Use it to run wordexp-test.
24448         * Makeconfig (ARCH): Remove all definitions.
24449         (machine): Likewise.
24450         [ARCH]: Remove conditional code.
24451         [!objdir]: Give error.
24452         [!objdir] (objpfx): Remove.
24453         [!objdir] (common-objpfx): Likewise.
24454         [!objdir] (common-objdir): Likewise.
24455         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24456         AC_CONFIG_FILES call.
24457         * configure: Regenerated.
24459         [BZ #13888]
24460         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24461         or TMPDIR.
24462         (testout): Likewise.
24464         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24465         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24466         $(rtld-installed-name).
24467         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24468         (rtld_installed_name): Likwise.
24469         (runit): Remove function.
24470         (run_getconf): New variable,  Use it for running getconf binary.
24472 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24474         [BZ #14716]
24475         * string/test-memmem.c (check_result): New function.
24476         (do_one_test): Use it.
24477         (check1): New function.
24478         (test_main): Use it.
24480 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24482         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24484 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24486         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24487         (_G_LSEEK64): Likewise.
24488         (_G_MMAP64): Likewise.
24489         (_G_FSTAT64): Likewise.
24490         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24491         (_G_LSEEK64): Likewise.
24492         (_G_MMAP64): Likewise.
24493         (_G_FSTAT64): Likewise.
24494         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24495         unconditional.  Call __mmap64 directly.
24496         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24497         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24498         __lseek64 directly.
24499         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24500         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24501         __mmap64 directly.
24502         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24503         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24504         __lseek64 directly.
24505         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24506         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24507         __lseek64 directly.
24508         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24509         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24510         __lseek64 directly.
24511         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24512         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24513         __fxstat64 directly.
24514         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24515         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24516         unconditional.
24517         (freopen64) [!_G_OPEN64]: Remove conditional code.
24518         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24519         unconditional.
24520         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24521         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24522         unconditional.
24523         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24524         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24525         unconditional.
24526         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24527         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24528         unconditional.
24529         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24530         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24531         unconditional.
24532         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24533         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24534         unconditional.
24535         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24536         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24537         unconditional.
24538         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24540 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24542         [BZ #12140]
24543         * manual/memory.texi (Malloc Tunable Parameters): Add note
24544         about free list pointers overwriting some perturb bytes.
24545         Wording suggested by Roland McGrath.
24547 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24549         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24550         (lgamma_test): Likewise.
24551         (tgamma_test): Likewise.
24553 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24555         [BZ #14700]
24556         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24557         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24559 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24561         * NEWS: Mention BZ #14716.
24562         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24563         when removing AVAILABLE1_USES_J macro.
24565 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24567         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24568         (__bswap_64): __uint64_t for unsigned 64-bit int.
24570 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24572         * include/string.h (memmem): Declare libc hidden alias.
24573         * string/memmem.c (memmem): Define libc hidden alias.
24574         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24575         __read, __close instead of open, read, close.
24577 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24580         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24581         global and hidden.
24582         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24583         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24584         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24585         Likewise.
24586         (__rawmemchr_sse2): Likewise.
24587         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24588         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24589         (__strchr_sse2): Likewise.
24590         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24591         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24592         (__strcasecmp_sse2): Likewise.
24593         (__strncasecmp_sse2): Likewise.
24594         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24595         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24596         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24597         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24598         (__strrchr_sse2): Likewise.
24599         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24600         ifunc-impl-list.c.
24601         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24602         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24603         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24604         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24605         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24606         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24607         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24608         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24609         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24610         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24611         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24612         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24613         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24614         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24615         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24616         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24617         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24618         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24619         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24620         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24621         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24622         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24623         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24624         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24625         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24626         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24627         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24628         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24629         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24630         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24632         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24633         global and hidden.
24634         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24635         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24636         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24637         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24638         Likewise.
24639         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24640         Likewise.
24641         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24642         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24643         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24644         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24645         ifunc-impl-list.c.
24646         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24647         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24648         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24649         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24650         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24651         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24652         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24653         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24654         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24655         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24656         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24657         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24658         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24659         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24660         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24661         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24662         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24663         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24664         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24665         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24666         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24667         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24668         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24669         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24670         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24671         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24672         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24673         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24674         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24675         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24676         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24677         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24678         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24679         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24680         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24681         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24682         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24683         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24684         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24685         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24686         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24688         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24689         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24690         * include/ifunc-impl-list.h: New file.
24691         * misc/ifunc-impl-list.c: Likewise.
24692         * misc/Makefile (routines): Add ifunc-impl-list.
24693         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24694         * string/test-string.h: Include <ifunc-impl-list.h>.
24695         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24696         TEST_NAME]: New variables.
24697         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24698         are defined.
24699         (test_init): Call __libc_ifunc_impl_list to initialize
24700         func_list if TEST_IFUNC and TEST_NAME are defined.
24702         * string/Makefile (strop-tests): Add bcopy and bzero.
24703         * string/test-bcopy.c: New file.
24704         * string/test-bzero.c: Likewise.
24705         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24706         defined.
24707         * string/test-memset.c: Support bzero test if TEST_BZERO is
24708         defined.
24709         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24710         __libc_memmove.
24711         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24712         __libc_memset.
24713         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24714         of memset.
24716 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
24718         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24719         * configure: Regenerated.
24721         * Makeconfig (+link-static-before-libc): Don't include
24722         $(link-static-libc).
24724         * libio/libio.h (_IO_pos_t): Remove.
24726 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24728         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
24729         McGrath.
24731 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24733         * crypt/crypt-entry.c: Include fips-private.h.
24734         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24735         * crypt/md5c-test.c (main): Tolerate disabled MD5.
24736         * sysdeps/unix/sysv/linux/fips-private.h: New file.
24737         * sysdeps/generic/fips-private.h: New file, dummy fallback.
24739 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24741         * crypt/crypt-private.h: Include stdbool.h.
24742         (_ufc_setup_salt_r): Return bool.
24743         * crypt/crypt-entry.c: Include errno.h.
24744         (__crypt_r): Return NULL with EINVAL for bad salt.
24745         * crypt/crypt_util.c (bad_for_salt): New.
24746         (_ufc_setup_salt_r): Check that salt is long enough and within
24747         the specified alphabet.
24748         * crypt/badsalttest.c: New file.
24749         * crypt/Makefile (tests): Add it.
24750         ($(objpfx)badsalttest): New.
24752 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24754         * NEWS: Add entry for BZ #14602.
24756 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24758         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24759         type-generic.
24760         * math/libm-test.inc: Update comment listing what functions and
24761         macros are tested.
24762         (isgreater_test): New function.
24763         (isgreaterequal_test): Likewise.
24764         (isless_test): Likewise.
24765         (islessequal_test): Likewise.
24766         (islessgreater_test): Likewise.
24767         (isunordered_test): Likewise.
24768         (main): Call the new functions.
24770 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24772         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24773         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24774         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24775         * sysdeps/i386/configure: Regenerated.
24776         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24777         * sysdeps/mach/configure: Regenerated.
24778         * sysdeps/mach/hurd/configure: Regenerated.
24779         * sysdeps/powerpc/configure: Regenerated.
24780         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24781         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24782         * sysdeps/s390/s390-32/configure: Regenerated.
24783         * sysdeps/s390/s390-64/configure: Regenerated.
24784         * sysdeps/sh/configure: Regenerated.
24785         * sysdeps/sparc/configure: Regenerated.
24786         * sysdeps/unix/sysv/linux/configure: Regenerated.
24787         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24788         * sysdeps/x86_64/configure: Regenerated.
24790         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24791         defined.  Don't check if MAP is NULL.
24793 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24795         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24796         (_G_stat64): Likewise.
24797         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24798         (_G_stat64): Likewise.
24799         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24800         instead of struct _G_stat64.
24801         * libio/fileops.c (mmap_remap_check): Likewise.
24802         (decide_maybe_mmap): Likewise.
24803         (_IO_new_file_seekoff): Likewise.
24804         (_IO_file_stat): Likewise.
24805         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24806         _G_off64_t.
24807         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24808         instead of struct _G_stat64.
24809         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24811 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24813         [BZ #14602]
24814         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24815         Replace with ...
24816         (CHECK_EOL): New macro.
24817         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24818         CHECK_EOL.
24819         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24820         Replace with CHECK_EOL.
24821         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24822         Replace with CHECK_EOL.
24824 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24826         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24827         type-generic.
24828         * math/libm-test.inc: Update comment listing what functions and
24829         macros are tested.
24830         (finite_test): New function.
24831         (isinf_test): Likewise.
24832         (isnan_test): Likewise.
24833         (fpclassify_test): Test subnormal input.
24834         (isfinite_test): Likewise.
24835         (isnormal_test): Likewise.
24836         (main): Call the new functions.
24838 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24840         [BZ #14660]
24841         * Makerules (%.dynsym): Force C locale when running
24842         $(OBJDUMP) --dynamic-syms.
24844 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24846         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24847         <stdint.h>.
24849 2012-10-06  David S. Miller  <davem@davemloft.net>
24851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24852         upper 32-bits of the length value in %o2 since we use branch-on-register
24853         tests which consider the entire 64-bit register.
24855 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24857         * string/test-strstr.c (check2): Add a test for page boundary.
24859 2012-10-05  David S. Miller  <davem@davemloft.net>
24861         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24862         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24863         file.
24864         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24865         sysdep_routines.
24866         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24867         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24868         and bzero when HWCAP_SPARC_CRYPTO is present.
24870 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24872         [BZ #14602]
24873         * string/test-strstr.c (check2): New function.
24874         (test_main): Call check2.
24876         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24877         and bug-strchr1.
24878         * string/bug-strcasestr1.c (do_test): Moved to ...
24879         * string/test-strcasestr.c (check1): Here.  New function.
24880         (do_one_test): Break out result checking code into ...
24881         (check_result): This.  New function.
24882         (do_one_test): Call check_result.
24883         (test_main): Call check1.
24884         * string/bug-strchr1.c (do_test): Moved to ...
24885         * string/test-strchr.c (check1): Here.  New function.
24886         (do_one_test): Break out result checking code into ...
24887         (check_result): This.  New function.
24888         (do_one_test): Call check_result.
24889         (test_main): Call check1.
24890         * string/bug-strstr1.c (main): Moved to ...
24891         * string/test-strstr.c (check1): Here.  New function.
24892         (do_one_test): Break out result checking code into ...
24893         (check_result): This.  New function.
24894         (do_one_test): Call check_result.
24895         (test_main): Call check1.
24896         * string/bug-strcasestr1.c: Removed.
24897         * string/bug-strchr1.c: Likewise.
24898         * string/bug-strstr1.c: Likewise.
24900         * elf/Makefile (dl-routines): Add hwcaps.
24901         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24902         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24903         (_dl_important_hwcaps): Moved to ...
24904         * elf/dl-hwcaps.c: Here.  New file.
24905         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24907         [BZ #14557]
24908         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24909         if IS_IN_rtld isn't defined.
24911         * elf/dl-support.c (_dl_sysinfo_map): New.
24912         Include "get-dynamic-info.h" and "setup-vdso.h".
24913         (_dl_non_dynamic_init): Call setup_vdso.
24914         * elf/dynamic-link.h: Don't include <assert.h>.
24915         (elf_get_dynamic_info): Moved to ...
24916         * elf/get-dynamic-info.h: Here.  New file.
24917         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24918         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24919         * elf/setup-vdso.h: Here.  New file.
24920         * elf/rtld.c: Include "setup-vdso.h".
24921         (dl_main): Call setup_vdso.
24923 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24925         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24926         creal in comment listing functions tested.  List finite, isinf,
24927         isnan, isless, islessequal, isgreater, isgreaterequal,
24928         islessgreater, isunordered, lgamma_r and pow10 as functions and
24929         macros not tested.  Mention which functions not tested are aliases
24930         for other functions.  Fix typo.  Note that signs of NaNs are not
24931         tested.
24933         * scripts/config.guess: Update from config.git.
24934         * scripts/config.sub: Likewise.
24936 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24938         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24939         * misc/madvise.c (madvise): Renamed to __madvise.
24940         Make madvise a weak alias.
24941         * include/sys/mman.h: Declare __madvise.
24942         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24943         * sysdeps/unix/syscalls.list
24944         (madvise): Make __madvise the strong name, and madvise a weak alias.
24945         * sysdeps/unix/sysv/linux/syscalls.list
24946         (madvise, mmap): Remove redundant entries.
24947         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24948         * malloc/malloc.c (mtrim): Likewise.
24949         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24951 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24953         * sysdeps/mach/hurd/dl-cache.c: File removed.
24954         * config.h.in (USE_LDCONFIG): New #undef.
24955         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24956         * configure: Regenerated.
24957         * elf/Makefile (dl-routines): Add dl-cache only under
24958         [$(use-ldconfig) = yes].
24959         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24960         cache on [USE_LDCONFIG].
24961         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24962         [USE_LDCONFIG].
24963         * elf/rtld.c (dl_main): Likewise.
24965 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24967         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24968         _SC_LEVEL4_CACHE_LINESIZE.
24970 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24972         * sysdeps/unix/bsd/confstr.h: File removed.
24974 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24976         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24977         sys/sdt-config.h.
24979 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24981         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24982         Make 'mapoff' field ElfW(Off) rather than off_t.
24984 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24986         * nscd/Makefile: Remove nscd-cflags and all its users.
24987         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24988         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24990         [BZ #10631]
24991         * malloc.c (malloc_printerr): Clarify error message.
24993 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24995         [BZ #14648]
24996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24997         Set bit_FMA_Usable if FMA is supported.
24998         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24999         macro.
25000         (bit_FMA4_Usable): Updated.
25001         (index_FMA_Usable): New macro.
25002         (CPUID_FMA): Likewise
25003         (HAS_FMA): Defined with bit_FMA_Usable.
25005 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25007         * bits/types.h (__swblk_t): Type removed.
25008         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25009         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25011         (__SWBLK_T_TYPE): Likewise.
25012         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25013         (__SWBLK_T_TYPE): Likewise.
25014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25015         (__SWBLK_T_TYPE): Likewise.
25016         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25017         (__SWBLK_T_TYPE): Likewise.
25019 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25020             Honza Horak <hhorak@redhat.com>
25022         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25023         (xdr_mapname): Use YPMAXMAP as maxsize.
25024         (xdr_peername): Use YPMAXPEER as maxsize.
25025         (xdr_keydat): Use YPAXRECORD as maxsize.
25026         (xdr_valdat): Use YPMAXRECORD as maxsize.
25028 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25030         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25032         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25033         * csu/init-first.c: ... here.
25034         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25035         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25036         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25037         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25038         * sysdeps/i386/init-first.c: File removed.
25039         * sysdeps/sh/init-first.c: File removed.
25041 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25043         [BZ #14645]
25044         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25045         if x * y might underflow to zero and z is zero.
25046         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25047         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25048         * math/libm-test.inc (min_subnorm_value): New variable.
25049         (fma_test): Add more tests.
25050         (fma_test_towardzero): Likewise.
25051         (fma_test_downward): Likewise
25052         (fma_test_upward): Likewise.
25053         (initialize): Set min_subnorm_value.
25055 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25057         [BZ #14638]
25058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25059         0 + 0.
25060         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25061         mode for addition resulting in exact zero.
25062         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25064         exact 0 + 0.
25065         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25066         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25067         * math/libm-test.inc (fma_test): Add more tests.
25068         (fma_test_towardzero): New function.
25069         (fma_test_downward): Likewise.
25070         (fma_test_upward): Likewise.
25071         (main): Call the new functions.
25073 2012-09-28  David S. Miller  <davem@davemloft.net>
25075         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25077 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25079         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25080         instead of SIGALRM.
25082         * sysdeps/gnu/_G_config.h: Moved to ...
25083         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25084         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25085         * sysdeps/generic/_G_config.h: ... here.
25087         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25089         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25091         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25092         Conditionalize target on [libnss_test1.so-version].
25094         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25096         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25097         (elfobjdir): Move out of conditionals.
25099         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25100         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25101         (__nss_lookup_function): Conditionalize label remove_from_tree on
25102         [!DO_STATIC_NSS || SHARED], matching its only use.
25104 2012-09-28  David S. Miller  <davem@davemloft.net>
25106         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25107         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25108         file.
25109         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25110         sysdep_routines.
25111         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25113         when HWCAP_SPARC_CRYPTO is present.
25115 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25117         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25119 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25121         [BZ #6530]
25122         * stdio-common/vfprintf.c (process_string_arg): Revert
25123         2000-07-22 change.
25125 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25127         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25128         for testcase.
25129         * stdio-common/tst-sprintf.c: Include <locale.h>
25130         (main): Test sprintf's handling of incomplete multibyte
25131         characters.
25133 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25135         * elf/dl-runtime.c (VERSYMIDX): Removed.
25136         * elf/dl-version.c (VERSYMIDX): Likewise.
25137         * elf/do-rel.h (VERSYMIDX): Likewise.
25138         (VALIDX): Likewise.
25139         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25140         * elf/rtld.c (VALIDX): Likewise.
25141         (ADDRIDX): Likewise.
25142         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25143         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25144         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25145         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25146         (VALIDX): Likewise.
25147         (ADDRIDX): Likewise.
25149 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25151         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25153 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25155         [BZ #11438]
25156         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25157         to global scope.
25158         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25159         addresses are in the same scope as 192.0.2/24.
25160         * posix/gai.conf: Document new scope table defaults.
25162 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25164         [BZ #5298]
25165         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25166         for ftell.  Compute offsets from write pointers instead.
25167         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25169 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25171         [BZ #14543]
25172         * libio/Makefile (tests): New test case tst-fseek.
25173         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25174         combination works in wide mode.
25175         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25176         state when the external buffer state changes.
25178 2012-09-27  David S. Miller  <davem@davemloft.net>
25180         [BZ #14376]
25181         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25182         pass reloc->r_addend in as the 'high' argument to
25183         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25187 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25189         * rt/tst-aio2.c: Include <pthread.h>.
25190         * rt/tst-aio3.c: Likewise.
25192 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25194         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25196 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25198         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25199         contents on [SHARED].
25201 2012-09-26  Marek Polacek  <polacek@redhat.com>
25203         [BZ #14530]
25204         [BZ #13741]
25205         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25206         for C++ and GCC <4.3 as well as for non GCC compilers.
25208 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25212 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25214         * Makefile.in (all, install): Declare with .PHONY.
25215         Reported by Michael Hope <michael.hope@linaro.org>.
25217 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25219         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25220         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25221         system header.
25222         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25223         Likewise.
25224         (sydep_routines): Add the new and the internal functions.
25225         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25226         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25228         (GLIBC_2.17): Add the new function.
25229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25230         (GLIBC_2.17): Likewise.
25231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25232         (GLIBC_2.17): Likewise.
25233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25234         (GLIBC_2.17): Likewise.
25235         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25237 2012-09-25  Alan Modra  <amodra@gmail.com>
25239         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25240         Add release barrier before setting once_control to say
25241         initialisation is done.  Add hints on lwarx.  Use macro in
25242         place of isync.
25243         (clear_once_control): Add release barrier.
25245 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25247         [BZ #13629]
25248         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25249         specially.
25250         * math/s_clog10.c (__clog10): Likewise.
25251         * math/s_clog10f.c (__clog10f): Likewise.
25252         * math/s_clog10l.c (__clog10l): Likewise.
25253         * math/s_clogf.c (__clogf): Likewise.
25254         * math/s_clogl.c (__clogl): Likewise.
25255         * math/Makefile (libm-calls): Add x2y2m1.
25256         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25257         (__x2y2m1): Likewise.
25258         (__x2y2m1l): Likewise.
25259         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25260         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25261         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25262         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25263         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25264         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25265         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25266         * sysdeps/i386/fpu/libm-test-ulps: Update.
25267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25269         [BZ #14621]
25270         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25271         int as type of variable DEPTH.
25272         (glob): Use size_t instead of int as type of variables NEWCOUNT
25273         and OLD_PATHC.
25275 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25277         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25278         Add s_sincosf-sse2.
25279         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25280         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25281         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25282         macros for using routine as __sincosf_ia32.
25283         Use macro for function declaration and weak_alias.
25284         * sysdeps/i386/fpu/libm-test-ulps: Update.
25286         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25289         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25290         subnormal argument.
25291         * math/s_cexpf.c (__cexpf): Likewise.
25292         * math/s_csinf.c (__csinf): Likewise.
25293         * math/s_csinhf.c (__csinhf): Likewise.
25294         * math/s_ctanf.c (__ctanf): Likewise.
25295         * math/s_ctanhf.c (__ctanhf): Likewise.
25296         * math/s_ccosh.c (__ccoshf): Likewise.
25297         * math/s_cexp.c (__cexpl): Likewise.
25298         * math/s_csin.c (__csin): Likewise.
25299         * math/s_csinh.c (__csinh): Likewise.
25300         * math/s_ctan.c (__ctan): Likewise.
25301         * math/s_ctanh.c (ctanh): Likewise.
25302         * math/s_ccoshl.c (__ccoshl): Likewise.
25303         * math/s_cexpl.c (__cexpl): Likewise.
25304         * math/s_csinl.c (__csinl): Likewise.
25305         * math/s_csinhl.c (__csinhl): Likewise.
25306         * math/s_ctanl.c (__ctanl): Likewise.
25307         * math/s_ctanhl.c (__ctanhl): Likewise.
25309 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25311         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25312         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25313         (_IO_off_t): Define to __off_t, not _G_off_t.
25314         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25315         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25316         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25317         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25318         type of __dummy and __dummy2 fields.
25319         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25320         (_G_ssize_t): Likewise.
25321         (_G_off_t): Likewise.
25322         (_G_pid_t): Likewise.
25323         (_G_uid_t): Likewise.
25324         (_G_wchar_t): Likewise.
25325         (_G_wint_t): Likewise.
25326         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25327         (_G_ssize_t): Likewise.
25328         (_G_off_t): Likewise.
25329         (_G_pid_t): Likewise.
25330         (_G_uid_t): Likewise.
25331         (_G_wchar_t): Likewise.
25332         (_G_wint_t): Likewise.
25333         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25334         (_G_ssize_t): Likewise.
25335         (_G_off_t): Likewise.
25336         (_G_pid_t): Likewise.
25337         (_G_uid_t): Likewise.
25338         (_G_wchar_t): Likewise.
25339         (_G_wint_t): Likewise.
25341 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25343         * malloc/arena.c: Include malloc-sysdep.h.
25344         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25345         is sufficient to shrink the heap or an unmap is needed.
25346         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25347         new function check_may_shrink_heap.
25348         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25349         new function check_may_shrink_heap.
25351 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25353         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25354         comments.
25356 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25358         * catgets/test-gencat.sh: Add "set -e".
25359         * elf/tst-pathopt.sh: Likewise.
25360         * grp/tst_fgetgrent.sh: Likewise.
25361         * iconvdata/run-iconv-test.sh: Likewise.
25362         * intl/tst-gettext.sh: Likewise.
25363         * intl/tst-gettext2.sh: Likewise.
25364         * intl/tst-gettext4.sh: Likewise.
25365         * intl/tst-gettext6.sh: Likewise.
25366         * intl/tst-translit.sh: Likewise.
25367         * io/ftwtest-sh: Likewise.
25368         * libio/test-freopen.sh: Likewise.
25369         * malloc/tst-mtrace.sh: Likewise.
25370         * posix/globtest.sh: Likewise.
25371         * posix/tst-getconf.sh: Likewise.
25372         * posix/wordexp-tst.sh: Likewise.
25373         * stdio-common/tst-printf.sh: Likewise.
25374         * stdio-common/tst-unbputc.sh: Likewise.
25375         * stdlib/tst-fmtmsg.sh: Likewise.
25376         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25377         * catgets/Makefile: Do not specify -e option when running
25378         testsuite shell scripts.
25379         * elf/Makefile: Likewise.
25380         * grp/Makefile: Likewise.
25381         * iconvdata/Makefile: Likewise.
25382         * intl/Makefile: Likewise.
25383         * io/Makefile: Likewise.
25384         * libio/Makefile: Likewise.
25385         * malloc/Makefile: Likewise.
25386         * posix/Makefile: Likewise.
25387         * stdio-common/Makefile: Likewise.
25388         * stdlib/Makefile: Likewise.
25389         * sysdeps/x86_64/Makefile: Likewise.
25391         * io/ftwtest-sh: Add copyright header.
25392         * posix/globtest.sh: Likewise.
25393         * posix/tst-getconf.sh: Likewise.
25394         * posix/wordexp-tst.sh: Likewise.
25395         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25397 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25399         [BZ #13679]
25400         * Makeconfig (+link): Defined as $(+link-static) if
25401         $(build-shared) isn't yes.
25402         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25403         isn't yes.
25404         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25406         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25408         [BZ #14562]
25409         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25410         new chunk size with MALLOC_ALIGN_MASK.
25412 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25414         [BZ #5044]
25415         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25416         <rounding-mode.h>.
25417         (__printf_fphex): Determine rounding using get_rounding_mode and
25418         round_away.
25419         * stdio-common/tst-printf-round.c (struct hex_test): New
25420         structure.
25421         (hex_tests): New variable.
25422         (test_hex_in_one_mode): New function.
25423         (do_test): Also run tests for hex float output.
25425 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25427         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25428         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25429         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25430         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25431         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25432         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25433         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25434         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25436 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25438         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25439         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25440         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25441         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25443 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25445         [BZ #14579]
25446         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25447         mode only.
25448         * elf/tst-rtld-load-self.sh: New test.
25449         * elf/Makefile: Run it.
25451 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25453         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25454         (tst-writev-ENV): Remove.
25455         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25457 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25459         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25461 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25463         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25464         unconditional.
25465         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25466         Likewise.
25467         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25468         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25469         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25470         Likewise.
25472 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25474         [BZ #14587]
25475         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25476         * config.make.in (have-cpp-asm-debuginfo): Removed.
25477         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25478         * configure: Regenerated.
25480 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25482         [BZ #5044]
25483         * stdio-common/printf_fp.c: Include <stdbool.h> and
25484         <rounding-mode.h>.
25485         (___printf_fp): Determine rounding using get_rounding_mode and
25486         round_away.
25487         * stdio-common/tst-printf-round.c: New file.
25488         * stdio-common/Makefile (tests): Add tst-printf-round.
25489         (link-libm): New variable.
25490         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25492 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25494         [BZ #14576]
25495         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25496         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25497         Likewise.
25498         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25499         Likewise.
25501 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25503         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25504         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25505         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25506         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25508 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25510         [BZ #14518]
25511         * include/rounding-mode.h: New file.
25512         * sysdeps/generic/get-rounding-mode.h: Likewise.
25513         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25514         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25515         (MAX_VALUE): New macro.
25516         (MIN_VALUE): Likewise.
25517         (overflow_value): New function.
25518         (underflow_value): Likewise.
25519         (round_and_return): Use overflow_value and underflow_value to
25520         determine return values in overflow and underflow cases.  Use
25521         round_away to determine rounding depending on rounding mode.
25522         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25523         determine return values in overflow and underflow cases.
25524         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25525         (struct test_results): New structure.
25526         (struct test): Use struct test_results to store expected results
25527         for all rounding modes.
25528         (TEST): Include expected results for all rounding modes.
25529         (test_in_one_mode): New function.
25530         (do_test): Use test_in_one_mode to compute and check results.
25531         Check results for all rounding modes.
25532         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25533         $(link-libm).
25535 2012-12-09  Allan McRae  <allan@archlinux.org>
25537         * sysdeps/i386/fpu/libm-test-ulps: Update
25539 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25541         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25542         (_G_int32_t): Likewise.
25543         (_G_uint16_t): Likewise.
25544         (_G_uint32_t): Likewise.
25545         (_G_HAVE_BOOL): Likewise.
25546         (_G_HAVE_ATEXIT): Likewise.
25547         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25548         (_G_HAVE_IO_FILE_OPEN): Likewise.
25549         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25550         (_G_int32_t): Likewise.
25551         (_G_uint16_t): Likewise.
25552         (_G_uint32_t): Likewise.
25553         (_G_HAVE_BOOL): Likewise.
25554         (_G_HAVE_ATEXIT): Likewise.
25555         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25556         (_G_HAVE_IO_FILE_OPEN): Likewise.
25557         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25558         (_G_int32_t): Likewise.
25559         (_G_uint16_t): Likewise.
25560         (_G_uint32_t): Likewise.
25561         (_G_HAVE_BOOL): Likewise.
25562         (_G_HAVE_ATEXIT): Likewise.
25563         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25564         (_G_HAVE_IO_FILE_OPEN): Likewise.
25566 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25568         * csu/libc-tls.c: Update copyright years.
25570 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25572         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25573         [!_G_USING_THUNKS]: Remove conditional code.
25574         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25575         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25577         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25578         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25579         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25580         (_G_VTABLE_LABEL_PREFIX): Likewise.
25581         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25582         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25583         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25584         (_G_VTABLE_LABEL_PREFIX): Likewise.
25585         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25586         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25587         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25588         (_G_VTABLE_LABEL_PREFIX): Likewise.
25589         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25591 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25593         * libio/Makefile: Include ../Makeconfig before tests.
25594         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25595         only if $(build-shared) is yes.
25597         * iconv/gconv_db.c: Update copyright years.
25599 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25601         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25602         unwind info if defined PIC. Fix special cases description.
25603         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25605         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25606         DP_HI_MASK entry.
25607         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25609 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25611         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25613         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25614         is NULL.
25616         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25617         (LDLIBS-tst-chk4): This.
25618         (LDFLAGS-tst-chk5): Renamed to ...
25619         (LDLIBS-tst-chk5): This.
25620         (LDFLAGS-tst-chk6): Renamed to ...
25621         (LDLIBS-tst-chk6): This.
25622         (LDFLAGS-tst-lfschk4): Renamed to ...
25623         (LDLIBS-tst-lfschk4): This.
25624         (LDFLAGS-tst-lfschk5): Renamed to ...
25625         (LDLIBS-tst-lfschk5): This.
25626         (LDFLAGS-tst-lfschk6): Renamed to ...
25627         (LDLIBS-tst-lfschk6): This.
25629         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25630         on $(common-objpfx)soversions.mk.
25632 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25634         [BZ #10014]
25635         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25636         example host name.
25638 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25640         * malloc/arena.c (arena_get_retry): New function that gets
25641         another arena for the caller to try its request on.
25642         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25643         current arena cannot fulfill the request.
25644         (__libc_memalign): Likewise.
25645         (__libc_memalign): Likewise.
25646         (__libc_pvalloc): Likewise.
25647         (__libc_calloc): Likewise.
25649 2012-09-05  John Tobey  <john.tobey@gmail.com>
25651         [BZ #13542]
25652         * manual/arith.texi (Operations on Complex): Fix description
25653         of carg branch cut.
25655 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25657         [BZ #10014]
25658         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25659         host name.
25661         [BZ #10038]
25662         * manual/memory.texi (Memory): Make order of menu items match
25663         order of sections.
25665 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25667         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25668         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25669         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25671 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25673         * csu/libc-tls.c (static_dtv): Renamed to ...
25674         (_dl_static_dtv): This.  Make it global.
25675         (_dl_initial_dtv): Removed.
25676         (__libc_setup_tls): Updated.
25677         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25678         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25679         DL_INITIAL_DTV.
25681 2012-09-06  Petr Machata  <pmachata@redhat.com>
25683         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25684         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25685         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25686         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25688 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25690         [BZ #14545]
25691         * csu/libc-tls.c (_dl_initial_dtv): New variable.
25692         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25693         freeing dtv[-1].
25695 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25697         [BZ #14544]
25698         * Makeconfig (link-static-before-libc): Replace $(+prector)
25699         with $(+prectorT).
25700         (link-static-after-libc): Replace $(+postctor) with
25701         $(+postctorT).
25702         (link-bounded): Replace $(+prector)/$(+postctor) with
25703         $(+prectorT)/$(+postctorT).
25704         (+prectorT): New macro.
25705         (+postctorT): Likewise.
25707 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25709         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25710         (round_str): Handle values above the maximum for IBM long double
25711         as inexact.
25712         * stdlib/tst-strtod-round.c (tests): Regenerated.
25714 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25716         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25717         assembler flag.
25718         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25719         zarch_nohighgprs around the zarch optimized routines.
25720         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25721         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25722         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25723         for zarch.
25725 2012-09-05  David S. Miller  <davem@davemloft.net>
25727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25729         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25730         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25731         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25732         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25733         entries.
25735 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25737         * malloc/arena.c: Fold copyright years.
25738         * malloc/mcheck.c, malloc/memusage.c: Likewise.
25740 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25742         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25744 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25746         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
25748 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25750         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25751         change internal state upon failure.
25753 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25755         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25756         * malloc/memusage.c (mmap): Likewise.
25757         (mmap64, mremap): Likewise.  Adjust name in comment.
25759 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25761         * libio/fileops.c: Fix typos in comments.
25762         * libio/oldfileops.c: Likewise.
25763         * libio/wfileops.c: Likewise.
25765 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25767         [BZ #1349]
25768         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25769         (tst-malloc-usable-ENV): Set environment for test case.
25770         * malloc/hooks.c (malloc_check_get_size): New function to get
25771         requested size.
25772         * malloc/malloc.c (musable): Use malloc_check_get_size.
25773         * malloc/tst-malloc-usable.c: New test case.
25775 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25777         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25779 2012-09-05  Allan McRae  <allan@archlinux.org>
25781         [BZ #13966]
25782         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25783         determine header location.
25784         * configure: Regenerated.
25786 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25788         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25789         float format.
25790         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25791         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25792         format.
25793         (test): Regenerate.
25795 2012-09-04  David S. Miller  <davem@davemloft.net>
25797         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25798         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25799         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25801 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25803         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25804         failures.
25806         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25808 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25810         [BZ #9914]
25811         * libio/iogetdelim.c: Include <limits.h>.
25812         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25813         + len + 1 would overflow.
25815 2012-09-03  Andreas Jaeger  <aj@suse.de>
25817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25818         * sysdeps/i386/fpu/libm-test-ulps: Update.
25820 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25822         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25823         Add s_sinf-sse2, s_conf-sse2.
25825         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25826         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25827         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25828         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25830         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25831         for using routine as __sinf_ia32.
25832         Use macro for function declaration and weak_alias.
25833         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25834         for using routine as __cosf_ia32.
25835         Use macro for function declaration and weak_alias.
25837         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25838         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25840         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25841         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25844         * math/libm-test.inc (cos_test): Add more test cases.
25845         (sin_test): Likewise.
25846         (sincos_test): Likewise.
25848 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25850         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25851         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25852         hidden.
25853         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25855 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25857         [BZ #14538]
25858         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25859         first element of the GOT.
25860         (elf_machine_load_address): Return the difference between
25861         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25863 2012-09-01  Allan McRae  <allan@archlinux.org>
25865         [BZ #13412]
25866         * configure.in (AWK): Require gawk version 3.0 or later.
25867         * configure: Regenerated.
25869 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25871         * sysdeps/unix/sysv/linux/kernel-features.h
25872         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25873         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25874         [__NR_clock_getres]: Make code unconditional.
25875         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25876         (clock_getcpuclockid): Remove code left unreachable by removal of
25877         conditionals.
25878         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25879         code unconditional.
25880         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25881         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25882         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25883         Make code unconditional.
25884         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25885         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25886         * sysdeps/unix/sysv/linux/clock_settime.c
25887         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25888         conditional code.
25889         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25890         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25892 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25894         [BZ #14476]
25895         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25896         scripts/test-installation.pl.
25898         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25899         and $ld_so_version if it is set.
25901 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25903         [BZ #14516]
25904         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25905         failure if reading from procfs failed.
25906         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25908 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25910         * sysdeps/unix/sysv/linux/kernel-features.h
25911         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25912         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25913         Remove conditional code.
25914         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25915         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25916         Remove conditional code.
25917         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25918         * sysdeps/unix/sysv/linux/i386/fxstat.c
25919         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25920         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25921         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25922         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25923         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25924         * sysdeps/unix/sysv/linux/i386/lxstat.c
25925         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25926         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25927         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25928         Remove conditional code.
25929         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25930         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25931         Remove conditional code.
25932         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25933         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25934         <kernel-features.h>.
25935         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25936         Remove.
25937         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25938         Remove conditional code.
25939         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25940         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25941         Remove conditional.
25943 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25945         [BZ #5400]
25946         * NEWS: Add fixed bug number.
25948 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25950         [BZ #14519]
25951         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25952         underflowing exponent in case of negative sign.
25953         * stdlib/tst-strtod-round-data: Add more tests.
25954         * stdlib/tst-strtod-round.c (tests): Regenerated.
25956         [BZ #3479]
25957         * stdlib/strtod_l.c (NDIG): Remove.
25958         (HEXNDIG): Likewise.
25959         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25960         smallest representable value.
25961         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25962         lie within an exact representation of 1/2 ulp of the result.
25963         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25964         unconditionally.
25965         (TENS_P9_IDX): Define unconditionally.
25966         (TENS_P9_SIZE): Likewise.
25967         (TENS_P10_IDX): Likewise.
25968         (TENS_P10_SIZE): Likewise.
25969         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25970         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25971         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25972         entries for 10^2^13 and 10^2^14.
25973         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25974         (TENS_P13_IDX): Define.
25975         (TENS_P13_SIZE): Likewise.
25976         (TENS_P14_IDX): Likewise.
25977         (TENS_P14_SIZE): Likewise.
25978         (_fpioconst_pow10): Change array size to
25979         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25980         unconditional.
25981         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25982         1024]: Add entries for 10^2^13 and 10^2^14.
25983         [LAST_POW10 > _LAST_POW10]: Remove #error.
25984         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25985         (_fpioconst_pow10): Change array size to
25986         FPIOCONST_POW10_ARRAY_SIZE.
25987         * stdlib/gen-fpioconst.c: New file.
25988         * stdlib/gen-tst-strtod-round.c: Likewise.
25989         * stdlib/tst-strtod-round-data: Likewise.
25990         * stdlib/tst-strtod-round.c: Likewise.
25991         * stdlib/Makefile (tests): Add tst-strtod-round.
25993         [BZ #14459]
25994         * stdlib/strtod_l.c: Include <stdint.h>.
25995         (NDEBUG): Do not define.
25996         (round_and_return): Change EXPONENT parameter to type intmax_t.
25997         Rearrange calculations to avoid internal overflow possibilities.
25998         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25999         Rearrange calculations to avoid internal overflow possibilities.
26000         Assert that number fits inside MPNSIZE limbs.
26001         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26002         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26003         calculations and add assertions to avoid internal overflow
26004         possibilities.  Add casts to avoid signed/unsigned operations.
26005         * stdlib/tst-strtod-overflow.c: New file.
26006         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26008 2012-08-25  Marek Polacek  <polacek@redhat.com>
26010         * time/time.h: Fix some typos in comments.
26012 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26014         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26015         * posix/tst-rfc3484-2.c: Likewise.
26016         * posix/tst-rfc3484-3.c: Likewise.
26018 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26020         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26021         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26023 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26025         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26026         #include of fxstatat64.c.
26028 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26030         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26031         * shadow/getspent_r.c: Likewise.
26032         * shadow/getspnam.c: Likewise.
26033         * shadow/getspnam_r.c: Likewise.
26034         * gshadow/getsgent.c: Likewise.
26035         * gshadow/getsgent_r.c: Likewise.
26036         * gshadow/getsgnam.c: Likewise.
26037         * gshadow/getsgnam_r.c: Likewise.
26038         * inet/getnetbyad.c: Likewise.
26039         * inet/getnetbyad_r.c: Likewise.
26040         * inet/getnetbynm.c: Likewise.
26041         * inet/getnetbynm_r.c: Likewise.
26042         * inet/getnetent.c: Likewise.
26043         * inet/getnetent_r.c: Likewise.
26044         * inet/getproto.c: Likewise.
26045         * inet/getproto_r.c: Likewise.
26046         * inet/getprtent.c: Likewise.
26047         * inet/getprtent_r.c: Likewise.
26048         * inet/getprtname.c: Likewise.
26049         * inet/getprtname_r.c: Likewise.
26050         * inet/getrpcbyname.c: Likewise.
26051         * inet/getrpcbyname_r.c: Likewise.
26052         * inet/getrpcbynumber.c: Likewise.
26053         * inet/getrpcbynumber_r.c: Likewise.
26054         * inet/getrpcent.c: Likewise.
26055         * inet/getrpcent_r.c: Likewise.
26056         * inet/getaliasent.c: Likewise.
26057         * inet/getaliasent_r.c: Likewise.
26058         * inet/getaliasname.c: Likewise.
26059         * inet/getaliasname_r.c: Likewise.
26060         * nscd/getgrgid_r.c: Likewise.
26061         * nscd/getgrnam_r.c: Likewise.
26062         * nscd/gethstbyad_r.c: Likewise.
26063         * nscd/gethstbynm3_r.c: Likewise.
26064         * nscd/getpwnam_r.c: Likewise.
26065         * nscd/getpwuid_r.c: Likewise.
26066         * nscd/getsrvbynm_r.c: Likewise.
26067         * nscd/getsrvbypt_r.c: Likewise.
26068         * nscd/gai.c: Likewise.
26070         * configure.in (build_nscd): New substituted variable, set
26071         by --disable-build-nscd and defaults to $use_nscd.
26072         * configure: Regenerated.
26073         * config.make.in (build-nscd): New substituted variable.
26074         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26075         Change conditional to require [$(build-nscd) = yes] as well.
26076         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26078         [BZ# 13696]
26079         * configure.in (use_nscd): New substituted variable, set by
26080         --disable-nscd.  If enabled, define USE_NSCD.
26081         * configure: Regenerated.
26082         * config.h.in: Add USE_NSCD.
26083         * config.make.in (use-nscd): New substituted variable.
26084         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26085         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26086         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26087         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26088         (CFLAGS-getgrnam_r.c): Likewise.
26089         (CFLAGS-initgroups.c): Likewise.
26090         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26091         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26092         Variables removed.
26093         * inet/getnetgrent_r.c
26094         (nscd_setnetgrent): New function, broken out of ...
26095         (setnetgrent): ... here.  Call it.
26096         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26097         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26098         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26099         * nscd/Makefile (routines, aux): Move definitions after include of
26100         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26101         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26102         Conditionalize on [USE_NSCD].
26103         (is_nscd, nscd_init_cb): Likewise.
26104         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26105         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26106         * nss/nss_db/db-init.c: Likewise.
26107         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26108         [USE_NSCD].
26109         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26110         (make_request): Use it.
26111         (cache_valid_p): New function.
26112         (__check_pf): Use it.
26113         * NEWS: Add item for --disable-nscd.
26115 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26117         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26118         to support sed >= 4.2.1-20-ga9bf076.
26119         * configure: Regenerated.
26121 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26123         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26124         Conditionalize whole body on [IREL].
26126 2012-08-22  Jeff Law <law@redhat.com>
26128         [BZ #14505]
26129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26130         if the family is PF_UNSPEC.
26132 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26134         * Makerules (lib-version): Rename from V.
26135         (install-lib-nosubdir): Change V to lib-version.
26137 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26139         [BZ #14252]
26140         * powerpc32/power6/wcschr.c: New file.
26141         * powerpc32/power6/wcscpy.c: New file.
26142         * powerpc32/power6/wcsrchr.c: New file.
26143         * powerpc64/power6/wcschr.c: New file.
26144         * powerpc64/power6/wcscpy.c: New file.
26145         * powerpc64/power6/wcsrchr.c: New file.
26147 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26149         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26150         (two_way_short_needle): Use it.
26151         * string/strstr.c (AVAILABLE1_USES_J): Define.
26152         * string/strcasestr.c: Likewise.
26154         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26155         array references.
26156         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26158         [BZ #11607]
26159         * NEWS: Add an entry.
26160         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26161         define their defaults.
26162         (two_way_short_needle): Detect end-of-string on-the-fly.
26163         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26164         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26165         * string/bug-strcasestr1.c: New test.
26166         * string/Makefile: Run it.
26168 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26170         [BZ #11607]
26171         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26172         the first character.
26174 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26176         * csu/elf-init.c (__libc_csu_irel): Function removed.
26177         * csu/libc-start.c (apply_irel): New function.
26178         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26180 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26182         * sysdeps/unix/sysv/linux/kernel-features.h
26183         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26184         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26185         <kernel-features.h>.
26186         [__NR_fadvise64_64]: Make code unconditional.
26187         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26188         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26189         !__NR_fadvise64_64)]: Likewise.
26190         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26191         !__NR_fadvise64_64))]: Likewise.
26192         [__NR_fadvise64]: Make code unconditional.
26193         [!__NR_fadvise64]: Remove conditional code.
26194         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26195         <kernel-features.h>.
26196         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26197         unconditional.
26198         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26199         conditional code.
26200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26201         not include <kernel-features.h>.
26202         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26203         unconditional.
26204         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26205         conditional code.
26206         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26207         include <kernel-features.h>.
26208         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26209         unconditional.
26210         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26211         conditional code.
26213 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26215         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26216         slight instruction rearrangements per scrollpipe analysis.
26217         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26219 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26221         * manual/syslog.texi (syslog; vsyslog, closelog):
26222         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26223         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26225         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26226         DSOCAPS to match condition on defining it.
26228 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26230         * sysdeps/unix/sysv/linux/kernel-features.h
26231         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26233         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26234         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26236         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26237         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26239         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26240         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26242         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26243         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26245         * sysdeps/unix/sysv/linux/kernel-features.h
26246         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26247         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26248         unconditional.
26249         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26250         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26251         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26252         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26253         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26254         Make code unconditional.
26255         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26256         (__mmap64) [!__NR_mmap2]: Likewise.
26257         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26258         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26259         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26260         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26261         [__NR_mmap2]: Make code unconditional.
26262         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26263         (__mmap64) [!__NR_mmap2]: Likewise.
26265 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26267         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26269 2012-08-18  Andreas Jaeger  <aj@suse.de>
26271         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26273 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26275         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26276         * include/unistd.h (__have_sock_cloexec): Likewise.
26277         (__have_pipe2): Likewise.
26278         (__have_dup3): Likewise.
26280 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26282         [BZ #9685]
26283         * include/unistd.h (__have_pipe2): Change define into an extern int.
26284         (__have_dup3): Likewise.
26285         * socket/have_sock_cloexec.c: Include fcntl.h.
26286         (__have_pipe2): New variable.
26287         (__have_dup3): Likewise.
26289 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26291         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26293 2012-08-17  Marek Polacek  <polacek@redhat.com>
26295         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26296         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26298 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26300         * configure.in: Add AC_SUBST for sysheaders.
26301         * configure: Regenerated.
26302         * config.make.in (sysheaders): New substituted variable.
26304         * sysdeps/unix/mkfifo.c: Moved ...
26305         * sysdeps/posix/mkfifo.c: ... here.
26306         * sysdeps/unix/mkfifoat.c: Moved ...
26307         * sysdeps/posix/mkfifoat.c: ... here.
26309         * sysdeps/unix/utime.c: Moved ...
26310         * sysdeps/posix/utime.c: ... here.
26312         * sysdeps/unix/time.c: Moved ...
26313         * sysdeps/posix/time.c: ... here.
26314         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26315         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26317         * sysdeps/unix/nice.c: Moved ...
26318         * sysdeps/posix/nice.c: ... here.
26320         * sysdeps/unix/alarm.c: Moved ...
26321         * sysdeps/posix/alarm.c: ... here.
26323         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26325 2012-08-17  Jeff Law <law@redhat.com>
26327         * intl/Makefile (codeset_mo): New variable.
26328         ($(codeset_mo)): New target.
26329         (tst-codeset.out): Depend on that.  Remove explicit rule.
26330         (tst-gettext3.out, tst-gettext5.out): Likewise.
26331         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26332         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26333         * intl/tst-codeset.sh: Remove.
26334         * intl/tst-gettext3.sh: Likewise.
26335         * intl/tst-gettext5.sh: Likewise.
26337 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26339         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26340         * sysdeps/unix/syscalls.list: ... here.
26342         * sysdeps/posix/getaddrinfo.c
26343         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26344         (gaiconf_init, gaiconf_reload): Use them.
26345         [!_STATBUF_ST_NSEC]
26346         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26347         Define using time_t rather than struct timespec.
26349         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26350         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26351         Macros removed.
26352         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26353         [!NO_THREADS].
26354         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26355         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26356         Likewise.
26358         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26359         __libc_cleanup_push argument.
26361         * bits/param.h: New file.
26362         * misc/sys/param.h: New file.
26363         * include/sys/param.h: New file.
26364         * misc/Makefile (headers): Add bits/param.h.
26365         * sysdeps/generic/sys/param.h: File removed.
26366         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26367         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26368         * sysdeps/mach/hurd/bits/param.h: New file.
26369         * sysdeps/mach/hurd/sys/param.h: File removed.
26371         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26372         last change.
26374         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26375         [_IO_MTSAFE_IO].
26376         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26377         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26378         New macros.
26380         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26381         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26382         rather than -D_IO_MTSAFE_IO conditionally.
26383         * stdio-common/Makefile (CPPFLAGS): Likewise.
26384         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26385         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26386         Use $(libio-mtsafe).
26387         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26388         of -D_IO_MTSAFE_IO.
26389         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26390         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26391         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26392         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26393         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26394         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26395         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26396         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26397         (CFLAGS-fread_u_chk.c): Likewise.
26398         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26399         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26400         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26401         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26402         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26403         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26404         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26405         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26406         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26408         * libio/Makefile: Test [$(libc-reentrant) = yes]
26409         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26411         * Makeconfig
26412         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26413         * sysdeps/pthread/configure: File removed.
26414         * sysdeps/pthread/Makeconfig: New file.
26415         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26416         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26418 2012-08-16  Gary Benson  <gbenson@redhat.com>
26420         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26421         unmapping the first object in a namespace.
26423 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26425         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26426         (__internal_setnetgrent): ... this.  Add internal_function to
26427         definition.  Add libc_hidden_def.
26428         (setnetgrent): Update caller.
26429         (internal_endnetgrent): Renamed to ...
26430         (__internal_endnetgrent): ... this.  Add internal_function to
26431         definition.  Add libc_hidden_def.
26432         (endnetgrent): Update caller.
26433         (internal_getnetgrent_r): Renamed to ...
26434         (__internal_getnetgrent_r): ... this.  Add internal_function to
26435         definition.  Add libc_hidden_def.
26436         (__getnetgrent_r): Update caller.
26437         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26439 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26441         * stdlib/longlong.h: Update from GCC.
26443 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26445         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26446         on _QL, which is set by umul_ppmm but never used.
26447         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26448         variables, which are set by GMP macros but never used.
26449         * stdio-common/_itowa.c (_itowa): Likewise.
26450         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26451         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26453 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26455         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26456         struct La_sh_regs is not constant.
26457         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26458         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26459         and struct La_sparc64_regs are not constant.
26461 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26463         * sysdeps/unix/sysv/linux/kernel-features.h
26464         (__ASSUME_POSIX_TIMERS): Remove.
26465         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26466         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26467         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26468         Make code unconditional.
26469         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26470         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26471         Make code unconditional.
26472         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26473         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26474         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26475         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26476         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26477         Make code unconditional.
26478         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26479         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26480         (__libc_missing_posix_timers): Remove.
26482 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26484         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26485         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26487         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26489         * elf/dl-sym.c: Include <stdlib.h>.
26491         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26492         constants, which avoids warnings in 32-bit builds.
26494         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26495         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26497         * misc/lseek.c: File moved to ...
26498         * io/lseek.c: ... here.
26500         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26502         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26503         shifting LEN more than 31 bits at once.
26505 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26507         [BZ #14195]
26508         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26509         segmentation fault for a case of two empty input strings.
26510         * string/test-strncasecmp.c (check1): Renamed to...
26511         (bz12205): ...this.
26512         (bz14195): Add new testcase for two empty input strings and N > 0.
26513         (test_main): Call new testcase, adapt for renamed function.
26515 2012-08-15  Andreas Jaeger  <aj@suse.de>
26517         [BZ #14090]
26518         * crypt/md5test2.c: New test, based on test supplied by Serge
26519         Belyshev <belyshev@depni.sinp.msu.ru>.
26520         * crypt/Makefile (xtests): Add md5test-giant..
26521         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26523 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26525         [BZ #14090]
26526         * crypt/md5.c (md5_process_block): Don't assume the buffer
26527         length is less than 2**32.
26528         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26529         length is less than 2**64.
26531 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26533         * string/str-two-way.h: Include <sys/param.h>.
26534         (MAX): Macro removed.
26536         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26537         Move #define and #undef of memmove to just before and after
26538         including <string.h>.
26540         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26541         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26542         and after including <string.h>.  Move declarations of
26543         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26544         to before #include "string/memmove.c".
26546         * include/dirent.h: Declare __getdirentries.
26548         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26549         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26551 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26553         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26554         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26555         * sysdeps/i386/configure: Regenerated.
26556         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26557         STABS_CURRENT_FILE, and STABS_FUN.
26558         (END): Remove call to STABS_FUN_END.
26559         (STABS_CURRENT_FILE1): Delete.
26560         (STABS_CURRENT_FILE): Likewise.
26561         (STABS_FUN): Likewise.
26562         (STABS_FUN_END): Likewise.
26563         (STABS_FUN2): Likewise.
26564         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26565         * sysdeps/x86_64/configure: Regenerated.
26567 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26569         * elf/dl-open.c: Include <atomic.h>.
26570         * elf/dl-lookup.c: Likewise.
26572 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26574         * sysdeps/unix/sysv/linux/kernel-features.h
26575         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26576         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26577         unconditionally.
26578         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26579         unconditionally.
26580         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26581         condition on __ASSUME_CLONE_THREAD_FLAGS.
26583 2012-08-14  Andreas Jaeger  <aj@suse.de>
26585         * sysdeps/i386/fpu/libm-test-ulps: Update.
26587 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26589         * include/atomic.h (atomic_exchange_and_add): Split into ...
26590         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26591         New atomic macros.
26593 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26597 2012-08-13  Jeff Law <law@redhat.com>
26599         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26600         null byte in the output string.
26602 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26604         * sysdeps/unix/sysv/linux/kernel-features.h
26605         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26606         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26607         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26608         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26609         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26610         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26611         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26613 2012-08-09  Jeff Law <law@redhat.com>
26615         [BZ #13939]
26616         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26617         When avoid_arena is set, don't retry in the that arena.  Pick the
26618         next one, whatever it might be.
26619         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26620         (arena_lock): Pass in new parameter to arena_get2.
26621         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26622         arena_get2.
26623         (__libc_malloc): Unify retrying after main arena failure with
26624         __libc_memalign version.
26625         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26627 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26629         [BZ #14166]
26630         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26631         to __redirect_strstr.
26632         (__strstr_sse42): Use typeof __redirect_strstr.
26633         (__strstr_ia32): Likewise.
26634         (__libc_strstr): New prototype.
26635         (strstr): Renamed to ...
26636         (__libc_strstr): This.
26637         (strstr): New strong alias of __libc_strstr.
26638         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26639         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26640         __redirect_time.
26641         Include <time.h>.
26642         (__libc_time): New prototype.
26643         (time_ifunc): Replace time with __libc_time.
26644         (time): New strong alias and hidden definition of __libc_time.
26645         (__GI_time): Remove strong alias.
26646         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26647         Include <stddef.h>.
26648         (memmove): Redefined to __redirect_memmove.
26649         (__memmove_sse2): Use typeof __redirect_memmove.
26650         (__memmove_ssse3): Likewise.
26651         (__memmove_ssse3_back): Likewise.
26652         (__libc_memmove): New prototype.
26653         (memmove): Renamed to ...
26654         (__libc_memmove): This.
26655         (memmove): New strong alias of __libc_memmove.
26657 2012-08-08  Mark Salter  <msalter@redhat.com>
26659         * elf/elf.h
26660         (R_MN10300_TLS_GD): Define.
26661         (R_MN10300_TLS_LD): Likewise.
26662         (R_MN10300_TLS_LDO): Likewise.
26663         (R_MN10300_TLS_GOTIE): Likewise.
26664         (R_MN10300_TLS_IE): Likewise.
26665         (R_MN10300_TLS_LE): Likewise.
26666         (R_MN10300_TLS_DTPMOD): Likewise.
26667         (R_MN10300_TLS_DTPOFF): Likewise.
26668         (R_MN10300_TLS_TPOFF): Likewise.
26669         (R_MN10300_SYM_DIFF): Likewise.
26670         (R_MN10300_ALIGN): Likewise.
26671         (R_MN10300_NUM): Update.
26673 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26675         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26676         Remove.
26678 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26680         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26682         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26683         sysdeps/unix -> sysdeps/posix move.
26684         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26686 2012-08-07      Allan McRae     <allan@archlinux.org>
26688         [BZ #14303]
26689         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26690         (SUNOS_CPP): Likewise.
26691         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26692         not found.
26693         (open_input): Call CPP using execvp.
26695 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26697         * sysdeps/unix/sysv/linux/kernel-features.h
26698         (__ASSUME_PROT_GROWSUPDOWN): Remove.
26699         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26700         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26701         (__ASSUME_WAITID_SYSCALL): Likewise.
26702         * sysdeps/unix/sysv/linux/dl-execstack.c
26703         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26704         code unconditional.
26705         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26706         conditional code.
26707         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26708         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26709         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26710         code.
26711         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26712         unconditional.
26713         [__ASSUME_WAITID_SYSCALL]: Likewise.
26714         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26716 2012-08-07  Roland McGrath  <roland@hack.frob.com>
26718         * sysdeps/unix/closedir.c: Renamed to ...
26719         * sysdeps/posix/closedir.c: ... here.
26720         * sysdeps/unix/dirfd.c: Renamed to ...
26721         * sysdeps/posix/dirfd.c: ... here.
26722         * sysdeps/unix/dirstream.h: Renamed to ...
26723         * sysdeps/posix/dirstream.h: ... here.
26724         * sysdeps/unix/fdopendir.c: Renamed to ...
26725         * sysdeps/posix/fdopendir.c: ... here.
26726         * sysdeps/unix/opendir.c: Renamed to ...
26727         * sysdeps/posix/opendir.c: ... here.
26728         * sysdeps/unix/readdir.c: Renamed to ...
26729         * sysdeps/posix/readdir.c: ... here.
26730         * sysdeps/unix/readdir_r.c: Renamed to ...
26731         * sysdeps/posix/readdir_r.c: ... here.
26732         * sysdeps/unix/rewinddir.c: Renamed to ...
26733         * sysdeps/posix/rewinddir.c: ... here.
26734         * sysdeps/unix/seekdir.c: Renamed to ...
26735         * sysdeps/posix/seekdir.c: ... here.
26736         * sysdeps/unix/telldir.c: Renamed to ...
26737         * sysdeps/posix/telldir.c: ... here.
26738         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26739         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26740         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26741         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26743         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26744         * bits/fcntl.h: ... here.
26746         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26747         not 0.
26748         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26749         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26750         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26751         (struct flock): Move l_start, l_len to the beginning.
26752         Use __pid_t for l_pid.
26753         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26754         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26755         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26756         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26757         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26758         [__USE_LARGEFILE64] (struct flock64): New type.
26759         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26761         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26762         * bits/dirent.h: ... here.
26764         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26765         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26767 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26769         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26770         Change from 2.6.0 to 2.6.16.
26771         * sysdeps/unix/sysv/linux/configure: Regenerated.
26772         * sysdeps/unix/sysv/linux/kernel-features.h
26773         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26774         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26775         version.
26776         (__ASSUME_UTIMES): Likewise.
26777         (__ASSUME_CLONE_STOPPED): Remove.
26778         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26779         architectures, not kernel version.
26780         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26781         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26782         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26783         (__ASSUME_WAITID_SYSCALL): Likewise.
26784         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26785         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26786         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26787         refer to older versions.
26789 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26791         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26792         Define alphasort64 as an alias.
26793         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26794         Define versionsort64 as an alias.
26795         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26796         Define scandir64 as an alias.
26797         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26798         Define scandirat64 as an alias.
26799         * dirent/alphasort64.c (alphasort64):
26800         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26801         * dirent/versionsort64.c: Likewise.
26802         * dirent/scandir64.c: Likewise.
26803         * dirent/scandirat64.c: Likewise.
26804         * sysdeps/wordsize-64/alphasort.c: File removed.
26805         * sysdeps/wordsize-64/alphasort64.c: File removed.
26806         * sysdeps/wordsize-64/scandir.c: File removed.
26807         * sysdeps/wordsize-64/scandir64.c: File removed.
26808         * sysdeps/wordsize-64/scandirat.c: File removed.
26809         * sysdeps/wordsize-64/scandirat64.c: File removed.
26810         * sysdeps/wordsize-64/versionsort.c: File removed.
26811         * sysdeps/wordsize-64/versionsort64.c: File removed.
26812         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26813         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26814         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26815         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26816         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26817         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26818         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26819         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26821         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26822         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26823         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26824         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26825         [defined __arch64__ || defined __sparcv9]
26826         (__INO_T_MATCHES_INO64_T): New macro.
26827         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26828         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26829         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26830         * sysdeps/unix/sysv/linux/bits/dirent.h
26831         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26832         (_DIRENT_MATCHES_DIRENT64): New macro.
26834         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26835         Define lockf64 as an alias.
26836         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26837         Define fseeko64 as an alias.
26838         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26839         Define ftello64 as an alias.
26840         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26841         Define _IO_fgetpos64 and fgetpos64 as aliases.
26842         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26843         Define _IO_fsetpos64 and fsetpos64 as aliases.
26844         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26845         Conditionalize body on this.
26846         * libio/fseeko64.c: Likewise.
26847         * libio/ftello64.c: Likewise.
26848         * libio/iofgetpos64.c: Likewise.
26849         * libio/iofsetpos64.c: Likewise.
26850         * sysdeps/wordsize-64/lockf.c: File removed.
26851         * sysdeps/wordsize-64/lockf64.c: File removed.
26852         * sysdeps/wordsize-64/fseeko.c: File removed.
26853         * sysdeps/wordsize-64/fseeko64.c: File removed.
26854         * sysdeps/wordsize-64/ftello.c: File removed.
26855         * sysdeps/wordsize-64/ftello64.c: File removed.
26856         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26857         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26858         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26859         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26860         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26861         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26862         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26863         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26864         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26865         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26866         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26867         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26868         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26869         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26871         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26872         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26873         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26874         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26875         [defined __arch64__ || defined __sparcv9]
26876         (__OFF_T_MATCHES_OFF64_T): New macro.
26877         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26878         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26880         (__OFF_T_MATCHES_OFF64_T): New macro.
26882 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26884         * stdlib/secure-getenv.c (__secure_getenv): Replace
26885         GLIBC_2_16 with GLIBC_2_17.
26887 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26889         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26890         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26892 2012-08-03  David S. Miller  <davem@davemloft.net>
26894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26896 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26898         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26899         Remove.
26900         (__ASSUME_CORRECT_SI_PID): Likewise.
26901         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26902         (__ASSUME_TMPFS_NAME): Likewise.
26903         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26904         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26905         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26906         (HAVE_AUX_SECURE): Make definition unconditional.
26907         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26908         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26910 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26912         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26913         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26914         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26915         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26916         __eloop_threshold instead of SYMLOOP_MAX.
26918         * sysdeps/generic/eloop-threshold.h: New file.
26919         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26920         of MAXSYMLINKS.
26921         * elf/chroot_canon.c (chroot_canon): Likewise.
26923 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26925         [BZ #13717]
26926         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26927         Change to 2.6.0 everywhere.
26928         * sysdeps/unix/sysv/linux/configure: Regenerated.
26929         * sysdeps/unix/sysv/linux/kernel-features.h
26930         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26931         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26932         kernel versions.
26933         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26934         (__ASSUME_FUTEX_REQUEUE): Remove.
26935         (__ASSUME_STATFS64): Define unconditionally.
26936         (__ASSUME_AT_SECURE): Likewise.
26937         (__ASSUME_CORRECT_SI_PID): Likewise.
26938         (__ASSUME_TGKILL): Define without depending on kernel version for
26939         i386.
26940         (__ASSUME_UTIMES): Likewise.
26941         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26942         kernel version.
26943         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26944         (__ASSUME_TMPFS_NAME): Likewise.
26945         * README: Update reference to Linux kernel versions.
26947 2012-08-02  Marek Polacek  <polacek@redhat.com>
26949         [BZ# 14150]
26950         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26951         libc_cv_asm_type_prefix with %.
26952         * configure: Regenerated.
26953         * include/libc-symbols.h: Remove comment about
26954         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26955         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26956         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26957         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26958         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26959         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26960         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26961         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26962         * elf/tst-unique2mod1.c: Likewise.
26963         * elf/tst-unique1mod2.c: Likewise.
26964         * elf/tst-unique1mod1.c: Likewise.
26965         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26966         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26967         Replace ASM_TYPE_DIRECTIVE with .type.
26968         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26969         * sysdeps/i386/sysdep.h: Likewise.
26970         * sysdeps/x86_64/sysdep.h: Likewise.
26971         * sysdeps/sh/sysdep.h: Likewise.
26972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26973         Do not define ASM_TYPE_DIRECTIVE.
26974         * sysdeps/powerpc/sysdep.h: Likewise.
26975         * sysdeps/powerpc/powerpc32/sysdep.h:
26976         Replace ASM_TYPE_DIRECTIVE with .type.
26977         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26978         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26979         * sysdeps/i386/fpu/e_powf.S: Likewise.
26980         * sysdeps/i386/fpu/e_expl.S: Likewise.
26981         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26982         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26983         * sysdeps/i386/fpu/e_pow.S: Likewise.
26984         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26985         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26986         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26987         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26988         * sysdeps/i386/fpu/e_log2.S: Likewise.
26989         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26990         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26991         * sysdeps/i386/fpu/e_powl.S: Likewise.
26992         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26993         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26994         * sysdeps/i386/fpu/e_logl.S: Likewise.
26995         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26996         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26997         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26998         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26999         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27000         * sysdeps/i386/fpu/e_log.S: Likewise.
27001         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27002         * sysdeps/i386/fpu/e_logf.S: Likewise.
27003         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27004         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27005         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27006         * sysdeps/i386/fpu/e_log10.S: Likewise.
27007         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27008         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27009         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27010         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27011         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27012         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27013         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27014         * sysdeps/i386/i686/strtok.S: Likewise.
27015         * sysdeps/i386/i386-mcount.S: Likewise.
27016         * sysdeps/i386/strtok.S: Likewise.
27017         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27018         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27019         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27020         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27021         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27022         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27023         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27024         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27025         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27026         * sysdeps/x86_64/_mcount.S: Likewise.
27027         * sysdeps/x86_64/strtok.S: Likewise.
27028         * sysdeps/sh/_mcount.S: Likewise.
27030 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27032         * libio/iofopen.c: Include <fcntl.h>.
27033         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27034         (_IO_fopen64, fopen64): Define as aliases.
27035         * libio/iofopen64.c: Include <fcntl.h>.
27036         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27037         Conditionalize body on this.
27038         * sysdeps/wordsize-64/iofopen.c: File removed.
27039         * sysdeps/wordsize-64/iofopen64.c: File removed.
27041 2012-08-01  Marek Polacek  <polacek@redhat.com>
27043         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27044         Use dlfcn directly instead of a variable.
27045         (binfmt-subdir): Do not define.
27046         (dlfcn): Likewise.
27048 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27050         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27051         Remove all definitions.
27052         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27053         <kernel-features.h>.
27054         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27055         (miss_F_GETOWN_EX): Remove all definitions.
27056         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27057         macro definition.
27058         [!__ASSUME_FCNTL64]: Remove conditional code.
27059         [__ASSUME_FCNTL64]: Make code unconditional.
27060         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27061         <kernel-features.h>.
27062         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27063         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27064         (lockf64) [__NR_fcntl64]: Make code unconditional.
27065         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27067         * sysdeps/unix/sysv/linux/kernel-features.h
27068         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27069         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27070         Make code unconditional.
27071         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27072         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27074         [__NR_vfork]: Make code unconditional.
27075         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27076         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27078         [__NR_vfork]: Make code unconditional.
27079         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27080         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27082 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27084         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27085         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27087         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27088         Define mkstemp64 as an alias.
27089         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27090         Define mkstemps64 as an alias.
27091         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27092         Define mkostemp64 as an alias.
27093         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27094         Define mkostemps64 as an alias.
27095         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27096         Conditionalize body on this.
27097         * misc/mkostemp64.c: Likewise.
27098         * misc/mkostemps64.c: Likewise.
27099         * misc/mkstemps64.c: Likewise.
27100         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27101         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27102         * sysdeps/wordsize-64/mkostemp.c: File removed.
27103         * sysdeps/wordsize-64/mkstemp.c: File removed.
27104         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27105         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27106         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27107         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27109         [BZ #14138]
27110         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27111         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27112         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27113         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27115         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27116         compat_symbol macros from <shlib-compat.h> rather than the underlying
27117         default_symbol_version and symbol_version macros, so that DEFAULT
27118         lines in shlib-versions are respected.
27119         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27121 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27123         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27124         Declare with warn_unused_result.
27125         (setgid, setregid, setegid, setresgid): Likewise.
27126         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27127         Likewise.
27128         * WUR-REPORT: Remove set*id functions.
27130 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27132         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27134 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27136         [BZ #10191]
27137         * include/sys/socket.h (__libc_accept, __libc_accept4):
27138         Add attribute_hidden.
27139         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27141         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27142         use of PTR_MANGLE.
27143         * inet/getnetgrent_r.c (setup): Likewise.
27145         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27147 2012-07-31  David S. Miller  <davem@davemloft.net>
27149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27151 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27153         [BZ #13629]
27154         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27155         value between 1.0 and 2.0 and smaller part has absolute value less
27156         than 1.0.
27157         * math/s_clog10.c (__clog10): Likewise.
27158         * math/s_clog10f.c (__clog10f): Likewise.
27159         * math/s_clog10l.c (__clog10l): Likewise.
27160         * math/s_clogf.c (__clogf): Likewise.
27161         * math/s_clogl.c (__clogl): Likewise.
27162         * math/libm-test.inc (clog_test): Add more tests.
27163         (clog10_test): Likewise.
27164         * sysdeps/i386/fpu/libm-test-ulps: Update.
27165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27167 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27169         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27170         Exit with zero in case no suitable GID is found, and write a
27171         message to standard error.
27173 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27175         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27176         rather than to 1.
27177         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27178         (MAXPATHLEN): Removed.
27179         (NOGROUP, NODEV): New macros.
27180         (setbit, clrbit, isset, isclr): New macros.
27181         (howmany, roundup, powerof2): New macros.
27182         (DEV_BSIZE): New macro.
27184         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27185         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27187         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27188         definition on [!__NO_LONG_DOUBLE_MATH].
27190         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27191         PTR_MANGLE and PTR_DEMANGLE.
27193         * socket/accept4.c (accept4): Rename to __libc_accept4.
27194         Define accept4 as a weak alias.
27196         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27197         on [_DIRENT_HAVE_D_TYPE].
27198         * io/ftw.c (ftw_dir): Likewise.
27200         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27202         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27204         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27205         Use the BSD numbers rather than the arbitrary ones we had.
27206         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27207         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27208         (SIGXCPU, SIGXFSZ): New macros.
27209         (_NSIG): Now 32.
27211         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27212         initializer on [_LIBC_REENTRANT].
27214         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27215         definitions inside [_POSIX_MAPPED_FILES].
27217         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27219         * dirent/opendir.c: Include <fcntl.h>.
27221         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27222         (__libc_getspecific): Likewise.
27223         (__libc_key_create): Likewise.
27225         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27226         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27227         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27228         (tmpfile64): Define as alias.
27229         * sysdeps/wordsize-64/tmpfile.c: File removed.
27230         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27231         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27232         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27234         * stdio-common/vfscanf.c: Include <stdbool.h>.
27235         * nss/makedb.c: Likewise.
27236         * stdio-common/_i18n_number.h: Likewise.
27237         * argp/argp-help.c: Likewise.
27238         * posix/wordexp.c: Likewise.
27239         * sysdeps/posix/spawni.c: Likewise.
27240         * nss/nss_files/files-initgroups.c: Likewise.
27241         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27242         * nss/nss_files/files-initgroups.c: Likewise.
27243         * nss/nss_db/db-netgrp.c: Likewise.
27244         * nss/nss_db/db-initgroups.c: Likewise.
27245         * io/fchmodat.c: Include <sys/stat.h>.
27247         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27248         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27250         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27251         [HAVE_MMAP].
27253         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27254         Add multiple inclusion protection.
27256 2012-07-27  David S. Miller  <davem@davemloft.net>
27258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27260 2012-07-27  Gary Benson  <gbenson@redhat.com>
27262         [BZ #14298]
27263         * elf/rtld.c: Include <stap-probe.h>.
27264         (dl_main): Added static probes "init_start" and "init_complete".
27265         * elf/dl-load.c: Include <stap-probe.h>.
27266         (lose): Take new parameter "nsid".
27267         Added static probe "map_failed".
27268         (_dl_map_object_from_fd): Pass namespace id to lose.
27269         Added static probe "map_start".
27270         (open_verify): Pass namespace id to lose.
27271         * elf/dl-open.c: Include <stap-probe.h>.
27272         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27273         and "reloc_complete".
27274         * elf/dl-close.c: Include <stap-probe.h>.
27275         (_dl_close_worker): Added static probes "unmap_start" and
27276         "unmap_complete".
27277         * elf/rtld-debugger-interface.txt: New file documenting the above.
27279 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27281         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27282         rather than a string variable.
27283         * sunrpc/rpc_main.c (h_output): Likewise.
27284         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27286 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27288         * inet/check_native.c: New file.
27290 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27292         [BZ #13629]
27293         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27294         if larger part has absolute value 1.0.
27295         * math/s_clog10.c (__clog10): Likewise.
27296         * math/s_clog10f.c (__clog10f): Likewise.
27297         * math/s_clog10l.c (__clog10l): Likewise.
27298         * math/s_clogf.c (__clogf): Likewise.
27299         * math/s_clogl.c (__clogl): Likewise.
27300         * math/libm-test.inc (clog_test): Add more tests.
27301         (clog10_test): Likewise.
27302         * sysdeps/i386/fpu/libm-test-ulps: Update.
27303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27305         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27306         (pltexit): Likewise.
27307         (La_regs): Likewise.
27308         (La_retval): Likewise.
27309         (int_retval): Likewise.
27310         Update #error for removed macros to refer only to definitions in
27311         tst-audit.h.
27312         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27313         macro.
27314         (pltexit): Likewise.
27315         (La_regs): Likewise.
27316         (La_retval): Likewise.
27317         (int_retval): Likewise.
27318         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27319         macro.
27320         (pltexit): Likewise.
27321         (La_regs): Likewise.
27322         (La_retval): Likewise.
27323         (int_retval): Likewise.
27324         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27325         macro.
27326         (pltexit): Likewise.
27327         (La_regs): Likewise.
27328         (La_retval): Likewise.
27329         (int_retval): Likewise.
27330         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27331         macro.
27332         (pltexit): Likewise.
27333         (La_regs): Likewise.
27334         (La_retval): Likewise.
27335         (int_retval): Likewise.
27336         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27337         macro.
27338         (pltexit): Likewise.
27339         (La_regs): Likewise.
27340         (La_retval): Likewise.
27341         (int_retval): Likewise.
27342         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27343         macro.
27344         (pltexit): Likewise.
27345         (La_regs): Likewise.
27346         (La_retval): Likewise.
27347         (int_retval): Likewise.
27348         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27349         macro definitions in tst-audit.h.
27350         * sysdeps/i386/tst-audit.h: New file.
27351         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27352         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27353         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27354         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27355         * sysdeps/sh/tst-audit.h: Likewise.
27356         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27357         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27358         * sysdeps/x86_64/tst-audit.h: Likewise.
27360 2012-07-26  Andreas Jaeger  <aj@suse.de>
27362         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27363         ptrace.
27365         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27366         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27367         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27368         PTRACE_O_MASK.
27369         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27370         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27371         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27373         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27374         value.
27376         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27377         _sigsys.
27378         (si_call_addr, si_syscall, si_arch): Define new macro.
27379         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27380         _sigsys.
27381         (si_call_addr, si_syscall, si_arch): Define new marcro.
27382         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27383         _sigsys.
27384         (si_call_addr, si_syscall, si_arch): Define new macro.
27385         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27386         _sigsys.
27387         (si_call_addr, si_syscall, si_arch): Define new macro.
27389 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27391         [BZ #13717]
27392         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27393         Change to 2.4.21 where previously 2.4.1.
27394         * sysdeps/unix/sysv/linux/configure: Regenerated.
27395         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27396         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27397         Linux kernel version.
27398         (__ASSUME_STD_AUXV): Remove.
27399         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27400         kernel version.
27401         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27402         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27403         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27404         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27405         (__ASSUME_NETLINK_SUPPORT): Likewise.
27406         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27407         (__no_netlink_support): Remove conditional definition.
27408         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27409         Remove.
27410         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27411         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27412         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27413         (if_nameindex_ioctl): Remove.
27414         (if_nameindex_netlink): Do not handle __no_netlink_support.
27415         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27416         code.
27417         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27418         Remove conditional code.
27419         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27420         code.
27421         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27422         unconditional.
27423         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27424         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27425         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27426         Remove.
27427         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27428         [!__ASSUME_STD_AUXV]: Remove conditional code.
27429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27430         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27431         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27433         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27434         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27435         code.
27436         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27438         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27439         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27440         conditional code.
27441         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27443         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27444         code.
27445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27446         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27447         conditional code.
27448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27449         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27450         code unconditional.
27451         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27452         conditional code.
27453         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27454         unconditional.
27455         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27456         conditional code.
27457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27458         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27459         unconditional.
27460         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27461         conditional code.
27462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27463         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27464         code unconditional.
27465         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27466         conditional code.
27467         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27468         unconditional.
27469         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27470         conditional code.
27471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27472         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27473         code unconditional.
27474         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27475         conditional code.
27476         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27477         unconditional.
27478         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27479         conditional code.
27481 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27483         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27484         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27485         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27486         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27487         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27488         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27489         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27490         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27491         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27492         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27493         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27494         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27495         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27496         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27497         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27498         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27499         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27500         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27501         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27503         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27504         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27505         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27507 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27509         * Versions.def: Add GLIBC_2.17.
27510         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27511         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27512         Introduce __libc_secure_getenv.
27513         * stdlib/Versions (2.17): Add secure_getenv
27514         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27515         * stdlib/secure-getenv.c: Rename __secure_getenv to
27516         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27517         symbol __secure_getenv for GLIBC_2.0.
27518         * stdlib/tst-secure-getenv.c: New.
27519         * stdlib/Makefile (tests): Add testcase.
27520         * manual/startup.texi (Environment Access): Document
27521         secure_getenv.
27522         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27523         __libc_secure_getenv.
27524         * inet/ruserpass.c (ruserpass): Likewise.
27525         * malloc/mtrace.c (mtrace): Likewise.
27526         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27527         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27528         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27529         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27530         HAVE_SECURE_GETENV.
27531         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27532         __secure_getenv to __libc_secure_getenv.
27533         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27535         Likewise.
27536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27537         Likewise.
27538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27540         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27546 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27548         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27549         (struct La_i86_retval): Likewise.
27550         (struct La_x86_64_regs): Likewise.
27551         (struct La_x86_64_retval): Likewise.
27552         (struct La_x32_regs): Likewise.
27553         (struct La_x32_retval): Likewise.
27554         (struct La_ppc32_regs): Likewise.
27555         (struct La_ppc32_retval): Likewise.
27556         (struct La_ppc64_regs): Likewise.
27557         (struct La_ppc64_retval): Likewise.
27558         (struct La_sh_regs): Likewise.
27559         (struct La_sh_retval): Likewise.
27560         (struct La_s390_32_regs): Likewise.
27561         (struct La_s390_32_retval): Likewise.
27562         (struct La_s390_64_regs): Likewise.
27563         (struct La_s390_64_retval): Likewise.
27564         (struct La_sparc32_regs): Likewise.
27565         (struct La_sparc32_retval): Likewise.
27566         (struct La_sparc64_regs): Likewise.
27567         (struct La_sparc64_retval): Likewise.
27568         (struct audit_ifaces): Remove architecture-specific pltenter and
27569         pltexit members.
27570         * sysdeps/i386/ldsodefs.h: New file.
27571         * sysdeps/powerpc/ldsodefs.h: Likewise.
27572         * sysdeps/s390/ldsodefs.h: Likewise.
27573         * sysdeps/sh/ldsodefs.h: Likewise.
27574         * sysdeps/sparc/ldsodefs.h: Likewise.
27575         * sysdeps/x86_64/ldsodefs.h: Likewise.
27577 2012-07-25  Marek Polacek  <polacek@redhat.com>
27579         [BZ #6808]
27580         * math/libm-test.inc (yn_test): Add another test.
27581         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27582         to ERANGE when the result is +-Inf.
27583         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27584         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27585         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27586         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27588 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27590         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27591         equal to 0.
27592         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27593         clock_t.
27594         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27596 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27598         * configure.in <sysdeps resolving>: Correct printing
27599         Implies_before.
27600         * configure: Regenerate.
27602 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27604         * math/w_ilogb.c: Include <limits.h>.
27605         * math/w_ilogbl.c: Likewise.
27607 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27609         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27610         va_copy.  Document allowing for unavailable va_copy only as
27611         pre-C99 compatibility.
27612         * manual/string.texi (Copying and Concatenation): Use va_copy
27613         instead of __va_copy in concat example.
27615 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27617         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27618         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27619         it if not null.
27621         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27622         with O_NOLINK passed to __file_name_lookup.
27624         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27625         with O_NOLINK passed to __file_name_lookup.
27627         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27628         negative N or less than NGIDS.
27630         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27631         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27632         enough.  Use memcpy instead of strncpy.
27634 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27636         * elf/Makefile (check-data): Remove.
27637         (localplt.data): New vpath directive.
27638         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27639         instead of $(check-data).
27640         * scripts/data/localplt-generic.data: Move to ...
27641         * sysdeps/generic/localplt.data: ... here.
27642         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27643         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27644         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27646         ... here.
27647         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27649         ... here.
27650         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27652         ... here.
27653         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27655         ... here.
27656         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27658         ... here.
27659         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27661         ... here.
27663 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27665         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27666         PPC32 and PPC64 files.
27667         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27668         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27670 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27672         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27673         __makecontext_ret to ...
27674         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27675         ... here and call exit if uc_link is NULL.  New file.
27676         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27677         __makecontext_ret.S.
27678         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27679         __makecontext_ret to ...
27680         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27681         ... here and call exit if uc_link is NULL.  New file.
27682         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27683         __makecontext_ret.S.
27685 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27687         * elf/elf.h (R_390_IRELATIVE): New definition.
27688         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27689         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
27690         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27691         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27692         (elf_machine_lazy_rel): Likewise.
27693         * sysdeps/s390/dl-irel.h: New file.
27694         * sysdeps/s390/s390-64/memcpy.S: New asm code.
27695         * sysdeps/s390/s390-64/memset.S: New asm code.
27696         * sysdeps/s390/s390-64/memcmp.S: New asm code.
27697         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27698         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27699         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27700         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27701         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27702         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27703         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27704         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27705         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27706         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27707         * sysdeps/s390/s390-32/memcpy.S: New asm code.
27708         * sysdeps/s390/s390-32/memset.S: New asm code.
27709         * sysdeps/s390/s390-32/memcmp.S: New asm code.
27711 2012-07-17  Marek Polacek  <polacek@redhat.com>
27713         [BZ #14349]
27714         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27715         * sysdeps/s390/s390-64/configure.in: Likewise.
27716         * sysdeps/sparc/configure.in: Likewise.
27717         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27718         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27719         * sysdeps/i386/configure.in: Likewise.
27720         * sysdeps/x86_64/configure.in: Likewise.
27721         * sysdeps/sh/configure.in: Likewise.
27722         * sysdeps/s390/s390-32/configure: Regenerated.
27723         * sysdeps/s390/s390-64/configure: Likewise.
27724         * sysdeps/x86_64/configure: Likewise.
27725         * sysdeps/sh/configure: Likewise.
27726         * sysdeps/powerpc/powerpc64/configure: Likewise.
27727         * sysdeps/powerpc/powerpc32/configure: Likewise.
27728         * sysdeps/sparc/configure: Likwise.
27729         * sysdeps/i386/configure: Likewise.
27731         * elf/dl-open.c: Comment fixes.
27733 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
27735         * Makefile [CXX] (check-data): Remove.
27736         [CXX] (c++-types.data): New vpath directive.
27737         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27738         vpath.  Do not allow for C++ type data being missing.
27739         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27740         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27741         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27742         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27743         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27744         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27745         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27747         ... here.
27748         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27750         ... here.
27751         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27753         ... here.
27754         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27756         ... here.
27757         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27759         ... here.
27760         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27762         ... here.
27763         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27765         ... here.
27766         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27769         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27770         definitions to architecture-specific files.
27771         (TLS_IE): Likewise.
27772         (TLS_LD): Likewise.
27773         (TLS_GD): Likewise.
27774         * sysdeps/i386/tls-macros.h: New file.
27775         * sysdeps/powerpc/tls-macros.h: Likewise.
27776         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27777         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27778         * sysdeps/sh/tls-macros.h: Likewise.
27779         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27780         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27781         * sysdeps/x86_64/tls-macros.h: Likewise.
27783 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27785         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27786         zero value for regular exit case.
27788         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27789         (__start_context): Preserve zero value for regular exit case.
27791 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27792             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27794         * manual/setjmp.texi (setcontext): Clarify normal process
27795         termination when uc_link is the null pointer.
27796         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27797         exit call.
27799 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27801         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27802         preprocessor.  Test for each exception mask separately.
27804 2012-07-16  Andreas Jaeger  <aj@suse.de>
27806         * po/ru.po: Update from translation team.
27808 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27810         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27811         equal to 0.
27812         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27813         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27814         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27815         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27816         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27818 2012-07-13  Andreas Jaeger  <aj@suse.de>
27820         * po/fr.po: Update from translation team.
27822 2012-07-12  Marek Polacek  <polacek@redhat.com>
27824         [BZ #14173]
27825         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27826         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27827         loop condition.
27829 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27831         [BZ #13717]
27832         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27833         Change to 2.4.1 where previously 2.4.0.
27834         * sysdeps/unix/sysv/linux/configure: Regenerated.
27835         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27836         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27837         version.
27838         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27839         (__ASSUME_AT_CLKTCK): Remove.
27840         (__ASSUME_AT_PAGESIZE): Likewise.
27841         (__ASSUME_AT_XID): Likewise.
27842         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27843         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27844         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27845         unconditionally.
27846         (HAVE_AUX_PAGESIZE): Likewise.
27847         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27848         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27849         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27851 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27853         [BZ #14307]
27854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27855         the temporary buffer used to invoke __gethostbyname2_r,
27856         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27857         host_data / struct gaih_addrtuple.
27858         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27859         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27860         header file nss/nsswitch.h.
27861         * nss/nsswitch.h (global scope): Add definition of implementation
27862         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27863         resolv/nss_dns/dns-host.c).
27865 2012-07-11  Andreas Jaeger  <aj@suse.de>
27867         * po/fr.po: Update from translation team.
27869         * po/sv.po: Update from translation team
27870         * po/fr.po: Another update from translation team.
27872 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27874         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27875         for subnormals or multiply small sinh result by itself.
27876         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27879 2012-07-11  David S. Miller  <davem@davemloft.net>
27881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27883 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27885         [BZ #14347]
27886         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27887         (INTERNAL_MARK): Shift it here.
27889 2012-07-10  Marek Polacek  <polacek@redhat.com>
27891         [BZ #14151]
27892         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27893         libc_cv_asm_global_directive with .globl.
27894         * configure: Regenerated.
27895         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27896         with .globl.
27897         * sysdeps/i386/configure: Regenerated.
27898         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27899         with .globl.
27900         * sysdeps/x86_64/configure: Regenerated.
27901         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27902         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27903         * elf/tst-unique2mod2.c: Likewise.
27904         * elf/tst-unique2mod1.c: Likewise.
27905         * elf/tst-unique1mod2.c: Likewise.
27906         * elf/tst-unique1mod1.c: Likewise.
27907         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27908         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27909         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27910         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27911         * sysdeps/mach/sysdep.h: Likewise.
27912         * sysdeps/i386/sysdep.h: Likewise.
27913         * sysdeps/i386/i386-mcount.S: Likewise.
27914         * sysdeps/x86_64/_mcount.S: Likewise.
27915         * sysdeps/x86_64/sysdep.h: Likewise.
27916         * sysdeps/sh/_mcount.S: Likewise.
27917         * sysdeps/sh/sysdep.h: Likewise.
27918         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27919         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27920         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27921         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27922         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27923         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27924         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27925         * locale/localeinfo.h: Likewise.
27926         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27927         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27929 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27931         [BZ #14336]
27932         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27933         system".
27934         * manual/message.texi (The Uniforum approach): Likewise.
27935         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27936         (glibc iconv Implementation): Likewise.
27938 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27940         [BZ #14337]
27941         * math/s_clog.c (__clog): Avoid scaling a value down where that
27942         could result in underflow.
27943         * math/s_clog10.c (__clog10): Likewise.
27944         * math/s_clog10f.c (__clog10f): Likewise.
27945         * math/s_clog10l.c (__clog10l): Likewise.
27946         * math/s_clogf.c (__clogf): Likewise.
27947         * math/s_clogl.c (__clogl): Likewise.
27948         * math/libm-test.inc (clog_test): Add more tests.
27949         (clog10_test): Likewise.
27950         * sysdeps/i386/fpu/libm-test-ulps: Update.
27951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27953 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27955         [BZ #14283]
27956         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27957         by 7 not 8 to examine high bit of fractional part.
27959         [BZ #14042]
27960         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27961         for call to __mcount_internal.
27962         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27963         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27964         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27966 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27968         [BZ #14154]
27969         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27970         approximation for values within 0x1p-13f of an odd multiple of
27971         pi/4.
27972         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27973         exception.  Add more tests.
27974         * sysdeps/i386/fpu/libm-test-ulps: Update.
27976         [BZ #6778]
27977         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27978         inputs and return -1 for them.  Do not check for +Inf in case not
27979         reachable for +Inf.
27980         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27981         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27982         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27983         and return -1 for them.  Do not check for +Inf in case not
27984         reachable for +Inf.
27985         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27986         define.
27987         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27988         and return -1 for them.  Do not check for +Inf in case not
27989         reachable for +Inf.
27990         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27991         spurious underflow.
27992         * sysdeps/i386/fpu/libm-test-ulps: Update.
27993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27995 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27997         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27999 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28001         [BZ #14157]
28002         [BZ #14331]
28003         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28004         could result in spurious underflow.  Scale down values above
28005         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28006         * math/s_csqrtf.c (__csqrtf): Likewise.
28007         * math/s_csqrtl.c (__csqrtl): Likewise.
28008         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28009         spurious underflow.
28010         * sysdeps/i386/fpu/libm-test-ulps: Update.
28011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28013 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28015         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28016         xopen-msg.sed.
28017         * catgets/xopen-msg.awk: New file.
28018         * catgets/xopen-msg.sed: Removed.
28020         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28021         po2text.sed.
28022         * intl/po2test.awk: New file.
28023         * intl/po2test.sed: Removed.
28025 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28027         [BZ #14328]
28028         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28029         or multiply small sinh result by itself.
28030         * math/s_ctanf.c (__ctanf): Likewise.
28031         * math/s_ctanh.c (__ctanh): Likewise.
28032         * math/s_ctanhf.c (__ctanhf): Likewise.
28033         * math/s_ctanhl.c (__ctanhl): Likewise.
28034         * math/s_ctanl.c (__ctanl): Likewise.
28035         * math/libm-test.inc (ctan_test_tonearest): New function.
28036         (ctan_test_towardzero): Likewise.
28037         (ctan_test_downward): Likewise.
28038         (ctan_test_upward): Likewise.
28039         (ctanh_test_tonearest): Likewise.
28040         (ctanh_test_towardzero): Likewise.
28041         (ctanh_test_downward): Likewise.
28042         (ctanh_test_upward): Likewise.
28043         (main): Call these new functions.
28044         * sysdeps/i386/fpu/libm-test-ulps: Update.
28045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28047 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28049         * .gitignore: Delete /ports entry.
28051 2012-07-03  Andreas Jaeger  <aj@suse.de>
28053         * po/bg.po: Update from translation team.
28054         * po/cs.po: Likewise.
28055         * po/de.po: Likewise.
28056         * po/hr.po: Likewise.
28057         * po/nl.pl: Likewise.
28058         * po/pl.po: Likewise.
28059         * po/vi.po: Likewise.
28061 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28063         * Makeconfig [!+link] (+link-before-libc): New variable.
28064         [!+link] (+link-after-libc): Likewise.
28065         [!+link] (+link-tests): Likewise.
28066         [!+link] (+link): Define in terms of $(+link-before-libc) and
28067         $(+link-after-libc).
28068         [!+link-static] (+link-static-before-libc): New variable.
28069         [!+link-static] (+link-static-after-libc): Likewise.
28070         [!+link-static] (+link-static-tests): Likewise.
28071         [!+link-static] (+link-static): Define in terms of
28072         $(+link-static-before-libc) and $(+link-static-after-libc).
28073         [build-shared] (link-libc-before-gnulib): New variable.
28074         [build-shared] (link-libc-tests): Likewise.
28075         [build-shared] (link-libc): Define in terms of
28076         $(link-libc-before-gnulib).
28077         [!build-shared] (link-libc-tests): New variable.
28078         (link-libc-static-tests): New variable.
28079         [!gnulib] (gnulib-arch): New variable.
28080         [!gnulib] (gnulib-tests): Likewise.
28081         [!gnulib] (static-gnulib-arch): Likewise.
28082         [!gnulib] (static-gnulib-tests): Likewise.
28083         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28084         Define with "=" instead of ":=".
28085         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28086         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28087         * Rules (binaries-all-notests): New variable.
28088         (binaries-all-tests): Likewise.
28089         (binaries-static-notests): Likewise.
28090         (binaries-static-tests): Likewise.
28091         (binaries-all): Define using $(binaries-all-notests) and
28092         $(binaries-all-tests).
28093         (binaries-static): Define using $(binaries-static-notests) and
28094         $(binaries-static-tests).
28095         (binaries-shared-tests): New variable.
28096         (binaries-shared-notests): Likewise.
28097         (binaries-shared): Remove variable.
28098         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28099         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28100         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28101         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28102         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28103         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28104         * elf/Makefile (sln-modules): New variable.
28105         (extra-objs): Add $(sln-modules:=.o).
28106         (ldconfig-modules): Add static-stubs.
28107         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28108         * elf/static-stubs.c: New file.
28110         [BZ #14283]
28111         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28112         by 7 not 8 to examine high bit of fractional part.  Use volatile
28113         variables when splitting into final array of floats if
28114         __FLT_EVAL_METHOD__ != 0.
28115         * math/libm-test.inc (cos_test): Add another test.
28116         (sin_test): Likewise.
28117         * sysdeps/i386/fpu/libm-test-ulps: Update.
28119         [BZ #14273]
28120         * math/libm-test.inc (cosh_test): Add more tests.
28122         * version.h (RELEASE): Set to "development".
28123         (VERSION): Set to "2.16.90".
28125 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28127         * NEWS: Update copyright. Remove last-updated date.
28128         Mention math library bug fixes and timezone data changes.
28129         * README: Mention GNU/Hurd, x32, and HPPA support status.
28131 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28133         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28135 2012-06-27  Andreas Jaeger  <aj@suse.de>
28137         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28139 2012-06-25  Andreas Jaeger  <aj@suse.de>
28141         * sysdeps/s390/fpu/libm-test-ulps: Update.
28143 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28144             Thomas Schwinge  <thomas@codesourcery.com>
28146         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28147         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28148         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28149         fanotify_mark.
28151 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28153         * sysdeps/mach/start.c: Remove file.
28154         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28155         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28156         * sysdeps/sh/init-first.c: Likewise.
28158         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28159         registers for frame unwinding purposes, add CFI directives.
28160         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28161         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28162         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28163         Likewise.
28165         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28166         __fortify_fail returning.
28167         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28169         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28170         sysdeps/sh/____longjmp_chk.S.
28171         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28172         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28173         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28174         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28176         * sysdeps/sh/abort-instr.h: New file.
28177         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28178         process in case exit returns.
28180         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28181         initialize the GOT register before use.
28183         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28184         calculation of ARGC > 4.
28186         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28187         meaningful names to some local labels.
28189 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28190             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28192         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28193         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28194         (__arch_compare_and_exchange_val_16_acq): Likewise.
28195         (__arch_compare_and_exchange_val_32_acq): Likewise.
28196         (atomic_exchange_and_add): Fix gUSA sequence.
28197         (atomic_add): Likewise.
28198         (atomic_add_negative): Likewise.
28199         (atomic_add_zero): Likewise.
28200         (atomic_bit_test_set): Likewise.
28202 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28204         [BZ #13579]
28205         * include/link.h (struct link_map): Add l_free_initfini.
28206         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28207         l_initfini.
28208         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28209         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28210         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28211         set.
28213 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28215         * configure.in: Use AC_LANG_SOURCE.
28216         * configure: Regenerate.
28218 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28220         * configure.in (libc_cv_localstatedir): New substituted variable.
28221         * configure: Regenerated.
28222         * config.make.in (localstatedir): New variable, substituted from
28223         libc_cv_localstatedir.
28224         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28225         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28226         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28227         * sysdeps/gnu/configure: Regenerated.
28229 2012-06-21  Jeff Law  <law@redhat.com>
28231         [BZ #14277]
28232         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28233         free.  Simplify list management for _LIBC case.
28235 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28237         [BZ #14273]
28238         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28239         Clear sign bit of 64-bit integer value before comparing against
28240         overflow value.
28242         * sysdeps/mach/configure: Regenerated.
28244 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28246         [BZ #14278]
28247         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28249 2012-06-21  Jeff Law  <law@redhat.com>
28251         [BZ #13882]
28252         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28253         uint16_t for elements in the "seen" array to avoid char overflows.
28254         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28255         * elf/dl-open.c (dl_open_worker): Likewise.
28257 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28259         * scripts/list-sources.sh: Scan PORTS for translations.
28260         * po/libc.pot: Regenerated.
28262 2012-06-21  Andreas Jaeger  <aj@suse.de>
28264         [BZ #12194]
28265         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28266         warning.
28267         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28268         * bits/byteswap-16.h (__bswap_16): Likewise.
28269         * bits/byteswap.h (__bswap_constant_16): Likewise.
28271 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28273         [BZ #14117]
28274         * sysdeps/i386/fpu_control.h: Removed.
28275         * sysdeps/x86_64/fpu_control.h: Moved to ...
28276         * sysdeps/x86/fpu_control.h: Here.
28278         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28279         (_FPU_SETCW): Likewise.
28281 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28283         [BZ #14117]
28284         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28285         * sysdeps/x86/fpu/bits/mathinline.h: This.
28286         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28288         [BZ #14050]
28289         [BZ #14117]
28290         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28291         functions if __x86_64__ is defined.
28293 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28295         * string/endian.h: Add !__ASSEMBLER__ condition for including
28296         conversion interfaces.
28298 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28300         [BZ #14241]
28301         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28302         of ABS(x) in calculating zero to negative powers other than odd
28303         integers.
28304         * math/libm-test.inc (pow_test): Add more tests.
28306 2012-06-15  Andreas Jaeger  <aj@suse.de>
28308         * manual/contrib.texi (Contributors): Update entry of Liubov
28309         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28310         Machado Filho.
28312 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28314         * string/string.h: Add __wur to GNU version of strerror_r.
28316 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28318         [BZ #14229]
28319         * string/Makefile (tests): Add tst-strtok_r.
28320         * string/tst-strtok_r.c: New file.
28321         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28322         RAX_LP/RDX_LP on SAVE_PTR.
28324 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28326         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28328 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28330         * libm_test.inc (csqrt_test): Allow more spurious underflow
28331         exceptions.
28332         (j0_test): Likewise.
28333         (j1_test): Likewise.
28334         (y0_test): Likewise.
28335         (y1_test): Likewise.
28337 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28339         * po/Makefile (libc.pot): Use UTF-8 charset.
28341 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28343         [BZ #14210]
28344         Suppress sign-conversion warning from FD_SET.
28345         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28346         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28347         not unsigned long int.
28348         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28350 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28352         [BZ #14050]
28353         [BZ #14117]
28354         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28355         __extern_always_inline instead of __extern_inline.
28356         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28357         (__signbit): Likewise.
28358         (__signbitl): Support C++ namespace.
28359         (lrintf): New inline function.
28360         (lrint): Likewise.
28361         (llrintf): Likewise.
28362         (llrint): Likewise.
28363         (fmaxf): Likewise.
28364         (fmax): Likewise.
28365         (fminf): Likewise.
28366         (fmin): Likewise.
28367         (rint): Likewise.
28368         (rintf): Likewise.
28369         (ceil): Likewise.
28370         (ceilf): Likewise.
28371         (floor): Likewise.
28372         (floorf): Likewise.
28373         (nearbyint): Likewise.
28374         (nearbyintf): Likewise.
28376 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28379         non-default versions.
28381 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28383         [BZ #14218]
28384         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28386 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28388         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28389         (FE_UPWARD, FE_DOWNWARD): Don't define.
28390         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28391         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28393         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28394         reading it.
28395         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28396         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28398 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28400         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28402         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28403         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28405 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28407         [BZ #14117]
28408         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28409         * sysdeps/i386/fpu/Implies: New file.
28410         * sysdeps/x86_64/fpu/Implies: Likewise.
28411         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28412         * sysdeps/x86/fpu/bits/fenv.h: This.
28414         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28415         __SSE_MATH__.
28417 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28419         [BZ #14134]
28420         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28421         character 0xffff that matches the last element of the
28422         conversion table.
28424 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28426         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28427         fmodl commit.
28429 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28432         values higher than 25.6283.
28434 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28436         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28437         subnormal exponent extraction and add some __builtin_expect.
28438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28439         Fix for subnormal mantissa calculation.
28441 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28443         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28444         cpu2 is -1 and errno is not ENOSYS.
28446 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28448         [BZ #14117]
28449         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28450         * sysdeps/x86/bits/string.h: This.
28451         * sysdeps/x86_64/bits/string.h: Removed.
28453         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28454         if not compiling for x86-64, but compiling for >= i486.
28456         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28457         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28459         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28460         New macro from Linux kernel 3.4.0.
28461         (FP_XSTATE_MAGIC2): Likewise.
28462         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28463         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28464         (struct _fpx_sw_bytes): New struct.
28465         (struct _xsave_hdr): Likewise.
28466         (struct _ymmh_state): Likewise.
28467         (struct _xstate): Likewise.
28469         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28470         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28471         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28472         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28473         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28474         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28476         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28477         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28478         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28479         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28480         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28481         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28483 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28485         [BZ #13743]
28486         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28487         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28488         (sysdep_headers): Include sys/platform/ppc.h.
28489         * sysdeps/powerpc/test-gettimebase.c: Test for
28490         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28491         * manual/Makefile (appendices): Include platform.texi.
28492         * manual/contrib.texi (Contributors): Update @node pointers.
28493         * manual/maint.texi (Maintenance): Likewise.
28494         (Platform): New node.
28495         * manual/platform.texi: New file.  Document the new features.
28497 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28498             Jakub Jelinek  <jakub@redhat.com>
28500         [BZ #14188]
28501         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28502         where __builtin_expect is unavailable.
28504 2012-06-03  David S. Miller  <davem@davemloft.net>
28506         * stdlib/longlong.h: Updated from GCC.
28508 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28510         [BZ #14042]
28511         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28512         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28513         __mcount_internal.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28515         (GLIBC_2.16): Likewise.
28517 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28519         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28521 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28524         (default-abi): New variable.
28525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28526         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28527         variable.
28528         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28529         Likewise.
28530         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28531         Likewise.
28532         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28533         Likewise.
28535         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28536         definition.  Document in comment.
28538 2012-06-01  David S. Miller  <davem@davemloft.net>
28540         * stdlib/longlong.h: Updated from GCC.
28542 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28544         [BZ #14117]
28545         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28546         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28547         sys/debugreg.h sys/io.h here.
28548         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28549         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28550         sys/io.h.
28551         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28552         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28553         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28554         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28555         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28556         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28558         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28559         Define only if __x86_64__ is defined.
28561 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28563         [BZ #14048]
28564         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28565         Use int64_t for variable i.
28566         * math/libm-test.inc (fmod_test): Add more tests.
28568         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28569         z computation is not scheduled after fetestexcept.
28570         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28571         Use math_force_eval instead of asm to ensure calculation scheduled
28572         before exception test.
28573         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28574         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28576 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28578         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28579         computation is not scheduled after fetestexcept.
28581 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28583         [BZ #14117]
28584         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28585         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28587 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28589         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28590         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28592 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28594         [BZ #14117]
28595         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28596         <bits/wordsize.h>.
28597         (__WCHAR_MIN): Support __WORDSIZE == 64.
28598         (__WCHAR_MAX): Likewise.
28600         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28601         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28603         [BZ #14183]
28604         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28605         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28607         [BZ #14117]
28608         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28609         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28611         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28612         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28614         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28615         Defined to 1 if __x86_64__ isn't defined.
28616         (_STAT_VER_LINUX_OLD): New.
28617         (st_atime): Remove duplicate.
28618         (st_mtime): Likewise.
28619         (st_ctime): Likewise.
28621 2012-05-31  David S. Miller  <davem@davemloft.net>
28623         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28624         entries.
28626 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28628         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28629         gen-libm-test.pl.
28631         [BZ #14132]
28632         * elf/dl-reloc.c: Include <_itoa.h>.
28633         (_dl_reloc_bad_type): Remove use of INTUSE.
28634         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28635         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28636         * stdio-common/psiginfo.c (psiginfo): Likewise.
28637         * stdio-common/psignal.c (psignal): Likewise.
28638         * string/strsignal.c (strsignal): Likewise.
28639         * include/signal.h (_sys_siglist): Declare hidden proto.
28640         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28641         INTVARDEF with libc_hidden_data_def.
28642         * stdio-common/itoa-udigits.c: Likewise.
28643         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28644         (_itoa_lower_digits_internal): Remove declaration.
28645         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28646         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28647         (_sys_sigabbrev_internal): Remove aliases.
28648         (_sys_siglist): Define hidden alias.
28650 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28652         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28653         bits/sysctl.h.
28655 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28657         [BZ #14117]
28658         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28659         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28661         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28662         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28663         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28664         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28665         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28666         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28668         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28669         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28670         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28672         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28673         with __addr.
28674         (insw): Likewise.
28675         (insl): Likewise.
28676         (outsb): Likewise.
28677         (outsw): Likewise.
28678         (outsl): Likewise.
28680         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28681         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28682         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28684         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28685         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28686         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28687         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28688         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28689         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28691         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28692         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28694         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28695         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28697         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28698         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28699         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28701         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28702         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28703         to ...
28704         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28706         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28707         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28708         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28710         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28711         for x86-64.
28712         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28714 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
28716         * math/math.h (M_El): Use two more decimal places.
28717         (M_LOG2El): Likewise.
28718         (M_LOG10El): Likewise.
28719         (M_LN2l): Likewise.
28720         (M_LN10l): Likewise.
28721         (M_PIl): Likewise.
28722         (M_PI_2l): Likewise.
28723         (M_PI_4l): Likewise.
28724         (M_1_PIl): Likewise.
28725         (M_2_PIl): Likewise.
28726         (M_2_SQRTPIl): Likewise.
28727         (M_SQRT2l): Likewise.
28728         (M_SQRT1_2l): Likewise.
28730 2012-05-31  David S. Miller  <davem@davemloft.net>
28732         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28733         values between float registers.
28734         * sysdeps/sparc/sparc64/memset.S: Likewise.
28735         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28737 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
28739         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28740         -D_FORTIFY_SOURCE=1.
28741         (CPPFLAGS-tst-longjmp_chk.c): Define.
28742         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28743         (CPPFLAGS-tst-longjmp_chk2.c): Define.
28744         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28745         CFLAGS-tst-wchar-h.c.
28747 2012-05-31  Marek Polacek  <polacek@redhat.com>
28749         [BZ #14132]
28750         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28751         __endmntent_internal): Remove declaration.
28752         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28753         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28754         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28756 2012-05-30  David S. Miller  <davem@davemloft.net>
28758         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28759         (___Q_simulate_exceptions): Use real FP ops rather than writing
28760         into the %fsr.
28761         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28762         Likewise.
28764 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28766         [BZ #14117]
28767         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28768         * sysdeps/x86/bits/xtitypes.h: This.
28770         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28771         * sysdeps/x86/bits/wordsize.h: This.
28773         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28774         * sysdeps/x86/bits/huge_vall.h: This.
28776         * sysdeps/i386/bits/select.h: Removed.
28777         * sysdeps/x86_64/bits/select.h: Renamed to ...
28778         * sysdeps/x86/bits/select.h: This.
28780         * sysdeps/i386/bits/setjmp.h: Removed.
28781         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28782         * sysdeps/x86/bits/setjmp.h: This.
28784         * sysdeps/i386/bits/mathdef.h: Removed.
28785         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28786         * sysdeps/x86/bits/mathdef.h: This.
28788 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28790         [BZ #14132]
28791         * include/sys/socket.h (__connect_internal)
28792         (__libc_sa_len_internal): Remove declaration.
28793         (__connect, __libc_sa_len): Declare hidden_proto.
28794         (SA_LEN): Remove use of INTUSE.
28795         * socket/connect.c: Add libc_hidden_def.
28796         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28797         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28798         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28799         alias.
28800         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28801         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28802         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28803         of adding _internal alias.
28805 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28807         [BZ #14117]
28808         * sysdeps/i386/bits/link.h: Removed.
28809         * sysdeps/i386/bits/linkmap.h: Likewise.
28810         * sysdeps/x86_64/bits/link.h: Renamed to ...
28811         * sysdeps/x86/bits/link.h: This.
28812         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28813         * sysdeps/x86/bits/linkmap.h: This.
28815         * sysdeps/i386/bits/endian.h: Removed.
28816         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28817         * sysdeps/x86/bits/endian.h: This.
28819         * sysdeps/i386/bits/byteswap.h: Removed.
28820         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28821         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28822         * sysdeps/x86/bits/byteswap.h: This.
28823         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28824         * sysdeps/x86/bits/byteswap-16.h: This.
28825         * sysdeps/i386/Implies: Add x86.
28826         * sysdeps/x86_64/Implies: Likewise.
28828 2012-05-30  David S. Miller  <davem@davemloft.net>
28830         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28831         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28832         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28833         (FP_TRAPPING_EXCEPTIONS): Define.
28834         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28835         (FP_TRAPPING_EXCEPTIONS): Define.
28836         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28837         subnormals only when inexact has been signalled or underflow
28838         exceptions are enabled.
28839         (_FP_PACK_CANONICAL): Likewise.
28841 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28843         [BZ #14183]
28844         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28845         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28847 2012-05-30  Richard Henderson  <rth@twiddle.net>
28849         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28850         with #ifndef NOT_IN_libc.
28852         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28853         marked to avoid plt entry.
28855 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28857         [BZ #14112]
28858         * Makeconfig (default-abi): New macro.
28859         (abi-includes): Likewise.
28860         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28861         $(abi-$(default-abi)-lib-soname) for soname if defined.
28862         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28863         abi-variants.
28864         * Makefile (installed-stubs): Likewise.
28865         * include/stubs-biarch.h: Removed.
28866         * scripts/lib-names.awk: Only handle one library at a time.
28867         * scripts/soversions.awk: Remove WORDSIZE support.
28868         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28869         entries.
28870         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28871         Removed.
28872         (syscall-list-default-condition): Likewise.
28873         (syscall-list-default-condition): Likewise.
28874         (syscall-list-includes): Likewise.
28875         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28876         syscall-list-* with abi-*.  Handle undefined abi-variants.
28877         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28878         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28879         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28880         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28881         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28882         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28883         Removed.
28884         (syscall-list-32-options): Likewise.
28885         (syscall-list-32-condition): Likewise.
28886         (syscall-list-64-options): Likewise.
28887         (syscall-list-64-condition): Likewise.
28888         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28889         macro.
28890         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28891         Renamed to ...
28892         (abi-*): This.
28893         (abi-64-ld-soname): New macro.
28894         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28895         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28896         Renamed to ...
28897         (abi-*): This.
28898         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28899         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28901 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28903         * sysdeps/unix/sysv/linux/kernel-features.h
28904         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28905         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28906         include <kernel-features.h>.
28907         [!__NR_ftruncate64]: Remove conditional code.
28908         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28909         [__NR_ftruncate64]: Make code unconditional.
28910         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28911         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28912         include <kernel-features.h>.
28913         [!__NR_ftruncate64]: Remove conditional code.
28914         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28915         [__NR_ftruncate64]: Make code unconditional.
28916         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28918         include <kernel-features.h>.
28919         [!__NR_ftruncate64]: Remove conditional code.
28920         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28921         [__NR_ftruncate64]: Make code unconditional.
28922         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28924         include <kernel-features.h>.
28925         [!__NR_ftruncate64]: Remove conditional code.
28926         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28927         [__NR_ftruncate64]: Make code unconditional.
28928         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28930         * configure.in (libc_cv_fpie): Weaken to a compile test using
28931         LIBC_TRY_CC_OPTION.
28932         * configure: Regenerated.
28934 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28940         Refreshed.
28941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28947         Refreshed.
28949 2012-05-27  David S. Miller  <davem@davemloft.net>
28951         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28952         (___Q_zero): New.
28953         (__Q_simulate_exceptions): Return void.  Change to simulate
28954         exceptions by writing into the %fsr.
28955         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28956         (__Qp_handle_exceptions): Likewise.
28957         (numbers): Delete.
28958         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28959         __Qp_handle_exceptions.
28960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28961         __Qp_handle_exceptions.
28962         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28963         as unused and give dummy FP_RND_NEAREST initializer.
28964         (FP_INHIBIT_RESULTS): Define.
28965         (___Q_simulate_exceptions): Update declaration.
28966         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28967         formatting.
28968         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28969         as unused and give dummy FP_RND_NEAREST initializer.
28970         (__Qp_handle_exceptions): Update declaration.
28971         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28972         formatting.
28974 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28976         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28977         the temporary FPU control word.
28978         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28979         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28980         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28981         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28982         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28983         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28984         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28985         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28986         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28987         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28988         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28990 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28992         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28993         fields.
28995 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28997         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28998         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28999         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29000         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29001         Likewise.
29002         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29003         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29004         Likewise.
29006 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29008         * po/h.po: Update from translation team.
29010 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29012         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29014         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29015         handling of denormals.
29016         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29017         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29018         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29019         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29023         Likewise.
29025 2012-05-26  Marek Polacek  <polacek@redhat.com>
29027         [BZ #14152]
29028         * math/libm-test.inc (fma_test): Don't always expect underflow
29029         exception.
29031 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29033         [BZ #12416]
29034         * elf/tst-execstack.c: Include stackinfo.h.
29035         (do_test): Adjust test case to ensure that pthread_getattr_np
29036         behaviour remains the same after marking stack executable.
29038 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29040         * sysdeps/unix/sysv/linux/kernel-features.h
29041         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29042         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29043         kernel-features.h.
29044         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29045         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29046         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29047         kernel-features.h.
29048         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29049         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29051 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29053         * configure.in: Define the default includes to being none.
29054         * configure: Regenerated.
29056 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29058         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29059         * sysdeps/x86_64/setjmp.S: Likewise.
29060         * sysdeps/i386/bsd-setjmp.S: Likewise.
29061         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29062         * sysdeps/i386/setjmp.S: Likewise.
29063         * sysdeps/i386/__longjmp.S: Likewise.
29064         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29065         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29067         * include/stap-probe.h: New file.
29068         * configure.in: Handle --enable-systemtap.
29069         * configure: Regenerated.
29070         * config.h.in (USE_STAP_PROBE): New #undef.
29071         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29072         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29073         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29075 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29077         [BZ #13717]
29078         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29079         to 2.4.0 where earlier.
29080         * sysdeps/unix/sysv/linux/configure: Regenerated.
29081         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29082         <kernel-features.h>.
29083         [__ASSUME_32BITUIDS]: Make code unconditional.
29084         [!__ASSUME_32BITUIDS]: Remove conditional code.
29085         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29086         <kernel-features.h>.
29087         [__ASSUME_32BITUIDS]: Make code unconditional.
29088         [!__ASSUME_32BITUIDS]: Remove conditional code.
29089         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29090         [__ASSUME_32BITUIDS]: Make code unconditional.
29091         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29092         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29093         <kernel-features.h>.
29094         [__ASSUME_32BITUIDS]: Make code unconditional.
29095         [!__ASSUME_32BITUIDS]: Remove conditional code.
29096         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29097         <kernel-features.h>.
29098         [__ASSUME_32BITUIDS]: Make code unconditional.
29099         [!__ASSUME_32BITUIDS]: Remove conditional code.
29100         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29101         <kernel-features.h>.
29102         [__ASSUME_32BITUIDS]: Make code unconditional.
29103         [!__ASSUME_32BITUIDS]: Remove conditional code.
29104         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29105         <kernel-features.h>.
29106         [__ASSUME_32BITUIDS]: Make code unconditional.
29107         [!__ASSUME_32BITUIDS]: Remove conditional code.
29108         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29109         <kernel-features.h>.
29110         [__ASSUME_32BITUIDS]: Make code unconditional.
29111         [!__ASSUME_32BITUIDS]: Remove conditional code.
29112         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29113         <kernel-features.h>.
29114         [__ASSUME_32BITUIDS]: Make code unconditional.
29115         [!__ASSUME_32BITUIDS]: Remove conditional code.
29116         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29117         <kernel-features.h>.
29118         [__ASSUME_32BITUIDS]: Make code unconditional.
29119         [!__ASSUME_32BITUIDS]: Remove conditional code.
29120         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29121         <kernel-features.h>.
29122         [__ASSUME_32BITUIDS]: Make code unconditional.
29123         [!__ASSUME_32BITUIDS]: Remove conditional code.
29124         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29125         <kernel-features.h>.
29126         [__ASSUME_32BITUIDS]: Make code unconditional.
29127         [!__ASSUME_32BITUIDS]: Remove conditional code.
29128         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29129         <kernel-features.h>.
29130         [__ASSUME_32BITUIDS]: Make code unconditional.
29131         [!__ASSUME_32BITUIDS]: Remove conditional code.
29132         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29133         <kernel-features.h>.
29134         [__NR_setresgid] (__setresgid): Do not declare.
29135         [__ASSUME_32BITUIDS]: Make code unconditional.
29136         [!__ASSUME_32BITUIDS]: Remove conditional code.
29137         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29138         <kernel-features.h>.
29139         [__NR_setresuid] (__setresuid): Do not declare.
29140         [__ASSUME_32BITUIDS]: Make code unconditional.
29141         [!__ASSUME_32BITUIDS]: Remove conditional code.
29142         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29143         <kernel-features.h>.
29144         [__ASSUME_32BITUIDS]: Make code unconditional.
29145         [!__ASSUME_32BITUIDS]: Remove conditional code.
29146         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29147         <kernel-features.h>.
29148         [__ASSUME_32BITUIDS]: Make code unconditional.
29149         [!__ASSUME_32BITUIDS]: Remove conditional code.
29150         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29151         <kernel-features.h>.
29152         [__ASSUME_32BITUIDS]: Make code unconditional.
29153         [!__ASSUME_32BITUIDS]: Remove conditional code.
29154         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29155         <kernel-features.h>.
29156         [__ASSUME_32BITUIDS]: Make code unconditional.
29157         [!__ASSUME_32BITUIDS]: Remove conditional code.
29158         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29159         <kernel-features.h>.
29160         [__ASSUME_32BITUIDS]: Make code unconditional.
29161         [!__ASSUME_32BITUIDS]: Remove conditional code.
29162         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29163         <kernel-features.h>.
29164         [__ASSUME_32BITUIDS]: Make code unconditional.
29165         [!__ASSUME_32BITUIDS]: Remove conditional code.
29166         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29167         <kernel-features.h>.
29168         [__ASSUME_32BITUIDS]: Make code unconditional.
29169         [!__ASSUME_32BITUIDS]: Remove conditional code.
29170         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29171         <kernel-features.h>.
29172         [__ASSUME_32BITUIDS]: Make code unconditional.
29173         [!__ASSUME_32BITUIDS]: Remove conditional code.
29174         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29175         <kernel-features.h>.
29176         [__ASSUME_32BITUIDS]: Make code unconditional.
29177         [!__ASSUME_32BITUIDS]: Remove conditional code.
29178         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29179         <kernel-features.h>.
29180         [__ASSUME_32BITUIDS]: Make code unconditional.
29181         [!__ASSUME_32BITUIDS]: Remove conditional code.
29182         * sysdeps/unix/sysv/linux/kernel-features.h
29183         (__ASSUME_SETRESUID_SYSCALL): Remove.
29184         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29185         (__ASSUME_32BITUIDS): Likewise.
29186         (__ASSUME_LDT_WORKS): Likewise.
29187         (__ASSUME_O_DIRECTORY): Likewise.
29188         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29189         architecture but not kernel version.
29190         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29191         (__ASSUME_MMAP2_SYSCALL): Likewise.
29192         (__ASSUME_STAT64_SYSCALL): Likewise.
29193         (__ASSUME_IPC64): Likewise.
29194         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29195         <kernel-features.h>.
29196         [__ASSUME_32BITUIDS]: Make code unconditional.
29197         [!__ASSUME_32BITUIDS]: Remove conditional code.
29198         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29199         <kernel-features.h>.
29200         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29201         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29202         132096]: Remove conditional code.
29203         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29204         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29205         <kernel-features.h>.
29206         [__ASSUME_32BITUIDS]: Make code unconditional.
29207         [!__ASSUME_32BITUIDS]: Remove conditional code.
29208         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29209         <kernel-features.h>.
29210         [__ASSUME_32BITUIDS]: Make code unconditional.
29211         [!__ASSUME_32BITUIDS]: Remove conditional code.
29212         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29213         <kernel-features.h>.
29214         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29215         unconditional.
29216         (__setresgid): Do not declare.
29217         [__ASSUME_32BITUIDS]: Make code unconditional.
29218         [!__ASSUME_32BITUIDS]: Remove conditional code.
29219         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29220         <kernel-features.h>.
29221         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29222         unconditional.
29223         (__setresuid): Do not declare.
29224         [__ASSUME_32BITUIDS]: Make code unconditional.
29225         [!__ASSUME_32BITUIDS]: Remove conditional code.
29226         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29227         <kernel-features.h>.
29228         [__ASSUME_32BITUIDS]: Make code unconditional.
29229         [!__ASSUME_32BITUIDS]: Remove conditional code.
29230         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29231         <kernel-features.h>.
29232         [__ASSUME_32BITUIDS]: Make code unconditional.
29233         [!__ASSUME_32BITUIDS]: Remove conditional code.
29235 2012-05-25  Richard Henderson  <rth@twiddle.net>
29237         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29238         dl_hwcap to ifunc resolver.
29239         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29240         elf_ifunc_invoke.
29241         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29242         dl_hwcap to ifunc resolver.
29243         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29245 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29247         [BZ #14153]
29248         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29249         for |x| <= 2**-26, not 2**-57.
29250         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29251         exception.
29253 2012-05-24  Jeff Law  <law@redhat.com>
29255         * stdio-common/Makefile (tests): Add bug25.
29256         * stdio-common/bug25.c: New test.
29258 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29260         [BZ #13576]
29261         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29262         multiple of MALLOC_ALIGNMENT in size.
29263         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29265 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29267         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29268         Require >= 256.
29269         (FILENAME_MAX): Use macro-int-constant.
29270         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29271         (_IOFBF): Use macro-int-constant.
29272         (_IOLBF): Likewise.
29273         (_IONBF): Likewise.
29274         (SEEK_CUR): Likewise.
29275         (SEEK_END): Likewise.
29276         (SEEK_SET): Likewise.
29277         (TMP_MAX): Likewise.
29278         (EOF): Use macro-int-constant.  Require < 0.
29279         (NULL): Use macro-constant.  Require == 0.
29280         (stdin): Require type to be FILE *.
29281         (stdout): Likewise.
29282         (stderr): Likewise.
29283         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29284         macro-int-constant.
29285         (EXIT_SUCCESS): Likewise.
29286         (NULL): Use macro-constant.  Require == 0.
29287         (RAND_MAX): Use macro-int-constant.
29288         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29289         [C99-based standards] (strtof): Require function.
29290         [C99-based standards] (strtold): Likewise.
29291         [C99-based standards] (strtoll): Likewise.
29292         [C99-based standards] (strtoull): Likewise.
29293         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29294         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29295         [ISO || ISO99 || ISO11] (math.h): Likewise.
29296         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29297         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29298         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29300 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29302         [BZ #14132]
29303         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29304         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29305         * intl/dgettext.c (DCGETTEXT): Likewise.
29306         * intl/gettext.c (DCGETTEXT): Likewise.
29307         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29308         * posix/regex_internal.h (gettext): Likewise.
29309         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29310         Remove declaration.
29311         * include/argz.h (__argz_count_internal)
29312         (__argz_stringify_internal): Remove declaration.
29313         (__argz_count, __argz_stringify): Declare hidden proto.
29314         * intl/dcgettext.c: Remove use of INTDEF.
29315         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29316         * string/argz-stringify.c: Likewise.
29317         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29318         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29319         Declare hidden proto.
29320         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29321         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29322         Declare hidden proto.
29323         * include/stdio.h (__asprintf_internal): Don't declare.
29324         (__asprintf): Don't define as macro.  Declare hidden proto.
29325         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29326         (__fsetlocking): Declare hidden proto.
29327         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29328         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29329         hidden proto.
29330         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29331         (_IO_setlinebuf): Remove use of INTUSE.
29332         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29333         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29334         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29335         Remove declaration.
29336         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29337         (_IO_do_flush): Remove use of INTUSE.
29338         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29339         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29340         (_IO_adjust_column, _IO_least_wmarker)
29341         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29342         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29343         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29344         (_IO_default_doallocate, _IO_wdefault_doallocate)
29345         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29346         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29347         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29348         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29349         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29350         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29351         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29352         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29353         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29354         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29355         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29356         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29357         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29358         proto.
29359         (_IO_flush_all_internal, _IO_adjust_column_internal)
29360         (_IO_default_uflow_internal, _IO_default_finish_internal)
29361         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29362         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29363         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29364         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29365         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29366         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29367         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29368         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29369         (_IO_file_close_internal, _IO_file_close_it_internal)
29370         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29371         (_IO_file_init_internal, _IO_file_attach_internal)
29372         (_IO_file_fopen_internal, _IO_file_read_internal)
29373         (_IO_file_sync_internal, _IO_file_seek_internal)
29374         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29375         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29376         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29377         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29378         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29379         (_IO_list_all_internal, _IO_link_in_internal)
29380         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29381         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29382         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29383         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29384         (_IO_do_write_internal, _IO_padn_internal)
29385         (_IO_getline_info_internal, _IO_getline_internal)
29386         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29387         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29388         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29389         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29390         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29391         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29392         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29393         with libc_hidden_ver, remove use of INTUSE.
29394         * libio/genops.c: Likewise.
29395         * libio/freopen.c: Likewise.
29396         * libio/freopen64.c: Likewise.
29397         * libio/iofclose.c: Likewise.
29398         * libio/iofdopen.c: Likewise.
29399         * libio/iofflush.c: Likewise.
29400         * libio/iofflush_u.c: Likewise.
29401         * libio/iofgets.c: Likewise.
29402         * libio/iofgets_u.c: Likewise.
29403         * libio/iofopen.c: Likewise.
29404         * libio/iofopncook.c: Likewise.
29405         * libio/iofread.c: Likewise.
29406         * libio/iofread_u.c: Likewise.
29407         * libio/ioftell.c: Likewise.
29408         * libio/iofwrite.c: Likewise.
29409         * libio/iogetline.c: Likewise.
29410         * libio/iogets.c: Likewise.
29411         * libio/iogetwline.c: Likewise.
29412         * libio/iopadn.c: Likewise.
29413         * libio/iopopen.c: Likewise.
29414         * libio/ioseekoff.c: Likewise.
29415         * libio/ioseekpos.c: Likewise.
29416         * libio/iosetbuffer.c: Likewise.
29417         * libio/iosetvbuf.c: Likewise.
29418         * libio/ioungetc.c: Likewise.
29419         * libio/ioungetwc.c: Likewise.
29420         * libio/iovdprintf.c: Likewise.
29421         * libio/iovsprintf.c: Likewise.
29422         * libio/iovsscanf.c: Likewise.
29423         * libio/memstream.c: Likewise.
29424         * libio/obprintf.c: Likewise.
29425         * libio/oldfileops.c: Likewise.
29426         * libio/oldiofclose.c: Likewise.
29427         * libio/oldiofdopen.c: Likewise.
29428         * libio/oldiofopen.c: Likewise.
29429         * libio/oldiopopen.c: Likewise.
29430         * libio/oldstdfiles.c: Likewise.
29431         * libio/putc.c: Likewise.
29432         * libio/setbuf.c: Likewise.
29433         * libio/setlinebuf.c: Likewise.
29434         * libio/stdfiles.c: Likewise.
29435         * libio/strops.c: Likewise.
29436         * libio/vasprintf.c: Likewise.
29437         * libio/vscanf.c: Likewise.
29438         * libio/vsnprintf.c: Likewise.
29439         * libio/vswprintf.c: Likewise.
29440         * libio/wfiledoalloc.c: Likewise.
29441         * libio/wfileops.c: Likewise.
29442         * libio/wgenops.c: Likewise.
29443         * libio/wmemstream.c: Likewise.
29444         * libio/wstrops.c: Likewise.
29445         * libio/__fpurge.c: Likewise.
29446         * libio/__fsetlocking.c: Likewise.
29447         * assert/assert.c: Likewise.
29448         * debug/fgets_chk.c: Likewise.
29449         * debug/fgets_u_chk.c: Likewise.
29450         * debug/fread_chk.c: Likewise.
29451         * debug/fread_u_chk.c: Likewise.
29452         * debug/gets_chk.c: Likewise.
29453         * debug/obprintf_chk.c: Likewise.
29454         * debug/vasprintf_chk.c: Likewise.
29455         * debug/vdprintf_chk.c: Likewise.
29456         * debug/vsnprintf_chk.c: Likewise.
29457         * debug/vsprintf_chk.c: Likewise.
29458         * malloc/mtrace.c: Likewise.
29459         * misc/error.c: Likewise.
29460         * misc/syslog.c: Likewise.
29461         * stdio-common/asprintf.c: Likewise.
29462         * stdio-common/fxprintf.c: Likewise.
29463         * stdio-common/getw.c: Likewise.
29464         * stdio-common/isoc99_fscanf.c: Likewise.
29465         * stdio-common/isoc99_scanf.c: Likewise.
29466         * stdio-common/isoc99_vfscanf.c: Likewise.
29467         * stdio-common/isoc99_vscanf.c: Likewise.
29468         * stdio-common/isoc99_vsscanf.c: Likewise.
29469         * stdio-common/printf-prs.c: Likewise.
29470         * stdio-common/printf_fp.c: Likewise.
29471         * stdio-common/printf_fphex.c: Likewise.
29472         * stdio-common/printf_size.c: Likewise.
29473         * stdio-common/putw.c: Likewise.
29474         * stdio-common/scanf.c: Likewise.
29475         * stdio-common/sprintf.c: Likewise.
29476         * stdio-common/tmpfile.c: Likewise.
29477         * stdio-common/vfprintf.c: Likewise.
29478         * stdio-common/vfscanf.c: Likewise.
29479         * stdlib/strfmon_l.c: Likewise.
29480         * sunrpc/openchild.c: Likewise.
29481         * sunrpc/xdr_stdio.c: Likewise.
29482         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29483         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29485 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29487         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29489         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29490         in the third column, to generate for the shared library an IFUNC
29491         that uses _dl_vdso_vsym.
29492         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29493         * Makeconfig (object-suffixes-noshared): New variable.
29495         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29496         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29497         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29498         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29500         [BZ #14132]
29501         * include/sys/time.h (__gettimeofday): Remove macro.
29502         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29503         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29504         Remove INTDEF.
29505         (__gettimeofday): Add libc_hidden_def.
29506         (gettimeofday): Add libc_hidden_weak.
29507         * sysdeps/mach/gettimeofday.c: Likewise.
29508         * sysdeps/posix/gettimeofday.c: Likewise.
29509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29510         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29511         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29512         (__gettimeofday_internal): Remove strong_alias.
29513         (__gettimeofday): Add libc_hidden_def.
29514         (gettimeofday): Add libc_hidden_weak.
29515         * sysdeps/unix/syscalls.list (gettimeofday):
29516         Remove __gettimeofday_internal alias.
29518 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29519             H.J. Lu  <hongjiu.lu@intel.com>
29521         [BZ #12495]
29522         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29523         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29524         (largebin_index_32_big): New.
29525         (largebin_index): Use it for 16-byte alignment.
29526         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29527         correction with front_misalign.
29529 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29533         Likewise.
29534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29535         Likewise.
29536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29537         Likewise.
29538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29539         Likewise.
29540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29541         Likewise.
29542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29543         Likewise.
29544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29545         Likewise.
29546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29547         Likewise.
29548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29549         Likewise.
29550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29551         Likewise.
29552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29553         Likewise.
29554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29555         Likewise.
29557         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29558         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29560 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29562         [BZ #10846]
29563         [BZ #14036]
29564         * math/libm-test.inc (exp_test): Add test from bug 14036.
29565         (pow_test): Add test from bug 10846.
29567         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29568         and other flags.
29569         (special_function): Do not include flags in test name.
29570         (parse_args): Likewise.
29571         * sysdeps/i386/fpu/libm-test-ulps: Update.
29572         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29573         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29574         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29577         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29578         exceptions.
29579         * math/libm-test.inc ("Philosophy"): Update comment about
29580         exception testing.
29581         (UNDERFLOW_EXCEPTION): New macro.
29582         (UNDERFLOW_EXCEPTION_OK): Likewise.
29583         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29584         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29585         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29586         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29587         (INVALID_EXCEPTION_OK): Update value.
29588         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29589         (OVERFLOW_EXCEPTION_OK): Likewise.
29590         (IGNORE_ZERO_INF_SIGN): Likewise.
29591         (test_exceptions): Handle underflow exceptions.
29592         (acos_test): Update for underflow exception expectations.
29593         (cexp_test): Likewise.
29594         (clog_test): Likewise.
29595         (clog10_test): Likewise.
29596         (csqrt_test): Likewise.
29597         (ctan_test): Likewise.
29598         (ctanh_test): Likewise.
29599         (exp_test): Likewise.
29600         (exp10_test): Likewise.
29601         (exp2_test): Likewise.
29602         (expm1_test): Likewise.
29603         (fma_test): Likewise.
29604         (j0_test): Likewise.
29605         (jn_test): Likewise.
29606         (nexttoward_test): Likewise.
29607         (pow_test): Likewise.
29608         (scalbn_test): Likewise.
29609         (scalbln_test): Likewise.
29610         (tan_test): Likewise.
29611         (y1_test): Likewise.
29612         * sysdeps/i386/fpu/libm-test-ulps: Update.
29613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29615 2012-05-23  David S. Miller  <davem@davemloft.net>
29617         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29618         (__libc_sigaction): Remove unused local variables.
29620 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29622         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29624 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29626         mktime: avoid signed integer overflow
29627         * time/mktime.c (__mktime_internal): Do not mishandle the case
29628         where diff == INT_MIN.
29630         mktime: simplify computation of average
29631         * time/mktime.c (ranged_convert): Use new time_t_avg function
29632         instead of rolling our own (probably-slower) code.
29634         mktime: do not assume signed right shift propagates sign bit
29635         * time/mktime.c (isdst_differ): New static function.
29636         (__mktime_internal): No need to normalize tm_isdst now.
29637         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29638         tm_isdst values.
29640         mktime: merge another wrapv change from gnulib
29641         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29642         from some compilers.
29644         mktime: remove incorrect attempt at unusual arithmetics
29645         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29646         The code didn't really work on such machines anyway.
29647         (TYPE_MINIMUM): Assume two's complement.
29648         (twos_complement_arithmetic): Verify that long_int and time_t
29649         are two's complement (or unsigned, in the latter case).
29651         mktime: check signed shifts on long_int and time_t, too
29652         * time/mktime.c (SHR): Check that shifts work as desired
29653         on the types long_int and time_t too, as SHR is used on
29654         such types.
29656         mktime: do not assume 'long' is wide enough
29657         * time/mktime.c (verify): Move decl up.
29658         (long_int): New type.
29659         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29660         to remove assumption in the code that 'long' is wide enough to
29661         store year values.  This assumption is not true on x32 and on
29662         some non-glibc platforms.
29664         mktime: merge wrapv change from gnulib
29665         * time/mktime.c (WRAPV): New macro.
29666         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29667         (guess_time_tm, __mktime_internal): Do not assume that signed
29668         integer overflow wraps around; modern compilers generate code
29669         where this assumption is no longer valid.
29671 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29673         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29674         Replace "jmp L(pseudo_end)" with "ret".
29675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29676         Likewise.
29678 2012-05-23  Andreas Jaeger  <aj@suse.de>
29680         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29681         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29683 2012-05-23  Andreas Jaeger  <aj@suse.de>
29684             Maximilian Attems  <max@stro.at>
29686         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29687         New macros.
29689 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29691         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29692         code so that pseudo_end is just ret and the stack pointer is
29693         correct also for static library in error case.
29695 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
29697         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29698         move to syscalls.list.
29699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29704         * manual/install.texi (Running make install): Do not mention Linux
29705         kernel version for which pt_chown is not needed.
29706         (Linux): Do not mention problems with nscd with 2.0 kernels.
29707         * INSTALL: Regenerated.
29709 2012-05-23  Andreas Jaeger  <aj@suse.de>
29711         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29712         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29713         macro.
29714         * sysdeps/unix/sysv/linux/s390/bits/mman.h
29715         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29716         * sysdeps/unix/sysv/linux/sh/bits/mman.h
29717         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29718         * sysdeps/unix/sysv/linux/i386/bits/mman.h
29719         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29720         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29721         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29722         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29723         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29724         * sysdeps/unix/sysv/linux/bits/in.h
29725         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29727 2012-05-22  Roland McGrath  <roland@hack.frob.com>
29729         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29730         (PREPARE_VERSION): Just use assert instead, it will be elided
29731         under [NDEBUG] anyway.
29733 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29735         * sysdeps/unix/sysv/linux/Makefile: Include
29736         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29737         (sysdep_routines): Remove sysctl.
29738         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29739         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29740         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29741         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29742         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29744 2012-05-22  Andreas Jaeger  <aj@suse.de>
29746         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29747         that pseudo_end is just ret and the stack pointer is correct also
29748         for static library in error case.
29750 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29752         [BZ #14122]
29753         * nss/nsswitch.c (defconfig_entries): New variable.
29754         (__nss_database_lookup): Don't leak defconfig entries.
29755         (nss_parse_service_list): Don't leak on error paths.
29756         (free_database_entries): New function.
29757         (free_defconfig): New function.
29758         (free_mem): Move common code to free_database_entries.
29760 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29762         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29763         Add arch_prctl.
29764         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29766         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29767         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29769         New macro.
29770         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29771         (INTERNAL_SYSCALL_TYPES): Likewise.
29772         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29773         (LOAD_REGS_TYPES_[1-6]): Likewise.
29774         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29775         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29777 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29779         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29780         copysignl for GLIBC_2_0.
29781         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29782         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29784         logbl for GLIBC_2_0.
29785         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29786         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29788 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29791         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29793         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29794         Use "neg %eax".
29796         * time/mktime.c: Update copyright years.
29798 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29800         mktime: merge comment-quoting-style change from gnulib
29801         * time/mktime.c: Quote 'like this' in comments.
29802         The GNU coding standards suggest that we no longer quote `like this',
29803         as "`" and "'" are typically rendered asymmetrically nowadays.
29804         The typical gnulib style is to quote 'like this' when quoting
29805         code, and "like this" when quoting English.
29807         * time/mktime.c (compile-command): Add "-I.".
29809         mktime: merge mktime-internal.h change from gnulib
29810         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29812         mktime: merge time_r change from gnulib
29813         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29815         mktime: merge DEBUG change from gnulib
29816         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29817         case system <time.h> has a #define.
29819         mktime: merge <sys/types.h> change from gnulib
29820         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29821         since <time.t> is now guaranteed to define time_t.
29823         mktime: merge HAVE_CONFIG_H change from gnulib
29824         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29826 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29829         Use "neg %eax".
29831         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29832         __rlim_t cast.
29833         (struct rusage): Use anonymous union to pad each field to
29834         __syscall_slong_t.
29836 2012-05-21  David S. Miller  <davem@davemloft.net>
29838         * Makefules (o-iterator): Remove .s cases.
29839         (compile-command.s): Delete.
29840         (COMPILE.s): Delete.
29841         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29843 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29845         * configure.in (libc_cv_predef_stack_protector): Only consider
29846         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29847         * configure: Regenerated.
29849 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29852         New macro.  Use R*LP on int and pointer.
29853         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29854         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29855         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29856         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29858         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29859         [__WORDSIZE_TIME64_COMPAT32] instead of
29860         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29861         (struct utmp): Likewise.
29862         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29863         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29864         Renamed to ...
29865         (__WORDSIZE_TIME64_COMPAT32): This.
29866         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29867         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29868         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29869         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29870         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29871         (__WORDSIZE_TIME64_COMPAT32): New macro.
29873 2012-05-21  Andreas Jaeger  <aj@suse.de>
29875         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29876         only if [SHARED]. Add prototype for __wcschr_ia32.
29878 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29880         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29881         of %rbp unmolested in the jmp_buf while mangling the low bits.
29882         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29883         unmolested high bits of %rbp while demangling the low bits.
29884         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29886 2012-05-21  Andreas Jaeger  <aj@suse.de>
29888         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29889         * sunrpc/svc_simple.c: Use it for registerrpc.
29890         * sunrpc/xcrypt.c: Use it for passwd2des.
29892         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29894 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29896         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29897         Don't define if [__SYSCALL_WORDSIZE != 32].
29898         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29899         New macro.
29901 2012-05-21  Bruno Haible  <bruno@clisp.org>
29902             Andreas Jaeger  <aj@suse.de>
29904         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29905         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29906         inptr and inend for must_buffer_ch.
29907         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29908         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29909         * stdio-common/Makefile (tests): Remove bug15.
29910         (bug15-ENV): Remove macro.
29911         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29912         anymore.
29914 2012-05-19  Andreas Jaeger  <aj@suse.de>
29915             Roland McGrath  <roland@hack.frob.com>
29917         * manual/contrib.texi: Completely rewritten. It contains now an
29918         alphabetical list of contributors and their contributions.
29920 2012-05-21  Richard Henderson  <rth@twiddle.net>
29922         * misc/getauxval.c (__getauxval): Use unsigned long int.
29923         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29924         (getauxval): Use unsigned long int.
29926 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29928         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29930 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29932         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29933         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29934         __alignof__ (long double).
29936 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29940 2012-05-20  Richard Henderson  <rth@twiddle.net>
29942         * misc/getauxval.c: New file.
29943         * misc/sys/auxv.h: New file.
29944         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29945         (routines): Add getauxval.
29946         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29947         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29948         * elf/dl-sysdep.c (_dl_auxv): Remove.
29949         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29950         * elf/dl-support.c (_dl_auxv): New variable.
29951         (_dl_aux_init): Initialize it.
29952         * manual/startup.texi (Auxiliary Vector): New node.
29953         * sysdeps/generic/bits/hwcap.h: New file.
29954         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29955         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29956         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29957         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29958         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29959         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29961         Update.
29962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29965         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29971 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29975 2012-05-19  David S. Miller  <davem@davemloft.net>
29977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29979 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29981         [BZ #14123]
29982         * math/s_ccosh.c: Include <float.h>
29983         (__ccosh): Avoid internal overflow calculating sinh and cosh
29984         values before multiplying by sin and cos values.
29985         * math/s_ccoshf.c: Likewise.
29986         * math/s_ccoshl.c: Likewise.
29987         * math/s_csin.c: Likewise.
29988         * math/s_csinf.c: Likewise.
29989         * math/s_csinl.c: Likewise.
29990         * math/s_csinh.c: Likewise.
29991         * math/s_csinhf.c: Likewise.
29992         * math/s_csinhl.c: Likewise.
29993         * math/libm-test.inc (ccos_test): Add more tests.
29994         (ccosh_test): Likewise.
29995         (csin_test): Likewise.
29996         (csinh_test): Likewise.
29997         * sysdeps/i386/fpu/libm-test-ulps: Update.
29998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30000 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30002         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30003         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30005         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30007 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30009         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30010         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30011         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30012         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30013         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30014         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30015         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30016         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30017         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30018         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30019         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30020         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30021         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30022         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30023         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30024         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30025         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30026         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30027         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30028         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30029         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30030         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30031         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30032         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30033         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30034         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30035         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30036         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30037         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30038         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30039         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30041 2012-05-18  Andreas Jaeger  <aj@suse.de>
30043         * csu/.gitignore: Delete.
30045 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30047         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30048         (timex): Use __syscall_slong_t.
30050 2012-05-18  Andreas Jaeger  <aj@suse.de>
30051             Carlos O'Donell  <carlos_odonell@mentor.com>
30053         * manual/install.texi (Configuring and compiling): Update
30054         description about files modified in the source directory.
30055         * INSTALL: Regenerated.
30057 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30059         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30060         value.  Use "or" to set return value to -1.
30061         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30062         negate return value.
30064 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30066         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30067         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30068         failure if the compiler has Graphite support disabled.
30069         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30070         Likewise.
30071         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30072         (CFLAGS-memmove.c): Likewise.
30073         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30074         Likewise.
30076 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30078         * sysdeps/x86_64/x32/_itoa.h: New file.
30080         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30081         getdents system call only if kernel and user dirents have the
30082         same d_ino and d_off.
30084         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30085         LLONG_MAX != LONG_MAX.
30086         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30087         (_fitoa_word): Likewise.
30089         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30090         years.
30091         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30092         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30093         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30095         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30096         include <bits/wordsize.h>.  Check __x86_64__ instead of
30097         __WORDSIZE.
30098         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30099         if __x86_64__ is defined.  Use anonymous union on fpstate.
30101         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30102         anonymous union.
30104 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30106         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30107         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30108         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30109         Refer to _rtld_local_ro instead of _rtld_global_ro.
30110         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30111         Likewise.
30112         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30113         Likewise.
30114         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30115         Likewise.
30116         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30117         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30118         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30120         * sysdeps/powerpc/powerpc32/dl-machine.c
30121         (__elf_machine_runtime_setup) [PROF]: Don't reference
30122         _dl_prof_resolve.
30124 2012-05-18  Andreas Jaeger  <aj@suse.de>
30126         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30127         function only available for GCCs before 3.4 since GCC 3.4
30128         introduced a builtin.
30129         (lrint): Likewise.
30130         (llrintf): Likewise.
30131         (llrint): Likewise.
30132         (fmaxf): Likewise.
30133         (fmax): Likewise.
30134         (fminf): Likewise.
30135         (fmin): Likewise.
30136         (rint): Likewise.
30137         (rintf): Likewise.
30138         (nearbyint): Likewise.
30139         (nearbyintf): Likewise.
30140         (ceil): Likewise.
30141         (ceilf): Likewise.
30142         (floor): Likewise.
30143         (floorf): Likewise.
30145 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30147         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30148         on both fields and cast pointer to __syscall_ulong_t.
30150         * bits/types.h (__fsword_t): New type.
30151         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30152         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30153         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30154         (__FSWORD_T_TYPE): Likewise.
30155         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30156         (__FSWORD_T_TYPE): Likewise.
30157         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30158         (__FSWORD_T_TYPE): Likewise.
30159         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30160         (__FSWORD_T_TYPE): Likewise.
30161         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30162         __SWORD_TYPE with __fsword_t.
30163         (statfs64): Likewise.
30165 2012-05-17  David S. Miller  <davem@davemloft.net>
30167         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30169 2012-05-17  Andreas Jaeger  <aj@suse.de>
30171         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30172         warning.
30174 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30176         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30178 2012-05-17  Andreas Jaeger  <aj@suse.de>
30180         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30181         when it is used.
30183 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30185         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30187 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30189         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30190         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30192 2012-05-17  Andreas Jaeger  <aj@suse.de>
30193             Carlos O'Donell  <carlos_odonell@mentor.com>
30195         [BZ #14059]
30196         * sysdeps/x86_64/multiarch/init-arch.h
30197         (bit_YMM_Usable): Rename to...
30198         (bit_AVX_Usable): ... this.
30199         (bit_FMA4_Usable): New macro.
30200         (bit_XMM_state): New macro.
30201         (bit_YMM_state): New macro.
30202         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30203         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30204         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30205         (CPUID_OSXSAVE): New macro.
30206         (CPUID_AVX): New macro.
30207         (CPUID_FMA4): New macro.
30208         (index_YMM_Usable): Rename to...
30209         (index_AVX_Usable): ... this.
30210         (HAS_AVX): Use HAS_ARCH_FEATURE.
30211         (HAS_FMA4): Likewise.
30212         (HAS_YMM_USABLE): Remove.
30213         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30214         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30215         are present.
30216         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30217         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30218         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30219         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30220         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30222 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30224         * math/libm-test.c: Support platforms without multiple rounding modes.
30225         * math/bug-nextafter.c: Support platforms without FP exceptions.
30226         * math/bug-nexttoward.c: Likewise.
30227         * math/test-fenv.c: Likewise.
30228         * math/test-misc.c: Likewise.
30229         * stdlib/bug-getcontext.c: Likewise.
30231 2012-05-17  Andreas Jaeger  <aj@suse.de>
30233         * manual/examples/search.c (critter_cmp): Change signature to
30234         avoid warnings.
30235         * manual/string.texi (Collation Functions): Likewise.
30237 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30239         * bits/types.h: Fold copyright years.
30240         * bits/typesizes.h: Likewise.
30241         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30242         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30243         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30244         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30245         * time/time.h: Likewise.
30247 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30249         [BZ #208]
30250         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30251         in instead of returning them.  Return void.
30252         (__libc_mallinfo): Accumulate over all arenas.
30253         (__malloc_stats): Adjust for change in int_mallinfo interface.
30255 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30257         [BZ #10375]
30258         * configure.in (NM): Add AC_CHECK_TOOL for it.
30259         (libc_extra_cflags): New substituted variable.
30260         Check for -fstack-protector being used implicitly.
30261         * configure: Regenerated.
30262         * config.make.in (config-extra-cflags): New variable,
30263         gets @libc_extra_cflags@.
30264         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30266         [BZ #10375]
30267         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30268         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30269         * configure: Regenerated.
30270         * config.make.in (CPPUNDEFS): New substituted variable.
30271         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30272         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30273         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30275 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30277         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30278         (mq_attr): Use __syscall_slong_t.
30280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30282         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30283         Check __x86_64__ instead of __WORDSIZE.
30284         (_STAT_VER_LINUX): Likewise.
30285         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30286         __syscall_ulong_t and __syscall_slong_t.
30287         (stat64): Likewise.
30289 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30291         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30293 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30295         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30297 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30299         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30300         __syscall_ulong_t.
30302         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30303         include <bits/wordsize.h>.  Check __x86_64__ instead of
30304         __WORDSIZE.
30305         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30306         defined.
30307         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30309         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30310         include <bits/wordsize.h>.  Check __x86_64__ instead of
30311         __WORDSIZE.
30312         (user_regs_struct): Use "__extension__ unsigned long long"
30313         instead of "unsigned long" if __x86_64__ is defined.
30314         (user): Likewise.  Pad after pointer field if __ILP32__ is
30315         defined.
30317 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30319         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30320         versions 5 to 9.
30321         * configure: Regenerated.
30322         * manual/install.texi (texinfo): Increase version requirement to
30323         4.5 or later.
30324         * INSTALL: Regenerated.
30326         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30330         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30332         * sysdeps/x86_64/x32/ffs.c: New file.
30334         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30335         __syscall_ulong_t.
30336         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30337         defined.  Use __syscall_ulong_t.
30338         (shminfo): Use __syscall_ulong_t.
30339         (shm_info): Likewise.
30341         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30342         __syscall_ulong_t.
30344         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30345         <bits/wordsize.h>.
30346         (msgqnum_t): Use __syscall_ulong_t.
30347         (msglen_t): Likewise.
30348         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30349         __syscall_ulong_t.
30351         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30352         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30354         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30356         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30357         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30359         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30360         __syscall_slong_t.
30362         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30363         include <bits/wordsize.h>.  Check __x86_64__ instead of
30364         __WORDSIZE.
30366         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30367         "unsigned long long int" if __x86_64__ is defined.
30368         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30370         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30371         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30372         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30374         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30375         <stdint.h>.
30376         (GET_PC): Cast to uintptr_t first.
30377         (GET_FRAME): Likewise.
30378         (GET_STACK): Likewise.
30380         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30381         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30382         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30383         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30384         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30385         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30386         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30387         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30388         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30389         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30390         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30391         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30392         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30393         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30394         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30395         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30396         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30397         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30398         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30399         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30400         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30401         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30402         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30403         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30404         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30405         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30406         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30407         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30408         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30410 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30412         * Makerules (+depfiles): Also collect depfiles from .oS in
30413         $(extra-objs).
30414         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30415         .oS, $(libnldbl-routines)).
30417         * Makerules (native-compile-mkdep-flags): Define.
30418         * sunrpc/Makefile (extra-objs): Add $(addprefix
30419         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30420         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30421         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30422         calling $(make-target-directory).
30424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30426         * bits/types.h (__snseconds_t): Removed.
30427         * time/time.h (struct timespec): Replace __snseconds_t with
30428         __syscall_slong_t.
30429         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30430         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30431         Likewise.
30432         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30433         (__SNSECONDS_T_TYPE): Likewise.
30434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30435         (__SNSECONDS_T_TYPE): Likewise.
30436         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30437         (__SNSECONDS_T_TYPE): Likewise.
30439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30441         * sysdeps/mach/hurd/bits/typesizes.h
30442         (__SYSCALL_SLONG_TYPE): New macro.
30443         (__SYSCALL_ULONG_TYPE): Likewise.
30445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30447         * bits/types.h (__syscall_slong_t): New type.
30448         (__syscall_ulong_t): Likewise.
30450         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30451         (__SYSCALL_ULONG_TYPE): Likewise.
30452         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30453         (__SYSCALL_SLONG_TYPE): Likewise.
30454         (__SYSCALL_ULONG_TYPE): Likewise.
30455         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30456         (__SYSCALL_SLONG_TYPE): Likewise.
30457         (__SYSCALL_ULONG_TYPE): Likewise.
30458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30459         (__SYSCALL_SLONG_TYPE): Likewise.
30460         (__SYSCALL_ULONG_TYPE): Likewise.
30462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30464         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30465         Add sigaltstack-offsets.sym.
30466         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30467         <sigaltstack-offsets.h>.
30468         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30469         longjmp_msg pointer.
30470         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30471         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30472         signal stack.
30473         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30475 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30477         * elf/stackguard-macros.h: Remove file.
30478         * sysdeps/generic/stackguard-macros.h: New file.
30479         * sysdeps/i386/stackguard-macros.h: Likewise.
30480         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30481         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30482         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30483         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30484         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30485         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30486         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30487         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30488         <elf/stackguard-macros.h>.
30490         [BZ #14109]
30491         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30492         __aligned__ in attribute.
30493         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30494         (gregset_t): Likewise.
30496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30498         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30499         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30500         * sysdeps/x86_64/x32/Implies-after: New file.
30502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30504         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30505         and access return value for _dl_profile_fixup.  Use R10_LP to
30506         load frame size.
30508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30510         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30514         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30515         * sysdeps/x86_64/x32/sysdep.h: New file.
30517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30519         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30520         * sysdeps/x86_64/setjmp.S: Likewise.
30522 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30524         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30525         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30526         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30527         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30528         remove unused global constant.
30530 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30532         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30533         include of <not-cancel.h>.
30535 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30537         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30539 2012-05-15  Jeff Law  <law@redhat.com>
30540             Andreas Jaeger  <aj@suse.de>
30542         [BZ #13594]
30543         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30544         out from...
30545         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30546         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30547         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30548         code changing __hst_map_handle.map.
30550 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30552         * configure.in (sysnames): Look for Implies-before and Implies-after
30553         files.
30554         * configure: Regenerated.
30556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30558         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30559         8-byte data alignment with LP_SIZE alignment.
30561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30563         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30564         into R10_LP.
30566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30568         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30572         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30573         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30574         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30575         Likewise.
30576         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30580         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30581         (stackinfo_sub_sp): Likewise.
30583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30585         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30586         RAX_LP.
30588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30590         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30591         into R*_LP.
30593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30595         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30596         sizes into R*_LP.
30598 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30600         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30604         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30605         into R11_LP and load __x86_64_shared_cache_size_half into
30606         R8_LP.
30608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30610         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30611         R8_LP.
30613 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30615         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30616         logb for POWER7.
30617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30618         logbf for POWER7.
30619         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30620         logbl for POWER7.
30621         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30622         powerpc32/power7/fpu/s_logb.c via #include.
30623         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30624         powerpc32/power7/fpu/s_logbf.c via #include.
30625         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30626         powerpc32/power7/fpu/s_logbl.c via #include.
30628 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30630         * README.libm: Remove file.
30632 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30634         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30635         count for x32.  Use R*_LP and omit operand-size suffix.
30637 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30639         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30640         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30641         * sysdeps/x86_64/x32/shlib-versions: New file.
30643 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30645         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30646         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30647         Use _dl_fatal_printf instead.
30649 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30651         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30652         set if not set by the user.  Do not allow for being unset.
30653         * sysdeps/unix/sysv/linux/configure: Regenerated.
30655 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30657         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30658         the `q' suffix from lea and replace .quad with ASM_ADDR.
30660 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30663         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30664         instead of $17.
30665         (PTR_DEMANGLE): Likewise.
30667 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30669         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30670         (LP_OP): Likewise.
30671         (ASM_ADDR): Likewise.
30672         (RAX_LP): Likewise.
30673         (RBP_LP): Likewise.
30674         (RBX_LP): Likewise.
30675         (RCX_LP): Likewise.
30676         (RDI_LP): Likewise.
30677         (RSI_LP): Likewise.
30678         (RSP_LP): Likewise.
30679         (R8_LP): Likewise.
30680         (R9_LP): Likewise.
30681         (R10_LP): Likewise.
30682         (R10_LP): Likewise.
30683         (R11_LP): Likewise.
30684         (R12_LP): Likewise.
30685         (R13_LP): Likewise.
30686         (R14_LP): Likewise.
30687         (R15_LP): Likewise.
30689 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30691         * sysdeps/x86_64/x32/dl-machine.h: New file.
30693 2012-05-14  Andreas Jaeger  <aj@suse.de>
30695         * manual/Makefile (subdir): Remove export of subdir.
30696         (all): Remove target.
30697         (.PHONY): Remove all from list.
30698         (mkinstalldirs): Remove.
30699         (.PHONY): Remove installdirs from list.
30700         ($(inst_infodir)/libc.info): Use make-target-directory.
30701         (installdirs): Remove.
30702         (subdir_%): Remove.
30703         (glibc-targets): Remove.
30704         (lib): Remove.
30705         (stubs): Remove.
30706         ($(objpfx)stubs ../po/manual.pot): Remove.
30707         ($(objpfx)stamp%): Remove.
30708         (make-target-directory): Remove.
30709         (subdir_install): Remove.
30710         (routines): Remove.
30711         (aux): Remove.
30712         (sources): Remove.
30713         (objects): Remove.
30714         (headers): Remove.
30716         [BZ #13750]
30717         * manual/.gitignore: Remove, it's not needed anymore.
30718         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30719         all files in it.
30720         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30721         directory.
30722         (texis): Renamed to $(objpfx)texis.
30723         (texis-path): New, contains path to generated files.
30724         (chapters.%): Use texis-path for complete path, add extra argument
30725         libc-texinfo.sh.
30726         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30727         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30728         (summary,texi, stamp-summary): Use complete path of
30729         files. Generate files in build dir.
30730         (dir-add.texi): Build in build dir.
30731         (libm-err.texi,stamp-libm-err): Likewise.
30732         (version.texi, stamp-version): Likewise.
30733         (.%c.texi): Likewise.
30734         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30735         (mostlyclean): Remove target.
30736         (realclean): Remove target.
30737         (generated): Add new variable with contents from mostlyclean and
30738         realclean, remove entries duplicated in common-mostlyclean, add
30739         stamp-libm-err and stamp-version.
30740         (generated-dirs): Add libc directory.
30741         ($(inst_infodir)/libc.info): Install files from build dir.
30743         * manual/install.texi (Configuring and compiling): Adjust since
30744         the info files are not part of the tar ball anymore.
30746 2012-05-14  Andreas Jaeger  <aj@suse.de>
30748         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30749         variable.
30751 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30753         [BZ #13717]
30754         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30755         to 2.2.0 where earlier.
30756         * sysdeps/unix/sysv/linux/configure: Regenerated.
30757         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30758         Remove conditional code.
30759         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30760         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30761         Remove conditional code.
30762         [!__NR_lchown]: Likewise.
30763         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30764         [__NR_lchown]: Likewise.
30765         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30766         comment referencing __ASSUME_LCHOWN_SYSCALL.
30767         * sysdeps/unix/sysv/linux/i386/sigaction.c
30768         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30769         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30770         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30771         Remove conditional code.
30772         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30773         (__protocol_available): Remove #if 0 code.
30774         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30775         conditional code.
30776         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30777         * sysdeps/unix/sysv/linux/kernel-features.h
30778         (__ASSUME_GETCWD_SYSCALL): Don't define.
30779         (__ASSUME_REALTIME_SIGNALS): Likewise.
30780         (__ASSUME_PREAD_SYSCALL): Likewise.
30781         (__ASSUME_PWRITE_SYSCALL): Likewise.
30782         (__ASSUME_POLL_SYSCALL): Likewise.
30783         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30784         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30785         non-SPARC.
30786         (__ASSUME_SIOCGIFNAME): Don't define.
30787         (__ASSUME_MSG_NOSIGNAL): Likewise.
30788         (__ASSUME_SENDFILE): Define unconditionally.
30789         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30790         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30791         conditional code.
30792         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30793         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30794         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30795         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30796         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30797         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30798         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30800         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30801         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30803         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30804         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30806         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30807         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30809         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30810         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30812         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30813         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30815         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30816         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30818         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30819         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30821         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30822         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30823         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30824         Remove conditional code.
30825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30826         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30827         Remove conditional code.
30828         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30829         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30830         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30831         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30832         Remove conditional code.
30833         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30834         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30835         Remove conditional code.
30836         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30837         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30838         Remove conditional code.
30839         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30840         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30841         Remove conditional code.
30842         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30843         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30844         Remove conditional code.
30845         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30846         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30847         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30848         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30849         * sysdeps/unix/sysv/linux/sigaction.c
30850         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30851         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30852         * sysdeps/unix/sysv/linux/sigpending.c
30853         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30854         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30855         * sysdeps/unix/sysv/linux/sigprocmask.c
30856         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30857         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30858         * sysdeps/unix/sysv/linux/sigsuspend.c
30859         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30860         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30861         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30862         (__libc_missing_rt_sigs): Remove.
30863         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30864         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30865         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30866         Remove conditional code.
30867         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30868         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30869         return 1.
30870         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30871         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30872         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30873         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30875 2012-05-14  Andreas Jaeger  <aj@suse.de>
30877         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30878         it's not used in glibc.
30879         (__coshm1): Likewise.
30880         (__acosh1p): Likewise.
30881         (__sgn): Likewise.
30883         * manual/string.texi (Copying and Concatenation): Add missing
30884         variable in concat example.
30885         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30887 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30889         [BZ #14103]
30890         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30891         __builtin_clzl with __builtin_clzll.
30893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30895         [BZ #14104]
30896         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30897         libc_freeres_ptr.
30899 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30901         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30902         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30903         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30904         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30906 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30908         * NEWS: Update ia64 info.
30910 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30912         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30913         used as bcopy.
30915 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30917         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30918         * sysdeps/unix/syscalls.list (dup3): Likewise.
30919         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30920         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30922 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30924         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30925         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30927 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30929         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30930         thread pointer.
30931         (TLS_IE): Use mov/add instead of movq/addq to load thread
30932         pointer.
30933         (TLS_GD_PREFIX): New.
30934         (TLS_GD): Use it.
30936 2012-05-11  David S. Miller  <davem@davemloft.net>
30938         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30939         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30940         (_FPU_SETCW): Likewise.
30942 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30944         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30945         is 32-byte aligned.
30947 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30949         [BZ #11837]
30950         * iconvdata/gb18030.c: Update tables.
30951         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30952         characters specially.
30953         (BODY for TO_LOOP): Add encoding of missing ranges.
30955 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30957         [BZ #13673]
30958         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30959         * sysdeps/mach/hurd/dup3.c: Likewise.
30960         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30961         * sysdeps/powerpc/memmove.c:: Likewise.
30963 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30965         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30966         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30968 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30970         * elf/elf.h (R_X86_64_RELATIVE64): New.
30971         (R_X86_64_NUM): Updated.
30972         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30973         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30974         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30975         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30976         tst-quad1pie tst-quad2pie
30977         (modules-names): Add tst-quadmod1 tst-quadmod2.
30978         ($(objpfx)tst-quad1): New dependency.
30979         ($(objpfx)tst-quad2): Likewise.
30980         ($(objpfx)tst-quad1pie): Likewise.
30981         ($(objpfx)tst-quad2pie): Likewise.
30982         * sysdeps/x86_64/tst-quad1.c: New file.
30983         * sysdeps/x86_64/tst-quad1pie.c: New file.
30984         * sysdeps/x86_64/tst-quad2.c: Likewise.
30985         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30986         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30987         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30988         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30989         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30993         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30994         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30995         * streams/stropts.h (t_scalar_t): Define type.
30997         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30998         (_PATH_PRESERVE): Set to "/var/lib".
30999         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31001         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31002         instead of int.
31004         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31005         if __dir_mkfile succeeded.
31007         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31008         checking for _hurd_dtablesize.  Unlock it right after having
31009         finished _hurd_dtable allocation.
31011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31013         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31014         * sysdeps/mach/hurd/configure: Regenerated.
31015         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31016         special-casing to...
31017         * sysdeps/gnu/configure.in: ... this new file.
31018         * sysdeps/unix/sysv/linux/configure: Regenerated.
31019         * sysdeps/gnu/configure: New generated file.
31021         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31022         for Linux: use nsec instead of usec, as well as:
31023         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31024         members of type struct timespec.
31025         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31026         New macros.
31027         (struct stat64): Likewise.
31028         (_STATBUF_ST_NSEC): New macro.
31029         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31031         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31032         __strtoul_internal rather than strtoul.
31034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31036         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31037         and reject them.
31039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31041         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31042         which preserves existing values.
31043         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31045 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31047         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31048         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31049         greater than FD_SETSIZE.
31051 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31053         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31054         allocated, call __vm_protect to finish enabling the existing space, and
31055         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31056         allocate the remainder.
31058 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31060         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31061         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31065         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31066         sysdeps/mach/hurd/readlink.c.
31068         * posix/tst-sysconf.c (posix_options): Only use
31069         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31070         _POSIX_SYNCHRONIZED_IO when they are defined
31071         * sysdeps/mach/hurd/bits/posix_opt.h:
31072         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31073         (_XOPEN_REALTIME): Undefine macro.
31074         (_XOPEN_REALTIME_THREADS): Undefine macro.
31075         (_XOPEN_SHM): Undefine macro.
31076         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31077         macro to -1.
31078         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31079         macro to -1.
31080         (_POSIX_ASYNC_IO): Undefine macro.
31081         (_POSIX_PRIORITIZED_IO): Undefine macro.
31082         (_POSIX_SPIN_LOCKS): Define macro to -1.
31084         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31085         SA_NODEFER, SA_RESETHAND.
31086         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31087         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31088         F_DUPFD_CLOEXEC.
31090 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31092         * elf/Makefile (pldd-modules): Define unconditionally.
31094 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31096         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31098 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31100         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31101         Return ENOENT when name is empty.
31102         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31106         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31108         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31110 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31112         Fix mlock in all cases except non-readable pages.
31113         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31114         instead of VM_PROT_ALL as parameter to __vm_wire function.
31116         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31117         (__mkdir): When path is `/', just fail with EEXIST.
31118         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31120 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31122         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31123         <sys/uio.h> (for writev).
31124         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31125         and <sys/param.h> (for MIN).
31127 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31129         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31130         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31131         if interrupted.
31133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31135         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31136         Depend on against $(link-rpcuserlibs).
31138 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31140         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31141         (__libc_stack_end): Do not use attribute_relro.
31142         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31143         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31144         to libthread-provided value.
31145         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31146         attribute_relro.
31148 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31150         [BZ #3748]
31151         * bits/libc-lock.h (__libc_once_get): New macro.
31152         * sysdeps/mach/bits/libc-lock.h: Likewise.
31153         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31154         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31155         instead of using implementation details.
31157         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31158         * libio/freopen.c: Likewise.
31159         * libio/freopen64.c: Likewise.
31160         * misc/syslog.c: Likewise.
31161         * nscd/connections.c: Likewise.
31162         * nscd/netgroupcache.c: Likewise.
31163         * sysdeps/posix/getcwd.c: Likewise.
31165 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31167         * math/w_ilogbf.c: Add #include <limits.h>.
31169 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31171         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31172         path instead of returning without unlocking.
31174         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31175         immediate-write ioctls.
31176         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31180         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31181         __builtin_frame_address instead of making assumptions about the
31182         location of the return address relative to DATA.  Force early load of
31183         the return address.
31184         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31185         __builtin_frame_address.
31187         dup3 for GNU Hurd.
31188         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31189         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31190         implement dup3 and do some further code clean-ups.
31191         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31192         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31194 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31196         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31198         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31199         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31200         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31201         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31202         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31203         d->port.lock.
31205         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31206         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31207         when handler == SIG_ERR, not when handler != SIG_ERR.
31209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31211         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31212         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31213         definitions.
31215         accept4 for GNU Hurd.
31216         * include/sys/socket.h (__libc_accept4): New prototype.
31217         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31218         to implement __libc_accept4.
31219         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31220         __libc_accept4.
31221         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31223         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31224         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31225         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31226         signal-defines.sym.
31228 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31230         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31234         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31235         assertion on O_CLOEXEC flag.
31236         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31237         * hurd/intern-fd.c: Likewise.
31238         * hurd/port2fd.c: Likewise.
31240 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31242         [BZ #3906]
31243         * bits/in.h (IPV6_PKTINFO): Define new macro.
31244         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31246 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31248         [BZ #13954]
31249         [BZ #13955]
31250         [BZ #13956]
31251         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31253         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31254         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31256         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31257         * math/libm-test.inc (logb_test) : Additional logb tests.
31259 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31260             Andreas Jaeger  <aj@suse.de>
31262         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31263         * configure: Regenerated.
31264         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31265         * config.make.in (link-obsolete-rpc): New substituted variable.
31266         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31267         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31268         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31269         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31270         so that libc.a contains the symbols.
31271         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31272         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31273         * sunrpc/auth_none.c: Likewise.
31274         * sunrpc/auth_unix.c: Likewise.
31275         * sunrpc/authdes_prot.c: Likewise.
31276         * sunrpc/authuxprot.c: Likewise.
31277         * sunrpc/clnt_gen.c: Likewise.
31278         * sunrpc/clnt_perr.c: Likewise.
31279         * sunrpc/clnt_raw.c: Likewise.
31280         * sunrpc/clnt_simp.c: Likewise.
31281         * sunrpc/clnt_tcp.c: Likewise.
31282         * sunrpc/clnt_udp.c: Likewise.
31283         * sunrpc/clnt_unix.c: Likewise.
31284         * sunrpc/des_crypt.c: Likewise.
31285         * sunrpc/des_soft.c: Likewise.
31286         * sunrpc/get_myaddr.c: Likewise.
31287         * sunrpc/key_call.c: Likewise.
31288         * sunrpc/key_prot.c: Likewise.
31289         * sunrpc/netname.c: Likewise.
31290         * sunrpc/pm_getmaps.c: Likewise.
31291         * sunrpc/pm_getport.c: Likewise.
31292         * sunrpc/pmap_clnt.c: Likewise.
31293         * sunrpc/pmap_prot.c: Likewise.
31294         * sunrpc/pmap_prot2.c: Likewise.
31295         * sunrpc/pmap_rmt.c: Likewise.
31296         * sunrpc/publickey.c: Likewise.
31297         * sunrpc/rpc_cmsg.c: Likewise.
31298         * sunrpc/rpc_common.c: Likewise.
31299         * sunrpc/rpc_dtable.c: Likewise.
31300         * sunrpc/rpc_prot.c: Likewise.
31301         * sunrpc/rpc_thread.c: Likewise.
31302         * sunrpc/rtime.c: Likewise.
31303         * sunrpc/svc.c: Likewise.
31304         * sunrpc/svc_auth.c: Likewise.
31305         * sunrpc/svc_raw.c: Likewise.
31306         * sunrpc/svc_run.c: Likewise.
31307         * sunrpc/svc_tcp.c: Likewise.
31308         * sunrpc/svc_udp.c: Likewise.
31309         * sunrpc/svc_unix.c: Likewise.
31310         * sunrpc/svcauth_des.c: Likewise.
31311         * sunrpc/xcrypt.c: Likewise.
31312         * sunrpc/xdr.c: Likewise.
31313         * sunrpc/xdr_array.c: Likewise.
31314         * sunrpc/xdr_float.c: Likewise.
31315         * sunrpc/xdr_intXX_t.c: Likewise.
31316         * sunrpc/xdr_mem.c: Likewise.
31317         * sunrpc/xdr_rec.c: Likewise.
31318         * sunrpc/xdr_ref.c: Likewise.
31319         * sunrpc/xdr_sizeof.c: Likewise.
31320         * sunrpc/xdr_stdio.c: Likewise.
31322 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31324         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31325         change.  Update copyright years.
31327 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31329         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31331 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31332             Joseph Myers  <joseph@codesourcery.com>
31333             Paul Pluzhnikov  <ppluzhnikov@google.com>
31335         [BZ #14012]
31336         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31337         requiring rpcgen.
31338         [cross-compiling] (extra-libs): Likewise.
31339         [cross-compiling] (extra-libs-others): Likewise.
31340         [cross-compiling] (librpcsvc-routines): Likewise.
31341         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31342         [cross-compiling] (omit-deps): Likewise.
31343         (sunrpc-CPPFLAGS): New variable.
31344         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31345         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31346         (cross-rpcgen-objs): New variable.
31347         (extra-objs): Append $(cross-rpcgen-objs).
31348         ($(cross-rpcgen-objs)): New rule.
31349         ($(objpfx)cross-rpcgen): Likewise.
31350         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31351         comment.
31352         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31353         ($(objpfx)x%.stmp): Likewise.
31354         * sunrpc/proto.h [IS_IN_build] (_): Define.
31355         [IS_IN_build] (_libc_intl_domainname): Likewise.
31357 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31359         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31360         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31361         and R_X86_64_TPOFF64.
31363 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31365         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31366         sysdeps/unix/sysv/syscalls.list.
31367         (stime): Likewise.
31368         (utime): Likewise.
31369         * sysdeps/unix/sysv/syscalls.list: Remove file.
31371 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31373         [BZ #3440]
31374         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31375         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31376         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31377         (__LC_IDENTIFICATION): Make these macros useful in #if
31378         expressions, as required by C99.
31380 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31382         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31383         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31384         after this.
31386 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31388         * stdlib/longlong.h: Updated from GCC.
31390 2012-05-09  Andreas Jaeger  <aj@suse.de>
31392         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31393         default is first entry.
31394         (run_mode): Set type.
31395         (main): Remove informal message about syslog.
31396         (options): Fix typo.
31398         [BZ #14053]
31399         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31400         to asm.
31401         (lrint): Likewise.
31402         (llrintf): Likewise.
31403         (llrint): Likewise.
31404         (rint): Likewise.
31405         (rintf): Likewise.
31406         (nearbyint): Likewise.
31407         (nearbyintf): Likewise.
31409 2012-05-09  Andreas Jaeger  <aj@suse.de>
31410             Pedro Alves  <palves@redhat.com>
31412         * nscd/nscd.c (run_mode): Use enum.
31413         (main): Cleanup coding style issue.
31415 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31416             Andreas Jaeger  <aj@suse.de>
31418         * nscd/nscd.c (go_background): Replaced with...
31419         (run_mode): ... this.
31420         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31421         (options): Add -F --foreground.
31422         (main): Implement it.
31423         (parse_opt): Parse it.
31425 2012-05-09  Andreas Jaeger  <aj@suse.de>
31427         [BZ #14083]
31428         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31429         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31430         -Wconversion warning.
31431         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31432         Likewise.
31434 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31436         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31437         == 0.
31438         (LC_ALL): Use macro-int-constant.
31439         (LC_COLLATE): Likewise.
31440         (LC_CTYPE): Likewise.
31441         (LC_MESSAGES): Likewise.
31442         (LC_MONETARY): Likewise.
31443         (LC_NUMERIC): Likewise.
31444         (LC_TIME): Likewise.
31445         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31446         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31447         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31448         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31449         Specify type.
31450         [C99-based standards] (float_t): Expect type.
31451         [C99-based standards] (double_t): Expect type.
31452         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31453         type.
31454         [C99-based standards] (HUGE_VALL): Likewise.
31455         [C99-based standards] (INFINITY): Likewise.
31456         [C99-based standards] (NAN): Likewise.
31457         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31458         [C99-based standards] (FP_NAN): Likewise.
31459         [C99-based standards] (FP_NORMAL): Likewise.
31460         [C99-based standards] (FP_SUBNORMAL): Likewise.
31461         [C99-based standards] (FP_ZERO): Likewise.
31462         [C99-based standards] (FP_FAST_FMA): Use
31463         optional-macro-int-constant.  Specify type.  Require == 1.
31464         [C99-based standards] (FP_FAST_FMAF): Likewise.
31465         [C99-based standards] (FP_FAST_FMAL): Likewise.
31466         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31467         [C99-based standards] (FP_ILOGBNAN): Likewise.
31468         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31469         Specify type.
31470         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31471         [C99-based standards] (math_errhandling): Specify type.
31472         [ISO99 || ISO11] (signgam): Do not allow.
31473         [non-C99-based standards] (copysignf): Do not allow.
31474         [non-C99-based standards] (exp2f): Likewise.
31475         [non-C99-based standards] (log2f): Likewise.
31476         [non-C99-based standards] (modff): Allow.
31477         [non-C99-based standards] (erff): Do not allow.
31478         [non-C99-based standards] (erfcf): Likewise.
31479         [non-C99-based standards] (gammaf): Likewise.
31480         [non-C99-based standards] (hypotf): Likewise.
31481         [non-C99-based standards] (j0f): Likewise.
31482         [non-C99-based standards] (j1f): Likewise.
31483         [non-C99-based standards] (jnf): Likewise.
31484         [non-C99-based standards] (lgammaf): Likewise.
31485         [non-C99-based standards] (tgammaf): Likewise.
31486         [non-C99-based standards] (y0f): Likewise.
31487         [non-C99-based standards] (y1f): Likewise.
31488         [non-C99-based standards] (ynf): Likewise.
31489         [non-C99-based standards] (isnanf): Likewise.
31490         [non-C99-based standards] (acoshf): Likewise.
31491         [non-C99-based standards] (asinhf): Likewise.
31492         [non-C99-based standards] (atanhf): Likewise.
31493         [non-C99-based standards] (cbrtf): Likewise.
31494         [non-C99-based standards] (expm1f): Likewise.
31495         [non-C99-based standards] (ilogbf): Likewise.
31496         [non-C99-based standards] (log1pf): Likewise.
31497         [non-C99-based standards] (logbf): Likewise.
31498         [non-C99-based standards] (nextafterf): Likewise.
31499         [non-C99-based standards] (remainderf): Likewise.
31500         [non-C99-based standards] (rintf): Likewise.
31501         [non-C99-based standards] (scalbf): Likewise.
31502         [non-C99-based standards] (copysignl): Likewise.
31503         [non-C99-based standards] (exp2l): Likewise.
31504         [non-C99-based standards] (log2l): Likewise.
31505         [non-C99-based standards] (modfl): Allow.
31506         [non-C99-based standards] (erfl): Do not allow.
31507         [non-C99-based standards] (erfcl): Likewise.
31508         [non-C99-based standards] (gammal): Likewise.
31509         [non-C99-based standards] (hypotl): Likewise.
31510         [non-C99-based standards] (j0l): Likewise.
31511         [non-C99-based standards] (j1l): Likewise.
31512         [non-C99-based standards] (jnl): Likewise.
31513         [non-C99-based standards] (lgammal): Likewise.
31514         [non-C99-based standards] (tgammal): Likewise.
31515         [non-C99-based standards] (y0l): Likewise.
31516         [non-C99-based standards] (y1l): Likewise.
31517         [non-C99-based standards] (ynl): Likewise.
31518         [non-C99-based standards] (isnanl): Likewise.
31519         [non-C99-based standards] (acoshl): Likewise.
31520         [non-C99-based standards] (asinhl): Likewise.
31521         [non-C99-based standards] (atanhl): Likewise.
31522         [non-C99-based standards] (cbrtl): Likewise.
31523         [non-C99-based standards] (expm1l): Likewise.
31524         [non-C99-based standards] (ilogbl): Likewise.
31525         [non-C99-based standards] (log1pl): Likewise.
31526         [non-C99-based standards] (logbl): Likewise.
31527         [non-C99-based standards] (nextafterl): Likewise.
31528         [non-C99-based standards] (remainderl): Likewise.
31529         [non-C99-based standards] (rintl): Likewise.
31530         [non-C99-based standards] (scalbl): Likewise.
31531         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31532         [non-C99-based standards] (FP_*): Do not allow.
31533         [C99-based standards] (FP_*): Change to
31534         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31535         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31536         allow.
31537         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31538         (SIG_ERR): Likewise.
31539         [X/Open-based standards] (SIG_HOLD): Likewise.
31540         (SIG_IGN): Likewise.
31541         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31542         positive value.
31543         (SIGFPE): Likewise.
31544         (SIGILL): Likewise.
31545         (SIGINT): Likewise.
31546         (SIGSEGV): Likewise.
31547         (SIGTER): Likewise.
31548         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31549         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31550         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31551         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31552         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31553         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31554         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31555         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31556         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31557         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31558         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31559         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31560         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31561         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31562         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31563         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31564         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31565         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31566         [X/Open-based standards] (SIGTRAP): Likewise.
31567         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31568         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31569         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31570         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31571         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31572         allow.
31574 2012-05-08  Ian Wienand  <ianw@vmware.com>
31576         [BZ #14080]
31577         * time/tzset.c (__tzset_parse_tz): Update default rules for
31578         daylight time changes in the Energy Policy Act of 2005.
31580 2012-05-09  Andreas Jaeger  <aj@suse.de>
31582         [BZ #13983]
31583         * elf/ldconfig.c (parse_conf): Change string to make clear that
31584         ldconfig only issued a warning if ld.so.conf does not exist.
31586 2012-05-08  David S. Miller  <davem@davemloft.net>
31588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31589         movxtod instead of popping the value on the stack.
31591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31593 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31595         * config.h.in: Add HAVE_ARM_PCS_VFP.
31597 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31599         [BZ #13979]
31600         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31601         checking but the checks are disabled for any reason.
31603 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31605         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31606         and ELF64_R_TYPE with ELFW(R_TYPE).
31608 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31610         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31611         (ulimit): Likewise.
31613         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31614         (settimeofday): Likewise.
31616 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31618         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31619         a struct th_u2 inside the union, and move tu_block/tu_code into
31620         a new th_u3 union of tu_block/tu_code inside of that.  Move
31621         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31622         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31623         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31624         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31625         (th_stuff): Change to th_u1.tu_stuff.
31626         (th_data): Define.
31627         (th_msg): Change to th_u1.th_u2.tu_data.
31629 2012-05-07  David S. Miller  <davem@davemloft.net>
31631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31633         [BZ #14074]
31634         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31635         (SETUP_PIC_REG): Use it.
31636         (SETUP_PIC_REG_LEAF): Use it.
31638 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31640         [BZ #13885]
31641         [BZ #13923]
31642         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31643         USE_AS_EXPM1L.
31644         (EXPL_FINITE): Likewise.
31645         (FLDLOG): Likewise.
31646         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31647         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31648         e_expl.S.
31649         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31650         USE_AS_EXPM1L.
31651         (EXPL_FINITE): Likewise.
31652         (FLDLOG): Likewise.
31653         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31654         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31655         e_expl.S.
31656         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31657         test of -max_value argument for long double.
31658         * sysdeps/i386/fpu/libm-test-ulps: Update.
31659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31661 2012-05-06  David S. Miller  <davem@davemloft.net>
31663         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31664         quad soft-float symbols whose references which are compiler
31665         generated.
31666         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31668 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31670         [BZ #13884]
31671         [BZ #13914]
31672         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31673         USE_AS_EXP10L.
31674         (EXPL_FINITE): Likewise.
31675         (FLDLOG): Likewise.
31676         (c0): Likewise.
31677         (c1): Likewise.
31678         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31679         Adjust comments for base varying.
31680         (__expl_finite): Change alias to EXPL_FINITE.
31681         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31682         e_expl.S.
31683         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31684         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31685         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31686         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31687         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31688         USE_AS_EXP10L.
31689         (EXPL_FINITE): Likewise.
31690         (FLDLOG): Likewise.
31691         (c0): Likewise.
31692         (c1): Likewise.
31693         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31694         Adjust comments for base varying.
31695         (__expl_finite): Change alias to EXPL_FINITE.
31696         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
31697         tests for bugs.
31698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31700         [BZ #14064]
31701         * math/libm-test.inc (check_float_internal): Correct ulp
31702         calculation for subnormal expected results.
31704 2012-05-06  Andreas Jaeger  <aj@suse.de>
31706         * Makeconfig (+math-flags): New, set to -frounding-math.
31707         (+cflags): Add +math-flags so that all of glibc gets compiled with
31708         it.
31710         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31712 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
31714         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31715         Disable one test.
31717         [BZ #13787]
31718         [BZ #13922]
31719         [BZ #14036]
31720         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31721         (__ieee754_expl): Allow for and saturate large arguments.
31722         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31723         (u_threshold): Likewise.
31724         (__exp): Call __ieee754_exp before checking for overflow and
31725         underflow.
31726         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31727         (u_threshold): Likewise.
31728         (__expf): Call __ieee754_expf before checking for overflow and
31729         underflow.
31730         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31731         (u_threshold): Likewise.
31732         (__expl): Call __ieee754_expl before checking for overflow and
31733         underflow.
31734         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31735         (__ieee754_expl): Allow for and saturate large arguments.
31736         * math/libm-test.inc (exp_test): Add another test.  Do not allow
31737         missing overflow exception on overflow.
31738         (expm1_test): Do not allow missing overflow exception on overflow.
31740         * sysdeps/i386/fpu/e_expl.c: Move to ...
31741         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
31742         rather than using inline asm.
31743         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31744         * sysdeps/x86_64/fpu/e_expl.S: Copy from
31745         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31747         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31748         (nice): Likewise.
31749         (poll): Likewise.
31750         (signal): Likewise.
31751         (time): Likewise.
31752         (times): Likewise.
31754 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31756         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31757         sysdeps/unix/common/syscalls.list.
31758         (fchmod): Likewise.
31759         (fchown): Likewise.
31760         (ftruncate): Likewise.
31761         (getrusage): Likewise.
31762         (gettimeofday): Likewise.
31763         (setpgid): Likewise.
31764         (setregid): Likewise.
31765         (setreuid): Likewise.
31766         (sigaction): Likewise.
31767         (truncate): Likewise.
31768         (vhangup): Likewise.
31769         * sysdeps/unix/common/syscalls.list: Remove file.
31770         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31771         * sysdeps/unix/sysv/linux/Implies: Likewise.
31773 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31775         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31777         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31778         Moved to ...
31779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31780         Here.
31781         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31782         to ...
31783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31784         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31785         to ...
31786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31787         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31788         to ...
31789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31790         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31791         to ...
31792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31793         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31794         to ...
31795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31796         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31797         to ...
31798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31799         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31800         to ...
31801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31802         Here.
31803         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31804         to ...
31805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31806         Here.
31807         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31808         to ...
31809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31810         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31811         Moved to ...
31812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31813         Here.
31814         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31815         to ...
31816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31818 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31820         * sysdeps/unix/common/bits/dirent.h: Remove file.
31821         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31823         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31824         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31825         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31826         * sysdeps/unix/bsd/isatty.c: Likewise.
31827         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31828         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31829         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31831 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31833         [BZ #13563]
31834         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31835         long double comparison inaccuracies.
31836         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31839 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31841         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31842         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31844 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31846         [BZ #14049]
31847         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31848         nonzero digits before rounding a hex value.
31849         * stdlib/tst-strtod.c (tests): Add another test.
31851 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31853         * sysdeps/s390/fpu/libm-test-ulps: Update.
31855 2012-05-03  Andreas Jaeger  <aj@suse.de>
31857         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31858         does not get optimized out.
31859         (malloc_opt_barrier): New.
31861 2012-05-03  Andreas Jaeger  <aj@suse.de>
31862             Roland McGrath  <roland@hack.frob.com>
31864         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31865         intermediate file deletion.
31866         (generated): Add .symlist files.
31868 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31870         [BZ #13775]
31871         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31872         Redirect under this condition.
31873         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31874         [__USE_GNU] (__dprintf_chk): Not under this condition.
31875         [__USE_GNU] (__vdprintf_chk): Likewise.
31876         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31877         under this condition.
31878         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31879         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31880         [__USE_XOPEN2K8] (vdprintf): Likewise.
31881         [__USE_GNU] (__dprintf_chk): Not under this condition.
31882         [__USE_GNU] (__vdprintf_chk): Likewise.
31883         [__USE_GNU] (dprintf): Likewise.
31884         [__USE_GNU] (vdprintf): Likewise.
31886 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31888         * elf/Makefile (common-generated): Set this instead of generated for
31889         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31890         $(all-built-dso)-derived lists.
31892 2012-05-03  Andreas Jaeger  <aj@suse.de>
31894         * sysdeps/i386/fpu/libm-test-ulps: Update.
31896         * FAQ: Removed.
31897         * FAQ.in: Likewise.
31898         * scripts/gen-FAQ.pl: Likewise.
31899         * manual/install.texi (Installation): Point to online location of
31900         FAQ.
31901         * Makefile (files-for-dist): Remove FAQ.
31902         (FAQ): Remove.
31904 2012-05-02  Allan McRae  <allan@archlinux.org>
31906         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31907         (LDFLAGS-reldepmod5.so): Likewise.
31908         (LDFLAGS-reldep6mod1.so): Likewise.
31909         (LDFLAGS-reldep6mod4.so): Likewise.
31910         (LDFLAGS-reldep8mod3.so): Likewise.
31911         (LDFLAGS-unload4mod1.so): Likewise.
31912         (LDFLAGS-unload4mod2.so): Likewise.
31913         (LDFLAGS-tst-initorder): Likewise.
31914         (LDFLAGS-tst-initordera2.so): Likewise.
31915         (LDFLAGS-tst-initordera3.so): Likewise.
31916         (LDFLAGS-tst-initordera4.so): Likewise.
31917         (LDFLAGS-tst-initorderb2.so): Likewise.
31918         (LDFLAGS-noload): Likewise.
31919         (LDFLAGS-next): Likewise.
31920         (LDFLAGS-order2mod1.so): Likewise.
31921         (LDFLAGS-order2mod2.so): Likewise.
31922         (LDFLAGS-tst-initorder2): Likewise.
31923         (LDFLAGS-tst-initorder2a.so): Likewise.
31924         (LDFLAGS-tst-initorder2b.so): Likewise.
31925         (LDFLAGS-tst-initorder2c.so): Likewise.
31926         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31928 2012-05-02  David S. Miller  <davem@davemloft.net>
31930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31932 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31934         [BZ #14055]
31935         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31937 2012-05-02  Andreas Jaeger  <aj@suse.de>
31939         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31940         since we manipulate rounding mode.
31941         (CPPFLAGS-test-idouble.c): Likewise.
31942         (CPPFLAGS-test-ifloat.c): Likewise.
31943         (CFLAGS-test-ldouble.c): Likewise.
31944         (CFLAGS-test-double.c): Likewise.
31945         (CFLAGS-test-float.c): Likewise.
31946         (CFLAGS-test-misc.c): Likewise.
31947         (CFLAGS-test-test-fenv.c): Likewise.
31949 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31951         [BZ #2550]
31952         [BZ #2570]
31953         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31954         comparisons to determine direction to adjust input.
31956 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31958         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31959         output to the target.
31961         * scripts/localplt.awk: New file.
31962         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31963         (check-localplt-CFLAGS): Variable removed.
31964         ($(all-built-dso:=.jmprel)): New static pattern rule.
31965         (generated): Add those targets.
31966         (localplt-built-dso): New variable.
31967         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31969         * elf/check-localplt.c: File removed.
31971         * scripts/check-execstack.awk: New file.
31972         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31973         (check-execstack-CFLAGS): Variable removed.
31974         ($(objpfx)check-execstack.h): Target removed.
31975         ($(objpfx)execstack-default): New target.
31976         (generated): Add that instead of check-execstack.h.
31977         ($(all-built-dso:=.phdr)): New static pattern rule.
31978         (generated): Add those targets.
31979         * elf/check-execstack.c: File removed.
31981         * scripts/check-textrel.awk: New file.
31982         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31983         (check-textrel-CFLAGS): Variable removed.
31984         (all-built-dso): Use := to define.o
31985         ($(all-built-dso:=.dyn)): New static pattern rule.
31986         (generated): Add those targets.
31987         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31988         * config.make.in (READELF): New substituted variable.
31989         * elf/check-textrel.c: File removed.
31991 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31993         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31994         allow.
31995         * conform/data/ctype.h-data [C99-based standards] (isblank):
31996         Expect function.
31997         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31998         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32000         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32001         Specify type.  Require positive value.
32002         (EILSEQ): Likewise.
32003         (ERANGE): Likewise.
32004         [ISO || POSIX] (EILSEQ): Do not expect.
32005         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32006         Specify type.  Require positive value.
32007         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32008         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32009         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32010         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32011         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32012         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32013         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32014         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32015         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32016         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32017         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32018         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32019         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32020         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32021         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32022         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32023         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32024         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32025         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32026         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32027         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32028         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32029         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32030         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32031         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32032         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32033         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32034         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32035         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32036         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32037         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32038         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32039         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32040         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32041         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32042         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32043         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32044         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32045         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32046         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32047         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32048         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32049         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32050         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32051         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32052         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32053         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32054         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32055         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32056         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32057         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32058         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32059         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32060         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32061         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32062         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32063         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32064         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32065         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32066         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32067         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32068         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32069         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32070         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32071         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32072         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32073         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32074         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32075         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32076         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32077         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32078         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32079         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32080         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32081         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32082         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32083         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32084         Require >= 2.
32085         (FLT_ROUNDS): Expect as macro, not constant.
32086         (FLT_MANT_DIG): Use macro-int-constant.
32087         (DBL_MANT_DIG): Likewise.
32088         (LDBL_MANT_DIG): Likewise.
32089         (FLT_DIG): Likewise.
32090         (DBL_DIG): Likewise.
32091         (LDBL_DIG): Likewise.
32092         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32093         (DBL_MIN_EXP): Likewise.
32094         (LDBL_MIN_EXP): Likewise.
32095         (FLT_MAX_EXP): Use macro-int-constant.
32096         (DBL_MAX_EXP): Likewise.
32097         (LDBL_MAX_EXP): Likewise.
32098         (FLT_MAX_10_EXP): Likewise.
32099         (DBL_MAX_10_EXP): Likewise.
32100         (LDBL_MAX_10_EXP): Likewise.
32101         (FLT_MAX): Use macro-constant.
32102         (DBL_MAX): Likewise.
32103         (LDBL_MAX): Likewise.
32104         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32105         (DBL_EPSILON): Likewise.
32106         (LDBL_EPSILON): Likewise.
32107         (FLT_MIN): Likewise.
32108         (DBL_MIN): Likewise.
32109         (LDBL_MIN): Likewise.
32110         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32111         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32112         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32113         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32114         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32115         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32116         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32117         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32118         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32119         [ISO11] (FLT_TRUE_MIN): Likewise.
32120         [ISO11] (LDBL_TRUE_MIN): Likewise.
32121         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32122         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32123         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32124         (SCHAR_MAX): Likewise.
32125         (UCHAR_MAX): Likewise.
32126         (CHAR_MIN): Likewise.
32127         (CHAR_MAX): Likewise.
32128         (MB_LEN_MAX): Use macro-int-constant.
32129         (SHRT_MIN): Use macro-int-constant.  Specify type.
32130         (SHRT_MAX): Likewise.
32131         (USHRT_MAX): Likewise.
32132         (INT_MAX): Likewise.
32133         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32134         bound negative.
32135         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32136         bound with "U".
32137         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32138         bound with "L".
32139         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32140         bound negative.  Suffix upper bound with "L".
32141         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32142         bound with "UL".
32143         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32144         Specify type.
32145         [C99-based standards] (LLONG_MAX): Likewise.
32146         [C99-based standards] (ULLONG_MAX): Likewise.
32147         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32148         == 0.
32149         [ISO11] (max_align_t): Require type.
32150         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32152         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32153         from $CFLAGS, without defining away __attribute__ calls.
32154         (checknamespace): Use $CFLAGS_namespace.
32156         * conform/conformtest.pl (@keywords): Only include C99 keywords
32157         for standards based on C99 or C11.
32159         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32160         Disable tests.
32161         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32162         UNIX98]: Likewise.
32164         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32165         usability of symbols in #if.
32167         * conform/conformtest.pl: If macro or constant types start
32168         "promoted:", expect the symbol to be of the following type
32169         promoted by the integer promotions.
32171         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32172         in one place.  Also handle "macro-constant".
32174         * conform/conformtest.pl: Only accept expected macro values with
32175         "==".  Parse all "macro" lines in one place.
32176         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32178         * conform/conformtest.pl: Handle braced types on "constant" lines
32179         instead of handling "typed-constant".
32180         * conform/data/signal.h-data: Use "constant" instead of
32181         "typed-constant".
32183         * conform/conformtest.pl: Handle "optional-" at start of lines in
32184         one place rather than duplicating several cases.  Handle each
32185         format of "macro" line with initial "optional-".
32187         * conform/conformtest.pl: Only accept expected constant or
32188         optional-constant values with "==".  Parse all "constant" lines in
32189         one place.  Parse all "optional-constant" lines in one place.
32190         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32191         * conform/data/fmtmsg.h-data: Likewise.
32192         * conform/data/netinet/in.h-data: Likewise.
32193         * conform/data/tar.h-data: Likewise.
32194         * conform/data/limits.h-data: Use "==" form on "constant" and
32195         "optional-constant" lines.
32197         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32198         Use -std=c99 for XOPEN2K.
32199         (@knownproblems): Remove.
32200         (newtoken): Don't check %isknown.
32202         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32203         Do not expect macro.
32204         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32205         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32206         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32207         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32208         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32209         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32210         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32211         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32212         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32213         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32214         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32215         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32216         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32217         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32218         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32219         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32220         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32221         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32222         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32223         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32224         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32225         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32226         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32227         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32228         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32229         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32230         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32231         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32232         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32233         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32234         [XPG3] (acosh): Likewise.
32235         [XPG3] (asinh): Likewise.
32236         [XPG3] (atanh): Likewise.
32237         [XPG3] (cbrt): Likewise.
32238         [XPG3] (expm1): Likewise.
32239         [XPG3] (ilogb): Likewise.
32240         [XPG3] (log1p): Likewise.
32241         [XPG3] (logb): Likewise.
32242         [XPG3] (nextafter): Likewise.
32243         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32244         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32245         [XPG3] (remainder): Likewise.
32246         [XPG3] (rint): Likewise.
32247         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32248         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32249         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32250         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32251         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32252         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32253         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32254         [UNIX98 || XOPEN2K] (scalb): Expect.
32255         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32256         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32257         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32258         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32259         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32260         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32261         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32262         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32263         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32264         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32265         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32266         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32267         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32268         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32269         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32270         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32271         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32272         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32273         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32274         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32275         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32276         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32277         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32278         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32279         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32280         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32281         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32282         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32283         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32284         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32285         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32286         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32287         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32288         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32289         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32290         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32291         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32292         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32293         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32294         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32295         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32296         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32297         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32298         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32299         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32300         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32301         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32302         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32303         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32304         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32305         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32306         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32307         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32308         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32309         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32310         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32311         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32312         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32313         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32314         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32315         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32316         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32317         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32318         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32319         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32320         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32321         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32322         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32323         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32324         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32325         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32326         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32327         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32328         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32329         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32330         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32331         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32332         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32333         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32334         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32335         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32336         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32337         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32338         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32339         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32340         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32341         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32342         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32343         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32344         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32345         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32346         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32347         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32348         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32349         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32350         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32351         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32352         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32353         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32354         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32355         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32356         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32357         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32358         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32359         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32360         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32361         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32362         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32363         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32364         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32365         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32366         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32367         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32368         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32369         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32370         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32371         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32372         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32373         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32374         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32375         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32376         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32377         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32378         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32379         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32380         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32381         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32382         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32383         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32384         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32385         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32386         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32387         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32388         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32389         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32390         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32391         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32393         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32394         _XOPEN_SOURCE_EXTENDED for XPG4.
32396         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32398         * Makeconfig (localtime): Remove variable.
32399         (inst_localtime-file): Likewise.
32401 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32404         Update.
32405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32406         Update.
32407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32408         Update.
32409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32410         Update.
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32412         Update.
32413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32414         Update.
32415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32416         Update.
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32418         Update.
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32420         Update.
32422 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32424         [BZ #2550]
32425         [BZ #2570]
32426         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32427         comparisons to determine direction to adjust input.
32428         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32429         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32430         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32431         Likewise.
32432         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32433         Likewise.
32434         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32435         Likewise.
32436         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32437         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32438         Likewise.
32439         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32440         Likewise.
32441         * math/libm-test.inc (nexttoward_test): Add more tests.
32443 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32445         [BZ #14040]
32446         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32447         in version GLIBC_2.1, not GLIBC_2.0.
32448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32449         Likewise.
32451 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32453         [BZ #13942]
32454         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32455         (1 - x) * (1 + x).
32456         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32457         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32458         * math/libm-test.inc (acos_test): Add more tests.
32459         (asin_test): Likewise.
32460         * sysdeps/i386/fpu/libm-test-ulps: Update.
32461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32463         [BZ #14034]
32464         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32465         of square root.
32466         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32467         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32468         * math/libm-test.inc (acos_test_tonearest): New function.
32469         (acos_test_towardzero): Likewise.
32470         (acos_test_downward): Likewise.
32471         (acos_test_upward): Likewise.
32472         (asin_test_tonearest): Likewise.
32473         (asin_test_towardzero): Likewise.
32474         (asin_test_downward): Likewise.
32475         (asin_test_upward): Likewise.
32476         (main): Call the new functions.
32477         * sysdeps/i386/fpu/libm-test-ulps: Update.
32478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32480         [BZ #13884]
32481         [BZ #13924]
32482         * math/e_exp10.c: Include <float.h>.
32483         (__ieee754_exp10): Handle underflow here rather than multiplying
32484         large negative argument by M_LN10.
32485         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32486         of __ieee754_expf.
32487         * math/e_exp10l.c: Include <float.h>.
32488         (__ieee754_exp10l): Handle underflow here rather than multiplying
32489         large negative argument by M_LN10l.
32490         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32491         spurious overflow exception on underflow.
32493 2012-04-29  Marek Polacek  <polacek@redhat.com>
32495         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32496         (__fortify_function): New macro.
32497         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32498         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32499         __extern_always_inline.
32500         * libio/bits/stdio2.h: Likewise.
32501         * libio/bits/stdio.h: Likewise.
32502         * string/string.h: Likewise.
32503         * string/bits/string3.h: Likewise.
32504         * include/stdio.h: Likewise.
32505         * stdlib/bits/stdlib.h: Likewise.
32506         * stdlib/stdlib.h: Likewise.
32507         * rt/bits/mqueue2.h: Likewise.
32508         * rt/mqueue.h: Likewise.
32509         * posix/bits/unistd.h: Likewise.
32510         * posix/unistd.h: Likewise.
32511         * io/bits/poll2.h: Likewise.
32512         * io/bits/fcntl2.h: Likewise.
32513         * io/fcntl.h: Likewise.
32514         * io/sys/poll.h: Likewise.
32515         * misc/bits/syslog.h: Likewise.
32516         * misc/bits/syslog-ldbl.h: Likewise.
32517         * misc/sys/syslog.h: Likewise.
32518         * socket/bits/socket2.h: Likewise.
32519         * socket/sys/socket.h: Likewise.
32520         * debug/tst-chk1.c: Likewise.
32521         * wcsmbs/bits/wchar2.h: Likewise.
32522         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32523         * wcsmbs/wchar.h: Likewise.
32525 2012-04-29  Andreas Jaeger  <aj@suse.de>
32527         * Makerules (tests): Remove enable-check-abi protection.
32528         (check-abi-warn): Remove.
32529         (check-abi-%): Remove check-abi-warn usage.
32531         * configure.in: Remove check-abi configure option.
32532         * configure: Regenerated.
32533         * config.make.in (enable-check-abi): Remove.
32535 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32537         [BZ #14033]
32538         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32539         double functions to double *_finite functions.
32541         [BZ #13941]
32542         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32543         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32544         LDBL_MIN_EXP.
32545         * stdio-common/Makefile (tests): Add tst-sprintf3.
32546         * stdio-common/tst-sprintf3.c: New file.
32548         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32549         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32551 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32553         * conform/conformtest.pl: Remove duplicate typed-constant
32554         handling.
32556 2012-04-28  David S. Miller  <davem@davemloft.net>
32558         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32559         (check-abi-%): Remove AWK script prerequisite and explicit
32560         abilist directory.
32561         (check-abi): Rewrite to just diff the symlist with the abilist.
32562         (config-tls, config-abi-config): Delete, no longer used.
32563         (update-abi-%): Remove AWK script and explicit abilist directory.
32564         (update-abi): Rewrite to simply compare and conditionally copy the
32565         symlist and the sysdep abilist file.  Remove update-abi-config
32566         checks.
32567         * abilist/ld.abilist: Remove.
32568         * abilist/libBrokenLocale.abilist: Remove.
32569         * abilist/libanl.abilist: Remove.
32570         * abilist/libcrypt.abilist: Remove.
32571         * abilist/libdl.abilist: Remove.
32572         * abilist/librt.abilist: Remove.
32573         * abilist/libthread_db.abilist: Remove.
32574         * abilist/libutil.abilist: Remove.
32575         * scripts/extract-abilist.awk: Remove.
32576         * scripts/merge-abilist.awk: Remove.
32577         * sysdeps/generic/libcidn.abilist: New file.
32578         * sysdeps/generic/libnss_compat.abilist: New file.
32579         * sysdeps/generic/libnss_db.abilist: New file.
32580         * sysdeps/generic/libnss_dns.abilist: New file.
32581         * sysdeps/generic/libnss_files.abilist: New file.
32582         * sysdeps/generic/libnss_hesiod.abilist: New file.
32583         * sysdeps/generic/libnss_nis.abilist: New file.
32584         * sysdeps/generic/libnss_nisplus.abilist: New file.
32585         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32586         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32587         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32588         file.
32589         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32590         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32591         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32592         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32593         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32594         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32595         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32596         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32597         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32598         file.
32599         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32600         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32601         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32602         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32603         file.
32604         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32605         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32606         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32607         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32608         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32609         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32610         file.
32611         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32612         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32613         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32614         file.
32615         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32616         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32617         New file.
32618         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32619         New file.
32620         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32621         New file.
32622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32623         New file.
32624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32625         New file.
32626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32627         New file.
32628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32629         New file.
32630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32631         New file.
32632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32633         New file.
32634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32635         New file.
32636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32637         New file.
32638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32639         New file.
32640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32641         New file.
32642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32643         file.
32644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32645         New file.
32646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32647         New file.
32648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32649         file.
32650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32651         New file.
32652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32653         New file.
32654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32655         file.
32656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32657         New file.
32658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32659         New file.
32660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32661         New file.
32662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32663         New file.
32664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32665         New file.
32666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32667         New file.
32668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32670         file.
32671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32672         New file.
32673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32674         file.
32675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32676         file.
32677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32678         file.
32679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32680         file.
32681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32682         file.
32683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32684         New file.
32685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32686         file.
32687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32688         file.
32689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32690         New file.
32691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32692         file.
32693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32695         file.
32696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32697         New file.
32698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32699         file.
32700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32701         file.
32702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32703         file.
32704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32705         file.
32706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32707         file.
32708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32709         New file.
32710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32711         file.
32712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32713         file.
32714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32715         New file.
32716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32717         file.
32718         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32719         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32720         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32721         file.
32722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32723         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32724         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32725         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32726         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32727         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32728         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32729         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32730         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32731         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32734         file.
32735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32736         New file.
32737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32738         file.
32739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32740         file.
32741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32742         file.
32743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32744         file.
32745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32746         file.
32747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32748         New file.
32749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32750         New file.
32751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32752         file.
32753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32754         New file.
32755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32756         file.
32757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32759         file.
32760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32761         New file.
32762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32763         file.
32764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32765         file.
32766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32767         file.
32768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32769         file.
32770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32771         file.
32772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32773         New file.
32774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32775         New file.
32776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32777         file.
32778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32779         New file.
32780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32781         file.
32783 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32785         * conform/conformtest.pl: Fix typo in handling typed-constant from
32786         allow-header.
32788 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32790         * README: Cut down references to pre-2.6 Linux kernels and
32791         Linuxthreads.  Update lists of configurations in libc and ports
32792         and sort alphabetically.  Say "or newer" with Linux kernel version
32793         requirements.
32795         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32797 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32799         [BZ #887]
32800         * math/libm-test.inc (logb_test_downward): New test to expose
32801         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32802         rounding mode.
32804 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32806         [BZ #14027]
32807         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32808         to be done.
32809         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32810         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32812 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32814         * sysdeps/unix/i386/brk.S: Remove file.
32815         * sysdeps/unix/i386/dl-brk.S: Likewise.
32816         * sysdeps/unix/i386/pipe.S: Likewise.
32817         * sysdeps/unix/i386/sigreturn.S: Likewise.
32818         * sysdeps/unix/i386/syscall.S: Likewise.
32819         * sysdeps/unix/i386/vfork.S: Likewise.
32820         * sysdeps/unix/i386/wait.S: Likewise.
32822         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32823         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32825         * configure.in (arm*-none*): Do not allow without
32826         --enable-hacker-mode.
32827         (netbsd*): Remove case setting base_os.
32828         (386bsd*): Likewise.
32829         (freebsd*): Likewise.
32830         (bsdi*): Likewise.
32831         (osf*): Likewise.
32832         (sunos*): Likewise.
32833         (ultrix*): Likewise.
32834         (newsos*): Likewise.
32835         (dynix*): Likewise.
32836         (*bsd*): Likewise.
32837         (sysv*): Likewise.
32838         (isc*): Likewise.
32839         (esix*): Likewise.
32840         (sco*): Likewise.
32841         (minix*): Likewise.
32842         (irix4*): Likewise.
32843         (irix6*): Likewise.
32844         (solaris[2-9]*): Likewise.
32845         (none): Likewise.
32846         * configure: Regenerated.
32848 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32850         [BZ #11521]
32851         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32852         overflow or cancellation in calculating denominator.
32853         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32854         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32855         down expression to avoid unexpected rounding in newer GCCs.
32856         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32858 2012-04-26  David S. Miller  <davem@davemloft.net>
32860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32861         long-double compat symbols.
32862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32876 2012-04-25  David S. Miller  <davem@davemloft.net>
32878         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32879         HWCAP_* values only after the memory barriers have been defined.
32880         (atomic_full_barrier): Define.
32881         (atomic_read_barrier): Define.
32882         (atomic_write_barrier): Define.
32884 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32886         * shlib-versions: Add libgcc_s version information.
32887         * sysdeps/generic/libgcc_s.h: Remove.
32888         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32889         libgcc_s.h.
32890         * sysdeps/gnu/unwind-resume.c: Likewise.
32891         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32893 2012-04-25  David S. Miller  <davem@davemloft.net>
32895         * sysdeps/unix/sparc/brk.S: Delete.
32896         * sysdeps/unix/sparc/dl-brk.S: Delete.
32897         * sysdeps/unix/sparc/pipe.S: Delete.
32898         * sysdeps/unix/sparc/sysdep.S: Delete.
32899         * sysdeps/unix/sparc/sysdep.h: Delete.
32900         * sysdeps/unix/sparc/vfork.S: Delete.
32901         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32902         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32903         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32904         (ret_ERRVAL, r0, r1, MOVE): Define.
32905         (JUMPTARGET): Remove.
32906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32907         sysdeps/unix/sparc/sysdep.h
32908         (ENTRY, END): Remove.
32909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32911 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32913         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32914         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32915         -DIS_IN_build.
32917         * timezone/README: Update upstream location and email address for
32918         tzcode and tzdata.
32919         * timezone/zdump.c: Update from tzcode 2012b.
32920         * timezone/zic.c: Likewise.
32922         * configure.in (libc_cv_as_needed): Remove test.
32923         * configure: Regenerated.
32924         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32925         conditional definition.
32926         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32927         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32928         * config.make.in (have-as-needed): Remove variable.
32930 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32931             Paul Pluzhnikov  <ppluzhnikov@google.com>
32933         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32934         strings correctly.
32936 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32938         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32939         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32940         * sysdeps/sh/strlen.S: Likewise.
32942 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32944         * sysdeps/unix/fork.S: Remove file.
32945         * sysdeps/unix/i386/fork.S: Likewise.
32946         * sysdeps/unix/sparc/fork.S: Likewise.
32948         * sysdeps/unix/system.c: Remove file.
32949         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32951         * sysdeps/unix/getegid.S: Remove file.
32952         * sysdeps/unix/geteuid.S: Likewise.
32954 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32956         * scripts/check-localplt.awk: New file.
32957         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32958         of diff.
32959         * scripts/data/localplt-generic.data: Add a comment.
32961         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32962         NODE when __dir_mkfile failed.
32963         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32964         Reported by Ludovic Courtès <ludo@gnu.org>.
32966 2012-04-24  Andreas Jaeger  <aj@suse.de>
32968         * Makerules (common-clean): Also remove gen-as-const-headers
32969         files.
32971 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32973         * Makerules (native-compile): Do not change working directory for
32974         build.  Use $(OUTPUT_OPTION) in command.
32975         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32977 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32979         [BZ #13886]
32980         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32981         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32982         * math/libm-test.inc (floor_test): Add more tests.
32983         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32985 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32987         * sysdeps/unix/getdents.c: Remove file.
32988         * sysdeps/unix/sysv/getdents.c: Likewise.
32989         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32991         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32992         sysdeps/unix/mman/syscalls.list.
32993         (mmap): Likewise.
32994         (mprotect): Likewise.
32995         (msync): Likewise.
32996         (munmap): Likewise.
32997         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32998         * sysdeps/unix/mman/syscalls.list: Remove.
32999         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33001         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33002         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33003         * configure: Regenerated.
33004         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33005         $(libgcc_s_suffix).
33006         * config.make.in (libgcc_s_suffix): Remove variable.
33008 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33010         * sysdeps/unix/sysv/gethostname.c: Move to ...
33011         * sysdeps/posix/gethostname.c: ... here.
33013         * sysdeps/unix/execve.S: Remove file.
33015         * sysdeps/unix/_exit.S: Remove file.
33017 2012-04-23  Andreas Jaeger  <aj@suse.de>
33019         [BZ #13739]
33020         * manual/Makefile: Remove make dist support, there's no
33021         need for a stand-alone documentation tar ball.
33022         (TEXI2DVI): Define always, it's not in Makeconfig.
33023         (dist): Removed.
33024         (tar-it): Removed.
33025         (edition): Removed.
33026         (glibc-doc-$(edition).tar): Removed
33027         (%.Z): Removed.
33028         (%.gz): Removed.
33029         (%.uu): Removed.
33030         (ETAGS): Remove, it's in Makeconfig.
33031         (move-if-change): Remove, it's in Makeconfig.
33033 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33035         [BZ #13970]
33036         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33037         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33038         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33039         (strtod_l, strtof_l, strtold_l): Remove __wur.
33040         It is not necessarily an error to ignore strtol's return value.
33041         One can reliably look at the stored endptr to decide whether
33042         the number had valid syntax.
33044 2012-04-21  Andreas Jaeger  <aj@suse.de>
33046         [BZ #13739]
33047         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33049 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33051         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33052         * sysdeps/unix/sysv/Versions: Remove file.
33054 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33056         [BZ #13927]
33057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33059 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33061         [BZ #7064]
33062         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33063         version from __vm86.
33065 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33067         * sysdeps/unix/common/lxstat.c: Remove file.
33068         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33070         * sysdeps/unix/sysv/Makefile: Remove file.
33072         * sysdeps/unix/sysv/direct.h: Remove file.
33074         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33075         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33076         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33077         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33078         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33079         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33080         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33082         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33084         * sysdeps/unix/xmknod.c: Remove file.
33085         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33087         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33089         * sysdeps/unix/sysv/i386/time.S: Remove file.
33091         * sysdeps/unix/fxstat.c: Remove file.
33092         * sysdeps/unix/xstat.c: Likewise.
33093         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33095         * sysdeps/unix/sysv/sigaction.c: Remove file.
33097         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33098         (sysdep_headers): Remove variable.
33099         [termio.h not in sysdep_headers] (generated): Likewise.
33100         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33101         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33102         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33103         * sysdeps/unix/sysv/tcflow.c: Likewise.
33104         * sysdeps/unix/sysv/tcflush.c: Likewise.
33105         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33106         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33107         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33108         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33109         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33111         * sysdeps/unix/siglist.c: Remove file.
33113         * sysdeps/unix/getppid.S: Remove file.
33115         * sysdeps/unix/mkdir.c: Remove file.
33116         * sysdeps/unix/rmdir.c: Likewise.
33118 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33120         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33121         ERR_MAX value.
33122         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33123         errlist-compat value.
33125 2012-04-18  David S. Miller  <davem@davemloft.net>
33127         * sysdeps/generic/memcopy.h (reg_char): Delete.
33128         * debug/strcat_chk.c: Use char, not reg_char.
33129         * debug/strcpy_chk.c: Likewise.
33130         * debug/strncat_chk.c: Likewise.
33131         * debug/strncpy_chk.c: Likewise.
33132         * string/memchr.c: Likewise.
33133         * string/memrchr.c: Likewise.
33134         * string/rawmemchr.c: Likewise.
33135         * string/strcat.c: Likewise.
33136         * string/strchr.c: Likewise.
33137         * string/strchrnul.c: Likewise.
33138         * string/strcmp.c: Likewise.
33139         * string/strcpy.c: Likewise.
33140         * string/strncat.c: Likewise.
33141         * string/strncmp.c: Likewise.
33142         * string/strncpy.c: Likewise.
33144 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33146         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33147         __builtin_memcopy is called when src and dest ranges are known to not
33148         overlap.
33150 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33152         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33153         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33154         fwd_align_merge macro call.
33155         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33156         bwd_align_merge macro call.
33157         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33159 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33161         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33162         bwd_align_merge macros.
33163         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33164         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33165         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33167 2012-04-18  David S. Miller  <davem@davemloft.net>
33169         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33171 2012-04-18  Andreas Jaeger  <aj@suse.de>
33173         [BZ# 6794]
33174         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33175         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33176         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33178         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33179         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33180         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33182         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33183         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33184         Adjust for changed ldbl-128 files.
33186         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33187         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33188         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33190 2012-04-17  David S. Miller  <davem@davemloft.net>
33192         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33194 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33196         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33197         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33198         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33199         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33200         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33201         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33203 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33205         [BZ #6794]
33206         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33207         * math/libm-test.inc: Add ilogb errno and exception tests.
33208         * math/w_ilogb.c: New file: ilogb wrapper.
33209         * math/w_ilogbf.c: New file: ilogbf wrapper.
33210         * math/w_ilogbl.c: New file: ilogbl wrapper.
33211         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33212         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33213         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33214         exception being thrown with 0.0 as argument.
33215         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33216         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33217         exception being thrown with 0.0 as argument.
33218         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33219         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33220         exception being thrown with 0.0 as argument.
33221         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33222         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33223         exception being thrown with 0.0 as argument.
33224         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33225         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33226         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33227         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33228         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33229         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33230         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33231         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33232         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33234 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33236         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33237         with altivec.
33239 2012-04-16  Marek Polacek  <polacek@redhat.com>
33241         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33243 2012-04-16  Marek Polacek  <polacek@redhat.com>
33245         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33246         operands of fdivp instruction.
33248 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33250         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33251         * elf/tst-auditmod3b.c: Likewise.
33252         * elf/tst-auditmod4b.c: Likewise.
33253         * elf/tst-auditmod5b.c: Likewise.
33254         * elf/tst-auditmod6b.c: Likewise.
33255         * elf/tst-auditmod6c.c: Likewise.
33256         * elf/tst-auditmod7b.c: Likewise.
33257         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33258         * sysdeps/x86_64/preconfigure.in: Likewise.
33259         * sysdeps/x86_64/preconfigure: Regenerated.
33261 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33263         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33264         __ILP32__.
33266 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33268         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33269         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33271 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33273         [BZ #13973]
33274         * locale/iso-639.def: Fix gl language name. Spotted by
33275         Yaron Shahrabani.
33277 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33279         [BZ #2074]
33280         * libio/libio.h (__io_write_fn): Update comment.
33282 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33284         [BZ #2074]
33285         * stdio.texi (Hook Functions): The user provided writer function
33286         is not allowed to return -1.
33288 2012-04-11  David S. Miller  <davem@davemloft.net>
33290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33292 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33294         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33295         Add a leading slash to rtkaio.
33297 2012-04-11  Jim Meyering  <meyering@redhat.com>
33299         [BZ #11959]
33300         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33301         It is not necessarily an error to ignore fwrite's return
33302         value.  One can reliably use ferror to test for errors after
33303         the fact.
33305 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33307         * bits/types.h (__snseconds_t): New type.
33308         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33310         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33311         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33312         (__SNSECONDS_T_TYPE): Likewise.
33313         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33314         (__SNSECONDS_T_TYPE): Likewise.
33315         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33316         (__SNSECONDS_T_TYPE): Likewise.
33318 2012-04-10  Andreas Jaeger  <aj@suse.de>
33320         [BZ #2636]
33321         * manual/time.texi (Processor Time): Return type of times is
33322         elapsed real time since an arbitrary point in the past.
33323         (CPU Time): Move CLK_TCK from here...
33324         (Processor Time): ...to here.  Correct description.
33325         * manual/conf.texi (Constants for Sysconf): Correct description of
33326         _SC_CLK_TCK.
33328 2012-04-10  David S. Miller  <davem@davemloft.net>
33330         [BZ #13967]
33331         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33332         where the is a gap between DT_REL(A) and DT_JMPREL.
33334 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33336         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33337         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33338         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33340 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33342         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33343         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33344         (dl_main): Handle --inhibit-cache.
33345         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33346         _dl_inhibit_cache.
33347         * elf/dl-load.c (_dl_map_object): Use it.
33348         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33350 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33352         [BZ #13872]
33353         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33354         (__ieee754_powl): Saturate large exponents rather than testing for
33355         overflow of y*log2(x).
33356         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33357         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33358         exceptions.
33360         [BZ #11521]
33361         * math/s_ctan.c: Include <float.h>.
33362         (__ctan): Avoid internal overflow or cancellation in calculating
33363         denominator.
33364         * math/s_ctanf.c: Likewise.
33365         * math/s_ctanl.c: Likewise.
33366         * math/s_ctanh.c: Likewise.
33367         * math/s_ctanhf.c: Likewise.
33368         * math/s_ctanhl.c: Likewise.
33369         * math/libm-test.inc (ctan_test): Add more tests.
33370         (ctanh_test): Likewise.
33371         * sysdeps/i386/fpu/libm-test-ulps: Update.
33372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33374 2012-04-09  Andreas Jaeger  <aj@suse.de>
33376         [BZ #6894]
33377         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33378         is an optional BSD extension.
33380         [BZ #10254]
33381         * manual/stdio.texi (Opening Streams): Document additional fopen
33382         parameters.
33384 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33386         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33387         %eax without telling the compiler.
33389 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33391         [BZ # 13963]
33392         * manual/install.texi: Use sourceware.org.
33394 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33396         [BZ #13873]
33397         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33398         (__ieee754_pow): Generate overflow and underflow using huge*huge
33399         and tiny*tiny rather than just returning constant infinity or zero
33400         for large exponents.
33401         * math/libm-test.inc (pow_test): Require overflow exceptions for
33402         applicable cases of large exponents.
33404         [BZ #706]
33405         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33406         (__ieee754_pow): Use iterative multiplication algorithm only for
33407         integer exponents with absolute value below 1024.  Check for odd
33408         integer exponents when using algorithm for real exponents.
33409         * math/libm-test.inc (pow_test): Add more tests.
33410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33412 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33414         [BZ #13705]
33415         * math/libm-test.inc (exp_test): Do not allow overflow exception
33416         on underflow test.
33418 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33420         [BZ #13705]
33421         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33422         instead of __kernel_standard_f.
33424 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33426         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33427         * sysdeps/x86_64/memset_chk.S: Likewise.
33429 2012-04-08  Andreas Jaeger  <aj@suse.de>
33431         [BZ #10153]
33432         * manual/startup.texi (Environment Access): Describe return value
33433         for putenv and setenv.
33435         [BZ #6895]
33436         * manual/filesys.texi (Directory Entries): Add description for
33437         DT_LNK.
33439         [BZ #6890]
33440         * manual/filesys.texi (Directory Entries): Clarify that it's file
33441         system not operating system in the description of DT_UNKNOWN.
33443         [BZ #6578]
33444         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33446 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33448         [BZ #6649]
33449         * manual/llio.texi (Opening and Closing Files): Add cross
33450         reference to explain mode argument.
33452 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33454         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33455         * sysdeps/x86_64/memset_chk.S: Likewise.
33457 2012-04-07  David S. Miller  <davem@davemloft.net>
33459         * elf/elf.h (R_SPARC_WDISP10): Define.
33460         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33461         R_SPARC_SIZE32.
33462         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33463         R_SPARC_SIZE64 and R_SPARC_H34.
33465 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33467         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33468         conditions and remove no longer applicable assertion.
33470 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33472         * bits/byteswap.h: Include <features.h>.
33473         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33474         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33476 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33478         * bits/byteswap.h (__bswap_16): Removed.
33479         Include <bits/byteswap-16.h> to get __bswap_16.
33480         * sysdeps/i386/bits/byteswap.h: Likewise.
33481         * sysdeps/s390/bits/byteswap.h: Likewise.
33482         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33483         * bits/byteswap-16.h: New file.
33484         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33485         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33486         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33487         * string/Makefile (headers): Add bits/byteswap-16.h.
33489 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33491         [BZ #13895]
33492         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33493         extra indirection.
33494         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33495         * nss/tst-nss-static.c: New.
33497 2012-04-06  Robert Millan  <rmh@gnu.org>
33499         [BZ #6486]
33500         * manual/llio.texi (File Position Primitive): lseek
33501         refers to WHENCE when it really means OFFSET.
33503 2012-04-06  Andreas Jaeger  <aj@suse.de>
33505         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33506         strncmp declarations.
33508         * abilist/libc.abilist: Add __poll and __ppoll.
33510 2012-04-05  David S. Miller  <davem@davemloft.net>
33512         * scripts/check-local-headers.sh: Accept a host triplet in the
33513         path matched by the exclude regexp.
33515         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33516         definition.
33517         * sysdeps/powerpc/powerpc32/dl-machine.h
33518         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33519         * sysdeps/s390/s390-32/dl-machine.h
33520         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33521         * sysdeps/sparc/sparc32/dl-machine.h
33522         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33523         * sysdeps/sparc/sparc64/dl-machine.h
33524         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33526         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33527         lazy binding.
33528         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33529         undefined symbol errors.
33531         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33532         DT_NEEDED entries.
33534 2012-04-05  Michael Matz  <matz@suse.de>
33536         [BZ #13592]
33537         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33539 2012-04-05  Andreas Jaeger  <aj@suse.de>
33541         [BZ #13908]
33542         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33543         comment.
33545 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33547         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33548         which ROUND is no valid rounding mode.
33550 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33552         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33553         read again.
33554         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33556 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33558         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33559         an exception using FPU order intentionally.
33561 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33563         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33564         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33565         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33566         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33568 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33570         [BZ #12340]
33571         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33572         EINVAL when BUFLEN is too smal.
33574 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33576         [BZ #13553]
33577         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33578         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33580 2012-04-03  Andreas Jaeger  <aj@suse.de>
33582         [BZ #13938]
33583         * manual/setjmp.texi (System V contexts): Fix sentence.
33585         [BZ #13926]
33586         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33587         New macro for this case.
33588         [!__GNUC__] (__bswap_64): New inline function for this case.
33589         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33590         * bits/byteswap.h: Likewise.
33591         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33592         ull, guard with __GLIBC_HAVE_LONG_LONG.
33594         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33595         __GLIBC_HAVE_LONG_LONG.
33597         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33598         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33600 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33602         [BZ #13691]
33603         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33604         inptr and inend, rather than using last_ch.
33606 2012-04-02  David S. Miller  <davem@davemloft.net>
33608         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33609         * stdio-common/printf-parse.h (read_int): Change return type to
33610         'int', return -1 on INT_MAX overflow.
33611         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33612         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33613         overflows INT_MAX.  Check for overflow of in-format-string precision
33614         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33615         SIZE_MAX not INT_MAX for integer overflow test.
33616         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33617         skip the construct in the format string but do not record anything.
33618         * stdio-common/bug22.c: Adjust to test both width/prevision
33619         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33620         explicitly for proper errno values.
33622 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33624         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33625         CHAR_MAX.
33626         * string/test-strcmp.c [! WIDE]: Likewise.
33627         * time/tst-mktime2.c: Likewise for INT_MAX.
33628         * string/test-string.h: #include <sys/param.h> for MIN.
33630         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33631         * sysdeps/i386/init-first.c (init): Likewise.
33632         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33633         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33634         * sysdeps/sh/init-first.c (init): Likewise.
33636 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33638         * po/ru.po: Update from translation team.
33639         * po/vi.po: Likewise.
33641 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33643         * resolv/nss_dns/dns-host.c: Merge copyright years.
33645 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33647         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33648         Optimize memcpy with prefetch if
33649         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33650         src, dst pointers have unequal 16 byte alignments.
33652 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33654         [BZ #13928]
33655         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33656         from a CNAME entry and return the minimum ttl for the query.
33657         (gaih_getanswer_slice): Likewise.
33659 2012-03-30  Jeff Law  <law@redhat.com>
33661         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33662         due to long keys.
33663         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33664         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33666         * resolv/nss_dns/dns-host.c: Update copyright year.
33668 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33670         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33671         requests to save a system call.  Fix check that all bytes are sent.
33673         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33674         comments for sendmmsg.
33676 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33678         [BZ #13691]
33679         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33680         with only 1 character between 0x0041 and 0x01b0.
33681         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33682         * wcsmbs/tst-mbsnrtowcs.c: New file.
33684 2012-03-29  David S. Miller  <davem@davemloft.net>
33686         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33687         small copies by hand.
33689 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33691         [BZ #13761]
33692         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33693         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33694         group memberships.
33696 2012-03-28  David S. Miller  <davem@davemloft.net>
33698         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33699         that branches into memcpy.
33700         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33701         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33702         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33703         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33704         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33705         bits.
33706         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33707         implementation too.
33708         * sysdeps/sparc/mempcpy.S: New file.
33710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33711         the IFUNC routine in the libc case.
33712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33714         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33715         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33716         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33717         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33718         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33719         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33720         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33721         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33723         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33724         loop to 256 bytes instead of 64 bytes and fix test signedness.
33726         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33727         * sysdeps/sparc/sparc32/Makefile: rather than here...
33728         * sysdeps/sparc/sparc64/Makefile: and here.
33730 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
33732         * malloc/mallocbug.c: Avoid warnings about unused variables.
33734 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33736         [BZ #13760]
33737         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33738         in the right place. Discard and retry query if response is
33739         larger than input buffer size.
33741 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
33743         [BZ #369]
33744         [BZ #2678]
33745         [BZ #3866]
33746         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33747         x for large integer exponent.
33748         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33749         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
33750         sign of result as needed afterwards.
33751         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33752         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33753         result for underflowing pow the same as for overflow.
33754         (__kernel_standard_l): Handle powl overflow and underflow here
33755         rather than calling __kernel_standard.
33756         * math/libm-test.inc (pow_test): Add more tests.
33758         [BZ #3868]
33759         [BZ #13879]
33760         [BZ #13910]
33761         [BZ #13911]
33762         [BZ #13912]
33763         [BZ #13913]
33764         [BZ #13915]
33765         [BZ #13916]
33766         [BZ #13917]
33767         [BZ #13918]
33768         [BZ #13919]
33769         [BZ #13920]
33770         [BZ #13921]
33771         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33772         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33773         (__kernel_standard_l): New function.
33774         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33775         __kernel_standard.
33776         * math/w_acosl.c (__acosl): Likewise.
33777         * math/w_asinl.c (__asinl): Likewise.
33778         * math/w_atan2l.c (__atan2l): Likewise.
33779         * math/w_atanhl.c (__atanhl): Likewise.
33780         * math/w_coshl.c (__coshl): Likewise.
33781         * math/w_exp10l.c (__exp10l): Likewise.
33782         * math/w_exp2l.c (__exp2l): Likewise.
33783         * math/w_fmodl.c (__fmodl): Likewise.
33784         * math/w_hypotl.c (__hypotl): Likewise.
33785         * math/w_j0l.c (__j0l, __y0l): Likewise.
33786         * math/w_j1l.c (__j1l, __y1l): Likewise.
33787         * math/w_jnl.c (__jnl, __ynl): Likewise.
33788         * math/w_lgammal.c (__lgammal): Likewise.
33789         * math/w_log10l.c (__log10l): Likewise.
33790         * math/w_log2l.c (__log2l): Likewise.
33791         * math/w_logl.c (__logl): Likewise.
33792         * math/w_powl.c (__powl): Likewise.
33793         * math/w_remainderl.c (__remainderl): Likewise.
33794         * math/w_scalbl.c (sysv_scalbl): Likewise.
33795         * math/w_sinhl.c (__sinhl): Likewise.
33796         * math/w_sqrtl.c (__sqrtl): Likewise.
33797         * math/w_tgammal.c (__tgammal): Likewise.
33798         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33799         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33800         * math/libm-test.inc (acos_test): Add more tests.
33801         (acosh_test): Likewise.
33802         (asin_test): Likewise.
33803         (atanh_test): Likewise.
33804         (exp_test): Likewise.
33805         (exp10_test): Likewise.
33806         (exp2_test): Likewise.
33807         (expm1_test): Likewise.
33808         (lgamma_test): Likewise.
33809         (log_test): Likewise.
33810         (log10_test): Likewise.
33811         (log1p_test): Likewise.
33812         (log2_test): Likewise.
33813         (pow_test): Do not allow some spurious overflow exceptions.
33814         (sqrt_test): Add more tests.
33815         (tgamma_test): Likewise.
33816         (y0_test): Likewise.
33817         (y1_test): Likewise.
33818         (yn_test): Likewise.
33820 2012-03-27  Anton Blanchard  <anton@samba.org>
33822         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33823         MAP_HUGETLB.
33824         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33825         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33826         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33828 2012-03-27  David S. Miller  <davem@davemloft.net>
33830         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33832         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33833         have-as-vis3 check.
33835 2012-03-27  Andreas Jaeger  <aj@suse.de>
33837         * sysdeps/x86_64/elf/configure.in: Moved to ...
33838         * sysdeps/x86_64/configure.in: ... here.
33839         * sysdeps/x86_64/elf/start.S: Moved to ...
33840         * sysdeps/x86_64/start.S: ... here.
33841         * sysdeps/x86_64/elf/configure: Delete.
33843         * sysdeps/x86_64/configure.in: Merge contents from
33844         sysdeps/i386/configure.in (without i686 check).
33846         * sysdeps/i386/elf/Versions: Merge into ...
33847         * sysdeps/i386/Versions: ... this.
33848         * sysdeps/i386/elf/Versions: Delete file.
33849         * sysdeps/i386/elf/start.S: Moved to ...
33850         * sysdeps/i386/start.S: ...here.
33851         * sysdeps/i386/elf/configure.in: Merge into...
33852         * sysdeps/i386/configure.in: ...here.
33853         * sysdeps/i386/elf/configure.in: Delete file.
33854         * sysdeps/i386/elf/configure: Delete file.
33856         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33857         * debug/backtracesyms.c: ... here.
33858         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33859         * debug/backtracesymsfd.c: ... here.
33860         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33861         * sysdeps/generic/ifunc-sel.h: ... here.
33863         * sysdeps/unix/i386/start.c: Delete file.
33864         * sysdeps/unix/sparc/start.c: Delete file.
33865         * sysdeps/unix/start.c: Delete file.
33867         * sysdeps/sh/elf/configure.in: Moved to ...
33868         * sysdeps/sh/configure.in: ... here.
33869         * sysdeps/sh/elf/start.S: Moved to ...
33870         * sysdeps/sh/start.S: ... here.
33871         * sysdeps/sh/elf/configure: Delete file.
33873         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33874         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33875         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33876         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33877         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33878         * sysdeps/powerpc/powerpc64/start.S: here.
33879         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33880         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33881         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33882         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33883         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33885         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33886         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33887         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33888         * sysdeps/powerpc/powerpc32/start.S: ... here.
33889         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33890         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33891         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33893         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33894         * sysdeps/powerpc/ifunc-sel.h: ... here.
33895         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33896         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33898         * sysdeps/sparc/elf/configure.in: Moved to ...
33899         * sysdeps/sparc/configure.in: ... here.
33900         * sysdeps/sparc/elf/configure: Delete file.
33901         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33902         * sysdeps/sparc/sparc32/start.S: ... here.
33903         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33904         * sysdeps/sparc/sparc64/start.S: ... here.
33905         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33906         * sysdeps/sparc/sparc32/Makefile: ... this.
33907         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33908         * sysdeps/sparc/sparc64/Makefile: ... this.
33910         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33911         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33912         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33913         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33914         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33915         * sysdeps/s390/s390-32/setjmp.S: ... here.
33916         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33917         * sysdeps/s390/s390-32/configure.in: ... here.
33918         * sysdeps/s390/s390-32/elf/configure: Delete file.
33919         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33920         * sysdeps/s390/s390-32/start.S: ... here.
33922         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33923         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33924         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33925         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33926         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33927         * sysdeps/s390/s390-64/setjmp.S: ... here.
33928         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33929         * sysdeps/s390/s390-64/configure.in: ... here
33930         * sysdeps/s390/s390-64/elf/configure: Delete file.
33931         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33932         * sysdeps/s390/s390-64/start.S: ... here.
33933         * sysdeps/s390/s390-64/elf/configure: Delete.
33935         * configure.in: Remove support for elf directories in sysdeps.
33937         * configure: Regenerated.
33938         * sysdeps/i386/configure: Regenerated.
33939         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33940         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33941         * sysdeps/s390/s390-32/configure: Regenerated.
33942         * sysdeps/s390/s390-64/configure: Regenerated.
33943         * sysdeps/sh/configure: Regenerated.
33944         * sysdeps/sparc/configure: Regenerated.
33945         * sysdeps/x86_64/configure: Regenerated.
33947 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33951         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33952         denormal result into account.
33954 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33956         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33957         Reported by Allan McRae <allan@archlinux.org>.
33959 2012-03-23  Jeff Law  <law@redhat.com>
33961         * nss/getnssent.c (__nss_getent): Fix typo.
33963 2012-03-23  David S. Miller  <davem@davemloft.net>
33965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33967 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33969         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33970         to pad to uint64_t for each field.
33971         (dl_tls_index): Replace unsigned long with uint64_t.
33973 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33974         Paul Pluzhnikov  <ppluzhnikov@google.com>
33976         [BZ #6528]
33977         * grp/Makefile (otherlibs): Don't set it.
33978         * inet/Makefile (otherlibs): Likewise.
33979         * login/Makefile (otherlibs): Likewise.
33980         * nscd/Makefile (otherlibs): Likewise.
33981         * posix/Makefile (otherlibs): Likewise.
33982         * pwd/Makefile (otherlibs): Likewise.
33983         * rt/Makefile (otherlibs): Likewise.
33984         * sunrpc/Makefile (otherlibs): Likewise.
33985         * nss/Makefile (otherlibs): Likewise.
33986         Add libnss_files to routines and static-only-routines.
33987         ($(objpfx)getent): Remove rule.
33988         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33989         static-only-routines.
33991 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33993         [BZ #13892]
33994         * math/s_cexp.c: Include <float.h>.
33995         (__cexp): Handle exp result overflowing not necessarily
33996         overflowing both real and imaginary parts of result.
33997         * math/s_cexpf.c: Likewise.
33998         * math/s_cexpl.c: Likewise.
33999         * math/libm-test.inc (cexp_test): Add more tests.
34000         * sysdeps/i386/fpu/libm-test-ulps: Update.
34001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34003 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34005         * include/link.h (ELFW): New macro.
34006         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34007         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34009 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34011         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34012         with uint64_t.
34014 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34016         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34017         declaration.
34018         (struct La_x32_retval): Likewise.
34020 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34022         * sysdeps/x86_64/preconfigure.in: New file.
34023         * sysdeps/x86_64/preconfigure: New generated file.
34025 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34027         [BZ #13824]
34028         * math/e_exp2l.c: Include <float.h>.
34029         (__ieee754_exp2l): Handle overflow and underflow cases
34030         separately.  Only pass fractional part of argument to
34031         __ieee754_expl.
34032         * math/libm-test.inc (exp2_test): Add more tests.
34034         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34035         negating x to take absolute value.
34036         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34037         Likewise.
34038         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34039         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34040         Likewise.
34041         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34042         computing low part if x was negated.
34043         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34045 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34047         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34048         la_x32_gnu_pltexit.
34049         (pltexit): Cast int_retval to ptrdiff_t.
34050         * elf/tst-auditmod3b.c: Likewise.
34051         * elf/tst-auditmod4b.c: Likewise.
34052         * elf/tst-auditmod5b.c: Likewise.
34053         * elf/tst-auditmod6b.c: Likewise.
34054         * elf/tst-auditmod6c.c: Likewise.
34055         * elf/tst-auditmod7b.c: Likewise.
34057         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34058         and x32_gnu_pltexit.
34060         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34061         __ELF_NATIVE_CLASS.
34062         (La_x32_regs): New macro.
34063         (La_x32_retval): Likewise.
34064         (la_x32_gnu_pltenter): New function prototype.
34065         (la_x32_gnu_pltexit): Likewise.
34067 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34070         exponent.
34072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34074         * configure.in (libc_cv_cc_nofma): Check for option to disable
34075         generation of FMA instructions.
34076         * configure: Regenerate.
34077         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34078         * sysdeps/ieee754/dbl-64/Makefile: New file.
34079         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34080         Remove brandred-fma4.
34081         (CFLAGS-brandred-fma4.c): Remove.
34082         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34083         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34084         define.
34085         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34086         define.
34088 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34090         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34091         LLONG_MAX != LONG_MAX.
34092         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34093         (_fitoa_word): Likewise.
34094         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34095         LLONG_MAX != LONG_MAX.
34096         * stdio-common/_itowa.h: Include <_itoa.h>.
34097         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34098         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34099         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34100         only if not defined.
34101         (_ITOA_WORD_TYPE): Likewise.
34102         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34103         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34105 2012-03-21  David S. Miller  <davem@davemloft.net>
34107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34109 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34111         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34112         of x86_64 when setting libc_cv_slibdir, libdir and
34113         libc_cv_localedir.
34114         * sysdeps/unix/sysv/linux/configure: Regenerated.
34116 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34118         * manual/lang.texi (Old Varargs): Remove section.
34119         (How Variadic): Update menu.
34120         (va_start): Do not mention varargs.h.
34122 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34123             Joseph Myers  <joseph@codesourcery.com>
34125         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34126         link test.
34127         * configure: Regenerated.
34129 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34131         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34132         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34133         conformtest.pl
34135 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34137         * NOTES: Remove.
34138         * Makefile (files-for-dist): Remove NOTES.
34139         (NOTES): Remove rule.
34140         * README: Don't refer to NOTES.
34141         * manual/creature.texi: Don't include macros.texi.
34142         * manual/intro.texi (creature.texi): Remove comment referring to
34143         NOTES.
34145         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34146         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34147         * configure: Regenerated.
34148         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34149         LIBC_TRY_CC_OPTION.
34150         (libc_cv_as_i686): Likewise.
34151         (libc_cv_cc_avx): Likewise.
34152         (libc_cv_cc_sse2avx): Likewise.
34153         (libc_cv_cc_fma4): Likewise.
34154         (libc_cv_cc_novzeroupper): Likewise.
34155         * sysdeps/i386/configure: Regenerated.
34157         [BZ #13883]
34158         * sysdeps/i386/fpu/s_cexp.S: Remove.
34159         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34160         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34161         * math/libm-test.inc (cexp_test): Add more tests.
34162         * sysdeps/i386/fpu/libm-test-ulps: Update.
34163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34165 2012-03-21  Allan McRae  <allan@archlinux.org>
34167         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34169 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34171         [BZ #13871]
34172         * math/w_exp2.c: Do not include <float.h>.
34173         (o_threshold, u_threshold): Remove.
34174         (__exp2): Calculate result before checking finiteness and calling
34175         __kernel_standard.
34176         * math/w_exp2f.c: Likewise.
34177         * math/w_exp2l.c: Likewise.
34178         * math/libm-test.inc (exp2_test): Require overflow exception for
34179         1e6 input.
34181         [BZ #3866]
34182         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34183         range of signed 64-bit integers before using fistpll.  Remove
34184         checks for whether integers fit in mantissa bits.
34185         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34186         the range of signed 32-bit integers before using fistpl.  Remove
34187         checks for whether integers fit in mantissa bits.
34188         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34189         (__ieee754_powl): Test for y outside the range of signed 64-bit
34190         integers before using fistpll.  Reduce 64-bit values to 63-bit
34191         ones as needed.
34192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34193         divide-by-zero is raised for zero to large negative powers.
34194         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34195         (__ieee754_powl): Test for y outside the range of signed 64-bit
34196         integers before using fistpll.  Reduce 64-bit values to 63-bit
34197         ones as needed.
34198         * math/libm-test.inc (pow_test): Add more tests.
34200 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34202         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34203         <stdio-common/_itoa.h>.
34204         * debug/segfault.c: Likewise.
34205         * elf/dl-cache.c: Likewise.
34206         * elf/dl-minimal.c: Likewise.
34207         * elf/dl-misc.c: Likewise.
34208         * elf/dl-sysdep.c: Likewise.
34209         * elf/dl-version.c: Likewise.
34210         * elf/rtld.c: Likewise.
34211         * hurd/hurdsock.c: Likewise.
34212         * hurd/lookup-retry.c: Likewise.
34213         * malloc/malloc.c: Likewise.
34214         * malloc/mtrace.c: Likewise.
34215         * nscd/nscd_getgr_r.c: Likewise.
34216         * nscd/nscd_getpw_r.c: Likewise.
34217         * nscd/nscd_getserv_r.c: Likewise.
34218         * posix/getopt_init.c: Likewise.
34219         * posix/wordexp.c: Likewise.
34220         * stdio-common/_itoa.c: Likewise.
34221         * stdio-common/printf_fphex.c: Likewise.
34222         * stdio-common/vfprintf.c: Likewise.
34223         * string/_strerror.c: Likewise.
34224         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34225         * sysdeps/i386/i686/hp-timing.h: Likewise.
34226         * sysdeps/mach/_strerror.c: Likewise.
34227         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34228         * sysdeps/mach/hurd/sethostid.c: Likewise.
34229         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34230         * sysdeps/mach/xpg-strerror.c: Likewise.
34231         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34232         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34233         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34234         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34235         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34236         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34237         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34238         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34239         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34240         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34241         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34242         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34243         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34244         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34245         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34246         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34247         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34248         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34249         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34250         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34251         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34253         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34255         * stdio-common/_itoa.h: Moved to ...
34256         * sysdeps/generic/_itoa.h: Here.
34258         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34260         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34261         instead of "_itoa.h" and "_itowa.h".
34262         * stdio-common/vfprintf.: Likewise.
34264 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34266         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34267         <bits/wordsize.h>.
34268         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34269         (__signbit): Likwise.
34270         (llrintf): Likwise.
34271         (llrint): Likwise.
34273 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34275         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34276         __WORDSIZE != 64.
34278 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34280         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34281         OVERFLOW_EXCEPTION_OK.
34282         * math/libm-test.inc ("Philosophy"): Update comment about
34283         exception testing.
34284         (OVERFLOW_EXCEPTION): Define.
34285         (OVERFLOW_EXCEPTION_OK): Likewise.
34286         (INVALID_EXCEPTION_OK): Renumber.
34287         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34288         (IGNORE_ZERO_INF_SIGN): Likewise.
34289         (test_exceptions): Handle FE_OVERFLOW.
34290         (exp10_test): Expect overflow exceptions.
34291         (exp2_test): Likewise.
34292         (expm1_test): Likewise.
34293         (nextafter_test): Likewise.
34294         (pow_test): Likewise.
34295         (scalbn_test): Likewise.
34296         (scalbln_test): Likewise.
34298 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34300         * sysdeps/x86_64/bits/atomic.h
34301         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34302         64bit integer.
34303         (atomic_exchange_acq): Likewise.
34304         (__arch_exchange_and_add_body): Likewise.
34305         (__arch_add_body): Likewise.
34306         (atomic_add_negative): Likewise.
34307         (atomic_add_zero): Likewise.
34309 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34311         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34312         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34314 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34316         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34317         Check __x86_64__ instead of __WORDSIZE.
34319 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34321         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34323 2012-03-19  David S. Miller  <davem@davemloft.net>
34325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34327         * sysdeps/sparc/fpu/fenv_private.h: New file.
34328         * sysdeps/sparc/fpu/math_private.h: Use it.
34329         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34330         Remove.
34331         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34332         (libc_feholdexcept_setroundl): Remove.
34333         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34334         Remove.
34335         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34336         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34338 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34340         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34341         int64_t instead of long int.
34342         (INSERT_WORDS64): Likwise.
34344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34346         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34347         _Unwind_GetCFA return to _Unwind_Ptr first.
34349 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34351         [BZ #13629]
34352         * math/s_clog.c: Include <float.h>.
34353         (__clog): Scale large or subnormal inputs.
34354         * math/s_clogf.c: Likewise.
34355         * math/s_clogl.c: Likewise.
34356         * math/s_clog10.c: Include <float.h>.
34357         (M_LOG10_2): Define.
34358         (__clog10): Scale large or subnormal inputs.
34359         * math/s_clog10f.c: Likewise.
34360         * math/s_clog10l.c: Likewise.
34361         * math/libm-test.inc (clog_test): Add more tests.
34362         (clog10_test): Likewise.
34363         * sysdeps/i386/fpu/libm-test-ulps: Update.
34364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34366         [BZ #11451]
34367         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34368         x and y.
34369         * math/libm-test.inc (atan2_test): Add another test.
34371         * Makerules (common-objdir-compile): Remove.
34372         * sysdeps/unix/Makefile (config-generated): Do not add
34373         $(unix-generated) to variable.
34374         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34375         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34376         Remove rule.
34377         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34378         Likewise.
34379         [generic bits/local_lim.h] (before-compile): Do not append to
34380         variable.
34381         [generic bits/local_lim.h] (common-generated): Likewise.
34382         [generic sys/param.h] (before-compile): Do not append to variable.
34383         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34384         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34385         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34386         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34387         include.
34388         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34389         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34390         [generic sys/param.h] ($(addprefix
34391         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34392         [generic sys/param.h] (common-generated): Do not append to
34393         variable.
34394         [generic sys/param.h] (sysdep_headers): Likewise.
34395         [generic bits/errno.h] (before-compile): Do not append to
34396         variable.
34397         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34398         rule.
34399         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34400         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34401         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34402         [generic bits/errno.h] (common-generated): Do not append to
34403         variable.
34404         [generic bits/ioctls.h] (before-compile): Do not append to
34405         variable.
34406         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34407         rule.
34408         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34409         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34410         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34411         rule.
34412         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34413         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34414         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34415         [generic bits/ioctls.h] (common-generated): Do not append to
34416         variable.
34417         [generic sys/syscall.h] (syscall.h): Remove variable.
34418         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34419         rule.
34420         [generic sys/syscall.h] (before-compile): Do not append to
34421         variable.
34422         [generic sys/syscall.h] (common-generated): Likewise.
34423         * sysdeps/unix/errnos-tmpl.c: Remove file.
34424         * sysdeps/unix/errnos.awk: Likewise.
34425         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34426         * sysdeps/unix/ioctls.awk: Likewise.
34427         * sysdeps/unix/mk-local_lim.c: Likewise.
34428         * sysdeps/unix/snarf-ioctls: Likewise.
34430 2012-03-19  Richard Henderson  <rth@twiddle.net>
34432         * sysdeps/i386/fpu/fenv_private.h: New file.
34433         * sysdeps/i386/fpu/math_private.h: Use it.
34434         (math_opt_barrier, math_force_eval): Remove.
34435         (libc_feholdexcept_setround_53bit): Remove.
34436         (libc_feupdateenv_53bit): Remove.
34437         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34438         (math_opt_barrier, math_force_eval): Remove.
34439         (libc_feholdexcept): Remove.
34440         (libc_feholdexcept_setround): Remove.
34441         (libc_fetestexcept, libc_fesetenv): Remove.
34442         (libc_feupdateenv_test): Remove.
34443         (libc_feupdateenv, libc_feholdsetround): Remove.
34444         (libc_feresetround): Remove.
34446         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34447         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34449         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34450         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34451         (libc_feupdateenv_testl): New.
34452         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34453         (libc_feupdateenv_testf): New.
34454         (libc_feupdateenv): Use libc_feupdateenv_test.
34455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34456         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34458         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34459         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34460         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34461         (libc_feresetround_noex): New.
34462         (libc_feresetround_noexf): New.
34463         (libc_feresetround_noexl): New.
34464         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34465         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34466         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34467         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34468         SET_RESTORE_ROUND.
34469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34470         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34471         (__cos): Likewise.
34472         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34473         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34474         SET_RESTORE_ROUND_NOEX.
34475         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34476         SET_RESTORE_ROUND_NOEXF.
34477         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34478         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34479         (libc_feholdsetroundf): New.
34480         (libc_feresetround, libc_feresetroundf): New.
34482         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34483         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34484         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34486         * sysdeps/generic/math_private.h: Include <fenv.h>.
34487         (default_libc_feholdexcept): New.
34488         (default_libc_feholdexcept_setround): New.
34489         (default_libc_fesetenv, default_libc_feupdateenv): New.
34490         (libc_feholdexcept): Only define if undefined.
34491         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34492         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34493         (libc_feholdexcept_setroundl): Likewise.
34494         (libc_feholdexcept_setround_53bit): Likewise.
34495         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34496         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34497         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34498         (libc_feupdateenv_53bit): Likewise.
34499         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34500         (libc_feholdexcept): Convert from macro to inline function.
34501         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34502         (libc_fesetenv, libc_feupdateenv): Likewise.
34504         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34505         not previously defined.
34506         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34507         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34508         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34509         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34510         * sysdeps/ieee754/flt-32/math_private.h: New file.
34511         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34512         math_private.h below SET_FLOAT_WORD.
34513         (__isnan, __isinf_ns, __finite): Remove.
34514         (__isnanf, __isinf_nsf, __finitef): Remove.
34516 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34520 2012-03-17  David S. Miller  <davem@davemloft.net>
34522         [BZ #6471]
34523         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34524         for 2.16.
34526 2012-03-16  David S. Miller  <davem@davemloft.net>
34528         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34529         warnings.
34531         [BZ #6471]
34532         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34533         properly.
34534         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34535         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34536         sysdep_routines when subdir is sysvipc.
34537         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34538         __getshmlba helper.
34540         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34542 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34544         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34545         [__LP64__].
34547 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34549         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34550         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34551         (__lround): Renamed to ...
34552         (__llround): This.  Replace long int with long long int.
34553         Define lround functions as aliases of llround functions.
34554         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34556 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34558         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34559         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34560         adresses to uintptr_t.  Replace "long int" and "unsigned long
34561         int" with "greg_t" on va_arg.
34563 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34565         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34566         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34568         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34569         Move e_machine check before EI_CLASS check.  Handle x32
34570         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34571         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34572         SKIP_EM_IA_64 and include
34573         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34575         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34576         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34577         (add_system_dir): New macro.
34579         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34580         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34582 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34584         [BZ #2551]
34585         [BZ #2552]
34586         [BZ #2553]
34587         [BZ #2554]
34588         [BZ #2562]
34589         [BZ #2563]
34590         [BZ #2565]
34591         [BZ #2566]
34592         [BZ #2576]
34593         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34594         (y0): Likewise.
34595         * math/w_j0f.c (j0f): Likewise.
34596         (y0f): Likewise.
34597         * math/w_j0l.c (__j0l): Likewise.
34598         (__y0l): Likewise.
34599         * math/w_j1.c (j1): Likewise.
34600         (y1): Likewise.
34601         * math/w_j1f.c (j1f): Likewise.
34602         (y1f): Likewise.
34603         * math/w_j1l.c (__j1l): Likewise.
34604         (__y1l): Likewise.
34605         * math/w_jn.c (jn): Likewise.
34606         (yn): Likewise.
34607         * math/w_jnf.c (jnf): Likewise.
34608         (ynf): Likewise.
34609         * math/w_jnl.c (__jnl): Likewise.
34610         (__ynl): Likewise.
34611         * math/libm-test.inc (j0_test): Add more tests.
34612         (j1_test): Likewise.
34613         (jn_test): Likewise.  Add trailing semicolon to existing test.
34614         (y0_test): Likewise.
34615         (y1_test): Likewise.
34616         * sysdeps/i386/fpu/libm-test-ulps: Update.
34617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34619         [BZ #13851]
34620         [BZ #13854]
34621         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34622         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34623         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34624         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34625         (__tanl): Set errno for infinite argument.
34626         * sysdeps/i386/fpu/mptan.c: Remove.
34627         * sysdeps/i386/fpu/s_tan.S: Likewise.
34628         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34629         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34630         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34631         * math/libm-test.inc (tan_test): Add more tests and enable more
34632         tests for double and long double.
34633         * sysdeps/i386/fpu/libm-test-ulps: Update.
34634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34636 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34638         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34639         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34641 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34643         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34644         * configure.in: Use it for both main tree and add-ons.
34645         * configure: Regenerated.
34647 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34649         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34651 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34653         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34654         in comment.
34656         [BZ #13851]
34657         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34658         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34659         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34660         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34661         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34662         infinite argument.
34663         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34664         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34665         != 0 for prec == 2.
34666         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34667         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34668         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34669         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34670         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34671         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34672         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34673         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34674         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34675         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34676         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34677         * math/libm-test.inc (cos_test): Add more tests and enable more
34678         tests for long double.
34679         (sin_test): Likewise.
34680         (sincos_test): Likewise.
34681         * sysdeps/i386/fpu/libm-test-ulps: Update.
34682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34684 2012-03-16  David S. Miller  <davem@davemloft.net>
34686         * sysdeps/sparc/fpu/math_private.h: New file.
34688 2012-03-15  David S. Miller  <davem@davemloft.net>
34690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34691         file.
34692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34694         file.
34695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34700         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34701         sysdep routines.
34702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34704         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34705         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34707         * sysdeps/sparc/sparc-ifunc.h: New file.
34708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34709         sparc-ifunc.h
34710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34712         Likewise.
34713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34714         Likewise.
34715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34719         Likewise.
34720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34725         Likewise.
34726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34727         Likewise.
34728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34734         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34735         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34736         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34746         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34747         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34748         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34749         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34750         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34751         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34753 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34755         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34756         scaling.
34757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34759 2012-03-15  Andreas Jaeger  <aj@suse.de>
34761         [BZ #13852]
34762         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34763         ieee754/flt-32 implementation for sin, cos and sincos.
34764         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34765         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34766         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34767         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34768         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34769         ieee754/flt-32 implementation for tan.
34771         * math/libm-test.inc (cos_test): Enable some large input tests for
34772         float as well
34773         (sin_test): Likewise.
34774         (sincos_test): Likewise.
34775         (tan_test): Add tests for large input.
34777         * sysdeps/i386/fpu/libm-test-ulps: Update.
34779 2012-03-15  Andreas Jaeger  <aj@suse.de>
34781         [BZ #13658]
34782         * math/libm-test.inc (cos_test): Add more test cases.
34783         (sin_test): Likewise.
34784         (sincos_test): Likewise.
34786 2012-03-15  Andreas Jaeger  <aj@suse.de>
34788         [BZ #13837]
34789         * math/libm-test.inc (cos_test): Add a test case for large input
34790         value.
34791         (sin_test): Likewise.
34792         (sincos_test): Likewise.
34794 2012-03-15  Andreas Jaeger  <aj@suse.de>
34795             Joseph Myers  <joseph@codesourcery.com>
34797         [BZ #13658]
34798         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34799         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34800         * sysdeps/i386/fpu/branred.c: Likewise.
34801         * sysdeps/i386/fpu/dosincos.c: Likewise.
34802         * sysdeps/i386/fpu/mpa.c: Likewise.
34803         * sysdeps/i386/fpu/s_cos.S: Likewise.
34804         * sysdeps/i386/fpu/s_sin.S: Likewise.
34805         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34806         * sysdeps/i386/fpu/sincos32.c: Likewise.
34808         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34809         Define.
34810         (libc_feupdateenv_53bit): Define.
34811         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34812         Define.
34813         (libc_feupdateenv_53bit): Define.
34815         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34816         53 bit (without extend i386 double precision).
34818         * math/libm-test.inc (sincos_test): Add tests for large input.
34819         (sin): Likewise.
34820         (cos): Likewise.
34822         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34824 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34828 2012-03-15  David S. Miller  <davem@davemloft.net>
34830         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34831         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34832         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34833         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34838         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34839         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34840         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34841         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34842         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34846         file.
34847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34849         file.
34850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34852         file.
34853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34855         file.
34856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34857         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34858         fmin/fmax sysdep routines.
34859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34861 2012-03-14  David S. Miller  <davem@davemloft.net>
34863         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34867         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34868         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34870         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34873         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34875         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34876         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34883         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34884         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34885         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34886         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34887         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34888         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34889         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34890         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34891         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34892         routines.
34893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34894         file.
34895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34897         file.
34898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34900         file.
34901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34903         file.
34904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34906         file.
34907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34909         file.
34910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34911         file.
34912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34913         file.
34914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34915         file.
34916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34917         New file.
34918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34919         file.
34920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34921         file.
34922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34924         file.
34925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34927         file.
34928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34930         file.
34931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34933         VIS3 routines.
34935         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34936         New file.
34938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34940         * sysdeps/sparc/configure.in: New file.
34941         * sysdeps/sparc/configure: Generate.
34942         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34943         * configure: Regenerate.
34944         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34945         * config.make.in (have-as-vis3): New.
34946         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34947         available use -Av9d instead of -Av9a.
34948         * sysdeps/sparc/sparc64/Makefile: Likewise.
34949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34951         New file.
34952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34953         file.
34954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34955         New file.
34956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34957         file.
34958         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34959         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34960         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34961         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34962         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34964         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34965         fzeros/fnegs to load 0x80000000 into a float register instead of
34966         using the stack.
34967         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34969 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34972         bits/syscall.h.
34973         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34974         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34975         ($(inst_includedir)/bits/syscall.h): Remove rule.
34976         ($(objpfx)bits/syscall.d): Include instead of
34977         $(objpfx)syscall-list.d.
34978         (generated): Change syscall-list.h and syscall-list.d to
34979         bits/syscall.h and bits/syscall.d.
34981 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34983         [BZ #13846]
34984         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34986 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34988         [BZ #13841]
34989         * math/s_csqrt.c: Include <float.h>.
34990         (__csqrt): Scale large or subnormal inputs.
34991         * math/s_csqrtf.c: Likewise.
34992         * math/s_csqrtl.c: Likewise.
34993         * math/libm-test.inc (csqrt_test): Add more tests.
34994         * sysdeps/i386/fpu/libm-test-ulps: Update.
34995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34997         [BZ #13840]
34998         * math/libm-test.inc (hypot_test): Add more tests.
35000 2012-03-13  David S. Miller  <davem@davemloft.net>
35002         [BZ #13840]
35003         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35004         double-precision for the calculation instead of scaling.
35006 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35008         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35009         manipulate bits before adding and subtracting TWO52[sx].
35010         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35011         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35012         Likewise.
35013         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35015 2012-03-13  David S. Miller  <davem@davemloft.net>
35017         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35018         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35020         rtld-global-offsets.h
35021         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35023         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35024         large parameters.
35026         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35028         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35029         'err' in the ifdef scope in which it is actually used.
35031         * nss/nss_db/db-init.c: Include string.h
35033 2012-03-12  David S. Miller  <davem@davemloft.net>
35035         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35036         masking out of the most significant byte of random value used.
35037         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35038         Fix coding style in previous change.
35040         * sysdeps/unix/sysv/linux/kernel-features.h
35041         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35042         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35043         expression.
35044         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35045         later.
35047 2012-03-11  David S. Miller  <davem@davemloft.net>
35049         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35050         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35051         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35052         for 'resultvar' otherwise things get truncated on 64-bit.
35054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35055         Fix masking out of the most significant byte of random value used.
35057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35059 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35063 2012-03-09  David S. Miller  <davem@davemloft.net>
35065         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35066         variables with appropriate CPP guards.
35067         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35068         from the frame pointer, not the stack pointer.  Correct layout
35069         comments.  Fix test on resulting framesize and the management of
35070         the outregs buffer for pltexit.  Preserve floating point return
35071         values across _dl_call_pltexit call.
35072         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35073         framesize and the management of the outregs buffer for pltexit.
35074         Preserve floating point return values across _dl_call_pltexit
35075         call.
35076         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35077         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35078         (la_sparc64_gnu_pltexit): New functions.
35079         (print_exit): Fix format string for return register value.
35081 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35083         * sunrpc/Makefile (others): Add rpcgen.
35084         ($(objpfx)rpcgen): Remove special build rule and dependency on
35085         libc.
35086         * sunrpc/rpcgen.c: New file.
35088 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35090         [BZ #13673]
35091         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35092         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35093         * sysdeps/i386/crti.S: Likewise.
35094         * sysdeps/i386/crtn.S: Likewise.
35095         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35096         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35097         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35098         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35099         * sysdeps/sh/crti.S: Likewise.
35100         * sysdeps/sh/crtn.S: Likewise.
35101         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35103         [BZ #13673]
35104         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35105         with URL.
35106         * locale/programs/locfile-kw.gperf: Likewise.
35107         * locale/programs/charmap-kw.h: Regenerated.
35108         * locale/programs/locfile-kw.h: Likewise.
35110         [BZ #13673]
35111         * intl/plural.y: Replace FSF snail mail address with URL.
35112         * intl/plural.c: Regenerated.
35114 2012-03-09  Richard Henderson  <rth@twiddle.net>
35116         * include/math_private.h: Remove file.
35117         * math/math_private.h: Move file ...
35118         * sysdeps/generic/math_private.h: ... here.
35120         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35121         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35122         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35124         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35125         and <math_private.h>.
35126         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35127         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35128         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35129         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35130         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35131         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35132         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35133         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35134         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35135         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35136         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35137         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35138         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35139         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35140         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35141         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35142         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35143         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35144         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35145         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35146         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35147         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35148         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35150         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35151         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35152         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35153         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35154         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35156         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35157         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35158         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35159         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35160         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35161         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35162         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35163         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35164         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35165         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35166         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35167         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35168         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35169         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35170         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35171         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35172         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35173         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35174         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35175         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35176         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35177         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35178         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35179         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35180         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35181         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35182         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35183         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35184         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35185         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35187         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35188         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35189         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35190         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35191         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35192         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35193         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35194         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35195         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35196         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35197         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35198         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35199         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35200         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35201         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35202         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35203         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35204         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35205         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35206         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35207         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35208         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35209         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35210         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35212         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35213         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35214         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35215         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35216         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35217         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35218         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35219         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35220         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35221         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35222         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35223         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35224         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35225         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35226         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35227         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35228         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35229         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35230         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35231         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35232         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35233         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35234         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35235         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35236         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35237         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35238         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35240         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35241         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35242         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35243         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35244         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35245         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35246         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35247         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35248         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35249         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35250         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35251         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35252         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35253         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35254         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35255         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35256         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35257         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35258         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35259         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35260         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35261         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35262         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35263         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35264         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35265         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35266         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35267         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35268         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35269         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35270         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35271         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35272         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35273         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35274         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35275         * sysdeps/ieee754/k_standard.c: Likewise.
35276         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35277         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35278         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35279         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35280         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35281         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35282         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35283         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35284         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35285         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35286         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35287         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35288         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35289         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35290         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35291         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35292         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35293         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35294         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35295         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35296         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35297         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35298         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35299         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35300         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35301         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35302         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35303         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35304         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35305         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35306         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35307         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35308         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35309         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35310         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35311         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35312         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35313         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35314         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35315         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35316         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35317         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35318         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35319         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35320         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35321         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35322         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35324         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35325         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35326         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35327         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35328         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35329         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35332         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35333         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35334         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35335         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35336         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35337         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35338         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35339         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35340         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35342         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35343         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35345         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35346         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35347         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35348         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35349         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35350         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35352         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35353         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35354         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35355         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35356         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35357         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35358         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35359         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35360         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35361         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35362         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35363         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35364         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35365         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35366         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35367         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35368         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35369         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35371         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35372         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35373         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35374         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35375         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35376         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35377         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35378         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35379         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35380         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35381         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35382         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35383         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35384         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35385         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35386         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35387         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35388         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35389         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35390         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35391         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35392         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35393         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35394         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35395         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35396         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35397         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35398         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35399         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35400         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35401         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35402         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35403         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35404         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35405         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35406         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35407         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35408         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35409         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35410         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35411         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35412         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35413         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35414         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35415         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35416         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35417         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35418         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35419         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35420         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35421         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35422         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35425         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35426         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35427         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35428         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35429         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35430         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35431         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35432         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35433         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35434         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35435         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35436         * sysdeps/ieee754/s_lib_version.c: Likewise.
35437         * sysdeps/ieee754/s_matherr.c: Likewise.
35438         * sysdeps/ieee754/s_signgam.c: Likewise.
35439         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35440         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35441         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35442         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35443         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35444         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35445         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35446         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35447         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35448         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35449         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35450         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35451         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35452         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35453         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35454         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35455         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35456         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35457         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35458         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35459         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35461 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35463         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35464         * sunrpc/rpc_main.c: Likewise.
35465         * sunrpc/rpc_svcout.c: Likewise.
35467 2012-03-09  David S. Miller  <davem@davemloft.net>
35469         * include/math_private.h: New file.
35471 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35473         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35474         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35475         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35476         from <bits/socket_type.h>.
35477         (enum __socket_type): Don't define here.
35478         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35480         bits/socket_type.h.
35482         [BZ #13566]
35483         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35484         checking __USE_GNU.
35486         * Makerules ($(inst_includedir)/%.h): New rule.
35487         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35488         (install-others): Remove variable setting.
35489         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35491 2012-03-08  Richard Henderson  <rth@twiddle.net>
35493         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35494         from macro to inline function; merge with the
35495         !__LIBC_INTERNAL_MATH_INLINES version.
35496         (__ieee754_sqrtf): Likewise.
35498         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35499         to inline function.
35500         (__rintf, __floor, __floorf): Likewise.
35502         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35503         macro to inline function.
35504         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35506         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35507         not <math/math_private.h>.
35509 2012-03-08  David S. Miller  <davem@davemloft.net>
35511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35512         copyright year.
35513         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35515 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35517         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35518         normalization.
35519         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35520         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35522 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35524         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35525         be defined individually, they must be defined as a block.  Define
35526         S for printing a string instead of hidint the different by using a
35527         macro for adding the 'l'.
35528         * stdio-common/tst-fphex-wide.c: Adjust.
35530 2012-03-07  Marek Polacek  <polacek@redhat.com>
35532         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35534 2012-03-08  Marek Polacek  <polacek@redhat.com>
35536         [BZ #13806]
35537         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35538         * stdio-common/tst-fphex.c: Define a few macros to make the
35539         test reusable.  Use them.
35540         * stdio-common/tst-fphex-wide.c: New file.
35542 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35544         [BZ #6911]
35545         * manual/macros.texi (gnusystems): New macro.
35546         (nongnusystems): Likewise.
35547         (gnulinuxhurdsystems): Likewise.
35548         (gnuhurdsystems): Likewise..
35549         (gnulinuxsystems): Likewise.
35550         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35551         variants of the GNU system, not "GNU system".
35552         * manual/conf.texi: Likewise.
35553         * manual/errno.texi: Likewise.  Update example of errno macro
35554         expansion.
35555         * manual/filesys.texi: Likewise.
35556         (getumask): Document as specific to GNU/Hurd.
35557         * manual/install.texi: Likewise.  Reword some references to
35558         GNU/Linux.
35559         * manual/intro.texi: Likewise.
35560         * manual/io.texi: Likewise.
35561         (File Name Portability): Detail which constraints are inapplicable
35562         to all GNU systems and which are only inapplicable to GNU/Hurd.
35563         * manual/job.texi: Likewise.
35564         * manual/llio.texi: Likewise.
35565         (O_NOCTTY): Document as present on GNU/Linux.
35566         * manual/maint.texi: Likewise.
35567         * manual/memory.texi: Likewise.
35568         * manual/pattern.texi: Likewise.
35569         * manual/pipe.texi: Likewise.
35570         * manual/process.texi: Likewise.
35571         * manual/resource.texi: Likewise.
35572         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35573         child on GNU/Hurd.
35574         * manual/setjmp.texi: Likewise.
35575         * manual/signal.texi: Likewise.
35576         * manual/startup.texi: Likewise.
35577         * manual/stdio.texi: Likewise.
35578         * manual/terminal.texi: Likewise.
35579         (ONLCR): Document as POSIX.
35580         (OXTABS): Document availability on GNU/Linux as XTABS.
35581         (ONOEOT): Document availability separately from other bits.
35582         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35583         * manual/time.texi: Likewise.
35584         * manual/users.texi: Likewise.
35585         * INSTALL: Regenerated.
35586         * sysdeps/gnu/errlist.c: Regenerated.
35588         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35589         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35590         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35591         puts.
35592         * configure: Regenerated.
35594 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35596         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35597         default includes instead of AC_HEADER_CHECK.
35598         * sysdeps/i386/configure: Regenerated.
35600         [BZ #10716]
35601         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35602         * math/s_cacoshf.c (__cacoshf): Likewise.
35603         * math/s_cacoshl.c (__cacoshl): Likewise.
35604         * math/s_casinh.c (__casinh): Set signs of result from argument.
35605         * math/s_casinhf.c (__casinhf): Likewise.
35606         * math/s_casinhl.c (__casinhl): Likewise.
35607         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35608         (casinh_test): Add more tests.
35609         * sysdeps/i386/fpu/libm-test-ulps: Update.
35610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35612 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35614         * po/zh_TW.po: Update from translation team.
35616         * login/Makefile (distribute): Remove variable.
35617         * catgets/Makefile: Likewise.
35618         * mach/Makefile: Likewise.
35619         * malloc/Makefile: Likewise.
35620         * misc/Makefile: Likewise.
35621         * iconv/Makefile: Likewise.
35622         * nscd/Makefile: Likewise.
35623         * hurd/Makefile: Likewise.
35624         * manual/Makefile: Likewise.
35625         * locale/Makefile: Likewise.
35626         * intl/Makefile: Likewise.
35627         * conform/Makefile: Likewise.
35628         * nss/Makefile: Likewise.
35629         * time/Makefile: Likewise.
35630         * soft-fp/Makefile: Likewise.
35631         * dirent/Makefile: Likewise.
35632         * gmon/Makefile: Likewise.
35633         * po/Makefile: Likewise.
35634         * rt/Makefile: Likewise.
35635         * socket/Makefile: Likewise.
35636         * math/Makefile: Likewise.
35637         * signal/Makefile: Likewise.
35638         * debug/Makefile: Likewise.
35639         * elf/Makefile: Likewise.
35640         * timezone/Makefile: Likewise.
35641         * stdlib/Makefile: Likewise.
35642         * iconvdata/Makefile: Likewise.
35643         * sunrpc/Makefile: Likewise.
35644         * io/Makefile: Likewise.
35645         * argp/Makefile: Likewise.
35646         * inet/Makefile: Likewise.
35647         * hesiod/Makefile: Likewise.
35648         * grp/Makefile: Likewise.
35649         * csu/Makefile: Likewise.
35650         * wctype/Makefile: Likewise.
35651         * crypt/Makefile: Likewise.
35652         * libio/Makefile: Likewise.
35653         * string/Makefile: Likewise.
35654         * nis/Makefile: Likewise.
35655         * resolv/Makefile: Likewise.
35656         * stdio-common/Makefile: Likewise.
35657         * wcsmbs/Makefile: Likewise.
35658         * dlfcn/Makefile: Likewise.
35659         * posix/Makefile: Likewise.
35661         [BZ #6959]
35662         * timezone/Makefile: Don't install timezone files, just the programs
35663         and scripts.
35665 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35667         * nss/databases.def: Add missing gshadow entry.
35669         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35671 2012-03-06  Marek Polacek  <polacek@redhat.com>
35673         [BZ #13726]
35674         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35675         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35676         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35677         * stdio-common/tst-long-dbl-fphex.c: New file.
35679 2012-03-06  David S. Miller  <davem@davemloft.net>
35681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35682         (set_obp_int): New function.
35683         (get_obp_int): New function.
35684         (__get_clockfreq_via_dev_openprom): Likewise.
35685         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35686         Avoid unused variable warnings on 'val' and use builtin_expect.
35687         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35688         __builtin_expect.
35689         (INLINE_CLONE_SYSCALL): Likewise.
35691 2012-03-05  David S. Miller  <davem@davemloft.net>
35693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35695 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
35697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35699         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35700         only for |x| >= 40.
35701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35703 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35705         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35706         Replace gettimeofday with __vdso_gettimeofday.
35708         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35709         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35710         __vdso_clock_gettime and __vdso_getcpu.
35712         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35713         time with __vdso_time.
35715 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35717         * manual/lang.texi (size_t): Note types to which size_t may be
35718         equivalent with the GNU C Library, but do not describe when
35719         differences between them are significant.
35721 2012-03-05  Andreas Jaeger  <aj@suse.de>
35723         * sysdeps/i386/fpu/libm-test-ulps: Update.
35725 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35727         [BZ #3976]
35728         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35729         (__ieee754_pow): Save and restore rounding mode and use
35730         round-to-nearest for main computations.
35731         * math/libm-test.inc (pow_test_tonearest): New function.
35732         (pow_test_towardzero): Likewise.
35733         (pow_test_downward): Likewise.
35734         (pow_test_upward): Likewise.
35735         (main): Call the new functions.
35736         * sysdeps/i386/fpu/libm-test-ulps: Update.
35737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35739         [BZ #3976]
35740         * math/libm-test.inc (cosh_test_tonearest): New function.
35741         (cosh_test_towardzero): Likewise.
35742         (cosh_test_downward): Likewise.
35743         (cosh_test_upward): Likewise.
35744         (sinh_test_tonearest): Likewise.
35745         (sinh_test_towardzero): Likewise.
35746         (sinh_test_downward): Likewise.
35747         (sinh_test_upward): Likewise.
35748         (main): Call the new functions.
35749         * sysdeps/i386/fpu/libm-test-ulps: Update.
35750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35752 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35754         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35755         default stack guard is set in last bytes.
35756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35758 2012-03-05  Kees Cook  <keescook@chromium.org>
35760         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35762         [BZ #13656]
35763         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35764         possibly allocate from heap instead of stack.
35765         * stdio-common/bug-vfprintf-nargs.c: New file.
35766         * stdio-common/Makefile (tests): Add nargs overflow test.
35768 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35772 2012-03-03  Marek Polacek  <polacek@redhat.com>
35774         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35775         * math/math_private.h: Likewise.
35776         * stdlib/tst-strtod.c: Likewise.
35777         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35778         * sysdeps/x86_64/bits/atomic.h: Likewise.
35780 2012-03-02  David S. Miller  <davem@davemloft.net>
35782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35786         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35787         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35788         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35789         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35791 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35793         [BZ #13792]
35794         * manual/examples/README: New file, says the example source files
35795         can be used under GPL>=2.
35796         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35797         line containing just "*/".
35798         * manual/examples/add.c: Add copyright header (GPL>=2).
35799         * manual/examples/argp-ex1.c: Likewise.
35800         * manual/examples/argp-ex2.c: Likewise.
35801         * manual/examples/argp-ex3.c: Likewise.
35802         * manual/examples/argp-ex4.c: Likewise.
35803         * manual/examples/atexit.c: Likewise.
35804         * manual/examples/db.c: Likewise.
35805         * manual/examples/dir.c: Likewise.
35806         * manual/examples/dir2.c: Likewise.
35807         * manual/examples/execinfo.c: Likewise.
35808         * manual/examples/filecli.c: Likewise.
35809         * manual/examples/filesrv.c: Likewise.
35810         * manual/examples/fmtmsgexpl.c: Likewise.
35811         * manual/examples/genpass.c: Likewise.
35812         * manual/examples/inetcli.c: Likewise.
35813         * manual/examples/inetsrv.c: Likewise.
35814         * manual/examples/isockad.c: Likewise.
35815         * manual/examples/longopt.c: Likewise.
35816         * manual/examples/memopen.c: Likewise.
35817         * manual/examples/memstrm.c: Likewise.
35818         * manual/examples/mkfsock.c: Likewise.
35819         * manual/examples/mkisock.c: Likewise.
35820         * manual/examples/mygetpass.c: Likewise.
35821         * manual/examples/pipe.c: Likewise.
35822         * manual/examples/popen.c: Likewise.
35823         * manual/examples/rprintf.c: Likewise.
35824         * manual/examples/search.c: Likewise.
35825         * manual/examples/select.c: Likewise.
35826         * manual/examples/setjmp.c: Likewise.
35827         * manual/examples/sigh1.c: Likewise.
35828         * manual/examples/sigusr.c: Likewise.
35829         * manual/examples/stpcpy.c: Likewise.
35830         * manual/examples/strdupa.c: Likewise.
35831         * manual/examples/strftim.c: Likewise.
35832         * manual/examples/strncat.c: Likewise.
35833         * manual/examples/subopt.c: Likewise.
35834         * manual/examples/swapcontext.c: Likewise.
35835         * manual/examples/termios.c: Likewise.
35836         * manual/examples/testopt.c: Likewise.
35837         * manual/examples/testpass.c: Likewise.
35838         * manual/examples/timeval_subtract.c: Likewise.
35840         [BZ #13792]
35841         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35842         function to ...
35843         * manual/timeval_subtract.c.texi: ... here, new file.
35845 2012-03-02  David S. Miller  <davem@davemloft.net>
35847         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35849 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35851         [BZ #3976]
35852         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35853         (__sin): Save and restore rounding mode and use round-to-nearest
35854         for all computations.
35855         (__cos): Save and restore rounding mode and use round-to-nearest
35856         for all computations.
35857         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35858         <fenv.h>.
35859         (tan): Save and restore rounding mode and use round-to-nearest for
35860         all computations.
35861         * math/libm-test.inc (cos_test_tonearest): New function.
35862         (cos_test_towardzero): Likewise.
35863         (cos_test_downward): Likewise.
35864         (cos_test_upward): Likewise.
35865         (sin_test_tonearest): Likewise.
35866         (sin_test_towardzero): Likewise.
35867         (sin_test_downward): Likewise.
35868         (sin_test_upward): Likewise.
35869         (tan_test_tonearest): Likewise.
35870         (tan_test_towardzero): Likewise.
35871         (tan_test_downward): Likewise.
35872         (tan_test_upward): Likewise.
35873         (main): Call the new functions.
35874         * sysdeps/i386/fpu/libm-test-ulps: Update.
35875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35877         [BZ #10135]
35878         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35879         small n, then large n, before computing and testing k+n.
35880         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35881         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35882         Likewise.
35883         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35884         Likewise.
35885         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35886         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35887         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35888         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35889         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35890         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35891         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35892         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35893         * math/libm-test.inc (scalbn_test): Add more tests.
35894         (scalbln_test): Likewise.
35896         * manual/filesys.texi (mode_t): Describe constraints on size and
35897         signedness, not exact equivalence to a particular type.
35898         (ino_t): Likewise.
35899         (ino64_t): Likewise.
35900         (dev_t): Likewise.
35901         (nlink_t): Likewise.
35902         (blkcnt_t): Likewise.
35903         (blkcnt64_t): Likewise.
35904         * manual/llio.texi (off_t): Likewise.
35906         [BZ #3976]
35907         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35908         (__ieee754_exp): Save and restore rounding mode and use
35909         round-to-nearest for all computations.
35910         * math/libm-test.inc (exp_test_tonearest): New function.
35911         (exp_test_towardzero): Likewise.
35912         (exp_test_downward): Likewise.
35913         (exp_test_upward): Likewise.
35914         (main): Call the new functions.
35915         * sysdeps/i386/fpu/libm-test-ulps: Update.
35916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35918 2012-03-01  Chris Demetriou  <cgd@google.com>
35920         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35921         have predictable order.
35923 2012-03-01  David S. Miller  <davem@davemloft.net>
35925         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35927         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35928         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35929         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35930         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35932         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35933         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35934         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35936         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35937         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35938         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35939         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35940         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35944         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35945         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35946         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35948         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35949         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35950         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35951         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35952         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35953         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35954         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35955         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35956         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35957         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35958         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35959         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35960         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35961         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35962         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35963         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35964         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35965         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35966         * sysdeps/sparc/elf/configure: Regenerated.
35968 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35970         * configure.in (AS, LD): Require binutils 2.20 or later.
35971         * configure: Regenerated.
35972         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35973         as required minimum version.
35974         * INSTALL: Regenerated.
35976         [BZ #2541]
35977         [BZ #4108]
35978         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35979         before squaring exponent.
35980         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35981         bottom long double and 27 bits of top long double before squaring
35982         exponent.
35983         * math/libm-test.inc (erfc_test): Add more tests.
35984         * sysdeps/i386/fpu/libm-test-ulps: Update.
35985         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35988 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35990         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35991         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35992         containing bit-fields.
35993         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35994         * soft-fp/single.h (_FP_UNION_S): Likewise.
35995         * soft-fp/double.h (_FP_UNION_D): Likewise.
35997 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35999         [BZ #13786]
36000         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36001         not include ../strcmp.S.
36002         [USE_AS_STRNCASECMP_L]: Likewise.
36003         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36004         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36005         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36006         (__strncasecmp_l_ia32): Define as alias to
36007         __strncasecmp_l_nonascii.
36009         [BZ #5794]
36010         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36011         * sysdeps/i386/fpu/libm-test-ulps: Update.
36012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36014         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36017 2012-02-29  Jeff Law  <law@redhat.com>
36019         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36020         out of bounds read.
36022 2012-02-29  Marek Polacek  <polacek@redhat.com>
36024         [BZ #13706]
36025         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36026         * elf/Makefile: Add rules to run tst-unused-dep.out.
36028 2012-02-28  David S. Miller  <davem@davemloft.net>
36030         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36031         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36032         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36033         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36034         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36035         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36037 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36039         * math/libm-test.inc (llround_test): Move one test from
36040         lround_test.  Use TEST_f_L in moved test.
36041         (lround_test): Move misplaced test to llround_test.  Add testcase
36042         from bug 2561.
36044 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36046         * sysdeps/x86_64/fpu/e_expf.S: New file.
36047         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36049 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36051         [BZ #13637]
36052         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36053         of remain_len that may cause incomplete multi-byte character and
36054         false match.
36055         * posix/bug-regex33.c: New file.
36056         * posix/Makefile (tests): Add bug-regex33.
36058 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36060         * manual/macros.texi: New file.
36061         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36062         * manual/libc.texinfo: Include macros.texi.
36063         * manual/creatute.texi: Likewise.
36064         * manual/install.texi: Likewise.
36065         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36066         @glibcadj{} in references to the GNU C Library.
36067         * manual/charset.texi: Likewise.
36068         * manual/conf.texi: Likewise.
36069         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36070         when not using those macros.
36071         * manual/creature.texi: Likewise.
36072         * manual/crypt.texi: Likewise.
36073         * manual/errno.texi: Likewise.
36074         * manual/filesys.texi: Likewise.
36075         * manual/header.texi: Likewise.
36076         * manual/install.texi: Likewise.
36077         * manual/intro.texi: Likewise.
36078         * manual/io.texi: Likewise.
36079         * manual/job.texi: Likewise.
36080         * manual/lang.texi: Likewise.
36081         * manual/libc.texiinfo: Likewise.
36082         * manual/llio.texi: Likewise.
36083         * manual/locale.texi: Likewise.
36084         * manual/maint.texi: Likewise.
36085         * manual/math.texi: Likewise.
36086         * manual/memory.texi: Likewise.
36087         * manual/message.texi: Likewise.
36088         * manual/nss.texi: Likewise.
36089         * manual/pattern.texi: Likewise.
36090         * manual/process.texi: Likewise.
36091         * manual/resource.texi: Likewise.
36092         * manual/search.texi: Likewise.
36093         * manual/setjmp.texi: Likewise.
36094         * manual/signal.texi: Likewise.
36095         * manual/socket.texi: Likewise.
36096         * manual/startup.texi: Likewise.
36097         * manual/stdio.texi: Likewise.
36098         * manual/string.texi: Likewise.
36099         * manual/sysinfo.texi: Likewise.
36100         * manual/syslog.texi: Likewise.
36101         * manual/terminal.texi: Likewise.
36102         * manual/time.texi: Likewise.
36103         * manual/users.texi: Likewise.
36104         * INSTALL: Regenerated.
36105         * NOTES: Regenerated.
36106         * sysdeps/gnu/errlist.c: Regenerated.
36108 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36110         * include/dirent.h: Include <dirstream.h> before
36111         <dirent/dirent.h>.
36113 2012-02-28  David S. Miller  <davem@davemloft.net>
36115         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36116         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36117         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36118         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36120 2012-02-27  David S. Miller  <davem@davemloft.net>
36122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36124         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36125         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36128         frame pointer instead of stack pointer relative arg slot.
36129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36130         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36131         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36133 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36135         [BZ #3992]
36136         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36138 2012-02-27  David S. Miller  <davem@davemloft.net>
36140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36144         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36145         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36146         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36147         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36149 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36151         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36152         later.  Allow versions 5-9.
36153         * configure: Regenerated.
36154         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36155         required minimum version and 4.6 as recommended version.  Do not
36156         mention bugs in GCC 2.7 and 2.8.
36157         * INSTALL: Regenerated.
36159 2012-02-27  David S. Miller  <davem@davemloft.net>
36161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36165         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36166         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36167         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36168         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36171         manipulate bits before adding and subtracting TWO112[sx].
36172         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36174 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36176         [BZ #13775]
36177         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36178         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36179         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36180         being in POSIX, because they are in 1003.1-2008.
36182         * rt/tst-aio.c: Include <fcntl.h>.
36183         * rt/tst-aio7.c: Likewise.
36184         * rt/tst-aio64.c: Likewise.
36186         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36188 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36190         * manual/install.texi (--with-headers): Describe headers as
36191         interface headers, not private headers.
36192         (Specific advice for GNU/Linux systems): Describe use of headers
36193         from "make headers_install", not private headers from older
36194         kernels.
36195         * INSTALL: Regenerated.
36196         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36197         Change to 2.6.19.
36198         * sysdeps/unix/sysv/linux/configure: Regenerated.
36200         * manual/llio.texi (fclean): Remove documentation.
36202         * manual/Makefile (libc-texi-generated): New variable.  Include
36203         version.texi.
36204         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36205         $(libc-texi-generated), not duplicated list of files.
36206         (version.texi, stamp-version): New rules.
36207         (realclean): Remove $(libc-texi-generated), not individual files
36208         from that list.  Do not remove dir-add.texinfo.
36209         * manual/libc.texinfo: Comment out uses of edition numbers and
36210         references to printed manual.  Remove last-updated dates.
36211         (EDITION): Comment out.
36212         (ISBN): Likewise.
36213         (VERSION, UPDATED): Remove.
36214         (version.texi): Include.
36216 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36218         * sysdeps/posix/spawni.c: Include <signal.h>.
36219         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36220         * sysdeps/pthread/aio_fsync.c: Likewise.
36222 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36224         * conform/Makefile (tests): Run only when not cross-compiling and
36225         when fast-check is not defined.
36227         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36228         * conform/data/limits.h-data: Fixes for POSIX2008.
36229         * conform/run-conformtest.sh: Run all tests.
36230         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36231         headers.
36232         * include/bits/dlfcn.h: Likewise.
36233         * include/langinfo.h: Likewise.
36234         * include/monetary.h: Likewise.
36235         * include/sys/poll.h: Likewise.
36237         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36238         for __USE_GNU.
36239         * posix/spawn.h: Define __need_sigset_t.
36240         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36241         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36242         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36243         to get sigevent_t only.
36244         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36245         only for __USE_GNU.
36246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36247         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36248         process_vm_writev only for __USE_GNU.
36249         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36251         * conform/Makefile: For now ignore errors from run-conformtest.
36252         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36253         POSIX to avoid namespace pollution.  Don't prepend headers.
36254         * conform/data/aio.h-data: Fixes for POSIX testing.
36255         * conform/data/fcntl.h-data: Likewise.
36256         * conform/data/glob.h-data: Likewise.
36257         * conform/data/grp.h-data: Likewise.
36258         * conform/data/pthread.h-data: Likewise.
36259         * conform/data/pwd.h-data: Likewise.
36260         * conform/data/signal.h-data: Likewise.
36261         * conform/data/spawn.h-data: Likewise.
36262         * conform/data/stdio.h-data: Likewise.
36263         * conform/data/stdlib.h-data: Likewise.
36264         * conform/data/stropts.h-data: Likewise.
36265         * conform/data/sys/mman.h-data: Likewise.
36266         * conform/data/sys/stat.h-data: Likewise.
36267         * conform/data/sys/types.h-data: Likewise.
36268         * conform/data/sys/wait.h-data: Likewise.
36269         * conform/data/time.h-data: Likewise.
36270         * conform/data/unistd.h-data: Likewise.
36271         * conform/data/utime.h-data: Likewise.
36273         * io/sys/stat.h: fchmod was always in POSIX.
36274         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36275         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36276         * rt/aio.h: Define __need_timespec before including <time.h>.
36277         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36278         struct.  Add forward declaration of pthread_attr_t and use it in
36279         sigevent.
36280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36282         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36283         always remove CLK_TCK definition.
36285 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36287         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36289 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36291         * conform/run-conformtest.sh: New file.
36292         * conform/Makefile: Run run-conformtest for tests.
36293         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36294         support.
36296         * conform/data/uchar.h-data: New file.
36297         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36298         * conform/data/arpa/inet.h-data: Likewise.
36299         * conform/data/assert.h-data: Likewise.
36300         * conform/data/complex.h-data: Likewise.
36301         * conform/data/cpio.h-data: Likewise.
36302         * conform/data/ctype.h-data: Likewise.
36303         * conform/data/dirent.h-data: Likewise.
36304         * conform/data/dlfcn.h-data: Likewise.
36305         * conform/data/errno.h-data: Likewise.
36306         * conform/data/fcntl.h-data: Likewise.
36307         * conform/data/float.h-data: Likewise.
36308         * conform/data/fmtmsg.h-data: Likewise.
36309         * conform/data/fnmatch.h-data: Likewise.
36310         * conform/data/ftw.h-data: Likewise.
36311         * conform/data/glob.h-data: Likewise.
36312         * conform/data/grp.h-data: Likewise.
36313         * conform/data/iconv.h-data: Likewise.
36314         * conform/data/inttypes.h-data: Likewise.
36315         * conform/data/langinfo.h-data: Likewise.
36316         * conform/data/libgen.h-data: Likewise.
36317         * conform/data/limits.h-data: Likewise.
36318         * conform/data/locale.h-data: Likewise.
36319         * conform/data/math.h-data: Likewise.
36320         * conform/data/monetary.h-data: Likewise.
36321         * conform/data/mqueue.h-data: Likewise.
36322         * conform/data/ndbm.h-data: Likewise.
36323         * conform/data/net/if.h-data: Likewise.
36324         * conform/data/netdb.h-data: Likewise.
36325         * conform/data/netinet/in.h-data: Likewise.
36326         * conform/data/nl_types.h-data: Likewise.
36327         * conform/data/poll.h-data: Likewise.
36328         * conform/data/pthread.h-data: Likewise.
36329         * conform/data/pwd.h-data: Likewise.
36330         * conform/data/regex.h-data: Likewise.
36331         * conform/data/sched.h-data: Likewise.
36332         * conform/data/search.h-data: Likewise.
36333         * conform/data/semaphore.h-data: Likewise.
36334         * conform/data/setjmp.h-data: Likewise.
36335         * conform/data/signal.h-data: Likewise.
36336         * conform/data/spawn.h-data: Likewise.
36337         * conform/data/stdarg.h-data: Likewise.
36338         * conform/data/stdio.h-data: Likewise.
36339         * conform/data/stdlib.h-data: Likewise.
36340         * conform/data/string.h-data: Likewise.
36341         * conform/data/strings.h-data: Likewise.
36342         * conform/data/stropts.h-data: Likewise.
36343         * conform/data/sys/ipc.h-data: Likewise.
36344         * conform/data/sys/mman.h-data: Likewise.
36345         * conform/data/sys/msg.h-data: Likewise.
36346         * conform/data/sys/resource.h-data: Likewise.
36347         * conform/data/sys/select.h-data: Likewise.
36348         * conform/data/sys/sem.h-data: Likewise.
36349         * conform/data/sys/shm.h-data: Likewise.
36350         * conform/data/sys/socket.h-data: Likewise.
36351         * conform/data/sys/stat.h-data: Likewise.
36352         * conform/data/sys/statvfs.h-data: Likewise.
36353         * conform/data/sys/time.h-data: Likewise.
36354         * conform/data/sys/timeb.h-data: Likewise.
36355         * conform/data/sys/times.h-data: Likewise.
36356         * conform/data/sys/types.h-data: Likewise.
36357         * conform/data/sys/uio.h-data: Likewise.
36358         * conform/data/sys/un.h-data: Likewise.
36359         * conform/data/sys/utsname.h-data: Likewise.
36360         * conform/data/sys/wait.h-data: Likewise.
36361         * conform/data/syslog.h-data: Likewise.
36362         * conform/data/tar.h-data: Likewise.
36363         * conform/data/termios.h-data: Likewise.
36364         * conform/data/utime.h-data: Likewise.
36365         * conform/data/utmpx.h-data: Likewise.
36366         * conform/data/varargs.h-data: Likewise.
36367         * conform/data/wchar.h-data: Likewise.
36368         * conform/data/wctype.h-data: Likewise.
36369         * conform/data/wordexp.h-data: Likewise.
36371         * include/stropts.h: New file.
36372         * include/uchar.h: New file.
36373         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36374         * include/assert.h: Likewise.
36375         * include/ctype.h: Likewise.
36376         * include/dirent.h: Likewise.
36377         * include/dlfcn.h: Likewise.
36378         * include/fcntl.h: Likewise.
36379         * include/fnmatch.h: Likewise.
36380         * include/glob.h: Likewise.
36381         * include/grp.h: Likewise.
36382         * include/libio.h: Likewise.
36383         * include/locale.h: Likewise.
36384         * include/math.h: Likewise.
36385         * include/net/if.h: Likewise.
36386         * include/netdb.h: Likewise.
36387         * include/netinet/in.h: Likewise.
36388         * include/pthread.h: Likewise.
36389         * include/pwd.h: Likewise.
36390         * include/regex.h: Likewise.
36391         * include/sched.h: Likewise.
36392         * include/search.h: Likewise.
36393         * include/setjmp.h: Likewise.
36394         * include/signal.h: Likewise.
36395         * include/stdio.h: Likewise.
36396         * include/stdlib.h: Likewise.
36397         * include/string.h: Likewise.
36398         * include/sys/cdefs.h: Likewise.
36399         * include/sys/mman.h: Likewise.
36400         * include/sys/msg.h: Likewise.
36401         * include/sys/resource.h: Likewise.
36402         * include/sys/select.h: Likewise.
36403         * include/sys/socket.h: Likewise.
36404         * include/sys/stat.h: Likewise.
36405         * include/sys/statvfs.h: Likewise.
36406         * include/sys/time.h: Likewise.
36407         * include/sys/times.h: Likewise.
36408         * include/sys/uio.h: Likewise.
36409         * include/sys/utsname.h: Likewise.
36410         * include/sys/wait.h: Likewise.
36411         * include/termios.h: Likewise.
36412         * include/time.h: Likewise.
36413         * include/ulimit.h: Likewise.
36414         * include/unistd.h: Likewise.
36415         * include/utime.h: Likewise.
36416         * include/wchar.h: Likewise.
36417         * include/wctype.h: Likewise.
36418         * include/wordexp.h: Likewise.
36420         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36422         * time/time.h: TIME_UTC must be a macro.
36423         Make timespec_get available for ISO C11 only as well.
36425 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36427         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36428         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36430 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36432         * configure.in: Use -o not -a in test for unsupported multi-arch.
36434 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36436         * manual/texinfo.tex: Update to version 2012-01-19.16.
36438 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36440         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36442 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36444         [BZ #13738]
36445         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36446         * manual/fdl-1.3.texi: New file.
36447         * manual/fdl-1.1.texi: File removed.
36449         [BZ #13738]
36450         * manual/libc.texinfo (FDL_VERSION): New @set.
36451         Use it for mention of FDL in cover text.
36452         (Documentation License): Use it in @include file name.
36454 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36455             Roland McGrath  <roland@hack.frob.com>
36457         [BZ #5461]
36458         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36459         (not LONG_LONG_MAX and LONG_LONG_MIN.
36460         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36461         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36462         name.
36463         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36465 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36467         [BZ #2547]
36468         [BZ #11365]
36469         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36470         manipulate bits before adding and subtracting TWO23[sx].
36471         * math/libm-test.inc (nearbyint_test): Add more tests.
36473 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36475         [BZ #2548]
36476         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36477         bits before adding and subtracting TWO23[sx].
36478         * math/libm-test.inc (rint_test): Add more tests.
36479         (rint_test_tonearest): Likewise.
36480         (rint_test_towardzero): Likewise.
36481         (rint_test_downward): Likewise.
36482         (rint_test_upward: Likewise.
36484 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36486         [BZ #10110]
36487         * include/stdc-predef.h: New file.  Extracted from features.h.
36488         * include/features.h: Include stdc-predef.h.
36489         * Makefile (headers): Add stdc-predef.h.
36490         * CONFORMANCE (Compiler limitations): Update.
36492 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36494         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36496 2012-02-21  David S. Miller  <davem@davemloft.net>
36498         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36499         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36501 2012-02-20  David S. Miller  <davem@davemloft.net>
36503         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36504         using a normal save/restore sequence, rather than allocating a
36505         dummy stack frame just to store a frame pointer and restore.
36506         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36508 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36510         * manual/install.texi: Fix stray word in line-wrapped comment.
36512 2012-02-20  David S. Miller  <davem@davemloft.net>
36514         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36515         both binutils and gcc support GOTDATA.
36517         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36518         "rd %pc" in the PIC register setup sequences.
36520         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36521         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36522         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36523         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36524         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36526         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36527         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36528         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36529         (SYSCALL_ERROR_HANDLER): Likewise.
36530         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36531         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36533         (SYSCALL_ERROR_HANDLER): Likewise.
36535         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36536         (HAVE_GCC_GOTDATA): New.
36537         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36538         relocation support in both binutils and gcc.
36539         * sysdeps/sparc/elf/configure: Regenerate.
36541         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36542         * sysdeps/sparc/sparc32/elf/configure: Delete.
36543         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36544         * sysdeps/sparc/sparc64/elf/configure: Delete.
36545         * sysdeps/sparc/elf/configure.in: New file.
36546         * sysdeps/sparc/elf/configure: Generate.
36548         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36549         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36550         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36551         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36552         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36554 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36556         * manual/install.texi: Do not mention specific glibc version
36557         numbers.
36558         * manual/libc.texinfo (VERSION, UPDATED): Update.
36559         (@copying): Use @copyright{} and range of years.
36561 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36563         [BZ #13695]
36564         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36565         [crti.S not in sysdirs] (generated): Do not append.
36566         [crti.S not in sysdirs] (omit-deps): Likewise.
36567         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36568         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36569         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36570         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36571         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36572         Likewise.
36573         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36574         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36575         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36576         * csu/defs.awk: Remove file.
36577         * sysdeps/generic/initfini.c: Likewise.
36578         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36579         variable.
36580         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36581         Likewise.
36583 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36585         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36586         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36587         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36588         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36589         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36590         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36591         <bits/epoll.h>.
36592         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36593         (__EPOLL_PACKED): Define to empty if not defined by
36594         <bits/epoll.h>.
36595         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36597         bits/epoll.h.
36599 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36601         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36602         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36603         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36604         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36605         <bits/timerfd.h>.
36606         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36608         bits/timerfd.h.
36610 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36612         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36613         in C locale.
36614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36616         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36619 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36621         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36622         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36624 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36626         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36627         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36628         defined.
36629         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36630         Likewise.
36631         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36632         entry for 2.16.
36634 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36636         * math/w_acos.c: Use non-signaling floating-point comparisons.
36637         * math/w_acosf.c: Likewise.
36638         * math/w_acosh.c: Likewise.
36639         * math/w_acoshf.c: Likewise.
36640         * math/w_acoshl.c: Likewise.
36641         * math/w_acosl.c: Likewise.
36642         * math/w_asin.c: Likewise.
36643         * math/w_asinf.c: Likewise.
36644         * math/w_asinl.c: Likewise.
36645         * math/w_atanh.c: Likewise.
36646         * math/w_atanhf.c: Likewise.
36647         * math/w_atanhl.c: Likewise.
36648         * math/w_exp2.c: Likewise.
36649         * math/w_exp2f.c: Likewise.
36650         * math/w_exp2l.c: Likewise.
36651         * math/w_j0.c: Likewise.
36652         * math/w_j0f.c: Likewise.
36653         * math/w_j0l.c: Likewise.
36654         * math/w_j1.c: Likewise.
36655         * math/w_j1f.c: Likewise.
36656         * math/w_j1l.c: Likewise.
36657         * math/w_jn.c: Likewise.
36658         * math/w_jnf.c: Likewise.
36659         * math/w_log.c: Likewise.
36660         * math/w_log10.c: Likewise.
36661         * math/w_log10f.c: Likewise.
36662         * math/w_log10l.c: Likewise.
36663         * math/w_log2.c: Likewise.
36664         * math/w_log2f.c: Likewise.
36665         * math/w_log2l.c: Likewise.
36666         * math/w_logf.c: Likewise.
36667         * math/w_logl.c: Likewise.
36668         * math/w_sqrt.c: Likewise.
36669         * math/w_sqrtf.c: Likewise.
36670         * math/w_sqrtl.c: Likewise.
36671         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36672         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36673         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36674         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36675         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36677 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36679         [BZ #9739]
36680         * manual/string.texi (strnlen): Use correct parameter name in
36681         equivalent expression.
36683 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36685         [BZ #11174]
36686         * manual/users.texi (seteuid): Consistently use neweuid for
36687         argument name.
36689 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36691         [BZ #13704]
36692         * manual/nss.texi (Services in the NSS configuration): Correct
36693         list of services in example configuration file.
36695 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
36697         [BZ #11322]
36698         * manual/arith.texi: Remove statements about negative zero
36699         behaving identically to zero.
36701 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36703         [BZ #5993]
36704         * manual/install.texi: Do not document upgrading from libc5.
36706 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36708         [BZ #4596]
36709         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36711 2012-02-18  David S. Miller  <davem@davemloft.net>
36713         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36714         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36715         %o7 across the call.
36716         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36717         instead.
36718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36719         SETUP_PIC_REG_LEAF.
36720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36721         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36722         * sysdeps/sparc/crtn.S: Likewise.
36724 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
36726         * aout/Makefile: Remove.
36728 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
36730         [BZ #13058]
36731         * manual/examples/argp-ex1.c (main): Format definition in GNU
36732         style.
36733         * manual/examples/argp-ex2.c (main): Likewise.
36734         * manual/examples/argp-ex3.c (main): Likewise.
36735         * manual/examples/argp-ex4.c (main): Likewise.
36736         * manual/examples/longopt.c (main): Use new-style prototype
36737         definition.
36738         * manual/examples/strncat.c (main): Specify return type and use
36739         (void) for arguments.
36740         * manual/examples/subopt.c (main): Use char **argv argument.
36742 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36744         [BZ #5077]
36745         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36746         rounding modes.
36748 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
36750         [BZ #6907]
36751         * manual/string.texi (strchr): Change when strchrnul is
36752         recommended.
36754 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36756         [BZ #174]
36757         * manual/locale.texi (setlocale): Document LOCPATH.
36759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36761         [BZ #10210]
36762         * manual/process.texi (execle): Move @dots{} before last argument.
36764 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36766         [BZ #12047]
36767         * manual/charset.texi (Generic Charset Conversion): Fix typo
36768         (LC_TYPE -> LC_CTYPE).
36770 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36772         [BZ #5805]
36773         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36774         (scalbnf): Likewise.
36775         (scalbnl): Likewise.
36776         (scalbln): Likewise.
36777         (scalblnf): Likewise.
36778         (scalblnl): Likewise.
36779         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36780         (vwarnx): Likewise.
36781         (verr): Likewise.
36782         (verrx): Likewise.
36783         * manual/filesys.texi (telldir): Use braces around return type.
36784         * manual/llio.texi (mmap): Add space after comma.
36785         (mmap64): Likewise.
36786         * manual/math.texi (jn): Use @var{} on parameter names.
36787         (jnf): Likewise.
36788         (jnl): Likewise.
36789         (yn): Likewise.
36790         (ynf): Likewise.
36791         (ynl): Likewise.
36792         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36793         line.
36794         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36795         "...".
36796         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36797         (sched_get_priority_max): Likewise.
36798         * manual/signal.texi (sigvec): Add space after comma.
36799         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36800         names.
36801         (if_indextoname): Likewise.
36802         (if_freenameindex): Likewise.
36803         (sendto): Use ',' instead of '.' in prototype.
36804         * manual/startup.texi (syscall): Use @dots{} instead of literal
36805         "...".
36806         * manual/stdio.texi (__fpending): Separate initial words of
36807         paragraph from @deftypefun line.
36808         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36809         "...".
36810         (vsyslog): Use @var{} on parameter names.
36811         * manual/terminal.texi (stty): Use @var{} on parameter names.
36812         * manual/users.texi (getutmp): Use @var{} on parameter names.
36813         (getutmpx): Likewise.
36815 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36817         [BZ #6884]
36818         * manual/stdio.texi (fopen): Fix typos in description of
36819         ",ccs=STRING".
36821 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36823         [BZ #4026]
36824         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36825         get clock_id definition.
36827 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36829         [BZ #4822]
36830         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36831         (madvise): Cast every argument to void on its own.
36833 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36835         [BZ #9902]
36836         * manual/startup.texi (Exit Status): Fix typo.
36838 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36840         [BZ #10140]
36841         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36842         * manual/examples/argp-ex2.c: Likewise.
36843         * manual/examples/argp-ex3.c: Likewise.
36845 2012-02-16  Richard Henderson  <rth@redhat.com>
36847         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36848         * sysdeps/s390/s390-32/initfini.c: Remove.
36849         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36850         * sysdeps/s390/s390-64/initfini.c: Remove.
36852 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36854         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36855         compiler output for sysdeps/generic/initfini.c.
36856         * sysdeps/sh/elf/initfini.c: Remove file.
36858 2012-02-16  David S. Miller  <davem@davemloft.net>
36860         [BZ #11494]
36861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36863         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36864         * sysdeps/sparc/crti.S: New file.
36865         * sysdeps/sparc/crtn.S: New file.
36866         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36867         * sysdeps/sparc/sparc64/Makefile: Likewise.
36869 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36871         [BZ #3335]
36872         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36874 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36876         [BZ #4822]
36877         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36879         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36880         (write, read, close): Likewise.
36881         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36883 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36885         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36886         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36887         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36888         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36889         <bits/signalfd.h>.
36890         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36892         bits/signalfd.h.
36894 2012-02-14  Marek Polacek  <polacek@redhat.com>
36896         * sysdeps/x86_64/crti.S: New file.
36897         * sysdeps/x86_64/crtn.S: New file.
36898         * sysdeps/x86_64/elf/initfini.c: Remove file.
36900 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36902         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36903         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36904         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36905         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36906         <bits/inotify.h>.
36907         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36909         bits/inotify.h.
36911 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36913         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36914         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36915         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36916         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36917         <bits/eventfd.h>.
36918         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36920         bits/eventfd.h.
36922 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36924         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36925         __feraiseexcept instead of feraiseexcept.
36927         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36928         nanosleep invocations.
36929         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36930         strings, and add error checking for a nanosleep invocations.
36932 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36934         Replace FSF snail mail address with URLs, as per GNU coding standards.
36935         Most of the snail mail addresses were wrong anyway, and omitting
36936         them makes the source code easier to maintain.  Almost all of the
36937         changes are to license notices and to locale LC_IDENTIFICATION
36938         addresses, except for this one:
36939         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36940         not its snail mail address.
36942 2012-02-09  Richard Henderson  <rth@twiddle.net>
36944         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36945         of kernel-features.h.
36947         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36949 2012-02-08  Marek Polacek  <polacek@redhat.com>
36951         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36952         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36953         * sysdeps/gnu/_G_config.h: Likewise.
36954         * sysdeps/generic/_G_config.h: Likewise.
36956 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36958         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36959         tests.
36960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36962         * sysdeps/powerpc/powerpc32/crti.S: New file.
36963         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36964         * sysdeps/powerpc/powerpc64/crti.S: New file.
36965         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36967         * Makeconfig (have-initfini): Don't set.
36968         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36969         * configure.in (nopic_initfini): Don't substitute.
36970         * config.h.in (HAVE_INITFINI): Don't #undef.
36971         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36972         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36974 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36976         Support crti.S and crtn.S provided directly by architectures.
36977         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36978         [crti.S in sysdirs] (omit-deps): Likewise.
36979         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36980         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36981         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36982         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36983         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36984         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36985         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36986         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36987         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36988         compiler output for sysdeps/generic/initfini.c.
36989         * sysdeps/i386/elf/Makefile: Remove file.
36990         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36992 2012-02-07  Marek Polacek  <polacek@redhat.com>
36994         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36995         * sysdeps/gnu/_G_config.h: Likewise.
36996         * sysdeps/mach/hurd/_G_config.h: Likewise.
36998 2012-02-07  Marek Polacek  <polacek@redhat.com>
37000         * math/Makefile (tests): Add tst-CMPLX2.
37001         * math/tst-CMPLX2.c: New file.
37003 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37005         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37007         * math/libm-test.inc (jn_test): Add missing L suffix.
37009 2012-02-06  Marek Polacek  <polacek@redhat.com>
37011         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37012         * sysdeps/i386/fpu/e_powf.S: Likewise.
37013         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37014         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37015         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37016         * sysdeps/i386/fpu/e_pow.S: Likewise.
37017         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37018         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37019         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37020         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37021         * sysdeps/i386/fpu/e_log2.S: Likewise.
37022         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37023         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37024         * sysdeps/i386/fpu/e_powl.S: Likewise.
37025         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37026         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37027         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37028         * sysdeps/i386/fpu/e_logl.S: Likewise.
37029         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37030         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37031         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37032         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37033         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37034         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37035         * sysdeps/i386/fpu/e_log.S: Likewise.
37036         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37037         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37038         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37039         * sysdeps/i386/fpu/e_logf.S: Likewise.
37040         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37041         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37042         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37043         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37044         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37045         * sysdeps/i386/fpu/e_log10.S: Likewise.
37046         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37047         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37048         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37049         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37050         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37051         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37052         * sysdeps/i386/asm-syntax.h: Likewise.
37053         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37054         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37055         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37056         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37057         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37058         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37059         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37060         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37061         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37062         * sysdeps/powerpc/sysdep.h: Likewise.
37063         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37064         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37066 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37068         [BZ #411]
37069         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37071 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37073         * sysdeps/i386/sysdep.h: Include <features.h>.
37074         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37075         version.
37077 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37079         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37080         Define.
37081         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37082         LOAD_PIC_REG_STR.
37084 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37086         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37087         (SETUP_PIC_REG): Use GET_PC_THUNK.
37088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37089         macro.
37091 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37093         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37094         for non-PIC compilation.
37095         (SETUP_PIC_REG): Add .p2align directive.
37096         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37097         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37098         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37099         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37100         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37101         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37102         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37104         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37105         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37106         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37107         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37108         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37109         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37110         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37111         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37112         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37113         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37114         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37115         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37116         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37117         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37118         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37119         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37120         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37121         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37122         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37123         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37124         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37125         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37126         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37127         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37128         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37129         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37130         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37131         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37132         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37133         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37134         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37135         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37136         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37138 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37140         * math/tst-CMPLX.c: Include <stdio.h>.
37142 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37144         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37145         float.
37146         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37147         * sysdeps/sparc/bits/mathdef.h: Likewise.
37149 2012-01-31  Marek Polacek  <polacek@redhat.com>
37151         * libio/libio.h: Don't define _PARAMS.
37152         * locale/programs/config.h: Don't define PARAMS.
37153         * stdlib/strtol_l.c: Likewise.
37154         (__strtol_l): Remove PARAMS from the prototype.
37156 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37158         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37159         names.  Just use the correct names.  Remove unnecessary wrapper
37160         functions.
37161         * malloc/arena.c: Likewise.
37162         * malloc/hooks.c: Likewise.
37164         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37165         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37166         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37168 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37170         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37171         into tail calls.
37172         (update_get_addr): New function.
37173         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37174         GET_ADDR_MODULE parameter.
37176 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37178         * crypt/cert.c: Remove __STDC__ conditionals.
37179         * crypt/crypt-entry.c: Likewise.
37180         * crypt/crypt_util.c: Likewise.
37181         * libio/filedoalloc.c: Likewise.
37182         * libio/fileops.c: Likewise.
37183         * libio/genops.c: Likewise.
37184         * libio/iofclose.c: Likewise.
37185         * libio/iofdopen.c: Likewise.
37186         * libio/iofopen.c: Likewise.
37187         * libio/iofopen64.c: Likewise.
37188         * libio/iogetdelim.c: Likewise.
37189         * libio/iopopen.c: Likewise.
37190         * libio/obprintf.c: Likewise.
37191         * libio/oldfileops.c: Likewise.
37192         * libio/oldiofclose.c: Likewise.
37193         * libio/oldiofdopen.c: Likewise.
37194         * libio/oldiofopen.c: Likewise.
37195         * libio/oldiopopen.c: Likewise.
37196         * libio/wfiledoalloc.c: Likewise.
37197         * libio/wgenops.c: Likewise.
37198         * locale/programs/xmalloc.c: Likewise.
37199         * misc/syslog.c: Likewise.
37200         * stdio-common/xbug.c: Likewise.
37201         * string/memchr.c: Likewise.
37202         * string/memcmp.c: Likewise.
37203         * string/memrchr.c: Likewise.
37204         * string/rawmemchr.c: Likewise.
37205         * sysdeps/posix/getcwd.c: Likewise.
37206         * time/strftime_l.c: Likewise.
37208 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37210         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37211         * config.make.in (config-cflags-sse2avx): Define.
37212         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37213         Fix typo.
37215 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37217         * scripts/config.guess: Update from upstream config git repository.
37218         * scripts/config.sub: Likewise.
37220 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37222         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37223         (EM_NUM): Update.
37224         (R_TILEPRO_*, R_TILEGX_*): New macros.
37226         * scripts/firstversions.awk: Fix bug in version range handling.
37228         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37230         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37232         * include/sys/epoll.h: New file.
37233         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37234         libc_hidden_def.
37236 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37238         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37239         Avoid unnecessary __WORDSIZE == 64 test.
37240         (fmaxf): Use VEX format if possible.
37241         (fmax): Likewise.
37242         (fminf): Likewise.
37243         (fmin): Likewise.
37245         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37246         * math/math_private.h: Remove libc_fegetround* and
37247         libc_fesetround*.
37248         * sysdeps/i386/configure.in: Check for -msse2avx.
37249         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37250         also if SSE2AVX is defined.
37251         Remove libc_fegetround* and libc_fesetround*.
37252         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37253         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37254         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37255         of HAS_YMM_USABLE.
37256         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37257         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37258         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37259         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37260         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37262         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37264 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37266         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37267         size is not set.
37268         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37270 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37272         [BZ #13618]
37273         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37274         relocation.
37275         * Makeconfig (libm): Define.
37276         * elf/Makefile: Add rules to build and run tst-relsort1.
37277         * elf/tst-relsort1.c: New file.
37278         * elf/tst-relsort1mod1.c: New file.
37279         * elf/tst-relsort1mod2.c: New file.
37281 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37283         * math/s_ldexp.c: Remove __STDC__ conditionals.
37284         * math/s_ldexpf.c: Likewise.
37285         * math/s_ldexpl.c: Likewise.
37286         * math/s_nextafter.c: Likewise.
37287         * math/s_nexttowardf.c: Likewise.
37288         * math/s_significand.c: Likewise.
37289         * math/s_significandf.c: Likewise.
37290         * math/s_significandl.c: Likewise.
37291         * math/w_jnl.c: Likewise.
37292         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37293         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37294         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37295         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37296         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37297         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37298         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37299         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37300         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37301         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37302         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37303         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37304         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37305         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37306         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37307         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37308         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37309         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37311         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37312         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37313         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37314         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37316         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37317         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37318         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37319         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37320         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37321         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37322         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37323         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37324         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37325         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37326         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37327         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37328         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37329         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37330         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37331         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37332         * sysdeps/ieee754/k_standard.c: Likewise.
37333         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37334         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37335         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37337         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37338         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37339         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37340         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37341         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37342         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37343         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37344         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37345         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37346         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37347         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37348         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37349         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37350         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37351         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37352         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37353         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37354         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37355         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37356         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37357         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37358         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37359         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37361         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37362         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37363         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37364         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37365         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37366         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37367         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37368         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37369         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37370         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37371         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37373         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37375         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37376         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37377         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37378         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37380         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37381         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37382         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37383         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37384         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37385         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37386         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37387         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37388         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37389         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37390         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37391         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37392         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37393         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37394         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37395         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37396         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37397         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37398         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37399         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37400         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37401         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37402         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37403         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37404         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37405         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37406         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37407         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37408         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37409         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37410         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37411         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37412         * sysdeps/ieee754/s_matherr.c: Likewise.
37413         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37414         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37415         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37416         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37418 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37420         * crypt/md5.h: Remove __STDC__ conditionals.
37421         * libio/libioP.h: Likewise.
37422         * locale/programs/config.h: Likewise.
37423         * sysdeps/generic/sysdep.h: Likewise.
37424         * sysdeps/i386/asm-syntax.h: Likewise.
37425         * sysdeps/s390/asm-syntax.h: Likewise.
37426         * sysdeps/unix/sysdep.h: Likewise.
37427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37430 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37432         * libio/libio.h: Remove __STDC__ conditionals.
37433         * malloc/obstack.h: Likewise.
37434         * math/complex.h: Likewise.
37435         * math/math.h: Likewise.
37436         * sysdeps/generic/_G_config.h: Likewise.
37437         * sysdeps/gnu/_G_config.h: Likewise.
37438         * sysdeps/mach/hurd/_G_config.h: Likewise.
37439         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37440         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37441         * sysdeps/sparc/bits/mathdef.h: Likewise.
37443 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37445         [BZ #13583]
37446         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37447         Clean up HAS_* macros.
37448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37449         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37450         possible.
37451         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37452         HAS_AVX.
37453         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37454         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37455         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37456         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37457         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37459 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37461         * elf/tst-unique3.cc (gets): Remove declaration.
37462         * elf/tst-unique3lib.cc (gets): Likewise.
37463         * elf/tst-unique3lib2.cc (gets): Likewise.
37464         * elf/tst-unique4.cc (gets): Likewise.
37466 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37468         * include/stdio.h: Add C++ protection.  Add gets declarations and
37469         definitions.
37470         * debug/tst-chk1.c: Don't declare gets here.
37471         * stdio-common/tst-gets.c: Likewise.
37473 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37475         * posix/glob: Remove directory.
37477 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37479         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37481 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37483         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37484         of the non-standard EPFNOSUPPORT.
37486 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37488         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37489         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37490         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37492 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37494         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37496 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37498         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37499         transient errors.
37500         * nscd/grpcache.c (cache_addgr): Likewise.
37501         * nscd/hstcache.c (cache_addhst): Likewise.
37502         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37503         * nscd/pwdcache.c (cache_addpw): Likewise.
37504         * nscd/servicescache.c (cache_addserv): Likewise.
37506 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37508         * malloc/malloc.c: Various cleanups.
37509         * malloc/hooks.c: Likewise.
37511         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37512         * stdlib/bug-fmtmsg1.c: New file.
37514         * stdlib/fmtmsg.c (init): Add missing unlock.
37515         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37517 2012-01-12  Marek Polacek  <polacek@redhat.com>
37519         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37520         and _GNU_SOURCE.
37522 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37524         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37525         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37526         macro to ensure uniqueness of label name.
37527         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37528         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37530 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37532         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37534         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37535         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37536         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37539 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37541         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37543         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37544         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37545         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37547         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37549         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37550         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37551         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37552         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37554         * math/bits/math-finite.h: Add ldexp support.
37556 2012-01-10  Marek Polacek  <polacek@redhat.com>
37558         * locale/programs/localedef.h (show_archive_content): Add noreturn
37559         attribute.
37561 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37563         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37565 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37567         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37569         * io/Makefile (headers): Add bits/poll2.h.
37571 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37574         typo #include statement.
37576 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37578         * include/sys/cdefs.h: Define __attribute_alloc_size.
37579         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37580         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37581         * elf/pldd.c: Likewise.
37582         * iconv/iconv_charmap.c: Likewise.
37583         * iconv/iconvconfig.c: Likewise.
37584         * iconv/strtab.c: Likewise.
37585         * locale/programs/locale.c: Likewise.
37586         * locale/programs/localedef.h: Likewise.
37587         * locale/programs/simple-hash.c: Likewise.
37588         * nscd/nscd.h: Likewise.
37589         * nss/makedb.c: Likewise.
37590         * sysdeps/generic/ldconfig.h: Likewise.
37591         * locale/programs/localedef.c: Remove xmalloc prototype.
37592         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37594 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37596         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37597         appropriate.
37599 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37601         * math/Makefile (tests): Add tst-CMPLX.
37602         * math/tst-CMPLX.c: New file.
37604         * math/complex.h (CMPLXL): Fix typo.
37606         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37607         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37608         GLIBC_2.16.
37609         * debug/tst-chk1.c: Add poll and ppoll tests.
37610         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37611         * include/sys/poll.h: Add hidden proto for ppoll.
37612         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37613         * sysdeps/mach/hurd/ppoll.c: Likewise.
37614         * io/ppoll.c: Likewise.
37615         * debug/poll_chk.c: New file.
37616         * debug/ppoll_chk.c: New file.
37617         * include/bits/poll2.h: New file.
37618         * io/bits/poll2.h: New file.
37620         [BZ #1350]
37621         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37623         * configure.in: static is always set to yes.  Remove.
37624         * config.make.in: Don't set build-static.
37625         * Makeconfig: Remove use of build-static.
37626         * dlfcn/Makefile: Likewise.
37627         * elf/Makefile: Likewise.
37628         * math/Makefile: Likewise.
37629         * misc/Makefile: Likewise.
37630         * nptl/Makefile: Likewise.
37631         * sysdeps/mach/hurd/Makefile: Likewise.
37633         * configure.in: PWD_P is not used anymore.
37634         * config.make.in: Remove PWD_P entry.
37636         * configure.in: Remove last remnants of RANLIB.
37637         No need to check for signed size_t anymore.
37638         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37639         and IA-64.
37640         Remove __builtin_expect test because we require at least gcc 3.4.
37641         * aclocal.m4: Likewise.
37643         * wcsmbs/mbrtoc16.c: Implement using towc function.
37644         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37645         * wcsmbs/wcsmbsload.c: Likewise.
37646         * iconv/gconv_simple.c: Likewise.
37647         * iconv/gconv_int.h: Likewise.
37648         * iconv/gconv_builtin.h: Likewise.
37649         * iconv/iconv_prog.c: Remove CHAR16 handling.
37651         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37653         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37655         * configure.in: Remove --with-elf and --enable-bounded options.
37656         Dont set base_machine for ia64.  More non-ELF conditions removed.
37657         Remove testing and setting of leading underscore information.
37658         * config.make.in (build-bounded): Set to no.
37659         * config.h.in: Remove NO_UNDERSCORES entry.
37660         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37661         them.
37662         * csu/start.c: Remove !NO_UNDERSCORE code.
37663         * locale/localeinfo.h: Likewise.
37664         * sysdeps/generic/machine-gmon.h: Likewise.
37665         * sysdeps/generic/sysdep.h: Likewise.
37666         * sysdeps/i386/sysdep.h: Likewise.
37667         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37668         * sysdeps/mach/sysdep.h: Likewise.
37669         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37670         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37671         * sysdeps/sh/sysdep.h: Likewise.
37672         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37673         * sysdeps/unix/i386/sysdep.S: Likewise.
37674         * sysdeps/unix/sparc/start.c: Likewise.
37675         * sysdeps/unix/sparc/sysdep.S: Likewise.
37676         * sysdeps/unix/sparc/sysdep.h: Likewise.
37677         * sysdeps/unix/start.c: Likewise.
37678         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37679         * sysdeps/x86_64/sysdep.h: Likewise.
37681 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37683         [BZ #13553]
37684         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37685         for non-gcc.
37686         * argp/argp-fmtstream.h: Use const instead __const.
37687         * argp/argp.h: Likewise.
37688         * assert/assert.h: Likewise.
37689         * bits/fenv.h: Likewise.
37690         * bits/sched.h: Likewise.
37691         * bits/sigset.h: Likewise.
37692         * bits/sigthread.h: Likewise.
37693         * catgets/nl_types.h: Likewise.
37694         * conform/data/pthread.h-data: Likewise.
37695         * crypt/crypt-private.h: Likewise.
37696         * crypt/crypt.h: Likewise.
37697         * crypt/crypt_util.c: Likewise.
37698         * ctype/ctype.h: Likewise.
37699         * debug/execinfo.h: Likewise.
37700         * debug/mbsnrtowcs_chk.c: Likewise.
37701         * debug/mbsrtowcs_chk.c: Likewise.
37702         * debug/wcsnrtombs_chk.c: Likewise.
37703         * debug/wcsrtombs_chk.c: Likewise.
37704         * debug/wcstombs_chk.c: Likewise.
37705         * dirent/dirent.h: Likewise.
37706         * dlfcn/dlfcn.h: Likewise.
37707         * elf/neededtest4.c: Likewise.
37708         * grp/grp.h: Likewise.
37709         * gshadow/gshadow.h: Likewise.
37710         * iconv/gconv.h: Likewise.
37711         * iconv/gconv_int.h: Likewise.
37712         * iconv/gconv_simple.c: Likewise.
37713         * iconv/iconv.h: Likewise.
37714         * iconv/loop.c: Likewise.
37715         * iconv/skeleton.c: Likewise.
37716         * include/aio.h: Likewise.
37717         * include/aliases.h: Likewise.
37718         * include/argz.h: Likewise.
37719         * include/arpa/inet.h: Likewise.
37720         * include/assert.h: Likewise.
37721         * include/dirent.h: Likewise.
37722         * include/dlfcn.h: Likewise.
37723         * include/execinfo.h: Likewise.
37724         * include/fcntl.h: Likewise.
37725         * include/fenv.h: Likewise.
37726         * include/glob.h: Likewise.
37727         * include/grp.h: Likewise.
37728         * include/libintl.h: Likewise.
37729         * include/mntent.h: Likewise.
37730         * include/netdb.h: Likewise.
37731         * include/pwd.h: Likewise.
37732         * include/rpc/netdb.h: Likewise.
37733         * include/sched.h: Likewise.
37734         * include/search.h: Likewise.
37735         * include/shadow.h: Likewise.
37736         * include/signal.h: Likewise.
37737         * include/stdio.h: Likewise.
37738         * include/stdlib.h: Likewise.
37739         * include/string.h: Likewise.
37740         * include/sys/socket.h: Likewise.
37741         * include/sys/stat.h: Likewise.
37742         * include/sys/statfs.h: Likewise.
37743         * include/sys/statvfs.h: Likewise.
37744         * include/sys/syslog.h: Likewise.
37745         * include/sys/time.h: Likewise.
37746         * include/sys/uio.h: Likewise.
37747         * include/time.h: Likewise.
37748         * include/unistd.h: Likewise.
37749         * include/utmp.h: Likewise.
37750         * include/wchar.h: Likewise.
37751         * include/wctype.h: Likewise.
37752         * inet/aliases.h: Likewise.
37753         * inet/arpa/inet.h: Likewise.
37754         * inet/netinet/ether.h: Likewise.
37755         * inet/netinet/in.h: Likewise.
37756         * intl/libintl.h: Likewise.
37757         * io/bits/fcntl2.h: Likewise.
37758         * io/fcntl.h: Likewise.
37759         * io/ftw.h: Likewise.
37760         * io/sys/poll.h: Likewise.
37761         * io/sys/stat.h: Likewise.
37762         * io/sys/statfs.h: Likewise.
37763         * io/sys/statvfs.h: Likewise.
37764         * io/utime.h: Likewise.
37765         * libio/bits/stdio.h: Likewise.
37766         * libio/bits/stdio2.h: Likewise.
37767         * libio/libio.h: Likewise.
37768         * libio/libioP.h: Likewise.
37769         * libio/stdio.h: Likewise.
37770         * locale/lc-ctype.c: Likewise.
37771         * locale/locale.h: Likewise.
37772         * login/utmp.h: Likewise.
37773         * malloc/arena.c: Likewise.
37774         * malloc/malloc.c: Likewise.
37775         * malloc/malloc.h: Likewise.
37776         * malloc/mcheck.c: Likewise.
37777         * malloc/mtrace.c: Likewise.
37778         * math/bits/mathcalls.h: Likewise.
37779         * math/fenv.h: Likewise.
37780         * math/math_private.h: Likewise.
37781         * misc/bits/error.h: Likewise.
37782         * misc/bits/syslog.h: Likewise.
37783         * misc/err.h: Likewise.
37784         * misc/error.h: Likewise.
37785         * misc/fstab.h: Likewise.
37786         * misc/mntent.h: Likewise.
37787         * misc/regexp.h: Likewise.
37788         * misc/search.h: Likewise.
37789         * misc/sgtty.h: Likewise.
37790         * misc/sys/mman.h: Likewise.
37791         * misc/sys/syslog.h: Likewise.
37792         * misc/sys/uio.h: Likewise.
37793         * misc/sys/xattr.h: Likewise.
37794         * misc/ttyent.h: Likewise.
37795         * nis/rpcsvc/ypclnt.h: Likewise.
37796         * nss/nss.h: Likewise.
37797         * posix/bits/unistd.h: Likewise.
37798         * posix/fnmatch.h: Likewise.
37799         * posix/glob.h: Likewise.
37800         * posix/sched.h: Likewise.
37801         * posix/spawn.h: Likewise.
37802         * posix/sys/wait.h: Likewise.
37803         * posix/unistd.h: Likewise.
37804         * posix/wordexp.h: Likewise.
37805         * pwd/pwd.h: Likewise.
37806         * resolv/netdb.h: Likewise.
37807         * resource/sys/resource.h: Likewise.
37808         * rt/aio.h: Likewise.
37809         * rt/bits/mqueue2.h: Likewise.
37810         * rt/mqueue.h: Likewise.
37811         * shadow/shadow.h: Likewise.
37812         * signal/signal.h: Likewise.
37813         * socket/send.c: Likewise.
37814         * socket/sendto.c: Likewise.
37815         * socket/sys/socket.h: Likewise.
37816         * stdio-common/printf.h: Likewise.
37817         * stdlib/bits/stdlib.h: Likewise.
37818         * stdlib/fmtmsg.h: Likewise.
37819         * stdlib/monetary.h: Likewise.
37820         * stdlib/stdlib.h: Likewise.
37821         * stdlib/ucontext.h: Likewise.
37822         * streams/stropts.h: Likewise.
37823         * string/argz.h: Likewise.
37824         * string/bits/string2.h: Likewise.
37825         * string/string.h: Likewise.
37826         * string/strings.h: Likewise.
37827         * sunrpc/rpc/auth.h: Likewise.
37828         * sunrpc/rpc/auth_des.h: Likewise.
37829         * sunrpc/rpc/clnt.h: Likewise.
37830         * sunrpc/rpc/netdb.h: Likewise.
37831         * sunrpc/rpc/pmap_clnt.h: Likewise.
37832         * sunrpc/rpc/xdr.h: Likewise.
37833         * sysdeps/generic/inttypes.h: Likewise.
37834         * sysdeps/generic/net/if.h: Likewise.
37835         * sysdeps/generic/sys/swap.h: Likewise.
37836         * sysdeps/gnu/net/if.h: Likewise.
37837         * sysdeps/gnu/utmpx.h: Likewise.
37838         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37839         * sysdeps/i386/i486/bits/string.h: Likewise.
37840         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37841         * sysdeps/s390/bits/string.h: Likewise.
37842         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37843         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37844         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37845         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37846         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37847         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37848         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37849         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37850         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37851         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37852         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37853         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37854         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37855         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37856         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37857         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37858         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37860         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37862         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37863         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37864         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37865         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37866         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37867         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37868         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37869         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37870         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37871         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37872         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37873         * sysvipc/sys/ipc.h: Likewise.
37874         * sysvipc/sys/msg.h: Likewise.
37875         * sysvipc/sys/sem.h: Likewise.
37876         * sysvipc/sys/shm.h: Likewise.
37877         * termios/termios.h: Likewise.
37878         * time/sys/time.h: Likewise.
37879         * time/time.h: Likewise.
37880         * wcsmbs/bits/wchar2.h: Likewise.
37881         * wcsmbs/uchar.h: Likewise.
37882         * wcsmbs/wchar.h: Likewise.
37883         * wctype/wctype.h: Likewise.
37885         [BZ #13551]
37886         * Makeconfig: Remove all but ELF support including AIX support.
37887         * Makerules: Likewise.
37888         * config.h.in: Likewise.
37889         * config.make.in: Likewise.
37890         * configure: Likewise.
37891         * configure.in: Likewise.
37892         * csu/Makefile: Likewise.
37893         * csu/version.c: Likewise.
37894         * debug/Makefile: Likewise.
37895         * dlfcn/Makefile: Likewise.
37896         * elf/Makefile: Likewise.
37897         * extra-lib.mk: Likewise.
37898         * iconv/Makefile: Likewise.
37899         * include/libc-symbols.h: Likewise.
37900         * include/shlib-compat.h: Likewise.
37901         * resolv/Makefile: Likewise.
37902         * resolv/res_libc.c: Likewise.
37903         * rt/Makefile: Likewise.
37904         * sysdeps/i386/asm-syntax.h: Likewise.
37905         * sysdeps/i386/sysdep.h: Likewise.
37906         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37907         * sysdeps/mach/sysdep.h: Likewise.
37908         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37909         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37910         * sysdeps/s390/asm-syntax.h: Likewise.
37911         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37912         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37913         * sysdeps/sh/sysdep.h: Likewise.
37914         * sysdeps/unix/sparc/sysdep.h: Likewise.
37915         * sysdeps/wordsize-32/divdi3.c: Likewise.
37916         * sysdeps/x86_64/sysdep.h: Likewise.
37918         * argp/Versions: Remove _argp_unlock_xxx.
37920         [BZ #13559]
37921         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37922         * abilist/libBrokenLocale.abilist: Likewise.
37923         * abilist/libanl.abilist: Likewise.
37924         * abilist/libc.abilist: Likewise.
37925         * abilist/libcrypt.abilist: Likewise.
37926         * abilist/libdl.abilist: Likewise.
37927         * abilist/libm.abilist: Likewise.
37928         * abilist/libnsl.abilist: Likewise.
37929         * abilist/libpthread.abilist: Likewise.
37930         * abilist/libresolv.abilist: Likewise.
37931         * abilist/librt.abilist: Likewise.
37932         * abilist/libthread_db.abilist: Likewise.
37933         * abilist/libutil.abilist: Likewise.
37934         * abilist/libnss_db.abilist: New file.
37936         * scripts/abilist.awk: Add support for indirect functions.
37938         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37940         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37942         * shlib-versions: Remove entries for ports architectures.
37944         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37945         files in ports.
37946         * elf/stackguard-macros.h: Remove support for IA-64.
37947         * elf/tst-auditmod1.c: Likewise.
37948         * sysdeps/generic/ldsodefs.h: Likewise.
37950         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37951         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37952         configure files.
37954         [BZ #13552]
37955         * configure.in: Remove --enable-omitfp support.
37956         * FAQ.in: Adjust.
37957         * config.make.in: Likewise.
37958         * Makeconfig: Likewise.
37959         * manual/install.texi: Likewise.
37961         In case anyone cares, the IA-64 architecture could move to ports.
37962         * sysdeps/ia64/*: Removed.
37963         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37964         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37966         [BZ #13555]
37967         * configure.in: Remove entries for unsupported architectures.
37969         [BZ #13533]
37970         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37971         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37972         routines.
37973         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37974         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37975         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37976         fall back to using wcrtomb.
37977         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37978         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37979         renaming.
37980         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37981         * wcsmbs/tst-c16c32-1.c: New file.
37983         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37984         local variable.
37986         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37988         * elf/tst-unique3.cc: Add explicit declaration of gets.
37989         * elf/tst-unique3lib.cc: Likewise.
37990         * elf/tst-unique3lib2.cc: Likewise.
37991         * elf/tst-unique4.cc: Likewise.
37993         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37995 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37997         [BZ #13566]
37998         * assert/assert.h (static_assert): Don't define for C++.
37999         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38000         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38002 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38004         * iconv/loop.c (single loop): Fix assertion in storing of
38005         remaining bytes.
38007         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38009 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38011         * posix/getconf.c: Update copyright year.
38012         * nss/getent.c: Likewise.
38013         * nss/makedb.c: Likewise.
38014         * iconv/iconvconfig.c: Likewise.
38015         * iconv/iconv_prog.c: Likewise.
38016         * elf/ldconfig.c: Likewise.
38017         * elf/pldd.c: Likewise.
38018         * elf/sotruss.ksh: Likewise.
38019         * catgets/gencat.c: Likewise.
38020         * csu/version.c: Likewise.
38021         * elf/ldd.bash.in: Likewise.
38022         * elf/sprof.c (print_version): Likewise.
38023         * locale/programs/locale.c: Likewise.
38024         * locale/programs/localedef.c: Likewise.
38025         * login/programs/pt_chown.c: Likewise.
38026         * nscd/nscd.c (print_version): Likewise.
38027         * debug/xtrace.sh: Likewise.
38028         * malloc/memusage.sh: Likewise.
38029         * malloc/mtrace.pl: Likewise.
38030         * debug/catchsegv.sh: Likewise.
38032 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38034         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38035         pure attribute.
38037 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38039         [BZ #13533]
38040         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38041         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38042         transformations.
38043         * iconv/gconv_int.h: Likewise.
38044         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38045         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38046         from libc for GLIBC_2.16.
38047         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38048         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38049         * wcsmbs/uchar.h: Really define mbstate_t.
38050         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38051         * wcsmbs/c16rtomb.c: New file.
38052         * wcsmbs/mbrtoc16.c: New file.
38053         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38054         for C/POSIX locale.
38055         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38056         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38058         * wcsmbs/wchar.h: Add missing __restrict.
38060 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38062         [BZ #13532]
38063         * time/Makefile (routines): Add timespec_get.
38064         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38065         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38066         timespec for ISO C11.
38067         * time/timespec_get.c: New file.
38068         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38069         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38071         [BZ #13531]
38072         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38073         * stdlib/stdlib.h: Declare aligned_alloc.
38074         * Versions.def: Add GLIBC_2.16 for libc.
38075         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38077         [BZ 13527]
38078         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38079         ISO C11.
38081         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38082         code.
38084         [BZ #13528]
38085         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38087         [BZ #13529]
38088         * assert/assert.h (static_assert): Define.
38090         * version.h: Update for 2.16 development version.
38092         [BZ #13526]
38093         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38094         _ISOC11_SOURCE.
38096         * version.h (RELEASE): Bump for 2.15 release.
38097         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38099         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38100         Patch by Marek Polacek <mpolacek@redhat.com>.
38102         * bits/byteswap.h: Protect long long constants with __extension__.
38103         * sysdeps/i386/bits/byteswap.h: Likewise.
38104         * sysdeps/ia64/bits/byteswap.h: Likewise.
38105         * sysdeps/s390/bits/byteswap.h: Likewise.
38106         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38108 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38110         [BZ #13540]
38111         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38112         destination buffer.
38113         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38115 2011-12-23  Marek Polacek  <polacek@redhat.com>
38117         * elf/dl-addr.c (determine_info): Add inline keyword.
38118         * elf/tst-auditmod4b.c (check_avx): Likewise.
38119         * elf/tst-auditmod6b.c (check_avx): Likewise.
38120         * elf/tst-auditmod6c.c (check_avx): Likewise.
38121         * elf/tst-auditmod7b.c (check_avx): Likewise.
38123 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38125         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38126         !__SSE_MATH__.
38128 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38130         [BZ #13540]
38131         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38132         processing for last bytes.
38134 2011-08-06  Bruno Haible  <bruno@clisp.org>
38136         [BZ #13061]
38137         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38138         U+0385, not to U+1FEE.
38140         [BZ #13062]
38141         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38142         entry for U+00A5 U+0301.
38144 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38146         [BZ #13166]
38147         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38148         buffer for the output is too small.
38150         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38151         optimization.
38153         [BZ #13185]
38154         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38155         SSE flags if possible.
38157 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38159         [BZ #13540]
38160         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38161         processing for last bytes.
38163 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38165         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38166         (syscall-list-default-options, syscall-list-default-condition)
38167         (syscall-list-includes): Define.
38168         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38169         list of ABIs and options and #if conditions for each ABI.  Do not
38170         handle common syscalls between ABIs specially.
38171         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38172         Remove.
38173         (syscall-list-variants, syscall-list-32bit-options)
38174         (syscall-list-32bit-condition, syscall-list-64bit-options)
38175         (syscall-list-64bit-condition): Define.
38176         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38177         (syscall-list-variants, syscall-list-32bit-options)
38178         (syscall-list-32bit-condition, syscall-list-64bit-options)
38179         (syscall-list-64bit-condition): Define.
38180         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38181         Remove.
38182         (syscall-list-variants, syscall-list-32bit-options)
38183         (syscall-list-32bit-condition, syscall-list-64bit-options)
38184         (syscall-list-64bit-condition): Define.
38185         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38186         Remove.
38187         (syscall-list-variants, syscall-list-32bit-options)
38188         (syscall-list-32bit-condition, syscall-list-64bit-options)
38189         (syscall-list-64bit-condition): Define.
38191 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38193         * locale/iso-639.def: Add brx entry.
38195         [BZ #13328]
38196         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38197         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38199         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38200         __feraiseexcept_renamed.
38202 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38204         [BZ #13538]
38205         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38206         EPOLLET with unsigned values.
38207         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38208         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38210         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38211         to large cancellation.
38212         * math/s_cacoshf.c: Likewise.
38213         * math/s_cacoshl.c: Likewise.
38215 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38217         [BZ #13305]
38218         [BZ #12786]
38219         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38220         * math/s_cacoshf.c: Likewise.
38221         * math/s_cacoshl.c: Likewise.
38223 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38225         [BZ #13439]
38226         * iconv/gconv.h: Define __GCONV_SWAP.
38227         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38228         * iconvdata/utf-16.c: Likewise.
38229         * iconvdata/utf-32.c: Likewise.
38231 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38233         [BZ #13524]
38234         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38235         numerator after shifting it by one limb.
38237 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38239         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38240         under [__USE_EXTERN_INLINES].
38242 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38244         [BZ #13446]
38245         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38247 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38249         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38250         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38251         optimized code.
38252         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38253         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38254         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38255         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38256         for strncasecmp/strncasecmp_l compilation.
38257         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38258         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38260 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38262         [BZ #13484]
38263         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38264         of __asm__.
38266 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38268         [BZ #13506]
38269         * time/tzfile.c (__tzfile_read): Check values from file header.
38271 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38273         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38274         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38275         * powerpc/powerpc32/dl-start.S: Likewise.
38276         * powerpc/powerpc32/elf/start.S: Likewise.
38277         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38278         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38279         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38280         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38281         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38282         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38283         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38284         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38285         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38286         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38287         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38288         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38289         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38290         * powerpc/powerpc32/memset.S: Likewise.
38291         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38292         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38293         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38294         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38295         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38296         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38297         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38298         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38299         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38300         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38301         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38302         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38303         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38305 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38307         * math/libm-test.inc: Added more nearbyint tests.
38308         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38309         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38310         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38311         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38313 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38315         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38316         FD_CLOEXEC.
38318 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38320         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38321         Add wcscpy-ssse3 wcscpy-c.
38322         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38323         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38324         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38325         * sysdeps/x86_64/wcschr.S: New file.
38326         * sysdeps/x86_64/wcsrchr.S: New file.
38327         * string/test-strcmp.c: Remove checking of wcscmp function for
38328         wrong alignments.
38329         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38330         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38331         wcsrchr-sse2 wcsrchr-c.
38332         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38333         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38334         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38335         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38336         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38337         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38338         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38339         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38340         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38341         * wcsmbc/wcschr.c (WCSCHR): New macro.
38343 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38345         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38346         * wcsmbs/test-wcsrchr.c: New file.
38347         * string/test-strrchr.c: Add wcsrchr support.
38348         (WIDE): New macro.
38349         * wcsmbs/test-wcscpy.c: New file.
38350         * string/test-strcpy.c: Add wcscpy support.
38351         (WIDE): New macro.
38353 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38355         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38356         the inner loop.
38358 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38360         [BZ #13472]
38361         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38363 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38365         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38366         Minor optimizations.
38368         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38369         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38370         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38372 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38374         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38375         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38376         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38377         for gcc to avoid warnings.
38378         * inet/Makefile (tests): Add tst-checks.
38379         * inet/tst-checks.c: New file.
38381         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38382         warning.
38384         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38385         __wmemcmp_sse2.
38387         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38388         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38390         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38392 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38394         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38395         problem.
38397         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38399 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38401         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38402         conditional on GCC version.
38403         (__arch_compare_and_exchange_val_8_acq)
38404         (__arch_compare_and_exchange_val_16_acq)
38405         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38406         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38407         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38409 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38411         * sysdeps/sh/backtrace.c: New file.
38413 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38415         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38416         parenthesis.
38418 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38420         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38421         falling back to utime.
38423 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38425         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38426         expectations for float.
38428 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38430         * locale/weight.h (findidx): Add parameter len.
38431         * locale/weightwc.h (findidx): Likewise.
38432         * posix/fnmatch_loop.c (FCT): Adjust caller.
38433         * posix/regcomp.c (build_equiv_class): Likewise.
38434         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38435         * posix/regexec.c (check_node_accept_bytes): Likewise.
38436         * string/strcoll_l.c (STRCOLL): Likewise.
38437         * string/strxfrm_l.c (STRXFRM): Likewise.
38439 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38441         * Makefile.in: Remove CVSOPT handling.
38442         * configure.in: Remove use of AC_REVISION.
38443         * iconvdata/Makefile (distribute): No need to filter out CVS.
38444         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38445         handling.
38447 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38449         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38450         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38451         [USE_AS_STRNCASECMP_L]: Likewise.
38452         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38453         NO_TLS_DIRECT_SEG_REFS.
38454         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38455         Fix argument offsets for non-PIC.
38456         [USE_AS_STRNCASECMP_L]: Likewise.
38457         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38458         NO_TLS_DIRECT_SEG_REFS.
38460 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38462         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38463         O_CLOEXEC.
38464         * locale/loadlocale.c (_nl_load_locale): Likewise.
38466 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38468         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38469         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38470         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38471         (SYSCALL_GETTIME): Set errno on error.
38473         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38474         count references to noai6ai_cached.
38476 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38478         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38480         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38481         FD_CLOEXEC for /proc/self/maps.
38483         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38484         FD_CLOEXEC for /proc/meminfo.
38486         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38487         gai.conf.
38489         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38490         FD_CLOEXEC for given file.
38492         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38494         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38495         FD_CLOEXEC for /etc/hosts.
38496         (_gethtent): Likewise.
38498         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38500         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38501         cancellation and set FD_CLOEXEC for /etc/netgroup.
38503         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38504         reading /etc/publickey.
38506         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38507         allow cancellation when reading /etc/group.
38509         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38510         cancellation.
38511         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38513         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38514         when using data file.
38516         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38518         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38519         (write_nis_obj): Use "c" and "e" in fopen.
38521         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38523         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38525         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38527         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38529         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38530         locale.alias.
38532         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38534         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38536         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38538         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38539         file parsing and set FD_CLOEXEC.
38541 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38543         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38545 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38547         * malloc/arena.c (arena_get2): Don't call reused_arena when
38548         _int_new_arena failed.
38550 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38552         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38553         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38554         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38555         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38556         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38557         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38558         to compile strcasecmp and strncasecmp.
38559         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38560         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38564 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38566         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38567         locale-defines.sym to gen-as-const-headers.
38568         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38569         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38571         to compile strcasecmp and strncasecmp.
38572         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38573         strcasecmp_l and strncasecmp_l.
38574         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38575         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38576         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38577         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38578         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38579         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38580         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38581         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38582         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38583         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38584         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38586 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38588         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38589         result of SYSDEP_GETTIME_CPU to retval.
38590         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38591         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38593         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38594         variable.
38596         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38597         mantissa words.
38598         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38600         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38601         from unused variable.
38603         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38604         DWARF definitions.
38605         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38606         for assembling.
38608         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38609         over namespaces.
38611         * sunrpc/rpc_prot.c (rejected): Fix case value.
38613         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38614         unsigned long long int to avoid warnings in shift.
38616         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38617         of use of trans.
38618         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38619         variable tmp.
38621         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38622         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38623         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38625         * nis/nis_table.c (nis_list): Use variable of correct type for
38626         result of __follow_path call.
38628 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38630         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38631         of math functions ceil, trunc, floor, round, and sqrt, when
38632         avaliable on the platform.
38633         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38634         name clash.
38635         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38636         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38637         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38639 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38641         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38642         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38644 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38646         * include/unistd.h: Fix __readlink return type.
38647         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38649 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38651         * stdlib/ucontext.h: Undo last change for makecontext.
38653 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38655         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38657         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38658         * setjmp/setjmp.h: Mark functions as non-leaf.
38659         * setjmp/bits/setjmp2.h: Likewise.
38660         * stdlib/ucontext.h: Likewise.
38662 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38664         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38665         (reused_arena): Don't check arena limit.
38666         (arena_get2): Atomically check arena limit.
38668 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38670         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38671         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38674         instructions.
38676 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38678         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38679         handler when locking.
38681         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38682         Fix size of allocated buffer.
38684 2011-11-04  Andreas Schwab  <schwab@redhat.com>
38686         [BZ #10103]
38687         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38688         declarations for long double functions.
38689         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38691         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38693 2011-11-03  Andreas Schwab  <schwab@redhat.com>
38695         * nscd/nscd.c (main): Don't start AVC thread until credentials are
38696         installed.
38698         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38699         is disabled.
38701 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38703         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38705 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38707         * include/alloca.h (stackinfo_alloca_round): Define.
38708         (extend_alloca): Use it.
38709         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38710         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38711         here.
38713         * scripts/check-local-headers.sh: Ignore libaudit.h.
38715         * nscd/Makefile (extra-objs): Make recursively expanded.
38717 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
38719         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38720         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38722         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38723         * posix/tst-rfc3484-2.c: Likewise.
38724         * posix/tst-rfc3484-3.c: Likewise.
38726         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38727         process_vm_writev.
38728         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38729         process_vm_writev.
38730         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38731         process_vm_writev from libc using GLIBC_2.15 version.
38733         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38735 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
38737         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38738         stack usage.
38740 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
38742         [BZ #13367]
38743         * nss/getent.c (initgroups_keys): Show error message in case no group
38744         names are given.
38746         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38747         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38748         __bump_nl_timestamp.
38749         * nscd/connections (nscd_init): When host database is served open
38750         netlink socket and request notification about configuration changes.
38751         (main_loop_poll): Track netlink file descriptor and bump timestamp
38752         in case data becomes available.
38753         (main_loop_epoll): Likewise.
38754         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38755         (database_pers_head): Add extra_data fileds.
38756         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38757         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38758         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38759         Adjust caller.
38760         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38761         in6ai data, call __free_in6ai.
38762         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38763         Add -DHAVE_NETLINK.
38764         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38765         interface information.  Reuse previous data if netlink timestamp
38766         is not changed.
38767         (__bump_nl_timestamp): New function.
38768         (__free_in6ai): New function.
38770 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38772         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38773         close_not_cancel_no_status here.
38774         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38776 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38778         [BZ #13276]
38779         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38780         return value.
38782         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38783         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38784         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38786 2011-07-03  Andreas Jaeger  <aj@suse.de>
38788         [BZ #10709]
38789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38790         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38791         * math/libm-test.inc (sin_test): Add test case.
38793 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38795         [BZ #13337]
38796         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38797         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38799         * elf/chroot_canon.c (chroot_canon): Cleanups.
38801         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38803         [BZ #13335]
38804         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38805         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38807         * string/test-strchr.c: Make usable for strchrnul testing.
38808         * string/test-strchrnul.c: New file.
38809         * string/Makefile (strop-tests): Add strchrnul.
38811         * po/it.po: Update from translation team.
38812         * po/es.po: Likewise.
38814 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38816         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38817         the three constants needed as parameters.  Drop the others.
38818         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38819         __m128i_strloadu_tolower.
38820         Create and initialize variable zero and use it in all the places
38821         where _mm_setzero_si128 was used.
38823         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38824         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38825         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38826         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38827         anymore.
38828         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38829         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38830         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38831         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38832         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38833         __mpranred, __mptan.
38834         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38835         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38836         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38837         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38838         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38839         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38840         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38841         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38842         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38844 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38846         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38847         redefine if SHARED.
38848         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38851         wide char related routines to wcsmbs subdir.
38853 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38855         [BZ #13344]
38856         * misc/sys/cdefs.h (__THROWNL): Define.
38857         * posix/unistd.h: Use __THREADNL instead of __THREAD
38858         for memory synchronization functions.
38860 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38862         [BZ #13349]
38863         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38864         doesn't exist.
38865         * manual/stdio.texi (Obstack Streams): Node removed.
38867 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38869         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38870         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38871         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38873         * math/math_private.h (math_force_eval): Allow non-addressable
38874         arguments.
38875         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38877 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38879         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38880         file is not needed.
38882         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38883         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38884         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38885         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38886         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38887         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38888         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38889         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38890         Add AVX variants.
38891         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38892         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38893         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38894         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38895         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38896         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38897         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38898         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38899         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38900         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38901         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38902         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38903         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38904         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38905         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38906         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38907         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38908         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38909         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38911         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38912         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38914         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38915         place.  Use VEX encoding when compiling for AVX.
38917 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38919         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38920         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38922         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38924 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38926         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38927         useless if() expression.
38928         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38929         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38930         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38931         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38932         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38933         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38936         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38937         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38938         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38939         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38940         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38941         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38942         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38943         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38946         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38948         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38950 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38952         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38953         condition.
38954         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38956 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38958         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38959         .text section.  Avoid duplicate constants.
38960         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38961         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38962         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38963         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38964         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38966         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38967         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38968         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38969         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38970         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38971         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38972         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38973         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38974         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38975         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38976         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38977         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38978         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38980         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38981         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38982         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38983         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38984         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38985         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38986         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38987         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38988         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38989         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38990         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38991         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38992         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38993         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38994         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38995         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38996         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38997         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38998         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38999         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39000         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39001         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39002         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39003         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39004         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39006 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39008         * sysdeps/x86_64/dla.h: Move to ...
39009         * sysdeps/x86_64/fpu/dla.h: ...here.
39010         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39011         situations.  Use __builtin_fma only for gcc 4.6 and up.
39013         * config.make.in: Add have-mfma4 entry.
39014         * configure.in: Substitute libc_cv_cc_fma4.
39015         * math/Makefile (dbl-only-routines): Add sincostab.
39016         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39017         Use __sincostab not sincos.
39018         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39019         name is a macro.
39020         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39023         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39024         using __copysign.
39025         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39026         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39027         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39028         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39029         and __inv.
39030         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39031         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39032         __copysign.
39033         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39034         define aliases when function name is a macro.
39035         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39036         sysdeps/ieee754/dbl-64/sincos.tbl.
39037         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39038         fma4-enabled routines.
39039         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39040         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39041         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39042         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39043         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39044         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39045         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39046         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39047         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39048         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39049         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39050         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39051         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39052         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39053         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39054         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39055         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39056         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39057         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39058         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39059         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39060         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39061         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39062         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39063         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39064         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39065         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39066         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39067         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39068         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39070         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39071         rename.
39072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39073         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39079         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39081 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39083         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39085 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39087         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39089         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39090         prediction.
39091         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39093         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39094         Remove unused variable magic_bits.
39095         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39097         * string/strnlen.c: Define and use STRNLEN macro.
39098         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39099         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39101         * wcsmbs/wcslen.c: Define and use WCSLEN.
39102         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39103         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39104         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39105         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39106         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39107         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39108         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39110 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39113         strnlen-sse2-no-bsf.
39114         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39115         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39116         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39117         Add strnlen support.
39118         (USE_AS_STRNLEN): New macro.
39119         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39120         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39121         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39122         * sysdeps/x86_64/wcslen.S: New file.
39124 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39126         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39127         XMM-moves are used for copying on small sizes.
39129 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39131         * wcsmbs/Makefile (strop-tests): Add wcschr.
39132         * wcsmbs/test-wcschr.c: New file.
39133         * string/test-strchr.c: Update.
39134         Add wcschr support.
39135         (WIDE): New macro.
39137 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39139         * wcsmbs/Makefile (strop-tests): Add wcslen.
39140         * wcsmbs/test-wcslen.c: New file.
39141         * string/test-strlen.c: Update.
39142         Add wcslen support.
39143         (WIDE): New macro.
39145 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39147         * po/it.po: Update from translation team.
39149 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39151         * sysdeps/x86_64/wcscmp.S: Update.
39152         Fix wrong comparison semantics.
39153         wcscmp shall use signed comparison not unsigned.
39154         Don't use substraction to avoid overflow bug.
39155         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39156         * wcsmbc/wcscmp.c: Likewise.
39157         * string/test-strcmp.c: Likewise.
39158         Add new tests to check cases with negative values.
39160 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39162         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39163         * sysdeps/x86_64/dla.h: ...here.  New file.
39164         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39169         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39170         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39171         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39174 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39177         __ynl_finite aliases.
39179 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39183         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39184         define DLA_FMA.
39185         [DLA_FMA] (EMULV): Use DLA_FMA.
39186         [DLA_FMA] (MUL12): Use EMULV.
39187         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39188         that are not needed.
39189         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39190         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39194         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39195         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39197 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39199         * math/s_nan.c: Undef __nan.
39200         * math/s_nanf.c: Undef __nanf.
39201         * math/s_nanl.c: Undef __nanl.
39202         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39203         "math_private.h".
39205 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39207         * math/s_catan.c: Add branch predictions.
39208         * math/s_catanf.c: Likewise.
39209         * math/s_catanh.c: Likewise.
39210         * math/s_catanhf.c: Likewise.
39211         * math/s_catanhl.c: Likewise.
39212         * math/s_catanl.c: Likewise.
39213         * math/s_cexp.c: Likewise.
39214         * math/s_cexpf.c: Likewise.
39215         * math/s_cexpl.c: Likewise.
39216         * math/s_clog.c: Likewise.
39217         * math/s_clog10.c: Likewise.
39218         * math/s_clog10f.c: Likewise.
39219         * math/s_clog10l.c: Likewise.
39220         * math/s_clogf.c: Likewise.
39221         * math/s_clogl.c: Likewise.
39222         * math/s_csqrt.c: Likewise.
39223         * math/s_csqrtf.c: Likewise.
39224         * math/s_csqrtl.c: Likewise.
39225         * math/s_ctanf.c: Likewise.
39226         * math/s_ctanh.c: Likewise.
39227         * math/s_ctanhf.c: Likewise.
39228         * math/s_ctanhl.c: Likewise.
39229         * math/s_ctanl.c: Likewise.
39231         * math/math_private.h: Define __nan, __nanf, __nanl.
39232         * math/s_cacosh.c: Include <math_private.h>.
39233         * math/s_cacoshl.c: Likewise.
39234         * math/s_casinh.c: Likewise.
39235         * math/s_casinhf.c: Likewise.
39236         * math/s_casinhl.c: Likewise.
39237         * math/s_ccos.c: Rely entire on ccosh.
39238         * math/s_ccosf.c: Rely entire on ccoshf.
39239         * math/s_ccosl.c: Rely entirely on ccoshl.
39240         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39241         Remove tests for FE_INVALID.
39242         * math/s_ccoshf.c: Likewise.
39243         * math/s_ccoshl.c: Likewise.
39244         * math/s_csin.c: Likewise.
39245         * math/s_csinf.c: Likewise.
39246         * math/s_csinh.c Likewise.
39247         * math/s_csinhf.c: Likewise.
39248         * math/s_csinhl.c: Likewise.
39249         * math/s_csinl.c: Likewise.
39250         * math/s_ctan.c: Likewise.
39251         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39252         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39253         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39255 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39258         compilation problems.
39260         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39261         __builtin_expect.
39263 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39265         * sysdeps/i386/configure.in: Test for -mfma4 option.
39266         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39267         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39268         COMMON_CPUID_INDEX_80000001.
39269         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39270         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39271         use it if FMA3 is not supported.
39272         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39274         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39275         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39277 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39279         [BZ #12892]
39280         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39281         it would create a cycle with a link time dependency.
39283 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39285         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39286         instruction.
39287         * string/Makefile (strop-tests): Add rawmemchr.
39288         * string/test-rawmemchr.c: New file.
39290         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39291         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39292         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39293         when compiling str{,n}casecmp and when AVX is available.  Hook up
39294         new optimized code in initializers.
39296 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39298         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39299         __feraiseexcept instead of feraiseexcept.
39301 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39303         * math/math_private.h: Define defaults for libc_fetestexcept and
39304         libc_feupdateenv.
39305         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39306         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39307         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39308         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39309         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39310         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39311         libc_fetestexcept and libc_feupdateenv.
39313         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39314         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39315         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39316         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39317         libc_feholdexcept_setround.
39319         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39320         Add s_nearbyint-c and s_nearbyintf-c.
39321         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39322         nearbyintf inlines.
39323         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39324         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39325         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39326         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39328         * math/math_private.h: Define defaults for libc_fegetround,
39329         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39330         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39331         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39332         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39333         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39334         standard functions.
39335         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39336         Remove comments and hacks for old compiler versions.
39337         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39338         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39339         libc_feholdexceptl.
39341 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39343         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39344         (__feraiseexcept_renamed): Add __NTH.
39345         (feraiseexcept): Add __NTH.  Rename local variables to fix
39346         namespace violations.
39348 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39350         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39352         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39354         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39355         recently added interfaces.
39356         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39358         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39359         about macro parameter expansion.
39361         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39362         __NO_MATH_INLINES is defined.  Cleanups.
39364         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39365         and __floorf is target has SSE4.1.
39366         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39367         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39368         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39369         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39371         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39372         name.
39373         (floorf): Likewise.
39375         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39377 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39379         * misc/sys/cdefs.h: Fix last change.
39381         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39382         database lookup.
39384 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39386         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39388         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39389         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39390         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39391         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39392         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39393         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39394         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39395         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39396         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39397         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39398         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39399         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39400         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39401         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39402         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39403         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39404         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39405         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39406         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39407         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39408         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39409         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39411         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39412         ceil, ceilf, floor, floorf.
39414         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39415         Perform IRELATIVE relocations last.
39417         * elf/do-rel.h: Add another parameter nrelative, replacing the
39418         local variable with the same name.  Change name of the function
39419         to end in Rel or Rela (uppercase).
39420         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39421         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39422         elf_dynamic_do_##reloc function.
39424 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39426         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39427         is sufficient, at least on modern CPUs.
39429         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39431         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39434         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39435         __expl_finite.
39436         * math/bits/math-finite.h: Add entries for exp.
39437         * math/e_expl.c: Add __*_finite alias.
39438         * sysdeps/i386/fpu/e_exp.S: Likewise.
39439         * sysdeps/i386/fpu/e_expf.S: Likewise.
39440         * sysdeps/i386/fpu/e_expl.c: Likewise.
39441         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39442         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39443         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39445         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39446         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39447         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39449         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39450         is sufficient, at least on modern CPUs.
39452         * ctype/ctype-info.c (__ctype_init): Define.
39453         * include/ctype.h (__ctype_init): Declare.
39454         (__ctype_b_loc): The variable is always initialized.
39455         (__ctype_toupper_loc): Likewise.
39456         (__ctype_tolower_loc): Likewise.
39457         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39458         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39460 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39462         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39464         * configure.in: Also look in $cxxmachine/include for C++ system
39465         headers.
39467 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39469         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39470         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39471         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39472         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39473         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39474         (USE_AS_WMEMCMP): New macro.
39475         Fixing indents.
39476         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39477         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39478         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39479         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39481         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39482         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39483         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39484         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39485         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39486         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39487         (USE_AS_WMEMCMP): New macro.
39488         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39489         * sysdeps/string/test-memcmp.c: Update.
39490         Fix simple_wmemcmp.
39491         Add new tests.
39492         * wcsmbs/wmemcmp.c: Update.
39493         (WMEMCMP): New macro.
39494         Fix overflow bug.
39496 2011-10-12  Andreas Jaeger  <aj@suse.de>
39498         [BZ #13268]
39499         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39501 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39503         * libio/iofwide.c (do_length): Avoid warning.
39505         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39507 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39509         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39511         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39512         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39513         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39514         * sysdeps/i386/i686/fpu/e_log.S: New file.
39515         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39516         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39518         * ctype/ctype.h: Add support for inlined isXXX functions when
39519         compiling C++ code.
39521 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39523         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39525         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39527 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39529         [BZ #13291]
39530         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39532 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39534         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39535         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39536         feraiseexcept.
39538         * sysdeps/x86_64/memrchr.S: Check for zero size.
39540         * string/stratcliff.c: Add memrchr tests.
39542 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39544         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39545         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39546         rawmemchr-sse2 rawmemchr-sse2-bsf.
39547         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39548         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39549         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39550         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39551         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39552         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39553         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39554         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39555         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39556         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39557         * string/memrchr.c (MEMRCHR): New macro.
39559 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39561         Add integration with gcc's -ffinite-math-only and optimize wrapper
39562         functions in libm.
39563         * Versions.def: Define GLIBC_2.15 version for libm.
39564         * math/Makefile (headers): Add bits/math-finite.h.
39565         * math/bits/math-finite.h: New file.
39566         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39567         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39568         * math/e_acoshl.c: Add __*_finite alias.
39569         * math/e_acosl.c: Likewise.
39570         * math/e_asinl.c: Likewise.
39571         * math/e_atan2l.c: Likewise.
39572         * math/e_atanhl.c: Likewise.
39573         * math/e_coshl.c: Likewise.
39574         * math/e_exp10.c: Likewise.
39575         * math/e_exp10f.c: Likewise.
39576         * math/e_exp10l.c: Likewise.
39577         * math/e_exp2l.c: Likewise.
39578         * math/e_fmodl.c: Likewise.
39579         * math/e_gammal_r.c: Likewise.
39580         * math/e_hypotl.c: Likewise.
39581         * math/e_j0l.c: Likewise.
39582         * math/e_j1l.c: Likewise.
39583         * math/e_jnl.c: Likewise.
39584         * math/e_lgammal_r.c: Likewise.
39585         * math/e_log10l.c: Likewise.
39586         * math/e_log2l.c: Likewise.
39587         * math/e_logl.c: Likewise.
39588         * math/e_powl.c: Likewise.
39589         * math/e_sinhl.c: Likewise.
39590         * math/e_sqrtl.c: Likewise.
39591         * math/e_scalb.c: Completely rewritten and optimized.
39592         * math/e_scalbf.c: Likewise.
39593         * math/e_scalbl.c: Likewise.
39594         * math/w_acos.c: Likewise.
39595         * math/w_acosf.c: Likewise.
39596         * math/w_acosl.c: Likewise.
39597         * math/w_acosh.c: Likewise.
39598         * math/w_acoshf.c: Likewise.
39599         * math/w_acoshl.c: Likewise.
39600         * math/w_asin.c: Likewise.
39601         * math/w_asinf.c: Likewise.
39602         * math/w_asinl.c: Likewise.
39603         * math/w_atan2.c: Likewise.
39604         * math/w_atan2f.c: Likewise.
39605         * math/w_atan2l.c: Likewise.
39606         * math/w_atanh.c: Likewise.
39607         * math/w_atanhf.c: Likewise.
39608         * math/w_atanhl.c: Likewise.
39609         * math/w_exp10.c: Likewise.
39610         * math/w_exp10f.c: Likewise.
39611         * math/w_exp10l.c: Likewise.
39612         * math/w_fmod.c: Likewise.
39613         * math/w_fmodf.c: Likewise.
39614         * math/w_fmodl.c: Likewise.
39615         * math/w_j0.c: Likewise.
39616         * math/w_j0f.c: Likewise.
39617         * math/w_j0l.c: Likewise.
39618         * math/w_j1.c: Likewise.
39619         * math/w_j1f.c: Likewise.
39620         * math/w_j1l.c: Likewise.
39621         * math/w_jn.c: Likewise.
39622         * math/w_jnf.c: Likewise.
39623         * math/w_log.c: Likewise.
39624         * math/w_logf.c: Likewise.
39625         * math/w_logl.c: Likewise.
39626         * math/w_log10.c: Likewise.
39627         * math/w_log10f.c: Likewise.
39628         * math/w_log10l.c: Likewise.
39629         * math/w_log2.c: Likewise.
39630         * math/w_log2f.c: Likewise.
39631         * math/w_log2l.c: Likewise.
39632         * math/w_pow.c: Likewise.
39633         * math/w_powf.c: Likewise.
39634         * math/w_powl.c: Likewise.
39635         * math/w_remainder.c: Likewise.
39636         * math/w_remainderf.c: Likewise.
39637         * math/w_remainderl.c: Likewise.
39638         * math/w_scalb.c: Likewise.
39639         * math/w_scalbf.c: Likewise.
39640         * math/w_scalbl.c: Likewise.
39641         * math/w_sqrt.c: Likewise.
39642         * math/w_sqrtf.c: Likewise.
39643         * math/w_sqrtl.c: Likewise.
39644         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39645         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39646         used.
39647         * math/math_private.h: Declare __kernel_standard_f.
39648         * math/w_cosh.c: Remove cruft and optimize a bit.
39649         * math/w_coshf.c: Likewise.
39650         * math/w_coshl.c: Likewise.
39651         * math/w_exp2.c: Likewise.
39652         * math/w_exp2f.c: Likewise.
39653         * math/w_exp2l.c: Likewise.
39654         * math/w_hypot.c: Likewise.
39655         * math/w_hypotf.c: Likewise.
39656         * math/w_hypotl.c: Likewise.
39657         * math/w_lgamma.c: Likewise.
39658         * math/w_lgamma_r.c: Likewise.
39659         * math/w_lgammaf.c: Likewise.
39660         * math/w_lgammaf_r.c: Likewise.
39661         * math/w_lgammal.c: Likewise.
39662         * math/w_lgammal_r.c: Likewise.
39663         * math/w_sinh.c: Likewise.
39664         * math/w_sinhf.c: Likewise.
39665         * math/w_sinhl.c: Likewise.
39666         * math/w_tgamma.c: Likewise.
39667         * math/w_tgammaf.c: Likewise.
39668         * math/w_tgammal.c: Likewise.
39669         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39670         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39671         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39672         Minor optimizations.  Pretty printing.  Remove cruft.
39673         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39674         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39675         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39676         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39677         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39678         * sysdeps/i386/fpu/e_asin.S: Likewise.
39679         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39680         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39681         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39682         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39683         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39684         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39685         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39686         * sysdeps/i386/fpu/e_exp10.S: Likewise.
39687         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39688         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39689         * sysdeps/i386/fpu/e_exp2.S: Likewise.
39690         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39691         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39692         * sysdeps/i386/fpu/e_fmod.S: Likewise.
39693         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39694         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39695         * sysdeps/i386/fpu/e_hypot.S: Likewise.
39696         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39697         * sysdeps/i386/fpu/e_log.S: Likewise.
39698         * sysdeps/i386/fpu/e_log10.S: Likewise.
39699         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39700         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39701         * sysdeps/i386/fpu/e_log2.S: Likewise.
39702         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39703         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39704         * sysdeps/i386/fpu/e_logf.S: Likewise.
39705         * sysdeps/i386/fpu/e_logl.S: Likewise.
39706         * sysdeps/i386/fpu/e_pow.S: Likewise.
39707         * sysdeps/i386/fpu/e_powf.S: Likewise.
39708         * sysdeps/i386/fpu/e_powl.S: Likewise.
39709         * sysdeps/i386/fpu/e_remainder.S: Likewise.
39710         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39711         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39712         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39713         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39714         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39715         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39716         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39717         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39718         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39719         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39721         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39722         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39723         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39724         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39725         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39727         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39728         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39729         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39731         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39732         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39733         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39734         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39735         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39736         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39737         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39738         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39739         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39740         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39741         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39742         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39743         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39744         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39745         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39746         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39747         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39748         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39749         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39750         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39751         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39752         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39753         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39754         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39755         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39756         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39757         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39758         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39759         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39760         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39761         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39762         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39763         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39764         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39765         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39766         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39767         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39768         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39769         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39770         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39771         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39772         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39773         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39774         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39775         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39776         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39777         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39778         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39779         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39780         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39782         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39783         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39784         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39785         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39786         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39787         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39788         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39789         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39790         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39791         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39792         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39793         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39794         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39795         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39796         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39797         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39798         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39799         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39800         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39801         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39802         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39803         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39804         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39805         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39806         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39807         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39808         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39809         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39810         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39811         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39812         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39813         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39814         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39815         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39816         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39817         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39818         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39819         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39820         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39821         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39822         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39823         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39824         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39825         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39826         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39827         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39828         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39829         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39830         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39831         (__isnanf): Likewise.
39832         (__isinf_ns): Likewise.
39833         (__isinf_nsf): Likewise.
39834         (__finite): Likewise.
39835         (__finitef): Likewise.
39836         (__ieee754_sqrt): Define as macro.
39837         (__ieee754_sqrtf): Define as macro.
39838         (__ieee754_sqrtl): Define as macro.
39839         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39840         inlined copy.
39841         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39842         __FINITE_MATH_ONLY__ consistent.
39843         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39845 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39847         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39848         of rawmemchr.
39850         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39852 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39854         * po/ja.po: Update from translation team.
39856 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39858         * locale/programs/locarchive.c (prepare_address_space): New function.
39859         (create_archive, enlarge_archive, open_archive): Use it.
39861         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39862         inside [SHARED], where it is used.
39864         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39866         * nss/getent.c (netgroup_keys): Remove unused variable.
39867         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39869 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39871         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39873         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39874         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39875         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39876         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39877         * math/Makefile (libm-calls): Add s_isinf_ns.
39878         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39879         * math/multc3.c: Likewise.
39880         * math/s_casin.c: Likewise.
39881         * math/s_casinf.c: Likewise.
39882         * math/s_casinl.c: Likewise.
39883         * math/s_ccos.c: Likewise.
39884         * math/s_ccosf.c: Likewise.
39885         * math/s_ccosl.c: Likewise.
39886         * math/s_ctan.c: Likewise.
39887         * math/s_ctanf.c: Likewise.
39888         * math/s_ctanh.c: Likewise.
39889         * math/s_ctanhf.c: Likewise.
39890         * math/s_ctanhl.c: Likewise.
39891         * math/s_ctanl.c: Likewise.
39892         * math/w_fmod.c: Likewise.
39893         * math/w_fmodf.c: Likewise.
39894         * math/w_fmodl.c: Likewise.
39895         * math/w_remainder.c: Likewise.
39896         * math/w_remainderf.c: Likewise.
39897         * math/w_remainderl.c: Likewise.
39898         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39899         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39900         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39901         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39902         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39903         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39904         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39905         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39907         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39908         of the number.
39909         * stdio-common/printf_fphex.c: Likewise.
39910         * stdio-common/printf_size.c: Likewise.
39912         * math/e_exp10.c: Include math_private.h using <...> not "...".
39913         * math/e_exp10f.c: Likewise.
39914         * math/e_exp10l.c: Likewise.
39915         * math/e_exp2l.c: Likewise.
39916         * math/e_j0l.c: Likewise.
39917         * math/e_j1l.c: Likewise.
39918         * math/e_jnl.c: Likewise.
39919         * math/e_lgammal_r.c: Likewise.
39920         * math/e_rem_pio2l.c: Likewise.
39921         * math/e_scalb.c: Likewise.
39922         * math/e_scalbf.c: Likewise.
39923         * math/e_scalbl.c: Likewise.
39924         * math/k_cosl.c: Likewise.
39925         * math/k_sinl.c: Likewise.
39926         * math/k_tanl.c: Likewise.
39927         * math/s_cacoshf.c: Likewise.
39928         * math/s_catan.c: Likewise.
39929         * math/s_catanf.c: Likewise.
39930         * math/s_catanh.c: Likewise.
39931         * math/s_catanhf.c: Likewise.
39932         * math/s_catanhl.c: Likewise.
39933         * math/s_catanl.c: Likewise.
39934         * math/s_ccosh.c: Likewise.
39935         * math/s_ccoshf.c: Likewise.
39936         * math/s_ccoshl.c: Likewise.
39937         * math/s_cexp.c: Likewise.
39938         * math/s_cexpf.c: Likewise.
39939         * math/s_cexpl.c: Likewise.
39940         * math/s_clog.c: Likewise.
39941         * math/s_clog10.c: Likewise.
39942         * math/s_clog10f.c: Likewise.
39943         * math/s_clog10l.c: Likewise.
39944         * math/s_clogf.c: Likewise.
39945         * math/s_clogl.c: Likewise.
39946         * math/s_csin.c: Likewise.
39947         * math/s_csinf.c: Likewise.
39948         * math/s_csinh.c: Likewise.
39949         * math/s_csinhf.c: Likewise.
39950         * math/s_csinhl.c: Likewise.
39951         * math/s_csinl.c: Likewise.
39952         * math/s_csqrt.c: Likewise.
39953         * math/s_csqrtf.c: Likewise.
39954         * math/s_csqrtl.c: Likewise.
39955         * math/s_ctan.c: Likewise.
39956         * math/s_ctanf.c: Likewise.
39957         * math/s_ctanh.c: Likewise.
39958         * math/s_ctanhf.c: Likewise.
39959         * math/s_ctanhl.c: Likewise.
39960         * math/s_ctanl.c: Likewise.
39961         * math/s_ldexp.c: Likewise.
39962         * math/s_ldexpf.c: Likewise.
39963         * math/s_ldexpl.c: Likewise.
39964         * math/s_significand.c: Likewise.
39965         * math/s_significandf.c: Likewise.
39966         * math/s_significandl.c: Likewise.
39967         * math/w_acos.c: Likewise.
39968         * math/w_acosf.c: Likewise.
39969         * math/w_acosh.c: Likewise.
39970         * math/w_acoshf.c: Likewise.
39971         * math/w_acoshl.c: Likewise.
39972         * math/w_acosl.c: Likewise.
39973         * math/w_asin.c: Likewise.
39974         * math/w_asinf.c: Likewise.
39975         * math/w_asinl.c: Likewise.
39976         * math/w_atan2.c: Likewise.
39977         * math/w_atan2f.c: Likewise.
39978         * math/w_atan2l.c: Likewise.
39979         * math/w_atanh.c: Likewise.
39980         * math/w_atanhf.c: Likewise.
39981         * math/w_atanhl.c: Likewise.
39982         * math/w_cosh.c: Likewise.
39983         * math/w_coshf.c: Likewise.
39984         * math/w_coshl.c: Likewise.
39985         * math/w_dremf.c: Likewise.
39986         * math/w_exp10.c: Likewise.
39987         * math/w_exp10f.c: Likewise.
39988         * math/w_exp10l.c: Likewise.
39989         * math/w_exp2.c: Likewise.
39990         * math/w_exp2f.c: Likewise.
39991         * math/w_fmod.c: Likewise.
39992         * math/w_fmodf.c: Likewise.
39993         * math/w_fmodl.c: Likewise.
39994         * math/w_hypot.c: Likewise.
39995         * math/w_hypotf.c: Likewise.
39996         * math/w_hypotl.c: Likewise.
39997         * math/w_j0.c: Likewise.
39998         * math/w_j0f.c: Likewise.
39999         * math/w_j0l.c: Likewise.
40000         * math/w_j1.c: Likewise.
40001         * math/w_j1f.c: Likewise.
40002         * math/w_j1l.c: Likewise.
40003         * math/w_jn.c: Likewise.
40004         * math/w_jnf.c: Likewise.
40005         * math/w_jnl.c: Likewise.
40006         * math/w_lgamma.c: Likewise.
40007         * math/w_lgamma_r.c: Likewise.
40008         * math/w_lgammaf.c: Likewise.
40009         * math/w_lgammaf_r.c: Likewise.
40010         * math/w_lgammal.c: Likewise.
40011         * math/w_lgammal_r.c: Likewise.
40012         * math/w_log.c: Likewise.
40013         * math/w_log10.c: Likewise.
40014         * math/w_log10f.c: Likewise.
40015         * math/w_log10l.c: Likewise.
40016         * math/w_log2.c: Likewise.
40017         * math/w_log2f.c: Likewise.
40018         * math/w_log2l.c: Likewise.
40019         * math/w_logf.c: Likewise.
40020         * math/w_logl.c: Likewise.
40021         * math/w_pow.c: Likewise.
40022         * math/w_powf.c: Likewise.
40023         * math/w_powl.c: Likewise.
40024         * math/w_remainder.c: Likewise.
40025         * math/w_remainderf.c: Likewise.
40026         * math/w_remainderl.c: Likewise.
40027         * math/w_scalb.c: Likewise.
40028         * math/w_scalbf.c: Likewise.
40029         * math/w_scalbl.c: Likewise.
40030         * math/w_sinh.c: Likewise.
40031         * math/w_sinhf.c: Likewise.
40032         * math/w_sinhl.c: Likewise.
40033         * math/w_sqrt.c: Likewise.
40034         * math/w_sqrtf.c: Likewise.
40035         * math/w_sqrtl.c: Likewise.
40036         * math/w_tgamma.c: Likewise.
40037         * math/w_tgammaf.c: Likewise.
40038         * math/w_tgammal.c: Likewise.
40040         * po/ja.po: Update from translation team.
40042 2011-09-29  Andreas Jaeger  <aj@suse.de>
40044         [BZ #13179]
40045         * sunrpc/netname.c (netname2host): Fix logic.
40047         [BZ #6779]
40048         [BZ #6783]
40049         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40050         correctly.
40051         * math/w_remainder.c (__remainder): Likewise.
40052         * math/w_remainderf.c (__remainderf): Likewise.
40053         * math/libm-test.inc (remainder_test): Add test cases.
40055 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40057         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40058         sdiv_qrnnd.
40060 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40062         * string/test-memcmp.c: Avoid unncessary #defines.
40063         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40065 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40067         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40068         Use new sse2 version for core i3 - i7 as it's faster
40069         than sse42 version.
40070         (bit_Prefer_PMINUB_for_stringop): New.
40071         * sysdeps/x86_64/rawmemchr.S: Update.
40072         Replace with faster SSE2 version.
40073         * sysdeps/x86_64/memrchr.S: New file.
40074         * sysdeps/x86_64/memchr.S: Update.
40075         Replace with faster SSE2 version.
40077 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40079         * elf/dl-load.c (lose): Add cast to avoid warning.
40081 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40083         * po/ca.po: Update from translation team.
40085         * inet/getnetgrent_r.c: Hook up nscd.
40086         * nscd/Makefile (routines): Add nscd_netgroup.
40087         (nscd-modules): Add netgroupcache.
40088         (CFLAGS-netgroupcache.c): Define.
40089         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40090         (cache_search): Add const to second parameter.
40091         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40092         INNETGR.
40093         (dbs): Add netgrdb entry.
40094         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40095         (verify_persistent_db): Handle netgrdb.
40096         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40097         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40098         GETFDNETGR.
40099         (netgroup_response_header): Define.
40100         (innetgroup_response_header): Define.
40101         (datahead): Add netgroup_response_header and innetgroup_response_header
40102         elements.
40103         * nscd/nscd.conf: Add entries for netgroup cache.
40104         * nscd/nscd.h (dbtype): Add netgrdb.
40105         (_PATH_NSCD_NETGROUP_DB): Define.
40106         (netgroup_iov_disabled): Declare.
40107         (xmalloc, xcalloc, xrealloc): Move declarations here.
40108         (cache_search): Adjust prototype.
40109         Add netgroup-related prototypes.
40110         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40111         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40112         (__nscd_innetgr): Declare.
40113         * nscd/selinux.c (perms): Use access_vector_t as element type and
40114         add netgroup-related initializers.
40115         * nscd/netgroupcache.c: New file.
40116         * nscd/nscd_netgroup.c: New file.
40117         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40118         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40119         For four parameters use innetgr.
40120         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40121         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40122         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40123         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40125         * nscd/connections.c (register_traced_file): Don't register file
40126         for disabled databases.
40128 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40130         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40132         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40133         from tree and freeing node.
40135 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40137         * nss/nsswitch.c (__nss_database_lookup): Handle
40138         nss_parse_service_list out of memory case.
40140 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40142         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40143         out of memory case.
40145 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40147         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40148         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40149         pass it down.
40150         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40151         elf_machine_rela, elf_machine_lazy_rel.
40152         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40153         (ELF_DYNAMIC_DO_REL): Likewise.
40154         (ELF_DYNAMIC_DO_RELA): Likewise.
40155         (ELF_DYNAMIC_RELOCATE): Likewise.
40156         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40157         to ELF_DYNAMIC_DO_REL.
40158         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40159         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40160         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40161         elf_machine_rela.
40162         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40163         skip_ifunc, don't call ifunc function if non-zero.
40164         (elf_machine_rela): Likewise.
40165         (elf_machine_lazy_rel): Likewise.
40166         (elf_machine_lazy_rela): Likewise.
40167         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40168         (elf_machine_lazy_rel): Likewise.
40169         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40170         Likewise.
40171         (elf_machine_lazy_rel): Likewise.
40172         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40173         Likewise.
40174         (elf_machine_lazy_rel): Likewise.
40175         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40176         (elf_machine_lazy_rel): Likewise.
40177         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40178         (elf_machine_lazy_rel): Likewise.
40179         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40180         (elf_machine_lazy_rel): Likewise.
40181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40182         (elf_machine_lazy_rel): Likewise.
40183         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40184         (elf_machine_lazy_rel): Likewise.
40185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40186         (elf_machine_lazy_rel): Likewise.
40188 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40190         * nss/nss_files/files-init.c (_nss_files_init): Use static
40191         initialization for all the *_traced_file variables.
40193 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40195         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40197 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40199         [BZ #13226]
40200         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40202 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40204         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40205         Reread the line before reparsing it.
40207 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40209         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40211 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40212             Maxim Kuvyrkov  <maxim@codesourcery.com>
40213             Joseph Myers  <joseph@codesourcery.com>
40215         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40216         if needed for __stack_chk_guard.
40218 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40220         * sysdeps/posix/spawni.c (script_execute): Always define it.
40221         It will be optimized away if unused.
40222         (maybe_script_execute): New function.
40223         (__spawni): Call it.
40225         * Makerules: Don't include tls.make.
40226         (config-tls): Always set to thread.
40227         * tls.make.c: File removed.
40229 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40231         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40232         * config.make.in (CPPFLAGS-config): New substituted variable.
40234 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40236         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40238         [BZ #13192]
40239         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40240         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40242 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40244         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40245         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40246         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40247         (CALL_FAIL): Likewise.
40248         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40249         (CALL_FAIL): Macro removed.
40250         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40252 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40254         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40255         for __FINITE_MATH_ONLY__ == 1.
40257 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40259         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40260         __ieee754_sqrt instead of sqrt.
40261         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40262         __ieee754_sqrtf instead of sqrtf.
40263         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40264         __floorf instead of floorf.
40265         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40266         __floorf, __truncf instead of floorf, truncf.
40268 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40270         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40272         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40273         __extern_always_inline.
40274         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40275         32-bit.
40277 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40279         * elf/rtld.c (dl_main): Also relocate in dependency order when
40280         doing symbol dependency testing.
40282 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40284         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40285         Always define `refsym'.
40287 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40289         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40290         (__FD_ELT): Renamed from __FDELT.
40291         * misc/bits/select2.h (__FD_ELT): Likewise.
40292         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40293         __FD_MASK instead of __FDELT, __FDMASK.
40294         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40295         Likewise.
40296         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40297         Likewise.
40299         * elf/Makefile (gen-ldd): Fix pattern.
40301         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40302         (init_tls): Likewise.
40304 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40306         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40308 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40310         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40311         `struct cmsghdr *' instead of `void *'.
40312         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40313         Likewise.
40315 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40317         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40318         if non-absolute.
40319         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40320         ldd_rewrite_script.
40322 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40324         * configure.in: Remove --with-tls option.
40325         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40326         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40327         out in case it is missing.
40328         * sysdeps/ia64/elf/configure.in: Likewise.
40329         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40330         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40331         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40332         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40333         * sysdeps/sh/elf/configure.in: Likewise.
40334         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40335         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40336         * sysdeps/x86_64/elf/configure.in: Likewise.
40337         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40338         * sysdeps/mach/hurd/tls.h: Likewise.
40340         [BZ #13067]
40341         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40343         [BZ #13090]
40344         * configure.in: Fix use of AC_INIT.
40346         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40348 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40350         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40351         __set_errno.
40352         * malloc/hooks.c: Likewise.
40354         [BZ #11929]
40355         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40356         variables statically.
40357         (narenas): Initialize.
40358         (list_lock): Initialize.
40359         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40360         initializtion of main_arena and list_lock.  Small cleanups.
40361         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40362         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40363         Add initializers to main_arena and mp_.
40364         (malloc_state): Remove pagesize member.  Change all users to use
40365         GLRO(dl_pagesize).
40367         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40368         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40369         is always initialized.
40371         * malloc/malloc.c: Removed unused configurations and dead code.
40372         * malloc/arena.c: Likewise.
40373         * malloc/hooks.c: Likewise.
40374         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40376         * include/tls.h: Removed.  USE___THREAD must always be defined.
40377         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40378         * elf/dl-libc.c: Likewise.
40379         * elf/dl-tsd.c: Likewise.
40380         * include/errno.h: Likewise.
40381         * include/netdb.h: Likewise.
40382         * include/resolv.h: Likewise.
40383         * inet/herrno-loc.c: Likewise.
40384         * inet/herrno.c: Likewise.
40385         * malloc/arena.c: Likewise.
40386         * malloc/hooks.c: Likewise.
40387         * malloc/malloc.c: Likewise.
40388         * resolv/res-state.c: Likewise.
40389         * resolv/res_libc.c: Likewise.
40390         * sysdeps/i386/dl-machine.h: Likewise.
40391         * sysdeps/ia64/dl-machine.h: Likewise.
40392         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40393         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40394         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40395         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40396         * sysdeps/sh/dl-machine.h: Likewise.
40397         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40398         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40399         * sysdeps/unix/i386/sysdep.S: Likewise.
40400         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40401         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40403         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40405         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40406         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40407         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40410         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40411         * sysdeps/x86_64/dl-machine.h: Likewise.
40412         * tls.make.c: Likewise.
40414         * configure.in: Remove --with-__thread option.  Make tests for
40415         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40416         tls_model attribute fail if no support is available.  Remove
40417         USE_IN_LIBIO.
40418         * Makeconfig: Adjust for dropped configure option.  All features are
40419         now mandatory.
40420         * Makerules: Likewise.
40421         * Versions.def: Likewise.
40422         * argp/argp-fmtstream.c: Likewise.
40423         * argp/argp-fmtstream.h: Likewise.
40424         * argp/argp-help.c: Likewise.
40425         * assert/assert.c: Likewise.
40426         * config.h.in: Likewise.
40427         * config.make.in: Likewise.
40428         * configure: Likewise.
40429         * configure.in: Likewise.
40430         * csu/Versions: Likewise.
40431         * csu/init.c: Likewise.
40432         * elf/tst-audit2.c: Likewise.
40433         * elf/tst-tls10.c: Likewise.
40434         * elf/tst-tls10.h: Likewise.
40435         * elf/tst-tls11.c: Likewise.
40436         * elf/tst-tls12.c: Likewise.
40437         * elf/tst-tls14.c: Likewise.
40438         * elf/tst-tlsmod11.c: Likewise.
40439         * elf/tst-tlsmod12.c: Likewise.
40440         * elf/tst-tlsmod13.c: Likewise.
40441         * elf/tst-tlsmod13a.c: Likewise.
40442         * elf/tst-tlsmod14a.c: Likewise.
40443         * elf/tst-tlsmod15b.c: Likewise.
40444         * elf/tst-tlsmod16a.c: Likewise.
40445         * elf/tst-tlsmod16b.c: Likewise.
40446         * elf/tst-tlsmod7.c: Likewise.
40447         * elf/tst-tlsmod8.c: Likewise.
40448         * elf/tst-tlsmod9.c: Likewise.
40449         * gmon/gmon.c: Likewise.
40450         * grp/fgetgrent_r.c: Likewise.
40451         * grp/putgrent.c: Likewise.
40452         * hurd/fopenport.c: Likewise.
40453         * include/libc-symbols.h: Likewise.
40454         * include/tls.h: Likewise.
40455         * intl/gettextP.h: Likewise.
40456         * intl/loadinfo.h: Likewise.
40457         * locale/global-locale.c: Likewise.
40458         * locale/localeinfo.h: Likewise.
40459         * mach/devstream.c: Likewise.
40460         * malloc/arena.c: Likewise.
40461         * malloc/set-freeres.c: Likewise.
40462         * misc/err.c: Likewise.
40463         * misc/getttyent.c: Likewise.
40464         * misc/mntent_r.c: Likewise.
40465         * posix/getopt.c: Likewise.
40466         * posix/wordexp.c: Likewise.
40467         * pwd/fgetpwent_r.c: Likewise.
40468         * resolv/Versions: Likewise.
40469         * resolv/res_hconf.c: Likewise.
40470         * shadow/fgetspent_r.c: Likewise.
40471         * shadow/putspent.c: Likewise.
40472         * stdio-common/printf_fphex.c: Likewise.
40473         * stdio-common/tmpfile.c: Likewise.
40474         * stdlib/abort.c: Likewise.
40475         * stdlib/fmtmsg.c: Likewise.
40476         * sunrpc/auth_unix.c: Likewise.
40477         * sunrpc/clnt_perr.c: Likewise.
40478         * sunrpc/clnt_tcp.c: Likewise.
40479         * sunrpc/clnt_udp.c: Likewise.
40480         * sunrpc/clnt_unix.c: Likewise.
40481         * sunrpc/openchild.c: Likewise.
40482         * sunrpc/svc_simple.c: Likewise.
40483         * sunrpc/svc_tcp.c: Likewise.
40484         * sunrpc/svc_udp.c: Likewise.
40485         * sunrpc/svc_unix.c: Likewise.
40486         * sunrpc/xdr.c: Likewise.
40487         * sunrpc/xdr_array.c: Likewise.
40488         * sunrpc/xdr_rec.c: Likewise.
40489         * sunrpc/xdr_ref.c: Likewise.
40490         * sunrpc/xdr_stdio.c: Likewise.
40492 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40494         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40496 2011-07-03  Andreas Jaeger  <aj@suse.de>
40498         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40499         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40500         regenerate with gen-libm-tests.pl.
40502 2010-05-12  Petr Baudis  <pasky@suse.cz>
40504         [BZ #11589]
40505         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40506         around j0() zero points by switching to j1().
40507         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40508         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40510         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40512 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40514         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40515         instead of 0.
40516         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40517         instead of 0.
40518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40519         Patch in part by Pavel Roskin <proski@gnu.org>.
40521         [BZ #13138]
40522         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40523         realloc.
40524         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40525         Free memory block if necessary.
40527         [BZ #12847]
40528         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40529         be NULL.  Don't lock in this case.
40531 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40533         * elf/elf.h (ELFOSABI_GNU): New macro.
40534         (ELFOSABI_LINUX): Define to that.
40536 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40538         * string/strncat.c (strncat): Undef the symbol in case it has been
40539         defined in bits/string.h.
40541 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40543         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40545         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40546         link map.
40548 2011-08-17  Andreas Jaeger  <aj@suse.de>
40550         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40552 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40553             Ian Lance Taylor  <iant@google.com>
40555         * math/libm-test.inc (lround_test): New testcase.
40556         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40558 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40560         * Makefile: Remove support for automatic cvs check-ins.
40561         * Makerules: Likewise.
40562         * config.make.in: Likewise.
40563         * configure.in: Likewise.
40564         * intl/Makefile: Likewise.
40565         * locale/Makefile: Likewise.
40566         * po/Makefile: Likewise.
40567         * posix/Makefile: Likewise.
40568         * sysdeps/gnu/Makefile: Likewise.
40569         * sysdeps/mach/hurd/Makefile: Likewise.
40570         * sysdeps/sparc/sparc32/Makefile: Likewise.
40572         [BZ #13118]
40573         * posix/Makefile (bug-regex32-ENV): Define.
40574         Patch by John Stanley <jpsinthemix@verizon.net>.
40576         * misc/Makefile (headers): Add bits/select2.h.
40577         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40578         * misc/bits/select2.h: New file.
40579         * include/bits/select2.h: New file.
40580         * debug/Makefile (routines): Add fdelt_chk.
40581         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40582         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40583         FD_ISSET.
40584         * debug/fdelt_chk.c: New file.
40586         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40587         * wcsmbs/test-wmemcmp.c: Likewise.
40588         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40589         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40591 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40593         * string/Makefile (strop-tests): Add memcmp.
40594         * string/test-wmemcmp.c: New file.
40595         * string/test-memcmp.c: Add wmemcmp support.
40597 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40599         [BZ #13153]
40600         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40601         2011-07-19 change.
40603         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40604         garbage value in a __mach_port_mod_refs call in the cases of the
40605         task-self and thread-self ports.
40607 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40609         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40611 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40613         * elf/dl-load.c (lose): Check for non-null L.
40615 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40617         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40619         * elf/dl-libc.c (dlerror_run): Pass back error code from
40620         dl_catch_error.
40622         [BZ #13123]
40623         * elf/dl-load.c (lose): Free l_origin if it is valid.
40625         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40626         names.
40627         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40628         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40629         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40630         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40631         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40632         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40634 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40636         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40637         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40638         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40639         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40640         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40641         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40642         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40643         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40644         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40645         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40647 2011-08-15  Alan Modra  <amodra@gmail.com>
40649         [BZ #13092]
40650         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40651         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40652         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40653         ppc_mcount to static-only-routines.
40654         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40655         __mcount_internal.
40656         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40657         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40659 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40661         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40662         for finite and infinity parameters.
40664 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40667         and add nop instructions for throughput optimization.
40668         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40670 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40672         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40673         aligned copy for power7 with vector-scalar instructions.
40674         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40676 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40678         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40679         AVX check.
40681 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40683         [BZ #13144]
40684         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40685         last change.
40687 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40689         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40690         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40691         syscall wrapper around clock_gettime in __vdso_clock_gettime.
40692         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40693         clock_gettime.
40695 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40697         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40698         Forgot to demangle the pointer.
40700         * sysdeps/i386/sysdep.h: Define atom_text_section.
40701         * sysdeps/x86_64/sysdep.h: Likewise.
40702         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40703         section with atom_text_section.
40704         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40705         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40706         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40708         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40710         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40711         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40712         already be defined.  Change to take two parameters and don't assign
40713         result to variable.  Adjust all users.
40714         Define INTERNAL_GETTIME if not already defined.
40715         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40716         call.
40717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40718         HAVE_CLOCK_GETTIME_VSYSCALL.
40719         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40721         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40722         gettimeofday vsyscall, just use time.
40724 2011-09-06  Andreas Schwab  <schwab@redhat.com>
40726         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40727         <errno.h>.
40729 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40731         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40732         syscall on x86-64.
40733         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40734         syscall.
40735         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40736         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40737         syscall if possible.
40739 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40741         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40742         e_ident.  Don't pass to find_mapsXX.
40743         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40745 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40748         strchr-sse2-no-bsf strrchr-sse2-no-bsf
40749         * sysdeps/x86_64/multiarch/strchr.S: Update.
40750         Check bit_slow_BSF bit.
40751         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40752         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40753         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40755 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40757         [BZ #13134]
40758         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40759         before glibc 2.15.
40760         (tryshell): Define.
40761         (__spawni): Change last parameter to be flag.  Test
40762         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40763         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40764         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40765         * posix/spawni.c: Likewise.
40766         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40767         * posix/spawnp.c: Likewise.  Change normal version to use
40768         SPAWN_XFLAGS_USE_PATH.
40769         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40770         SPAWN_XFLAGS_TRY_SHELL.
40772         [BZ #13150]
40773         * posix/glob.h: Remove gcc 1.x support.
40775         [BZ #13068]
40776         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40778 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40780         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40781         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40782         strrchr-sse2-bsf
40783         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40784         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40785         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40786         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40787         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40788         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40790 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40792         * sysdeps/x86_64/wcscmp.S: New file.
40794         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40795         wcscmp-c wcscmp-sse2
40796         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40797         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40798         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40799         * wcsmbs/wcscmp.c: Allow renaming.
40801 2011-09-05  David S. Miller  <davem@davemloft.net>
40803         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40804         stack slot, rather than the struct return pointer slot.
40805         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40806         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40808         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40810 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40812         * po/ja.po: Update from translation team.
40814         [BZ #13144]
40815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40816         kernel in 64-bit binaries.
40818 2011-09-01  David S. Miller  <davem@davemloft.net>
40820         * elf/elf.h (HWCAP_SPARC_*): Move to..
40821         * sysdeps/sparc/sysdep.h: this new file and add new values.
40822         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40823         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40824         _DL_HWCAP_COUNT to 24.
40825         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40826         entries.
40827         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40828         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40829         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40831         instead of magic constants.
40832         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40834 2011-08-31  David S. Miller  <davem@davemloft.net>
40836         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40838         Reimplement to do errno handling inline.
40839         (SYSCALL_ERROR_HANDLER): New macro.
40840         (__SYSCALL_STRING): Do not do errno handling in asm.
40841         (__CLONE_SYSCALL_STRING): Delete.
40842         (__INTERNAL_SYSCALL_STRING): Delete.
40843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40844         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40845         (PSEUDO): Reimplement to do errno handling inline.
40846         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40847         (SYSCALL_ERROR_HANDLER): New macro.
40848         (__SYSCALL_STRING): Do not do errno handling in asm.
40849         (__CLONE_SYSCALL_STRING): Delete.
40850         (__INTERNAL_SYSCALL_STRING): Delete.
40851         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40852         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40853         i386.
40854         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40855         (inline_syscall*): Add 'err' argument.
40856         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40857         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40858         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40859         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40861         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40862         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40864 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40866         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40868 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40870         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40871         directive.
40873 2011-08-24  David S. Miller  <davem@davemloft.net>
40875         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40877 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40879         * elf/Makefile: Add rules to build and run unload8 test.
40880         * elf/unload8.c: New file.
40881         * elf/unload8mod1.c: New file.
40882         * elf/unload8mod1x.c: New file.
40883         * elf/unload8mod2.c: New file.
40884         * elf/unload8mod3.c: New file.
40886         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40887         it wasn't used.
40889 2011-08-23  David S. Miller  <davem@davemloft.net>
40891         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40892         subtract stack bias.
40893         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40894         %sp not %fp in calculations.
40895         (_JMPBUF_UNWINDS_ADJ): Likewise.
40897         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40898         (aio_suspend): Call it to force an exception region around the
40899         AIO_MISC_WAIT() invocation.
40901 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40903         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40904         backslash.
40906 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40908         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40909         protection macro.
40910         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40911         and <dl-machine.h>.
40912         (Elf64_FuncDesc): Remove.
40914 2011-08-22  David S. Miller  <davem@davemloft.net>
40916         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40917         sigaltstack check, add missing cfi directives.
40918         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40919         missing cfi directives, and sigaltstack handling.
40921 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40923         [BZ #11724]
40924         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40925         object is seen twice.
40926         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40928         * elf/Makefile (distribute): Add tst-initorder2.c.
40929         (tests): Add tst-initorder2.
40930         (modules-names): Add tst-initorder2a tst-initorder2b
40931         tst-initorder2c tst-initorder2d.  Add rules to build them.
40932         ($(objpfx)tst-initorder2.out): New rule.
40933         * elf/tst-initorder2.c: New file.
40934         * elf/tst-initorder2.exp: New file.
40936 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40938         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40940         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40941         dependencies back to end of function.
40943         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40944         $(elfobjdir)/ld.so.
40946 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40948         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40949         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40950         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40951         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40952         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40953         of __vdso_gettimeofday.
40954         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40955         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40956         attribute_hidden.
40957         (_libc_vdso_platform_setup): Remove initialization of
40958         __vdso_gettimeofday and __vdso_time.
40960 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40962         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40963         and fgetc_unlocked.
40964         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40965         getc_unlocked.
40967         * elf/dl-open.c (add_to_global): Report additions to the global scope
40968         for LD_DEBUG=scopes.
40969         (dl_open_worker): Also print scope of newly loaded dependencies.
40970         (_dl_show_scope): Indicate if there is no scope.
40972         [BZ #13114]
40973         * stdio-common/Makefile (tests): Add bug24.
40974         * stdio-common/bug24.c: New file.
40976 2011-08-19  Andreas Jaeger  <aj@suse.de>
40978         [BZ #13114]
40979         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40980         non-existant file when using close-on-exec mode.
40982 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40984         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40985         the very first instruction.
40987         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40988         the CFI state in the end.
40989         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40990         inclusion of dl-trampoline.h.
40991         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40993 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40995         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40996         expectations for long double.
40998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40999         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41001 2011-08-14  David S. Miller  <davem@davemloft.net>
41003         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41004         artificual limit depends upon the system page size.
41006 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41008         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41009         * resolv/Makefile: Define CFLAGS-libresolv.
41011 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41013         * nss/makedb.c (compute_tables): Make variables used in nested
41014         function static.
41016 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41018         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41019         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41020         if buffer was too small.
41022         * elf/pldd.c (main): Attach to all threads in the process.
41023         Rewrite /proc handling to use *at functions.
41025 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41027         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41028         specifies first scope to show.
41029         (dl_open_worker): Update callers.  Move printing scope of new
41030         object to before the relocation.
41031         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41032         * sysdeps/generic/ldsodefs.h: Update declaration.
41034         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41035         string for the scope number.
41037 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41039         * nscd/servicescache.c (cache_addserv): Make sure written is always
41040         initialized.
41042 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41044         * sysdeps/i386/i486/bits/atomic.h
41045         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41046         statement expression, so as to suppress "set but not used" warning.
41047         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41049         * string/strncat.c (STRNCAT): Use prototype definition.
41051         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41052         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41053         -Iprograms here.
41054         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41055         (localedef-modules): Add localedef.
41056         (locale-modules): Add locale.
41058         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41059         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41060         to avoid a warning.
41062 2011-08-14  David S. Miller  <davem@davemloft.net>
41064         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41065         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41067 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41069         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41070         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41071         * elf/rtld.c (dl_main): Set l_name of vDSO.
41072         Call _dl_show_scope when DL_DEBUG_SCOPES.
41073         (process_dl_debug): Recognize scopes flag and also set it for all.
41074         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41075         Declare _dl_show_scope.
41077         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41078         (do_dlopen): Pass caller_dlopen to dl_open.
41079         (__libc_dlopen_mode): Initialize caller_dlopen.
41081         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41082         of libc.  Make tolower call locale-independent.  Optimize a bit by
41083         using isdigit instead of isalnum.
41084         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41086 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41088         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41089         was a dependency or dynamically loaded.
41091 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41093         * intl/l10nflist.c: Allow architecture-specific pop function.
41094         * sysdeps/x86_64/l10nflist.c: New file.
41096         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41097         classification.
41099 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41101         * include/dirent.h: Add libc_hidden_proto for scandirat and
41102         scandirat64.  Don't declare __scandirat64.
41103         * dirent/scandirat.c: Add libc_hidden_def.
41104         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41105         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41107 2011-08-10  David S. Miller  <davem@davemloft.net>
41109         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41110         enum.
41111         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41112         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41113         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41115 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41117         * Versions.def [libc]: Add GLIBC_2.15.
41118         * dirent/Makefile (routines): Add scandirat and scandirat64.
41119         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41120         GLIBC_2.15.
41121         * dirent/dirent.h: Declare scandirat and scandirat64.
41122         * dirent/scandirat.c: New file.
41123         * dirent/scandirat64.c: New file.
41124         * sysdeps/wordsize-64/scandirat.c: New file.
41125         * sysdeps/wordsize-64/scandirat64.c: New file.
41126         * dirent/opendir.c: Define opendirat.
41127         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41128         using scandirat.
41129         * dirent/scandir64.c: Adjust for scandir.c change.
41130         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41131         __scandirat64, and __scandir_cancel_handler.
41132         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41133         additional parameter and use openat instead of open (outside of ld.so).
41134         Add new __opendir as wrapper around __opendirat.
41135         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41136         here without requiring old scandirat implementation.
41138 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41140         * dirent/scandir.c (cancel_handler): Renamed to
41141         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41142         defined.  Adjust users.
41143         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41144         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41146 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41148         * string/test-string.h (IMPL): Use __STRING to expand name and then
41149         stringify it.
41151         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41152         of cleanups.
41154 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41156         * string/Makefile: Update.
41157         (strop-tests): Append strncat.
41158         * string/test-wcscmp.c: New file.
41159         New comprehensive test for wcscmp.
41160         * string/test-strcmp.c: Update.
41161         (WIDE): New define.
41163 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41165         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41166         line.
41168 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41171         encoding to ACE if AI_IDN.
41173 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41175         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41176         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41178 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41180         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41181         Fix overflow bug in strncat.
41182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41184         * string/test-strncat.c: Update.
41185         Add new tests for checking overflow bugs.
41187 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41190         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41191         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41192         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41193         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41194         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41195         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41196         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41197         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41199         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41200         (USE_AS_STRCAT): Define.
41201         Add strcat and strncat support.
41202         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41204 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41206         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41207         __n bigger than INT_MAX+1.
41208         (__strncmp_g): Likewise.
41210 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41212         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41213         * libio/stido.h: Likewise.
41215         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41216         (AF_NFC): Define.
41217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41218         (AF_NFC): Define.
41220         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41222         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41223         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41226         [BZ #13021]
41227         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41228         installed.
41230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41231         typo.
41232         (_dl_x86_64_save_sse): Likewise.
41234 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41237         OSXSAVE.
41238         (_dl_x86_64_save_sse): Likewise.
41240         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41242         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41244 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41246         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41247         change.
41248         (_dl_x86_64_save_sse): Use correct AVX check.
41250 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41252         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41253         bug in strncpy/strncat.
41254         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41256 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41258         * string/tester.c (test_strcat): Add tests for different alignments
41259         of source and destination.
41260         (test_strncat): Likewise.
41262 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41264         [BZ #12852]
41265         * posix/glob.c (glob): Check passed in values before using them in
41266         expressions to avoid some overflows.
41267         (glob_in_dir): Likewise.
41269         [BZ #13007]
41270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41271         check for AVX enablement so that we don't crash with old kernels and
41272         new hardware.
41273         * elf/tst-audit4.c: Add same checks here.
41274         * elf/tst-audit6.c: Likewise.
41276         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41278 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41280         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41282 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41284         * po/cs.po: Update from translation team.
41285         * po/bg.po: Likewise.
41287 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41289         * misc/sys/cdefs.h: Add support for const attribute.
41290         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41291         to gnu_dev_{major,minor,makedev} functions.
41293 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41295         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41297 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41299         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41300         strlen results.
41302 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41305         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41306         register in order to avoid conflicts with the soft frame pointer
41307         being held in r11 when necessary.
41308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41309         (INTERNAL_VSYSCALL_NCS): Likewise.
41311 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41313         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41314         * elf/dl-fini.c (_dl_fini): Adjust caller.
41315         * elf/dl-close.c (_dl_close_worker): Likewise.
41316         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41318 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41320         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41321         "aux_cache->nlibs < 0".
41323         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41324         in the reload-count case.
41326 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41329         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41330         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41331         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41332         * sysdeps/x86_64/multiarch/strcat.S: New file.
41333         * sysdeps/x86_64/multiarch/strncat.S: New file.
41334         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41335         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41336         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41337         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41338         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41339         (USE_AS_STRCAT): Define.
41340         Add strcat and strncat support.
41341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41343         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41344         * string/strncat.c: Update.
41345         (USE_AS_STRNCAT): Define.
41346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41347         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41348         and i7.
41349         * sysdeps/x86_64/multiarch/init-arch.h
41350         (bit_Prefer_PMINUB_for_stringop): New.
41351         (index_Prefer_PMINUB_for_stringop): Likewise.
41352         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41353         bit_Prefer_PMINUB_for_stringop.
41355 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41357         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41358         buffer64.
41359         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41360         of casting of buffer.
41361         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41362         buffer32 and buffer64.
41363         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41364         writes instead of casting of buffer.
41365         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41366         buffer32.
41367         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41368         casting of buffer.
41370 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41372         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41374 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41376         * nscd/nscd.c (termination_handler): Don't do anything for a database
41377         if it has not yet been initialized.
41379 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41381         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41383 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41385         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41387 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41389         * po/nl.po: Update from translation team.
41390         * po/sv.po: Likewise.
41392 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41394         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41395         now disallowed by GCC.
41397         * configure.in (use-default-link): Default to yes if a test -shared
41398         link meets our qualifications.
41399         * configure: Regenerated.
41401         * config.make.in (output-format): New variable.
41402         * configure.in: Check for ld --print-output-format support.
41403         * configure: Regenerated.
41404         * Makerules ($(common-objpfx)format.lds)
41405         [$(output-format) != unknown]: Just use $(output-format),
41406         instead of the linker-script munging.
41408 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41410         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41411         of $(common-objpfx)shlib.lds.
41412         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41414         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41415         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41417         * configure.in (-z relro check): Adjust test code to add a large
41418         writable data section after it.
41419         * configure: Regenerated.
41421 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41423         * configure.in (-z relro check): Fix test code to make the variable
41424         truly const.
41425         * configure: Regenerated.
41427 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41429         * nscd/nscd.h (struct traced_file): Define.
41430         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41431         elements.  Add traced_files.
41432         (inotify_fd): Declare.
41433         (register_traced_file): Declare.
41434         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41435         (inotify_fd): Export.
41436         (resolv_conf_descr): Remove.
41437         (nscd_init): Move inotify descriptor creation to main.
41438         Don't register files for notification here.
41439         (register_traced_file): New function.
41440         (invalidate_cache): Don't use reset_res to determine whether to call
41441         res_init, go through the list of registered files.
41442         (main_loop_poll): The inotify descriptors are now stored in the
41443         structures for the traced files.
41444         (main_loop_epoll): Likewise
41445         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41446         to __nss_disable_nscd.
41447         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41448         for a database anymore.  Check the records for all the registered
41449         files instead.
41450         * nss/Makefile (libnss_files-routines): Add files-init.
41451         (libnss_db-routines): Add db-init.
41452         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41453         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41454         * nss/nss_db/db-init.c: New file.
41455         * nss/nss_files/files-init.c: New file.
41456         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41457         __nss_lookup_function.
41458         (__nss_lookup_function): Call nss_load_library.
41459         (nss_load_all_libraries): New function.
41460         (__nss_disable_nscd): Take parameter with callback function for files
41461         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41462         used for the cached services.
41463         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41464         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41465         options for features to all the files in nscd.
41467         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41469 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41471         * csu/elf-init.c (__libc_csu_init): Comment typo.
41473 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41475         * po/pl.po: Update from translation team.
41476         * po/ja.po: Likewise.
41477         * po/ru.po: Likewise.
41478         * po/ko.po: Likewise.
41479         * po/fr.po: Likewise.
41481 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41483         * configure.in (.ctors/.dtors header and trailer check):
41484         Use an empirical test on a built program.
41485         * configure: Regenerated.
41487         * configure.in (-z relro check): Use an empirical test on a built DSO.
41488         Detect, but do not require, on ia64.
41489         * configure: Regenerated.
41491         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41492         Update tests that use readelf to use $READELF instead.
41493         * configure: Regenerated.
41495 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41497         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41498         if the result is not used.
41500 2011-07-05  Andreas Jaeger  <aj@suse.de>
41502         [BZ#9696]
41503         * stdlib/tst-strtod.c: Add testcase.
41505 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41507         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41508         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41509         The latter has a higher limit.  Take additional parameter to pass to
41510         the new function.
41511         (__pathconf): Pass file to __statfs_link_max.
41512         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41513         __statfs_link_max.
41514         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41515         __statfs_link_max.
41517         [BZ #12868]
41518         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41519         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41520         Handle Lustre.
41521         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41522         (__statfs_filesize_max): Likewise.
41523         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41525 2011-07-05  Andreas Jaeger  <aj@suse.de>
41527         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41529 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41531         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41532         `status' variable.
41533         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41534         Likewise.
41536 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41538         * Makefile (strop-tests): Add strncat.
41539         * string/test-strncat.c: New file.
41541 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41543         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41545 2011-06-21  Andreas Jaeger  <aj@suse.de>
41547         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41548         Copy rule from iconvdata/Makefile.
41550 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41552         [BZ #12922]
41553         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41554         but no long options are defined, just return 'W'.
41556 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41558         [BZ #9696]
41559         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41561 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41563         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41564         netgroups to read.
41565         (innetgr): Likewise.
41567 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41569         * config.make.in (install_root): Default to $(DESTDIR).
41571 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41573         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41575 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41577         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41579         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41580         containing directory rather than embedding absolute directory names.
41582         * scripts/check-local-headers.sh: Rewritten using awk.
41583         Match by word, not by line.  Print error messages for matches.
41584         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41586         * Makerules [shlib-lds-flags empty]:
41587         ($(common-objpfx)libc_pic.opts): New target.
41588         ($(common-objpfx)libc_pic.os.clean): New target.
41589         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41591         * config.make.in (OBJCOPY): New variable.
41592         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41593         * configure: Regenerated.
41595         * config.make.in (use-default-link): New variable.
41596         * configure.in (use_default_link): Grok --with-default-link to set it.
41597         * configure: Regenerated.
41598         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41599         (shlib-lds, shlib-lds-flags): Define to empty.
41601         * Makerules (shlib-lds): New variable.
41602         (shlib-lds-flags): New variable.
41603         (build-shlib, build-moduile, build-module-asneeded): Use it.
41604         ($(common-objpfx)libc.so): Use $(shlib-lds).
41605         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41606         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41608         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41609         DT_FLAGS/DT_FLAGS_1 with zero flags.
41611         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41612         linker script munging.
41614 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41616         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41617         as 128-bit value.
41618         * crypt/sha512.c (sha512_process_block): Perform total addition using
41619         128-bit if possible.
41620         (__sha512_finish_ctx): Likewise.
41621         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41622         as 64-bit value.
41623         * crypt/sha256.c (SWAP64): Define.
41624         (sha256_process_block): Perform total addition using 64-bit if
41625         possible.
41626         (__sha256_finish_ctx): Likewise.
41628 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41630         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41631         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41632         * nscd/hstcache.c (cache_addhst): Likewise.
41633         * nscd/grpcache.c (cache_addgr): Likewise.
41634         * nscd/aicache.c (addhstaiX): Likewise
41635         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41637 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41639         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41640         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41641         * nscd/hstcache.c (cache_addhst): Likewise.
41642         * nscd/grpcache.c (cache_addgr): Likewise.
41643         * nscd/aicache.c (addhstaiX): Likewise
41645 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41647         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41648         domain only when needed.
41650 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41653         is always restored.
41655 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41657         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41658         are re-adding the entry.
41659         * nscd/servicescache.c (cache_addserv): Likewise.
41661 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41663         * sysdeps/generic/dl-irel.h: fix protection against multiple
41664         inclusions.
41665         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41667 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41669         [BZ #12935]
41670         * malloc/memusage.sh: Fix quoting in message.
41671         * debug/xtrace.sh: Likewise.
41673         * configure.in: Remove support for --experimental-malloc option, make
41674         it the default.
41675         * config.make.in: Likewise.
41676         * malloc/Makefile: Likewise.
41678 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41680         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41681         two-byte characters.
41683 2011-06-27  Roland McGrath  <roland@hack.frob.com>
41685         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41686         AC_CACHE_CHECK invocation.
41687         * configure: Regenerated.
41689         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41691 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
41693         [BZ #12350]
41694         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
41695         bit from old_res_options.
41697         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41699         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41700         value type for setfct.
41702 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
41704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41705         __gettimeofday instead of gettimeofday.
41707 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
41709         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41711 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
41713         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41715         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41716         info.
41718 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41721         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41722         strcpy-sse2-unaligned strncpy-sse2-unaligned
41723         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41724         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41725         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41726         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41727         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41728         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41729         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41730         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41731         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41732         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41733         (STRCPY): Support SSE2 and SSSE3 versions.
41735 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
41737         [BZ #12874]
41738         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41739         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41740         kernels which artificially limit size of requests.
41742 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41744         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41745         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41746         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41747         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41748         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41749         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41750         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41751         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41752         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41753         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41754         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41755         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41756         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41757         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41758         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41760         Enable unaligned load optimization for Intel Core i3, i5 and i7
41761         processors.
41762         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41763         Define.
41764         (index_Fast_Unaligned_Load): Define.
41765         (HAS_FAST_UNALIGNED_LOAD): Define.
41767 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41769         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41771 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41773         [BZ #12907]
41774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41775         until it is clear that the information is realy needed.
41776         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41778 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41782 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41784         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41785         /sys/devices/system/cpu/online if it is usable.
41787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41788         reading the information from the /proc filesystem to once a second.
41790 2011-06-21  Andreas Jaeger  <aj@suse.de>
41792         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41793         NULL after inclusion of kernel headers.
41795 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41797         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41798         calls to internal_setent.
41800         [BZ #12885]
41801         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41802         addresses using gethostbyname4_r ignore IPv4 addresses.
41804         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41805         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41807         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41809 2011-06-20  David S. Miller  <davem@davemloft.net>
41811         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41812         inclusions.
41813         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41815         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41816         (elf_irel): Use it.
41817         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41818         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41819         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41820         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41821         * sysdeps/x86_64/dl-irel.h: Likewise.
41823         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41824         * elf/dl-sym.c: Likewise.
41826 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41828         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41829         need to dereference resplen2.
41831 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41833         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41835 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41837         * Makeconfig: Define vardbdir and inst_vardbdir.
41838         * nss/Makefile: Add rules to install db-Makefile.
41840         * nss/nss_db/db-XXX.c: Cleanup.
41842         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41843         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41844         GLIBC_PRIVATE.
41845         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41846         * nss/makedb.c: Implement -g option to specify that value strings
41847         are generated and should not be added to table iterated over for
41848         get*ent calls.
41849         * nss/nss_db/db-initgroups.c: New file.
41851         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41852         interface.
41854         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41855         (internal_getgrouplist): Adjust to name change.
41856         Update use_initgroups_entry if this is not the first call.
41857         * nss/databases.def: Add initgroups entry.
41859         * nss/makedb.c (compute_tables): Check result of multiple hash table
41860         sizes to minimize maximum chain length.
41862 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41864         * Versions.def: Add entry for libnss_db.
41865         * shlib-versions: Likewise.
41866         * nss/Makefile: Add rules to build libnss_db.
41867         * nss/Versions: Add libnss_db information.  Organize libnss_files
41868         entries better.
41869         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41870         makedb progra.  Some minor improvements to generate smaller files.
41871         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41872         here from...
41873         * nss/makedb.c: ...here.
41874         Improve database format to be smaller and require less memory at
41875         runtime.
41876         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41877         db anymore.
41878         * nss/nss_db/db-netgrp.c: Likewise.
41879         * nss/nss_db/db-open.c: Likewise.
41880         * nss/nss_files/flies-XXX.x: Adjust comments.
41881         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41882         * nss/nss_files/files-grp.c: Likewise.
41883         * nss/nss_files/files-hosts.c: Likewise.
41884         * nss/nss_files/files-network.c: Likewise.
41885         * nss/nss_files/files-proto.c: Likewise.
41886         * nss/nss_files/files-pwd.c: Likewise.
41887         * nss/nss_files/files-rpc.c: Likewise.
41888         * nss/nss_files/files-service.c: Likewise.
41889         * nss/nss_files/files-sgrp.c: Likewise.
41890         * nss/nss_files/files-spwd.c: Likewise.
41891         * nss/nss_db/db-alias.c: Removed.
41892         * nss/nss_db/dummy-db.h: Removed.
41894 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41896         * nss/makedb.c: Rewritten to not use database library.
41897         * nss/Makefile: Update to build new makedb program.
41899 2011-06-14  Andreas Jaeger  <aj@suse.de>
41901         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41902         memset declaration.
41904 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41907         tmpbuf.
41909 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41911         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41912         * elf/Makefile ($(objpfx)ld.so): Likewise.
41914         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41915         Don't list ld.so twice in dependencies.
41917         * posix/bug-regex31.c: Include <stdlib.h>.
41919         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41921         * nis/nss_compat/compat-spwd.c
41922         (getspent_next_nss_netgr): Remove unused variable.
41923         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41925         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41926         nonmembers" output to use the right array.
41928         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41930         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41932         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41933         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41934         * catgets/gencat.c (read_input_file): Likewise.
41935         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41937         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41938         variable definition inside #if's controlling its use.
41940         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41942         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41944         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41946         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41947         unreachable code.
41949         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41951         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41952         * configure: Regenerated.
41954         * Makerules: Revert last change.
41955         * elf/Makefile: Likewise.
41957 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41959         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41960         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41961         (reloc-link): Likewise.
41963 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41965         * elf/Makefile: Add rules to build pldd.
41966         * elf/pldd.c: New file.
41967         * elf/pldd-xx.c: New file.
41969 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41971         * version.h: Update for 2.15 development version.
41973 2011-06-07  David S. Miller  <davem@davemloft.net>
41975         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41976         ifuncs.
41977         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41978         elf_machine_lazy_rel): Likewise.
41979         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41980         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41981         elf_machine_lazy_rel): Likewise.
41982         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41983         dl_hwcap via passed in argument.
41984         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41985         Likewise.
41987 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41989         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41991 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41993         [BZ #12849]
41994         * manual/fdl-1.1.texi: New file, verbatim from:
41995         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41996         * manual/lgpl-2.1.texi: New file, verbatim from:
41997         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41998         * manual/Makefile (licenses): New variable, list those new file names.
41999         (texis): Use it.
42000         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42002         * manual/fdl.texi: File removed.
42003         * manual/lesser.texi: File removed.
42004         * manual/libc.texinfo (Copying, Documentation License):
42005         Use new @include file names, put @appendix directive before @include.
42007 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42009         [BZ #12841]
42010         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42011         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42012         (mq_open): Add __NTH.
42014 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42017         Assume Intel Core i3/i5/i7 processor if AVX is available.
42019 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42021         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42022         typo.
42024 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42026         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42027         memory.  Use alloca_account.  Fix memory leak when retrying.
42029 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42031         * version.h (RELEASE): Bump for 2.14 release.
42032         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42034         * config.make.in (RANLIB): Remove entry.
42036 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42038         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42039         (libc.pot): Work around missing support for .ksh extension in xgettext.
42041         [BZ #12684]
42042         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42043         if both request failed.
42044         (send_dg): In case of server errors clear resplen or *resplen2.
42046         [BZ #12454]
42047         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42048         when there are multiple maps.
42049         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42050         (_dl_fini): Remove test here.
42052         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42054 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42056         [BZ #12350]
42057         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42058         bit from old_res_options.
42059         (gaih_inet): Likewise.
42061         [BZ #11099]
42062         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42063         as signed.
42065         * resolv/res_init.c (res_setoptions): Make the code more compact.
42067         [BZ #11558]
42068         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42069         set RES_USEVC.
42071         [BZ #11634]
42072         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42074         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42076         [BZ #11781]
42077         * malloc/malloc.h: Declare malloc hook variables as volatile.
42079         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42080         in last patch.
42082         [BZ #11799]
42083         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42084         raise in the comment.
42085         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42086         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42087         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42089 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42091         [BZ #12811]
42092         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42093         grow the buffers more if it already has to be sufficient.
42094         (build_wcs_upper_buffer): Likewise.
42095         * posix/regexec.c (check_matching): Likewise.
42096         (clean_state_log_if_needed): Likewise.
42097         (extend_buffers): Don't enlarge buffers beyond size of the input
42098         buffer.
42099         Patches mostly by Emil Wojak <emil@wojak.eu>.
42100         * posix/bug-regex32.c: New file.
42101         * posix/Makefile (tests): Add bug-regex32.
42103         * locale/findlocale.c (_nl_find_locale): Return right away if
42104         _nl_explode_name failed.
42105         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42107         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42109         * debug/xtrace.sh: Unify messages.
42110         * malloc/memusage.sh: Likewise.
42112         [BZ #12813]
42113         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42114         time symbol from vDSO.  Substitute with vsyscall if not available.
42115         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42116         __vdso_time.
42118         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42119         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42120         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42121         Add sendmmsg and internal_sendmmsg.
42122         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42123         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42124         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42126         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42127         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42128         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42130 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42132         [BZ #12813]
42133         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42134         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42135         available.
42136         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42137         __vdso_getcpu.
42139         [BZ #12814]
42140         * iconvdata/Makefile (tests): Add bug-iconv9.
42141         * iconvdata/bug-iconv9.c: New file.
42143 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42145         [BZ #12814]
42146         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42148 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42150         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42151         (struct user_regs_struct): Change intcs field back to cs.
42153 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42155         * po/ja.po: Update from translation team.
42157 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42159         [BZ #12795]
42160         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42161         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42163 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42165         * stdlib/longlong.h: Update from GCC.
42167 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42169         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42170         parameter name.
42171         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42172         Add parameter name.
42173         (__sysconf): Pass it down.
42175 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42177         [BZ #12671]
42178         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42179         some situations.
42180         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42181         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42182         add in in __libc_use_alloca calls.  Adjust callers.
42183         (glob): Use malloc in some situations.
42185         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42186         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42187         pltexit.
42189 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42191         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42192         and CLOCK_BOOTTIME_ALARM.
42194         [BZ #12782]
42195         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42196         is returned.
42198         * string/_strerror.c (__strerror_r): Print negative errors as signed
42199         numbers.
42201         [BZ #12777]
42202         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42203         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42204         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42206         * configure.in: Fix typo in redirection and correct removal of test
42207         files in two cases.
42209         [BZ #12788]
42210         * locale/setlocale.c (new_composite_name): Fix test to check for
42211         identical name of all categories.
42213         [BZ #12792]
42214         * libio/filedoalloc.c (local_isatty): New function.
42215         (_IO_file_doallocate): Use local_isatty.
42216         * stdio-common/perror.c (perror): In case a new stream is used
42217         forward the stream error.
42218         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42219         error flag.
42221 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42223         [BZ #11869]
42224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42225         alloca.
42226         * include/alloca.h (extend_alloca_account): Define.
42228         [BZ #11857]
42229         * posix/regex.h: Fix comments with documentation of user-accessible
42230         fields after compilation and describe correct free'ing of pattern
42231         after re_compile_pattern.
42232         Patch by Reuben Thomas <rrt@sc3d.org>.
42234 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42236         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42237         and -mno-altivec to prevent the compiler from using Altivec and/or
42238         VSX instructions when the corresponding registers are not available.
42240 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42242         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42244 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42246         * libio/freopen.c (freopen): Use __dup2, not dup2.
42247         * libio/freopen64.c (freopen64): Likewise.
42249 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42251         [BZ #12775]
42252         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42253         * math/Makefile (tests): Add test-powl.
42254         (CFLAGS-test-powl.c): Define.
42255         * math/test-powl.c: New file.
42257 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42259         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42261 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42263         [BZ #11837]
42264         * iconvdata/gb18030.c: Update to GB18020-2005.
42266 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42268         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42269         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42270         Patch by Aharon Robbins <arnold@skeeve.com>.
42272         [BZ #11892]
42273         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42274         on the stack.
42276         [BZ #11895]
42277         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42278         through underflows.
42280         [BZ #12766]
42281         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42282         point to strings before performing equality test for error_one_per_line
42283         mode.
42285         [BZ #11697]
42286         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42288         [BZ #11820]
42289         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42290         (struct user_fpregs_struct): Avoid __uint*_t types.
42292         [BZ #6420]
42293         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42294         symbol info.  Use it instead of calling _dl_addr locally.
42295         (lock_and_info): New function.
42296         (tr_freehook): Call lock_and_info and pass symbol info as additional
42297         parameter to tr_where.
42298         (tr_mallochook): Likewise.
42299         (tr_reallochook): Likewise.
42300         (tr_memalignhook): Likewise.
42302         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42303         used and couldn't be at all thread-safe.
42305 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42307         * libio/freopen.c (freopen): Don't close old file descriptor
42308         before the new one is opened.  Instead dup the new file descriptor
42309         to the old one after the new stream is created.
42310         * libio/freopen64.c (freopen64): Likewise.
42311         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42312         * libio/fileops.c (_IO_new_file_close_it): Handle new
42313         _IO_FLAGS2_NOCLOSE flag.
42314         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42315         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42316         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42317         _IO_FLAGS2_NOCLOSE flag.
42318         * include/unistd.h: Add hidden_proto for dup3.
42319         Define __have_dup3.
42320         * io/dup3.c: Define hidden symbol.
42321         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42323         [BZ #7101]
42324         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42325         when an incomplete long option is used.
42326         * posix/tst-getopt_long1.c: New file.
42327         * posix/Makefile (tests): Add tst-getopt_long1.
42329         [BZ #10138]
42330         * scripts/config.guess: Update from autoconf-2.68.
42331         * scripts/config.sub: Likewise.
42333         [BZ #10157]
42334         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42335         tests into ...
42336         (has_cpuclock): ...this.  New function.
42337         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42338         macro here based on has_cpuclock code.
42340         [BZ #10149]
42341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42342         First byte (not low byte) is now always NUL.
42343         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42346         Use non-cancelable interfaces.
42348         [BZ #9809]
42349         * locale/iso-639.def: Add entry for Sorani.
42351         [BZ #11901]
42352         * include/stdlib.h: Move include protection to the right place.
42353         Define abort_msg_s.  Declare __abort_msg with it.
42354         * stdlib/abort.c (__abort_msg): Adjust type.
42355         * assert/assert.c (__assert_fail_base): New function.  Majority
42356         of code from __assert_fail.  Allocate memory for __abort_msg with
42357         mmap.
42358         (__assert_fail): Now call __assert_fail_base.
42359         * assert/assert-perr.c: Remove bulk of implementation.  Use
42360         __assert_fail_base.
42361         * include/assert.hL Declare __assert_fail_base.
42362         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42363         mmap.
42364         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42366 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42368         [BZ #11952]
42369         [BZ #12453]
42370         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42371         until all modules are registered in the DTV.
42372         * elf/Makefile: Add rules to build and run tst-tls19.
42373         * elf/tst-tls19.c: New file.
42374         * elf/tst-tls19mod1.c: New file.
42375         * elf/tst-tls19mod2.c: New file.
42376         * elf/tst-tls19mod3.c: New file.
42377         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42379         [BZ #12083]
42380         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42381         correctly.
42383         [BZ #12601]
42384         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42385         two-byte sequence errors.
42386         * iconvdata/Makefile (tests): Add bug-iconv8.
42387         * iconvdata/bug-iconv8.c: New file.
42389         [BZ #12626]
42390         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42391         buf2 definition.
42393         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42395         [BZ #12432]
42396         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42397         (dummy_getcfa): New function.
42398         (init): Get _Unwind_GetCFA address, use dummy if not found.
42399         (backtrace_helper): In recursion check, also check whether CFA changes.
42400         (__backtrace): Completely initialize arg.
42402         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42403         storing incomplete byte sequence in state object.  Avoid testing for
42404         guaranteed too small input if we know there is enough data available.
42406 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42408         * Makeconfig (+link-pie): Indent.
42409         * Rules (binaries-pie): Define if $(have-fpie) and
42410         $(build-shared).
42411         (binaries-shared): Also filter out $(binaries-pie).
42412         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42413         * nscd/Makefile (others-pie): Add nscd.
42414         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42415         ($(objpfx)nscd): Remove command override.
42416         * login/Makefile (others-pie): Add pt_chown.
42417         ($(objpfx)pt_chown): Remove command override.
42418         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42419         remove command overrides.
42421 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42423         * libio/tst_putwc.c: Fix error messages.
42425         [BZ #12724]
42426         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42427         currently writing and seek to current position when not.
42428         * libio/Makefile (tests): Add bug-fclose1.
42429         * libio/bug-fclose1.c: New file.
42431 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42433         [BZ #12511]
42434         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42435         don't set DF_1_NODELETE here.
42436         (do_lookup_x): When entering new entry test for copy relocation
42437         and if necessary set DF_1_NODELETE flag.
42438         * elf/tst-unique4.cc: New file.
42439         * elf/tst-unique4.h: New file.
42440         * elf/tst-unique4lib.cc: New file.
42441         * elf/Makefile: Add rules to build and run tst-unique4.
42442         Patch by Piotr Bury <pbury@goahead.com>.
42444 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42446         [BZ #12052]
42447         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42449         [BZ #12625]
42450         * misc/mntent_r.c (addmntent): Flush the stream after the output
42452         [BZ #12393]
42453         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42454         (is_trusted_path_normalize): Skip initial colon.  Append slash
42455         to empty buffer.  Duplicate is_trusted_path code but allow
42456         constructed patch to be prefix.
42457         (is_dst): Allow $ORIGIN followed by /.
42458         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42459         Correct testing of result of is_trusted_path_normalize
42460         (decompose_rpath): Fix warning.
42462 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42464         [BZ #11257]
42465         * grp/initgroups.c (internal_getgrouplist): When we found the service
42466         list through the initgroups entry in nsswitch.conf do not always
42467         continue on a successful lookup.  Don't always use the
42468         __nss_group_database value if it is set.
42469         * nss/nsswitch.conf (initgroups): Change action for successful db
42470         lookup to continue for compatibility.
42472 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42474         [BZ #11532]
42475         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42476         and CP774 modules.
42477         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42478         and CP774 modules.
42479         * iconvdata/tst-tables.sh: Likewise.
42480         * iconvdata/cp770.c: New file.
42481         * iconvdata/cp771.c: New file.
42482         * iconvdata/cp772.c: New file.
42483         * iconvdata/cp773.c: New file.
42484         * iconvdata/cp774.c: New file.
42485         * iconvdata/testdata/CP770: New file.
42486         * iconvdata/testdata/CP770..UTF8: New file.
42487         * iconvdata/testdata/CP771: New file.
42488         * iconvdata/testdata/CP771..UTF8: New file.
42489         * iconvdata/testdata/CP772: New file.
42490         * iconvdata/testdata/CP772..UTF8: New file.
42491         * iconvdata/testdata/CP773: New file.
42492         * iconvdata/testdata/CP773..UTF8: New file.
42493         * iconvdata/testdata/CP774: New file.
42494         * iconvdata/testdata/CP774..UTF8: New file.
42496         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42497         END CHARMAP line.
42498         * iconvdata/gen-8bit-gap.sh: Likewise.
42499         * iconvdata/gen-8bit.sh: Likewise.
42501         * locale/iso-639.def: Add ary entry.
42503         [BZ #11258]
42504         * locale/C-translit.h.in: Add U20A1 transliteration.
42506         [BZ #12178]
42507         * locale/iso-639.def: Add wae entry.
42508         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42510         [BZ #12545]
42511         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42512         for n.
42514         [BZ #12711]
42515         * locale/C-translit.h.in: Add entry for U20B9.
42516         Patch by pravin.d.s@gmail.com.
42518 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42520         [BZ #12713]
42521         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42522         ENAMETOOLONG use generic getcwd.
42523         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42524         in rtld.  Use *stat64.
42525         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42526         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42527         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42528         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42529         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42530         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42531         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42532         __fstatat64 macros.
42533         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42534         * dirent/rewinddir.c: Add libc_hidden_def.
42535         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42536         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42538         * include/dirent.h (__alloc_dir): Add flags parameter.
42539         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42540         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42541         __alloc_dir.
42542         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42543         from fdopendir if O_CLOEXEC is already set.
42545 2011-03-15  Alan Modra  <amodra@gmail.com>
42547         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42548         l_tls_firstbyte_offset non-zero.  Save padding offset in
42549         l_tls_firstbyte_offset for later use.
42550         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42551         freeing static tls block.
42553 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42555         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42556         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42557         being defined by the kernel headers.
42559 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42561         [BZ #12734]
42562         * resolv/resolv.h: Define RES_NOTLDQUERY.
42563         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42564         no-tld-query and set RES_NOTLDQUERY.
42565         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42566         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42567         modern BIND to search name as TLD unless forbidden.
42569 2011-05-07  Petr Baudis  <pasky@suse.cz>
42570             Ulrich Drepper  <drepper@gmail.com>
42572         [BZ #12393]
42573         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42574         (is_trusted_path): ...to here.
42575         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42576         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42577         using is_trusted_path_normalize() in setuid scripts.
42579 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42581         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42582         __BEGIN/__END_DECLS.
42584 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42587         NSS_STATUS_NOTFOUND if no record was found.
42589 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42591         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42592         (headers-not-in-tirpc): Remove rpc/netdb.h
42593         * resolv/netdb.h: Revert last change.
42595 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42597         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42598         circular dependency between libgcc.a and libc.a.
42600 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42602         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42603         * nis/Makefile: Don't install rpcsvc/*.
42604         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42605         instead of <rpc/types.h>.
42606         (MAXHOSTNAMELEN): Define.
42608 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42610         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42612 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42614         [BZ #12714]
42615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42616         gethostbyname4_r when IPv6 results are possible.
42618 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42620         [BZ #12723]
42621         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42622         _PC_PIPE_BUF handling.
42624 2011-04-30  Bruno Haible  <bruno@clisp.org>
42626         [BZ #12717]
42627         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42628         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42629         to 'int'.
42630         * inet/getnameinfo.c (getnameinfo): Likewise.
42632 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42634         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42635         to groups setting in database lookup.
42636         * nss/nsswitch.conf: Add initgroups entry.
42638 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42640         [BZ #12685]
42641         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42642         mode string.
42643         Patch by Eric Blake <eblake@redhat.com>.
42645 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42647         * sunrpc/Makefile (need-export-routines): Add svc_run.
42648         (routines): Remove svc_run.
42649         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42650         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42651         * sunrpc/svc_run.c (svc_run): Likewise.
42652         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42654 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42656         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42657         problem in reallocation in last patch.
42659 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42661         * sunrpc/Makefile: Move inclusion of Rules.
42663 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42665         * nss/nss_files/files-initgroups.c: New file.
42666         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42667         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42668         _nss_files_initgroups_dyn.
42670 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42672         * elf/elf.h (R_ARM_IRELATIVE): Define.
42674 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42676         * po/ru.po: Update from translation team.
42678 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42680         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42681         dependencies.
42683 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
42685         [BZ #12653]
42686         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42687         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42688         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42689         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42692 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
42694         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42695         differing bytes.
42696         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42697         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42698         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42700 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42702         [BZ #12420]
42703         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42704         storing it.
42705         * stdlib/bug-getcontext.c: New file.
42706         * stdlib/Makefile: Add rules to build and run bug-getcontext.
42708 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42710         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42711         instructions into .machine "z9-109".
42712         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42713         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42715 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42717         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42718         between environment variables and auxiliary vector.
42720 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
42722         * Makefile: Add rules to build linkobj/libc.so.
42723         * include/libc-symbols.h: Define libc_hidden_nolink.
42724         * include/rpc/auth.h: Mark functions which are to be hidden.
42725         * include/rpc/auth_des.h: Likewise.
42726         * include/rpc/auth_unix.h: Likewise.
42727         * include/rpc/clnt.h: Likewise.
42728         * include/rpc/des_crypt.h: Likewise.
42729         * include/rpc/key_prot.h: Likewise.
42730         * include/rpc/pmap_clnt.h: Likewise.
42731         * include/rpc/pmap_prot.h: Likewise.
42732         * include/rpc/pmap_rmt.h: Likewise.
42733         * include/rpc/rpc_msg.h: Likewise.
42734         * include/rpc/svc.h: Likewise.
42735         * include/rpc/svc_auth.h: Likewise.
42736         * include/rpc/xdr.h: Likewise.
42737         * nis/Makefile: Link all DSOs against linkobj/libc.so.
42738         * nss/Makefile: Likewise.
42739         * sunrpc/Makefile: Don't install headers.  Build library with normal
42740         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
42741         * sunrpc/auth_des.c: Hide exported symbols by default, export some
42742         for the compat linking library.  Remove use of INTDEF/INTUSE.
42743         * sunrpc/auth_none.c: Likewise.
42744         * sunrpc/auth_unix.c: Likewise.
42745         * sunrpc/authdes_prot.c: Likewise.
42746         * sunrpc/authuxprot.c: Likewise.
42747         * sunrpc/clnt_gen.c: Likewise.
42748         * sunrpc/clnt_perr.c: Likewise.
42749         * sunrpc/clnt_raw.c: Likewise.
42750         * sunrpc/clnt_simp.c: Likewise.
42751         * sunrpc/clnt_tcp.c: Likewise.
42752         * sunrpc/clnt_udp.c: Likewise.
42753         * sunrpc/clnt_unix.c: Likewise.
42754         * sunrpc/des_crypt.c: Likewise.
42755         * sunrpc/des_soft.c: Likewise.
42756         * sunrpc/get_myaddr.c: Likewise.
42757         * sunrpc/key_call.c: Likewise.
42758         * sunrpc/key_prot.c: Likewise.
42759         * sunrpc/netname.c: Likewise.
42760         * sunrpc/pm_getmaps.c: Likewise.
42761         * sunrpc/pm_getport.c: Likewise.
42762         * sunrpc/pmap_clnt.c: Likewise.
42763         * sunrpc/pmap_prot.c: Likewise.
42764         * sunrpc/pmap_prot2.c: Likewise.
42765         * sunrpc/pmap_rmt.c: Likewise.
42766         * sunrpc/publickey.c: Likewise.
42767         * sunrpc/rpc_cmsg.c: Likewise.
42768         * sunrpc/rpc_common.c: Likewise.
42769         * sunrpc/rpc_dtable.c: Likewise.
42770         * sunrpc/rpc_prot.c: Likewise.
42771         * sunrpc/rpc_thread.c: Likewise.
42772         * sunrpc/rtime.c: Likewise.
42773         * sunrpc/svc.c: Likewise.
42774         * sunrpc/svc_auth.c: Likewise.
42775         * sunrpc/svc_authux.c: Likewise.
42776         * sunrpc/svc_raw.c: Likewise.
42777         * sunrpc/svc_run.c: Likewise.
42778         * sunrpc/svc_simple.c: Likewise.
42779         * sunrpc/svc_tcp.c: Likewise.
42780         * sunrpc/svc_udp.c: Likewise.
42781         * sunrpc/svc_unix.c: Likewise.
42782         * sunrpc/svcauth_des.c: Likewise.
42783         * sunrpc/xcrypt.c: Likewise.
42784         * sunrpc/xdr.c: Likewise.
42785         * sunrpc/xdr_array.c: Likewise.
42786         * sunrpc/xdr_float.c: Likewise.
42787         * sunrpc/xdr_intXX_t.c: Likewise.
42788         * sunrpc/xdr_mem.c: Likewise.
42789         * sunrpc/xdr_rec.c: Likewise.
42790         * sunrpc/xdr_ref.c: Likewise.
42791         * sunrpc/xdr_sizeof.c: Likewise.
42792         * sunrpc/xdr_stdio.c: Likewise.
42794 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42796         [BZ #12650]
42797         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42798         * sysdeps/ia64/dl-tls.h: Likewise.
42799         * sysdeps/powerpc/dl-tls.h: Likewise.
42800         * sysdeps/s390/dl-tls.h: Likewise.
42801         * sysdeps/sh/dl-tls.h: Likewise.
42802         * sysdeps/sparc/dl-tls.h: Likewise.
42803         * sysdeps/x86_64/dl-tls.h: Likewise.
42804         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42806 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42808         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42809         rpath element also skip the following colon.
42810         (expand_dynamic_string_token): Add is_path parameter and pass
42811         down to DL_DST_REQUIRED and _dl_dst_substitute.
42812         (decompose_rpath): Call expand_dynamic_string_token with
42813         non-zero is_path.  Ignore empty rpaths.
42814         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42815         with zero is_path.
42817 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42820         Make cancelable.
42822 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42824         [BZ #12655]
42825         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42826         Patch by Filipe David Manana <fdmanana@apache.org>.
42828 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42830         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42831         Maintain aligned stack.
42832         (CHECK_RSP): Remove unused macro.
42834 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42836         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42837         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42839 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42841         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42843         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42845 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42847         [BZ #12518]
42848         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42849         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42850         * sysdeps/x86_64/memmove.c: New file.
42851         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42852         (memcpy): Renamed to ...
42853         (__new_memcpy): This.
42854         (memcpy): Provide GLIBC_2_14 memcpy.
42855         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42856         (memcpy): Provide GLIBC_2_2_5 memcpy.
42858 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42860         [BZ #12631]
42861         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42863 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42865         * misc/syncfs.c: New file.
42866         * misc/Makefile (routines): Add syncfs.
42867         * posix/unistd.h: Declare syncfs.
42868         * sysdeps/unix/syscalls.list: Add syncfs.
42870 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42872         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42873         open_by_handle_at.
42874         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42875         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42877         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42879         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42880         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42882 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42884         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42885         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42886         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42890         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42892         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42893         sync_file_range.c with -fexceptions.
42894         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42895         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42896         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42897         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42898         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42899         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42900         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42901         sync_file_range as cancellation point
42902         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42903         now a wrapper around __call_sync_file_range with cancellation handling.
42904         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42905         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42906         function name to __call_sync_file_range.
42907         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42908         Add call_sync_file_range.
42910 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42913         bits/timex.h.
42915 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42917         * iconv/iconv.h: Fix typo in comment.
42918         * io/fcntl.h: Likewise.
42919         * libio/stdio.h: Likewise.
42920         * posix/spawn.h: Likewise.
42921         * posix/unistd.h: Likewise.
42922         * stdlib/stdlib.h: Likewise.
42923         * time/time.h: Likewise.
42924         * wcsmbs/wchar.h: Likewise.
42926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42927         open_by_handle): Add.
42928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42929         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42930         Augment a few comments.
42931         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42932         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42933         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42936         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42937         open_by_handle.
42939         * io/fcntl.h (AT_EMPTY_PATH): Define.
42941 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42943         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42944         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42945         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42946         to...
42947         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42948         * Versions.def: Add GLIBC_2.14.
42949         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42950         Export.
42952 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42954         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42955         round counter.
42956         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42958 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42960         [BZ #12597]
42961         * string/test-strncmp.c (do_page_test): New function.
42962         (check2): Likewise.
42963         (test_main): Call check2.
42964         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42966 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42968         [BZ #12587]
42969         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42970         Handle cache information in CPU leaf 4.
42971         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42973 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42975         [BZ #12583]
42976         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42977         character representation.
42978         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42980 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42982         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42983         END(__isnan) to END(__isnanf) to match function entry point/label
42984         EALIGN(__isnanf,...).
42986 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42988         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42990 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42992         [BZ #12510]
42993         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42994         copy from the symbol referenced in the relocation to initialize the
42995         used variable.
42996         Patch by Piotr Bury <pbury@goahead.com>.
42997         * elf/Makefile: Add rules to build and tst-unique3.
42998         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42999         * elf/tst-unique3.cc: New file.
43000         * elf/tst-unique3.h: New file.
43001         * elf/tst-unique3lib.cc: New file.
43002         * elf/tst-unique3lib2.cc: New file.
43004         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43006 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43008         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43009         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43010         to _start.
43012 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43014         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43015         to-be-loaded object along a path to loader is ld.so.
43017 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43018             Ulrich Drepper  <drepper@gmail.com>
43020         * sysdeps/x86_64/memset.S: After aligning destination, code
43021         branches to different locations depending on the value of
43022         misalignment, when multiarch is enabled. Fix this.
43024 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43026         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43027         Set _x86_64_preferred_memory_instruction for AMD processsors.
43028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43029         Set bit_Prefer_SSE_for_memop for AMD processors.
43031 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43033         * libio/fmemopen.c (fmemopen): Optimize a bit.
43035 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43037         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43039 2011-03-03  Roland McGrath  <roland@redhat.com>
43041         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43043 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43045         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43046         __bzero_ultra1 instead of __memset_ultra1.
43048 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43049             Ulrich Drepper  <drepper@gmail.com>
43051         [BZ #12509]
43052         * include/link.h (struct link_map): Add l_orig_initfini.
43053         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43054         returning unsuccessfully.
43055         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43056         close of a file loaded at startup, restore the original l_initfini
43057         list.
43058         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43059         list, store the pointer.
43060         * elf/Makefile ($(objpfx)noload-mem): New rule.
43061         (noload-ENV): Define.
43062         (tests): Add $(objpfx)noload-mem.
43063         * elf/noload.c: Include <memcheck.h>.
43064         (main): Call mtrace.  Close all opened handles.
43066 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43068         [BZ #12454]
43069         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43070         dependencies are missing.
43072 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43074         Fix __if_freereq crash: Unlike the generic version which uses free,
43075         Hurd needs munmap.
43076         * sysdeps/mach/hurd/ifreq.h: New file.
43078 2011-01-27  Petr Baudis  <pasky@suse.cz>
43079             Ulrich Drepper  <drepper@gmail.com>
43081         [BZ 12445]#
43082         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43083         to extend_alloca().
43084         * stdio-common/bug23.c: New file.
43085         * stdio-common/Makefile (tests): Add bug23.
43087 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43088             Ulrich Drepper  <drepper@gmail.com>
43090         [BZ #12489]
43091         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43092         before performing relro protection.  At old place add assertion
43093         to make sure nothing changed.
43095 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43096             Glauber de Oliveira Costa  <glommer@gmail.com>
43098         * elf/elf.h: Add new ARM TLS relocs.
43100 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43103         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43104         cast from r3.
43105         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43106         'tests' variable.
43107         * sysdeps/wordsize-64/tst-writev.c: New file.
43109 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43111         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43112         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43113         insns in _dl_start to prevent a TOC reference before relocs are
43114         resolved.
43116 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43118         [BZ #12469]
43119         * Makeconfig: Remove RANLIB definition.
43120         * Makerules: Don't use RANLIB.
43121         * aclocal.m4: Remove ranlib test.
43122         * configure.in: No need to check for ranlib.
43123         * elf/rtld-Rules: Don't use RANLIB.
43125 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43127         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43128         protection macro.
43129         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43130         inclusion protection macro.
43132         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43133         SIGRTMIN and SIGRTMAX and print information in that case only when
43134         SIGRTMIN is defined.
43136 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43138         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43139         arginfo fn returning -1.
43141         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43142         and thousands string is zero terminated.
43144 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43146         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43147         sysdeps/unix/sysv/linux/bits/socket.h.
43149 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43151         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43152         (__CPU_COUNT): Remove old macros.
43153         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43154         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43155         (__CPU_ALLOC, __CPU_FREE): Add macros.
43156         (__sched_cpualloc, __sched_cpufree): Add declarations.
43158 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43160         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43161         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43162         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43163         (readdhstai): Return value of addhstaiX call.
43164         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43165         (addgrbyX): Return value returned by cache_addgr.
43166         (readdgrbyname): Return value returned by addgrbyX.
43167         (readdgrbygid): Likewise.
43168         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43169         (addpwbyX): Return value returned by cache_addpw.
43170         (readdpwbyname): Return value returned by addhstbyX.
43171         (readdpwbyuid): Likewise.
43172         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43173         (addservbyX): Return value returned by cache_addserv.
43174         (readdservbyname): Return value returned by addservbyX:
43175         (readdservbyport): Likewise.
43176         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43177         (addhstbyX): Return value returned by cache_addhst.
43178         (readdhstbyname): Return value returned by addhstbyX.
43179         (readdhstbyaddr): Likewise.
43180         (readdhstbynamev6): Likewise.
43181         (readdhstbyaddrv6): Likewise.
43182         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43183         (readdinitgroups): Return value returned by addinitgroupsX.
43184         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43185         (prune_cache): Keep track of timeout value of re-added entries.
43186         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43187         * nscd/nscd.h: Adjust prototypes of readd* functions.
43189 2011-02-04  Roland McGrath  <roland@redhat.com>
43191         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43192         (nis_stats): Likewise.
43193         * nis/nis_modify.c (nis_modify): Likewise.
43194         * nis/nis_remove.c (nis_remove): Likewise.
43195         * nis/nis_add.c (nis_add): Likewise.
43197         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43199         * posix/fnmatch_loop.c: Add some consts.
43201         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43203 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43205         [BZ #12460]
43206         * config.make.in (config-cflags-novzeroupper): Define.
43207         * configure.in: Substitute libc_cv_cc_novzeroupper.
43208         * elf/Makefile (AVX-CFLAGS): Define.
43209         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43210         (CFLAGS-tst-auditmod4a.c): Likewise.
43211         (CFLAGS-tst-auditmod4b.c): Likewise.
43212         (CFLAGS-tst-auditmod6b.c): Likewise.
43213         (CFLAGS-tst-auditmod6c.c): Likewise.
43214         (CFLAGS-tst-auditmod7b.c): Likewise.
43215         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43217 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43219         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43220         function to the callback.
43221         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43223 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43225         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43226         of errno.
43228 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43230         [BZ #11724]
43231         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43232         of constructors.
43233         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43234         of destructors.
43235         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43237         [BZ #11724]
43238         * elf/Makefile: Add rules to build and run new test.
43239         * elf/tst-initorder.c: New file.
43240         * elf/tst-initorder.exp: New file.
43241         * elf/tst-initordera1.c: New file.
43242         * elf/tst-initordera2.c: New file.
43243         * elf/tst-initordera3.c: New file.
43244         * elf/tst-initordera4.c: New file.
43245         * elf/tst-initorderb1.c: New file.
43246         * elf/tst-initorderb2.c: New file.
43247         * elf/tst-order-a1.c: New file.
43248         * elf/tst-order-a2.c: New file.
43249         * elf/tst-order-a3.c: New file.
43250         * elf/tst-order-a4.c: New file.
43251         * elf/tst-order-b1.c: New file.
43252         * elf/tst-order-b2.c: New file.
43253         * elf/tst-order-main.c: New file.
43254         New test case by George Gensure <werkt0@gmail.com>.
43256 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43259         decoding ACE if AI_CANONIDN.
43261 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43263         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43265 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43267         * version.h (RELEASE): Bump for 2.13 release.
43268         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43270         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43272         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43273         MADV_NOHUGEPAGE.
43274         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43275         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43276         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43277         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43278         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43279         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43281         * posix/getconf.c: Update copyright year.
43282         * catgets/gencat.c: Likewise.
43283         * csu/version.c: Likewise.
43284         * debug/catchsegv.sh: Likewise.
43285         * debug/xtrace.sh: Likewise.
43286         * elf/ldconfig.c: Likewise.
43287         * elf/ldd.bash.in: Likewise.
43288         * elf/sprof.c (print_version): Likewise.
43289         * iconv/iconv_prog.c: Likewise.
43290         * iconv/iconvconfig.c: Likewise.
43291         * locale/programs/locale.c: Likewise.
43292         * locale/programs/localedef.c: Likewise.
43293         * malloc/memusage.sh: Likewise.
43294         * malloc/mtrace.pl: Likewise.
43295         * nscd/nscd.c (print_version): Likewise.
43296         * nss/getent.c: Likewise.
43298         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43299         PF_CAIF, and PF_ALG.
43300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43302 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43304         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43305         (modules-names): Use them.
43306         (ifunc-test-modules, ifunc-pie-tests): Define.
43307         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43308         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43309         (test-extras): Likewise.
43310         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43311         $(compile-command.c).
43312         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43313         (all-built-dso): Define.
43314         (check-textrel.out, check-execstack.out): Depend on it.
43316         * configure.in: Don't override --enable-multi-arch.
43318 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43320         [BZ #6812]
43321         * nscd/hstcache.c (tryagain): Define.
43322         (cache_addhst): Return tryagain not notfound for temporary errors.
43323         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43324         failed.
43326 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43328         [BZ #10563]
43329         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43330         to make the syscall.
43331         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43333         [BZ #12378]
43334         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43335         and fall back to matching as normal character if the string ends before
43336         the matching ']' is found.  This is what POSIX requires.
43337         * posix/testfnm.c: Adjust test result.
43338         * posix/globtest.sh: Adjust test result.  Add new test.
43339         * posix/tst-fnmatch.input: Likewise.
43340         * posix/tst-fnmatch2.c: Add new test.
43342 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43344         * elf/Makefile (check-execstack): Revert last change.  Depend on
43345         check-execstack.h.
43346         (check-execstack.h): New target.
43347         (generated): Add check-execstack.h.
43348         * elf/check-execstack.c: Include "check-execstack.h".
43349         (main): Revert last change.
43350         (handle_file): Return zero if GNU_STACK is absent and
43351         DEFAULT_STACK_PERMS doesn't include PF_X.
43353 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43355         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43356         in child fails because the descriptor is already closed.
43357         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43358         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43359         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43361         [BZ #12397]
43362         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43363         syscall.
43365         [BZ #10484]
43366         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43367         temporary buffer used to handle multi lookups locally.
43368         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43370 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43372         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43373         loader is ld.so.
43375 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43377         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43378         alignment for SSE2.
43380 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43382         [BZ #12394]
43383         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43384         characters.  When rounding increased number of integer digits recompute
43385         number of groups.
43386         * stdio-common/tst-grouping.c: New file.
43387         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43389 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43391         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43392         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43394         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43395         void.
43396         * bits/select.h: Likewise.
43398 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43400         * po/ja.po: Update from translation team.
43402 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43404         [BZ #11155]
43405         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43406         implementation just like for lxstat, fxstatat, et al.
43408 2010-12-27  Jim Meyering  <meyering@redhat.com>
43410         [BZ #12348]
43411         * posix/regexec.c (build_trtable): Return failure indication upon
43412         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43414 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43416         [BZ #12201]
43417         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43418         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43419         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43420         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43422         [BZ #12207]
43423         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43425         [BZ #12204]
43426         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43427         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43429 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43431         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43432         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43433         script has SORT_BY_INIT_PRIORITY.
43434         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43435         NO_CTORS_DTORS_SECTIONS is defined.
43436         * elf/soinit.c: Likewise.
43437         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43438         NO_CTORS_DTORS_SECTIONS is defined.
43439         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43440         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43441         * sysdeps/sh/init-first.c: Likewise.
43442         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43444 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43446         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43447         always use the slow path.
43449 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43451         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43452         similar rule which adds the sysdep directories to the header search in
43453         order to pick up the correct platform stackinfo.h.
43454         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43455         perform test if it is, otherwise return successfully without testing.
43456         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43457         DEFAULT_STACK_PERMS define in stackinfo.h.
43458         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43459         defined in stackinfo.h.
43460         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43461         DEFAULT_STACK_PERMS defined in stackinfo.h.
43462         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43463         * sysdeps/ia64/stackinfo.h: Likewise.
43464         * sysdeps/s390/stackinfo.h: Likewise.
43465         * sysdeps/sh/stackinfo.h: Likewise.
43466         * sysdeps/sparc/stackinfo.h: Likewise.
43467         * sysdeps/x86_64/stackinfo.h: Likewise.
43468         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43469         PF_X for powerpc64.  Retain PF_X for powerpc32.
43471 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43473         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43474         accurately.
43475         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43476         GETDENTS_64BIT_ALIGNED.
43478 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43480         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43482 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43484         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43485         _GNU_SOURCE.
43487         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43488         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43489         Remove __restrict.
43490         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43491         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43493 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43495         [BZ #11655]
43496         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43497         are initialized.
43499 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43501         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43503 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43505         * po/it.po: Update from translation team.
43507 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43510         unused codes.
43512 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43514         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43516 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43518         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43519         specially.
43520         (gaih_getanswer_slice): Likewise.
43522 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43526 2010-05-31  Petr Baudis  <pasky@suse.cz>
43528         [BZ #11149]
43529         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43530         silently even in the chroot mode.
43532 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43534         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43535         last patch a bit.  Pretty printing
43537 2010-05-31  Petr Baudis <pasky@suse.cz>
43539         [BZ #10085]
43540         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43541         initialization of skip_initgroups_dyn.
43543 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43545         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43546         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43548 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43550         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43552 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43554         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43555         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43556         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43557         ($(objpfx)tst-fnmatch-mem): New rule.
43558         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43559         * posix/tst-fnmatch.c (main): Call mtrace.
43561 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43564         Support Intel processor model 6 and model 0x2c.
43566 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43568         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43569           signed comparison.
43571 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43573         [BZ #12205]
43574         * string/test-strncasecmp.c (check_result): New function.
43575         (do_one_test): Use it.
43576         (check1): New function.
43577         (test_main): Use it.
43578         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43579         Support strcasecmp and strncasecmp.
43581 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43583         [BZ #12194]
43584         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43585         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43587 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43589         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43590         IFUNC support.
43591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43592         memset-x86-64.
43593         * sysdeps/x86_64/multiarch/bzero.S: New file.
43594         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43595         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43596         * sysdeps/x86_64/multiarch/memset.S: New file.
43597         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43599         Set bit_Prefer_SSE_for_memop for Intel processors.
43600         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43601         Define.
43602         (index_Prefer_SSE_for_memop): Define.
43603         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43605 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43607         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43608         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43610 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43612         [BZ #12191]
43613         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43614         (__x86_64_raw_data_cache_size_half): Likewise.
43615         (__x86_64_raw_shared_cache_size): Likewise.
43616         (__x86_64_raw_shared_cache_size_half): Likewise.
43618         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43619         (__x86_64_raw_data_cache_size_half): Likewise.
43620         (__x86_64_raw_shared_cache_size): Likewise.
43621         (__x86_64_raw_shared_cache_size_half): Likewise.
43622         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43623         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43624         and __x86_64_raw_shared_cache_size_half.  Round
43625         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43626         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43627         to multiple of 256 bytes.
43629 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43631         [BZ #12167]
43632         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43633         of inacessible symlinks.  Verify result of symlink before returning it.
43634         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43635         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43637 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43639         * math/math.h (isinf): Fix typo in comment.
43641 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43643         * po/da.po: Update from translation team.
43645 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43647         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43648         is added to the list.
43650 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43651             Ulrich Drepper  <drepper@gmail.com>
43653         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43654         the global list here.  Move code to...
43655         (_dl_add_to_namespace_list): ...here.  New function.
43656         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43657         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43658         * elf/dl-load.c (lose): Don't remove the element from the list.
43659         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43660         (_dl_map_object): Likewise.
43662 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43664         [BZ #12159]
43665         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43666         into all bytes of SSE register.
43667         Patch by Richard Li <richardpku@gmail.com>.
43669 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43671         [BZ #12140]
43672         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43673         perturbing.
43675 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43677         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43678         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43679         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43680         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43682         submachine.
43683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43685 2010-10-22  Andreas Schwab  <schwab@redhat.com>
43687         * include/dlfcn.h (__RTLD_SECURE): Define.
43688         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
43689         mode & __RTLD_SECURE instead.
43690         (open_path): Rename preloaded parameter to secure.
43691         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43692         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43693         * elf/dl-deps.c (openaux): Likewise.
43694         * elf/rtld.c (struct map_args): Remove is_preloaded.
43695         (map_doit): Don't use it.
43696         (dl_main): Likewise.
43697         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43698         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43700 2010-09-09  Andreas Schwab  <schwab@redhat.com>
43702         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43703         (sysd-rules-targets): Remove duplicates.
43704         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43705         rtld-%.$o dependency.
43707 2010-10-18  Andreas Schwab  <schwab@redhat.com>
43709         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43710         _dl_map_object do it.
43712 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
43714         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43715         fast fma builtins, define the macros in the C99 standard.
43716         (FP_FAST_FMAF): Likewise.
43717         (FP_FAST_FMAL): Likewise.
43718         * sysdeps/x86_64/bits/mathdef.h: Likewise.
43720         * bits/mathdef.h: Update copyright year.
43721         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43723 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
43725         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43726         builtins, define the macros in the C99 standard.
43727         (FP_FAST_FMAF): Likewise.
43728         (FP_FAST_FMAL): Likewise.
43729         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43730         multiply/add.
43731         (FP_FAST_FMAF): Likewise.
43733 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
43735         [BZ #3268]
43736         * math/libm-test.inc (fma_test): Some new testcases.
43737         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43738         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43739         y and infinite z.  Do multiplication by C already in long double.
43740         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43742         y and infinite z.  Do bitwise or of inexact bit into u.d.
43743         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43744         * sysdeps/i386/fpu/s_fmaf.S: Removed.
43745         * sysdeps/i386/fpu/s_fma.S: Removed.
43746         * sysdeps/i386/fpu/s_fmal.S: Removed.
43748 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
43750         [BZ #3268]
43751         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43752         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43753         computation is not scheduled after fetestexcept.  Fix value
43754         of minimum denormal long double.
43756 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43758         [BZ #3268]
43759         * math/libm-test.inc (fma_test): Add some more tests.
43760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43761         correctly.
43763 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43765         * scripts/data/localplt-s390-linux-gnu.data: New file.
43766         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43768 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43770         [BZ #3268]
43771         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43772         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43773         instead of dbl-64.
43774         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43775         inlines.
43776         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43777         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43778         if one of x and y is very large and the other is subnormal.
43779         * sysdeps/s390/fpu/s_fmaf.c: New file.
43780         * sysdeps/s390/fpu/s_fma.c: New file.
43781         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43782         * sysdeps/powerpc/fpu/s_fma.S: New file.
43783         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43784         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43785         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43787 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43789         [BZ #3268]
43790         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43791         fma tests.
43792         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43793         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43794         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43795         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43796         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43797         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43798         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43800 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43802         [BZ #12078]
43803         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43804         * posix/bug-regex31.input: Add test case.
43806 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43808         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43809         * posix/bug-regex31.input: New file.
43811         [BZ #12078]
43812         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43813         (parse_sub_exp): Fix last change, use postorder.
43815         * posix/bug-regex31.c: New file.
43816         * posix/Makefile: Add rules to build and run bug-regex31.
43818         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43820         [BZ #12078]
43821         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43823         [BZ #12108]
43824         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43825         to have entries in sys_siglist.
43827         [BZ #12093]
43828         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43829         be NULL.
43831 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43833         [BZ #3268]
43834         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43835         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43836         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43837         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43838         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43839         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43840         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43841         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43842         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43843         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43844         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43845         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43846         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43847         * math/ftestexcept.c (fetestexcept): Likewise.
43848         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43849         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43850         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43851         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43852         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43853         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43854         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43856 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43858         [BZ #12107]
43859         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43860         newline.
43862 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43864         * string/bug-strstr1.c: New file.
43865         * string/Makefile: Add rules to build and run bug-strstr1.
43867 2010-10-05  Eric Blake  <eblake@redhat.com>
43869         [BZ #12092]
43870         * string/str-two-way.h (two_way_long_needle): Always clear memory
43871         when skipping input due to the shift table.
43873 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43875         [BZ #12005]
43876         * malloc/mcheck.c: Handle large requests.
43878         [BZ #12077]
43879         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43880         for strncmp and strncasecmp.
43881         * string/stratcliff.c: Add tests for strcmp and strncmp.
43882         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43884 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43886         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43887         __set_fpscr.
43889 2010-09-30  Andreas Jaeger  <aj@suse.de>
43891         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43892         (CGROUP_SUPER_MAGIC): Define.
43893         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43894         Handle btrfs and cgroup file systems.
43895         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43896         Likewise.
43898 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43900         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43901         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43903 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43905         [BZ #12067]
43906         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43907         trying to locate the ELF header.
43909 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43911         [BZ #11611]
43912         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43913         Mask out sign-bit copies when constructing f_fsid.
43915 2010-09-24  Petr Baudis <pasky@suse.cz>
43917         * debug/stack_chk_fail_local.c: Add missing licence exception.
43918         * debug/warning-nop.c: Likewise.
43920 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43922         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43923         implementing getdents64 using getdents syscall, set d_type if
43924         __ASSUME_GETDENTS32_D_TYPE.
43926 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43928         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43929         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43931 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43933         [BZ #12037]
43934         * posix/unistd.h: Undo change of feature selection for ftruncate from
43935         2010-01-11.
43937 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43939         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43940         detection.
43942 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43944         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43945         fanotify_mark.
43946         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43948 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43950         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43951         variables after CHECK_SP call.
43952         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43954 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43955             Ulrich Drepper  <drepper@redhat.com>
43957         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43958         re-relocationg ld.so.
43959         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43960         _dl_init_paths call.
43961         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43962         here anymore.
43964 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43966         * resolv/res_init.c (__res_vinit): Count the default server we added.
43968 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43969             Ulrich Drepper  <drepper@redhat.com>
43971         [BZ #11968]
43972         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43973         (____longjmp_chk): Use %ebx for saving value across system call.
43974         Add unwind info.
43976 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43978         * manual/Makefile: Don't mix pattern rules with normal rules.
43980 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43982         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43983         operation.
43984         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43985         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43986         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43987         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43989         Likewise.
43991 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43993         [BZ #11979]
43994         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43995         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43997 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43999         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44000         * sysdeps/x86_64/addmul_1.S: Likewise.
44001         * sysdeps/x86_64/lshift.S: Likewise.
44002         * sysdeps/x86_64/mul_1.S: Likewise.
44003         * sysdeps/x86_64/rshift.S: Likewise.
44004         * sysdeps/x86_64/sub_n.S: Likewise.
44005         * sysdeps/x86_64/submul_1.S: Likewise.
44007 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44009         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44010         Define __sched_param instead of SCHED_* and sched_param when
44011         <bits/sched.h> is included with __need_schedparam defined.
44012         * bits/sched.h [__need_schedparam]
44013         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44014         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44015         (__defined_schedparam): Define to 1.
44016         (__sched_param): New structure, identical to sched_param.
44017         (__need_schedparam): Undefine.
44019 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44021         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44022         (epoll_create1): Declare.
44024         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44026 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44028         [BZ #7066]
44029         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44030         shifting retval into place.
44032 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44034         * nis/rpcsvc/nis.h: Update copyright notice.
44035         * nis/rpcsvc/nis.x: Likewise.
44036         * nis/rpcsvc/nis_callback.h: Likewise.
44037         * nis/rpcsvc/nis_callback.x: Likewise.
44038         * nis/rpcsvc/nis_object.x: Likewise.
44039         * nis/rpcsvc/nis_tags.h: Likewise.
44040         * nis/rpcsvc/yp.h: Likewise.
44041         * nis/rpcsvc/yp.x: Likewise.
44042         * nis/rpcsvc/ypupd.h: Likewise.
44043         * nis/yp_xdr.c: Likewise.
44044         * nis/ypupdate_xdr.c: Likewise.
44046         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44047         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44048         (pmap_getport): Use __libc_rpc_getport.
44049         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44050         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44051         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44053 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44056         fanotify_mark.
44058 2010-08-27  Roland McGrath  <roland@redhat.com>
44060         * sysdeps/i386/i686/multiarch/Makefile
44061         (CFLAGS-varshift.c): New variable.
44063 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44065         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44066         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44068         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44070         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44072 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44074         * sysdeps/x86_64/strlen.S: Unroll the loop.
44075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44076         strlen-sse2 strlen-sse2-bsf.
44077         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44078         __strlen_no_bsf if bit_Slow_BSF is set.
44079         (__strlen_sse42): Removed.
44080         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44081         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44083 2010-08-25  Roland McGrath  <roland@redhat.com>
44085         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44086         * sysdeps/x86_64/multiarch/varshift.c: New file.
44087         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44088         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44089         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44090         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44092 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44095         strlen-sse2 strlen-sse2-bsf.
44096         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44097         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44098         (__strlen_sse2): Removed.
44099         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44100         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44102         bit_Slow_BSF for Atom.
44103         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44104         (index_Slow_BSF): Define.
44105         (HAS_SLOW_BSF): Define.
44107 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44109         [BZ #10851]
44110         * resolv/res_init.c (__res_vinit): When no server address at all
44111         is given default to loopback.
44113 2010-08-24  Roland McGrath  <roland@redhat.com>
44115         * configure.in: Remove config-name.h generation.
44116         * configure: Regenerated.
44117         * config-name.in: File removed.
44118         * scripts/config-uname.sh: New file.
44119         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44120         ($(objdir)config-name.h): New target.
44122         * sunrpc/rpc_parse.h: Avoid nested comment.
44124 2010-08-24  Richard Henderson  <rth@redhat.com>
44125             Ulrich Drepper  <drepper@redhat.com>
44126             H.J. Lu  <hongjiu.lu@intel.com>
44128         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44130         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44131         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44132         _mm_alignr_epi8 with _mm_loadu_si128.
44133         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44134         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44135         (__m128i_shift_right): Removed.
44136         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44137         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44138         * sysdeps/x86_64/multiarch/varshift.h: New file.
44139         * sysdeps/x86_64/multiarch/varshift.S: New file.
44141 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44143         * configure.in: Move assembler checks to before sysdep dir checking.
44145 2010-08-20  Petr Baudis  <pasky@suse.cz>
44147         * LICENSES: Sync the sunrpc license.
44149 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44151         * sunrpc/auth_des.c: Update copyright notice once again.
44152         * sunrpc/auth_none.c: Likewise.
44153         * sunrpc/auth_unix.c: Likewise.
44154         * sunrpc/authdes_prot.c: Likewise.
44155         * sunrpc/authuxprot.c: Likewise.
44156         * sunrpc/bindrsvprt.c: Likewise.
44157         * sunrpc/clnt_gen.c: Likewise.
44158         * sunrpc/clnt_perr.c: Likewise.
44159         * sunrpc/clnt_raw.c: Likewise.
44160         * sunrpc/clnt_simp.c: Likewise.
44161         * sunrpc/clnt_tcp.c: Likewise.
44162         * sunrpc/clnt_udp.c: Likewise.
44163         * sunrpc/clnt_unix.c: Likewise.
44164         * sunrpc/des_crypt.c: Likewise.
44165         * sunrpc/des_soft.c: Likewise.
44166         * sunrpc/get_myaddr.c: Likewise.
44167         * sunrpc/getrpcport.c: Likewise.
44168         * sunrpc/key_call.c: Likewise.
44169         * sunrpc/key_prot.c: Likewise.
44170         * sunrpc/openchild.c: Likewise.
44171         * sunrpc/pm_getmaps.c: Likewise.
44172         * sunrpc/pm_getport.c: Likewise.
44173         * sunrpc/pmap_clnt.c: Likewise.
44174         * sunrpc/pmap_prot.c: Likewise.
44175         * sunrpc/pmap_prot2.c: Likewise.
44176         * sunrpc/pmap_rmt.c: Likewise.
44177         * sunrpc/rpc/auth.h: Likewise.
44178         * sunrpc/rpc/auth_unix.h: Likewise.
44179         * sunrpc/rpc/clnt.h: Likewise.
44180         * sunrpc/rpc/des_crypt.h: Likewise.
44181         * sunrpc/rpc/key_prot.h: Likewise.
44182         * sunrpc/rpc/netdb.h: Likewise.
44183         * sunrpc/rpc/pmap_clnt.h: Likewise.
44184         * sunrpc/rpc/pmap_prot.h: Likewise.
44185         * sunrpc/rpc/pmap_rmt.h: Likewise.
44186         * sunrpc/rpc/rpc.h: Likewise.
44187         * sunrpc/rpc/rpc_des.h: Likewise.
44188         * sunrpc/rpc/rpc_msg.h: Likewise.
44189         * sunrpc/rpc/svc.h: Likewise.
44190         * sunrpc/rpc/svc_auth.h: Likewise.
44191         * sunrpc/rpc/types.h: Likewise.
44192         * sunrpc/rpc/xdr.h: Likewise.
44193         * sunrpc/rpc_clntout.c: Likewise.
44194         * sunrpc/rpc_cmsg.c: Likewise.
44195         * sunrpc/rpc_common.c: Likewise.
44196         * sunrpc/rpc_cout.c: Likewise.
44197         * sunrpc/rpc_dtable.c: Likewise.
44198         * sunrpc/rpc_hout.c: Likewise.
44199         * sunrpc/rpc_main.c: Likewise.
44200         * sunrpc/rpc_parse.c: Likewise.
44201         * sunrpc/rpc_parse.h: Likewise.
44202         * sunrpc/rpc_prot.c: Likewise.
44203         * sunrpc/rpc_sample.c: Likewise.
44204         * sunrpc/rpc_scan.c: Likewise.
44205         * sunrpc/rpc_scan.h: Likewise.
44206         * sunrpc/rpc_svcout.c: Likewise.
44207         * sunrpc/rpc_tblout.c: Likewise.
44208         * sunrpc/rpc_util.c: Likewise.
44209         * sunrpc/rpc_util.h: Likewise.
44210         * sunrpc/rpcinfo.c: Likewise.
44211         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44212         * sunrpc/rpcsvc/key_prot.x: Likewise.
44213         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44214         * sunrpc/rpcsvc/mount.x: Likewise.
44215         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44216         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44217         * sunrpc/rpcsvc/rex.x: Likewise.
44218         * sunrpc/rpcsvc/rstat.x: Likewise.
44219         * sunrpc/rpcsvc/rusers.x: Likewise.
44220         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44221         * sunrpc/rpcsvc/spray.x: Likewise.
44222         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44223         * sunrpc/rtime.c: Likewise.
44224         * sunrpc/svc.c: Likewise.
44225         * sunrpc/svc_auth.c: Likewise.
44226         * sunrpc/svc_authux.c: Likewise.
44227         * sunrpc/svc_raw.c: Likewise.
44228         * sunrpc/svc_run.c: Likewise.
44229         * sunrpc/svc_simple.c: Likewise.
44230         * sunrpc/svc_tcp.c: Likewise.
44231         * sunrpc/svc_udp.c: Likewise.
44232         * sunrpc/svc_unix.c: Likewise.
44233         * sunrpc/svcauth_des.c: Likewise.
44234         * sunrpc/xcrypt.c: Likewise.
44235         * sunrpc/xdr.c: Likewise.
44236         * sunrpc/xdr_array.c: Likewise.
44237         * sunrpc/xdr_float.c: Likewise.
44238         * sunrpc/xdr_mem.c: Likewise.
44239         * sunrpc/xdr_rec.c: Likewise.
44240         * sunrpc/xdr_ref.c: Likewise.
44241         * sunrpc/xdr_sizeof.c: Likewise.
44242         * sunrpc/xdr_stdio.c: Likewise.
44244         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44245         handling.
44247 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44249         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44251 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44253         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44254         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44255         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44256         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44257         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44258         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44259         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44260         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44261         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44262         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44263         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44264         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44265         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44266         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44268 2010-07-26  Anton Blanchard  <anton@samba.org>
44270         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44271         * malloc/arena.c (heap_trim): Likewise.
44273 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44275         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44276         here.  Not...
44277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44278         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44280 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44282         * sysdeps/i386/elf/Makefile: New file.
44284 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44286         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44287         from fanotify_init.
44288         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44289         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44291 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44293         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44294         of strncasecmp_l.
44295         * sysdeps/multiarch/strcmp.S: Likewise.
44297 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44299         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44300         strncase_l-nonascii.
44301         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44302         Add strncase_l-ssse3.
44303         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44304         * sysdeps/x86_64/strcmp.S: Likewise.
44305         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44306         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44307         * sysdeps/x86_64/strncase.S: New file.
44308         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44309         * sysdeps/x86_64/strncase_l.S: New file.
44310         * string/Makefile (strop-tests): Add strncasecmp.
44311         * string/test-strncasecmp.c: New file.
44313         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44314         warning.
44316         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44317         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44319 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44321         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44323 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44325         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44326         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44327         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44329 2010-05-01  Alan Modra  <amodra@gmail.com>
44331         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44332         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44333         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44334         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44335         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44336         tidying.  Don't tail-call __sigjmp_save for static lib.
44337         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44338         save location.
44339         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44340         (CALL_MCOUNT): Add eh info, and nop after bl.
44341         (TAIL_CALL_SYSCALL_ERROR): New macro.
44342         (PSEUDO_RET): Use it.
44343         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44344         Correct save location of integer regs and cr.
44345         (_dl_profile_resolve): Correct cr save location.  Delete nops
44346         after bl when SHARED.  Reduce cfi size a little by better
44347         placement of cfi directives.
44348         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44349         make a stack frame.  Instead use parm save area as a temp.
44350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44351         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44353         Don't make a stack frame for parent, use parm save area.
44354         Increase child stack frame to 112 bytes.  Don't save unused reg,
44355         and adjust reg usage.  Set up cfi on error recovery and
44356         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44358         (__makecontext): Add dummy nop after jump to exit.
44359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44360         Use correct parm save area and cr save, reduce stack frame.
44361         Correct cfi for possible PSEUDO_RET frame setup.
44362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44363         Branch to local label emitted by PSEUDO_RET rather than
44364         __syscall_error.
44366 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44368         [BZ #11904]
44369         * locale/programs/locale.c (print_assignment): New function.
44370         (show_locale_vars): Use it.
44372 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44374         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44375         field.
44376         (struct statfs64): Likewise.
44377         (_STATFS_F_FLAGS): Define.
44378         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44380         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44381         (ST_VALID): Define locally.
44382         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44383         __statvfs_getflags, use the provided value.
44384         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44385         __ASSUME_STATFS_F_FLAGS.
44387         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44389         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44390         Add sys/fanotify.h.
44391         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44392         fanotify_mask for GLIBC_2.13.
44393         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44394         fanotify_init and fanotify_mark.
44395         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44396         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44398         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44399         Add prlimit.
44400         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44401         prlimit64 for GLIBC_2.13.
44402         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44403         prlimit64.
44404         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44405         syscall.
44406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44407         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44408         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44409         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44410         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44411         add prlimit alias.
44412         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44414         [BZ #11903]
44415         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44416         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44418         * nss/Makefile: Add rules to build and run tst-nss-test1.
44419         * shlib-versions: Add entry for libnss_test1.
44420         * nss/nss_test1.c: New file.
44421         * nss/tst-nss-test1.c: New file.
44423         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44424         (__nss_configure_lookup): Set appropriate entry in
44425         __nss_configure_lookup to true.
44426         * nss/nsswitch.h: Define enum with indeces of databases in
44427         databases and __nss_database_custom arrays.  Declare
44428         __nss_database_custom.
44429         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44430         to avoid using nscd when custom rules are installed.
44431         * nss/getXXbyYY_r.c: Likewise.
44432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44434         * nss/nss_files/files-parse.c: Whitespace fixes.
44436 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44438         [BZ #11883]
44439         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44440         * posix/fnmatch_loop.c: Likewise.
44442 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44444         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44445         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44446         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44447         * Versions.def [GLIBC_2.13]: Add.
44449 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44451         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44452         Also fail if tpwd after pwuid call is NULL.
44454 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44456         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44457         when converting to ms.
44459 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44461         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44462         EOPNOTSUPP errors with ENOTTY.
44463         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44464         EOPNOTSUPP errors with ENOTTY.
44466 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44468         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44469         Add strcasecmp_l-ssse3.
44470         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44471         strcasecmp.
44472         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44473         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44474         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44476 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44478         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44480         * string/Makefile (strop-tests): Add strcasecmp.
44481         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44482         strcasecmp_l-nonascii.
44483         (gen-as-const-headers): Add locale-defines.sym.
44484         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44485         * sysdeps/x86_64/strcasecmp.S: New file.
44486         * sysdeps/x86_64/strcasecmp_l.S: New file.
44487         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44488         * sysdeps/x86_64/locale-defines.sym: New file.
44489         * string/test-strcasecmp.c: New file.
44491         * string/test-strcasestr.c: Test both ends of the range of characters.
44492         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44494 2010-07-29  Roland McGrath  <roland@redhat.com>
44496         [BZ #11856]
44497         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44499 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44501         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44502         for ld.so.
44504 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44506         * manual/memory.texi (Malloc Tunable Parameters): Document
44507         M_PERTURB.
44509 2010-07-26  Roland McGrath  <roland@redhat.com>
44511         [BZ #11840]
44512         * configure.in (-fgnu89-inline check): Set and substitute
44513         gnu89_inline, not libc_cv_gnu89_inline.
44514         * configure: Regenerated.
44515         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44517 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44519         * string/test-strnlen.c: New file.
44520         * string/Makefile (strop-tests): Add strnlen.
44521         * string/tester.c (test_strnlen): Add a few more test cases.
44522         * string/tst-strlen.c: Better error reporting.
44524         * sysdeps/x86_64/strnlen.S: New file.
44526 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44528         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44529         lower-latency instructions.
44531 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44533         * string/test-strcasestr.c: New file.
44534         * string/test-strstr.c: New file.
44535         * string/Makefile (strop-tests): Add strstr and strcasestr.
44536         * string/str-two-way.h: Don't undefine MAX.
44537         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44539 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44541         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44542         strcasestr-nonascii.
44543         (CFLAGS-strcasestr-nonascii.c): Define.
44544         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44545         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44546         Remove unused attribute.
44548 2010-07-20  Roland McGrath  <roland@redhat.com>
44550         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44551         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44552         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44553         like LD_HWCAP_MASK can disable hwcaps.
44555 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44557         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44559 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44561         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44562         call in strcasestr.
44563         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44564         __strcasestr_sse42_nonascii.
44565         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44566         strcasestr-nonascii.c.
44567         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44569 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44571         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44572         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44573         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44574         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44576 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44578         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44579         fcntl.
44581 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44583         [BZ #11577]
44584         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44585         dl_signal_cerror.
44587 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44589         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44590         _PC_PIPE_BUF using F_GETPIPE_SZ.
44592 2010-07-05  Roland McGrath  <roland@redhat.com>
44594         * manual/arith.texi (Rounding Functions): Fix rint description
44595         implicit in round description.
44597 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44599         * elf/Makefile: Fix linking for a few tests to make recent linker
44600         happy.
44602 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44604         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44605         $(common-objpfx)libc_nonshared.a.
44607 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44609         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44610         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44611         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44612         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44613         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44614         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44615         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44616         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44631         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44632         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44633         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44634         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44635         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44636         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44637         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44638         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44639         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44640         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44641         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44642         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44658 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44660         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44661         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44662         * string/memmove.c (memmove): Renamed to ...
44663         (MEMMOVE): ...this.  Default to memmove.
44664         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44665         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44666         (END_CHK): Define.
44667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44668         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44669         mempcpy-ssse3-back memmove-ssse3-back.
44670         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44671         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44673         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44674         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44675         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44676         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44677         * sysdeps/x86_64/multiarch/memmove.c: New file.
44678         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44679         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44680         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44681         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44682         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44683         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44684         Define.
44685         (index_Fast_Copy_Backward): Define.
44686         (HAS_ARCH_FEATURE): Define.
44687         (HAS_FAST_REP_STRING): Define.
44688         (HAS_FAST_COPY_BACKWARD): Define.
44690 2010-06-21  Andreas Schwab  <schwab@redhat.com>
44692         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44693         Restore proper fallback handling.
44695 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
44697         [BZ #11701]
44698         * posix/group_member.c (__group_member): Correct checking loop.
44700         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44701         OOM in getpwuid_r correctly.  Return error number when the caller
44702         should return, otherwise -1.
44703         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44704         call returning > 0 value.
44705         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44707 2010-06-07  Andreas Schwab  <schwab@redhat.com>
44709         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44710         libc_nonshared.a from targets in modules-names.
44712 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
44714         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44715         requires it.
44717 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
44719         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44720         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44722         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44724 2010-06-02  Andreas Schwab  <schwab@redhat.com>
44726         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44728 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
44730         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44731         and F_GETPIPE_SZ.
44732         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44733         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44734         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44736         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44737         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44739 2010-06-14  Roland McGrath  <roland@redhat.com>
44741         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44743 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
44745         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44746         __REDIRECT followed by __THROW.
44747         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44748         * posix/getopt.h (getopt): Likewise.
44750 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44752         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44753         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44754         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44755         in AT_FLAGS.
44756         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44757         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44759 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44761         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44763 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44765         [BZ #11640]
44766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44767         Properly check family and model.
44769 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44771         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44773 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44775         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44777 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44779         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44780         symbol reference.
44782 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44784         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44785         symbol reference.
44787 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44789         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44790         and internal_recvmmsg.
44791         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44792         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44793         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44794         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44796         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44797         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44798         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44800 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44802         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44804 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44806         POWER7 optimizations.
44807         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44808         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44810 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44812         * version.h: Update for 2.13 development version.
44814 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44816         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44817         exceptions.  Return 0.
44819 2010-05-07  Roland McGrath  <roland@redhat.com>
44821         * elf/ldconfig.c (main): Add a const.
44823 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44825         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44826         (args_options): Add no-idn option.
44827         (ahosts_keys_int): Add idn_flags to ai_flags.
44828         (parse_option): Handle 'i' option to clear idn_flags.
44830         * malloc/malloc.c (_int_free): Possible race in the most recently
44831         added check.  Only act on the data if no current modification
44832         happened.
44834 See ChangeLog.17 for earlier changes.